The usual situation is that during a seige I send a phalanx to try to block off a corridor, and then an enemy unit of gallic swordsmen for example attacks them. At first the phalanx holds them off perfectly but then in prolonged melee they start losing a lot of men from the sides even though it is only one unit attacking them. In the end it always just seems they aren't worth the gold it costs to recruit them.