LM驱动的子程序的审计、对齐与优化及其在公共评论处理中的应用
Audit, Alignment, and Optimization of LM-Powered Subroutines with Application to Public Comment Processing
AI总结:
本文提出一个用于声明静态类型LM驱动子程序的框架,支持在线利用专家反馈优化性能并按需审计,在公共评论处理场景下开发CommentNEPA应用并完成定量评估。
摘要:
语言模型(LMs)的出现有望极大地加速可转化为文本处理的任务;然而,现实世界的采用却因对安全性、可解释性和偏见的担忧而受到阻碍。我们如何以透明、可审计的方式负责任地利用LMs——在最小化风险的同时,让人类专家专注于知情决策,而不是数据处理或提示工程?在这项工作中,我们提出了一个框架,用于声明静态类型的、LM驱动的子程序(即可调用的、类似函数的过程),以供在传统的异步代码中使用——从而使得人类专家的稀疏反馈能够在在线(即在使用期间)用于改善每个子程序的性能。在我们的实现中,所有LM生成的产物(即提示、输入、输出和数据依赖项)都会被记录,并按需暴露以供审计。我们将此框架打包为一个库,以支持其采用和持续开发。尽管此框架可能适用于多个现实世界的决策工作流(例如在医疗和法律领域),但我们在1969年《国家环境保护法》(NEPA)所规定的公共评论处理的背景下对其进行了评估:具体而言,我们使用此框架开发了“CommentNEPA”应用程序,该程序编译、组织和总结为响应需要环境审查的项目而提交的公共评论语料库。我们通过将其输出(在无人类反馈的情况下运行时)与官方环境影响声明准备期间由人类标注者标记的历史“真实”数据进行比较,对该应用程序进行了定量评估。
英文摘要:
The advent of language models (LMs) has the potential to dramatically accelerate tasks that may be cast to text-processing; however, real-world adoption is hindered by concerns regarding safety, explainability, and bias. How can we responsibly leverage LMs in a transparent, auditable manner -- minimizing risk and allowing human experts to focus on informed decision-making rather than data-processing or prompt engineering? In this work, we propose a framework for declaring statically typed, LM-powered subroutines (i.e., callable, function-like procedures) for use within conventional asynchronous code -- such that sparse feedback from human experts is used to improve the performance of each subroutine online (i.e., during use). In our implementation, all LM-produced artifacts (i.e., prompts, inputs, outputs, and data-dependencies) are recorded and exposed to audit on demand. We package this framework as a library to support its adoption and continued development. While this framework may be applicable across several real-world decision workflows (e.g., in healthcare and legal fields), we evaluate it in the context of public comment processing as mandated by the 1969 National Environmental Protection Act (NEPA): Specifically, we use this framework to develop "CommentNEPA," an application that compiles, organizes, and summarizes a corpus of public commentary submitted in response to a project requiring environmental review. We quantitatively evaluate the application by comparing its outputs (when operating without human feedback) to historical ``ground-truth'' data as labelled by human annotators during the preparation of official environmental impact statements.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。