Abstract
While conditional generation models can now generate natural language well enough to create fluent text, it is still difficult to control the generation process, leading to irrelevant, repetitive, and hallucinated content. Recent work shows that planning can be a useful intermediate step to render conditional generation less opaque and more grounded. We present a web browser-based demonstration for query-focused summarization that uses a sequence of question-answer pairs, as a blueprint plan for guiding text generation (i.e., what to say and in what order). We illustrate how users may interact with the generated text and associated plan visualizations, e.g., by editing and modifying the blueprint in order to improve or control the generated output.
Introduction
Modern Large Language Models (LLMs) excel at generating fluent natural language, yet they remain difficult to control in conditional generation tasks like query-focused summarization. These "black box" models often suffer from three major issues: hallucinations (generating facts not in the source), opacity (unclear decision-making), and a lack of granular user control. To address these challenges, we introduce Text-Blueprint, an interactive platform that utilizes a sequence of question-answer (QA) pairs—a "blueprint"—as an intermediate planning step to ground and guide text generation.
System Architecture and Model Variations
The Text-Blueprint platform is built upon the LongT5 (XL 3B-parameter) architecture and supports three distinct operational modes to balance automation and control:
- End-to-End Model: Generates a complete blueprint of QA pairs first, followed by the full summary in a single pass.
- Iterative Model: Interleaves planning and generation by producing one QA pair and its corresponding sentence at a time, mitigating sequence length issues for longer outputs.
- Interactive Model: Designed for human-in-the-loop use, allowing users to provide specific questions for the model to answer in the final summary.
The system's technical stack consists of a TypeScript/LitElement frontend and a Python/C++ backend that manages document retrieval and asynchronous model inference.
The Interactive Interface
The platform's web-based interface is designed to make the generation process transparent and editable. As shown in the system overview, the interface is divided into several key views:
- Model Selection: Allows users to toggle between different blueprinting strategies.
- Retrieval View: Displays the source documents retrieved based on the user query.
- Blueprint Output View: Visualizes the generated plan (QA pairs) and the resulting summary, allowing for real-time editing, addition, or removal of plan elements to steer the output.
Dataset and Training
The models were fine-tuned using the AQuaMuSe dataset, a query-focused, multi-document summarization resource. AQuaMuSe leverages the Google Natural Questions dataset (real search logs) paired with evidence spans from Wikipedia and Common Crawl. This dataset is particularly well-suited for Text-Blueprint as it involves long inputs and multi-sentence outputs centered around a specific user intent.
Key Insights: Explainability and Control
The use of QA pairs as a blueprint offers several advantages for conditional generation:
- Intuitive Interface: QA pairs serve as a universal language for planning, requiring no technical expertise from the user to modify or inspect.
- Grounding and Faithfulness: By forcing the model to generate a blueprint first, the process becomes grounded. Prior work indicates that blueprint-based models show measurable improvements in factual consistency.
- Explainability: The blueprint acts as a built-in explanation, showing exactly which question triggered a specific sentence in the summary.
- Granular Control: Users can steer the output by adding, removing, or editing QA pairs. For instance, a user can add a question about a specific detail (e.g., the transportation of the Statue of Liberty), and the model will integrate that fact into the existing summary.
Limitations and Future Work
While Text-Blueprint enhances control, it introduces a trade-off in manual effort. Future research will focus on optimizing the balance between automation and human intervention. Additionally, the system's performance remains dependent on the quality of initial document retrieval. Further studies are needed to quantitatively evaluate the impact of human-in-the-loop edits on overall summary quality and to implement robust safety filters for generative outputs.
Summary updated