WebGLM: Towards An Efficient Web-Enhanced Question Answering System with Human Preferences

Xiao Liu, Hanyu Lai, Hao Yu, Yifan Xu, Aohan Zeng +4 more
6/13/2023
cs.CLcs.AI

Official code: THUDM/WebGLM (1,601 stars, Apache-2.0, last commit 2025-03-25).

Abstract

We present WebGLM, a web-enhanced question-answering system based on the General Language Model (GLM). Its goal is to augment a pre-trained large language model (LLM) with web search and retrieval capabilities while being efficient for real-world deployments. To achieve this, we develop WebGLM with strategies for the LLM-augmented retriever, bootstrapped generator, and human preference-aware scorer. Specifically, we identify and address the limitations of WebGPT (OpenAI), through which WebGLM is enabled with accuracy, efficiency, and cost-effectiveness advantages. In addition, we propose systematic criteria for evaluating web-enhanced QA systems. We conduct multi-dimensional human evaluation and quantitative ablation studies, which suggest the outperformance of the proposed WebGLM designs over existing systems. WebGLM with the 10-billion-parameter GLM (10B) is shown to perform better than the similar-sized WebGPT (13B) and even comparably to WebGPT (175B) in human evaluation. The code, demo, and data are at \url{https://github.com/THUDM/WebGLM}.

View on arXivView PDF

Code Implementations(1)

THUDM/WebGLMOfficial100%
Apache-2.0

WebGLM: An Efficient Web-enhanced Question Answering System (KDD 2023)

1,601131Shell, PythonMay 28, 20231 years agoApache-2.0
chatgptllmrlhfwebglm

Similar Papers

Cite this paper

@article{liu2023webglm,
  title  = {WebGLM: Towards An Efficient Web-Enhanced Question Answering System with Human Preferences},
  author = {Xiao Liu and Hanyu Lai and Hao Yu and Yifan Xu and Aohan Zeng and Zhengxiao Du and Peng Zhang and Yuxiao Dong and Jie Tang},
  year   = {2023},
  eprint = {2306.07906},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.07906v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.07906.svg)](https://codeofpaper.com/paper/2306.07906)

Discussion