i've also read that the AI will recruit based on what it is being attacked by (ie. if you are fielding cavalry, it will recruit more spearmen).