Weizheng Gu
· 2 previous affiliations
- Peking UniversitySince 2025
- MS student · Since 2025
- South China University of Technology2020–2025
- Undergrad student · 2020–2025
Research Overview
Weizheng Gu focuses on the reliability, evaluation, and security of large language models, with specific emphasis on code generation, agentic tool use, and text watermarking. His trajectory spans from improving inference-time reasoning for programming tasks to developing robust methods for identifying AI-generated content. Most recently, he investigates the semantic robustness of fine-tuned language agents.
Research Trajectory
In 2025, Gu contributed to advancing inference-time reasoning for programming tasks. He collaborated on the development of Outcome-Refining Process Supervision (ORPS), an inference-only framework designed to enhance code generation, detailed in Reasoning Through Execution: Unifying Process and Outcome Rewards for Code Generation. By integrating verifiable execution feedback with tree-structured search, this approach allows models to self-critique and refine their strategies based on execution results rather than relying solely on static prompts. This work addresses challenges in the research area of Beyond Functional Correctness in Automated Code Generation and contributes to the broader field of Program Synthesis as Search in the Space of Code. The framework demonstrated significant improvements in both the correctness and computational efficiency of generated code without requiring expensive, human-annotated training data.
Parallel to his work on code generation, Gu explored the security and provenance of AI-generated content. He participated in the design of SAEMark: Steering Personalized Multilingual LLM Watermarks with Sparse Autoencoders. As large language models are increasingly deployed across diverse domains, distinguishing synthetic text from human writing has become a critical challenge. Traditional watermarking techniques often degrade text quality or require deep "white-box" access to a model's internal logits, and they frequently struggle when applied to multilingual or code-based outputs. SAEMark addresses these limitations by leveraging sparse autoencoders to steer watermarks seamlessly across English, Chinese, and Python. This research intersects with several key areas, including the research direction of Paraphrase-Resilient Text Watermarking via Semantic Embeddings and the area of Watermarking Large Language Models Without Internal Access. Furthermore, it advances methodologies in the broader domains of Multi-Bit Watermarking for Generative Model Provenance and Distortion Free Watermarking for Generative Models.
Building on his interest in model evaluation and reasoning, Gu's subsequent research shifted toward the behavior and robustness of language agents. He led the investigation in What Do Agents Learn from Trajectory-SFT: Semantics or Interfaces?, published in 2026, which examines whether agents fine-tuned on expert trajectories genuinely comprehend tool semantics or merely memorize interface buttons. To evaluate this distinction, he introduced PIPE, a diagnostic protocol that tests agent robustness by altering tool names (for example, changing a "search" function to "find"). The findings revealed a phenomenon termed "interface shortcutting," where fine-tuned agents experience massive performance collapses when superficial interface details change, highlighting a critical vulnerability in current agent training paradigms.
Current Directions
The most recent papers in the evidence indicate a strong focus on the evaluation and robustness of large language model agents. Recent work investigates the underlying mechanisms of how agents learn from supervised fine-tuning, specifically distinguishing between genuine semantic comprehension of tools and the superficial memorization of interfaces. By developing diagnostic protocols to probe these vulnerabilities, this ongoing research aims to expose and mitigate "interface shortcutting." Ultimately, this direction seeks to drive the development of more resilient and adaptable AI agents that can operate reliably in dynamic environments without failing when presented with minor interface variations.
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