LLM 是否偏袒其提供商?测量代码生成中的垂直整合偏差
Do LLMs Favor Their Providers? Measuring Vertical Integration Bias in Code Generation
AI总结:
本文提出 VIBench 基准,通过 20 个提供商可选的软件集成场景,测量前沿 LLM 在直接和代理代码生成中的垂直整合偏差,发现六成关联模型存在显著偏差,代理工作流加剧偏差至 +39.2 个百分点。
摘要:
大型语言模型已成为软件开发不可或缺的一部分,尤其是随着代理能力的出现。然而,许多前沿 LLM 与特定提供商有关联。这引发了一个问题:生成的代码是否偏袒提供商自身的生态系统而非可比较的替代方案,从而可能限制开发者的选择并增加对单一提供商的依赖。我们将这种行为定义为垂直整合偏差,并引入 VIBench,一个用于在 20 个提供商可选的软件集成场景中测量直接和代理代码生成中 VIB 的基准。通过评估 10 个前沿提供商关联模型与 3 个非关联对照模型,我们发现直接生成中存在正的 VIB,其中十个关联模型中有六个显示出统计显著效应,最高达 +18.8 个百分点。代理工作流进一步放大了 VIB,达到 +39.2 个百分点。此外,代理工作流中早期的关联生态系统选择可能持续存在于概念上解耦的下游文件中,持续性高达 90.3%。这些发现强调了在代码生成中测量和考虑 VIB 的必要性,尤其是在代理能力日益普及的背景下。
英文摘要:
Large Language Models (LLMs) have become an integral part of software development, especially with the advent of agentic capabilities. Yet, many frontier LLMs are affiliated with specific providers. This raises the question of whether generated code favors the provider's own ecosystem over comparable alternatives, potentially constraining developers' choices and increasing dependence on a single provider. We define this behavior as Vertical Integration Bias (VIB) and introduce \textsc{VIBench}, a benchmark for measuring VIB in direct and agentic code generation across $20$ provider-selectable software-integration scenarios. Evaluating $10$ frontier provider-affiliated models against $3$ non-affiliated controls, we find positive VIB in direct generation, with six of ten affiliated models showing statistically significant effects up to $+18.8$ percentage points (pp). Agentic workflows further amplify VIB, reaching $+39.2$ pp. Moreover, early affiliated-ecosystem choices in agentic workflows can persist into conceptually decoupled downstream files, with persistence as high as $90.3\%$. These findings underscore the need to measure and account for VIB in code generation, especially as agentic capabilities become more prevalent.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。