Yupei Liu
· 4 previous affiliations
- MathWorks (United States)Since 2022
- Senior Software Engineer · Since 2026
- Software Engineer · 2022–2026
- Pennsylvania State University2022–2023
- Unpaid research volunteer · 2022–2023
- Duke University2020–2022
- Research Assistant · 2020–2022
- Teaching Assistant · 2021–2022
- University of Minnesota2017–2020
- Undergrad student · 2017–2020
Research Overview
Yupei Liu focuses on the security and robustness of machine learning systems, investigating adversarial vulnerabilities across autonomous vehicle perception, self-supervised learning, and large language models. Early work examined sensor spoofing and model extraction attacks against computer vision models. Recent research centers on formalizing and benchmarking prompt injection attacks and defenses in LLM-integrated applications.
Research Trajectory
Yupei Liu’s research trajectory is defined by a consistent focus on identifying and mitigating vulnerabilities in emerging machine learning paradigms. Early work centered on the physical security of autonomous systems. As a second author, Liu contributed to Security Analysis of Camera-LiDAR Fusion Against Black-Box Attacks on Autonomous Vehicles (2022), which evaluated the robustness of multi-sensor perception algorithms. While prior research had demonstrated that LiDAR-only systems were susceptible to spoofing, this work investigated whether camera-LiDAR semantic-level fusion could be similarly compromised. The research introduced a context-aware "frustum attack," demonstrating that black-box attacks could successfully disrupt fusion-based 3D object detection across multiple architectures.
In 2022, Liu’s focus expanded to the security of self-supervised learning (SSL), a paradigm increasingly used to train foundational models on large, unlabeled datasets. As the lead author of StolenEncoder: Stealing Pre-trained Encoders in Self-supervised Learning, Liu introduced the first model extraction attack targeting pre-trained image encoders. This work highlighted the risks associated with "encoder as a service" models, where proprietary encoders—often trained with significant computational resources—could be replicated by adversaries, potentially facilitating misuse such as deepfake generation. Concurrently, Liu contributed as a second author to BadEncoder: Backdoor Attacks to Pre-trained Encoders in Self-Supervised Learning, which demonstrated that backdoors injected into a foundational image encoder would be inherited by downstream classifiers, compromising multiple tasks simultaneously.
By 2023, Liu was investigating vulnerabilities across diverse machine learning applications, including recommender systems and large language models (LLMs). As a second author on PORE: Provably Robust Recommender Systems against Data Poisoning Attacks, Liu participated in developing defenses that offer theoretical guarantees against adversaries attempting to manipulate recommendation outputs through poisoned training data.
Simultaneously, Liu began addressing the security implications of deploying LLMs in real-world applications. Leading the research in Prompt Injection Attacks and Defenses in LLM-Integrated Applications, Liu moved the field beyond isolated case studies by proposing a general framework to formalize prompt injection vulnerabilities. This foundational work established a structured understanding of how malicious instructions could hijack LLM-integrated systems. Liu subsequently expanded on this framework as the first author of Formalizing and Benchmarking Prompt Injection Attacks and Defenses (2025). This research conducted a systematic evaluation of various prompt injection attacks and defensive mechanisms across multiple LLMs and applications, demonstrating how existing attack vectors could be combined to bypass current security measures.
Current Directions
The most recent papers in the evidence indicate a strong, ongoing focus on the security of LLM-integrated applications. Recent work investigates the systematic benchmarking of prompt injection vulnerabilities, moving beyond theoretical attack models to empirical evaluations across diverse, real-world LLM deployments. This direction emphasizes the need for formalized frameworks that can categorize both emerging attack vectors and the efficacy of proposed defenses. By systematically testing how malicious inputs interact with application backends, this research aims to establish more robust security standards for the integration of large language models into complex software ecosystems.
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