Data & environments
LegoFlow
An agent-orchestrated framework for building verified coding tasks and training trajectories, from repository discovery to evaluation.
I am a researcher and developer at Huawei Foundation Model Lab, working on coding agents, agentic data and environments, and efficient training and inference infrastructure. I received my PhD from The University of Hong Kong, advised by Prof. Ngai Wong and Prof. Ping Luo, as a member of the MMLAB@HKU family. I completed my bachelor's degree at the Yingcai Honors College of the University of Electronic Science and Technology of China. Previously, I interned at Sea AI Lab, Amazon Web Services, Huawei, and SenseTime. My work on generative model quantization received an ACL 2022 Outstanding Paper Award. My work has appeared at ICLR, ICML, NeurIPS, ACL, EMNLP, COLM, and ECCV, as well as related journals.
I am actively involved in LegoX, an open-source effort connecting agentic data, training infrastructure, evaluation, and models.
Data & environments
An agent-orchestrated framework for building verified coding tasks and training trajectories, from repository discovery to evaluation.
Training infrastructure
Reinforcement learning inside unmodified coding-agent harnesses, preserving generation-time tokens and MoE routing for faithful training.
Terminal agents
Executable tasks and grounded interaction trajectories for terminal-agent training, using 30× fewer examples in the reported comparison.
Coding agents
A supervised fine-tuning recipe for software issue resolution, combining verified data, error masking, and curriculum learning.
A supervised fine-tuning recipe for software issue resolution, combining verified data, error masking, and curriculum learning.
Compute-optimal vocabulary scaling connects tokenizer design with model size and training budgets.
Quantization methods that compress generative language models while preserving generation quality.
Browse by topic. Each paper includes its full author list and a Chinese summary under “Authors & 中文摘要”.
SWE-Lego presents a strong SFT-only recipe (new dataset + curriculum/error masking) and studies verifier-based test-time scaling, pushing open 8B/32B models to SOTA on SWE-bench Verified.
Chaofan Tao, Jierun Chen, Yuxin Jiang, Kaiqi Kou, Shaowei Wang, Ruoyu Wang, Xiaohui Li, Sidi Yang, Yiming Du, Jianbo Dai, Zhiming Mao, Xinyu Wang, Lifeng Shang, Haoli Bai
SWE-Lego提出仅用监督微调的软工代码智能体配方(真实+合成数据集+课程学习/错误掩码),并研究了软工场景的测试时扩展,将开源8B/32B模型在SWE-bench Verified上推至SOTA。
MMFormalizer extends autoformalization to multimodal math/physics by grounding visual entities and recursively composing axioms, enabling formal statements for real-world problems (including classical mechanics) on the PhyX-AF benchmark.
Jing Xiong, Qi Han, Yunta Hsieh, Hui Shen, Huajian Xin, Chaofan Tao, Chenyang Zhao, Hengyuan Zhang, Taiqiang Wu, Zhen Zhang, Haochen Wang, Zhongwei Wan, Lingpeng Kong, Ngai Wong
MMFormalizer将自动形式化扩展到多模态数学/物理领域,在PhyX-AF基准上实现真实世界问题(包括经典力学)的形式化表述。
SwingArena is a CI-driven competitive benchmark where LLMs act as submitters and reviewers, paired with retrieval-augmented code generation to handle long-context, multi-language GitHub issue solving.
Wendong Xu, Jing Xiong, Chenyang Zhao, Qiujiang Chen, Haoran Wang, Hui Shen, Zhongwei Wan, Jianbo Dai, Taiqiang Wu, He Xiao, Chaofan Tao, Z Morley Mao, Ying Sheng, Zhijiang Guo, Hongxia Yang, Bei Yu, Lingpeng Kong, Quanquan Gu, Ngai Wong
SwingArena是一个CI驱动的测评框架,让大语言模型扮演代码的提交者和审阅者角色,配合检索增强的代码生成来处理长上下文、多编程语言的GitHub问题解决。
MMSearch-Plus is a 311-task benchmark and agent framework with set-of-mark tools that require provenance-aware, vision-in-the-loop search and cross-validation under retrieval noise.
Xijia Tao, Yihua Teng, Xinxing Su, Xinyu Fu, Jihao Wu, Chaofan Tao, Ziru Liu, Haoli Bai, Rui Liu, Lingpeng Kong
MMSearch-Plus是一个包含311个任务的benchmark和多模态智能体搜索问答框架,配备set-of-mark工具,要求在检索噪声下进行可追溯、引入视觉搜索和交叉验证。
On-policy Verbal Distillation replaces token-level matching with trajectory-level distillation using discrete teacher scores, reducing memory and improving student performance on web QA and math reasoning.
Jing Xiong, Hui Shen, Shansan Gong, Yuxin Cheng, Jianghan Shen, Chaofan Tao, Haochen Tan, Haoli Bai, Lifeng Shang, Ngai Wong
On-policy Verbal Distillation用轨迹级蒸馏替代token级匹配蒸馏,使用离散的教师评分,降低内存占用并在网络搜索问答和数学推理上提升学生模型性能。
RLVRR turns single verifiable end rewards into ordered reference-derived reward chains (content + style) to make RL for open-ended generation more efficient and less prone to reward hacking.
Yuxin Jiang, Yufei Wang, Qiyuan Zhang, Xingshan Zeng, Liangyou Li, Jierun Chen, Chaofan Tao, Haoli Bai, Lifeng Shang
RLVRR将传统RL里单一的可验证终端奖励转化为有序的参考衍生奖励链(内容+风格),使开放式生成的强化学习更高效且更不易出现奖励破解。
PhyX introduces a 3K-question multimodal benchmark spanning six physics domains to test physics-grounded reasoning, revealing large gaps between top models and human experts.
Hui Shen, Taiqiang Wu, Qi Han, Yunta Hsieh, Jizhou Wang, Yuyue Zhang, Yuxin Cheng, Zijian Hao, Yuansheng Ni, Xin Wang, Zhongwei Wan, Kai Zhang, Wendong Xu, Jing Xiong, Ping Luo, Wenhu Chen, Chaofan Tao, Zhuoqing Mao, Ngai Wong
PhyX引入一个包含3000个问题的多模态基准,覆盖六个物理领域,用于测试基于物理的推理,观察到顶级模型与人类专家之间的较大差距。
The paper derives compute-optimal vocabulary scaling laws and shows larger models benefit from larger vocabularies, improving downstream accuracy at fixed FLOPs.
Chaofan Tao, Qian Liu, Longxu Dou, Niklas Muennighoff, Zhongwei Wan, Ping Luo, Min Lin, Ngai Wong
推导了计算最优的词表规模扩展规律,证明更大模型需要更大词表,在相同计算量下提升下游任务准确率。
A comprehensive survey of visual autoregressive modeling, covering representation strategies and applications across image, video, 3D, and multimodal generation, plus open challenges.
Jing Xiong, Gongye Liu, Lun Huang, Chengyue Wu, Taiqiang Wu, Yao Mu, Yuan Yao, Hui Shen, Zhongwei Wan, Jinfa Huang, Chaofan Tao, Shen Yan, Huaxiu Yao, Lingpeng Kong, Hongxia Yang, Mi Zhang, Guillermo Sapiro, Jiebo Luo, Ping Luo, Ngai Wong
全面综述视觉自回归模型的建模方法,涵盖表示策略及其在图像、视频、3D和多模态生成中的应用,并讨论开放挑战。
SRPO is a reflection-aware RL framework that teaches MLLMs self-reflection and then optimizes concise, meaningful reflections with GRPO-style rewards to improve multimodal reasoning.
Zhongwei Wan, Zhihao Dou, Che Liu, Yu Zhang, Dongfei Cui, Qinjian Zhao, Hui Shen, Jing Xiong, Yi Xin, Yifan Jiang, Chaofan Tao, Yangfan He, Mi Zhang, Shen Yan
SRPO是一个反思感知的多模态RL框架,先训练多模态大模型学会自我反思,再用GRPO式奖励优化简洁有效的反思,从而提升多模态推理能力。
The study compares long-CoT SFT vs. RL for reasoning VLMs and finds their combination often fails to yield additive gains, instead trading off accuracy, verbosity, and style.
Jierun Chen, Tiezheng Yu, Haoli Bai, Lewei Yao, Jiannan Wu, Kaican Li, Fei Mi, Chaofan Tao, Lei Zhu, Manyi Zhang, Xiaohui Li, Lu Hou, Lifeng Shang, Qun Liu
比较长链思维监督微调(SFT)与强化学习(RL)在视觉语言模型推理中的作用,发现两者组合往往无法带来叠加收益,而是在准确率、冗长程度和风格之间权衡。
NAVERO introduces the AARO benchmark and negative-text augmentation with a negative-augmented matching loss to improve video-language compositional understanding and retrieval.
Chaofan Tao, Gukyeong Kwon, Varad Gunjal, Hao Yang, Zhaowei Cai, Yonatan Dukler, Ashwin Swaminathan, R Manmatha, Colin Jon Taylor, Stefano Soatto
NAVERO提出AARO基准,并通过负文本增强和负增强匹配损失,提升视频-语言模型对组合语义的理解和检索能力。
ATTS is an asynchronous, conformal-prediction-based test-time scaling method that cuts synchronization overhead and accelerates scaling with statistical guarantees and no accuracy loss.
Jing Xiong, Qiujiang Chen, Fanghua Ye, Zhongwei Wan, Chuanyang Zheng, Chenyang Zhao, Hui Shen, Alexander Hanbo Li, Chaofan Tao, Haochen Tan, Haoli Bai, Lifeng Shang, Lingpeng Kong, Ngai Wong
ATTS是一种基于一致性预测的异步测试时扩展方法,减少同步开销,在尽可能最小化准确率损失的情况下加速扩展。
UNComp uses uncertainty (via truncated matrix entropy) to uncover KV-cache sparsity and perform adaptive compression for long-context inference, greatly shrinking cache while boosting throughput.
Jing Xiong, Jianghan Shen, Fanghua Ye, Chaofan Tao, Zhongwei Wan, Jianqiao Lu, Xun Wu, Chuanyang Zheng, Zhijiang Guo, Min Yang, Lingpeng Kong, Ngai Wong
UNComp使用不确定性(通过截断矩阵熵)来发现KV缓存的稀疏性,并对长上下文推理进行自适应压缩,大幅缩小缓存同时提升吞吐量。
PerSyn "routes then generates" by assigning each prompt to its best teacher via a router that considers student learnability and teacher quality, improving synthetic-data distillation efficiency.
Hengyuan Zhang, Shiping Yang, Xiao Liang, Chenming Shang, Yuxuan Jiang, Chaofan Tao, Jing Xiong, Hayden Kwok-Hay So, Ruobing Xie, Angel X Chang, Ngai Wong
PerSyn采用"先路由后生成"策略,通过考虑学生学习能力和教师质量的路由器为每个提示分配最佳教师,提高合成数据蒸馏效率。
AnchorTP provides state-preserving elastic tensor parallelism with a GPU-resident daemon and bandwidth-aware migration planning, enabling fast recovery from single-GPU failures.
Wendong Xu, Chujie Chen, He Xiao, Kuan Li, Jing Xiong, Chen Zhang, Wenyong Zhou, Chaofan Tao, Yang Bai, Bei Yu, Ngai Wong
AnchorTP提供状态保持的弹性张量并行,通过GPU常驻守护进程和带宽感知的迁移规划,实现单GPU故障场景的快速恢复。
D2O dynamically compresses KV cache at layer and token levels with allocation and recall/merge compensation, saving memory and improving long-context throughput without fine-tuning.
Zhongwei Wan, Xinjian Wu, Yu Zhang, Yi Xin, Chaofan Tao, Zhihong Zhu, Xin Wang, Siqi Luo, Jing Xiong, Longyue Wang, Mi Zhang
D2O在层和token级别动态压缩KV缓存,通过分配和召回/合并补偿,无需微调即可节省内存并提升长上下文吞吐量。
CrossGET accelerates vision-language Transformers by cross-modally matching and ensembling tokens with efficient soft matching, reducing compute with minimal accuracy loss.
Dachuan Shi, Chaofan Tao, Anyi Rao, Zhendong Yang, Chun Yuan, Jiaqi Wang
CrossGET通过跨模态匹配和集成token,使用相似token匹配和合并加速视觉-语言Transformer,在最小准确率损失下减少计算量。
It shows forward and reverse KL behave similarly in LLM distillation with enough training but emphasize head vs. tail early; Adaptive KL combines them to improve generation quality and diversity.
Taiqiang Wu, Chaofan Tao, Jiahao Wang, Runming Yang, Zhe Zhao, Ngai Wong
研究表明在充分训练下,前向和反向KL在大语言模型蒸馏中表现相似,但早期分别关注分布头部和尾部;自适应KL结合两种蒸馏方式的优势,以提升模型的生成质量和多样性。
It proposes structured pruning across multiple generative-PLM components using learnable masks and sparse training to extract size-flexible subnets with significant speedups.
Chaofan Tao, Lu Hou, Haoli Bai, Jiansheng Wei, Xin Jiang, Qun Liu, Ping Luo, Ngai Wong
提出对生成式预训练语言模型多个组件的结构化剪枝,使用可学习掩码和稀疏训练提取尺寸灵活的子网络,实现显著加速。
It adapts quantization to generative PLMs (e.g. GPT-2, BART), addressing embedding homogenization with token-level contrastive distillation and module-wise dynamic scaling to achieve 13–14× compression at near full precision.
Chaofan Tao, Lu Hou, Wei Zhang, Lifeng Shang, Xin Jiang, Qun Liu, Ping Luo, Ngai Wong
将量化方法适配到生成式预训练语言模型(e.g. GPT-2, BART),通过token级对比蒸馏解决嵌入同质化问题,并用模块级动态缩放实现接近全精度的13-14倍压缩。
UPop is a unified progressive pruning framework that searches multimodal subnets in a continuous space and progressively retrains to achieve high compression for vision-language Transformers.
Dachuan Shi, Chaofan Tao, Ying Jin, Zhendong Yang, Chun Yuan, Jiaqi Wang
UPop是一个统一的渐进式剪枝框架,在连续空间中搜索多模态子网络并逐步重训练,实现视觉-语言Transformer的高压缩率。
I welcome research/engineering interns and collaborators interested in coding agents, agentic data, and efficient training and inference.
Whether you have a concrete project or an early idea, I'd love to hear from you. A short introduction and a link to something you've worked on are plenty.
For internship inquiries, please use “[Interest]” in the subject and include your profile and 1–2 representative links: a paper, GitHub repository, blog, or demo.
Conference reviewer: ICLR, ICML, NeurIPS, ACL, EMNLP, COLM, ICCV, CVPR, ECCV.
Journal reviewer: T-NNLS.