AI服务的随时合约
Anytime Contracts for AI Services
AI总结:
针对AI服务因随时可终止特性导致的合约易被滥用问题,将合约理论扩展至未知退出规则场景,提出基于似然比e值的随时合约及高效算法,经合成与LLM数据验证。
摘要:
AI服务易出现道德风险,模型提供商可暗中将请求路由至更廉价、低质量的模型,且模型输出的固有随机性使这种质量下降难以察觉。合约理论通过设计支付规则来应对道德风险,该规则奖励高质量输出并防止策略性超额收费。然而现有框架假设交互时长固定,而AI服务通常通过订阅和按需付费API使用,用户可根据观察到的性能随时终止服务。我们表明这种灵活性会破坏标准合约,使其易被提供商或用户滥用。为解决此问题,我们扩展合约理论以考虑未知退出规则,将问题形式化为委托-代理博弈,证明该场景下预算最优合约与基于似然比e值的随时有效假设检验成比例。我们给出计算随时合约的高效算法,并说明当模型未知时如何用投注e过程近似这些合约。最后,我们在合成数据和已部署大语言模型(LLM)的数据上评估了我们的发现。
英文摘要:
AI services are prone to moral hazard, as model providers can silently route requests to cheaper, lower-quality models, and the inherent stochasticity of model outputs makes this degradation hard to detect. Contract theory addresses moral hazard by designing payment rules that reward high-quality outputs and prevent strategic overcharging. However, existing frameworks assume interactions of fixed duration, whereas AI services are typically consumed through subscriptions and pay-as-you-go APIs that users can terminate at any time based on observed performance. We show that this flexibility can break standard contracts, opening them up to abuse by either the providers or users. To address this, we extend contract theory to account for unknown exit rules. We formalize the problem as a Principal-Agent game, and show that budget-optimal contracts in this setting are proportional to anytime-valid hypothesis tests based on likelihood-ratio e-values. We give an efficient algorithm for computing anytime contracts and show how betting e-processes can be used to approximate them when the models are unknown. Finally, we evaluate our findings on synthetic data and data from deployed LLMs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。