I unchecked the automatically adjust keyboard brightness option in system prefs and I haven't had the keyboard come on since, but prior to doing that it was coming on all the time at random, especially when the machine was idle or seemingly asleep.
Strange one.