Alvin Heng
· 1 previous affiliation
- National University of SingaporeSince 2021
- PhD student · Since 2021
Research Overview
Alvin Heng focuses on deep generative modeling, machine unlearning, and the reliability of machine learning systems under distribution shift. His research develops principled frameworks for Preserving Model Utility During Machine Unlearning and generative agents, as well as robust methods for out-of-distribution (OOD) detection and selective classification. By leveraging tools from optimal transport, continual learning, and statistical decision theory, Heng addresses the challenges of making large-scale foundation models safer, more interpretable, and more capable of identifying their own predictive limitations.
Research Trajectory
Heng’s early work in 2018 examined the efficiency and structural dynamics of off-chain transaction networks. In Optimal Fee Structure for Efficient Lightning Networks, he investigated how payment channel fees influence transaction routing, centralization, and channel depletion within the Bitcoin Lightning Network. This research utilized empirical transaction patterns to model the effects of fee parameters on network stability, establishing an early interest in the optimization of complex, decentralized systems.
In 2023, Heng’s focus shifted toward the theoretical foundations and practical applications of deep generative models. He explored Wasserstein gradient flows (WGF) as a mechanism for transforming simple noise distributions into complex data manifolds. This work addressed the "density chasm" often encountered in high-dimensional generative tasks, where standard gradient flow methods fail to maintain stable updates. During this period, he also contributed to the modeling of Neural Continuous-Discrete State Space Models for Irregularly-Sampled Time Series, participating in the development of architectures capable of handling erratic data intervals in clinical and financial domains.
Concurrently, Heng began addressing the safety and ethical implications of generative AI through the lens of machine unlearning. He developed techniques for Representation Steering for Robust Machine Unlearning, moving beyond superficial fine-tuning to achieve more permanent erasure of sensitive or harmful concepts. This line of inquiry utilized Parameter Importance Regularization for Continual Learning to ensure that "forgetting" specific data did not degrade the model's performance on unrelated tasks.
By 2024 and 2025, Heng’s research evolved to prioritize the deployment-time reliability of foundation models. He introduced novel methods for Unified Selective Classification and Out-of-Distribution Detection, focusing on the "reject option"—the ability of a model to abstain from a prediction when uncertainty is high. This work specifically targeted Distinguishing Semantically Similar Outliers from Known Classes, where models often struggle to differentiate between subtle variations of known classes and entirely new categories.
Current Directions
Heng’s current research is centered on the intersection of Semantic Uncertainty and Calibration for Large Language Models and vision-language foundation models. He is developing zero-shot techniques for detecting covariate shifts, reframing robustness challenges as OOD detection problems that do not require task-specific retraining. A major component of this work involves the application of the Neyman–Pearson lemma to selective classification, deriving optimal selectors based on likelihood ratios of correct versus incorrect predictions. This approach aims to provide a more rigorous statistical foundation for model abstention in high-stakes environments.
Representative Work
Deep Generative Wasserstein Gradient Flows In this work, Heng presents Deep Generative Wasserstein Gradient Flows (DGGF), a framework that constructs a WGF between two distributions by minimizing the entropy-regularized f-divergence. The research demonstrates how to train a deep density ratio estimator to guide the flow, enabling the synthesis of high-dimensional data. This approach provides a theoretically rich alternative to standard GAN or VAE formulations by explicitly modeling the transport of probability mass along the steepest descent direction of a functional.
Selective Amnesia: A Continual Learning Approach to Forgetting in Deep Generative Models Heng introduced Selective Amnesia (SA) to address the computational and legal challenges of removing specific concepts from pretrained generative models. Rather than retraining from scratch, SA treats forgetting as a continual learning task where unwanted concepts (such as copyrighted material or celebrity faces) are surgically remapped to safe surrogate representations. This method allows for controllable forgetting while preserving the model's utility for other concepts, providing a scalable solution for safety alignment in text-to-image models like Stable Diffusion.
Out-of-Distribution Detection with a Single Unconditional Diffusion Model This research introduces DiffPath, a method for OOD detection that utilizes the geometric properties of the paths taken by samples during the diffusion process. By analyzing the rate-of-change and curvature of a sample as it is transformed into Gaussian noise, Heng demonstrates that a single, pretrained unconditional diffusion model can serve as a generalist OOD detector across diverse datasets. This approach bypasses the need for reconstruction-based heuristics or task-specific retraining, achieving state-of-the-art performance with high efficiency.
Know When to Abstain: Optimal Selective Classification with Likelihood Ratios Heng revisits the problem of selective classification—enabling models to "abstain" from predicting when they are likely to be wrong. By framing the abstention decision as a likelihood ratio test between the distributions of "correct" and "incorrect" predictions, he derives new distance-based selectors, such as $\Delta$-MDS and $\Delta$-KNN. These selectors are shown to be more robust than traditional confidence-based heuristics, particularly when models encounter real-world distribution shifts that typically cause overconfident misclassifications.
Detecting Covariate Shifts With Vision-Language Foundation Models This work proposes reframing covariate shift detection as an OOD detection problem. Heng leverages vision-language models (VLMs), specifically CLIP, to identify when inputs deviate from the training distribution in ways that typically degrade performance. The research introduces zero-shot detection techniques that require no task-specific training, facilitating the monitoring of model reliability in-the-wild. This approach addresses the limitations of robustness-focused methods by providing a mechanism to flag potentially unreliable inputs before they lead to downstream errors.
Neural Continuous-Discrete State Space Models for Irregularly-Sampled Time Series As a second author, Heng participated in the development of a hybrid state space model designed for irregularly-sampled data. The model integrates continuous-time dynamics with discrete-time observations, allowing it to maintain a latent state even during long gaps between data points. This work addresses the limitations of traditional RNNs and Transformers when applied to real-world sensors and clinical records, where data arrival is non-uniform. Heng’s contribution focused on the integration of these state space dynamics within a deep learning framework to improve predictive accuracy on fluctuating time-series datasets.
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