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

Haopeng Zhang, Hayate Iso, Sairam Gurajada, Nikita Bhutani

Abstract

Text editing is a crucial task of modifying text to better align with user intents. However, existing text editing benchmark datasets contain only coarse-grained instructions and lack explainability, thus resulting in outputs that deviate from the intended changes outlined in the gold reference. To comprehensively investigate the text editing capabilities of large language models (LLMs), this paper introduces XATU, the first benchmark specifically designed for fine-grained instruction-based explainable text editing. XATU considers finer-grained text editing tasks of varying difficulty (simplification, grammar check, fact-check, etc.), incorporating lexical, syntactic, semantic, and knowledge-intensive edit aspects. To enhance interpretability, we combine LLM-based annotation and human annotation, resulting in a benchmark that includes fine-grained instructions and gold-standard edit explanations. By evaluating existing LLMs 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

In the domain of Large Language Models (LLMs), text editing is often simplified to generic "rewrite" commands. However, vague feedback like "make it better" is rarely helpful for human writers, and it is equally problematic for AI. Current benchmarks for text editing suffer from this same lack of specificity, often leading to models that produce technically correct edits that nonetheless fail to meet the user's actual intent.

Most existing datasets rely on coarse-grained instructions, such as "Update the information" or "Expand the text." These are inherently ambiguous. For instance, given a Wikipedia snippet about a cinematographer, a model might update a death date when the user actually intended to add film credits. Both are "correct" updates, but the model fails the alignment test. Furthermore, current systems lack explainability—the ability to provide a rationale for why specific changes were made.

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

To address these gaps, we introduce XATU, a benchmark designed to move text editing toward fine-grained, explainable updates.

Methodology: Building an Explainable Benchmark

The creation of XATU involved a sophisticated "LLM-in-the-loop" pipeline designed to generate high-quality instructions and rationales:

  1. Candidate Generation: GPT-4 was utilized to generate fine-grained instructions and explanations for existing text-editing pairs from various source datasets.
  2. HTML Tagging Representation: To improve the model's ability to "see" edits, the researchers represented differences between input and output using HTML-style <ins> (insert) and <del> (delete) tags. This structural clarity significantly boosted the quality of generated instructions.
  3. Human Validation: To ensure accuracy, all generated instructions and explanations underwent human verification via the Appen platform.
  4. Evaluation & Fine-tuning: Baseline models, including GPT-3, GPT-4, T5, and LLaMA, were tested in zero-shot settings. Additionally, supervised fine-tuning was performed using Low-Rank Adaptation (LoRA) on a subset of the data.

The XATU Benchmark

XATU is a "meta-benchmark" that curates and annotates data from nine diverse source datasets, covering four primary editing aspects:

  • Grammar: JFLEG
  • Simplification: ASSET
  • Style Transfer: WNC, Wikibias, StylePTB
  • Information Update: FRUIT, Evidence, DeFacto, Factedit

The final benchmark consists of 1,000 high-quality instances, categorized by difficulty (Easy, Medium, Hard) based on token-level Levenshtein distance. Each instance includes the original input, a fine-grained instruction, the reference output, and a gold-standard explanation.

An example instance from the XATU benchmark featuring fine-grained instructions and a gold-standard explanation.

Key Results and Insights

Our evaluation revealed several critical findings regarding LLM alignment and editing capabilities:

  • Granularity Drives Alignment: Models perform significantly better when provided with specific instructions (e.g., "incorporate the representative work associated with the character") rather than vague ones. Fine-grained instructions bridge the gap between model output and human-written references, leading to higher SARI and BLEU scores.
  • The Power of Explanations: Including rationales during fine-tuning led to the best performance across nearly all models. Learning the "why" appears to help models more effectively execute the "what."
  • Architectural Strengths: Encoder-decoder models (e.g., Flan-T5, Flan-UL2) excelled at lexical and syntactic tasks like style transfer. Conversely, decoder-only models (e.g., Alpaca) proved more robust at knowledge-intensive tasks requiring external information integration.
  • Performance Gains: GPT-4 remains the zero-shot leader, but even it benefits immensely from fine-grained guidance. On the "Hard" Factedit task, GPT-4's SARI score improved from 43.59 with coarse instructions to 58.38 when provided with explanations. Fine-tuning on just 200 XATU examples also yielded dramatic results; for instance, Flan-UL2's score on Factedit jumped from 23.06 (zero-shot) to 60.76 (fine-tuned with explanations).

Conclusion and Future Work

XATU represents a significant step toward more precise and interpretable text editing. While the benchmark provides a robust foundation, future work will address current limitations, such as the "retrieval gap" (where models are currently provided with reference info rather than finding it) and the exploration of LLM-based evaluation metrics to better capture semantic alignment. XATU is open-sourced to facilitate further research in building AI editors that truly understand their assignments.

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