STRUM-LLM: Attributed and Structured Contrastive Summarization

Beliz Gunel, James B. Wendt, Jing Xie, Yichao Zhou, Nguyen Vo, Zachary Fisher, Sandeep TataarXiv 2024

TL;DR

STRUM-LLM is a new system designed to help users make "A vs B" decisions by generating structured, attributed, and highly contrastive summaries. By combining a "tiling" approach for long documents with a "critique-and-revision" pipeline for data generation, the researchers distilled a large language model into a version that is 10x smaller and 100x faster than previous methods while significantly outperforming them in helpfulness.

What Problem Does This Paper Address?

When choosing between two options—like a "Mammogram vs. Ultrasound" or "iPad vs. Microsoft Surface"—users typically have to sift through dozens of webpages to find meaningful differences. Existing summarization tools often focus on single entities or produce "abstractive" blobs of text that lack clear evidence or fail to highlight the specific attributes that actually drive a decision.

The authors identify a need for helpful contrast: identifying the specific dimensions (attributes) where two options differ significantly. The challenge lies in doing this across arbitrarily long input sources, ensuring every claim is traceable (attributed) to a source, and maintaining high throughput for real-world deployment.

Methods

The STRUM-LLM pipeline (illustrated in Figure 2) moves away from simple prompting toward a sophisticated multi-stage extraction and refinement process:

  1. Tiling: To handle long input sources, the system divides webpages into "tiles" that fit within the LLM's context window.
  2. LM-Extract: Extracts attributes and values directly from the text to ensure attribution.
  3. LM-Attribute-Merge & LM-Value-Merge: Consolidates similar attributes (e.g., "rooms" and "amenities") and resolves conflicting opinions by favoring the majority view.
  4. LM-Contrast & LM-Usefulness: Identifies which attributes actually provide a meaningful comparison and filters out unhelpful rows.
  5. Critique-and-Revision (CR): This is a core innovation. During the data generation phase, specialized models "critique" the output (e.g., "this attribute is unhelpful" or "this value lacks context") and "revise" it. This high-quality synthetic data is then used to fine-tune a much smaller Distilled model.
Figure 2: STRUM-LLM retrieves web pages relevant to the entities being compared, divides them into chunks of text that fit into the context window of the LLM that we refer to as tiling, extracts attributes and values from the text, clusters related attributes and merges their values, and identifies the most meaningful contrast between the two entities. Critique-and-revision (CR) models im- prove the quality for both LM-Extract and LM-Compare during data generation.

Datasets

The researchers evaluated their system using a test set of 250 sampled A vs B queries spanning 20 diverse categories, including Health, Computers & Electronics, Shopping, and Travel.

For training the distilled model, they generated a synthetic dataset consisting of:

  • ~15,000 row-level extraction examples.
  • ~500 summary-level attribute merging examples.
  • ~15,000 row-level comparison examples.

Key Insights and Ideas

  • The "Helpful Comparison" Desiderata: The authors define what makes a comparison good: clear attribution, high contrast, consistency (reflecting majority opinion), and smart ranking of attributes.
  • Distillation is the Key to Deployment: While few-shot prompting with massive models (like PaLM 2) works well, it is too slow and expensive for a search engine serving millions. Distilling that knowledge into a 10x smaller model allows for a 100x increase in throughput.
  • Self-Correction via CR: The "Critique-and-Revision" loop allows the system to catch common LLM failures—like "orthogonal values" (comparing a motorcycle's fuel tank shape to another's fuel tank capacity)—before the data is used for training.
  • LLMs as Reliable Evaluators: The paper introduces the Comparison Helpfulness Scorer (CHS), an LLM-based metric that showed 86% agreement with human judges, suggesting that automated metrics can effectively guide the development of complex summarization tasks.

Key Results

The distilled STRUM-LLM model significantly outperformed the previous state-of-the-art baseline ("STRUM in-code"):

  • Helpfulness: 84.9% of rows were marked as useful by the CHS, compared to only 56.5% for the baseline.
  • Redundancy: Redundancy was slashed from 19.6% to just 4.0%.
  • Speed: The distilled model achieves 1.5 summaries per second, a 100x speedup over the few-shot approach.
  • Human Preference: In human evaluations, STRUM-LLM produced useful rows 81% of the time, compared to 62% for the baseline.

The final output is a "faceted" table that allows users to compare options at a glance, as seen in the campsite comparison in Figure 1.

Figure 1: STRUM-LLM aims to produce an attributed (grounded in the input sources), faceted (a row per at- tribute), and helpful (relevant and contrastive attributes) summary for an A vs B comparison.

Limitations and Future Work

  • Factuality Dependence: The system is only as good as its input. If the top web search results contain outdated or incorrect information, STRUM-LLM will surface those errors.
  • Subjectivity: What one user considers an "important" attribute for a comparison might differ for another. The current model assumes popularity and contrast are the primary drivers of importance.
  • Multimodality: Currently, the system is text-heavy. The authors aim to integrate images and figures (e.g., comparing the visual design of two products) in future iterations.
  • Beyond Pairwise: Future work will look at expanding the system to compare more than two entities simultaneously.

Summary updated

BibTeX
@misc{gunel2024strum,
  author = {Beliz Gunel and James B. Wendt and Jing Xie and Yichao Zhou and Nguyen Vo and Zachary Fisher and Sandeep Tata},
  title = {{STRUM-LLM: Attributed and Structured Contrastive Summarization}},
  year = {2024},
  eprint = {2403.19710},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.19710},
}
Figure