Controllable Abstraction in Summary Generation for Large Language Models via Prompt Engineering

Xiangchen Song, Yuchen Liu, Yaxuan Luan, Jinxu Guo, Xiaofan GuoarXiv 2025 · DOI

Abstract

This paper introduces a multi-stage prompt engineering framework designed to provide users with fine-grained control over the abstraction level of summaries generated by Large Language Models (LLMs). By integrating semantic graph analysis with reinforcement learning-based prompt optimization, the proposed method achieves state-of-the-art results on news summarization tasks. Our research identifies a "Goldilocks zone" for optimal prompt length and quantifies the performance degradation caused by data noise and genre complexity.

Introduction

While Large Language Models (LLMs) excel at generating fluent text, they often function as "black boxes" in summarization tasks, offering limited controllability. Users frequently require different levels of detail—from concise executive summaries to comprehensive technical briefs—which traditional prompting methods struggle to deliver consistently. This paper addresses the challenge of controllability: how to systematically guide an LLM to adjust its abstraction level without requiring expensive model retraining.

Methodology

The authors propose a multi-stage prompt generation framework that moves beyond simple instructions to a structured, optimized approach. The architecture is built upon several key pillars:

  • Semantic Graph Construction: The system preprocesses input text to extract entities and relations, forming a semantic graph ($G$) that captures the document's core logical structure.
  • Multi-Level Objective Function: Prompt optimization is driven by a loss function balancing semantic alignment, target abstraction level, and context adaptability.
  • Policy Optimization via Reinforcement Learning: The framework employs a reward function to dynamically refine prompt structures based on the quality of the generated summary ($Y_{gen}$) relative to the target ($T$).
Figure 1: The proposed multi-stage prompt generation framework, illustrating the flow from input prompt to final output through semantic alignment and policy optimization.

Experimental Evaluation

The framework was benchmarked using the CNN/Daily Mail dataset, which contains approximately 300,000 news articles paired with human-written summaries. This dataset provides a robust "ground truth" for evaluating both semantic relevance and abstraction quality.

Comparative Performance

The proposed method ("Ours") was compared against several state-of-the-art baselines, including DeepExtract, WhisperSum, and FineSurE. As shown in the results table below, our approach achieved the highest scores across all primary metrics, particularly excelling in ROUGE-N and BLEU.

Figure 6: Quantitative comparison of the proposed method against baseline models across ROUGE, BLEU, and TER metrics.

Key Insights and Analysis

Our experiments revealed several critical factors influencing LLM summarization performance:

  • The "Goldilocks Zone" of Prompting: We discovered a parabolic relationship between prompt length and summary quality. Prompts that are too short (10-20 tokens) lack context, while those that are too long (50-60 tokens) introduce redundancy. The optimal performance peak was found at 30-40 tokens.
  • Noise Sensitivity: Summary quality declines steadily as input noise increases. At a noise level of 0.1, performance drops significantly, highlighting the limitations of LLMs in filtering cluttered source text.
  • Genre-Specific Performance: The model performed best on news articles (BLEU ~0.45) due to their structured nature. It faced greater difficulty with academic articles (BLEU ~0.38), which involve complex terminology and intricate logical flows.

Conclusion and Future Work

This study demonstrates that multi-stage prompt engineering can effectively bridge the gap between LLM fluency and user-defined controllability. By grounding prompts in semantic graphs, the framework ensures structural fidelity even at high levels of abstraction. Future work will explore extending this methodology to long-form documents and multimodal inputs, such as video and image-based summarization, to increase robustness across diverse industrial applications.

Summary updated

BibTeX
@misc{song2025controllable,
  author = {Xiangchen Song and Yuchen Liu and Yaxuan Luan and Jinxu Guo and Xiaofan Guo},
  title = {{Controllable Abstraction in Summary Generation for Large Language Models via Prompt Engineering}},
  year = {2025},
  eprint = {2510.15436},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.15436},
}
Figure