Skip to main content
QUICK REVIEW

[论文解读] From Leaderboard to Deployment: Code Quality Challenges in AV Perception Repositories

Mateus Karvat, Bram Adams|arXiv (Cornell University)|Mar 2, 2026
Adversarial Robustness in Machine LearningComputer Science被引用 0
一句话总结

本文对 AV 感知仓库进行大规模实证研究,揭示生产就绪度较低且安全问题集中,并显示 CI/CD 采用与更高的可维护性相关。

ABSTRACT

Autonomous vehicle (AV) perception models are typically evaluated solely on benchmark performance metrics, with limited attention to code quality, production readiness and long-term maintainability. This creates a significant gap between research excellence and real-world deployment in safety-critical systems subject to international safety standards. To address this gap, we present the first large-scale empirical study of software quality in AV perception repositories, systematically analyzing 178 unique models from the KITTI and NuScenes 3D Object Detection leaderboards. Using static analysis tools (Pylint, Bandit, and Radon), we evaluated code errors, security vulnerabilities, maintainability, and development practices. Our findings revealed that only 7.3% of the studied repositories meet basic production-readiness criteria, defined as having zero critical errors and no high-severity security vulnerabilities. Security issues are highly concentrated, with the top five issues responsible for almost 80% of occurrences, which prompted us to develop a set of actionable guidelines to prevent them. Additionally, the adoption of Continuous Integration/Continuous Deployment pipelines was correlated with better code maintainability. Our findings highlight that leaderboard performance does not reflect production readiness and that targeted interventions could substantially improve the quality and safety of AV perception code.

研究动机与目标

  • 评估来自 KITTI 和 NuScenes Leaderboard 的 AV 感知仓库的生产就绪度。
  • 通过静态分析量化代码质量,包括错误、安全漏洞和可维护性。
  • 识别常见安全模式并提供可操作的防护指南。
  • 探讨开发实践(如 CI/CD)与代码质量之间的关系。
  • 为将研究转化为对安全关键 AV 系统的部署提供落地洞见。

提出的方法

  • 编制来自 KITTI 和 NuScenes Leaderboard 的 178 个 AV 感知仓库数据集。
  • 应用静态分析工具 Pylint(错误)、Bandit(安全)、Radon(可维护性 SLOC 与 MI)。
  • 使用 Spearman 相关与 Mann-Whitney 检验分析关系及分组差异。
  • 收集 GitHub 指标(贡献者、问题、星标、分叉)以研究开发实践。
  • 为五种最常见的安全漏洞模式制定具体指南。
Figure 1: Relationship between errors and repository size (measured in SLOC).
Figure 1: Relationship between errors and repository size (measured in SLOC).

实验结果

研究问题

  • RQ1基于零关键错误和无高严重性漏洞,AV 感知仓库的生产就绪度如何?
  • RQ2代码错误、安全漏洞与可维护性与仓库规模及可维护性指数之间的关系?
  • RQ3AV 感知仓库中常见的安全漏洞模式有哪些,是否可制定防范指南?
  • RQ4如 CI/CD 采用等开发实践是否与更高的代码质量和可维护性相关?
  • RQ5仓库受欢迎程度是否与 AV 感知仓库的代码质量相关?

主要发现

  • 只有 7.3% 的仓库符合生产就绪标准(零关键错误且无高严重性漏洞)。
  • 97.2% 至少存在一个错误;错误数量中位数为 29(范围 0–1263)。
  • 93.3% 至少包含一个安全漏洞;安全问题中位数为 9(IQR 4–16)。
  • 五种安全问题几乎占据所有出现的 80%,包括不安全的检查点加载、静默误错抑制、Shell 注入、不安全的 eval 以及不安全的 PyTorch 加载等模式。
  • CI/CD 采用与更高的可维护性指数相关,尽管只有 7.3% 的仓库使用 CI/CD。
  • 可维护性指数与错误密度及安全问题密度呈负相关。
Figure 2: Correlation of repository size and number of security issues.
Figure 2: Correlation of repository size and number of security issues.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。