The widespread adoption of Large Language Models (LLMs) through Application Programming Interfaces (APIs) induces a critical vulnerability: the potential for dishonest manipulation by service providers. This manipulation can manifest in various forms, such as secretly substituting a proclaimed high-performance model with a low-cost alternative, or inflating responses with meaningless tokens to increase billing. This work tackles the issue through the lens of algorithmic game theory and mechanism design. We are the first to propose a formal economic model for a realistic user-provider ecosystem, where a user can iteratively delegate $T$ queries to multiple model providers, and providers can engage in a range of strategic behaviors. As our central contribution, we prove that for a continuous strategy space and any $\epsilon\in(0,\frac12)$, there exists an approximate incentive-compatible mechanism with an additive approximation ratio of $O(T^{1-\epsilon}\log T)$, and a guaranteed quasi-linear second-best user utility. We also prove an impossibility result, stating that no mechanism can guarantee an expected user utility that is asymptotically better than our mechanism. Furthermore, we demonstrate the effectiveness of our mechanism in simulation experiments with real-world API settings.


翻译:大型语言模型(LLMs)通过应用程序编程接口(APIs)的广泛采用引发了一个关键脆弱性:服务提供商可能进行不诚实的操纵。这种操纵可能表现为多种形式,例如秘密地将宣称的高性能模型替换为低成本替代品,或在响应中填充无意义的标记以增加计费。本研究通过算法博弈论和机制设计的视角解决这一问题。我们首次为现实用户-提供商生态系统提出了一个形式化的经济模型,其中用户可以迭代地将$T$个查询委托给多个模型提供商,而提供商可能参与一系列策略性行为。作为核心贡献,我们证明对于连续策略空间和任意$\epsilon\in(0,\frac12)$,存在一种近似激励相容机制,其具有$O(T^{1-\epsilon}\log T)$的加法近似比,并保证准线性的次优用户效用。我们还证明了一个不可能性结果:没有机制能保证渐近优于我们机制的用户期望效用。此外,我们通过在真实世界API设置下的仿真实验证明了我们机制的有效性。

0
下载
关闭预览

相关内容

AAAI 2022 | ProtGNN:自解释图神经网络
专知
10+阅读 · 2022年2月28日
【NeurIPS2019】图变换网络:Graph Transformer Network
国家自然科学基金
4+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
4+阅读 · 2015年12月31日
国家自然科学基金
46+阅读 · 2015年12月31日
VIP会员
相关基金
国家自然科学基金
4+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
4+阅读 · 2015年12月31日
国家自然科学基金
46+阅读 · 2015年12月31日
Top
微信扫码咨询专知VIP会员