Haodong Liang at the beach

Haodong
Liang.

Ph.D. Candidate
Electrical & Computer Engineering

3174 Kemper Hall
Davis, California

About me

Welcome to my homepage! I am a Ph.D. candidate at UC Davis, advised by Professors Lifeng Lai and Krishnakumar Balasubramanian.

I am interested in how large language models (LLMs) develop the ability to solve new tasks through in-context learning: at inference time, an LLM agent can learn from context to discover patterns, make predictions, or use feedback to guide its next decision—all without updating its parameters. To understand how these capabilities arise, I study which machine learning algorithms can be encoded in the Transformer model (the building-block of LLM), and under what conditions training enables Transformer models to develop this ability.

More broadly, I am excited about developing reliable LLM agents, from pre-training to fine-tuning.

01

Research

In-context learning

The context contains apple → fruit and bird → animal. Given the query carrot → ?, a Transformer predicts vegetable without updating its parameters. An illustrative in-context classification task.
Pretrained Transformers learn from context, without parameter updates.

In-context learning refers to a pretrained model’s ability to learn from contextual information and adapt to new tasks at inference time. We study the theoretical foundations of Transformers’ in-context learning ability in linear regression and reinforcement learning. For in-context linear regression, our work establishes that Transformers can address endogeneity using instrumental variables. For in-context reinforcement learning, we investigate how Transformers can act as agents and implement policy-improvement algorithms through closed-loop interaction with the environment.

Related publications

Fine-tuning & forgetting

A conceptual comparison of supervised and reinforcement fine-tuning. SFT fits the teacher distribution over correct demonstrations, including its style preferences. RFT generates its own samples, evaluates semantic correctness, and updates using reward feedback. The lower plot is a qualitative schematic of the paper's two-task population dynamics from a perfectly fitted, style-symmetric checkpoint: SFT old-task error rises and later declines, while RFT retains zero error throughout training. The horizontal axis denotes fine-tuning steps at a fixed step size. These curves are schematic, not measured data; the zero-error RFT behavior relies on the studied population-update conditions.
Style imitation can induce semantic forgetting.

Why can learning from correct demonstrations still cause a model to forget previously acquired capabilities? We study supervised fine-tuning (SFT) and reinforcement fine-tuning (RFT) on classification tasks where the same answer can be expressed in different styles. By separating semantic and style updates in a linear-softmax model, we show how fitting a teacher’s stylistic preferences can induce semantic forgetting. Under explicit conditions on population updates, we prove a finite-time forgetting gap between SFT and RFT. We observed this gap in continual learning on six real-world sentiment tasks using frozen Qwen2.5-1.5B features.

Read the paper

Differential privacy

Datasets D and D prime differ only in one highlighted record, labeled a and b. Both are processed separately by the same randomized algorithm M. Solid and dashed curves illustrate nearby output distributions under a privacy guarantee, not experimental results.
Changing one record has a limited effect on the output distribution.

Differential privacy provides formal guarantees that limit how much an individual’s data can influence an algorithm’s output. We address endogeneity under privacy constraints by developing a noisy two-stage gradient descent algorithm with zero-concentrated differential privacy guarantees and finite-sample convergence rates.

Read the paper

02

Selected publications

Most recent first

03

Background

Education

2023–2028 (expected)

University of California, Davis

Ph.D., Electrical & Computer Engineering

2021–2023

University of Michigan, Ann Arbor

M.Sc., Statistics

2016–2020

Xiamen University

B.Sc., Mathematical Statistics

Academic service

Reviewer

ICLR (2026, 2027)
NeurIPS (2026)
IEEE Transactions on Information Theory

Teaching Assistant

EEC 266 Information Theory and Coding (Fall 2025)
EEC 018 Digital System Design (Spring 2025)
EEC 161 Applied Probability (Spring 2024)

Selected honors

  • 2027PhD Candidacy Fellowship
  • 2026Shu Lin Graduate Student Conference Travel Award
  • 2025Summer Graduate Student Researcher Award
  • 2023UC Davis Graduate Program Fellowship