bibtext: @inproceedings{
  peng2024on,
  title={On Limitations of the Transformer Architecture},
  author={Binghui Peng and Srini Narayanan and Christos Papadimitriou},
  booktitle={First Conference on Language Modeling},
  year={2024},
  url={https://openreview.net/forum?id=KidynPuLNW}
  }
abstract: What are the root causes of hallucinations in large language models (LLMs)?  We use Communication Complexity to prove that the Transformer layer is incapable of composing functions (e.g., identify a grandparent of a person in a genealogy) if the domains of the functions are large enough; we show through examples that this inability is already empirically present when the domains are quite small.  We also point out that several mathematical tasks that are at the core of the so-called compositional tasks thought to be hard for LLMs are unlikely to be solvable by Transformers, for large enough instances and assuming that certain well accepted conjectures in the field of Computational Complexity are true.
title: On Limitations of the Transformer Architecture
authors: Binghui Peng Srini Narayanan Christos Papadimitriou