XATU: A Fine-grained Instruction-based Benchmark for Explainable Text Updates

Haopeng Zhang, Hayate Iso, Sairam Gurajada, Nikita Bhutani · OpenReview

Abstract: Text editing is a crucial task that involves modifying text to better align with user intents. However, existing text editing benchmark datasets have limitations in providing only coarse-grained instructions. Consequently, although the edited output may seem reasonable, it often deviates from the intended changes outlined in the gold reference, resulting in low evaluation scores. To comprehensively investigate the text editing capabilities of large language models, this paper introduces XATU, the first benchmark specifically designed for fine-grained instruction-based explainable text editing. XATU covers a wide range of topics and text types, incorporating lexical, syntactic, semantic, and knowledge-intensive edits. To enhance interpretability, we leverage high-quality data sources and human annotation, resulting in a benchmark that includes fine-grained instructions and gold-standard edit explanations. By evaluating existing open and closed large language models against our benchmark, we demonstrate the effectiveness of instruction tuning and the impact of underlying architecture across various editing tasks. Furthermore, extensive experimentation reveals the significant role of explanations in fine-tuning language models for text editing tasks. The benchmark will be open-sourced to support reproduction and facilitate future research.

Introduction and Motivation

Text editing is an iterative process of aligning text with a specific goal, extending far beyond simple proofreading. However, current benchmarks for text editing suffer from two major flaws: coarseness and a lack of explainability.

If a user provides a vague instruction like "update the information," a Large Language Model (LLM) might update a date correctly but miss a crucial fact the user actually wanted changed. In such cases, the model "succeeds" at editing in a general sense but "fails" to meet the specific user intent. Furthermore, most existing benchmarks do not provide rationales for why an edit was made, making it difficult to diagnose whether a model is reasoning correctly or simply matching patterns by chance.

Comparison of coarse-grained vs. fine-grained instructions in text editing.

XATU (named after the prophetic Pokémon known for seeing the past and future) addresses these gaps by providing the first benchmark for fine-grained, explainable text updates. By moving from vague commands to precise, intent-driven updates, XATU reveals that specificity is the key to aligning LLMs with user intent.

The XATU Benchmark

XATU is a composite benchmark featuring 1,000 high-quality instances curated from nine diverse data sources. These sources are categorized by difficulty to test a wide range of model capabilities:

  • Easy (Lexical/Syntactic): Grammar correction (JFLEG) and style transfer (WNC, Wikibias, StylePTB).
  • Medium (Semantic): Text simplification (ASSET) and fact-checking (Evidence, DeFacto).
  • Hard (Knowledge-Intensive): Updating text based on external reference documents (FRUIT, Factedit).

As shown in the comparison below, XATU is unique because it transforms existing datasets by adding specific, multi-sentence instructions and logical rationales for every single entry.

Comparison of XATU with existing text editing benchmarks.

Methodology: LLM-in-the-Loop Annotation

The authors developed an "LLM-in-the-loop" annotation pipeline to create high-quality data efficiently. The process began with Candidate Generation, where GPT-4 was used to generate fine-grained instructions and explanations for existing text-editing pairs. To ensure the model focused on the correct textual changes, the researchers used a prompting technique that added HTML-style <ins> and <del> tags to the input/output pairs to explicitly highlight modifications.

These candidates then underwent Human Validation via the Appen platform. Human workers filtered out invalid instructions or rationales, ensuring the final benchmark met gold-standard quality. Finally, models were evaluated using the SARI metric, which calculates the arithmetic mean of F1 scores for three operations: adding, keeping, and deleting words.

Key Insights and Results

The evaluation of various open and closed LLMs (including GPT-4, T5, and LLaMA) yielded several critical insights:

  1. Granularity as a Performance Multiplier: Moving from coarse instructions to fine-grained ones consistently improved scores across almost all models. Specificity reduces the "search space" for the LLM, leading to better alignment.
  2. Explanations as a Training Signal: Including explanations in the fine-tuning process significantly boosted editing accuracy. The explanation acts as a form of "Chain of Thought," helping the model internalize the relationship between the instruction and the final edit.
  3. Architecture Bias: Encoder-decoder models (like Flan-T5) excelled at straightforward lexical tasks like style transfer, while decoder-only models (like Alpaca) were more robust at knowledge-intensive tasks requiring the integration of new information from reference documents.
  4. The Power of Fine-Tuning: Using LoRA (Low-Rank Adaptation) to fine-tune models on just 200 examples from XATU led to massive performance jumps. For instance, Flan-UL2’s grammar task performance rose from a zero-shot score of ~64 to 90.44 when explanations were included.

Conclusion

XATU demonstrates that fine-grained instructions and explainable rationales are essential for the next generation of text-editing systems. While challenges remain—particularly in scaling human validation and improving the integration of external facts—XATU provides a rigorous framework for future research into intent-aligned text updates. Future work will explore automated evidence retrieval to further enhance the "Information Update" capabilities of these models.

Summary updated

BibTeX
@inproceedings{zhang2024xatu,
  author = {Haopeng Zhang and Hayate Iso and Sairam Gurajada and Nikita Bhutani},
  title = {{XATU: A Fine-grained Instruction-based Benchmark for Explainable Text Updates}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2024},
  url = {https://openreview.net/forum?id=SKHeRXGrVO},
}
Figure