Saved in:
Bibliographic Details
Main Authors: Zhao, Jihao, Zhou, Chunlai, Li, Daixuan, Zu, Shuaishuai, Qin, Biao
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.02311
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915605320302592
author Zhao, Jihao
Zhou, Chunlai
Li, Daixuan
Zu, Shuaishuai
Qin, Biao
author_facet Zhao, Jihao
Zhou, Chunlai
Li, Daixuan
Zu, Shuaishuai
Qin, Biao
contents The collaborative paradigm of large and small language models (LMs) effectively balances performance and cost, yet its pivotal challenge lies in precisely pinpointing the moment of invocation when hallucinations arise in small LMs. Previous optimization efforts primarily focused on post-processing techniques, which were separate from the reasoning process of LMs, resulting in high computational costs and limited effectiveness. In this paper, we propose a practical invocation evaluation metric called AttenHScore, which calculates the accumulation and propagation of hallucinations during the generation process of small LMs, continuously amplifying potential reasoning errors. By dynamically adjusting the detection threshold, we achieve more accurate real-time invocation of large LMs. Additionally, considering the limited reasoning capacity of small LMs, we leverage uncertainty-aware knowledge reorganization to assist them better capture critical information from different text chunks. Extensive experiments reveal that our AttenHScore outperforms most baselines in enhancing real-time hallucination detection capabilities across multiple QA datasets, especially when addressing complex queries. Moreover, our strategies eliminate the need for additional model training and display flexibility in adapting to various transformer-based LMs.
format Preprint
id arxiv_https___arxiv_org_abs_2505_02311
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Invoke Interfaces Only When Needed: Adaptive Invocation for Large Language Models in Question Answering
Zhao, Jihao
Zhou, Chunlai
Li, Daixuan
Zu, Shuaishuai
Qin, Biao
Computation and Language
The collaborative paradigm of large and small language models (LMs) effectively balances performance and cost, yet its pivotal challenge lies in precisely pinpointing the moment of invocation when hallucinations arise in small LMs. Previous optimization efforts primarily focused on post-processing techniques, which were separate from the reasoning process of LMs, resulting in high computational costs and limited effectiveness. In this paper, we propose a practical invocation evaluation metric called AttenHScore, which calculates the accumulation and propagation of hallucinations during the generation process of small LMs, continuously amplifying potential reasoning errors. By dynamically adjusting the detection threshold, we achieve more accurate real-time invocation of large LMs. Additionally, considering the limited reasoning capacity of small LMs, we leverage uncertainty-aware knowledge reorganization to assist them better capture critical information from different text chunks. Extensive experiments reveal that our AttenHScore outperforms most baselines in enhancing real-time hallucination detection capabilities across multiple QA datasets, especially when addressing complex queries. Moreover, our strategies eliminate the need for additional model training and display flexibility in adapting to various transformer-based LMs.
title Invoke Interfaces Only When Needed: Adaptive Invocation for Large Language Models in Question Answering
topic Computation and Language
url https://arxiv.org/abs/2505.02311