paperbot · PL 论文追踪

全部论文 待读 收藏

P1 Deployment Risk Assessment using Diff-Aware Features: A Case Study at Prime Video

基于差异感知特征的部署风险评估:Prime Video 案例研究
ASE Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering2026匹配度 5/10 · 论文将 LLM 用作多语言代码特征提取器,属于“LLM 辅助代码分析”的范畴,且是 Prime Video 工业落地案例并给出消融分析,契合研究者对工业案例和问题驱动结论的偏好;但其核心任务是部署变更风险预测(ML 缺陷/风险预测),与静态分析、形式化验证、浮点与贝叶斯程序分析等核心方向均无直接交集。引用 0 inbox
Mayur Premkumar Kurup, Hyunjae Suh, Swathi Vaidyanathan, Pranesh Vyas, Srinidhi Madabhushi, Yegor Silyutin
crossref: 2026-10-09

AI 速览

一句话:提出以代码 diff 特征为核心、用 LLM 做多语言特征提取的部署风险预测框架,跨数据集 F1 达 0.81。

Prime Video 在直播活动与快速迭代中面临部署风险,而现行变更管控采用一刀切冻结,既有风险预测又依赖开发者元数据与大量历史数据,存在隐私顾虑且难以迁移到新项目。本文提出以 diff-aware 特征为核心的部署风险评估框架:特征直接取自代码改动,涵盖代码级与变更级定量度量,以及编码风格违规、变更类型分类等定性指标;并以 LLM 充当多语言特征提取器,免去语言特定工具。作者在 Prime Video 生产环境与公开数据集 ApacheJIT 上评估,最佳模型检测风险变更的平均召回率 0.83、F1 0.81;消融分析显示增删行数等变更级容量指标噪声大,结构化代码复杂度才是更强的风险信号。

问题
现行部署变更管控采用无差别冻结策略,既造成开发者负担,又无法区分真实风险;已有风险变更预测方法依赖开发者元数据或大量历史数据,带来隐私问题且难以适用于新项目与多语言代码库。
方法
构建以 diff-aware 特征为中心的预测框架:从代码修改中直接提取代码级与变更级定量指标以及编码风格违规、变更类型分类等定性指标,并利用 LLM 作为多语言特征提取器替代语言特定工具链。
评估
在 Prime Video 生产环境数据集与公开 ApacheJIT 数据集上训练与评估风险变更分类模型,最佳模型平均召回率 0.83、F1 0.81;并通过消融分析比较各类特征的贡献,发现结构化代码复杂度比变更规模指标更有效。
原文摘要(Abstract)

At Amazon Prime Video, we face the critical operational challenge of managing code deployments during live events and rapid feature releases without causing service outages. Current change control approaches use blanket deployment freezes that block all changes regardless of risk, creating significant developer toil. While prior research has explored risky change predictors, these rely on developer-specific metadata or extensive historical data, raising privacy concerns and limiting applicability to new projects. We introduce a framework centered on diff-aware features-characteristics derived directly from code modifications. Our key contribution is the systematic identification of which quantitative metrics (code-level and change-level metrics) and qualitative indicators (coding style violations, change type classification) are necessary for risk prediction. We employ LLMs as multi-language feature extractors, demonstrating their effectiveness for code analysis beyond generation tasks and eliminating the need for language-specific tooling. We evaluated our framework on two datasets: Prime Video’s production environment and the public ApacheJIT dataset. Our best-performing model achieves an average recall of 0.83 and F1 score of 0.81 across both datasets for detecting risky code changes. Notably, ablation analysis reveals that change-level volume metrics (e.g., lines added/deleted) are noisy predictors, while structural code complexity provides a substantially stronger risk signal. These results demonstrate that thoughtful feature curation enables effective change risk assessment across different programming languages and organizational contexts while avoiding privacy concerns.

链接与引用

DOI 原文 · arXiv · DBLP

BibTeX
@inproceedings{abs-2607-06766,
  title = {Deployment Risk Assessment using Diff-Aware Features: A Case Study at Prime Video},
  author = {Mayur Premkumar Kurup and Hyunjae Suh and Swathi Vaidyanathan and Pranesh Vyas and Srinidhi Madabhushi and Yegor Silyutin},
  booktitle = {ASE},
  year = {2026},
  doi = {10.1145/3832783.3834517}
}