HackerPapers

arXiv:2305.14292cs.CL

WikiChat: Stopping the Hallucination of Large Language Model Chatbots by Few-Shot Grounding on Wikipedia

Sina J. Semnani, Violet Z. Yao, Heidi C. Zhang, Monica S. Lam

Abstract

This paper presents the first few-shot LLM-based chatbot that almost never hallucinates and has high conversationality and low latency. WikiChat is grounded on the English Wikipedia, the largest curated free-text corpus. WikiChat generates a response from an LLM, retains only the grounded facts, and combines them with additional information it retrieves from the corpus to form factual and engaging responses. We distill WikiChat based on GPT-4 into a 7B-parameter LLaMA model with minimal loss of quality, to significantly improve its latency, cost and privacy, and facilitate research and deployment. Using a novel hybrid human-and-LLM evaluation methodology, we show that our best system achieves 97.3% factual accuracy in simulated conversations. It significantly outperforms all retrieval-based and LLM-based baselines, and by 3.9%, 38.6% and 51.0% on head, tail and recent knowledge compared to GPT-4. Compared to previous state-of-the-art retrieval-based chatbots, WikiChat is also significantly more informative and engaging, just like an LLM. WikiChat achieves 97.9% factual accuracy in conversations with human users about recent topics, 55.0% better than GPT-4, while receiving significantly higher user ratings and more favorable comments.

arXiv comments
Findings of EMNLP 2023
Journal reference
DOI
doi:10.18653/v1/2023.findings-emnlp.157
Subjects
cs.CLComputation and Language

On Hacker News

Linked by 5 identifiable commenters in 5 comments across 2 threads, from Jul 2023 to Mar 2024. Found in 1 HN submission from May 2023 to May 2023. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments2 threads

    • Each of those is great, and more sophisticated strategies are being developed all the time: incorporating static analysis at inference time to ensure code is more than just syntactically correct [0]; to multi-LLM call agent-based frameworks [1]; decomposing hard tasks into many…

      emrek1View on HNParent context

    • Can someone update the link to https://arxiv.org/abs/2305.14292 ? The headline refers to only a small portion of the linked page.

      sebzim4500View on HNParent context

    • Easy-peasy, here's the citation: https://arxiv.org/abs/2305.14292 Looks like a legit paper.

      the_afView on HNParent context

    • Here is a direct link to the arxiv article: https://arxiv.org/abs/2305.14292 WikiChat: A Few-Shot LLM-Based Chatbot Grounded with Wikipedia

      dr_dshivView on HNParent context

    • esjeon is simply wrong; this study is not touting the accuracy of wikipedia's knowledge. It's touting their bot's ability to accurately convey wikipedia's knowledge. It's very much about the qualities of their bot, not the qualities of wikipedia.…

      mcpackiehView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.