The AI does seeem to know where the the bunkers are... I have found that a good mix of defences (such as mortars) will keep the enemy at by. BUT, if you are using a tactic of waiting to get a big force, YOU WILL ALWAYS get overwhelmed. So be proactive and and strike hard.
Bunkers are lost in the fog of war. Just seems to be the way the game works.