ImageNet classification with deep convolutional neural networks
Alex Krizhevsky, Ilya Sutskever et al.
7
Citations
0
Influential Citations
arXiv.org
Venue
2024
Year
The advancement of large language models (LLMs) for real-world applications hinges critically on enhancing their reasoning capabilities. In this work, we explore the reasoning abilities of large language models (LLMs) through their geometrical understanding. We establish a connection between the expressive power of LLMs and the density of their self-attention graphs. Our analysis demonstrates that the density of these graphs defines the intrinsic dimension of the inputs to the MLP blocks. We demonstrate through theoretical analysis and toy examples that a higher intrinsic dimension implies a greater expressive capacity of the LLM. We further provide empirical evidence linking this geometric framework to recent advancements in methods aimed at enhancing the reasoning capabilities of LLMs.
This paper addresses a fundamental question in AI: how do large language models (LLMs) reason? While LLMs have shown impressive capabilities, their reasoning mechanisms remain poorly understood. The authors propose a novel geometric perspective, linking reasoning ability to the density of self-attention graphs and the intrinsic dimension of inputs to MLP blocks. This is significant because it provides a theoretical framework for understanding why certain architectural choices or training methods improve reasoning, potentially guiding future model design.
The work is timely given the rapid adoption of LLMs in applications requiring robust reasoning, such as code generation, mathematical problem-solving, and scientific analysis. By grounding reasoning in geometric properties, the paper offers a principled way to evaluate and enhance LLM capabilities beyond brute-force scaling.
The paper does not report standard benchmark metrics (e.g., accuracy on GSM8K or MATH) but instead provides theoretical results and toy examples. Key findings include:
This work has broad implications for the AI field. By providing a geometric lens on reasoning, it opens new avenues for designing more capable LLMs. For instance, researchers could explicitly optimize self-attention graph density or intrinsic dimension during training or inference. The framework also offers a theoretical basis for understanding why techniques like chain-of-thought prompting work—they effectively increase the density of attention graphs by encouraging longer, more interconnected reasoning chains.
Moreover, the paper bridges theoretical understanding and practical advancements, potentially influencing how practitioners evaluate and improve LLM reasoning. While the current results are preliminary, the geometric perspective could lead to more interpretable and controllable reasoning in future models.
Alex Krizhevsky, Ilya Sutskever et al.
Ashish Vaswani, Noam Shazeer et al.
Douglas M. Bates, Martin Mächler et al.
Diederik P. Kingma, Jimmy Ba