HyperAIHyperAI

Command Palette

Search for a command to run...

Antworten verweigern statt halluzinieren: Identifikation von Wissenslücken in LLMs durch Multi-LLM-Kollaboration

Shangbin Feng Weijia Shi Yike Wang Wenxuan Ding Vidhisha Balachandran Yulia Tsvetkov

Zusammenfassung

Trotz Bemühungen, das Wissen großer Sprachmodelle (LLMs) zu erweitern, können Wissenslücken – fehlende oder veraltete Informationen in LLMs – angesichts der dynamischen Natur von Wissen stets bestehen bleiben. In dieser Arbeit untersuchen wir Ansätze zur Identifikation von Wissenslücken in LLMs und zur Verweigerung von Antworten, wenn Wissenslücken vorliegen. Zunächst passen wir bestehende Ansätze zur Modellkalibrierung oder -anpassung durch Feinabstimmung bzw. Prompting an und analysieren deren Fähigkeit, die Generierung von Ausgaben mit geringer Konfidenz zu vermeiden. Motiviert durch deren Versagen bei der Selbstreflexion und deren übermäßige Abhängigkeit von zurückgehaltenen Validierungsmengen schlagen wir zwei neuartige Ansätze vor, die auf Modellkollaboration basieren, d. h. LLMs befragen andere LLMs nach Wissenslücken, entweder kooperativ oder kompetitiv. Umfangreiche Experimente mit drei LLMs auf vier Frage-Antwort-Aufgaben mit unterschiedlichen Wissensdomänen zeigen, dass sowohl kooperativ als auch kompetitiv ausgerichtete Ansätze zur Aufdeckung von Wissenslücken Verbesserungen von bis zu 19,3 % bei der Verweigerungsgenauigkeit gegenüber der besten Baseline erzielen. Weitere Analysen belegen, dass unsere Verweigerungsmethoden Fehlerfälle der Abrufaugmentation und Wissenslücken im mehrstufigen Schlussfolgern identifizieren.

One-sentence Summary

Researchers from University of Washington, UC Berkeley, HKUST, and CMU propose cooperative and competitive multi-LLM collaboration approaches in which LLMs probe each other to identify knowledge gaps and abstain from low-confidence answers, achieving up to 19.3%19.3\%19.3% improvement in abstain accuracy over the strongest baseline across four QA tasks.

Key Contributions

  • A taxonomy of 11 abstention baselines is constructed across calibration, training, prompting, and self-consistency methods, repurposing them as AbstainQA mechanisms for identifying LLM knowledge gaps and preventing incorrect answers. This evaluation examines the limits of existing uncertainty and self-reflection approaches.

  • Two collaboration-based abstention methods, COOPERATE and COMPETE, are proposed, in which one LLM probes another for missing or uncertain knowledge cooperatively or competitively. These methods promote mechanistic reflection through multi-LLM interaction and target robust abstention in direct QA, retrieval-augmented QA, and multi-hop reasoning.

  • Experiments with three LLMs on four QA tasks demonstrate that COOPERATE and COMPETE improve abstain accuracy by up to 19.3% over the strongest baseline, advancing state-of-the-art AbstainQA performance. Further analysis shows the methods can pinpoint failure cases in retrieval-augmented QA and knowledge gaps in multi-hop reasoning.

Introduction

Large language models encode substantial real-world knowledge, but gaps in training data or unreliable internal knowledge can lead to confident hallucinations and biased answers. In question answering, it is therefore critical to detect when a model should abstain rather than generate an incorrect response. Existing abstention methods, such as calibration, training, prompting, and self-consistency approaches, often require held-out data or rely on a single model’s ability to evaluate its own outputs, which can limit generalization and stability. The authors contribute a taxonomy of 11 existing abstention baselines and propose COOPERATE and COMPETE, two multi-LLM collaboration methods that use cooperative or competitive reflection to detect knowledge gaps more robustly.

Method

The authors formulate LLM abstention as a reliability estimation problem over a generated answer. Given a question q\pmb{q}q and the model answer a=LLM(q)\pmb{a}=\mathrm{LLM}(\pmb{q})a=LLM(q), the goal is to decide whether to accept a\pmb{a}a or reject it and abstain. A heldout set (q,aˉ)∈H(\pmb{q},\bar{\pmb{a}})\in\mathcal{H}(q,aˉ)∈H is used to tune thresholds or classification parameters so that the abstention policy minimizes erroneous accept and reject decisions.

One class of methods relies on calibration. In token probability based abstention, the LLM produces a confidence score p(a)p(\pmb{a})p(a) from token probabilities. The threshold p∗p^*p∗ is selected on the heldout set by minimizing abstention errors:

