paper-with-me

홈 › Papers

KAMEL : Knowledge Analysis with Multitoken Entities in Language Models

2022-11-01 · Automated Knowledge Base Construction 2022 11 · Jan-Christoph Kalo, Leandra Fichtel

Large language models (LMs) have been shown to capture large amounts of relational knowledge from the pre-training corpus. These models can be probed for this factual knowledge by using cloze-style prompts as demonstrated on the LAMA benchmark. However, recent studies have uncovered that results only perform well, because the models are good at performing educated guesses or recalling facts from the training data. We present a novel Wikidata-based benchmark dataset, KAMEL , for probing relational knowledge in LMs. In contrast to previous datasets, it covers a broader range of knowledge, probes for single-, and multi-token entities, and contains facts with literal values. Furthermore, the evaluation procedure is more accurate, since the dataset contains alternative entity labels and deals with higher-cardinality relations. Instead of performing the evaluation on masked language models, we present results for a variety of recent causal LMs in a few-shot setting. We show that indeed novel models perform very well on LAMA, achieving a promising F1-score of 52.90%, while only achieving 17.62% on KAMEL. Our analysis shows that even large language models are far from being able to memorize all varieties of relational knowledge that is usually stored knowledge graphs.

📄 PDF Abstract BibTeX

Code (1)

JanKalo/KAMEL pytorch

Tasks

Knowledge GraphsProbing Language Models

Methods 이 논문이 사용한 방법론

Tanh Activation 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
LAMA 설명 없음

Similar Papers 제목 키워드 기반

KunlunBaize: LLM with Multi-Scale Convolution and Multi-Token Prediction Under TransformerX Framework

2025-02-27 · Cheng Li, Jiexiong Liu, Yixuan Chen, Yanqin Jia 외

Large language models have demonstrated remarkable performance across various tasks, yet they face challenges such as low computational efficiency, gradient vanishing, and difficulties in capturing complex feature intera…

Computational Efficiency

Chain-of-Tools: Utilizing Massive Unseen Tools in the CoT Reasoning of Frozen Language Models

2025-03-21 · Mengsong Wu, Tong Zhu, Han Han, Xiang Zhang 외

Tool learning can further broaden the usage scenarios of large language models (LLMs). However most of the existing methods either need to finetune that the model can only use tools seen in the training data, or add tool…

GSM8KQuestion Answering

Can LLMs Patch Security Issues?

2023-11-13 · Kamel Alrashedy, Abdullah Aljasser, Pradyumna Tambwekar, Matthew Gombolay

Large Language Models (LLMs) have shown impressive proficiency in code generation. Unfortunately, these models share a weakness with their human counterparts: producing code that inadvertently has security vulnerabilitie…

Code GenerationDiversity

Re-Initialization Token Learning for Tool-Augmented Large Language Models

2025-06-17 · Chenghao Li, Liu Liu, Baosheng Yu, Jiayan Qiu 외

Large language models have demonstrated exceptional performance, yet struggle with complex tasks such as numerical reasoning, plan generation. Integrating external tools, such as calculators and databases, into large lan…

GSM8KQuestion Answering

Improving Biomedical Pretrained Language Models with Knowledge

2021-04-21 · NAACL (BioNLP) 2021 6 · Zheng Yuan, Yijia Liu, Chuanqi Tan, Songfang Huang 외

Pretrained language models have shown success in many natural language processing tasks. Many works explore incorporating knowledge into language models. In the biomedical domain, experts have taken decades of effort on …

Entity LinkingLanguage ModelingLanguage Modellingnamed-entity-recognition+4