The Inductive Bias of In-Context Learning: Rethinking Pretraining Example Design
Not on the map. Why?
Abstract (arXiv)
Pretraining Neural Language Models (NLMs) over a large corpus involves chunking the text into training examples, which are contiguous text segments of sizes processable by the neural architecture. We highlight a bias introduced by this common practice: we prove that the pretrained NLM can model much stronger dependencies between text segments that appeared in the same training example, than it can between text segments that appeared in different training examples. This intuitive result has a twofold role. First, it formalizes the motivation behind a broad line of recent successful NLM training heuristics, proposed for the pretraining and fine-tuning stages, which do not necessarily appear related at first glance. Second, our result clearly indicates further improvements to be made in NLM pretraining for the benefit of Natural Language Understanding tasks. As an example, we propose "kNN-Pretraining": we show that including semantically related non-neighboring sentences in the same pretraining example yields improved sentence representations and open domain question answering abilities. This theoretically motivated degree of freedom for pretraining example design indicates new training schemes for self-improving representations.
Key facts. Cited by 33 papers in the map (data through 7 Oct 2026). Builds on 28 of its 44 references that are in the map. First posted on arXiv 9 Oct 2021.
Builds on
28 of 44 references.
References · 28
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
- 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,203
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
16 more
- 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 713
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
- 2019Latent Retrieval for Weakly Supervised Open Domain Question Answeringcited by 691
- 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 668
- 2018SentEval: An Evaluation Toolkit for Universal Sentence Representationscited by 294
- 2019Poly-encoders: Transformer Architectures and Pre-training Strategies for Fast and Accurate Multi-sentence Scoringcited by 164
- 2019Learning to Retrieve Reasoning Paths over Wikipedia Graph for Question Answeringcited by 147
- 2020Augmented SBERT: Data Augmentation Method for Improving Bi-Encoders for Pairwise Sentence Scoring Taskscited by 136
- 2020Pre-training via Paraphrasingcited by 92
- 2019Deep autoregressive models for the efficient variational simulation of many-body quantum systemscited by 64
- 2016Inductive Bias of Deep Convolutional Networks through Pooling Geometrycited by 53
- 2018Quantum Entanglement in Deep Learning Architecturescited by 49
- 2017Deep Learning and Quantum Entanglement: Fundamental Connections with Implications to Network Designcited by 22
- 2021Which transformer architecture fits my data? A vocabulary bottleneck in self-attentioncited by 16
- 2017On the Long-Term Memory of Deep Recurrent Networkscited by 14
- 2017Analysis and Design of Convolutional Networks via Hierarchical Tensor Decompositionscited by 13
Built on by
Citing papers per year: 2021: 1; 2022: 6; 2023: 11; 2024: 6; 2025: 7; 2026: 2.
33 papers.
Sort:
By area:
- 2023In-Context Retrieval-Augmented Language Modelscited by 694
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
- 2023In-Context Learning Creates Task Vectorscited by 302
- 2022LinkBERT: Pretraining Language Models with Document Linkscited by 209
- 2023The Learnability of In-Context Learningcited by 126
- 2023In-context Pretraining: Language Modeling Beyond Document Boundariescited by 76
- 2023Pre-Training to Learn in Contextcited by 41
- 2022Standing on the Shoulders of Giant Frozen Language Modelscited by 33
- 2024INMS: Memory Sharing for Large Language Model based Agentscited by 31
- 2022Implicit Regularization in Hierarchical Tensor Factorization and Deep Convolutional Neural Networkscited by 27
- 2024Analysing The Impact of Sequence Composition on Language Model Pre-Trainingcited by 22
- 2022Downstream Datasets Make Surprisingly Good Pretraining Corporacited by 20
21 more
- 2025NExtLong: Toward Effective Long-Context Training without Long Documentscited by 19
- 2023User Modeling in the Era of Large Language Models: Current Research and Future Directionscited by 18
- 2023Structured Packing in LLM Training Improves Long Context Utilizationcited by 17
- 2023Pretraining Language Models with Text-Attributed Heterogeneous Graphscited by 15
- 2024Quest: Query-centric Data Synthesis Approach for Long-context Scaling of Large Language Modelcited by 15
- 2022On the Ability of Graph Neural Networks to Model Interactions Between Verticescited by 12
- 2024Improving Domain Adaptation through Extended-Text Reading Comprehensioncited by 10
- 2023Model-tuning Via Prompts Makes NLP Models Adversarially Robustcited by 9
- 2026Token-Level LLM Collaboration via FusionRoutecited by 9
- 2023Multiple Thinking Achieving Meta-Ability Decoupling for Object Navigationcited by 8
- 2024The Role of Learning Algorithms in Collective Actioncited by 8
- 2023When Large Language Models Meet Citation: A Surveycited by 6
- 2025Uncertainty in Action: Confidence Elicitation in Embodied Agentscited by 5
- 2025Unlocking In-Context Learning for Natural Datasets Beyond Language Modellingcited by 4
- 2025Trillion 7B Technical Reportcited by 4
- 2025LiteLong: Resource-Efficient Long-Context Data Synthesis for LLMscited by 3
- 2024DataSculpt: Crafting Data Landscapes for Long-Context LLMs through Multi-Objective Partitioningcited by 2
- 2025HierPromptLM: A Pure PLM-based Framework for Representation Learning on Heterogeneous Text-rich Networkscited by 2
- 2025Surprise Calibration for Better In-Context Learningcited by 1
- 2022Transformer Vs. MLP-Mixer: Exponential Expressive Gap For NLP Problemscited by 0
- 2026The Expressivity Boundary of Probabilistic Circuits: A Comparison with Large Language Modelscited by 0
- 2026The Expressivity Boundary of Probabilistic Circuits: A Comparison with Large Language Models13 May 2026
- 2026Token-Level LLM Collaboration via FusionRoute8 Jan 2026
- 2025LiteLong: Resource-Efficient Long-Context Data Synthesis for LLMs19 Sep 2025
- 2025Surprise Calibration for Better In-Context Learning15 Jun 2025
- 2025Trillion 7B Technical Report21 Apr 2025
- 2025Uncertainty in Action: Confidence Elicitation in Embodied Agents13 Mar 2025
- 2025HierPromptLM: A Pure PLM-based Framework for Representation Learning on Heterogeneous Text-rich Networks22 Jan 2025
- 2025NExtLong: Toward Effective Long-Context Training without Long Documents22 Jan 2025
- 2025Unlocking In-Context Learning for Natural Datasets Beyond Language Modelling9 Jan 2025
- 2024DataSculpt: Crafting Data Landscapes for Long-Context LLMs through Multi-Objective Partitioning2 Sep 2024
- 2024Quest: Query-centric Data Synthesis Approach for Long-context Scaling of Large Language Model30 May 2024
- 2024The Role of Learning Algorithms in Collective Action10 May 2024
21 more
- 2024INMS: Memory Sharing for Large Language Model based Agents15 Apr 2024
- 2024Analysing The Impact of Sequence Composition on Language Model Pre-Training21 Feb 2024
- 2024Improving Domain Adaptation through Extended-Text Reading Comprehension14 Jan 2024
- 2023Structured Packing in LLM Training Improves Long Context Utilization28 Dec 2023
- 2023User Modeling in the Era of Large Language Models: Current Research and Future Directions11 Dec 2023
- 2023In-Context Learning Creates Task Vectors24 Oct 2023
- 2023Pretraining Language Models with Text-Attributed Heterogeneous Graphs19 Oct 2023
- 2023In-context Pretraining: Language Modeling Beyond Document Boundaries16 Oct 2023
- 2023When Large Language Models Meet Citation: A Survey18 Sep 2023
- 2023Pre-Training to Learn in Context16 May 2023
- 2023The Learnability of In-Context Learning14 Mar 2023
- 2023Model-tuning Via Prompts Makes NLP Models Adversarially Robust13 Mar 2023
- 2023Multiple Thinking Achieving Meta-Ability Decoupling for Object Navigation3 Feb 2023
- 2023In-Context Retrieval-Augmented Language Models31 Jan 2023
- 2022On the Ability of Graph Neural Networks to Model Interactions Between Vertices29 Nov 2022
- 2022Downstream Datasets Make Surprisingly Good Pretraining Corpora28 Sep 2022
- 2022Transformer Vs. MLP-Mixer: Exponential Expressive Gap For NLP Problems17 Aug 2022
- 2022Standing on the Shoulders of Giant Frozen Language Models21 Apr 2022
- 2022LinkBERT: Pretraining Language Models with Document Links29 Mar 2022
- 2022Implicit Regularization in Hierarchical Tensor Factorization and Deep Convolutional Neural Networks27 Jan 2022
- 2021Learning To Retrieve Prompts for In-Context Learning16 Dec 2021
- 2024INMS: Memory Sharing for Large Language Model based Agentscited by 31
- 2024INMS: Memory Sharing for Large Language Model based Agents15 Apr 2024
- 2023In-Context Retrieval-Augmented Language Modelscited by 694
- 2023In-Context Retrieval-Augmented Language Models31 Jan 2023
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
- 2023In-Context Learning Creates Task Vectorscited by 302
- 2022LinkBERT: Pretraining Language Models with Document Linkscited by 209
- 2023The Learnability of In-Context Learningcited by 126
- 2023In-context Pretraining: Language Modeling Beyond Document Boundariescited by 76
- 2023Pre-Training to Learn in Contextcited by 41
- 2022Standing on the Shoulders of Giant Frozen Language Modelscited by 33
- 2022Implicit Regularization in Hierarchical Tensor Factorization and Deep Convolutional Neural Networkscited by 27
- 2024Analysing The Impact of Sequence Composition on Language Model Pre-Trainingcited by 22
- 2022Downstream Datasets Make Surprisingly Good Pretraining Corporacited by 20
- 2025NExtLong: Toward Effective Long-Context Training without Long Documentscited by 19
- 2023User Modeling in the Era of Large Language Models: Current Research and Future Directionscited by 18
12 most cited of 29 All 29 (JSON)
- 2026The Expressivity Boundary of Probabilistic Circuits: A Comparison with Large Language Models13 May 2026
- 2026Token-Level LLM Collaboration via FusionRoute8 Jan 2026
- 2025Surprise Calibration for Better In-Context Learning15 Jun 2025
- 2025Trillion 7B Technical Report21 Apr 2025
- 2025Uncertainty in Action: Confidence Elicitation in Embodied Agents13 Mar 2025
- 2025HierPromptLM: A Pure PLM-based Framework for Representation Learning on Heterogeneous Text-rich Networks22 Jan 2025
- 2025NExtLong: Toward Effective Long-Context Training without Long Documents22 Jan 2025
- 2025Unlocking In-Context Learning for Natural Datasets Beyond Language Modelling9 Jan 2025
- 2024DataSculpt: Crafting Data Landscapes for Long-Context LLMs through Multi-Objective Partitioning2 Sep 2024
- 2024The Role of Learning Algorithms in Collective Action10 May 2024
- 2024Analysing The Impact of Sequence Composition on Language Model Pre-Training21 Feb 2024
- 2024Improving Domain Adaptation through Extended-Text Reading Comprehension14 Jan 2024
12 newest of 29 All 29 (JSON)