Abstract
Asking clarifying questions in response to ambiguous or faceted queries is a vital technique for conversational search systems. While generating these questions has been studied, effectively utilizing user responses remains a challenge. We present the Guided Transformer (GT), a novel model that enriches representations using an attention mechanism guided by external information sources. By weighting terms based on top-retrieved documents and candidate clarifying questions, GT significantly improves performance in document retrieval and question selection tasks.
Introduction: The Challenge of Sparse User Feedback
In conversational search, users often initiate interactions with ambiguous or "faceted" queries, such as "migraines." To provide relevant results, a system must engage in clarification (e.g., "Are you looking for symptoms or treatments?"). However, the primary challenge lies in utilizing the user's response. If a user provides a brief answer like "no" or "treatments," standard language models like BERT often struggle to capture the full information need because the conversation history is too sparse.
The Guided Transformer addresses this representation learning gap by "guiding" the model with external context that isn't explicitly present in the chat log, effectively triangulating user intent from multiple signals.
The Guided Transformer Architecture
The core innovation of this work is the Guided Transformer (GT) block, which extends the standard Transformer architecture to incorporate external knowledge.
As shown in the architecture above, the GT block introduces two major components:
- Multi-Source Cross-Attention: Unlike standard Transformers that rely solely on self-attention, GT includes a cross-attention layer. This allows the conversation input to attend to multiple external sources—specifically, top-retrieved documents and a pool of potential clarifying questions. To ensure no single source dominates due to length, a weighting scheme based on the law of total probability and Bayes' rule is applied.
- Multi-Source Self-Attention: This allows the external sources to interact with each other, creating a richer contextual representation before it is used to guide the primary input.
Multi-Task Learning and External Context
To further ground the learned representations, the model is trained using a multi-task learning framework. It simultaneously optimizes for a Target Task (either document retrieval or next clarifying question selection) and an Auxiliary Task (identifying the hidden "intent description" or facet of the query). This auxiliary task acts as a regularizer, forcing the model to focus on tokens that truly describe the user's underlying information need rather than just matching keywords.
The architecture utilizes BERT as the backbone for initial text representation, incorporating "task embeddings" to help the model distinguish between different objectives during the training process.
Experimental Results
The model was evaluated using the Qulac dataset, a public benchmark for search clarification containing over 10,000 question-answer pairs. The experiments focused on two downstream tasks: document retrieval and next clarifying question selection.
As illustrated in the results above, the Guided Transformer consistently outperforms competitive baselines:
- Document Retrieval: GT achieved over a 29% relative improvement in Mean Reciprocal Rank (MRR) compared to standard BERT and traditional pseudo-relevance feedback models (like RM3 and SDM).
- Robustness to Sparse Data: The most significant gains were observed in scenarios with short user responses (e.g., simple "yes/no" answers). While standard models fail when feedback is semantically thin, GT uses external sources as "anchors" to fill in the blanks.
- Conversation Depth: Performance improves as the conversation progresses (turns 1 through 3), with GT maintaining a substantial lead over QL, ERM, and BERT baselines across all metrics (nDCG@1, @5, and @20).
Conclusion
The Guided Transformer demonstrates that external information sources—such as retrieved documents and candidate questions—are invaluable for resolving ambiguity in conversational search. By leveraging these sources through a specialized cross-attention mechanism and multi-task learning, the model creates robust representations even from sparse user feedback.
Future work includes scaling the model to handle more tasks simultaneously and integrating additional external signals like user search logs and structured knowledge bases to further refine the system's understanding of complex information needs.
Summary updated