Canwen Xu
5 previous affiliations
- Snowflake Inc. (United States)2024–2026
- Researcher · 2024–2026
- University of California San Diego2020–2024
- PhD student · 2020–2024
- Intern · 2023
- Intern · 2022
- Hugging Face2020–2021
- Researcher · 2020–2021
Research Overview
Canwen Xu focuses on efficient large language models, model compression, and reasoning alignment. His early work explored parameter-efficient tuning and dynamic inference techniques to reduce the computational cost of natural language processing systems. Recently, his research has shifted toward optimizing code generation and training autonomous agents through execution feedback and synthetic environments.
Research Trajectory
Canwen Xu began his research trajectory during his undergraduate studies at Wuhan University, initially focusing on information extraction from social media. He developed DLocRL: A Deep Learning Pipeline for Fine-Grained Location Recognition and Linking in Tweets, addressing the challenge of linking casual location mentions to well-defined profiles and contributing to the broader area of robust natural language processing for noisy social media data.
Transitioning to the problem of computational efficiency in natural language processing, Xu began exploring methods to reduce the inference delay and carbon footprint of large models. He contributed to BERT Loses Patience: Fast and Robust Inference with Early Exit, which introduced an internal classifier to each layer of a pretrained language model, enabling dynamic inference stopping when intermediate predictions stabilize. Building on this theme, he proposed BERT-of-Theseus: Compressing BERT by Progressive Module Replacing, a novel compression approach that substitutes modules during training to build compact models without requiring additional loss functions, advancing work in adaptive knowledge distillation. During this period, he also introduced MATINF: A Jointly Labeled Large-Scale Dataset for Classification, Question Answering and Summarization, a dataset containing over a million question-answer pairs to facilitate research in multi-task synergy. Additionally, he collaborated on Pre-train and Plug-in: Flexible Conditional Text Generation with Variational Auto-Encoders, which decoupled the text generation module from the condition representation module to allow flexible, one-to-many conditional generation without full retraining, supporting the research direction of Low Rank and Adapter Based Model Tuning.
During his doctoral studies at UC San Diego under the advisement of Julian McAuley, Xu synthesized the growing field of model efficiency by authoring A Survey on Model Compression for Natural Language Processing, which provided a comprehensive taxonomy of techniques in the area of Structured Pruning for Hardware Aligned Model Compression. As large language models became prominent, his focus expanded to parameter-efficient tuning and alignment. He developed Baize: An Open-Source Chat Model with Parameter-Efficient Tuning on Self-Chat Data, leveraging automatically generated multi-turn dialogue corpora to train accessible chat models with strong conversational performance and safety guardrails. He also introduced Contrastive Post-training Large Language Models on Data Curriculum, which applied direct preference optimization alongside a structured curriculum of contrastive pairs, advancing the direction of Curriculum Learning for Preference Alignment.
Concurrently, Xu investigated the application of language models to software engineering. He participated in the development of LongCoder: A Long-Range Pre-trained Language Model for Code Completion, a sparse Transformer designed to handle extended contexts using a sliding window for local context and global tokens for information aggregation, contributing to the research area of Modeling Long Range Dependencies in Source Code. To rigorously evaluate such systems, he helped develop RepoBench: Benchmarking Repository-Level Code Auto-Completion Systems, establishing new standards for the repository-level evaluation of large language models for code by assessing context retrieval and end-to-end pipeline management.
After completing his PhD in 2024 and joining Snowflake, Xu's research has increasingly focused on agentic systems and execution feedback. He designed Optimizing Reasoning for Text-to-SQL with Execution Feedback, a framework that iteratively trains open-source models using real-world database execution results and step-by-step reasoning, driving progress in the direction of Self-Improvement through Execution Feedback. Extending this focus on autonomous improvement, he contributed to Learning to Self-Evolve, a reinforcement learning framework that explicitly trains models to optimize their own prompts at test time, demonstrating that self-evolution can be treated as a learnable skill. Most recently, he worked on Agent World Model: Infinity Synthetic Environments for Agentic Reinforcement Learning, which generates over a thousand diverse, executable, SQL-backed sandboxes to train agents for complex tool-use tasks, moving away from unreliable LLM simulations.
Current Directions
The most recent papers in the evidence indicate a strong focus on autonomous agents and self-improving language models. Recent work investigates how models can refine their own reasoning and tool use through direct interaction with external environments, such as SQL databases and synthetic sandboxes. By framing self-evolution as a learnable skill and utilizing execution feedback rather than relying solely on human-annotated preference data, this research addresses the challenge of scaling reinforcement learning for complex, multi-step tasks.
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