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

面向业务中心LLM系统的验收测试驱动评估协议

Acceptance-Test-Driven Evaluation Protocols for Business-Centric LLM Systems

Oracle(甲骨文公司)

Eric Liang

AI总结:

针对LLM系统概率生成与确定性需求不匹配问题,提出基于验收测试驱动开发、安全工程和业务中心验证的评估协议,将利益相关者目标转化为可执行行为契约,并采用红-训练-绿生命周期确保多维门控通过后才发布。

摘要:

大型语言模型(LLM)应用日益期望在依赖概率生成组件的同时满足确定性机构需求。这种不匹配使得普通的后期基准测试对于必须安全、可靠、可审计且经济有用的系统而言是不够的。本文为基于验收测试驱动开发、安全工程和业务中心验证的运营LLM系统贡献了一种评估协议扩展。该扩展在提示、模型、检索或智能体变更被接受之前,将利益相关者目标转化为可执行行为契约、发布门控、监控信号和证据工件。它将测试驱动开发的红-绿-重构纪律调整为红-训练-绿色生命周期:首先为期望行为定义失败的验收测试,然后通过提示变更、检索设计、微调、护栏或数据增强改进LLM系统,最后仅当多维门控满足时才发布。贡献在于一个面向治理的度量栈、参考架构和用于比较验收测试驱动LLM开发与提示优先和基准后工作流的经验协议。

英文摘要:

Large language model (LLM) applications are increasingly expected to satisfy deterministic institutional requirements while relying on probabilistic generative components. This mismatch makes ordinary post-hoc benchmarking insufficient for systems that must be safe, reliable, auditable, and economically useful. This paper contributes an evaluation-protocol extension for operational LLM systems grounded in acceptance-test-driven development, safety engineering, and business-centric validation. The extension translates stakeholder goals into executable behavioral contracts, release gates, monitoring signals, and evidence artifacts before prompt, model, retrieval, or agent changes are accepted. It adapts the red-green-refactor discipline of test-driven development to a red-train-green lifecycle: first define failing acceptance tests for desired behavior, then improve the LLM system through prompt changes, retrieval design, fine-tuning, guardrails, or data augmentation, and finally release only when multidimensional gates are satisfied. The contribution is a governance-oriented metric stack, reference architecture, and empirical protocol for comparing acceptance-test-driven LLM development against prompt-first and benchmark-after workflows.

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

↑