CS547 Human-Computer Interaction Seminar   (Seminar on People, Computers, and Design)

Fridays 11:30am-12:30pm PT · Gates B3 · Open to the public
Previous | Next
Tianyi Zhang
Purdue
Going Beyond Linear Conversation: Enhancing AI-assisted Programming via Mutual Grounding
October 24, 2025

Large language models (LLMs) have transformed the way people write code. Yet current interactions with LLMs in programming largely remain linear, where programmers issue prompts, the LLM passively produces responses, and programmers continue with follow-up prompts in a back-and-forth cycle. Inspired by the grounding theory in communication where humans iteratively establish a mutual understanding via repetition, clarification, and emphasis, we explore how similar principles can enrich human-LLM interaction. In this talk, I will present methods that enable the LLM to explain its generated code and ask clarification question and also enable humans to emphasize important instructions via attention steering. I will also demonstrate how these methods improve programming productivity, foster trust, and enhance the overall programming experience across multiple settings.


Tianyi Zhang is a Tenure-Track Assistant Professor of Computer Science at Purdue University. He leads the Human-Centered Software Systems Lab, where his group develops intelligent systems that synergize human expertise with machine intelligence, with a particular focus on improving programming productivity and the robustness and safety of modern software. His work has been recognized with multiple NSF awards (including an NSF Career Award), an Amazon Research Award, and a Best Paper Honorable Mention Award from CHI 2022. His recent work on ChatGPT's capability to answer programming questions has been featured in multiple media outlets, e.g., ZDNet, PC Magazine, The Register, CNBC, etc.