NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Fixed Universal Transformers

Jingwen Liu, Alexandr Andoni, Daniel Hsu

NeurIPS page · OpenReview · Open on the map

Category: Interpretability & Model Adaptation › Chain-of-Thought Reasoning in Transformers · Type: new method · Keywords: universal transformers, fixed-parameter architecture, input embedding, expressivity, algorithmic reasoning

Areas: LLM Reasoning › Reasoning Mechanisms › Looped Reasoning; Model Architectures & Sequence Modeling › Language Model Architectures › Transformer Memory and Reasoning

Summary

Fixed Universal Transformers are fixed-parameter architectures that can simulate any transformer in a given class via a suitable input embedding.

Explained to a 5-year-old

Imagine a robot brain that never changes its inside parts. By giving it special instructions before it sees a problem, it can pretend to be many different brains. This helps it solve puzzles that need thinking step by step. The scientists showed it works on simple games like matching parentheses and reasoning in steps. This tells us that how we describe a problem matters a lot, more than changing the brain.

Explained to a 5-year-old, longer

There is a kind of computer brain that never changes its weights. Instead of learning new things, it just reads a special code before it starts. That code tells it which kind of brain it should act like. So the same brain can do many different jobs, like solving puzzles or playing games. The scientists made a way to write that code using very few connections. They also found that if you pick random numbers for the brain, it almost always works. They tested it on two simple tasks: balancing parentheses and reasoning across several steps. In the first task, the brain could match opening and closing symbols correctly. In the second, it could answer questions by moving from one fact to another. The results show that the way we describe a problem can be more important than changing the brain. This idea is like a universal translator that can speak many languages without changing its own voice. It opens the door to simpler, more flexible AI systems that can adapt quickly.

For a technical reader

The paper proposes a transformer architecture whose parameters are fixed and cannot be updated after training. By encoding a description of a target transformer into the input embedding, this universal transformer can simulate any transformer from a specified class. The authors provide explicit sparse constructions that guarantee universality when the embedding dimension is large enough. They also prove that random initialization yields universality almost surely, aligning with empirical observations. Experiments on parenthesis balancing and multi-hop reasoning demonstrate that expressive power can be achieved primarily through input representation rather than learned weights.

Problem

The challenge is to create a single transformer architecture that can emulate any transformer in a given class while keeping its parameters fixed.

Method

The approach constructs sparse input embeddings that encode a description of the target transformer, allowing the fixed-parameter architecture to simulate it. It also provides both explicit constructions for large embedding dimensions and a probabilistic argument that random initialization yields universality almost surely.

Results

The experiments on parenthesis balancing and multi-hop reasoning demonstrate that the approach can simulate target transformers, indicating that expressive power largely comes from input representation.

Contributions

The paper provides explicit sparse constructions achieving universality for sufficiently large embedding dimensions, proves that universality is generic (randomly initialized transformers are universal almost surely), and validates the theory on algorithmic tasks.

Limitations and assumptions

The universality guarantee requires the embedding dimension to be sufficiently large, and the constructions are specific to a given class of transformers.

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