arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2405.14125cs.AIcs.CL
收藏

ALI-Agent:通过基于智能体的评估来评估LLM与人类价值观的一致性

ALI-Agent: Assessing LLMs' Alignment with Human Values via Agent-based Evaluation

National University of Singapore(新加坡国立大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Singapore Management University(新加坡管理大学)

Jingnan Zheng, Han Wang, An Zhang, Tai D. Nguyen, Jun Sun, Tat-Seng Chua

AI总结:

ALI-Agent利用LLM智能体的自主能力,通过模拟和细化阶段自动生成并迭代测试场景,以评估LLM与人类价值观的一致性,有效识别长尾风险。

摘要:

大型语言模型(LLMs)在与人类价值观不一致时,可能会引发意外甚至有害的内容,对用户和社会构成严重风险。为了减轻这些风险,当前的评估基准主要采用专家设计的上下文场景来评估LLM与人类价值观的一致性。然而,这些基准的劳动密集型特性限制了其测试范围,阻碍了它们推广到开放世界用例的广泛多样性以及识别罕见但关键的长尾风险的能力。此外,这些静态测试无法适应LLM的快速演进,使得难以评估及时的一致性问题。为了解决这些挑战,我们提出了ALI-Agent,一个利用LLM驱动智能体的自主能力进行深入和自适应一致性评估的评估框架。ALI-Agent通过两个主要阶段运作:模拟(Emulation)和细化(Refinement)。在模拟阶段,ALI-Agent自动化生成逼真的测试场景。在细化阶段,它迭代地细化场景以探测长尾风险。具体来说,ALI-Agent包含一个记忆模块来指导测试场景生成,一个工具使用模块来减少人工劳动,例如评估目标LLM的反馈,以及一个动作模块来细化测试。在人类价值观的三个维度——刻板印象、道德和合法性——上的广泛实验表明,ALI-Agent作为一个通用评估框架,有效地识别了模型的不一致性。系统分析也验证了生成的测试场景代表了有意义的使用案例,并整合了增强措施来探测长尾风险。我们的代码可在https://github.com/SophieZheng998/ALI-Agent.git获取。

英文摘要:

Large Language Models (LLMs) can elicit unintended and even harmful content when misaligned with human values, posing severe risks to users and society. To mitigate these risks, current evaluation benchmarks predominantly employ expert-designed contextual scenarios to assess how well LLMs align with human values. However, the labor-intensive nature of these benchmarks limits their test scope, hindering their ability to generalize to the extensive variety of open-world use cases and identify rare but crucial long-tail risks. Additionally, these static tests fail to adapt to the rapid evolution of LLMs, making it hard to evaluate timely alignment issues. To address these challenges, we propose ALI-Agent, an evaluation framework that leverages the autonomous abilities of LLM-powered agents to conduct in-depth and adaptive alignment assessments. ALI-Agent operates through two principal stages: Emulation and Refinement. During the Emulation stage, ALI-Agent automates the generation of realistic test scenarios. In the Refinement stage, it iteratively refines the scenarios to probe long-tail risks. Specifically, ALI-Agent incorporates a memory module to guide test scenario generation, a tool-using module to reduce human labor in tasks such as evaluating feedback from target LLMs, and an action module to refine tests. Extensive experiments across three aspects of human values--stereotypes, morality, and legality--demonstrate that ALI-Agent, as a general evaluation framework, effectively identifies model misalignment. Systematic analysis also validates that the generated test scenarios represent meaningful use cases, as well as integrate enhanced measures to probe long-tail risks. Our code is available at https://github.com/SophieZheng998/ALI-Agent.git

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

↑