p∗=arg⁡min⁡p′∑a=aˉ1(p(a)<p′)+∑a≠aˉ1(p(a)≥p′).p^*=\arg\min_{p'} \sum_{\pmb{a}=\bar{\pmb{a}}}\mathbb{1}(p(\pmb{a})<p')+\sum_{\pmb{a}\neq\bar{\pmb{a}}}\mathbb{1}(p(\pmb{a})\ge p').p∗=argp′min​a=aˉ∑​1(p(a)<p′)+a=aˉ∑​1(p(a)≥p′).

At inference time, the model abstains whenever p(a)<p∗p(\pmb{a})<p^*p(a)<p∗. Temperature scaling improves this calibration process by reshaping the answer distribution with a scalar temperature τ\tauτ and optimizing τ\tauτ on the heldout set using cross entropy. After obtaining a calibrated temperature τ∗\tau^*τ∗, a probability threshold is applied to the temperature scaled output. The authors also consider verbalized confidence, where the LLM first generates an answer and is then prompted to report the probability that the answer is correct. This verbalized score is thresholded in the same way.

Training based abstention methods learn a decision boundary from model states or generated answers. For hidden layer probing, the authors extract the question encoding eq=LLM-hidden(q)\mathbf{e}_{\pmb{q}}=\mathrm{LLM}\text{-}\mathrm{hidden}(\pmb{q})eq​=LLM-hidden(q) and train a linear probe or feed forward module to predict accept or reject:

p(ℓ∣q)∝exp⁡(FFN(eq)).p(\ell\mid\pmb{q})\propto \exp(\mathrm{FFN}(\mathbf{e}_{\pmb{q}})).p(ℓ∣q)∝exp(FFN(eq​)).

The probe is optimized with cross entropy on the heldout set, and the LLM abstains when the predicted label indicates rejection. An external verifier variant trains a separate encoder model to judge the truthfulness of the generated answer from the pair (q,LLM(q))(\pmb{q},\mathrm{LLM}(\pmb{q}))(q,LLM(q)), often using the [CLS] representation for classification. Instruction tuning based abstention instead constructs supervised examples from the heldout set. If the generated answer is correct, the pair (q,a)(\pmb{q},\pmb{a})(q,a) becomes a tuning instance. If it is incorrect, the target is replaced with an explicit abstain message. At inference time, generating the abstain message serves as the abstention signal.

Prompting based methods elicit self evaluation without changing model weights. The LLM can be asked to judge its own answer as true or false, to indicate whether additional information is needed, or to first generate an answer freely and then check whether that answer matches a multiple choice option. In these variants, the model is instructed to abstain when the answer is judged false, more information is required, or no option matches the freely generated answer. Consistency based methods add a further signal by checking whether the model repeatedly produces the same answer. For multiple reasoning paths {(ai,pi)}i=1k\{(\pmb{a}_i,\pmb{p}_i)\}_{i=1}^k{(ai​,pi​)}i=1k​, the authors define a plurality index:

plu(LLM,q,k)=max⁡ai∑j=1k1(aj=ai).\mathrm{plu}(\mathrm{LLM},\pmb{q},k)=\max_{\pmb{a}_i}\sum_{j=1}^k \mathbb{1}(\pmb{a}_j=\pmb{a}_i).plu(LLM,q,k)=ai​max​j=1∑k​1(aj​=ai​).

This measures how often the most frequent answer appears among the kkk generated paths. A threshold τ∗\tau^*τ∗ is tuned on the heldout set, and the model abstains when plu(LLM,q,k)<τ∗⋅k\mathrm{plu}(\mathrm{LLM},\pmb{q},k)<\tau^*\cdot kplu(LLM,q,k)<τ∗⋅k.

To reduce dependence on unstable self evaluation and limited heldout data, the authors further propose a multi LLM collaboration framework. Instead of asking a single LLM to evaluate its own output, multiple LLMs interact to produce external evidence for accept or reject decisions. The framework combines two complementary mechanisms, COOPERATE and COMPETE.

The proposed collaboration pipeline is illustrated below.

In the COOPERATE mode, a question q\pmb{q}q is first answered by a primary LLM, yielding a=LLM(q)\pmb{a}=\mathrm{LLM}(\pmb{q})a=LLM(q). Several expert LLMs then provide natural language feedback {f1,…,fk}\{f_1,\ldots,f_k\}{f1​,…,fk​} about the proposed answer. These feedback signals are summarized by a judge LLM, which produces the final abstention decision:

LLM(q,a,{f1,…,fk})→{accept,reject}.\mathrm{LLM}(\pmb{q},\pmb{a},\{f_1,\ldots,f_k\})\rightarrow\{\mathrm{accept},\mathrm{reject}\}.LLM(q,a,{f1​,…,fk​})→{accept,reject}.

The feedback can be generated in two modes. In the self mode, the same LLM is prompted to specialize in different domains by first generating a domain specific knowledge passage about q\pmb{q}q, then acting as a reviewer to assess the proposed answer. In the others mode, separate LLMs independently generate feedback fi=LLMi(q,a)\pmb{f}_i=\mathrm{LLM}_i(\pmb{q},\pmb{a})fi​=LLMi​(q,a). This design leverages differences in model knowledge coverage so that gaps in one model’s internal knowledge can be identified by another model’s feedback.

In the COMPETE mode, abstention is driven by answer stability under conflicting information. Starting from the original answer a=LLM(q)\pmb{a}=\mathrm{LLM}(\pmb{q})a=LLM(q), other LLMs generate alternative answers {a1′,…,ak′}\{\pmb{a}'_1,\ldots,\pmb{a}'_k\}{a1′​,…,ak′​} along with supporting knowledge passages. The original LLM is then prompted again with each conflicting knowledge passage to produce a revised answer:

a~i=LLM(knowledgei,q).\tilde{\pmb{a}}_i=\mathrm{LLM}(\mathrm{knowledge}_i,\pmb{q}).a~i​=LLM(knowledgei​,q).

If a~i\tilde{\pmb{a}}_ia~i​ remains equal to the original answer, the model demonstrates consistency. If it changes, the model has been influenced by the conflicting input, which signals lower confidence. The process is repeated across multiple alternative answers, and the LLM abstains when the answer changes in a majority of trials.

Experiment

The experiments evaluate LLM abstention across three models and four knowledge-intensive tasks using measures of answer reliability, coverage, abstention quality, and calibration. The results show that collaboration-based abstention methods generally outperform existing baselines and remain robust across diverse domains, reasoning contexts, and model strengths. Additional analyses show that these methods handle absolute abstention scenarios, selective retrieval, multihop reasoning localization, and calibrated abstention scores, while COMPETE emphasizes conservative reliability and COOPERATE offers a more balanced coverage.

Collaboration based abstain strategies, COOPERATE and COMPETE, show the strongest overall reliable accuracy across the four tasks and three language models. Calibration, training, and consistency methods generally outperform simple prompting, while calibration and stronger base models are associated with better abstention quality. COOPERATE and COMPETE give the best reliable accuracy in most evaluated settings over prior baselines. COOPERATE benefits from stronger base models, suggesting its multi step feedback process needs higher capability LLMs. COMPETE strongly favors reliability by abstaining except in highly confident cases, leading to high reliable accuracy. Instruction tuning and self consistency threshold are strong baselines but depend on held out data for tuning. Abstention quality tends to track base model utility, with stronger LLMs achieving better average abstain accuracy.

The results compare abstain strategies on MMLU with Mistral-7B under no retrieval and retrieval settings. Retrieval notably weakens ASK CALIBRATE, while collaboration-based abstain behavior appears more stable when retrieved context is prepended. COMPETE shows strong answer quality without retrieval, supporting its use in selective retrieval decision making. ASK CALIBRATE loses much of its abstain performance when retrieved context is added. COOP-SELF changes only modestly with retrieval, suggesting robustness to prepended context. COMPETE has the strongest answer F1 among the no retrieval variants shown.

With Mistral-7B, abstention calibration error changes substantially across tasks and methods, showing that calibration depends on the approach and dataset. ASK CALIBRATE is comparatively strong on MMLU and Hellaswag, while COOP-SELF and VERIFIER provide the best calibration on their respective strongest tasks. ASK CALIBRATE has the lowest abstain calibration error on MMLU and Hellaswag. COOP-SELF is strongest on K-Cross, and VERIFIER is strongest on Propaganda, indicating dataset-specific calibration tradeoffs.

The experiments evaluate abstention strategies across multiple tasks and language models, comparing collaboration-based, calibration, training, consistency, and prompting baselines. Collaboration-based methods, especially COOPERATE and COMPETE, generally provide the strongest reliable accuracy, with COMPETE being highly conservative and COOPERATE benefiting from stronger base models. Retrieval-focused MMLU results show that retrieved context can weaken some calibrated methods while collaboration-based strategies remain more stable, and calibration quality varies by method and dataset. Overall, reliable abstention depends on both strategy design and base model capability, with collaboration-based approaches offering the most robust performance.


KI mit KI entwickeln

Von der Idee bis zum Launch – beschleunigen Sie Ihre KI-Entwicklung mit kostenlosem KI-Co-Coding, sofort einsatzbereiter Umgebung und bestem GPU-Preis.

KI-gestütztes kollaboratives Programmieren
Sofort einsatzbereite GPUs
Die besten Preise

HyperAI Newsletters

Abonnieren Sie unsere neuesten Updates
Wir werden die neuesten Updates der Woche in Ihren Posteingang liefern um neun Uhr jeden Montagmorgen
Unterstützt von MailChimp