NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions
Andy Shih

Andy Shih

Stanford University
2 previous affiliations
16Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Andy Shih focuses on the intersection of probabilistic reasoning, formal verification, and the computational efficiency of generative models. His work addresses the fundamental challenges of making complex machine learning systems more interpretable, robust, and efficient through the lens of symbolic knowledge compilation and non-myopic optimization. His research trajectory has evolved from the formal verification of discrete probabilistic models toward the development of high-performance sampling and inference techniques for large-scale autoregressive and diffusion models.

Research Trajectory

The early phase of Shih’s research, spanning approximately 2018 to 2020, was centered on Exact Probabilistic Inference via Binary Decision Diagrams. During this period, he focused on the "disjoint-sum problem," a core computational bottleneck in probabilistic reasoning where calculating the probability of a query requires summing over potentially overlapping scenarios. To mitigate this, Shih developed methods to compile Bayesian network classifiers and binarized neural networks into tractable symbolic representations, such as Ordered Decision Diagrams (ODDs) and Sentential Decision Diagrams (SDDs). These representations allowed for exact formal verification, enabling researchers to mathematically prove properties like monotonicity and robustness in models that are typically treated as black boxes.

By 2021, Shih’s work began to bridge the gap between symbolic logic and deep generative modeling. He explored the limitations of traditional probabilistic circuits, proposing "HyperSPNs" to improve the expressiveness and generalization of Sum-Product Networks through soft weight-sharing. This period also marked an expansion into the social and structural aspects of artificial intelligence, including participation in large-scale collaborative efforts to define the opportunities and risks of foundation models and investigating the role of conventions in human-AI coordination.

In more recent years (2023–2025), Shih has focused on the operational challenges of Large Language Models (LLMs) and diffusion models. A primary theme in this work is the critique of "myopic" generation—the tendency of autoregressive models to select tokens based on immediate local probabilities rather than long-term coherence. To address this, he introduced Sequence Level Temperature Scaling for Global Coherence, which optimizes for long-horizon likelihoods. Parallel to these algorithmic improvements, he has developed techniques for Lookahead Decoding for Non-Myopic Text Generation and accelerated sampling methods that trade increased GPU compute for reduced latency. His latest work extends into imitation learning, specifically focusing on extracting expert behavior from noisy, unlabeled datasets.

Current Directions

Shih’s current research is characterized by three primary pillars: non-myopic inference, efficient generative sampling, and adaptive learning from suboptimal data.

In the domain of inference, he continues to refine Long Horizon Temperature Scaling, a method that moves beyond greedy next-token prediction to calibrate model uncertainty over entire sequences. This work is critical for improving the reasoning capabilities of LLMs, which often fall into "probability traps" when local high-likelihood choices lead to logical dead-ends.

Regarding efficiency, Shih is investigating Zeroth Order Optimization for Memory Efficient Large Model Fine-Tuning. This direction seeks to bypass the "activation bottleneck" of standard first-order backpropagation, potentially allowing for the fine-tuning of massive models on consumer-grade hardware. Additionally, his work on Continuous Guidance Conditioning for Generative Models aims to reduce the computational overhead of techniques like Classifier-Free Guidance (CFG) in diffusion models.

Finally, Shih is exploring the boundaries of imitation learning. By treating demonstrator expertise as a latent variable, his recent frameworks attempt to "cherry-pick" high-quality behaviors from mixed-quality datasets, allowing agents to outperform the very demonstrators they learn from.

Representative Work

Compiling Bayesian Network Classifiers into Decision Graphs In this work, Shih introduces an algorithm to compile Bayesian network classifiers into ordered decision graphs. These graphs are tractable and often exponentially smaller than traditional decision trees, facilitating efficient reasoning about model behavior. The paper provides theoretical guarantees on compilation time and graph size, demonstrating how symbolic compilation can be used to generate explanations for automated decisions.

Verifying Binarized Neural Networks by Angluin-Style Learning Shih proposes a novel verification framework for binarized neural networks (BNNs) using an Angluin-style learning algorithm. By employing a SAT solver as an equivalence oracle, the method compiles a neural network’s behavior on a specific input region into an Ordered Binary Decision Diagram (OBDD). This allows for the efficient computation of counterexample probabilities and the identification of common characteristics among inputs that lead to model failure.

Training and Inference on Any-Order Autoregressive Models the Right Way This research identifies and corrects redundancies in the formulation of Any-Order Autoregressive Models (AO-ARMs), such as BERT and XLNet. Shih demonstrates that previous iterations of these models often defined the same distribution in multiple redundant ways, leading to sub-optimal performance. By refining the probabilistic model, this work improves the efficiency of conditional inference across arbitrary subsets of variables, which is essential for tasks like image inpainting and masked language modeling.

Parallel Sampling of Diffusion Models Shih introduced ParaDiGMS (Parallel Diffusion Generative Model Sampling), a method that accelerates the denoising process of pretrained diffusion models by 2-4x. The approach utilizes Picard iterations to predict and refine multiple future denoising steps in parallel. This technique effectively reduces latency without requiring model retraining or sacrificing the quality of generated images and robotic trajectories.

Long Horizon Temperature Scaling Addressing the "myopic" nature of standard autoregressive sampling, Shih developed Long Horizon Temperature Scaling (LHTS). While traditional temperature scaling greedily optimizes the next token, LHTS optimizes for the joint distribution of the entire sequence. This approach is compatible with any likelihood-based model and significantly improves the calibration and reasoning performance of LLMs by preventing them from entering low-probability states in long-form generation.

Imitation Learning by Estimating Expertise of Demonstrators In this recent collaboration, Shih contributed to the development of ILEED, a framework designed for imitation learning from suboptimal and unlabeled datasets. The model jointly learns an optimal policy while simultaneously estimating the state-dependent expertise of various demonstrators. By filtering out noise from non-expert data, the system can learn a policy that exceeds the performance of the best individual demonstrator in the training set.

Profile updated

See something wrong? Report a mistake