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

LangBiTe:一个用于测试大型语言模型偏见的平台

LangBiTe: A Platform for Testing Bias in Large Language Models

Universitat Oberta de Catalunya(开放大学);Luxembourg Institute of Science and Technology(卢森堡科学与技术研究所);University of Luxembourg(卢森堡大学)

Sergio Morales, Robert Clarisó, Jordi Cabot

AI总结:

本文提出 LangBiTe 测试平台,支持按用户伦理要求定制场景、自动生成并执行测试用例,以系统识别 LLM 偏见并提供需求到洞察的端到端追溯。

摘要:

大型语言模型(LLM)被集成到各类软件应用中,引发了人们对其潜在偏见的担忧。通常,这些模型是在从论坛、网站、社交媒体和其他互联网来源抓取的海量数据上训练的,这可能会给模型灌输有害且具有歧视性的行为。为解决这一问题,我们提出了 LangBiTe,这是一个用于系统评估 LLM 中是否存在偏见的测试平台。LangBiTe 使开发团队能够定制其测试场景,并根据一组用户定义的伦理要求自动生成和执行测试用例。每个测试都包含一个输入给 LLM 的提示词,以及一个相应的测试预言,该预言会仔细审查 LLM 的响应以识别偏见。LangBiTe 为用户提供 LLM 的偏见评估,以及初始伦理要求与所获得洞察之间的端到端可追溯性。

英文摘要:

The integration of Large Language Models (LLMs) into various software applications raises concerns about their potential biases. Typically, those models are trained on a vast amount of data scrapped from forums, websites, social media and other internet sources, which may instill harmful and discriminating behavior into the model. To address this issue, we present LangBiTe, a testing platform to systematically assess the presence of biases within an LLM. LangBiTe enables development teams to tailor their test scenarios, and automatically generate and execute the test cases according to a set of user-defined ethical requirements. Each test consists of a prompt fed into the LLM and a corresponding test oracle that scrutinizes the LLM's response for the identification of biases. LangBite provides users with the bias evaluation of LLMs, and end-to-end traceability between the initial ethical requirements and the insights obtained.

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

↑