Understanding the Differences in Foundation Models: Attention, State Space Models, and Recurrent Neural Networks - Sieber, Jerome; Alonso, Carmen Amo; Didier, Alexandre; Zeilinger, Melanie; Orvieto, Antonio (Advances in Neural Information Processing Systems, 2024)