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

面向信任的自适应大语言模型护栏

Trust-Oriented Adaptive Guardrails for Large Language Models

University of Liverpool, UK(利物浦大学)

Jinwei Hu, Yi Dong, Xiaowei Huang

AI总结:

本文提出面向信任的自适应大语言模型护栏机制,结合信任建模与检索增强生成,根据用户信任指标动态调节敏感内容访问,实验表明其优于现有护栏并能保护敏感信息。

摘要:

护栏作为一种新兴机制,旨在通过调节有害或有毒响应来确保大语言模型(LLMs)符合人类价值观,其设计需要采用社会技术方法。本文解决一个关键问题:现有护栏缺乏完善的方法论来适应不同用户群体的多样化需求,尤其是在访问权限方面。在信任建模(主要针对“社会”层面)的支持下,并结合通过检索增强生成实现的在线上下文学习(针对“技术”层面)进行增强,我们引入了一种自适应护栏机制,以根据用户信任指标动态调节对敏感内容的访问。用户信任指标被定义为直接交互信任与权威验证信任的新型组合,使系统能够通过匹配用户的可信度及其查询的具体上下文来精确调整内容审核的严格程度。我们的实证评估证明了自适应护栏在满足多样化用户需求方面的有效性,优于现有护栏,同时通过上下文感知知识库保护敏感信息并精确管理潜在危险内容。据我们所知,这项工作是首次将面向信任的概念引入护栏系统,提供了一种可扩展的解决方案,丰富了下一代大语言模型服务伦理部署的讨论。

英文摘要:

Guardrail, an emerging mechanism designed to ensure that large language models (LLMs) align with human values by moderating harmful or toxic responses, requires a sociotechnical approach in their design. This paper addresses a critical issue: existing guardrails lack a well-founded methodology to accommodate the diverse needs of different user groups, particularly concerning access rights. Supported by trust modeling (primarily on `social' aspect) and enhanced with online in-context learning via retrieval-augmented generation (on `technical' aspect), we introduce an adaptive guardrail mechanism, to dynamically moderate access to sensitive content based on user trust metrics. User trust metrics, defined as a novel combination of direct interaction trust and authority-verified trust, enable the system to precisely tailor the strictness of content moderation by aligning with the user's credibility and the specific context of their inquiries. Our empirical evaluation demonstrates the effectiveness of the adaptive guardrail in meeting diverse user needs, outperforming existing guardrails while securing sensitive information and precisely managing potentially hazardous content through a context-aware knowledge base. To the best of our knowledge, this work is the first to introduce trust-oriented concept into a guardrail system, offering a scalable solution that enriches the discourse on ethical deployment for next-generation LLM service.

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

↑