Edit Discovery in Human-AI Interactions

Alireza Mirrokni, Shayan Kiyani, George Pappas, Hamed HassaniarXiv 2026 · arXiv

TL;DR

The paper introduces EDIT (Edit Discovery via Iterative Thresholding), an online algorithm designed to selectively route AI-generated responses to costly human or expert "editors." By combining adaptive scoring with a budget-aware thresholding mechanism, EDIT maximizes the discovery of valuable corrective data while strictly adhering to resource constraints and controlling the rate of unnecessary editor invocations.

What Problem Does This Paper Address?

As high-quality, human-generated data becomes increasingly scarce, researchers are turning to Human-AI (HAI) interaction logs as a new frontier for model supervision. However, HAI data is a "needle in a haystack" problem: most AI responses are already satisfactory, but the truly valuable data points are the failure cases—interactions where the model made a mistake that an expert could correct.

The challenge lies in selective supervision. Invoking a "strong editor" (whether a human expert, a more powerful LLM, or a tool-augmented model) is expensive in terms of time, money, and latency. We need a way to predict which interactions are likely to result in an edit before we pay the cost of the editor. Furthermore, in a real-world deployment, we only receive feedback on the items we actually select (partial feedback), making it difficult to learn a selection policy without missing too many important errors.

Methods

The authors first formalize the problem as Edit Discovery Optimization (EDO). They prove that the mathematically optimal selection policy follows a specific structure: an interaction should be selected if its posterior probability of needing an edit exceeds a threshold adjusted by its specific cost.

Building on this, they propose the EDIT algorithm, which operates in an online, batch-wise fashion:

  1. Edit Score ($\tilde{\eta}$): Each interaction is assigned a score representing the likelihood it needs an edit. The authors tested three versions: a random baseline, a prompted LLM score, and a representation-based score (EDIT-REP) that uses a lightweight linear probe on top of frozen text embeddings.
  2. Adaptive Thresholding ($\alpha_t$): The algorithm maintains a global threshold that automatically adjusts based on past performance. If the editor is confirming too many responses (Type-I error), the threshold rises to become more selective.
  3. Cost-Aware Selection ($\beta_t$): For every batch of interactions, the algorithm calculates a cost multiplier to ensure the total editor invocation cost stays within the user-defined budget.
  4. Online Feedback Loop: Once the editor provides feedback on selected items, the algorithm updates the scoring model and the threshold for the next batch.
Figure 1: Overview of EDIT. Each HAI interaction Zt = (Xt, eYt) receives an estimated edit score eηθt(Zt). Based on this score, the policy π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.

Datasets

The authors evaluated EDIT across four diverse reasoning and factual benchmarks, using Llama-3.3-70B-Instruct and Qwen3-32B as the primary models being edited:

  • MATH-500: A subset of the MATH dataset focused on multi-step mathematical reasoning.
  • MMLU-Pro: A challenging, ten-option multi-domain reasoning benchmark.
  • PopQA: A factual question-answering dataset focusing on "long-tail" (less common) entities.
  • GPQA: A graduate-level science benchmark designed to be difficult even for expert humans.

They used benchmark correctness as a proxy for the "edit" label and validated this proxy through a 200-sample human audit, finding 96.5% agreement between the benchmark labels and human judgment.

Key Insights and Ideas

  • Separation of Concerns: A key "aha" moment is that selection should not be a monolithic LLM prompt. By separating the ranking (the edit score) from the selectivity (the adaptive threshold) and the budgeting (the cost multiplier), the system becomes much more robust and controllable.
  • Lightweight is Potent: Surprisingly, a tiny 22.7M parameter encoder (MiniLM) used for the representation score (EDIT-REP) outperformed a 70B parameter model trying to perform batch selection directly. This suggests that the "signals" of a failing model are often encoded in the latent space in ways that simple prompting might miss.
  • Distribution-Free Guarantees: The EDIT algorithm comes with theoretical guarantees that it will satisfy the budget and control the "false alarm" rate even if the data stream is non-stationary (i.e., the topics or difficulty change over time).

Key Results

  • Superior Trade-offs: Across all benchmarks, EDIT-REP achieved a significantly better balance between editor cost and discovery rate than the baseline "LLM-Select" (asking an LLM to pick a batch).
  • Reduced Missed Edits: EDIT-REP consistently lowered the Type-II error (the rate of editable interactions that were accidentally skipped) compared to other methods. For example, on MMLU-Pro, EDIT-REP discovered nearly 3x as many editable interactions as the LLM-Select baseline for a similar cost.
  • Robustness to Shift: In experiments where the data distribution shifted (e.g., moving from STEM topics to Law), the adaptive threshold in EDIT successfully maintained the desired confirmation rate, whereas static baselines fluctuated wildly.

Limitations and Future Work

  • Proxy Labels: While validated by a small audit, the study relies on benchmark correctness as a proxy for "edit need." Real-world human editing is often more nuanced, involving stylistic preferences or partial corrections.
  • Downstream Impact: The paper focuses on discovering the edits. It does not explicitly measure how much the model improves when fine-tuned on the discovered data, though the authors note this is the logical next step.
  • Complex Costs: The current model assumes costs are known at selection time. Future work could explore settings where the cost of an edit is itself an unknown variable that needs to be predicted.

Summary updated

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.
BibTeX
@misc{mirrokni2026edit,
  author = {Alireza Mirrokni and Shayan Kiyani and George Pappas and Hamed Hassani},
  title = {{Edit Discovery in Human-AI Interactions}},
  year = {2026},
  eprint = {2610.22661},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.22661},
}
Figure