arXiv:2610.22661cs.LGOct 2026

Manuscript Offprint

arXiv:2610.22661

Edit Discovery in Human-AI Interactions

Alireza Mirrokni, Shayan Kiyani, George Pappas, Hamed Hassani

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Human–AI interactions are becoming a rich source of data for improving AI systems: while many model responses are already satisfactory, others expose failures that could become valuable supervision if identified and corrected. We study this setting through the notion of an editor: a more capable evaluation process that can inspect a response and either confirm it or modify it, but whose invocation is costly. The editor may be a human expert, a stronger AI system, or the same model equipped with additional computation, context, tools, or information. The key challenge is to decide which interactions to send to the editor before knowing whether an edit will actually be made, since invoking the editor itself consumes limited resources such as expert time, inference cost, latency, or tool-use overhead. We formulate this problem as Edit Discovery Optimization (EDO), which seeks to minimize edit opportunities missed among skipped interactions while controlling unnecessary confirmations and respecting an editor-cost budget. We characterize the population-optimal policy and show that it takes the form of a cost-adjusted threshold on the posterior probability of an edit. Building on this structure, we develop EDIT (Edit Discovery via Iterative Thresholding), an online algorithm for the partial-feedback setting in which edit labels are revealed only for selected interactions. EDIT combines an adaptive edit score, a confirmation-control threshold, and a cost-aware selection rule; it satisfies the editor budget at every round and controls the average confirmation rate up to a vanishing finite-horizon term, without distributional assumptions on the interaction stream. Across four reasoning and factual question-answering benchmarks, EDIT achieves a better trade-off between editor cost, Type-I error, and Type-II error than direct LLM-based batch selection. 1^{1}

1 Introduction

Data has been instrumental to the progress in modern artificial intelligence. Until recently, this largely meant collecting human- or naturally-generated content, including text, code, images, and other forms of information. However, the most readily available sources of such data have become increasingly saturated: much of the public, high-quality content has already been used, while obtaining new data of comparable quality is becoming more difficult. This calls for a rethinking of what should count as useful data for the next generation of AI systems.

One emerging source is the rapidly growing stream of human–AI interaction data, which we refer to as HAI data. In many settings, users now interact with AI systems that answer questions, handle requests, write code, summarize documents, and provide customer support. This source of data is fundamentally different from traditional supervised data. The responses are generated by the deployed system itself, and therefore are not uniformly useful as new supervision: many are already satisfactory or reflect capabilities the system has already acquired, while others expose mistakes, ambiguity, incompleteness, or misalignment with user intent. If these failure cases can be identified and corrected, however, they can be transformed from raw interaction logs into valuable supervision for improving future systems.

1^{1}Code is available at https://github.com/alirezamirrokni/Edit-Discovery-in-HAI-Interactions.

To formalize this correction process, we assume access to an editor: a more capable evaluation process that, when invoked, can inspect the original interaction and either confirm the response or modify it. The editor may be a human expert, a stronger but more expensive AI system, or even the same model given additional computation, context, tools, or access to external information. Interactions on which the editor would make a modification are precisely the cases that can yield corrective supervision.

The difficulty is deciding which interactions are worth sending to the editor. Consider a large e-commerce platform such as Amazon, where customer inquiries may increasingly be handled through AI-generated responses. Such a platform could generate tens of thousands of customer–AI interactions each day. Sending every interaction to the editor would maximize the opportunity to discover useful corrections, but could require substantial resources: human experts consume time and specialized effort, stronger AI systems incur additional inference cost, and enhanced evaluation pipelines may introduce latency or tool-use overhead. At the other extreme, invoking the editor too sparingly risks missing precisely the interactions that would provide the most valuable corrective signal. The challenge is therefore to allocate limited editorial resources toward interactions that are most likely to benefit from correction, while avoiding unnecessary editor invocations on responses that would simply be confirmed. This motivates the central question of this paper:

Can we selectively identify the interactions on which the editor would make an edit, while substantially reducing the cost of invoking the editor?

We answer this question in two steps. First, we formulate Edit Discovery Optimization (EDO), a constrained selection problem that formalizes the trade-off between discovering edit opportunities, avoiding unnecessary confirmations, and respecting the available editor budget. We characterize the population-optimal solution and show that it takes the form of a cost-adjusted threshold on the posterior probability of an edit. Building on this structure, we then develop EDIT (Edit Discovery via Iterative Thresholding), a practical online algorithm for the setting in which edit outcomes are observed only for interactions that are actually sent to the editor. This partial-feedback setting creates an additional algorithmic challenge: edit labels are revealed only for selected interactions, yet the discovery errors of interest depend on both selected and skipped interactions, so in particular the policy never observes online the skipped labels that determine missed edits. The policy must therefore learn where edits are likely to occur from selectively revealed feedback while regulating its selections without access to the full set of labels. EDIT addresses this by combining an adaptive edit score with a dynamically updated confirmation-control threshold and a cost-aware selection rule.

Contributions. Our main contributions are as follows:

  • We introduce Edit Discovery Optimization (EDO), a formal framework for selecting HAI interactions under limited editor resources. The formulation distinguishes between confirmations among selected interactions and missed edits among skipped interactions, while explicitly accounting for interaction-specific editor costs.

  • We characterize the optimal population policy and show that it selects an interaction when its posterior edit probability exceeds a cost-adjusted threshold. This result identifies the posterior probability of editor modification as the appropriate edit score and clarifies how editor cost should affect the decision.

• Building on this characterization, we develop EDIT, an online selection method that combines an edit score, an adaptive confirmation-control threshold, and a batchwise cost multiplier. We prove that EDIT satisfies the editor-budget constraint at every round and controls the average per-round Type-I error up to a finite-horizon term that vanishes with the number of rounds.

• We evaluate EDIT on four reasoning and factual question-answering benchmarks using Llama-3.3-70B-Instruct, with additional experiments using Qwen3-32B, response-length editor costs, and structured

Figure

Figure 1: Overview of EDIT. Each HAI interaction Zt=(Xt,Y~t)Z_t = (X_t, \widetilde{Y}_t) receives an estimated edit score η~θt(Zt)\widetilde{\eta}_{\theta_t}(Z_t). Based on this score, the policy πt\pi_t determines whether the interaction is sent to the editor or skipped. Selected responses are either confirmed or edited, yielding validated data and feedback for updating the score and policy online.

distribution shifts. The results show that informative edit scores, particularly the learned representation score, reduce missed edits relative to direct LLM-based batch selection while maintaining reliable Type-I behavior and feasible editor cost.

References (36)