When to Show a Suggestion? Integrating Human Feedback in AI-Assisted Programming
On the map: LLM alignment / RLHF / preference optimisation → Process reward models for reasoning
Abstract (arXiv)
AI powered code-recommendation systems, such as Copilot and CodeWhisperer, provide code suggestions inside a programmer's environment (e.g., an IDE) with the aim of improving productivity. We pursue mechanisms for leveraging signals about programmers' acceptance and rejection of code suggestions to guide recommendations. We harness data drawn from interactions with GitHub Copilot, a system used by millions of programmers, to develop interventions that can save time for programmers. We introduce a utility-theoretic framework to drive decisions about suggestions to display versus withhold. The approach, conditional suggestion display from human feedback (CDHF), relies on a cascade of models that provide the likelihood that recommended code will be accepted. These likelihoods are used to selectively hide suggestions, reducing both latency and programmer verification time. Using data from 535 programmers, we perform a retrospective evaluation of CDHF and show that we can avoid displaying a significant fraction of suggestions that would have been rejected. We further demonstrate the importance of incorporating the programmer's latent unobserved state in decisions about when to display suggestions through an ablation study. Finally, we showcase how using suggestion acceptance as a reward signal for guiding the display of suggestions can lead to suggestions of reduced quality, indicating an unexpected pitfall.
Key facts. Cited by 25 papers in the map (data through 14 Oct 2026). Placed in Process reward models for reasoning, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 28 of its 54 references that are in the map. First posted on arXiv 8 Jun 2023.
Builds on
28 of 54 references.
References · 28
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,166
- 2017Deep reinforcement learning from human preferencescited by 3,912
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
- 2019Fine-Tuning Language Models from Human Preferencescited by 2,150
- 2022Competition-Level Code Generation with AlphaCodecited by 1,462
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
- 2021Measuring Coding Challenge Competence With APPScited by 902
- 2020Consistent Estimators for Learning to Defer to an Expertcited by 271
16 more
- 2017Predict Responsibly: Improving Fairness and Accuracy by Learning to Defercited by 233
- 2022Grounded Copilot: How Programmers Interact with Code-Generating Modelscited by 218
- 2017Interactive Learning from Policy-Dependent Human Feedbackcited by 158
- 2022GitHub Copilot AI pair programmer: Asset or Liability?cited by 152
- 2019The Algorithmic Automation Problem: Prediction, Triage, and Human Effortcited by 101
- 2022Productivity Assessment of Neural Code Completioncited by 98
- 2022Reading Between the Lines: Modeling User Behavior and Costs in AI-Assisted Programmingcited by 91
- 2021Differentiable Learning Under Triagecited by 76
- 2023Who Should Predict? Exact Algorithms For Learning to Defer to Humanscited by 70
- 2022Out of the BLEU: how should we assess quality of the Code Generation models?cited by 65
- 2022Sample Efficient Learning of Predictors that Complement Humanscited by 46
- 2021Perfection Not Required? Human-AI Partnerships in Code Translationcited by 42
- 2022What is it like to program with artificial intelligence?cited by 39
- 2021Teaching Humans When To Defer to a Classifier via Exemplarscited by 29
- 2023Learning Personalized Decision Support Policiescited by 14
- 2013Attention-Sensitive Alertingcited by 4
Built on by
Citing papers per year: 2023: 4; 2024: 5; 2025: 10; 2026: 6.
25 papers.
Sort:
By area:
- 2024"I'm Not Sure, But...": Examining the Impact of Large Language Models' Uncertainty Expression on User Reliance and Trustcited by 67
- 2024Using AI-Based Coding Assistants in Practice: State of Affairs, Perceptions, and Ways Forwardcited by 45
- 2025Navigating Rifts in Human-LLM Grounding: Study and Benchmarkcited by 29
- 2023Flows: Building Blocks of Reasoning and Collaborating AIcited by 25
- 2023The Rise of the AI Co-Pilot: Lessons for Design from Aviation and Beyondcited by 15
- 2024When Neural Code Completion Models Size up the Situation: Attaining Cheaper and Faster Completion through Dynamic Model Inferencecited by 10
- 2024Utilizing Human Behavior Modeling to Manipulate Explanations in AI-Assisted Decision Making: The Good, the Bad, and the Scarycited by 10
- 2023Pitfalls in Language Models for Code Intelligence: A Taxonomy and Surveycited by 9
- 2025Explaining and Improving Information Complementarities in Multi-Agent Decision-makingcited by 6
- 2025Human-AI Experience in Integrated Development Environments: A Systematic Literature Reviewcited by 5
- 2023When Are Two Lists Better than One?: Benefits and Harms in Joint Decision-makingcited by 4
- 2025"My productivity is boosted, but ..." Demystifying Users' Perception on AI Coding Assistantscited by 4
13 more
- 2025Modeling and Optimizing User Preferences in AI Copilots: A Comprehensive Survey and Taxonomycited by 3
- 2026Multi-Round Human-AI Collaboration with User-Specified Requirementscited by 3
- 2026Agentic Coding Needs Proactivity, Not Just Autonomycited by 3
- 2024A Dynamic Model of Performative Human-ML Collaboration: Theory and Empirical Evidencecited by 2
- 2025CCCI: Code Completion with Contextual Information for Complex Data Transfer Tasks Using Large Language Modelscited by 2
- 2025Optimizing LLM Code Suggestions: Feedback-Driven Timing with Lightweight State Boundscited by 2
- 2025Pre-Filtering Code Suggestions using Developer Behavioral Telemetry to Optimize LLM-Assisted Programmingcited by 2
- 2026ComplLLM: Fine-tuning LLMs to Discover Complementary Signals for Decision-makingcited by 2
- 2025The Role of GitHub Copilot on Software Development: A Perspective on Productivity, Security, Best Practices and Future Directionscited by 1
- 2025Toolsuite for Implementing Multiagent Systems Based on Communication Protocolscited by 0
- 2026A Benchmark and Framework for Evaluating Next Action Predictions in Spreadsheetscited by 0
- 2026Propose to Learn, Learn to Propose: Evaluability-Aware Assistance under Bounded Rationalitycited by 0
- 2026ParallelPilot: Supporting Coordination and Monitoring in Parallel AI Codingcited by 0
- 2026ParallelPilot: Supporting Coordination and Monitoring in Parallel AI Coding27 Sep 2026
- 2026Propose to Learn, Learn to Propose: Evaluability-Aware Assistance under Bounded Rationality2 Sep 2026
- 2026A Benchmark and Framework for Evaluating Next Action Predictions in Spreadsheets11 Jun 2026
- 2026Agentic Coding Needs Proactivity, Not Just Autonomy7 May 2026
- 2026ComplLLM: Fine-tuning LLMs to Discover Complementary Signals for Decision-making23 Feb 2026
- 2026Multi-Round Human-AI Collaboration with User-Specified Requirements19 Feb 2026
- 2025Pre-Filtering Code Suggestions using Developer Behavioral Telemetry to Optimize LLM-Assisted Programming24 Nov 2025
- 2025Optimizing LLM Code Suggestions: Feedback-Driven Timing with Lightweight State Bounds24 Nov 2025
- 2025"My productivity is boosted, but ..." Demystifying Users' Perception on AI Coding Assistants17 Aug 2025
- 2025Toolsuite for Implementing Multiagent Systems Based on Communication Protocols14 Jul 2025
- 2025Modeling and Optimizing User Preferences in AI Copilots: A Comprehensive Survey and Taxonomy28 May 2025
- 2025CCCI: Code Completion with Contextual Information for Complex Data Transfer Tasks Using Large Language Models29 Mar 2025
13 more
- 2025Navigating Rifts in Human-LLM Grounding: Study and Benchmark18 Mar 2025
- 2025Human-AI Experience in Integrated Development Environments: A Systematic Literature Review8 Mar 2025
- 2025The Role of GitHub Copilot on Software Development: A Perspective on Productivity, Security, Best Practices and Future Directions18 Feb 2025
- 2025Explaining and Improving Information Complementarities in Multi-Agent Decision-making10 Feb 2025
- 2024Utilizing Human Behavior Modeling to Manipulate Explanations in AI-Assisted Decision Making: The Good, the Bad, and the Scary2 Nov 2024
- 2024Using AI-Based Coding Assistants in Practice: State of Affairs, Perceptions, and Ways Forward11 Jun 2024
- 2024A Dynamic Model of Performative Human-ML Collaboration: Theory and Empirical Evidence22 May 2024
- 2024"I'm Not Sure, But...": Examining the Impact of Large Language Models' Uncertainty Expression on User Reliance and Trust1 May 2024
- 2024When Neural Code Completion Models Size up the Situation: Attaining Cheaper and Faster Completion through Dynamic Model Inference18 Jan 2024
- 2023The Rise of the AI Co-Pilot: Lessons for Design from Aviation and Beyond16 Nov 2023
- 2023Pitfalls in Language Models for Code Intelligence: A Taxonomy and Survey27 Oct 2023
- 2023When Are Two Lists Better than One?: Benefits and Harms in Joint Decision-making22 Aug 2023
- 2023Flows: Building Blocks of Reasoning and Collaborating AI2 Aug 2023
- 2026Agentic Coding Needs Proactivity, Not Just Autonomycited by 3
- 2026Agentic Coding Needs Proactivity, Not Just Autonomy7 May 2026
- 2024"I'm Not Sure, But...": Examining the Impact of Large Language Models' Uncertainty Expression on User Reliance and Trustcited by 67
- 2024Using AI-Based Coding Assistants in Practice: State of Affairs, Perceptions, and Ways Forwardcited by 45
- 2025Navigating Rifts in Human-LLM Grounding: Study and Benchmarkcited by 29
- 2023Flows: Building Blocks of Reasoning and Collaborating AIcited by 25
- 2023The Rise of the AI Co-Pilot: Lessons for Design from Aviation and Beyondcited by 15
- 2024When Neural Code Completion Models Size up the Situation: Attaining Cheaper and Faster Completion through Dynamic Model Inferencecited by 10
- 2024Utilizing Human Behavior Modeling to Manipulate Explanations in AI-Assisted Decision Making: The Good, the Bad, and the Scarycited by 10
- 2023Pitfalls in Language Models for Code Intelligence: A Taxonomy and Surveycited by 9
- 2025Explaining and Improving Information Complementarities in Multi-Agent Decision-makingcited by 6
- 2025Human-AI Experience in Integrated Development Environments: A Systematic Literature Reviewcited by 5
- 2023When Are Two Lists Better than One?: Benefits and Harms in Joint Decision-makingcited by 4
- 2025"My productivity is boosted, but ..." Demystifying Users' Perception on AI Coding Assistantscited by 4
12 most cited of 23 All 23 (JSON)
- 2026ParallelPilot: Supporting Coordination and Monitoring in Parallel AI Coding27 Sep 2026
- 2026Propose to Learn, Learn to Propose: Evaluability-Aware Assistance under Bounded Rationality2 Sep 2026
- 2026A Benchmark and Framework for Evaluating Next Action Predictions in Spreadsheets11 Jun 2026
- 2026ComplLLM: Fine-tuning LLMs to Discover Complementary Signals for Decision-making23 Feb 2026
- 2026Multi-Round Human-AI Collaboration with User-Specified Requirements19 Feb 2026
- 2025Pre-Filtering Code Suggestions using Developer Behavioral Telemetry to Optimize LLM-Assisted Programming24 Nov 2025
- 2025Optimizing LLM Code Suggestions: Feedback-Driven Timing with Lightweight State Bounds24 Nov 2025
- 2025"My productivity is boosted, but ..." Demystifying Users' Perception on AI Coding Assistants17 Aug 2025
- 2025Toolsuite for Implementing Multiagent Systems Based on Communication Protocols14 Jul 2025
- 2025CCCI: Code Completion with Contextual Information for Complex Data Transfer Tasks Using Large Language Models29 Mar 2025
- 2025Navigating Rifts in Human-LLM Grounding: Study and Benchmark18 Mar 2025
- 2025Human-AI Experience in Integrated Development Environments: A Systematic Literature Review8 Mar 2025
12 newest of 23 All 23 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026Human-AI Synergy in Agentic Code Review
- 2026From Code Review to Code Critique: Intent, Drift, and Spotlight for AI-Generated Diffs at Scale
- 2026Rethinking Code Review in the Age of AI: A Vision for Agentic Code Review
- 2025Beyond Autocomplete: Designing CopilotLens Towards Transparent and Explainable AI Coding Agents
- 2026From Human-Centric to Agentic Code Review: The Impact of Different Generations of Generative AI Technology on Review Quality
- 2026Predicting Acceptance and Review Effort in Human and Agent Pull Requests
- 2026These Aren't the Reviews You're Looking For How Humans Review AI-Generated Pull Requests
- 2026"Go Home Copilot, You're Drunk": Understanding Developer Responses to Agent-Generated Code Review Comments