Elamur Research

Haokun Liu

Haokun Liu studies what pretrained language models learn, which parts of that knowledge they use in new settings, and how to adapt them when few labeled examples are available. Liu’s papers here use controlled English sentences to isolate grammatical contrasts and training experiments to test what carries over from one task to another. A recurring question is whether a strong test score reflects the ability the test was designed to measure. The work examines how that interpretation changes with the examples, the way a system has been trained, and the decision it has to make at evaluation time.

The most cited paper here, Few-Shot Parameter-Efficient Fine-Tuning (2022), compares two uses of a small set of task examples. Parameter-efficient fine-tuning uses them to adapt a limited portion of the model’s parameters, while in-context learning supplies the examples as part of the prompt. The paper reports an advantage for parameter-efficient fine-tuning in both performance and cost. This comparison concerns the procedure for putting a pretrained model to work on a new task as well as the resulting predictions, since the choice determines where the model uses the examples and where it spends computation.

BLiMP (2020) tests English grammar by giving models pairs of sentences that differ in acceptability in a controlled way. The model succeeds on a pair if it assigns greater probability to the acceptable sentence. Linguists designed templates for individual contrasts, and software instantiated them using lexical items annotated for the properties each contrast required. The benchmark covers matters such as agreement, word forms, sentence structure, and constraints that depend on meaning. Human judgments on a sample provide a check on the generated labels and a point of comparison for how consistently the models prefer the expected sentence.

Intermediate-Task Transfer Learning with Pretrained Language Models (2020) looks at what happens when RoBERTa is trained on a supervised auxiliary task before adaptation to its intended one. It compares combinations of auxiliary and destination tasks, ranging from syntactic tagging and paraphrase detection to question answering and inference. Alongside scores on the destination tasks, diagnostic tests examine what linguistic abilities change during training. A related paper from 2020 reports that intermediate supervised training in English can also help when the destination task must be performed in another language without task-specific examples in that language.

In Learning Which Features Matter (2020), the same training labels can be explained by a grammatical property or by a surface cue, such as the order in which articles appear. At evaluation the cues disagree, making the model’s preference observable. Additional conditions test whether a model can learn each cue on its own and how its decisions change when a small share of the training examples favors the grammatical rule. Models with less exposure during pretraining often learn the features when supervision isolates them, yet favor surface cues under ambiguous supervision. The most extensively pretrained RoBERTa tested shows a stronger preference for grammatical explanations, though surface cues still influence many runs.

Investigating BERT’s Knowledge of Language (2019) takes a narrower grammatical phenomenon and asks how measurement changes the apparent result. Expressions such as “any” and “ever” depend on a licensing environment. A negative word can create such an environment, and the expression’s structural position determines whether it is within that word’s scope. The study varies these features in generated sentences and tests BERT in several ways, including judgments of sentences in isolation and comparisons of closely matched alternatives. The differences across tests show why a model’s success at preferring one sentence in a pair gives only a partial account of what it knows about the construction.

A 2020 paper on counterfactual augmentation addresses a related question about training examples and generalization in natural language inference. The augmentation procedure asks crowd workers to make small changes to existing examples, creating cases that can help probe whether a model depends on incidental patterns. The study compares training with these edited examples to training on unaugmented material in SNLI. It reports no improvement in generalization from the augmented training set in that comparison. The result puts the emphasis on measuring transfer after a training intervention, since making the examples more deliberate does not by itself establish that a model carries the intended rule into a new setting.

Comparing Test Sets with Item Response Theory (2021) examines which English benchmarks still distinguish among high-performing models. The authors fit curves to results on individual questions, including responses from weaker systems and partially trained checkpoints. The curves describe how the likelihood of a correct response changes with estimated ability. The proposed measure, Locally Estimated Headroom, looks at that change near the strongest observed system. HellaSwag, Quoref, and MC-TACO retain evidence of room to register gains, while SNLI and MNLI appear largely saturated for the strongest systems examined. A question can be difficult and still tell researchers little about differences near the top of the observed range.

The later work also addresses how models share and combine resources across tasks. Soft Merging of Experts with Adaptive Routing (2023) uses a learned router to blend the weights of specialist networks according to the example at hand. Because changes in the routing scores change the blended weights smoothly, ordinary backpropagation can train the router together with the experts. Within a routing block, the model uses the resulting weights across a whole text sequence or image. This reuse keeps measured inference speed close to methods that select a single expert, while allowing the system to learn how much to draw on each specialist.

Literature Meets Data (2025) studies whether research literature and observed examples can jointly yield hypotheses that apply beyond the cases used to generate them. One method alternates between refining hypotheses in light of prior studies and refining them against examples. Another combines hypotheses generated from each source separately and removes duplicates. The experiments cover tasks such as recognizing deception, identifying AI-generated text, and assessing the persuasiveness of arguments. The combined approach generalizes better on the tested out-of-distribution examples than the comparison methods, and the hypotheses also help participants make better judgments in a human study.

Samuel R. Bowman, Jason Phang, and Phu Mon Htut are among Liu’s most frequent co-authors on the papers here. Alex Warstadt and Clara Vania are also recurring collaborators. The papers connect Language models & pretraining with Evaluation & benchmarks, particularly through English grammar tests and experiments that examine how learning on one task affects performance on another.

8 papers in our library · 2019–2025

OpenAlex · ORCID · Wikidata · h-index 29 · 176 works · 3,330 citations OpenAlex, 2026-10-14

 8 works in our library ·  Cited 1,369 times in our library · 12 more in our library without a page yet ·  Paper Stars ranking: #2167

The profile is the library's match of the name; two people with one name are not always told apart.

Elsewhere: Google Scholar · Semantic Scholar · dblp · ACL Anthology

 Affiliations

