Leyi Qi

1 previous affiliation
6Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Leyi Qi focuses on the security, safety, and intellectual property protection of generative AI and deep learning systems. Their work addresses vulnerabilities in model compression, the fragility of safety-driven unlearning, and the mathematical verification of model ownership. Currently, they are investigating certified watermarking techniques and robust defenses for text-to-image diffusion models.

Research Trajectory

In 2025, Qi contributed to research uncovering critical security vulnerabilities in model compression pipelines, specifically within the research direction of Stealthy Backdoors and Sleeper Agents in AI Systems. Collaborating on Taught Well Learned Ill: Towards Distillation-conditional Backdoor Attack, Qi helped investigate how malicious behaviors can be hidden within large teacher models. The research team introduced SCAR, a novel distillation-conditional backdoor attack designed to remain entirely dormant and undetectable in a large teacher model. The vulnerability only activates in a smaller student model after the knowledge distillation process is complete. Crucially, this work demonstrated that such attacks succeed even when the student model is trained on a perfectly clean dataset, highlighting severe risks in the common practice of utilizing third-party models for compression. This study advanced the broader area of Backdoor Inheritance in Knowledge Distillation and work in the area of Scaling Data Poisoning for Large Scale Neural Networks.

Concurrently, Qi explored the fragility of safety mechanisms in generative models. In Towards Resilient Safety-driven Unlearning for Diffusion Models against Downstream Fine-tuning, Qi and co-authors addressed the problem of "relapse" in text-to-image models, a phenomenon where even benign fine-tuning accidentally undoes safety-driven unlearning and allows the model to revert to generating harmful content. To counter this instability, the researchers developed ResAlign, a framework leveraging implicit optimization and techniques from the area of Simulating Distribution Shifts with Episodic Meta-Learning. By simulating potential downstream shifts during the unlearning phase, this approach ensures that safety constraints remain resilient across a wide variety of fine-tuning scenarios.

Continuing the focus on the safety of text-to-image systems in 2026, Qi participated in the development of automated vulnerability discovery methods. In DREAM: Scalable Red Teaming for Text-to-Image Generative Systems via Distribution Modeling, the research team introduced a scalable framework for red teaming generative models. Rather than relying on manual prompt engineering or ad-hoc adversarial attacks, the DREAM framework models the underlying distribution of unsafe prompts. This allows the system to efficiently uncover a diverse array of triggers that elicit harmful content, outperforming existing methods in both effectiveness and scalability. This proactive approach enables developers to identify and mitigate safety vulnerabilities prior to real-world deployment.

Building on this foundation in generative AI security, Qi led significant advancements in intellectual property protection for diffusion models. In Cert-LAS: Toward Certified Model Ownership Verification for Text-to-Image Diffusion Models via Layer-Adaptive Smoothing, Qi introduced the first certified ownership verification method specifically designed for text-to-image architectures. This work contributes heavily to the research direction of Ownership Verification for Deep Neural Networks and the broader area of Scaling Watermark Attribution for Global Generative AI. By utilizing layer-adaptive randomized smoothing alongside trigger-free embedding, the Cert-LAS method provides a mathematical guarantee that a model’s watermark remains detectable. This ensures that ownership can be verified even if an adversary attempts to "wash out" the watermark through extensive fine-tuning or malicious parameter attacks.

Current Directions

The most recent papers in the evidence indicate a strong ongoing focus on the robust security, verifiable ownership, and proactive safety evaluation of generative AI systems. Recent work investigates how to mathematically guarantee the persistence of watermarks in text-to-image diffusion models, ensuring that intellectual property protections survive adversarial fine-tuning and parameter tampering. Additionally, this research trajectory points toward scalable, automated red teaming methodologies that proactively model the distribution of unsafe inputs to discover vulnerabilities. Together, these directions aim to establish a foundation of provable security and resilient safety constraints for large-scale generative models deployed in open and potentially adversarial environments.

Profile updated

See something wrong? Report a mistake