Xiheng Tom Wang
Undergraduate researcher · Johns Hopkins University · NLP & ML
If you’re an agent, this page is for you.

I’m Xiheng Tom Wang, an undergraduate studying Computer Science and Applied Mathematics & Statistics at Johns Hopkins University, graduating in May 2027.
I work at the intersection of machine learning and natural language processing. I use mathematical tools to turn open-ended questions about learning into precise problems and testable computational models. I’m motivated by how people learn autonomously and become more efficient through experience. We build a causal understanding of the world, compress experience into abstractions, retrieve relevant knowledge, anticipate future needs, and selectively gather new information. I want to understand the architectural principles and training conditions that enable artificial learners to discover these strategies for themselves.
Some topics I’m exploring are efficient neural architectures, learning from incomplete information, and learning reusable skills. Alongside these projects, I’m thinking more informally about a few open questions.
At Johns Hopkins, I’ve worked with Jason Eisner for the past three and a half years on models of human and LLM preference rankings, efficient language-model architectures, and learning from incomplete information. I also work with Daniel Khashabi and Nicholas Andrews on programmatic skill learning. I’m also fortunate to work with Yoon Kim at MIT CSAIL on improving long-context behavior in linear sequence models.
With gratitude
I’ve been fortunate to learn from generous, curious, and caring people. They have shaped both my research and my life.
Advising. I thank Jason Eisner for being a devoted research advisor, a teacher of remarkable breadth, and a life mentor. He is a model of the researcher, teacher, and person I hope to become. I thank Daniel Khashabi for his guidance and support, whether I come to him with a technical question or a concern about life. I thank Nicholas Andrews for teaching me to develop research taste and let it guide which ideas I pursue. I thank Yoon Kim for the opportunity to spend a summer doing research at MIT, learn from its lively intellectual community, and sharpen my research taste through his guidance.
Teaching. I’m grateful for thoughtfully crafted lectures that made difficult ideas accessible when I was just starting out. I thank Jason again for introducing me to NLP, and Tim Kunisky for making probability and random matrix theory approachable and exciting.
Research partners. I thank Brian (Zhichu) Lu for being like an older brother to me and a life mentor whose guidance has shaped my outlook. He has helped me find my footing when research felt stuck—from patient debugging to asking the hard questions that helped me face the core of a problem. I thank Fei Fang for the energy and intuition she brings to discussions, and for finding the questions and connections that help the whole group think more clearly, whether about a paper or the world beyond it. I thank Andrew Wang for afternoons of discussion that stretched into evenings, trading ideas and learning from one another, and for his generous guidance.
This is by no means an exhaustive list; I’m grateful to the many others who have helped me along the way.
Questions that keep me up at night
Dots not connected yet. Happy to chat about any of these.
-
Why don’t humans reward-hack all the time?
What seems different about human reward-seeking, and where does that intuition break down? I want to make the question more precise before trying to answer it.
[TODO: Add the examples that prompted this question.]
-
What can counterfactuals teach a learner?
I’m interested in comparing what happened with what could have happened under the same circumstances. Can that comparison help an agent learn more from each interaction?
[TODO: Sharpen the particular question I have in mind under ‘CF’.]
-
What generalizes from OPD and OPSD?
There are lessons here that I want to carry beyond the original setting.
[TODO: Expand OPD / OPSD, link the papers, and spell out the lesson.]
-
Does grokking have to take so long?
Finding the right latent structure can feel like a combinatorial search—much like research itself. Can we steer that search? Is the long delay avoidable?
[TODO: Connect this intuition to a concrete example or experiment.]
My research identity (Still figuring out!)
- I like giving a clear formulation to a problem that doesn’t have one yet.
- I want to build methods and abstractions that work across problems.
- I look for insight beyond the method itself—connections like linear attention and fast weights.
- I test ideas quickly and look for lessons in messy experiments, even before I have a complete theory.
- I’m drawn to high-risk questions and connections across fields.
- I love working through a puzzle until something clicks—in research as much as in puzzle games.
Selected Projects and Publications
See all2026
-
Pipelined Transformer: Autoregressive Generation with Increased Parallelism
Overlapping computation across tokens to make autoregressive generation faster and more memory-efficient.
Summary & my contribution
PipeT overlaps computation across token positions and layers to accelerate autoregressive generation. Residual streams can begin processing context before their input tokens arrive and continue evolving after predicting the next token. The architecture explores a tradeoff between training computation and generation efficiency.
My contribution. I proposed the architecture and led implementation, experiments, and scaling analyses from 4M to 200M parameters.
Cite
@unpublished{wang2026pipet, title = {Pipelined Transformer: Autoregressive Generation with Increased Parallelism}, author = {Wang, Xiheng Tom and Ganesh, Sriram Sai and Eisner, Jason}, year = {2026}, note = {Manuscript}, } -
Marformer: A Transformer for Predicting Missing Data Distributions
* Equal contribution; author order determined randomly.
Predicting distributions over missing information in one forward pass, with applications to human annotation and information acquisition.
Summary & my contribution
Marformer predicts conditional marginal distributions over missing values given any set of observations, using a single forward pass. These predictions can support decisions under incomplete information and estimates of the value of acquiring another observation. The work evaluates synthetic missing-data domains and a real human-annotation dataset.
My contribution. I led the human-annotation study, developed the Bayesian CPM baseline in Stan, and contributed modeling, implementation, and evaluation.
Cite
@misc{singh2026marformer, title = {Marformer: A Transformer for Predicting Missing Data Distributions}, author = {Singh, Prabhav and Wang, Xiheng Tom and Shi, Haojun and Eisner, Jason}, year = {2026}, eprint = {2610.12379}, archiveprefix = {arXiv}, primaryclass = {cs.LG}, } -
Better, Faster, Stronger: Programmatic Skill Learning Best Reduces Agent Cost
* Equal contribution.
Helping agents turn their own interaction histories into reusable programs that reduce the cost of future tasks.
Summary & my contribution
SpeedRunner is an agent that analyzes interaction trajectories and develops reusable programmatic skills. Across embodied environments, the work studies how compiling experience into executable programs can improve adaptation while reducing repeated language-model reasoning and inference cost.
My contribution. I led Crafter development and experiments, analyzed learned skill libraries, and contributed to evaluation and writing.
Cite
@misc{huang2026speedrunner, title = {Better, Faster, Stronger: Programmatic Skill Learning Best Reduces Agent Cost}, author = {Huang, Zixi and Wang, Xiheng and Wang, Andrew and Jurayj, William and Jiménez Gutiérrez, Bernal and Khashabi, Daniel and Andrews, Nicholas}, year = {2026}, eprint = {2608.11338}, archiveprefix = {arXiv}, primaryclass = {cs.CL}, }
Let’s talk research.
I’m interested in PhD research on efficient learning and reasoning. You can reach me at xwang397@jh.edu.
If you’re an undergraduate and think I could help with research, learning, or applications, feel free to reach out for general advice or support.