From the bylines of their papers (OpenAlex, 2026-10-14), ORCID and Wikidata; institutions on papers are matched by machine. 23 more institutions on single bylines are not listed.

 Fields, topics and concepts

Of its works in our library, with the number of works on each.

 Works by year

2020s

2010s

 Papers

The most cited first (OpenAlex and our library).

  1. Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning (2022 · 755 citations)
    Few-shot in-context learning (ICL) lets a large language model take on a new task without training. However, every prediction must reprocess all demonstration examples, which is costly, and results shift with prompt wording and example order. The authors test whether parameter-efficient fine-tuning (PEFT) is a better…
  2. Intermediate-Task Transfer Learning with Pretrained Language Models: When and Why Does It Work? (2020 · 282 citations)
    Training a pretrained encoder on a large auxiliary dataset before fine-tuning it on the final task (the STILTs approach) sometimes improves results and sometimes does not, and the reasons are poorly understood.
  3. Investigating BERT's Knowledge of Language: Five Analysis Methods with NPIs (2019 · 179 citations)
    The paper asks how the grammatical knowledge of pretrained sentence encoders should be measured, and whether different evaluation styles agree.
  4. English Intermediate-Task Training Improves Zero-Shot Cross-Lingual Transfer Too (2020 · 70 citations)
    Multilingual pretrained encoders are typically fine-tuned on English task data and then applied to other languages without target-language labels.
  5. Counterfactually-Augmented SNLI Training Data Does Not Yield Better Generalization Than Unaugmented Data (2020 · 51 citations)
    Crowdsourced NLI benchmarks contain shortcuts such as hypothesis-only cues, negation words and lexical overlap.
  6. Soft Merging of Experts with Adaptive Routing (2023 · 24 citations)
    Models that route inputs to expert subnetworks promise modularity, but routers that make discrete expert choices often perform worse than parameter-matched dense models or simple hand-designed routing rules.
  7. BLiMP: The Benchmark of Linguistic Minimal Pairs for English (2020 · 21 citations)
    BLiMP is a challenge set for measuring which parts of English grammar language models have learned. It contains 67 paradigms of 1,000 sentence pairs each; within a pair the two sentences differ minimally and only one is acceptable. The pairs are generated automatically from templates designed by linguists and cover…
  8. Literature Meets Data: A Synergistic Approach to Hypothesis Generation (2025 · 12 citations)
    LLM-based hypothesis generation has mostly followed one of two paths. Theory-driven methods mine published papers but adapt poorly to new data. Data-driven methods induce patterns from labeled examples but may overfit a single dataset. The authors ask whether combining the two helps, and they build what they call the…

All works

20 works of theirs in our library, the most cited first; 10 with a page here, the others link their original until we summarise them.

  1. BLiMP: The Benchmark of Linguistic Minimal Pairs for English ↗Transactions of the ACL 8: 377–392 (2020) · no summary yetAlex Warstadt et al.2020 · 732 citations
  2. BLiMP: The Benchmark of Linguistic Minimal Pairs for EnglishTransactions of the Association for Computational LinguisticsAlex Warstadt, Alicia Parrish, Haokun Liu, et al.2020 · 297 citations
  3. Learning Which Features Matter: RoBERTa Acquires a Preference for Linguistic Generalizations (Eventually)Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP)Alex Warstadt, Yian Zhang, Xiaocheng Li, et al.2020 · 190 citations
  4. jiant: A Software Toolkit for Research on General-Purpose Text Understanding Models ↗Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics: System Demonstrations · no summary yetYada Pruksachatkun et al.2020 · 89 citations
  5. Intermediate-Task Transfer Learning with Pretrained Models for Natural Language Understanding: When and Why Does It Work? ↗arXiv (Cornell University) · no summary yetYada Pruksachatkun et al.2020 · 83 citations
  6. Comparing Test Sets with Item Response TheoryProceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)Clara Vania, Phu Mon Htut, William Huang, et al.2021 · 47 citations
  7. Fine-Tuned Transformers Show Clusters of Similar Representations Across Layers ↗Proceedings of the Fourth BlackboxNLP Workshop on Analyzing and Interpreting Neural Networks for NLP · no summary yetJason Phang, Haokun Liu, Samuel R. Bowman2021 · 39 citations
  8. Soft Merging of Experts with Adaptive RoutingarXiv:2306.03745Mohammed Muqeeth, Haokun Liu, Colin Raffel2023 · 24 citations
  9. Learning to Route Among Specialized Experts for Zero-Shot Generalization ↗arXiv (Cornell University) · no summary yetMuqeeth, Mohammed et al.2024 · 21 citations
  10. Precise Task Formalization Matters in Winograd Schema Evaluations ↗Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP) · no summary yetHaokun Liu et al.2020 · 18 citations
  11. Dense Training, Sparse Inference: Rethinking Training of Mixture-of-Experts Language Models ↗arXiv:2404.05567 · no summary yetBowen Pan et al.2024 · 14 citations
  12. Git-Theta: A Git Extension for Collaborative Development of Machine Learning Models ↗arXiv (Cornell University) · no summary yetNikhil Kandpal et al.2023 · 9 citations
  13. The Appeal and Reality of Recycling LoRAs with Adaptive Merging ↗arXiv (Cornell University) · no summary yetHaokun Liu et al.2026
  14. Enhancing Training Data Attribution with Representational Optimization ↗neural information processing systems · no summary yetWeiwei Sun et al.2025

 Co-authors here

12 of 24 co-authors with a page, the most papers together first.

Venues

Where their works here were published, the most works first, with the editions of those that have a page.

 Cited by

Papers of our library cite their works 1,382 times (of more than 163,000 papers whose bibliographies we read); 328 citing papers with a page here →.

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/authors/haokun-liu/