Abstract
Query-based document summarization aims to extract or generate a summary of a document which directly answers or is relevant to the search query. It is an important technique that can be beneficial to a variety of applications such as search engines, document-level machine reading comprehension, and chatbots. Currently, datasets designed for query-based summarization are short in numbers and existing datasets are also limited in both scale and quality. Moreover, to the best of our knowledge, there is no publicly available dataset for Chinese query-based document summarization. In this paper, we present QBSUM, a high-quality large-scale dataset consisting of 49,000+ data samples for the task of Chinese query-based document summarization. We also propose multiple unsupervised and supervised solutions to the task and demonstrate their high-speed inference and superior performance via both offline experiments and online A/B tests. The QBSUM dataset is released in order to facilitate future advancement of this research field.
Introduction
Standard document summarization typically aims to capture the general "gist" of a text. However, in modern applications like search engines or chatbots, users require summaries that specifically address their unique queries. This task, known as Query-Based Summarization (QBS), faces significant hurdles: a severe scarcity of large-scale training data, a total lack of public Chinese-language datasets, and the technical difficulty of balancing document-wide importance with query-specific relevance.
Researchers from Tencent and the University of Alberta address these gaps with QBSUM, a large-scale dataset derived from real-world search logs, alongside high-performance modeling approaches designed for production environments.
The QBSUM Dataset
The core contribution of this work is the QBSUM dataset, which represents a massive leap in scale compared to previous benchmarks. Sourced from the QQ Browser—which serves over 200 million daily users—the dataset contains over 49,000 query-document-summary tuples.
Annotated by professional product managers and engineers, the dataset covers diverse query types, including hot topics, specific questions, and fuzzy queries. As shown in the comparison above, QBSUM provides the volume of data necessary to train modern deep learning architectures that were previously data-starved on smaller benchmarks like DUC.
Methodology: The Dual Attention Approach
The researchers propose three distinct solutions to the QBS task, ranging from lightweight unsupervised methods to heavy-duty BERT-based encoders. A central finding of the study is the "Dual" requirement: a high-quality summary must be both globally important to the document and locally relevant to the user's query.
To achieve this in a production setting, the authors introduced the Rank-DualAttn model. This architecture utilizes two primary attention mechanisms:
- S-D Self-attention: Evaluates a sentence's importance relative to the entire document.
- S-Q Co-attention: Measures the semantic alignment between a sentence and the specific user query.
While the Bert-QBSUM model achieved the highest raw accuracy (BLEU-4 of 57.45%), the Rank-DualAttn model was selected for live deployment due to its superior inference speed, making it viable for real-time search applications.
Key Results and Real-World Impact
The effectiveness of these models was validated through both offline metrics and online deployment. The Bert-QBSUM model significantly outperformed traditional baselines like TextRank. More importantly, the Rank-DualAttn model was deployed to the QQ Browser for a large-scale A/B test involving 10 million users. The results showed a 2.86% increase in the Global Click-Through Rate (CTR), demonstrating that query-biased summaries effectively reduce search friction and help users find information faster.
Conclusion and Future Work
While QBSUM and the proposed models represent a major step forward, the authors note that the current approach is primarily extractive—selecting existing sentences rather than generating new ones. Future research will focus on abstractive summarization to synthesize information more cohesively and improving semantic depth to better handle queries requiring specific "hidden" information not explicitly linked by keywords. The release of QBSUM aims to catalyze these future advancements in the field of Chinese natural language processing.
Summary updated