ChatGPT-steered Editing Instructor for Customization of Abstractive Summarization

Wen Xiao, Yujia Xie, Giuseppe Carenini, Pengcheng He

Abstract

Tailoring outputs from large language models, like ChatGPT, to implicit user preferences remains a challenge despite their impressive generative capabilities. In this paper, we propose a tri-agent generation pipeline comprising a generator, an instructor, and an editor to enhance output personalization. The generator produces an initial output, the instructor automatically generates editing instructions based on user preferences, and the editor refines the output to align with those preferences. The inference-only large language model (ChatGPT) serves as both the generator and editor, with a smaller model acting as the instructor to guide output generation. We train the instructor using editor-steered reinforcement learning, leveraging feedback from a large-scale editor model to optimize instruction generation. Experimental results on two abstractive summarization datasets demonstrate the effectiveness of our approach in generating outputs that better meet user expectations.

Introduction

While large language models (LLMs) like ChatGPT have revolutionized natural language processing, they often struggle to meet specific, implicit user preferences in a single pass. Users frequently find that a general summary lacks the factual precision or specific keyword coverage they require. This "one-shot gap" occurs because LLMs typically generate text in a linear, left-to-right fashion, whereas human writing is an iterative process of drafting and revision. Furthermore, "steering" an LLM through simple prompting is often insufficient; users struggle to craft the exact instructions needed to elicit the desired refinements.

The Tri-Agent Generation Pipeline

To address these challenges, we introduce a Tri-agent Generation Pipeline. This framework decomposes the summarization task into three distinct roles, moving beyond simple one-time generation or basic self-correction loops.

  1. The Generator: An LLM (e.g., ChatGPT) that creates an initial draft summary based on a query.
  2. The Instructor: A smaller, specialized model (e.g., Flan-T5) that analyzes the draft against user preferences to produce specific, natural language editing instructions.
  3. The Editor: An LLM (e.g., ChatGPT) that applies the Instructor's advice to the initial draft to produce a final, personalized summary.
Comparison of generation pipelines: One-time Generation, Self-correction, and the proposed Tri-Agent framework.

This modular approach allows for iterative refinement. Unlike standard self-correction where a model critiques itself, our pipeline uses a dedicated Instructor to provide actionable guidance that the Editor is capable of following.

Personalization through Natural Language Instructions

The core innovation lies in the Instructor's ability to translate vague user preferences into concrete editing tasks. For instance, if a user wants a summary to focus on a specific historical figure or remove certain brand mentions, the Instructor generates a precise command for the Editor.

An example of the Instructor generating specific editing instructions to personalize a summary draft.

Training via Editor-Steered Reinforcement Learning

To ensure the Instructor provides useful advice, we employ a two-stage training process. First, the model undergoes Supervised Learning on "oracle" instructions derived from human references. Second, we use Editor-Steered Reinforcement Learning (RL). In this phase, the Instructor is fine-tuned using the quality of the Editor's final output as a reward signal. This ensures the Instructor learns to give advice that is specifically compatible with the Editor's strengths and weaknesses.

Experimental Evaluation

We evaluated the pipeline on two datasets representing different user preferences:

  • Factual Consistency (DeFacto): The tri-agent pipeline significantly improved factualness scores (measured by DAE and QFE metrics). The RL-tuned instructor consistently outperformed versions trained only on supervised learning, demonstrating that "compatibility" between the instructor and editor is vital.
  • Knowledge Coverage (CNNDM): The system successfully boosted the inclusion of key entities. The "Knowledge F1" score (measuring entity overlap with user preference) increased from an initial 44.15 to 47.99 after one edit, eventually reaching 49.20 through iterative rounds.

Key Insights

  • Small Models Can Lead Giants: Surprisingly, a 700M-parameter Flan-T5 model proved to be a more effective Instructor than ChatGPT (175B+ parameters). When ChatGPT attempted to generate its own editing instructions, the final summary quality often decreased. Specialized small models excel at this "meta-cognitive" task of identifying necessary changes.
  • Iterative Refinement: The pipeline can be run multiple times, with each round further narrowing the gap between the draft and the user's ideal summary.
  • Actionable Advice: The RL training ensures the Instructor doesn't just give "correct" advice, but "actionable" advice that the Editor knows how to implement.

Conclusion and Future Work

The Tri-agent pipeline demonstrates that a generate-and-edit workflow is superior to complex one-shot prompt engineering. By using a small, specialized model to steer a large, general-purpose LLM, we can achieve significantly higher levels of personalization and factual consistency. Future work will explore applying this framework to more complex domains like wiki-editing and mathematical problem-solving, as well as testing its generalizability across different LLM architectures.

Summary updated

BibTeX
@inproceedings{xiao2024chatgpt,
  author = {Wen Xiao and Yujia Xie and Giuseppe Carenini and Pengcheng He},
  title = {{ChatGPT-steered Editing Instructor for Customization of Abstractive Summarization}},
  booktitle = {EACL (Findings)},
  year = {2024},
  url = {https://openreview.net/forum?id=v75cR3B8Te},
}
Figure