Ying Wai Li

Ying Wai Li

Los Alamos National Laboratory
3 previous affiliations
4Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Ying Wai Li focuses on the intersection of computational physics, high-performance computing (HPC), and artificial intelligence, with a particular emphasis on developing physics-inspired algorithms for machine learning evaluation. Currently a Scientist and Team Leader for AI and Scientific Computing at Los Alamos National Laboratory (LANL), Li’s work bridges the gap between statistical mechanics and the reliability of deep learning models. This research program leverages expertise in Scalable Bayesian Inference via Stochastic Gradient MCMC and parallel Monte Carlo methods to address fundamental challenges in model-centric evaluation, AI safety, and the characterization of neural network output distributions.

Research Trajectory

Li’s academic foundation is rooted in condensed matter physics and the study of thermodynamics and phase transitions. This early work specialized in state-of-the-art classical and parallel Monte Carlo algorithms, as well as first-principles methods such as density functional theory (DFT) to investigate materials properties. A core component of this phase involved scientific software engineering for heterogeneous system architectures, focusing on performance optimization for large-scale simulations of classical and quantum spin models.

Beginning around 2023, Li’s research trajectory shifted toward the application of these sampling techniques to the domain of machine learning. By treating neural networks as complex systems amenable to statistical mechanical analysis, Li began exploring Stratified Sampling for Efficient Model Evaluation. This transition was marked by the adaptation of the Wang-Landau algorithm—a method originally designed to estimate the density of states in physical systems—to map the input-output landscapes of deep neural networks. This methodological cross-pollination allowed for a more rigorous investigation of how models respond to their entire input space, rather than relying solely on predefined, often biased, datasets.

In the period between 2024 and 2025, this work evolved into a comprehensive framework for Scalable Automated Evaluation for Large Models. Recognizing that traditional data-centric benchmarks are insufficient for capturing "backdoor" shortcuts or failure modes in unrecognizable noise, Li contributed to the development of model-centric evaluation tools. These tools aim at Uncertainty Calibration for Large Language Models by self-constructing test sets based on a model's own output distribution, thereby revealing unanticipated weaknesses that standard benchmarks might miss.

Current Directions

Li’s current research is concentrated on the reliability and comparative analysis of large-scale AI models. A primary focus is the "OmniInput" framework, which seeks to evaluate machine learning models on internet-scale data by sampling representative inputs directly from the model’s output distribution. This approach moves away from static datasets toward a dynamic, model-centric paradigm that can estimate precision and recall curves across a much broader range of potential inputs.

Additionally, Li is involved in the comparative study of language models through "Model-diff" tools. This research direction addresses the difficulty of pinpointing similarities and differences between two models (e.g., for plagiarism detection or architectural benchmarking) by analyzing their behavior in the input space rather than just their performance on specific tasks. This work is particularly relevant for AI safety, as it provides a mechanism to understand how different models handle unforeseen perspectives and "out-of-distribution" data.

Beyond AI evaluation, Li continues to maintain an active interest in the application of machine learning potentials to transition path sampling and the study of structural transitions in proteins and polymers. This includes collaborative efforts to improve machine learning interatomic potentials and enforce detailed balance in models of transition rates, ensuring that AI-driven simulations remain physically consistent.

Representative Work

The following papers illustrate the evolution of Li's work from physics-inspired sampling to the evaluation of deep learning systems.

In Gradient-based Wang--Landau Algorithm: A Novel Sampler for Output Distribution of Neural Networks over the Input Space, Li participated in the development of the Gradient-based Wang–Landau (GWL) sampler. This work adapts a classic statistical mechanics tool to neural networks, replacing random sampling with gradient-guided exploration to map how a model responds to its entire input space. The algorithm is particularly effective at uncovering "backdoor" shortcuts—such as a model relying on background darkness rather than object features—and identifying how models process unrecognizable noise.

Li served as the second author on OmniInput: A Model-centric Evaluation Framework through Output Distribution, which proposed a shift from traditional data-centric evaluation to a model-centric approach. The framework uses an efficient sampler to obtain representative inputs and the resulting output distribution of a trained model. By investigating these distributions, the framework allows for the estimation of precision and recall at various output values, providing a more comprehensive view of model reliability and safety than standard test sets.

The scaling of these methods was further explored in OmniInput: An Evaluation Framework for Deep Learning Models on Internet-Scale Data. In this collaborative work, the authors extended the OmniInput approach to handle the vast input spaces associated with internet-scale data. The method focuses on efficient sampling and the calculation of precision-recall curves to reveal model weaknesses that remain hidden when using limited benchmark datasets.

In the area of comparative model analysis, Li contributed to Model-diff: A Tool for Comparative Study of Language Models in the Input Space. This research addresses the challenge of side-by-side comparison of large language models. By moving beyond benchmark-driven analysis, the Model-diff tool allows researchers to identify prediction similarities and differences from unforeseen perspectives, which is critical for detecting potential plagiarism and understanding the unbiased differences between competing model architectures.

Profile updated

See something wrong? Report a mistake