# Better Language Models Require Better Domain-Specific Inductive Biases

*Damien Teney, Liangze Jiang, Zachary Shinnick, Hemanth Saratchandran, Simon Lucey*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/140098) · [Open on the map](../papers.html#p140098)

Category: [Interpretability & Model Adaptation](../pcat/15.md) › [Compositional Generalization in Transformers](../pgroup/496.md) · Type: position · Keywords: domain-specific inductive biases, transformer architecture, language model efficiency, activation function learning, cross-domain transfer

Areas: [LLM Reasoning](../areas/reasoning.md) › Reasoning Mechanisms › Looped Reasoning

## Summary
The paper argues that transformer inductive biases are suboptimal for specific domains and proposes learning new activation functions within transformers to explore better domain-specific biases.

## Explained to a 5-year-old
Big computers learn to understand words by looking at lots of books. They use a thinking style that works for everything but isn’t perfect for any one thing. The paper shows that changing a small part of how they think can help them do better on specific subjects like math or stories. When they get better at one subject, they still can understand other subjects too. This could make the computers more reliable and need less training data.

## Explained to a 5-year-old, longer
Big computers called language models learn to talk by reading lots of words. They have a built-in way of thinking that helps them guess what comes next. This way works for many topics, but it isn’t the best for every single one. The paper looks at how well these computers do on different subjects like stories, code, and math. It finds that a computer trained on stories can also do well on other story datasets. But a computer trained only on math struggles when it tries to understand stories. To fix this, the researchers change a small part of how the computer thinks. They let the computer learn new kinds of thinking inside its brain. By doing this, they can make the computer better at a particular subject. The changes keep the computer able to understand other subjects as well. This idea could help computers be more reliable and need less training data. Overall, the paper suggests we should design language models that have different thinking styles for different domains.

## For a technical reader
The paper shows that the standard transformer architecture used in large language models isn’t perfectly suited to every subject area. By learning new activation functions inside the model, they can adapt its internal reasoning to work better on specific domains like natural language or mathematics. Experiments on datasets such as FineWeb and TinyStories reveal that models optimized for one domain often transfer well to similar domains but perform poorly on unrelated ones. The authors argue that future models should combine domain-specific mechanisms with the ability to share knowledge across domains, similar to how the brain uses specialized networks. This insight could guide engineers to design more reliable and data-efficient language models by customizing inductive biases without sacrificing cross-domain performance.

## Problem
Transformers are broadly flexible but may not be optimal for any particular domain, leading to suboptimal performance on subsets of training data.

## Method
The approach learns new activation functions inside transformer architectures and trains the modified models on various data subsets to evaluate domain-specific inductive biases.

## Results
The evaluation finds that transformers can be improved on a per-domain basis, with architectures optimized for natural language datasets transferring well to other language datasets but performing poorly on mathematics-optimized models when applied to natural language.

## Contributions
It provides empirical evidence that transformer inductive biases are suboptimal for specific domains and advocates for learning domain-specific mechanisms while preserving cross-domain interactions.

## Practical relevance
The findings suggest a path toward more reliable and data-efficient language models by tailoring inductive biases to domains.

## Research questions this paper is counted under

- [How reliably do transformer models perform in-context learning when test distributions differ from training?](../q/526.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/140098)
