arXiv AI By Ruize Xu, Chenxiao Yang, Yanhong Li, David McAllester

Towards Training Transformers as a Universal Computer

Read the original on arXiv AI →

The paper shows that a small transformer can learn to execute programs written in MicroPy, a simplified yet computationally universal language. By training on randomly generated MicroPy programs, the model learns to predict small‑step execution using PENCIL scaffolding, enabling efficient evaluation within a bounded context window. The transformer generalizes to unseen human‑written programs—including tasks such as bit copying, binary arithmetic, and SAT solving—and even to programs from a different distribution, demonstrating out‑of‑distribution performance.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

arXiv Machine Learning
Oct 19

What Accuracy Hides In Learned Transformer Programs

The paper investigates Transformer Programs (TP), a constrained Transformer architecture that outputs readable Python code. It shows that token‑level accuracy can mask incorrect full‑sequence outputs, and that inspecting the generated programs reveals failures missed by standard tests. By using program inspection to guide data augmentation, the authors achieved higher sequence accuracy on several algorithmic tasks, demonstrating the value of program‑level analysis for training TP models.

By Jonathan Lee, Narmeen Oozeer, Philip Quirke
arXiv Machine Learning
Nov 2

UpLoop: Training Looped Transformers via Upcycling at No Extra Pretraining Compute

UpLoop introduces a pretraining schedule that trains looped Transformers by upcycling early training computations, allowing the model to increase execution depth without adding extra parameters or training FLOPs. The method starts with a shallow Transformer, progressively copies learned layers to deepen the network, and reuses saved computation to support repeated execution of a shared middle block. Experiments across various model sizes demonstrate that UpLoop improves language modeling and downstream task performance, raising the average score across 22 tasks from 22.99 to 27.52 for a 1.3B‑parameter model, and also benefits mathematical reasoning after fine‑tuning.

By Cheng Liang, Tengfei Zhang, Ya Zhang, Yanfeng Wang, Zhouhan Lin
arXiv Machine Learning
Oct 5

Fixed Universal Transformers

The paper introduces fixed universal transformers, which are transformers with immutable internal parameters that can emulate any transformer within a specified class by encoding the target model’s description into the input embedding. The authors provide explicit sparse constructions that achieve universality when the embedding dimension is large enough, and demonstrate that universality is generic—randomly initialized transformers are almost surely universal. Empirical tests on parenthesis balancing and multi‑hop reasoning tasks support the theory, suggesting that a transformer’s expressive power largely stems from its input representation rather than its learned weights.

By Jingwen Liu, Alexandr Andoni, Daniel Hsu
arXiv AI
6d ago

Weight-Space Programming Doesn't Need Transformers

The paper argues that weight‑space programming—where a large language model writes target weights directly—does not require the Transformer architecture. By giving minimal guidance and a few labeled examples, the authors show that LLMs can design sparse table‑based models that achieve up to 54.4% test accuracy, outperforming the best Transformer the same LLM produced while using far fewer parameters. The study suggests that associative‑memory‑based models can be significantly faster on GPUs than equivalent Transformers.

By Hyunjong Ok, Jaeho Lee