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

EAVIT:通过大语言模型从文本数据中高效且准确地识别人类价值

EAVIT: Efficient and Accurate Human Value Identification from Text data via LLMs

National Key Laboratory of General Artificial Intelligence, School of Intelligence Science and Technology, Peking University(国家通用人工智能重点实验室,智能科学与技术学院,北京大学)

Wenhao Zhu, Yuhang Xie, Guojie Song, Xin Zhang

AI总结:

针对在线大语言模型处理长上下文价值识别性能下降、成本高的问题,提出结合本地小型价值检测器与在线LLM的EAVIT框架,通过生成初始估计构建精简提示,在大幅减少token消耗的同时提升识别性能。

摘要:

大语言模型(LLM)的快速发展已革新了诸多领域,包括从文本数据中识别和发现人类价值的任务。尽管传统自然语言处理(NLP)模型(如BERT)已被用于该任务,但其文本数据表征能力远不及GPT等新兴LLM。然而,在线LLM在处理价值识别所需的长上下文时性能往往会下降,同时还会产生高昂的计算成本。为应对这些挑战,我们提出EAVIT——一种高效且准确的人类价值识别框架,它结合了本地可微调LLM与在线黑盒LLM两者的优势。该框架采用价值检测器(一种小型本地语言模型)生成初始价值估计,再利用这些估计为在线LLM构建简洁的输入提示,从而实现准确的最终价值识别。为训练价值检测器,我们提出了专门针对价值识别任务的基于解释的训练与数据生成技术,以及用于优化LLM输入提示简洁性的采样策略。与直接查询在线LLM相比,我们的方法可将输入token数量最多减少1/6,同时性能始终优于传统NLP方法及其他基于LLM的策略。

英文摘要:

The rapid evolution of large language models (LLMs) has revolutionized various fields, including the identification and discovery of human values within text data. While traditional NLP models, such as BERT, have been employed for this task, their ability to represent textual data is significantly outperformed by emerging LLMs like GPTs. However, the performance of online LLMs often degrades when handling long contexts required for value identification, which also incurs substantial computational costs. To address these challenges, we propose EAVIT, an efficient and accurate framework for human value identification that combines the strengths of both locally fine-tunable and online black-box LLMs. Our framework employs a value detector - a small, local language model - to generate initial value estimations. These estimations are then used to construct concise input prompts for online LLMs, enabling accurate final value identification. To train the value detector, we introduce explanation-based training and data generation techniques specifically tailored for value identification, alongside sampling strategies to optimize the brevity of LLM input prompts. Our approach effectively reduces the number of input tokens by up to 1/6 compared to directly querying online LLMs, while consistently outperforming traditional NLP methods and other LLM-based strategies.

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

↑