ReSURE: Regularizing Supervision Unreliability for Multi-turn Dialogue Fine-tuning

Yiming Du, Yifan Xiang, Bin Liang, Dahua Lin, Kam-Fai Wong, Fei Tan

TL;DR

Fine-tuning large language models for multi-turn dialogue is tricky because low-quality training data can lead to errors that snowball. This paper introduces ReSURE, a novel method that dynamically down-weights unreliable training examples during fine-tuning, improving dialogue coherence and response quality without needing explicit data filtering.

What Problem Does This Paper Address?

Building effective multi-turn dialogue systems, like chatbots and virtual assistants, relies heavily on fine-tuning large language models (LLMs) with vast amounts of conversational data. However, these datasets often contain a mix of human-generated and synthetic data, leading to varying levels of quality. Errors or inconsistencies in early turns of a conversation can propagate and negatively impact the model's understanding and response generation in later turns, ultimately degrading the overall dialogue quality and coherence. Traditional methods like static pre-filtering try to remove bad data before training, but this can be inefficient, over-zealous, and doesn't address the dynamic nature of error propagation during training.

Methods

The core innovation of ReSURE is its adaptive, turn-aware approach to handling unreliable supervision during fine-tuning. Instead of discarding data upfront, ReSURE dynamically adjusts the influence of each training sample based on its "unreliability."

Here's how it works:

  • Turn-Group Loss Estimation: ReSURE groups training samples by their turn depth (e.g., turn 1, turn 2, etc.). For each group, it tracks the per-sample loss using Welford's online algorithm, which efficiently computes running means and standard deviations. This allows the model to understand how difficult each turn is on average for the current training progress.
  • Unreliability Detection: A sample is flagged as potentially unreliable if its loss exceeds a threshold determined by the turn-specific mean and standard deviation (e.g., one standard deviation above the mean). This threshold is dynamic and adapts as training progresses.
  • Soft Reweighting: Instead of hard filtering, ReSURE applies a "soft reweighting" mechanism. Unreliable samples have their loss contribution down-weighted, reducing their impact on the model's learning. This is done using a decayed weight that ensures even high-loss samples retain a minimal contribution, preventing vanishing gradients. This is crucial because difficult but correct examples shouldn't be penalized too heavily.
  • Conditional Updates: Critically, only reliable samples contribute to updating the running statistics (mean and standard deviation). This keeps the statistics stable and representative of the "cleaner" parts of the data, preventing noisy samples from skewing the unreliability detection for future samples.

Datasets

The paper evaluates ReSURE on several multi-turn dialogue datasets, including:

  • In-Domain Datasets: ShareGPT, WildChat, OpenAssistant, ChatAlpaca, M2Lingual, and UltraChat. These are used to test performance on data distributions similar to the training data.
  • MT-Bench and MT-Bench-Ext: These are established benchmarks for evaluating LLM performance in multi-turn dialogue, designed to assess various aspects like connection, quality, information density, and friendliness.
  • Mixed-Quality Datasets: To simulate real-world scenarios, the authors created mixed datasets by combining samples from high-, normal-, and low-quality sources (ChatAlpaca, ShareGPT, and OpenAssistant).
  • Task Mixture Dataset: ChatAlpaca was combined with GSM8K (a math question-answering dataset) to test robustness against task-level noise.

Key Insights and Ideas

  • Dynamic Supervision is Key: The paper strongly argues against static pre-filtering. Errors propagate dynamically during training, and a method that adapts during training is far more effective than a one-time filter.
  • Turn-Awareness Matters: Dialogue is sequential. Errors in early turns have a different impact than errors in later turns. ReSURE's turn-grouping approach captures this crucial aspect.
  • Softness Over Hardness: Completely discarding potentially unreliable samples can lead to over-filtering and loss of valuable information. Softly down-weighting them preserves gradients and allows for more nuanced learning.
  • Robustness to Noise and Drift: ReSURE consistently improves performance even when faced with increasing amounts of noisy data or when the training data includes different tasks (task drift). This makes it suitable for leveraging larger, less curated datasets.
  • Complementarity with Pre-filtering: ReSURE doesn't replace pre-filtering but complements it. Combining ReSURE with static filtering yields even better results, suggesting a synergistic effect.

Key Results

  • Consistent Improvement: ReSURE consistently outperforms baseline methods (Base Model, Vicuna-Tuning, Baize, ChatGLM3) across various benchmarks (In-Domain-Test, MT-Bench, MT-Bench-Ext), showing significant gains (e.g., 6.11%, 9.82%, 2.86% on in-domain benchmarks).
  • Mitigating Negative Optimization: Unlike Vicuna-Tuning, which shows performance degradation with more data, ReSURE maintains or improves performance, demonstrating its ability to handle increasing supervision volume without overfitting to noise.
  • Robustness to Noise: On mixed-quality datasets, ReSURE shows minimal variance and even slight improvements, while baselines exhibit noticeable drops.
  • Positive Correlations: ReSURE achieves positive Spearman correlations (0.21 to 1.0) between response scores and sample counts, indicating its ability to effectively utilize larger datasets.
  • Human Evaluation Support: Human evaluations on MT-Bench-Ext confirm ReSURE's superiority in faithfulness, appropriateness, naturalness, and completeness, especially in maintaining factual consistency and contextual coherence.
  • Case Study Success: A qualitative case study highlights ReSURE's superior contextual comprehension, correctly identifying parallel verb structures where Vicuna-Tuning failed.

Limitations and Future Work

  • Statistical Approach: The paper uses one type of online statistical method (Welford's algorithm). Exploring alternative statistical techniques for modeling supervision reliability could be beneficial.
  • Dataset Quality Evaluation: The current dataset quality evaluation is a reference. Different domains might require tailored metrics.
  • Computational Cost: The method is evaluated in multi-turn dialogue scenarios, and its broader applications might be limited by computational cost.
  • Model-Specific Performance: Results on Qwen2.5-7B-Instruct were less promising compared to other models, potentially due to architectural differences or instruction tuning strategies not aligning well with ReSURE's calibration mechanism.
  • Future Work: The authors hope their findings offer insights for future research on domain-specific fine-tuning and leveraging large-scale, mixed-quality datasets more effectively.

Summary updated

BibTeX
@inproceedings{du2025resure,
  author = {Yiming Du and Yifan Xiang and Bin Liang and Dahua Lin and Kam-Fai Wong and Fei Tan},
  title = {{ReSURE: Regularizing Supervision Unreliability for Multi-turn Dialogue Fine-tuning}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2025},
  url = {https://openreview.net/forum?id=zQJCINZDbZ},
}
Figure