About me

Hey! My name is Ruiqi Zhong. I am currently a second year PhD student in the Berekely NLP Group, advised by Prof. Dan Klein and Prof. Jacob Steinhardt. I am broadly interested in the intersection of NLP with programming languages and machine learning. Specifically, I work on:

  • synthesizing executable programs using natural language and input-output examples, and
  • understanding how and what neural networks learn.


Meta-learning via Language Model In-context Tuning
Yanda Chen, Ruiqi Zhong, Sheng Zha, George Karypis, He He

Adapting Language Models for Zero-shot Learning by Meta-tuning on Dataset and Prompt Collections
Ruiqi Zhong, Kristy Lee*, Zheng Zhang*, Dan Klein
EMNLP 2021, Findings

Are Larger Pretrained Language Models Uniformly Better? Comparing Performance at the Instance Level
Ruiqi Zhong, Dhruba Ghosh, Dan Klein, Jacob Steinhardt
ACL 2021, Findings
[paper] [slides] [code]

Approximating How Single Head Attention Learns
Charlie Snell*, Ruiqi Zhong*, Dan Klein, Jacob Steinhardt
arxiv, preprint
[paper] [slides] [code] [blog]

Semantic Evaluation for Text-to-SQL with Distilled Test Suites
Ruiqi Zhong, Tao Yu, Dan Klein
EMNLP 2020
[paper] [slides] [code]

Semantic Scaffolds for Pseudocode-to-Code Generation
Ruiqi Zhong, Mitchell Stern, Dan Klein
ACL 2020
[paper] [slides] [code] [video]

Detecting and Reducing Bias in a High Stakes Domain
Ruiqi Zhong, Yanda Chen, Desmond Patton, Charlotte Selous, Kathleen McKeown
EMNLP 2019
[paper] [poster] [code]

Fine-grained Sentiment Analysis with Faithful Attention
Ruiqi Zhong, Steven Shao, Kathleen McKeown
arxiv, preprint

Subspace Embedding and Linear Regression with Orlicz Norm
Alexandr Andoni, Chengyu Lin, Ying Sheng, Peilin Zhong, Ruiqi Zhong
ICML 2018
[paper] [video] [slides]

Detecting Gang-Involved Escalation on Social Media using Context
Serina Chang, Ruiqi Zhong, Ethan Adams, Fei-Tzin Lee, Siddharth Varia, Desmond Patton, William Frey, Chris Kedzie, Kathleen McKeown
EMNLP 2018
[paper] [code] [video]


  • I represented Columbia University in ACM-ICPC and Putnam Math Competition during my Sophormore year (though it seems I was the bottleneck of our teams).
  • I sleep at 11 p.m. and do not respond to later messages. Sometimes, however, I am actually awake; but I pretend not to see them anyways.
  • My favorite animation character and role model is Wenli Yang in Legend of Galactical Heroes.


  • Berkeley Graduate Student Fellowship
  • Theodore R. Bashkow Award (research), Academic Excellence Award (GPA)
  • CRA Outstanding Undergraduate Research Award Honorable Mention * 2 (2018, 2019)
  • William Lowell Putnam Math Competition top 5% * 3 (2015, 2016, 2018)