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

Haau-Sing Li

6 previous affiliations
4Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Haau-Sing Li focuses on natural language generation, code generation, and uncertainty quantification in large language models. His trajectory spans from resolving under-specified user intents in programming tasks to establishing theoretical frameworks for model calibration and reranking. His most recent work investigates execution-based code generation and the communication-theoretic scaling laws of language model inference.

Research Trajectory

The early phase of Haau-Sing Li's observed research focused on improving the reliability of artificial intelligence in programming environments, particularly when models are faced with vague or incomplete instructions. He investigated these challenges by introducing the CodeClarQA dataset and framework in Asking Clarification Questions for Code Generation in General-Purpose Programming Language (2022). This work enabled models to proactively identify missing information and formulate clarification questions rather than guessing user intent, leading to significant improvements in code generation accuracy. This contribution advanced the research direction Multi-turn Iterative Code Generation and Refinement and the area of Bridging the Intent Gap in Natural Language Programming, while also touching upon the broader area of Aligning Query and Document Spaces for Better Retrieval.

In 2023, his focus expanded to the broader theoretical challenges of model reliability and hallucination. He collaborated on a comprehensive primer and roadmap titled Uncertainty in Natural Language Generation: From Theory to Applications. This work synthesized approaches for managing what a model "does not know," bridging theoretical foundations with practical deployment strategies. Through this research, he contributed to the research direction Uncertainty Calibration for Large Language Models, the area of Scalable Bayesian Uncertainty for Large Neural Networks, and the research direction Verbalized Confidence Elicitation in Large Language Models.

Returning to the domain of programming in 2024, his research addressed the evaluation and optimization of AI-generated code in DOCE: Finding the Sweet Spot for Execution-Based Code Generation. This framework provided a unified methodology for comparing how models generate, rank, and repair code. The research identified an optimal inference strategy: sampling candidates at high temperatures to ensure diversity, filtering them using high-quality unit tests, and applying a majority-vote execution strategy (MBR-Exec) to select the final output.

Simultaneously, he investigated the theoretical limits of inference-time scaling. With collaborators, he framed the common "generate-then-rerank" paradigm as a noisy communication channel problem in Reranking Laws for Language Generation: A Communication-Theoretic Perspective (2024). This work demonstrated that even with an imperfect reranker, errors and hallucinations can theoretically be eliminated by increasing the number of candidate hypotheses. The authors provided formal "reranking laws" to predict exactly how model performance scales with the number of generated candidates, offering a rigorous foundation for consensus generation techniques.

Current Directions

The most recent papers in the evidence address the optimization of inference-time strategies for large language models, particularly in structured domains like programming. Recent work investigates how to best sample, filter, and execute code candidates to maximize accuracy, as well as the theoretical scaling laws that govern generate-and-rerank pipelines. By treating language generation through a communication-theoretic lens, this ongoing research seeks to systematically reduce hallucinations, improve the reliability of consensus generation, and establish predictable scaling behaviors for inference-time compute.

Profile updated

See something wrong? Report a mistake