The only thing that works for me is going cold turkey. Unfortunately it's kind of like being an alcoholic, it's impossible for me to eat just a little sometimes. I still haven't come around to quitting sugar altogether, but I'm working on it.
You could try restricting it to once a week and then only dark chocolate. Other than that it's only willpower, willpower and more willpower.