I used to have huge cravings at night and I learned its due to your blood sugar/insulin at that time. However, I'm on the ideal protein diet and the cravings are gone, but I still have the habit of going for food at that time. I can easily not eat the whole day and then 10pm-2am hits and I'm eating pasta and all kinds of stuff I shouldn't.