paper-with-me

홈 › Papers

Fixed Universal Transformers

2026-05-29 · Jingwen Liu, Alexandr Andoni, Daniel Hsu arxiv

We introduce \emph{universal transformers}: fixed transformers that can simulate any transformer in a given class via a suitable input embedding. Analogous to a universal Turing machine, the input embedding encodes a description of the target model while all internal parameters remain fixed. We provide explicit sparse constructions achieving universality when the embedding dimension is sufficiently large, and further show that universality is generic: randomly initialized transformers are universal almost surely, which aligns with recent empirical results of Zhong and Andreas (2024). We empirically validate our theory on the algorithmic tasks of parenthesis balancing and multi-hop reasoning. Our results suggest that much of a transformer's expressive power may reside in its input representation rather than its learned weights.

📄 PDF Abstract BibTeX arXiv:2605.31423

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Are Transformers universal approximators of sequence-to-sequence functions?

2019-12-20 · ICLR 2020 1 · Chulhee Yun, Srinadh Bhojanapalli, Ankit Singh Rawat, Sashank J. Reddi 외

Despite the widespread adoption of Transformer models for NLP tasks, the expressive power of these models is not well-understood. In this paper, we establish that Transformer models are universal approximators of continu…

Transformers are Universal In-context Learners

2024-08-02 · Takashi Furuya, Maarten V. de Hoop, Gabriel Peyré

Transformers are deep architectures that define "in-context mappings" which enable predicting new tokens based on a given set of tokens (such as a prompt in NLP applications or a set of patches for a vision transformer).…

Dropout Universality: Scaling Laws and Optimal Scheduling at the Edge-of-Chaos

2026-05-20 · Lucas Fernandez Sarmiento arxiv

We develop a mean-field theory of dropout as a perturbation of critical signal propagation at the edge of chaos, and show that it predicts a simple, no-cost change to standard practice: \emph{front-loaded} dropout schedu…

Efficient Turing Machine Simulation with Transformers

2025-09-28 · Qian Li, Yuyi Wang arxiv

Constant bit-size Transformers are known to be Turing complete, but existing constructions require $Ω(s(n))$ chain-of-thought (CoT) steps per simulated Turing machine (TM) step, leading to impractical reasoning lengths. …

In-Context Algorithm Emulation in Fixed-Weight Transformers

2025-08-24 · Jerry Yao-Chieh Hu, Hude Liu, Jennifer Yuntong Zhang, Han Liu arxiv

We prove that a minimal Transformer with frozen weights emulates a broad class of algorithms by in-context prompting. We formalize two modes of in-context algorithm emulation. In the task-specific mode, for any continuou…