[Paper Review] Language Models that Seek for Knowledge: Modular Search & Generation for Dialogue and Prompt Completion
This paper introduces SeeKeR, a modular language model that sequentially performs search, knowledge extraction, and final response generation to produce up-to-date, factual dialogue and prompt completions, outperforming prior models in knowledge-grounded tasks.
Language models (LMs) have recently been shown to generate more factual responses by employing modularity (Zhou et al., 2021) in combination with retrieval (Adolphs et al., 2021). We extend the recent approach of Adolphs et al. (2021) to include internet search as a module. Our SeeKeR (Search engine->Knowledge->Response) method thus applies a single LM to three modular tasks in succession: search, generating knowledge, and generating a final response. We show that, when using SeeKeR as a dialogue model, it outperforms the state-of-the-art model BlenderBot 2 (Chen et al., 2021) on open-domain knowledge-grounded conversations for the same number of parameters, in terms of consistency, knowledge and per-turn engagingness. SeeKeR applied to topical prompt completions as a standard language model outperforms GPT2 (Radford et al., 2019) and GPT3 (Brown et al., 2020) in terms of factuality and topicality, despite GPT3 being a vastly larger model. Our code and models are made publicly available.
Motivation & Objective
- Motivate the need for up-to-date, factually reliable dialogue and prompt completion systems.
- Propose a modular architecture that separates search, knowledge extraction, and response generation.
- Demonstrate that a single LM can perform all three modules in sequence to improve factuality and engagement.
- Evaluate SeeKeR on open-domain dialogue and topical prompt completion against state-of-the-art baselines.
Proposed method
- Introduce a single transformer architecture used iteratively as three modules: Search, Knowledge, and Response.
- Encode the original context and module outputs as inputs to the next module (SeeKeR pipeline).
- Train the modules with supervised tasks derived from Wizard of Internet, Wizard of Wikipedia, SQuAD, TriviaQA, Natural Questions, MS MARCO and dialogue datasets.
- Pre-train on language modeling and dialogue data (R2C2) and fine-tune for both dialogue and language modeling tasks.
- For dialogue, compare SeeKeR to BlenderBot 2 and baselines using human judgments on consistency, knowledge, correctness, and engagement.
Experimental results
Research questions
- RQ1Can a single LM effectively perform a three-step modular pipeline (search, knowledge extraction, final generation) for up-to-date information in dialogue?
- RQ2Does SeeKeR improve factuality, knowledge grounding, and per-turn engagement compared to prior open-domain dialogue systems?
- RQ3Can SeeKeR extend to topical prompt completion and outperform large GPT-family models on factuality and topicality when internet search is used?
- RQ4What are the trade-offs and failure modes when integrating web search into a modular generation framework?
Key findings
- SeeKeR outperforms state-of-the-art open-domain dialogue models (e.g., BlenderBot 2) on consistency, knowledge integration, and per-turn engagement in human evaluations.
- Using gold documents or gold knowledge improves SeeKeR performance across metrics, with the search-enabled variant providing strong factual grounding.
- In topical prompt completion, SeeKeR with internet search yields more true, topical, and less hallucinated completions than GPT-2 and GPT-3 in human evaluations, despite being substantially smaller.
- A multi-task SeeKeR that jointly handles dialogue and language modeling achieves strong performance across topical prompts and open-domain dialogue evaluations, with lower hallucination than GPT-3 in some settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.