Language Models Can Benefit from Domain-Specific Inductive Biases
Not on the map. Why?
Abstract (arXiv)
Language models are typically trained with a single choice of architecture on diverse domains and data sources. Modern transformers have been extensively refined for such general-purpose learning, but are they equally effective across different subsets of the pretraining data? We investigate this question by training small language models from scratch on representative subsets of pretraining data such as web text, code, and mathematics. We introduce variants of transformers in which standard activation functions are replaced with learned splines tuned on specific datasets, providing a simple way to modify their inductive biases. Using a mix-and-match of architectures and datasets, we evaluate cross-domain transfer, i.e. how well does an architecture tuned for one domain perform on data from another? We find that the tuned transformer variants improve training efficiency or generalization on all seven of our tested datasets, but the gains are often domain-specific. For example, architectures tuned on a natural language dataset such as FineWeb perform well on TinyStories, whereas those tuned on mathematics perform poorly on natural language. We identify several mechanisms underlying these improvements, including wider loss basins and more abundant "lottery tickets". Our results show that different subsets of pretraining data can benefit from different learning mechanisms, highlighting a limitation of the prevailing trend towards a small set of general-purpose architectures and optimizers. This points to an opportunity to improve data efficiency by developing domain-specific learning strategies that retain the ability to train general-purpose models.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 58 of its 71 references that are in the map. Submitted 2 Nov 2026.
Builds on
58 of 71 references.
References · 58
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,366
- 2020Scaling Laws for Neural Language Modelscited by 7,119
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,272
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,314
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,357
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 913
- 2022TabPFN: A Transformer That Solves Small Tabular Classification Problems in a Secondcited by 756
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 684
- 2019Linear Mode Connectivity and the Lottery Ticket Hypothesiscited by 668
- 2022Multimodal Learning with Transformers: A Surveycited by 407
- 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 348
- 2022Equiformer: Equivariant Graph Attention Transformer for 3D Atomistic Graphscited by 276
38 more
- 2023A Pretrainer's Guide to Training Data: Measuring the Effects of Data Age, Domain Coverage, Quality, & Toxicitycited by 204
- 2018Deep learning generalizes because the parameter-function map is biased towards simple functionscited by 193
- 2021Primer: Searching for Efficient Transformers for Language Modelingcited by 176
- 2019Multilingual is not enough: BERT for Finnishcited by 123
- 2024Arithmetic Without Algorithms: Language Models Solve Math With a Bag of Heuristicscited by 116
- 2024How to Train Data-Efficient LLMscited by 106
- 2016Why does deep and cheap learning work so well?cited by 103
- 2020A survey on modern trainable activation functionscited by 92
- 2022Simplicity Bias in Transformers and their Ability to Learn Sparse Boolean Functionscited by 76
- 2023The No Free Lunch Theorem, Kolmogorov Complexity, and the Role of Inductive Biases in Machine Learningcited by 66
- 2025Deep Learning is Not So Mysterious or Differentcited by 59
- 2024To Code, or Not To Code? Exploring Impact of Code in Pre-trainingcited by 57
- 2025Small Batch Size Training for Language Models: When Vanilla SGD Works, and Why Gradient Accumulation Is Wastefulcited by 50
- 2024Neural Redshift: Random Networks are not Random Functionscited by 45
- 2025Between Circuits and Chomsky: Pre-pretraining on Formal Languages Imparts Linguistic Biasescited by 44
- 2024Mission: Impossible Language Modelscited by 36
- 2020Scaling Down Deep Learning with MNIST-1Dcited by 29
- 2021Sensitivity as a Complexity Measure for Sequence Classification Taskscited by 29
- 2024A Sampling Theory Perspective on Activations for Implicit Neural Representationscited by 26
- 2022Improving Lipschitz-Constrained Neural Networks by Learning Activation Functionscited by 25
- 2023Inductive reasoning in humans and large language modelscited by 25
- 2024Lessons from Studying Two-Hop Latent Reasoningcited by 24
- 2024Position: Understanding LLMs Requires More Than Statistical Generalizationcited by 22
- 2020Evolutionary Optimization of Deep Learning Activation Functionscited by 19
- 2024Algorithmic Capabilities of Random Transformerscited by 19
- 2025Optimizers Qualitatively Alter Solutions And We Should Leverage Thiscited by 19
- 2025LLMs on the Line: Data Determines Loss-to-Loss Scaling Lawscited by 18
- 2025Do We Always Need the Simplicity Bias? Looking for Optimal Inductive Biases in the Wildcited by 16
- 2026Procedural Pretraining: Warming Up Language Models with Abstract Datacited by 15
- 2018Adaptive Blending Units: Trainable Activation Functions for Deep Neural Networkscited by 14
- 2024Limits of Transformer Language Models on Learning to Compose Algorithmscited by 14
- 2021Reverse Engineering the Neural Tangent Kernelcited by 13
- 2019A simple and efficient architecture for trainable activation functionscited by 11
- 2025Transformers Pretrained on Procedural Data Contain Modular Structures for Algorithmic Reasoningcited by 10
- 2024Trainable Highly-expressive Activation Functionscited by 9
- 2025When Do Neural Networks Learn World Models?cited by 9
- 2024Adaptive Parametric Activation: Unifying and Generalising Activation Functions Across Taskscited by 7
- 2025Curvature Tuning: Provable Training-free Model Steering From a Single Parametercited by 5
50 most cited of 58 All 58 (JSON)
Built on by
Not cited yet.