Yiming Zhang
· 2 previous affiliations
- Anthropic (United States)Since 2025
- Researcher · Since 2025
- Carnegie Mellon UniversitySince 2023
- PhD student · Since 2023
13 other authors named Yiming Zhang: Yiming Zhang (Shanghai Jiao Tong University · 69 papers), Yiming Zhang (30 papers), Yiming Zhang (Case Western Reserve University · 20 papers), Yiming Zhang (University of Science and Technology of China · 10 papers), Yiming Zhang (7 papers), and 8 more
Research Overview
Yiming Zhang focuses on the security, safety, and generation dynamics of large language models. His early research explored content moderation and prosocial outcomes in online communities before shifting toward the vulnerabilities and alignment of generative AI. Currently, his work addresses adversarial robustness, data poisoning, and methods for improving the diversity and safety of model outputs.
Research Trajectory
Yiming Zhang’s early research investigated the dynamics of online communities and content moderation. With collaborators, he analyzed how conversational features contribute to positive interactions in Conversations Gone Alright: Quantifying and Predicting Prosocial Outcomes in Online Conversations. This work introduced theory-inspired metrics to evaluate outcomes like mentoring and esteem enhancement, advancing the broader research area of Proactive Moderation for Constructive Online Communities and touching upon the domain of Metadata Augmented Information Credibility Assessment. Building on this focus on healthy online discourse, he later developed frameworks to assist human moderators. In BiasX: "Thinking Slow" in Toxic Content Moderation with Explanations of Implied Social Biases, he introduced a system that provides free-text explanations of implied social biases to help annotators identify subtle toxicity, contributing to the areas of Pragmatic Reasoning for Contextual Content Moderation and Contextual Reasoning for Implicit Toxicity Detection.
Concurrently, Zhang explored the learning dynamics and reasoning capabilities of language models. To address the instability of few-shot prompting, he proposed a reinforcement learning approach in Active Example Selection for In-Context Learning. This method actively selects informative examples to reduce variance and improve performance, advancing the direction of Understanding and Stabilizing In-Context Learning Dynamics while drawing on techniques related to the area of Offline Reinforcement Learning from Historical Data. He further investigated how smaller models can learn from the outputs of larger ones in FLamE: Few-shot Learning from Natural Language Explanations. This two-stage framework demonstrated that even logically unsound explanations generated by large models contain label-specific cues that smaller, fine-tuned models can exploit to achieve superior classification performance.
As generative models grew more capable, Zhang—who is currently a researcher at Anthropic and a doctoral student at Carnegie Mellon University—shifted his focus toward their security vulnerabilities and adversarial robustness. He addressed defenses against malicious inputs in Learning to Ignore Adversarial Attacks. Expanding on model vulnerabilities, he systematically measured the risk of prompt leaking in Effective Prompt Extraction from Language Models, demonstrating that supposedly secret system prompts used to control applications can be extracted via simple text-based attacks. His security research also extends to the pre-training phase; in Persistent Pre-training Poisoning of LLMs, he showed that backdoors introduced by poisoning a tiny fraction of pre-training data are remarkably resilient, surviving rigorous safety alignment processes like supervised fine-tuning and direct preference optimization.
A parallel theme in Zhang’s recent trajectory is the tension between generation quality, safety, and diversity. Recognizing that language models often suffer from mode collapse and strong biases, he introduced a fine-tuning method to produce diffuse probability distributions over valid choices in Forcing Diffuse Distributions out of Language Models. He formalized the evaluation of this phenomenon in NoveltyBench: Evaluating Language Models for Humanlike Diversity, revealing that larger models often generate less diverse outputs than humans. To address this, he collaborated on the DARLING framework in Jointly Reinforcing Diversity and Quality in Language Model Generations, which uses reinforcement learning to optimize both response quality and semantic diversity simultaneously.
His recent work also explores novel inference-time interventions to ensure model alignment and safety. In Backtracking Improves Generation Safety, he addressed the statistical gravity of unsafe prefixes in autoregressive generation, proposing a backtracking mechanism that allows models to recover from accidental harmful generations. Additionally, he investigated alignment and search strategies in constrained domains, as detailed in Human-Aligned Chess With a Bit of Search.
Current Directions
The most recent papers in the evidence indicate a strong focus on the safety, security, and generation dynamics of large language models. A primary current direction involves mitigating persistent vulnerabilities, such as pre-training data poisoning and backdoors that survive standard safety alignment. Alongside security, recent work investigates inference-time interventions—like generation backtracking—to prevent models from committing to harmful outputs during autoregressive decoding. Furthermore, there is an ongoing effort to solve the problem of semantic mode collapse, utilizing reinforcement learning frameworks and specialized benchmarks to jointly optimize for both high-quality and highly diverse model generations.
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