Xin Zhang
· 4 previous affiliations
- Ant Group (China)Since 2020
- Senior Staff Manager | Head of AI Research & Innovation · Since 2025
- Senior Staff Manager · Since 2020
- Researcher · Current
- Microsoft (United States)Current
- Researcher · Current
- Principal Software Engineering Manager · 2019–2020
- Senior Engineering Manager · 2017–2019
- Senior Software Engineer · 2012–2017
- Intern - MSRA · 2006–2007
30 other authors named Xin Zhang: Xin Zhang (Chinese Academy of Sciences · 204 papers), Xin Zhang (Meta (United States) · 78 papers), Xin Zhang (Harbin Institute of Technology · Hong Kong Polytechnic University · 40 papers), Xin Zhang (San Diego State University · 38 papers), Xin Zhang (Peking University · 29 papers), and 25 more
Research Overview
Xin Zhang focuses on the safety alignment of large language models, code generation, and domain-specific applications in legal and structured data contexts. His early work addressed structural generalization in program synthesis and legal reasoning for e-commerce. More recently, his research emphasizes mitigating over-refusal in safety-aligned models, multi-objective preference optimization, and privacy-preserving retrieval-augmented generation.
Research Trajectory
Xin Zhang’s research trajectory begins with efforts to adapt language models to highly structured tasks and specialized domains. In 2023, he participated in the development of ReFSQL: A Retrieval-Augmentation Framework for Text-to-SQL Generation, which addressed the gap between general knowledge and the specific structural requirements of SQL queries. By employing a structure-enhanced retriever, the framework mitigated the tendency of standard encoder-decoder models to underestimate the inherent structural characteristics of database languages. Expanding on program synthesis, he led research in the area of Bridging the Generalization Gap in Program Synthesis with Enhancing Language Model with Unit Test Techniques for Efficient Regular Expression Generation. This work integrated unit tests directly into the training loop via reinforcement learning, advancing the broader research direction of Execution-Guided Reinforcement Learning for Code Generation and contributing to Hybrid Training for Grounded Language Models. During this period, he also directed research in the domain of Cross-Jurisdictional Generalizability in Legal AI. He oversaw the creation of TMID: A Comprehensive Real-world Dataset for Trademark Infringement Detection in E-Commerce. By combining merchant data with legal statutes, this research demonstrated that providing small snippets of human reasoning traces can significantly improve a model's zero-shot legal reasoning capabilities, a finding that also touched upon the broader area of Specializing Large Language Models with Low Rank Adaptation.
By 2025, Zhang’s focus expanded significantly into the safety and alignment of large language models, particularly addressing the unintended consequences of safety tuning. He contributed to multiple studies investigating "over-refusal," a phenomenon where models overly conservatively reject benign prompts. He collaborated on Understanding and Mitigating Overrefusal in LLMs from an Unveiling Perspective of Safety Decision Boundary, which introduced a framework to identify prompts near the safety decision boundary and fine-tune models via Direct Preference Optimization to reduce false refusals. Similarly, he participated in EVOREFUSE: Evolutionary Prompt Optimization for Evaluation and Mitigation of LLM Over-Refusal to Pseudo-Malicious Instructions, utilizing evolutionary algorithms to generate harmless prompts that trigger unnecessary refusals for benchmarking and mitigation.
To further refine safety alignment mechanisms, Zhang co-authored LSSF: Safety Alignment for Large Language Models through Low-Rank Safety Subspace Fusion, which proposed extracting the principal components of safety vectors to reduce the computational overhead and complexity inadvertently introduced by standard safety fine-tuning. He also contributed to TRIDENT: Enhancing Large Language Model Safety with Tri-Dimensional Diversified Red-Teaming Data Synthesis, an analysis framework designed to systematically measure and improve the risk coverage of alignment datasets across lexical diversity, malicious intent, and jailbreak tactics.
Beyond strict safety constraints, Zhang explored the broader research direction of Multi-Objective Alignment for Conflicting Human Preferences. He collaborated on REWARD CONSISTENCY: Improving Multi-Objective Alignment from a Data-Centric Perspective, which identified training samples that naturally align with multiple competing objectives, such as helpfulness and harmlessness, to reduce conflicts during training. He also contributed to BPO: Towards Balanced Preference Optimization between Knowledge Breadth and Depth in Alignment, addressing the imbalance in alignment tuning datasets to improve a model's comprehensive knowledge representation. Concurrently, he maintained an interest in structured document understanding, participating in P²Net: Parallel Pointer-based Network for Key Information Extraction with Complex Layouts. This work addressed the limitations of fixed-layout datasets by modeling the positive relationships between entities to extract key information from visually rich documents with emerging categories and complex layouts.
In 2026, Zhang’s collaborative work shifted toward the privacy and intellectual property implications of generative AI. He contributed to Pisces: Cryptography-based Private Retrieval-Augmented Generation with Dual-Path Retrieval, a framework designed to protect the privacy of both user queries and knowledge base documents. By combining coarse-to-fine semantic search with an efficient multi-instance lexical retrieval protocol, the system maintained high accuracy while securing the retrieval process. Additionally, he collaborated on CodeGenGuard: A Watermark for Code Generation Models, which utilized a dual-LoRA shadow training scheme to embed hidden signatures into generated code via semantic-preserving transformations, protecting model intellectual property against extraction attacks.
Current Directions
The most recent papers in the evidence indicate a strong focus on the security, privacy, and robust alignment of generative models. Recent work investigates cryptographic approaches to Retrieval-Augmented Generation (RAG), ensuring that both user inputs and underlying knowledge bases remain private without sacrificing retrieval speed or accuracy. Concurrently, Zhang is exploring intellectual property protection for AI systems, specifically through robust watermarking techniques for code generation models that can survive semantic transformations and model theft. In the domain of model alignment, his ongoing efforts address the nuanced trade-offs between helpfulness and safety, focusing on data-centric methods to mitigate over-refusal and balance conflicting human preferences during reinforcement learning.
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