Response Enhanced Semi-supervised Dialogue Query Generation
Jianheng Huang, Ante Wang, Linfeng Gao, Linfeng Song, Jinsong Su
TL;DR
This work tackles the problem of generating effective search queries from dialogue histories to support knowledge-grounded dialogue systems. It introduces SemiDQG, a three-stage semi-supervised framework that uses a response-augmented query producer (RA) to guide a standard query producer (QP); Stage 2 applies similarity-based RA query selection to create high-quality pseudo instances from unlabeled data, and Stage 3 employs RA-guided reinforcement learning to provide fine-grained signals for QP refinement. Empirical results on cross-domain and low-resource benchmarks show that SemiDQG outperforms ChatGPT and competitive baselines, demonstrating strong data efficiency and domain robustness. The work highlights the value of leveraging response information and carefully curated pseudo-labels to improve knowledge-seeking dialogue components, and it provides code to facilitate reproducibility and further research.
Abstract
Leveraging vast and continually updated knowledge from the Internet has been considered an important ability for a dialogue system. Therefore, the dialogue query generation task is proposed for generating search queries from dialogue histories, which will be submitted to a search engine for retrieving relevant websites on the Internet. In this regard, previous efforts were devoted to collecting conversations with annotated queries and training a query producer (QP) via standard supervised learning. However, these studies still face the challenges of data scarcity and domain adaptation. To address these issues, in this paper, we propose a semi-supervised learning framework -- SemiDQG, to improve model performance with unlabeled conversations. Based on the observation that the search query is typically related to the topic of dialogue response, we train a response-augmented query producer (RA) to provide rich and effective training signals for QP. We first apply a similarity-based query selection strategy to select high-quality RA-generated pseudo queries, which are used to construct pseudo instances for training QP and RA. Then, we adopt the REINFORCE algorithm to further enhance QP, with RA-provided rewards as fine-grained training signals. Experimental results and in-depth analysis of three benchmarks show the effectiveness of our framework in cross-domain and low-resource scenarios. Particularly, SemiDQG significantly surpasses ChatGPT and competitive baselines. Our code is available at \url{https://github.com/DeepLearnXMU/SemiDQG}.
