mlsanityData to 7 Oct 2026

Anchor function: a type of benchmark functions for studying language models

arXiv 2401.08309 ↗First posted 16 Jan 2024cs.CL cs.LGcited by 10

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2020Scaling Laws for Neural Language Modelscited by 6,411
  5. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
  6. 2022In-context Learning and Induction Headscited by 930
  7. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
  8. 2022Transformers learn in-context by gradient descentcited by 714
  9. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
  10. 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 671
  11. 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 515
  12. 2023The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"cited by 399
23 more
  1. 2019Frequency Principle: Fourier Analysis Sheds Light on Deep Neural Networkscited by 360
  2. 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 303
  3. 2019Revealing the Dark Secrets of BERTcited by 300
  4. 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 274
  5. 2023Label Words are Anchors: An Information Flow Perspective for Understanding In-Context Learningcited by 235
  6. 2018Training behavior of deep neural network in frequency domaincited by 174
  7. 2019Towards Understanding the Spectral Bias of Deep Learningcited by 173
  8. 2022The Debate Over Understanding in AI's Large Language Modelscited by 142
  9. 2019The Convergence Rate of Neural Networks for Learned Functions of Different Frequenciescited by 134
  10. 2023The mechanistic basis of data dependence and abrupt learning in an in-context classification taskcited by 115
  11. 2023A Survey of Reasoning with Foundation Modelscited by 70
  12. 2022Overview frequency principle/spectral bias in deep learningcited by 68
  13. 2020Phase diagram for two-layer ReLU neural networks at infinite-width limitcited by 65
  14. 2019The Omniglot challenge: a 3-year progress reportcited by 54
  15. 2019Theory of the Frequency Principle for General Deep Neural Networkscited by 45
  16. 2021Towards Understanding the Condensation of Neural Networks at Initial Trainingcited by 31
  17. 2023Mapping of attention mechanisms to a generalized Potts modelcited by 19
  18. 2022Empirical Phase Diagram for Three-layer Neural Networks with Infinite Widthcited by 17
  19. 2023Prompt Engineering Through the Lens of Optimal Controlcited by 16
  20. 2023Phase Diagram of Initial Condensation for Two-layer Neural Networkscited by 15
  21. 2021Linear Frequency Principle Model to Understand the Absence of Overfitting in Neural Networkscited by 14
  22. 2023Understanding the Initial Condensation of Convolutional Neural Networkscited by 7
  23. 2022Why self-attention is Natural for Sequence-to-Sequence Problems? A Perspective from Symmetriescited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 7; 2026: 1.

10 papers.