Though it has nothing to do with fossils, this is a really interesting article on how nutrition plays a role in the size of modern rhino beetles horns, suggesting that perhaps:
I wonder if this sort of physiological response had anything to do with trilobite ornamentation....
http://www.bbc.co.uk/nature/18955652