Guiding ChatGPT to Generate Salient Domain Summaries

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

TL;DR

The paper introduces PADS (Pipeline for Assisting ChatGPT in Domain Summarization), a lightweight framework that guides ChatGPT to generate highly specific, domain-salient summaries. By combining dense example retrieval with a small, specialized 400M-parameter rank model, PADS overcomes ChatGPT's tendency to produce overly generalized text, yielding massive improvements in ROUGE scores across diverse domains.

What Problem Does This Paper Address?

While Large Language Models (LLMs) like ChatGPT excel at generating human-like text, they often struggle with domain-specific summarization (e.g., condensing legal patents versus casual dialogues). The authors attribute this to the "alignment tax"—a side effect of Reinforcement Learning from Human Feedback (RLHF). RLHF trains models to be safe, polite, and broadly appealing, which inadvertently forces them to generate generic summaries that lack the specific salience required by distinct domains. Consequently, in zero-shot settings, ChatGPT frequently underperforms compared to smaller, domain-tuned supervised models on traditional metrics like ROUGE.

Methods

PADS addresses this issue using a three-stage pipeline that requires zero fine-tuning of the underlying LLM:

  1. Examples Retrieval: Given an inference document, a dense retriever (Sentence-BERT) identifies the most semantically similar document from a reference corpus using cosine similarity.
  2. Context Construction: Instead of simply concatenating the retrieved example and the target text, PADS uses a multi-turn conversation format. It provides the example and its golden summary in the first turn, and then asks ChatGPT to generate $k$ distinct candidate summaries (where $k=5$) for the target document in the second turn.
  3. Summary Rerank: Because ChatGPT's outputs can be unstable, PADS employs a 400M-parameter rank model based on a pre-trained BART-large architecture. The rank model scores the candidates and selects the optimal one.

The rank model is trained on just 2.5k samples per dataset using a two-phase approach: first, contrastive learning (InfoNCE loss) helps the BART backbone distinguish summary quality at the embedding level; second, a scoring head is trained via a regression task supervised by normalized ROUGE scores. The authors specifically chose an Encoder-Decoder model (BART) over an Encoder-only model to prevent "embedding collapse," ensuring the model pays attention to the candidate summaries rather than just the long source document.

Workflow of the PADS pipeline

Datasets

The pipeline was evaluated across five distinct summarization datasets spanning various domains:

  • BigPatent: U.S. patent documents (Technology)
  • CNN/DM: News articles (General News)
  • SAMsum: Messenger-style conversations (Social Media/Dialogue)
  • Gigaword: Headline generation from news (Economics/News)
  • XSum: Single-sentence extreme summarization (Tech/Culture/Politics)

Key Insights and Ideas

  • ChatGPT is Unstable: The authors discovered a significant performance gap between the best and worst candidate summaries generated within the same ChatGPT session. Relying solely on ChatGPT's first output is suboptimal, which justifies the need for an external reranker.
  • Multi-Turn Prompting Beats Concatenation: For long documents (like patents), stuffing examples and instructions into a single prompt confuses the model, leading to formatting failures. Structuring the interaction as a multi-turn dialogue keeps the LLM highly format-compliant.
  • Beating the "Theoretical Upper Bound": Remarkably, PADS outperformed a setup where the exact target document's true summary was used as the in-context example (the theoretical upper bound) on the XSum and Gigaword datasets. This happens because the ranker successfully filters out the variance and low-quality candidates that ChatGPT occasionally spits out even when given perfect guidance.

Key Results

PADS achieved consistent performance gains across all five datasets compared to zero-shot and random one-shot baselines.

Performance comparison of PADS against baselines

The most dramatic improvement occurred on the Gigaword dataset, where PADS achieved a ROUGE-L score of 23.4, representing an +8.3 point gain over naive zero-shot ChatGPT (15.1). Qualitative case studies also showed that PADS successfully strips away uninformative background fluff, focusing strictly on the core causes and outcomes aligned with domain expectations.

Limitations and Future Work

The primary bottleneck of PADS is inference latency. Calling web-based LLM APIs and generating multiple candidate summaries sequentially introduces delays and network dependencies. Additionally, due to context window limitations and token costs, the current implementation only utilizes a single in-context demonstration.

For future work, the authors plan to leverage the LLM's own understanding capabilities to retrieve higher-quality examples and explore context compression techniques to safely include multiple demonstrations without blowing up token budgets.

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