OK the first few times I played the game I was way ahead of the AI on everything except military, but it still declared war on me. I had way better weapons and stuff, so it was only a couple months before the AI came crawling back going "oops!". The point being, it would be intelligent if the AI assessed more than just military might before deciding who to declare war on. Have it check your economy and industry potential too, as well as what techs you have researched. If one player has 50 planets and the other has 10, even if the one with 50 planets has no military at the moment, who's gonna win? I am usually ahead on planets, and my planets are usually way more productive, so its easy to get around this by just mass producing lame, wimpy ships to get my military might way above the AI's, but it seems kind of silly that I have to do this, the AI should know that it has no chance of actually winning against me.