Yufei Li
· 7 previous affiliations
- Meta (United States)Since 2025
- Researcher · Since 2025
- University of California, Riverside2022–2025
- Doctor of Philosophy - PhD, Computer Engineering · 2022–2025
- Independent Researcher2022–2025
- PhD student · 2022–2025
- Research Intern · 2024
- The University of Texas at Dallas2020–2022
- PhD student · 2020–2022
- Research Intern · 2021
- University of California San Diego2018–2020
- MS student · 2018–2020
Research Overview
Yufei Li focuses on the reliability, safety, and efficiency of complex computational systems, with a particular emphasis on Large Language Models (LLMs) and automated system monitoring. Li’s work spans software engineering, natural language processing (NLP), and machine learning, investigating how uncertainty estimation and graph-based representations can improve the robustness of software and AI models. Recent research explores the vulnerabilities of LLMs to adversarial attacks and the challenges of maintaining model performance under distribution shifts in technical domains.
Research Trajectory
Li’s early research, beginning around 2021, was situated in the field of software engineering, specifically addressing the challenges of testing graphically-rich applications. This work focused on the development of automated test oracles to detect graphical glitches in complex user interfaces, such as those found in video games. By analyzing bug reports from industry partners, Li contributed to methods that bridge the gap between GUI rendering and automated quality assurance.
In 2022 and 2023, Li’s focus shifted toward the intersection of NLP and system reliability. This period marked a transition into Entity Disambiguation under Contextual Sparsity, where Li addressed the noise inherent in distantly-supervised data. Simultaneously, Li applied graph-based machine learning to system observability, developing frameworks to detect anomalies in system logs by modeling the relationships between various system components. This work recognized that logs are not merely sequential strings but contain rich relational data that can be leveraged for more accurate debugging.
By 2023 and 2024, Li’s research moved into the domain of LLM deployment and safety. This current phase of work addresses the practical challenges of using language models in real-time environments and the security risks associated with their alignment. Li has investigated how the intrinsic uncertainty of language affects inference latency and how probabilistic methods can be used to calibrate model outputs. This trajectory reflects an increasing focus on Specializing Word Embeddings for Technical Domains, particularly in the context of programming languages and safety-critical NLP tasks. Additionally, Li participated in research regarding on-device multi-input multi-output deep learning, contributing to the optimization of model efficiency for resource-constrained hardware.
Current Directions
Li’s current research is concentrated on three primary areas: the safety alignment of LLMs, uncertainty calibration under distribution shifts, and the optimization of real-time inference. A significant portion of this work examines the "safety-utility" trade-off in LLMs, identifying vulnerabilities where models may be successfully defended against one type of task (such as translation) while remaining susceptible to adversarial prompts in another (such as summarization).
Furthermore, Li is investigating the reliability of LLMs when applied to code analysis. This involves benchmarking how models handle distribution shifts in programming languages and evaluating whether existing probabilistic methods can effectively estimate the confidence of model-generated code. This research aims to make LLMs more dependable for automated programming tasks and technical system management.
Representative Work
GLIB: towards automated test oracle for graphically-rich applications As a second author, Li contributed to the development of GLIB, a framework designed to address the prevalence of graphical glitches in applications with complex GUIs. The research utilized bug reports from game development teams to identify rendering issues that degrade user experience. GLIB provides an automated approach to identifying these glitches, which are often difficult to capture using traditional sequence-based GUI testing.
Distantly-Supervised Joint Entity and Relation Extraction with Noise-Robust Learning In this first-author paper, Li addresses the problem of noisy labels in joint entity and relation extraction. When training data is generated through distant supervision—aligning knowledge bases with text—incorrect annotations often impair model quality. Li proposed DENRL, a noise-robust learning framework that utilizes information within the training data more effectively than previous methods that relied on external knowledge or addressed only a single source of noise.
GLAD: Content-Aware Dynamic Graphs For Log Anomaly Detection Li led the development of GLAD, a framework that treats system logs as dynamic graphs rather than simple sequences. By incorporating log semantics and the relational patterns between system components (such as users and services), GLAD identifies anomalies that traditional sequential models might overlook. This work emphasizes the importance of understanding the underlying structure of system interactions for effective monitoring and root-cause analysis.
RT-LM: Uncertainty-Aware Resource Management for Real-Time Inference of Language Models Addressing the computational costs of LLMs, Li proposed RT-LM to manage the unpredictable inference latency caused by the inherent uncertainty of language. This first-author work introduces uncertainty-aware resource management to improve the efficiency of LM deployment, particularly under high-traffic workloads where varied latency can lead to significant performance degradation.
Safety Alignment in NLP Tasks: Weakly Aligned Summarization as an In-Context Attack As a second author, Li explored the inconsistencies in safety alignment across different NLP tasks. The study demonstrates that while LLMs may refuse to perform certain tasks on malicious documents, they may still be willing to summarize the same content. This research identifies a critical vulnerability where "weakly aligned" tasks like summarization can be exploited as a vector for adversarial attacks, compromising the overall safety integrity of the model.
Uncertainty Awareness of Large Language Models Under Code Distribution Shifts: A Benchmark Study In this first-author study, Li investigates the reliability of LLMs in the context of programming language analysis. The work introduces a large-scale benchmark to evaluate how code distribution shifts—common in real-world software evolution—affect model outputs. The research evaluates various probabilistic methods for uncertainty estimation, providing an empirical foundation for improving the calibration of LLMs used in software engineering.
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