mlsanityData to 14 Oct 2026

Optimizing LLM Code Suggestions: Feedback-Driven Timing with Lightweight State Bounds

arXiv 2511.18842 ↗First posted 24 Nov 2025cs.SE cs.AI cs.HCcited by 2

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) have transformed code auto-completion by generating context-aware suggestions. Yet, deciding when to present these suggestions remains underexplored, often leading to interruptions or wasted inference calls. We propose an adaptive timing mechanism that dynamically adjusts the delay before offering a suggestion based on real-time developer feedback. Our suggested method combines a logistic transform of recent acceptance rates with a bounded delay range, anchored by a high-level binary prediction of the developer's cognitive state. In a two-month deployment with professional developers, our system improved suggestion acceptance from 4.9% with no delay to 15.4% with static delays, and to 18.6% with adaptive timing-while reducing blind rejections (rejections without being read) from 8.3% to 0.36%. Together, these improvements increase acceptance and substantially reduce wasted inference calls by 75%, making LLM-based code assistants more efficient and cost-effective in practice.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 20 of its 23 references that are in the map. First posted on arXiv 24 Nov 2025.

Builds on

20 of 23 references.

References · 20

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  4. 2020Learning to summarize from human feedbackcited by 2,588
  5. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  6. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  7. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
  8. 2023StarCoder: may the source be with you!cited by 799
  9. 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 551
  10. 2023The Impact of AI on Developer Productivity: Evidence from GitHub Copilotcited by 274
  11. 2022Grounded Copilot: How Programmers Interact with Code-Generating Modelscited by 218
  12. 2023CodeChain: Towards Modular Code Generation Through Chain of Self-revisions with Representative Sub-modulescited by 58
8 more
  1. 2025Assistance or Disruption? Exploring and Evaluating the Design and Trade-offs of Proactive AI Programming Supportcited by 34
  2. 2023When to Show a Suggestion? Integrating Human Feedback in AI-Assisted Programmingcited by 25
  3. 2023Domain Adaptive Code Completion via Language Models and Decoupled Domain Databasescited by 19
  4. 2024ComplexCodeEval: A Benchmark for Evaluating Large Code Models on More Complex Codecited by 19
  5. 2024When Neural Code Completion Models Size up the Situation: Attaining Cheaper and Faster Completion through Dynamic Model Inferencecited by 10
  6. 2024A Systematic Evaluation of Large Code Models in API Suggestion: When, Which, and Howcited by 7
  7. 2024A Transformer-Based Approach for Smart Invocation of Automatic Code Completioncited by 5
  8. 2025Understanding User Mental Models in AI-Driven Code Completion Tools: Insights from an Elicitation Studycited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.