Grounded AI for Code Review: Resource-Efficient Large-Model Serving in Enterprise Pipelines

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Mandal, Sayan, Jiang, Hua
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866915546746847232
author Mandal, Sayan
Jiang, Hua
author_facet Mandal, Sayan
Jiang, Hua
contents Automated code review adoption lags in compliance-heavy settings, where static analyzers produce high-volume, low-rationale outputs, and naive LLM use risks hallucination and incurring cost overhead. We present a production system for grounded, PR-native review that pairs static-analysis findings with AST-guided context extraction and a single-GPU, on-demand serving stack (quantized open-weight model, multi-tier caching) to deliver concise explanations and remediation guidance. Evaluated on safety-oriented C/C++ standards, the approach achieves sub-minute median first-feedback (offline p50 build+LLM 59.8s) while maintaining competitive violation reduction and lower violation rates versus larger proprietary models. The architecture is decoupled: teams can adopt the grounding/prompting layer or the serving layer independently. A small internal survey (n=8) provides directional signals of reduced triage effort and moderate perceived grounding, with participants reporting fewer human review iterations. We outline operational lessons and limitations, emphasizing reproducibility, auditability, and pathways to broader standards and assisted patching.
format Preprint
id arxiv_https___arxiv_org_abs_2510_10290
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Grounded AI for Code Review: Resource-Efficient Large-Model Serving in Enterprise Pipelines
Mandal, Sayan
Jiang, Hua
Software Engineering
Machine Learning
Automated code review adoption lags in compliance-heavy settings, where static analyzers produce high-volume, low-rationale outputs, and naive LLM use risks hallucination and incurring cost overhead. We present a production system for grounded, PR-native review that pairs static-analysis findings with AST-guided context extraction and a single-GPU, on-demand serving stack (quantized open-weight model, multi-tier caching) to deliver concise explanations and remediation guidance. Evaluated on safety-oriented C/C++ standards, the approach achieves sub-minute median first-feedback (offline p50 build+LLM 59.8s) while maintaining competitive violation reduction and lower violation rates versus larger proprietary models. The architecture is decoupled: teams can adopt the grounding/prompting layer or the serving layer independently. A small internal survey (n=8) provides directional signals of reduced triage effort and moderate perceived grounding, with participants reporting fewer human review iterations. We outline operational lessons and limitations, emphasizing reproducibility, auditability, and pathways to broader standards and assisted patching.
title Grounded AI for Code Review: Resource-Efficient Large-Model Serving in Enterprise Pipelines
topic Software Engineering
Machine Learning
url https://arxiv.org/abs/2510.10290