Principled Fine-tuning of LLMs from User-Edits: A Medley of Preference, Supervision, and Reward

Dipendra Misra, Aldo Pacchiano, Ta-Chung Chi, Ge Gao

TL;DR

This paper introduces a principled framework for fine-tuning Large Language Models (LLMs) using a "medley" of feedback derived from natural user edits. By treating a single user edit as a simultaneous source of supervised labels, preference pairs, and reinforcement learning rewards, the authors demonstrate that ensembling these approaches leads to more robust personalization and lower "edit costs" than any single method alone.

The Problem: Moving Beyond Traditional RLHF

Post-training LLMs typically relies on Reinforcement Learning from Human Feedback (RLHF), which requires expensive, dedicated annotators to rank model outputs. However, in real-world applications like AI writing assistants or coding agents, users are already providing high-quality feedback for free: they edit the model's response to fit their needs.

The challenge is that user edits are "natural" and messy. A user might only fix a small part of a response (weak feedback) or overhaul the entire thing (strong feedback). Previous research usually picks one way to learn from this—either imitation learning (Supervised Fine-Tuning, or SFT) or preference learning (Direct Preference Optimization, or DPO). This paper asks: Is there a theoretically sound way to use all the information embedded in an edit, and how do these different learning signals trade off against each other?

Methods: A Medley of Feedback

Overview of the user-edit learning framework

The authors break down a user edit into three distinct feedback channels:

  1. Supervised Feedback (SFT): Treating the edited response as a "gold" target for the model to imitate.
  2. Preference Feedback (DPO): Treating the edited response as "preferred" over the original model response.
  3. Reward/Cost Feedback (RL): Using the edit distance (how much the user changed) as a cost signal to minimize via reinforcement learning.
Algorithm for online learning and evaluation from user edits

The paper provides a theoretical analysis (regret bounds) for each method. To get the best of all worlds, they propose two ensembling strategies to minimize the cumulative edit cost during the online learning phase:

  • EarlyEnsemble: A multi-objective approach that optimizes a weighted combination of SFT and DPO losses during the offline training phase.
  • LateEnsemble: A "bandit" style approach. The system maintains a library of policies trained via different methods and uses an Upper Confidence Bound (UCB) algorithm during deployment to select the best policy for a specific user based on the actual edit costs observed in real-time.

Datasets and Simulation

The study utilizes the Prelude framework across two main tasks:

  • Email Writing: Generating emails based on short descriptions.
  • Summarization: Condensing articles from four distinct domains (PG19, Arxiv, BillSum, and Elsevier).

To simulate users, they used Qwen-3 32B and Llama-3.3 70B models. They categorized these simulated users as "Strong" (consistently editing toward a latent preference) or "Weak" (only editing a subset of issues at a time), allowing them to test how algorithms handle varying feedback quality.

Key Insights

  • The Contraction Property: The authors prove that if a user follows a "balance equation" (editing toward what they actually want), iteratively fine-tuning on those edits will mathematically converge toward the user's optimal policy.
  • Feedback Trade-offs:
    • SFT is highly efficient if the user is "Strong" and provides near-perfect edits.
  • DPO is more robust when the user is "Weak" or the data coverage is poor, as it only needs to know that the edit is better than the original, not that it is perfect.
  • Robustness through Bandits: The LateEnsemble approach is particularly powerful because it doesn't assume which feedback type is best. By using a bandit algorithm, the model "personalizes the personalization," picking the learning strategy that results in the fewest manual edits for that specific user.

Key Results

  • Ensembling Wins: In the summarization task, EarlyEnsemble significantly outperformed standalone SFT or DPO.
  • Worst-Case Reliability: The LateEnsemble (UCB) approach achieved the lowest "Max SubOpt" (a measure of worst-case performance gap). This suggests that ensembling is the safest bet when you don't know the quality of your user's edits beforehand.
  • Cross-Model Transfer: The methods remained effective even when the "user" model was changed at test time (e.g., training on Qwen-simulated edits but testing on a Llama-3.3 user), proving the approach isn't just over-fitting to a specific LLM's quirks.

Limitations and Future Work

  • The "Balance Equation" Assumption: The theoretical proofs rely on the assumption that user edits are somewhat consistent and move toward an optimal response. Real humans can be fickle, tired, or inconsistent, which might break these bounds.
  • Simulated vs. Human Users: While LLM-based users allow for reproducible science, the authors acknowledge that a critical next step is validating these "medley" approaches with actual human-in-the-loop studies.
  • Computational Cost: Training multiple policies for a LateEnsemble is more resource-intensive than training a single model, which might be a hurdle for smaller-scale deployments.

Summary updated

BibTeX
@inproceedings{misra2025principled,
  author = {Dipendra Misra and Aldo Pacchiano and Ta-Chung Chi and Ge Gao},
  title = {{Principled Fine-tuning of LLMs from User-Edits: A Medley of Preference, Supervision, and Reward}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=Em9QmNobh0},
}
Figure