Beyond the Black Box: A Survey on the Theory and Mechanism of Large Language Models
Not on the map. Why?
Abstract (arXiv)
The rapid emergence of Large Language Models (LLMs) has precipitated a profound paradigm shift in Artificial Intelligence, delivering monumental engineering successes that increasingly impact modern society. However, a critical paradox persists within the current field: despite the empirical efficacy, our theoretical understanding of LLMs remains disproportionately nascent, forcing these systems to be treated largely as ``black boxes''. To address this theoretical fragmentation, this survey proposes a unified lifecycle-based taxonomy that organizes the research landscape into six distinct stages: Data Preparation, Model Preparation, Training, Alignment, Inference, and Evaluation. Within this framework, we provide a systematic review of the foundational theories and internal mechanisms driving LLM performance. Specifically, we analyze core theoretical issues such as the mathematical justification for data mixtures, the representational limits of various architectures, and the optimization dynamics of alignment algorithms. Moving beyond current best practices, we identify critical frontier challenges, including the theoretical limits of synthetic data self-improvement, the mathematical bounds of safety guarantees, and the mechanistic origins of emergent intelligence. By connecting empirical observations with rigorous scientific inquiry, this work provides a structured roadmap for transitioning LLM development from engineering heuristics toward a principled scientific discipline.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). First posted on arXiv 6 Jan 2026.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2026: 6.
6 papers.
- 2026The Why Behind the Action: Unveiling Internal Drivers via Agentic Attributioncited by 11
- 2026Data Science and Technology Towards AGI Part I: Tiered Data Managementcited by 4
- 2026LLMs are not stochastic parrots: Evidence for meaning-mediated abstraction from conlang-like taskscited by 1
- 2026How Do Language Models Understand Tables? A Mechanistic Analysis of Cell Locationcited by 0
- 2026On the Cost and Benefit of Chain of Thought: A Learning-Theoretic Perspectivecited by 0
- 2026The Life of a Token: from Words to Bits on the Wirecited by 0
- 2026LLMs are not stochastic parrots: Evidence for meaning-mediated abstraction from conlang-like tasks28 Sep 2026
- 2026The Life of a Token: from Words to Bits on the Wire17 Sep 2026
- 2026On the Cost and Benefit of Chain of Thought: A Learning-Theoretic Perspective20 May 2026
- 2026Data Science and Technology Towards AGI Part I: Tiered Data Management9 Feb 2026
- 2026How Do Language Models Understand Tables? A Mechanistic Analysis of Cell Location9 Feb 2026
- 2026The Why Behind the Action: Unveiling Internal Drivers via Agentic Attribution21 Jan 2026