Lune

NeurIPS2023顶会

Statistical Knowledge Assessment for Large Language Models

Qingxiu Dong, Jingjing Xu, Lingpeng Kong, Zhifang Sui, Lei Li

摘要

Given varying prompts regarding a factoid question, can a large language model (LLM) reliably generate factually correct answers? Existing LLMs may generate distinct responses for different prompts. In this paper, we study the problem of quantifying knowledge contained in an LLM regarding a given set of facts. We propose KaRR, a statistical approach to assess factual knowledge for LLMs. The main idea is to estimate the ratio of LLM generating text corresponding to the answer entity given diverse prompts of the subject and the querying relation, versus it generating by random chances. Our assessment suite contains a comprehensive set of 994,123 entities and 600 relations, with 1,395,905 text aliases. We use our method to evaluate 20 LLMs of various sizes, including LLaMA, Alpaca, OPT, etc. Experiments show that our results have a strong correlation (0.43 Kendall's τ\tau) with the results of human assessment on LLMs. Our results reveal that the knowledge in LLMs with the same backbone architecture adheres to the scaling law, while tuning on instruction-following data sometimes compromises the model's capability to generate factually correct text reliably.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Knowledge Boundary of Large Language Models: A Survey 引用了 Calibrating Factual Knowledge in Pretrained Language Models
  • Knowledge Boundary of Large Language Models: A Survey 引用了 Benchmarking Knowledge Boundary for Large Language Models: A Different Perspective on Model Evaluation
  • Knowledge Conflicts for LLMs: A Survey 引用了 Language Models are Few-Shot Learners
  • A Survey on In-context Learning 引用了 Language Models are Few-Shot Learners
  • A Survey on In-context Learning 引用了 Calibrate Before Use: Improving Few-shot Performance of Language Models
  • Calibrating Factual Knowledge in Pretrained Language Models 引用了 Language Models are Few-Shot Learners
  • AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts 引用了 Language Models are Few-Shot Learners
  • Benchmarking Knowledge Boundary for Large Language Models: A Different Perspective on Model Evaluation 引用了 AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts
  • Benchmarking Knowledge Boundary for Large Language Models: A Different Perspective on Model Evaluation 引用了 Language Models are Few-Shot Learners
  • Calibrate Before Use: Improving Few-shot Performance of Language Models 引用了 Language Models are Few-Shot Learners
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. A Survey on In-context LearningQingxiu Dong, Lei Li, Damai Dai, Ce Zheng 等EMNLP 2024 · 479 次引用
  2. Knowledge Conflicts for LLMs: A SurveyRongwu Xu, Zehan Qi, Zhijiang Guo, Cunxiang Wang 等EMNLP 2024 · 38 次引用
  3. Knowledge Boundary of Large Language Models: A SurveyMoxin Li, Yong Zhao, Wenxuan Zhang, Shuaiyi Li 等ACL 2025 · 33 次引用
  4. Benchmarking Knowledge Boundary for Large Language Models: A Different Perspective on Model EvaluationXunjian Yin, Xu Zhang, Jie Ruan, Xiaojun WanACL 2024

它引用的 Paper8

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. Calibrate Before Use: Improving Few-shot Performance of Language ModelsZihao Zhao, Eric Wallace, Shi Feng, Dan Klein 等ICML 2021 · 1,843 次引用
  3. AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated PromptsTaylor Shin, Yasaman Razeghi, Robert L. Logan IV, Eric Wallace 等EMNLP 2020 · 1,162 次引用
  4. Calibrating Factual Knowledge in Pretrained Language ModelsQingxiu Dong, Damai Dai, Yifan Song, Jingjing Xu 等EMNLP Findings 2022 · 39 次引用
  5. Say What You Mean! Large Language Models Speak Too Positively about Negative Commonsense KnowledgeJiangjie Chen, Wei Shi, Ziquan Fu, Sijie Cheng 等ACL 2023 · 23 次引用

相关 Paper

  1. Factual Confidence of LLMs: on Reliability and Robustness of Current EstimatorsMatéo Mahaut, Laura Aina, Paula Czarnowska, Momchil Hardalov 等ACL 2024 · 7 次引用
  2. Systematic Assessment of Factual Knowledge in Large Language ModelsLinhao Luo, Thuy-Trang Vu, Dinh Q. Phung, Gholamreza HaffariEMNLP Findings 2023 · 18 次引用
  3. Towards Understanding Factual Knowledge of Large Language ModelsXuming Hu, Junzhe Chen, Xiaochuan Li, Yufei Guo 等ICLR 2024 · 21 次引用
  4. What Matters in Memorizing and Recalling Facts? Multifaceted Benchmarks for Knowledge Probing in Language ModelsXin Zhao, Naoki Yoshinaga, Daisuke ObaEMNLP Findings 2024 · 2 次引用
  5. The Effect of Scaling, Retrieval Augmentation and Form on the Factual Consistency of Language ModelsLovisa Hagström, Denitsa Saynova, Tobias Norlund, Moa Johansson 等EMNLP 2023 · 6 次引用
黄昏的海面,两侧是细线勾勒的悬崖