Guiding ChatGPT to Generate Salient Domain Summaries

Jun Gao, Ziqiang Cao, Shaoyao Huang, Luozheng Qin, Chunhui Ai · DOI

Abstract While Large Language Models (LLMs) like ChatGPT are powerful generalists, their summaries often lack domain-specific "salience" due to the "alignment tax"—a phenomenon where safety-oriented fine-tuning results in generic outputs that ignore specialized stylistic nuances. We present PADS (Pipeline for Assisting ChatGPT in Domain Summarization), a modular framework that enhances LLM performance through three key stages: dense retrieval of in-context examples, multi-turn prompting for improved instruction following, and a specialized BART-based reranking model. Evaluated across five diverse domains, PADS significantly improves summary quality, achieving gains of up to +8.3 ROUGE-L points over zero-shot baselines while remaining parameter-efficient.

Introduction

Large Language Models are typically fine-tuned using Reinforcement Learning from Human Feedback (RLHF) to ensure they are helpful and harmless. However, this process often results in an "alignment tax": the model becomes too general, producing summaries that are safe but lack the specific stylistic nuances required by different domains. For example, a news summary should cover the "who, what, where," while a dialogue summary should focus on the core interaction between speakers. PADS aims to bridge this gap by providing the model with relevant domain context and a mechanism to select the best possible output from multiple candidates.

The PADS Framework

The PADS pipeline operates in three distinct stages to guide the LLM toward domain-specific salience:

  1. Examples Retrieval: Using S-BERT, a dense retriever, the system identifies the most semantically relevant document-summary pair from a reference corpus to serve as an in-context demonstration.
  2. Context Construction (Multi-turn Prompting): To ensure the model follows complex formatting and stylistic cues, PADS uses a conversational interface. It presents the example first, then asks for $k=5$ candidate summaries for the target text. This approach significantly improves formatting adherence compared to simple prompt concatenation.
  3. Summary Rerank: A specialized Rank Model based on BART-large is employed to evaluate the candidates. It is trained via contrastive learning to distinguish between high-quality "golden" summaries and lower-quality outputs, using a regression head to predict a quality score based on ROUGE-L.
Figure 1: The PADS pipeline architecture, showcasing the flow from retrieval to multi-turn prompting and final reranking.

Experimental Setup

The framework was evaluated across five datasets representing distinct domains to test its versatility:

  • BigPatent: Technical U.S. patent documents.
  • CNN/DM: Long-form English news articles.
  • SAMsum: Messenger-style dialogue and social media conversations.
  • Gigaword: Short, single-line news headlines.
  • XSum: Extreme one-sentence summarization of BBC articles.

Results and Analysis

PADS demonstrated substantial improvements over naive zero-shot ChatGPT across all benchmarks. The most significant gain was observed in the Gigaword dataset (+8.3 ROUGE-L). In the conversational SAMsum dataset, ROUGE-L improved by +6.9 points. Notably, in the technical BigPatent domain, PADS even surpassed traditional supervised fine-tuning (SFT) models.

Table 1: Main experimental results comparing PADS against SFT and ChatGPT baselines across five datasets.

Key Insights

  • The "First is Best" Fallacy: The authors found that ChatGPT’s first generated summary is often unstable. By generating five candidates and reranking them, PADS consistently identifies a "hidden gem" that outperforms the initial response.
  • Multi-turn Superiority: For complex tasks, multi-turn prompting significantly outperforms simple concatenation in terms of instruction following and format adherence.
  • Efficiency: The ranker only adds 400M trainable parameters and requires minimal training data (2.5k samples per dataset), making it a parameter-efficient alternative to full LLM fine-tuning.

Conclusion

PADS provides a robust, parameter-efficient solution for domain-specific summarization. By combining retrieval-augmented generation with a lightweight reranker, it bridges the gap between general-purpose LLMs and specialized summarization needs. Future work may explore compressing multiple demonstrations to further refine model guidance within context window constraints.

Summary updated

BibTeX
@inproceedings{gao2024guiding,
  author = {Jun Gao and Ziqiang Cao and Shaoyao Huang and Luozheng Qin and Chunhui Ai},
  title = {{Guiding ChatGPT to Generate Salient Domain Summaries}},
  booktitle = {IJCNN},
  year = {2024},
  doi = {10.1109/ijcnn60899.2024.10650616},
}
Figure