Anchor function: a type of benchmark functions for studying language models
Not on the map. Why?
Abstract (arXiv)
Understanding transformer-based language models is becoming increasingly crucial, particularly as they play pivotal roles in advancing towards artificial general intelligence. However, language model research faces significant challenges, especially for academic research groups with constrained resources. These challenges include complex data structures, unknown target functions, high computational costs and memory requirements, and a lack of interpretability in the inference process, etc. Drawing a parallel to the use of simple models in scientific research, we propose the concept of an anchor function. This is a type of benchmark function designed for studying language models in learning tasks that follow an "anchor-key" pattern. By utilizing the concept of an anchor function, we can construct a series of functions to simulate various language tasks. The anchor function plays a role analogous to that of mice in diabetes research, particularly suitable for academic research. We demonstrate the utility of the anchor function with an example, revealing two basic operations by attention structures in language models: shifting tokens and broadcasting one token from one position to many positions. These operations are also commonly observed in large language models. The anchor function framework, therefore, opens up a series of valuable and accessible research questions for further exploration, especially for theoretical study.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 35 of its 56 references that are in the map. First posted on arXiv 16 Jan 2024.
Builds on
35 of 56 references.
References · 35
- 2017Attention Is All You Needcited by 59,932
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
- 2022In-context Learning and Induction Headscited by 930
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
- 2022Transformers learn in-context by gradient descentcited by 714
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 671
- 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 515
- 2023The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"cited by 399
23 more
- 2019Frequency Principle: Fourier Analysis Sheds Light on Deep Neural Networkscited by 360
- 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 303
- 2019Revealing the Dark Secrets of BERTcited by 300
- 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 274
- 2023Label Words are Anchors: An Information Flow Perspective for Understanding In-Context Learningcited by 235
- 2018Training behavior of deep neural network in frequency domaincited by 174
- 2019Towards Understanding the Spectral Bias of Deep Learningcited by 173
- 2022The Debate Over Understanding in AI's Large Language Modelscited by 142
- 2019The Convergence Rate of Neural Networks for Learned Functions of Different Frequenciescited by 134
- 2023The mechanistic basis of data dependence and abrupt learning in an in-context classification taskcited by 115
- 2023A Survey of Reasoning with Foundation Modelscited by 70
- 2022Overview frequency principle/spectral bias in deep learningcited by 68
- 2020Phase diagram for two-layer ReLU neural networks at infinite-width limitcited by 65
- 2019The Omniglot challenge: a 3-year progress reportcited by 54
- 2019Theory of the Frequency Principle for General Deep Neural Networkscited by 45
- 2021Towards Understanding the Condensation of Neural Networks at Initial Trainingcited by 31
- 2023Mapping of attention mechanisms to a generalized Potts modelcited by 19
- 2022Empirical Phase Diagram for Three-layer Neural Networks with Infinite Widthcited by 17
- 2023Prompt Engineering Through the Lens of Optimal Controlcited by 16
- 2023Phase Diagram of Initial Condensation for Two-layer Neural Networkscited by 15
- 2021Linear Frequency Principle Model to Understand the Absence of Overfitting in Neural Networkscited by 14
- 2023Understanding the Initial Condensation of Convolutional Neural Networkscited by 7
- 2022Why self-attention is Natural for Sequence-to-Sequence Problems? A Perspective from Symmetriescited by 3
Built on by
Citing papers per year: 2024: 2; 2025: 7; 2026: 1.
10 papers.
- 2024Understanding the Expressive Power and Mechanisms of Transformer for Sequence Modelingcited by 25
- 2025Complexity Control Facilitates Reasoning-Based Compositional Generalization in Transformerscited by 19
- 2024Initialization is Critical to Whether Transformers Fit Composite Functions by Reasoning or Memorizingcited by 15
- 2025An Analysis for Reasoning Bias of Language Models with Small Initializationcited by 13
- 2025Adaptive Preconditioners Trigger Loss Spikes in Adamcited by 10
- 2025From Condensation to Rank Collapse: A Two-Stage Analysis of Transformer Training Dynamicscited by 9
- 2025Reasoning Bias of Next Token Prediction Trainingcited by 3
- 2025Achilles' Heel of Mamba: Essential difficulties of the Mamba architecture demonstrated by synthetic datacited by 3
- 2026Weight-norm Criticality: A Mechanism for Loss Spikes Induced by the Normalization and Weight Decaycited by 1
- 2025Limit Analysis for Symbolic Multi-step Reasoning Tasks with Information Propagation Rules Based on Transformerscited by 0
- 2026Weight-norm Criticality: A Mechanism for Loss Spikes Induced by the Normalization and Weight Decay23 Jul 2026
- 2025From Condensation to Rank Collapse: A Two-Stage Analysis of Transformer Training Dynamics8 Oct 2025
- 2025Limit Analysis for Symbolic Multi-step Reasoning Tasks with Information Propagation Rules Based on Transformers27 Sep 2025
- 2025Achilles' Heel of Mamba: Essential difficulties of the Mamba architecture demonstrated by synthetic data22 Sep 2025
- 2025Adaptive Preconditioners Trigger Loss Spikes in Adam5 Jun 2025
- 2025An Analysis for Reasoning Bias of Language Models with Small Initialization5 Feb 2025
- 2025Reasoning Bias of Next Token Prediction Training4 Feb 2025
- 2025Complexity Control Facilitates Reasoning-Based Compositional Generalization in Transformers15 Jan 2025
- 2024Initialization is Critical to Whether Transformers Fit Composite Functions by Reasoning or Memorizing8 May 2024
- 2024Understanding the Expressive Power and Mechanisms of Transformer for Sequence Modeling1 Feb 2024