Assistance or Disruption? Exploring and Evaluating the Design and Trade-offs of Proactive AI Programming Support

Human-LLM CollaborationAI-Assisted Decision-Making & AutomationPrototyping & User TestingSoftware Engineers & DevelopersUI/UX DesignersAI/ML Researchers & Engineers

Research Background and Issues

  • Identified Problems or Challenges:

    • Current LLM (Large Language Model)-driven programming tools primarily rely on user-initiated interactions ("user-driven"), requiring users to actively provide input to receive assistance. This increases the guidance cost (e.g., prompt engineering and evaluating AI suggestions).
    • Existing proactive AI programming support (e.g., GitHub Copilot's auto-completion feature) struggles to accurately predict user intent. The generated code often requires extensive user validation, potentially leading to inefficiency or disruption.
    • Proactive AI may pose safety and controllability issues due to excessive automation, especially in scenarios lacking clear user control.
  • Significance:

    • As AI increasingly permeates various aspects of software development, understanding the impact of proactive AI on developers' workflows is critical for designing future programming tools.
    • Exploring how proactive AI can reduce user effort without causing excessive workflow disruptions is of broad significance for making programming more efficient and reliable.
  • Research Motivation and Related Work:

    • Leveraging models of human-computer collaboration, workflow interruption management, and programming help-seeking behaviors, the authors aim to uncover design trade-offs for proactive AI systems.
    • While existing research has explored interruptions and transparency in human-computer collaboration, the design of proactive AI programming support remains underexplored.

Solution

  • Methods or Solutions:

    • The authors propose the Codellaborator system, a proactive AI assistant that dynamically provides programming support by integrating priority-based heuristic methods (e.g., task boundary detection and implicit user signals). It also offers visible indicators of AI presence and interaction mechanisms at both local and global levels.
  • Innovations:

    • The authors distilled and applied three key design dimensions: timing of assistance, representation of the AI agent, and scope of interaction content, to explore the design space of proactive AI programming tools.
    • From a social transparency perspective, the system incorporates visual AI mapping and feedback (e.g., virtual cursors within the editor) to design AI presence.
    • It integrates different interaction scopes (local conversations and global session panels) to manage code interaction content more effectively.
  • Implementation Steps and Key Techniques:

    1. Proactive Support: Detect trigger points at specific moments, such as when users complete a code block, run a program, or add comments, to provide context-sensitive assistance and reduce user effort.
    2. AI Presence: Use visual means such as virtual cursors and progress indicators to help users intuitively perceive AI actions and focus areas.
    3. Multi-level Interaction Scope: Provide "local conversation threads" to help users discuss issues at specific code locations, while global session records assist users in tracking task context.
    4. Three system versions (PromptOnly, CodeGhost, Codellaborator) were designed for comparative evaluation to analyze the relationship between proactivity and user experience.

Research Outcomes

  • Specific Findings:

    • Codellaborator significantly mitigated workflow interruptions caused by proactive interventions, enhanced users' understanding of AI behavior and processes, and reduced the time required for users to express their intent.
    • In terms of task completion efficiency, proactive AI systems (CodeGhost and Codellaborator) outperformed the user-driven PromptOnly version.
  • Comparative Advantages:

    • Advantages over Existing Solutions:
      • Proactive AI reduced the cost of prompt formulation and intent clarification, improving the efficiency of user-AI interaction.
      • By visualizing the presence of the AI agent (e.g., cursors and task categorization), the system fostered a more collaborative "programming partner" relationship rather than functioning as a mere tool.
    • Comparison Across Research Conditions:
      • Codellaborator further reduced user-perceived confusion and disruptions caused by AI operations compared to CodeGhost, thanks to its enhanced AI presence transparency.
  • Experiments and Evaluation Results:

    • Users actively engaged with and accepted AI suggestions in 57% of proactive trigger points.
    • The interruption frequency under the CodeGhost condition was higher than with Codellaborator, which reduced user annoyance by increasing AI presence transparency.
    • Users' trust in and sense of control over the AI varied across conditions. Users were more receptive to proactive AI during design and debugging phases, while preferring manual control during implementation stages.
  • Limitations and Future Directions:

    • Limitations:
      • The system was limited to single-file Python tasks and did not support large-scale, multi-file real-world engineering scenarios.
      • Proactive AI interventions relied on simple heuristic rules, and some trigger points (e.g., interventions during user inactivity) failed to effectively reduce cognitive load.
      • The short-term interactions in the experimental environment did not capture the full impact of AI support on long-term code maintenance or team development.
    • Future Directions:
      • Develop more flexible, personalized AI systems that dynamically adjust the level of proactive intervention based on user preferences and task stages within the workflow.
      • Investigate the potential of proactive AI to guide design processes and code comprehension in complex software development scenarios involving multiple languages and files.
      • Address core user concerns about "code ownership" and "code maintainability" (e.g., transparency of AI-generated code).

Quick Actions

Share

Share this page

ios_share

https://hci.top/en/papers/chi/189562/2025

AdRecommended

Learn AI Coding at CodeNow

open_in_newOpen DOI Link
DOI: https://dl.acm.org/doi/10.1145/3706598.3713357
At a Glance

Paper Snapshot

fact_check
dataset
Source
CHI
calendar_month
Year
2025
emoji_events
Award
No award tagged
group
Authors
7 authors
sell
Subtopics
Human-LLM Collaboration, AI-Assisted Decision-Making & Automation, Prototyping & User Testing
work
Professions
Software Engineers & Developers, UI/UX Designers, AI/ML Researchers & Engineers
article
Content Status
Full text indexed
hub
Related Papers
10 related papers