Improving Sequential Query Recommendation with Immediate User Feedback
Shameem A Puthiya Parambath, Christos Anagnostopoulos, Roderick Murray-Smith
TL;DR
The paper tackles next-query recommendation in interactive knowledge-discovery tasks by modeling feedback as an adversarial, non-stochastic MAB with a dynamic, context-dependent action set. It introduces TEF, a non-stochastic MAB that ensembles transformer-based autoregressive experts to build a growing candidate set $\mathcal{C}_t$ and samples from a learned distribution $p_t$ using immediate user rewards. A theoretical regret bound of $\mathcal{O}\left(\sqrt{\lvert \mathcal{C}_T\rvert / T}\right)$ is proven, and empirical evaluation on a large-scale query log demonstrates substantial improvements over single-expert transformer baselines, with fine-tuned CLMs outperforming MLMs. The work highlights the practical impact of integrating real-time user feedback with transformer ensembles for sequential query prediction and provides open-source data and code for reproducibility.
Abstract
We propose an algorithm for next query recommendation in interactive data exploration settings, like knowledge discovery for information gathering. The state-of-the-art query recommendation algorithms are based on sequence-to-sequence learning approaches that exploit historical interaction data. Due to the supervision involved in the learning process, such approaches fail to adapt to immediate user feedback. We propose to augment the transformer-based causal language models for query recommendations to adapt to the immediate user feedback using multi-armed bandit (MAB) framework. We conduct a large-scale experimental study using log files from a popular online literature discovery service and demonstrate that our algorithm improves the per-round regret substantially, with respect to the state-of-the-art transformer-based query recommendation models, which do not make use of immediate user feedback. Our data model and source code are available at https://github.com/shampp/exp3_ss
