Ziyang Cai
· 2 previous affiliations
- Princeton UniversitySince 2025
- PhD student · Since 2025
- University of Wisconsin–Madison2019–2025
- MS student · 2023–2025
- Undergrad student · 2019–2023
Research Overview
Ziyang Cai focuses on the generalization capabilities of transformer architectures, out-of-distribution detection, and the development of autonomous reasoning agents. His early work explored multi-modal representations for robust model evaluation before shifting toward the mechanics of length generalization and in-context learning. Most recently, he investigates synthetic task scaling and reinforcement learning to bootstrap complex, long-horizon reasoning in large language models.
Research Trajectory
In 2022, Cai contributed to the area of Overconfidence in Out of Distribution Neural Network Predictions by exploring how multi-modal representations can improve model robustness. With collaborators, he developed Maximum Concept Matching (MCM) in the paper Delving into Out-of-Distribution Detection with Vision-Language Representations. This work enriched out-of-distribution detection by aligning visual features with textual concepts, advancing the broader research direction of Averaging Prompt Embeddings for Zero Shot Robustness.
By 2025, his focus shifted toward understanding and overcoming the limitations of transformer architectures, particularly within the research direction of Length Generalization Failure in Transformer Models. He led the study Extrapolation by Association: Length Generalization Transfer In Transformers, which demonstrated that transformers can transfer the ability to handle long sequences from an auxiliary task to a main task by reusing internal computational scaffolding. This provided new insights into the area of Mathematical Foundations of Transfer Learning Generalization. Expanding on these generalization challenges, he collaborated on Self-Improving Transformers Overcome Easy-to-Hard and Length Generalization Challenges, showing that models can iteratively generate and train on increasingly complex problems to break through length constraints, a method relevant to the domain of Unsupervised Estimation of Sample Difficulty.
During this same period, he also investigated in-context learning dynamics. In Everything Everywhere All at Once: LLMs can In-Context Learn Multiple Tasks in Superposition, he and his co-authors discovered that large language models can simultaneously maintain and utilize multiple task distributions in a single inference call, contributing to the broader field of Shared Representation Learning via Simultaneous Multi-Task Training.
In 2026, Cai's research expanded into architectural innovations and the development of autonomous reasoning agents. He introduced a novel architectural modification in T2MLR: Transformer with Temporal Middle-Layer Recurrence, injecting temporal recurrence into the middle layers of transformers to persist intermediate reasoning states across token predictions without increasing inference costs. Concurrently, he explored formal reasoning frameworks, participating in the development of Goedel-Architect: Streamlining Formal Theorem Proving with Blueprint Generation and Refinement. This agentic framework shifted formal theorem proving in Lean 4 from recursive decomposition to global blueprint management.
He also contributed to h1: Bootstrapping LLMs to Reason over Longer Horizons via Reinforcement Learning, where the team used reinforcement learning and synthetically chained math problems to bootstrap long-horizon reasoning capabilities in language models. Building on the concept of synthetic environments, he led AI Scientist Via Synthetic Task Scaling, proposing a method to automatically generate diverse machine learning research tasks to train AI agents for complex, autonomous scientific discovery. Further developing this direction, Cai led ML-AutoResearch: Training Machine Learning Research Agents with Automatically Generated Environments, creating a pipeline of self-debugging synthetic tasks grounded in real datasets to train agents via imitation of teacher trajectories on end-to-end ML engineering workflows.
In parallel pretraining investigations, Cai also led Perturbing Inputs Improves Pretraining Distillation, showing that perturbing inputs during early distillation phases encourages student models to learn teacher behavior beyond static training data and improves downstream performance. Additionally, Cai introduced The Temporal Residual: Fast and Effective Retrofitting of Latent Feedback into Pretrained Language Models, adding a dedicated cross-token residual stream that retrofits latent feedback onto pretrained models and enhances reasoning without visible scratchpads.
Current Directions
The most recent papers in the evidence indicate a strong focus on scaling the reasoning capabilities of artificial intelligence through synthetic data and architectural efficiency. Recent work investigates how to bootstrap long-horizon reasoning in language models using reinforcement learning and synthetic task generation, aiming to create more autonomous "AI scientists." Additionally, there is an ongoing interest in optimizing transformer architectures—such as through middle-layer recurrence—to handle complex, multi-step reasoning tasks more efficiently, as well as applying these advanced reasoning models to formal domains like automated theorem proving.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake