Haonan Duan

Isomorphic Lab · University of Toronto
3 previous affiliations
13Machine learning papers tracked by Lacuna

1 other author named Haonan Duan: Haonan Duan (Nvidia (United States) · 2 papers)

Is this you?

Research Overview

Haonan Duan focuses on developing intelligent systems for complex reasoning in the natural sciences, with a particular emphasis on AI4Science and trustworthy machine learning. His research spans the development of protein representations, the evaluation of large language models (LLMs) in biological contexts, and the implementation of privacy-preserving methods for foundation models. Currently a PhD student at the University of Toronto and the Vector Institute, he investigates how machine learning can be leveraged to solve intricate problems in biology and physics while maintaining rigorous standards for privacy and reliability.

Research Trajectory

Duan’s early research, beginning around 2020, was centered on the intersection of probabilistic methods and combinatorial optimization. He initially addressed the "initialization problem" in Boolean satisfiability (SAT) solvers, exploring how Bayesian frameworks could improve search heuristics. This work established a foundation in algorithmic efficiency and probabilistic modeling, which he subsequently applied to self-supervised learning. By 2022, his focus shifted toward reducing the reliance on expensive labeled data for combinatorial problems. He developed contrastive learning frameworks that utilized label-preserving augmentations to train neural solvers, demonstrating that logical invariances in problem structures could be exploited to achieve high performance with significantly fewer labels.

In 2022 and 2023, Duan’s research trajectory expanded into trustworthy machine learning, specifically addressing privacy and security vulnerabilities in large-scale models. During this period, he investigated the risks of model stealing in self-supervised encoders and the privacy implications of Differentially Private In-Context Learning. His work in this domain focused on providing mathematical guarantees against data leakage, particularly when fine-tuning or prompting LLMs with sensitive information. He explored various privacy-preserving mechanisms, including Differentially Private Parameter-Efficient Fine-Tuning and Private Knowledge Distillation via Noisy Ensemble Aggregation. Additionally, he contributed to research on Gradient-Free Optimization for Black-Box Language Models and methods for Eliminating Centralized Trust in Privacy Preserving Data Aggregation, ensuring that privacy could be maintained even in decentralized or black-box settings.

Since 2024, Duan has pivoted toward AI4Science, applying his expertise in representation learning and LLMs to the natural sciences. This current phase of his work involves enhancing the predictive power of protein models by integrating amino acid sequences with expert-curated text annotations. He has also focused on the systematic evaluation of LLMs in scientific discovery, developing "dry lab" environments to test iterative experiment design and analysis capabilities in systems biology. His recent collaborative work also includes the development of multimodal models for genomic sequence analysis and the use of language models to meta-design quantum physics experiments.

Representative Work

Online Bayesian Moment Matching based SAT Solver Heuristics In this work, Duan addresses the initialization problem in Boolean SAT solvers, which involves determining an effective initial search order and truth-value polarity for variables. He introduces a Bayesian Moment Matching (BMM) framework that treats clauses as evidence to update probabilistic beliefs about variable assignments. By providing solvers with a more informed starting point, the BMM-based heuristics significantly reduce solving times and increase the number of solved instances across cryptographic and industrial benchmarks. This research highlights the utility of probabilistic methods in enhancing classical combinatorial algorithms.

Augment with Care: Contrastive Learning for Combinatorial Problems Training neural networks for combinatorial problems like SAT typically requires vast amounts of labeled data, which is computationally expensive to generate. Duan proposes a contrastive learning framework that utilizes label-preserving augmentations (LPAs)—logical transformations that alter a formula's structure without changing its satisfiability. By matching representations of augmented formulas, the model learns powerful features from unlabeled data. The results demonstrate that this approach can match supervised performance while using 100x fewer labels and improving generalization to unseen problem domains.

Dataset Inference for Self-Supervised Models As self-supervised models become more prevalent in public APIs, they face increasing risks from model stealing attacks. In this second-author paper, Duan contributes to the development of a dataset inference defense. The method uses the private training set of a victim encoder model to attribute ownership in the event of a suspected theft. By identifying whether a suspect model was trained on the same data distribution as the victim, this defense provides a mechanism for protecting intellectual property in high-dimensional vector representation services.

Flocks of Stochastic Parrots: Differentially Private Prompt Learning for Large Language Models This paper investigates the privacy risks associated with the data used in LLM prompts, showing they are vulnerable to membership inference attacks. Duan introduces PromptDPSGD and PromptPATE, two methods designed to enable LLMs to learn from private data through prompting while maintaining rigorous differential privacy guarantees. These methods are particularly significant because they provide privacy protections without requiring the fine-tuning of the underlying massive model weights, making them applicable to large-scale foundation models.

PAIR: Boosting the Predictive Power of Protein Representations with a Corpus of Text Annotations Duan explores the limitations of protein language models trained solely on amino acid sequences, which often struggle to detect distant evolutionary relationships. He introduces PAIR, a framework that examines the effects of training protein models on nineteen types of expertly-curated function annotations from the Swiss-Prot database. The study finds that incorporating these text-based annotations significantly enhances the model's ability to predict protein functions, demonstrating the value of integrating structured scientific knowledge with sequence-based representation learning.

Measuring Scientific Capabilities of Language Models with a Systems Biology Dry Lab To address the difficulty of evaluating LLMs in scientific discovery—where wet-lab experimentation is often too slow and expensive—Duan introduces SciGym. This benchmark assesses the iterative experiment design and analysis capabilities of LLMs using a "dry lab" of biological systems encoded in Systems Biology Markup Language. By simulating complex biological perturbations, SciGym provides a scalable and rigorous environment for testing whether LLMs can perform open-ended scientific reasoning and discover underlying biological principles.

Current Directions

Duan’s current research continues to bridge the gap between machine learning and the natural sciences. He is actively involved in developing multimodal systems that combine genomic sequence analysis with human-readable reasoning. This includes participation in projects like BioReason, which utilizes reinforcement learning to incentivize step-by-step mechanistic explanations for genetic mutation predictions. His work also extends to quantum physics, where he explores how code-generating language models can find meta-solutions for classes of experimental designs, potentially uncovering new underlying design principles. These efforts reflect a broader commitment to creating AI systems that are not only predictive but also capable of providing transparent and insightful reasoning in scientific contexts.

Profile updated

See something wrong? Report a mistake