Ivie: Lightweight Anchored Explanations of Just-Generated Code
Litao Yan, Alyssa Hwang, Zhiyuan Wu, Andrew Head
摘要
Programming assistants have reshaped the experience of programming into one where programmers spend less time writing and more time critically examining code. In this paper, we explore how programming assistants can be extended to accelerate the inspection of generated code. We introduce an extension to the programming assistant called Ivie, or instantly visible in-situ explanations. When using Ivie, a programmer’s generated code is instantly accompanied by explanations positioned just adjacent to the code. Our design was optimized for low-cost invocation and dismissal. Explanations are compact and informative. They describe meaningful expressions, from individual variables to entire blocks of code. We present an implementation of Ivie that forks VS Code, applying a modern LLM for timely segmentation and explanation of generated code. In a lab study, we compared Ivie to a contemporary baseline tool for code understanding. Ivie improved understanding of generated code, and was received by programmers as a highly useful, low distraction complement to the programming assistant.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 15 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- A Large-Scale Survey on the Usability of AI Programming Assistants: Successes and Challenges 引用了 Grounded Copilot: How Programmers Interact with Code-Generating Models
- A Large-Scale Survey on the Usability of AI Programming Assistants: Successes and Challenges 引用了 Reading Between the Lines: Modeling User Behavior and Costs in AI-Assisted Programming
- Assistance or Disruption? Exploring and Evaluating the Design and Trade-offs of Proactive AI Programming Support 引用了 A Large-Scale Survey on the Usability of AI Programming Assistants: Successes and Challenges
- Assistance or Disruption? Exploring and Evaluating the Design and Trade-offs of Proactive AI Programming Support 引用了 Grounded Copilot: How Programmers Interact with Code-Generating Models
- Assistance or Disruption? Exploring and Evaluating the Design and Trade-offs of Proactive AI Programming Support 引用了 Reading Between the Lines: Modeling User Behavior and Costs in AI-Assisted Programming
- How CO2STLY Is CHI? The Carbon Footprint of Generative AI in HCI Research and What We Should Do About It 引用了 Understanding the LLM-ification of CHI: Unpacking the Impact of LLMs at CHI through a Systematic Literature Review
- How CO2STLY Is CHI? The Carbon Footprint of Generative AI in HCI Research and What We Should Do About It 引用了 Reading Between the Lines: Modeling User Behavior and Costs in AI-Assisted Programming
- Using an LLM to Help With Code Understanding 引用了 A Large-Scale Survey on the Usability of AI Programming Assistants: Successes and Challenges
- Using an LLM to Help With Code Understanding 引用了 Grounded Copilot: How Programmers Interact with Code-Generating Models
- Using an LLM to Help With Code Understanding 引用了 Reading Between the Lines: Modeling User Behavior and Costs in AI-Assisted Programming
- Need Help? Designing Proactive AI Assistants for Programming 引用了 A Large-Scale Survey on the Usability of AI Programming Assistants: Successes and Challenges
- Need Help? Designing Proactive AI Assistants for Programming 引用了 Grounded Copilot: How Programmers Interact with Code-Generating Models
- Need Help? Designing Proactive AI Assistants for Programming 引用了 Using an LLM to Help With Code Understanding
- Need Help? Designing Proactive AI Assistants for Programming 引用了 Reading Between the Lines: Modeling User Behavior and Costs in AI-Assisted Programming
- Reading Between the Lines: Modeling User Behavior and Costs in AI-Assisted Programming 引用了 Grounded Copilot: How Programmers Interact with Code-Generating Models
引用它的顶会 Paper15
- Understanding the LLM-ification of CHI: Unpacking the Impact of LLMs at CHI through a Systematic Literature ReviewRock Yuren Pang, Hope Schroeder, Kynnedy Simone Smith, Solon Barocas 等CHI 2025 · 51 次引用
- How CO2STLY Is CHI? The Carbon Footprint of Generative AI in HCI Research and What We Should Do About ItNanna Inie, Jeanette Falk, Raghavendra SelvanCHI 2025 · 33 次引用
- Assistance or Disruption? Exploring and Evaluating the Design and Trade-offs of Proactive AI Programming SupportKevin Pu, Daniel Lazaro, Ian Arawjo, Haijun Xia 等CHI 2025 · 31 次引用
- Contrastive Explanations That Anticipate Human Misconceptions Can Improve Human Decision-Making SkillsZana Buçinca, Siddharth Swaroop, Amanda E. Paluch, Finale Doshi-Velez 等CHI 2025 · 31 次引用
- Need Help? Designing Proactive AI Assistants for ProgrammingValerie Chen, Alan Zhu, Sebastian Zhao, Hussein Mozannar 等CHI 2025 · 23 次引用
它引用的 Paper11
- Grounded Copilot: How Programmers Interact with Code-Generating ModelsShraddha Barke, Michael B. James, Nadia PolikarpovaOOPSLA 2023 · 408 次引用
- CodeT5+: Open Code Large Language Models for Code Understanding and GenerationYue Wang, Hung Le, Akhilesh Gotmare, Nghi D. Q. Bui 等EMNLP 2023 · 339 次引用
- Using an LLM to Help With Code UnderstandingDaye Nam, Andrew Macvean, Vincent J. Hellendoorn, Bogdan Vasilescu 等ICSE 2024 · 264 次引用
- A Large-Scale Survey on the Usability of AI Programming Assistants: Successes and ChallengesJenny T. Liang, Chenyang Yang, Brad A. MyersICSE 2024 · 126 次引用
- Reading Between the Lines: Modeling User Behavior and Costs in AI-Assisted ProgrammingHussein Mozannar, Gagan Bansal, Adam Fourney, Eric HorvitzCHI 2024 · 88 次引用
相关 Paper
- Validating AI-Generated Code with Live ProgrammingKasra Ferdowsi, Ruanqianqian (Lisa) Huang, Michael B. James, Nadia Polikarpova 等CHI 2024 · 27 次引用
- An Exploratory Study of ML Sketches and Visual Code AssistantsLuís F. Gomes, Vincent J. Hellendoorn, Jonathan Aldrich, Rui AbreuICSE 2025 · 2 次引用
- Programmers Who Use Screen Readers in the Vibe Coding Era: Adaptation, Empowerment, and New Accessibility LandscapeNan Chen, Luna K. Qiu, Arran Zeyu Wang, Zilong Wang 等CHI 2026 · 2 次引用
- CodeAid: Evaluating a Classroom Deployment of an LLM-based Programming Assistant that Balances Student and Educator NeedsMajeed Kazemitabaar, Runlong Ye, Xiaoning Wang, Austin Zachary Henley 等CHI 2024 · 246 次引用
- How Do Analysts Understand and Verify AI-Assisted Data Analyses?Ken Gu, Ruoxi Shang, Tim Althoff, Chenglong Wang 等CHI 2024 · 36 次引用
