Language Models that Seek for Knowledge: Modular Search & Generation for Dialogue and Prompt Completion
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Dialogue Evaluation | Wizard of Wikipedia (WW) | Perplexity12.4 | 4 | |
| Dialogue Evaluation | Blended Skill Talk (BST) | Perplexity11.7 | 4 | |
| Dialogue Evaluation | ConvAI2 (C2) | Perplexity10.5 | 4 | |
| Dialogue Evaluation | Empathetic Dialogues (ED) | Perplexity9.1 | 4 | |
| Dialogue Evaluation | Wizard of Internet (WoI) | Perplexity14.6 | 4 | |
| Dialogue Response Generation | SaferDialogues | PPL13.8 | 4 | |
| Dialogue Safety Evaluation | Safety Bench Unit Tests | Safe Rate2.2 | 4 |