Interactive Text Ranking with Bayesian Optimisation: A Case Study on Community QA and Summarisation

Edwin Simpson, Yang Gao, Iryna Gurevych

Introduction

Training personalized NLP models often faces a bottleneck: generic models frequently fail to meet specific user needs, yet collecting user feedback is expensive and time-consuming. Standard interactive learning approaches, such as Active Learning (AL), typically rely on "uncertainty sampling." This method queries users about examples the model is most unsure about, which often results in wasting effort on low-quality or irrelevant candidates.

This paper proposes a shift from general ranking to optimization. By treating interactive text ranking as a Bayesian Optimization (BO) problem, the authors focus user feedback on the top of the rankings—where it matters most—to efficiently identify the best candidates with minimal pairwise feedback.

Methodology: GPPL and Expected Improvement

The framework is built on Gaussian Process Preference Learning (GPPL). Instead of absolute ratings, the system uses pairwise preferences ("Which is better?"), which are more intuitive and consistent for human users.

Unlike standard models, GPPL provides a full probability distribution for the utility of every candidate, allowing the system to distinguish between aleatoric uncertainty (inherent noise) and epistemic uncertainty (lack of knowledge). The key innovation is the use of an Expected Improvement (IMP) acquisition function. Rather than querying the most uncertain pairs, IMP targets pairs with the highest probability of exceeding the current "best" candidate.

Comparison of learner strategies, highlighting how GPPL-based methods like IMP handle epistemic uncertainty and focus on finding the best candidate.

To address the "cold start" problem, the model uses warm-starting with priors. Predictions from pre-trained models (like BERT or COALA) are used to set the initial mean of the Gaussian Process, giving the model a head start before any user interaction occurs.

Experimental Setup

The approach was evaluated on two distinct tasks:

  • Community Question Answering (cQA): Using StackExchange data (Apple, Cooking, and Travel), the goal was to identify the "accepted" answer from a pool of candidates.
  • Multi-Document Summarization: Using DUC 2001, 2002, and 2004 datasets, the task was to rank summaries against expert-written models.

Key Results and Insights

The BO-based approach (GPPL with IMP) consistently outperformed traditional active learning baselines.

Performance Gains

In cQA tasks, the IMP strategy achieved a significant increase in answer selection accuracy after only 10 rounds of interaction. Similarly, for summary ranking, IMP reached higher NDCG scores faster than uncertainty-based methods. The integration of priors proved crucial; using pre-trained model predictions as a GP prior significantly outperformed simple score averaging.

Performance results for cQA and summarization tasks, demonstrating the effectiveness of the IMP strategy and the benefit of using pre-trained model priors.

The "Uncertainty Dip"

One critical insight is the observation of an "uncertainty dip" in standard AL. Uncertainty-based strategies often get distracted by poor-quality candidates that the model is "unsure" about, causing a performance drop in early iterations. By focusing on high-utility regions, the IMP strategy avoids this pitfall, maintaining a steady upward trajectory in ranking quality.

Reward Learning for RL

Beyond ranking, the authors demonstrated that a ranking function learned through just a few dozen interactions can serve as an effective reward function for Reinforcement Learning (RL) agents. This leads to state-of-the-art results in summary generation, producing outputs that better align with human expert preferences.

Conclusion and Future Work

While highly effective, the approach faces challenges with high-dimensional inputs like BERT embeddings, which require more labels to overcome data sparsity. Future research will focus on real-world human trials to assess user fatigue and investigating more sophisticated ways to integrate confidence levels from various pre-trained models. Overall, this work demonstrates that focusing on expected improvement rather than general uncertainty is a more efficient path toward personalized NLP.

Summary updated

BibTeX
@article{simpson2020interactive,
  author = {Edwin Simpson and Yang Gao and Iryna Gurevych},
  title = {{Interactive Text Ranking with Bayesian Optimisation: A Case Study on Community QA and Summarisation}},
  journal = {Trans. Assoc. Comput. Linguistics},
  year = {2020},
  doi = {10.1162/tacl\_a\_00344},
}
Figure