arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.16760cs.AI
收藏

轻量级潜在验证器用于高效元生成策略

Lightweight Latent Verifiers for Efficient Meta-Generation Strategies

IDEAS NCBR &Witold Drzewakowski University of Warsaw(IDEAS NCBR与华沙大学);IDEAS NCBR &Konrad Staniszewski University of Warsaw(IDEAS NCBR与华沙大学);IDEAS NCBR NVIDIA &Piotr Miłoś IMPAN(IDEAS NCBR NVIDIA与波兰科学院)

Bartosz Piotrowski, Witold Drzewakowski, Konrad Staniszewski, Piotr Miłoś

AI总结:

本文提出轻量级验证器LiLaVe,从基础LLM隐藏状态提取正确性信号,以极小计算成本提升推理任务的准确性和效率,并设计了条件自校正等新策略。

摘要:

验证器是辅助模型,用于评估基础大型语言模型(LLM)生成的输出的正确性。它们在许多使用LLM解决推理密集型问题的策略中发挥着关键作用。通常,验证器本身也是LLM,其规模往往与所支持的基础模型相当或更大,这使得它们在计算上代价高昂。在这项工作中,我们引入了一种新颖的轻量级验证方法LiLaVe,它能够可靠地从基础LLM的隐藏状态中提取正确性信号。LiLaVe的一个关键优势是,它仅需传统基于LLM的验证器所需计算预算的一小部分即可运行。为了展示其实用性,我们将LiLaVe与流行的元生成策略(如best-of-n或自一致性)相结合。此外,我们设计了基于LiLaVe的新颖方法,如条件自校正或条件多数投票,这些方法在较小LLM的生成任务中显著提高了准确性和效率。我们的工作证明了从LLM隐藏状态中提取潜在信息的有效性,并为推理密集型应用开辟了可扩展且资源高效的解决方案之路。

英文摘要:

Verifiers are auxiliary models that assess the correctness of outputs generated by base large language models (LLMs). They play a crucial role in many strategies for solving reasoning-intensive problems with LLMs. Typically, verifiers are LLMs themselves, often as large (or larger) than the base model they support, making them computationally expensive. In this work, we introduce a novel lightweight verification approach, LiLaVe, which reliably extracts correctness signals from the hidden states of the base LLM. A key advantage of LiLaVe is its ability to operate with only a small fraction of the computational budget required by traditional LLM-based verifiers. To demonstrate its practicality, we couple LiLaVe with popular meta-generation strategies, like best-of-n or self-consistency. Moreover, we design novel LiLaVe-based approaches, like conditional self-correction or conditional majority voting, that significantly improve both accuracy and efficiency in generation tasks with smaller LLMs. Our work demonstrates the fruitfulness of extracting latent information from the hidden states of LLMs, and opens the door to scalable and resource-efficient solutions for reasoning-intensive applications.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