Kaiyuan Zhang
· 5 previous affiliations
- PerplexitySince 2025
- Researcher · Since 2025
- PhD student · Current
- Doctor of Philosophy, Computer Science, Machine Learning and Computer Security · 2020–2026
- Researcher, AI ***@[invalid-domain] · 2025
- Applied Scientist, ***@[invalid-domain] · 2024
- Researcher · 2023
1 other author named Kaiyuan Zhang: Kaiyuan Zhang (3 papers)
Research Overview
Kaiyuan Zhang focuses on privacy and security in artificial intelligence, with an emphasis on data privacy, large language models, and federated learning. His early research investigated backdoor mitigation and robust model training across distributed and generative systems. More recently, his work addresses the security of agentic AI, developing proactive defenses against prompt injection and long-term adversarial threats.
Research Trajectory
Zhang's early work extensively investigated the vulnerabilities of machine learning models to backdoor attacks and developed robust mitigation strategies. In the context of distributed training, he introduced FLIP: A Provable Defense Framework for Backdoor Mitigation in Federated Learning, which theoretically analyzed the relationships between cross-entropy loss and attack success rates. This work proposed a trigger reverse-engineering defense, contributing to the area of Input-Aware Dynamic Backdoor Attacks and the broader field of Certified Robustness for Provable Machine Learning Security. Expanding backdoor detection to computer vision, he collaborated on Django: Detecting Trojans in Object Detection Models via Gaussian Focus Calibration. This specialized framework addressed the "loss misalignment" problem using a novel Gaussian Focus Loss, advancing research directions such as The Quadratic Bottleneck of Pairwise Class Relationships. He further explored generative model vulnerabilities in How to remove backdoors in diffusion models?, proposing a detection and removal framework for architectures like DDPM and NCSN. His contributions to security forensics during this period also included participation in BEAGLE: Forensics of Deep Learning Backdoor Attack for Better Defense and an exploration of blockchain security in Your Exploit is Mine: Instantly Synthesizing Counterattack Smart Contract.
In 2024, Zhang continued to address backdoor threats while expanding his focus to AI-generated content detection and binary analysis. He contributed to OdScan: Backdoor Scanning for Object Detection Models, which tackled the unique challenges of trigger inversion in object detection, such as bounding box relocation and the appearance of "ghost" objects. Shifting to generative AI protections, his research examined the robustness of image watermarking in Rethinking the Invisible Protection against Unauthorized Image Usage in Stable Diffusion, demonstrating how invisible noise protections could be removed by aligning features with human visual perception. In the domain of Statistical Signatures of Machine Generated Text, he co-developed BiScope: AI-generated Text Detection by Checking Memorization of Preceding Tokens, a detector that measures a model's bidirectional predictive capabilities to identify machine-authored content. Additionally, he explored the intersection of natural language and programming languages in Source Code Foundation Models are Transferable Binary Analysis Knowledge Bases. This work introduced the ProRec framework, which aligns binary encoders with frozen foundation models to synthesize code snippets for reverse engineering, contributing to the area of Generative Demonstration Synthesis for In-Context Reasoning.
As a PhD candidate at Purdue University and a part-time student researcher at Perplexity, Zhang's recent trajectory has increasingly focused on the security and alignment of large language models (LLMs) and agentic systems. He investigated adversarial vulnerabilities in Rapid Optimization for Jailbreaking LLMs via Subconscious Exploitation and Echopraxia, addressing the challenges of automatically generating jailbreak prompts for aligned models. To secure AI agents interacting with the web, he developed BrowseSafe: Understanding and Preventing Prompt Injection Within AI Browser Agents, a multi-layered defense framework evaluated against realistic, distractor-heavy HTML environments. His work on agent reliability also includes TAI3: Testing Agent Integrity in Interpreting User Intent, a stress-testing framework that uses semantic partitioning to uncover functional bugs when LLM agents interact with external APIs.
In the realm of code generation, Zhang contributed to CodeMirage: A Multi-Lingual Benchmark for Detecting AI-Generated and Paraphrased Source Code from Production-Level LLMs, providing a comprehensive evaluation tool for identifying AI-authored code. He also co-authored ProSec: Fortifying Code LLMs with Proactive Security Alignment, a framework that intentionally traps models into generating vulnerable code to teach them specific fixes without degrading general performance. Furthermore, he addressed the efficient updating of model knowledge in $\mu$KE: Matryoshka Unstructured Knowledge Editing of Large Language Models, proposing a method that preserves causal dependencies between edited facts and subsequent text generation.
Most recently, Zhang's research has probed the privacy guarantees of emerging generative architectures. In Membership Inference Attacks Against Fine-tuned Diffusion Language Models, he and his collaborators introduced the Subset-Aggregated Membership Attack (SAMA), demonstrating that diffusion language models are susceptible to data leakage due to their bidirectional nature.
Current Directions
Recent work investigates the security and privacy of frontier AI systems, with a particular emphasis on agentic workflows and code-generating models. The most recent papers in the evidence address the vulnerabilities of AI browser agents to context-aware prompt injections and the integrity of agents interpreting user intent through external APIs. Additionally, ongoing research focuses on proactive security alignment—teaching models to recognize and fix vulnerabilities during code generation—and evaluating the privacy risks, such as membership inference attacks, inherent in novel architectures like diffusion language models.
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