CARVE: Counterfactual Video Editing for Auditing and Hardening Video Detectors
Wei ZHOU, Chenyiming, Xu Jinwei, Yang zhou, Quan Gan, Li Yang
NeurIPS 2026
TL;DR. CARVE edits real CCTV clips into matched counterfactual quartets that reveal when video detectors rely on the environment rather than the event, and reuses the audit to harden them without changing inference.
Abstract. Video detectors are usually evaluated on observational splits, where target events co-occur with environmental and capture factors. A high AUC under this setup can reflect either the event itself or its surrounding conditions, and standard reporting cannot tell them apart. We address this with CARVE, a counterfactual video editing protocol. For each source clip, CARVE generates a matched quartet that holds camera pose, layout, and surrounding traffic fixed while independently intervening on environment and event. A two-phase generator first produces a layout-conditioned reference image, then performs reference-guided video editing; a three-layer reference / objective / VLM-panel protocol filters the output. Each quartet supports thresholded and continuous diagnostics for false-positive purity, event faithfulness, environment-induced drift, and held-out factor compositions. Thresholded scores are paired with continuous ones so that a conservative detector cannot suppress scores everywhere and look robust. The same audit drives training: CGAA-IC samples weak factors weighted by their measured brittleness and adds quartet-level purity, consistency, and faithfulness losses; the inference graph is unchanged. On CCTV accident detection, the audit shows that aggregate clean AUC hides where detectors fail: a VideoMAE detector with 91.4% AUC on TAD scores only 72.3% CPS on the night slice of CARVE-Q. CGAA-IC raises purity from 84.2% to 89.9% and cross-dataset average AUC from 80.3% to 84.5%.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:46 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
All the authors agree that the paper is well-motivated, very original in its approach, and demonstrate that AUC doesn't accurately measure robustness, which is important to know. However, all three reviewers also agree the method is not at all reproducible because the video generation models and the VLM models are proprietary, and the dataset will not be publicly released. All three reviewers also note the limitation of static-positioned cameras, with reviewer nKZH noting that this doesn't work for ego-centric driving.
All reviewers have a clear list of question and I encourage the authors to answer them as best they can.
Final justification
After rebuttal, scores were increased. Happy to continue to recommend acceptance!
Read meta-review
Meta-review
All the authors agree that the paper is well-motivated, very original in its approach, and demonstrate that AUC doesn't accurately measure robustness, which is important to know. However, all three reviewers also agree the method is not at all reproducible because the video generation models and the VLM models are proprietary, and the dataset will not be publicly released. All three reviewers also note the limitation of static-positioned cameras, with reviewer nKZH noting that this doesn't work for ego-centric driving.
All reviewers have a clear list of question and I encourage the authors to answer them as best they can.
Final justification
After rebuttal, scores were increased. Happy to continue to recommend acceptance!
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 4/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes CARVE, a counterfactual video editor to control confounding factors (i.e. environment and camera settings) when evaluating video detectors. The motivating application is CCTV traffic accident detection. They propose the CARVE protocol, CARVE-Q, an audit suite, and CGAA-IC, a sequence of gates to filter the output. They use Nano Banana and Seedance to generate quartets for each video, holding camera pose, road layout, and "unrelated trajectories" while editing the environment, event, or both. The work proposes a new scoring criterion to measure false-positive rate on event-free environment edits and another criterion to measure non-alarms on environment edits(?). Through their analyses, they measure existing video detectors on controlled edits to disentangle performance from confounding environmental variables.
Strengths and weaknesses
Strengths The premise is creative and smart - the work essentially asks how to evaluate video detectors without environmental or confounding variables at play. The work is well-written, clearly motivated, and creative in their design of the dataset and new metrics. It lifts works in i.e. in video domain-adaptive object detection above to the event space and exposes a currently unmeasured bias in existing detectors. Tables 1 and 2 are clear and nice. Ablations and analysis are good and interesting.
Weaknesses High-level: A huge part of this paper is in the generated dataset. I didn't see it zipped and I don't see a link to it, and without access to the code (specified no in the Checklist), this work is un-reproducible.
High-level: Generally, it would strengthen the paper to show that existing video object detectors trained for example on accident detection at night fail to generalize to detecting accidents in daylight. Otherwise, this begs the question, why not adapt a video object detector to be able to handle the daytime case, or create a generalized accident detection detector.
High-level: It would be interesting to do performance analysis by edit type to see if detectors are more or less robust to particular events. It would also be useful to understand the edit types in the training data to see how correlated performance is to that.
Figure 1 is too noisy. The premise is smart and simple - it should be articulated in a clearer way. Figure 1 overcomplicates by trying to fit too much into one figure. I suggest moving it to the Appendix and creating a simpler visual instead -- honestly refactoring Figure 4 to be your Figure 1 would motivate/may capture the audience better -- at least the first row from Figure 4.
Figure 2 is similarly difficult to parse. I would break apart in to two figures maybe? One that enumerates some of the variables Z, E, A and another that takes one example combination where it should score high and one example combination where is should score low.
- Each video may have more than 1 event i.e. more than 1 car driving. According to the figure, this would be one y^ for every event variable -- how would they merge to create a video-level prediction
L83-84: "in observational data the recording process produces statistical corerlations between E and the label that an unconstrained detector can exploit" -- this needs a figure to support as evidence.
Video accident detection methods: "leaving the response to controlled factor changes unmeasured" -- this sentence should be worded more clearly.
Three-layer quality control: it would strengthen the paper if explanation behind the handful of threshold selection was discussed -- i.e. ablation of values? previous works? The Tau_theta is chosen on source-dataset val split to maximize F1 - are these threshold values all learned or was there a sweep?
L220-221: random synthetic baselines use the same budget. What? Does this need to cite the random synthetic baselines? The same budget of adding edits to 25% of the training data?
Questions
L65-66: our protocol uses binary clip labels under controlled nuisance shifts -- binary clip labels (i.e. accident or no accidence)? Controlled nuisnance shifts i.e. what? what counts as a nuisance/how was that selected?
L96: "and a small set of layout cues Ci" -- where do these layout cues come from?
L114-115: why aren't frames 0-24 included in early and frames 40-64 included in late? L210: why is positive onset constrained to frames 24-40?
NESI and ESI should be more clearly described. It is used as a proxy to make sure CPS doesn't report 0 but also detect nothing. It might be useful to give a concrete example. It might also be clearer to introduce the positive case (CFI/ESI) first before introducing the false alarm case.
L161-162: what are each of these n1,...,n5?
L196: In an 18-rater blinded study.. a study with 18 human participants where they were blind to real vs. synthetic and had to guess which one? Say something closer to that if so
Table style differs a bit which make them a bit confusing to parse. Table 1 has bold values, but bold as best is not defined in the caption. Table 2 highlights the Unfilt row in grey -- why? Worst performance? Table 3 highlights CGAA-IC rows in blue -- again why?
Table4: What are hard slices? How were they picked?
Limitations
They discuss remaining failure modes.
I would also discuss how this work was only done on CCTV-style video -- can it be adapted to other video? there is an inherent limitation/reliance on the still camera, RGB, etc setup
Final justification
The authors addressed my major concerns in their rebuttal and have promised a synthetic source demonstration.
Formatting concerns
N/a
4 comments
Review Response
Thank you for the responses and clarifications. It is great to hear that you are planning to release the code and commit to making these changes. I am inclined to raise my score. Please answer the following questions.
Did/does NanoBanana keep the human-identifying aspects of the CCTV camera footage? Could you include in the prompt to blur faces/license plates and then release at least a subset of it? Or could you create a synthetic dataset of CCTV footage and run this framework on it to demonstrate its power?
Also, please explain, "synthetic crash footage carries dual-use risk" - what is the dual-use risk?
We thank the reviewer for the thoughtful follow-up; we answer the questions in order.
-
What the generators preserve. One clarification first: V0 is not generated. The 1,836 V0 clips are the real source footage from the three corpora, and only VE, VA, and VAE are generated (20,226 edits). Both stages re-render rather than copy pixels (Nano Banana 2 for the environment reference image, Seedance 2.0 for the temporal edit). In the accepted edits we inspected, faces and other small deformable structures are not reconstructed faithfully at CCTV resolution. Rigid, planar, high-contrast structures survive much better; since the protocol deliberately preserves vehicle appearance and non-participant trajectories, license plates often remain legible. We therefore treat every branch derived from a real source as identifying media: we hold them under team-only access, do not redistribute them, and perform no re-identification.
-
Blur-and-release. Blurring is technically straightforward, and a detector-based post-process would be verifiable per frame in a way a prompt-side instruction is not. Three separate constraints apply here, however, and blurring removes none of them. (i) V0 is the corpora themselves: every V0 clip is obtainable from the original distributions under those corpora's own terms, so redistribution is a matter for their maintainers. (ii) A blurred VE is still not de-identified. Because the protocol holds camera pose, layout, and non-participant trajectories fixed, each VE remains scene-matched to its publicly available source clip; a viewer who links the pair recovers from the source everything the blur removed, and the clip still shows a specific real location and vehicles. (iii) For VA and VAE, blurring cannot touch the real problem: the misuse value of a fabricated collision inserted into real footage of a real place lies in the collision itself, not in the faces around it. Gating narrows who receives a copy, not what is done with it, so it reduces exposure without removing this risk. What we can do: the revision adds an expanded appendix panel of blurred quartet key frames, and the fully synthetic track below will be released outright.
-
A fully synthetic demonstration track. We read the suggestion as replacing the real sources with synthetic accident-free CCTV-style footage and running the entire framework on top; we agree, and generation is already under way. The first twelve synthetic source clips are generated and hand-checked; their six-frame preview grids and environment reference frames are in the anonymized repository under demo/synthetic_track/ (the web mirror does not render video, so the grids stand in for the clips). The repository is with the AC, and we have asked that the link be passed to the reviewers as guidelines permit. The completed track ships with the public code release: at least 20 fully synthetic sources (at least 80 released clips, no real footage or road users), covering all illumination, weather, and road-surface levels and all six accident types; every source passes reference generation, the three gates, quartet construction, and the audit metrics, with rejected candidates and gate logs included. Because the media themselves are released, every gate, threshold, and metric can be replayed without access to the proprietary generators, and the rendered media carry a visible synthetic-origin note. Two caveats remain: a fully generated set covers a different visual domain from real CCTV, and at this scale per-level diagnostics would be underpowered, so the appendix reports audit numbers at the factor-family level with gate counts. The track is an executable demonstration of the machinery, not a substitute benchmark.
-
The dual-use risk, concretely. We see two concrete misuse channels. The first is fabricated evidence: a VA or VAE clip is real CCTV of a real location with a plausible scripted collision inserted, which lends itself directly to insurance fraud and staged-evidence uses. The second is misinformation: location-anchored surveillance footage reads as an official recording, and our human study shows limited separability from real clips (56.7% rater accuracy, statistically above chance yet low in absolute terms). The asymmetry in what we release is deliberate: code, prompts, and thresholds are open because their value lies in auditability, and turning them into new forgeries still takes generator access and effort, whereas a ready-made crash clip tied to a real scene is usable as-is. Crash media derived from real sources therefore stay unreleased, and we will update the camera-ready checklist, ethics statement, and broader-impact discussion to state both channels and these controls explicitly.
We hope these answers, together with the code release already with the AC, address the remaining concerns; we are grateful for the reviewer's careful engagement and would be glad to clarify anything further.
Thank you for the thorough responses to my questions. It is great to hear especially that you will have at least 20 fully synthetic sources. I am inclined to raise my score to Accept.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 4/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- use_inspired
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper introduces CARVE, a counterfactual video editing protocol designed to audit and harden video anomaly detectors by disentangling target events from spurious environmental factors (e.g., weather, lighting). Utilizing Nano Banana 2 and Seedance 2.0, the framework synthesizes matched video quartets that perturb environmental and event variables while strictly holding source camera geometry and road layout fixed. The protocol includes a three-layer quality control gate, a suite of causal diagnostic metrics (CPS, NESI, CFI, ESI, CGS), and a closed-loop hardening procedure (CGAA-IC). In the rebuttal, the authors provided the anonymized training loop code, proposed a forward-calibration protocol to mitigate API deprecation risks, and committed to revising the consistency loss to account for visibility degradation.
Strengths and weaknesses
Strengths And Weaknesses* Following the Area Chair's directive, this review has been updated to evaluate the submission under the "Use-Inspired" contribution criteria. Under this rubric, the work must be evaluated on whether the use case is real and meaningful, and if the design is matched to the use case.
Strengths (Use-Inspired Criteria):
- Real and Meaningful Use Case: The paper successfully targets a severe operational vulnerability in real-world CCTV accident detection: the reliance on observational splits where target events are fundamentally entangled with environmental nuisances like night or rain. The counterfactual quartet design is tightly matched to this specific use case.
- Rebuttal Efficacy and Reproducibility: The authors successfully addressed the primary blocker to acceptance by providing the anonymized repository containing the CGAA-IC training loop, gates, and metric suite.
- Mitigation of VLM Dependency: The authors established a scientifically rigorous forward re-calibration standard. By using an open-weights model (Qwen3-VL) as a frozen anchor alongside a 200-sample blinded human-audit protocol, they have effectively insulated the CARVE-Q benchmark against the deprecation of proprietary APIs (Gemini, GPT).
- Yield Bottleneck Clarification: The authors factually demonstrated that the VLM panel's 17.5% false rejection rate (FRR) applies only to panel-stage rejections, translating to a marginal ~1.1% loss of total generated candidates. This invalidates my prior concern regarding a severe generation bottleneck.
Weaknesses:
- Strict Domain Limitations: As confirmed by the authors' "relaxed-geometry pilots", allowing viewpoint or distance changes causes catastrophic layout drift and perspective inconsistency. Consequently, the framework remains strictly bound to static-camera infrastructure (CCTV) and cannot currently scale to ego-vision scenarios (e.g., autonomous driving).
- Loss Function Flaws: The uncalibrated consistency loss inherently risks suppressing legitimate, visibility-driven confidence reductions (e.g., an accident in heavy fog should yield lower detection confidence than in daylight). While the authors acknowledged this flaw and agreed to implement a visibility-calibrated margin () using cached visibility scores, this remains a theoretical fix until fully validated in the camera-ready version.
- Synthetic Approximation: The generated clips remain audited counterfactual approximations rather than true physical simulations of crashes, placing a soft ceiling on the physical fidelity of the dataset.
Questions
- For the camera-ready revision, you must explicitly document the empirical impact of the newly proposed visibility-calibrated margin () on the loss. Does stratifying the ESI analysis by visibility completely eliminate the artificial overconfidence under severe weather edits?
- Ensure that the forward re-calibration protocol utilizing the Qwen3-VL open-weights anchor and the 200-sample human validity audit is explicitly codified in the main text to guarantee the long-term standardization of the benchmark.
Limitations
Yes. The authors have rigorously and transparently documented the strict static-camera constraint, the soft ceiling imposed by the VLM panel's false-acceptance/rejection rates, and the difficulty of evaluating small or occluded impacts. The rebuttal accurately framed the limitations of the current objective gates regarding geometric relaxation.
Final justification
My final recommendation is a 5: Accept. Following the Area Chair's directive, I evaluated this submission under the NeurIPS "Use-Inspired" contribution criteria. The paper successfully targets a severe operational vulnerability in real-world CCTV accident detection, where target events are fundamentally entangled with environmental nuisances. The counterfactual quartet design and the closed-loop hardening procedure (CGAA-IC) are tightly matched to this specific, real-world use case.
Formatting concerns
None
2 comments
Rebuttal
Response to Reviewer nKZH
We thank the reviewer for an unusually constructive review; the four questions target exactly the design tensions that matter most. One premise we can correct immediately: the code will be released. We have prepared an anonymized repository with the CGAA-IC training loop, the three-layer gates, the VLM prompts and rubrics, the metric suite, and all configurations; since rebuttals cannot carry links, the anonymized link is provided to the Area Chair in an official comment, with public release upon acceptance.
Q1: vs. legitimate visibility-driven confidence drops.
We agree this is a real tension and flagged it in the appendix (Additional limitations, item ii). Two reasons the current objective does not collapse into artificial overconfidence, then the reviewer's variant.
First, penalizes only the gap inside a composite objective ( in ); the level at which both positives settle is set by the supervised terms, not by , and enforces a margin against the matched negatives rather than a fixed score. Second, the ablation shows no accuracy cost: adding produces the largest single ESI drop of any component while TAD AUC rises from 92.9 to 93.4 and cross-dataset transfer also improves. A model that traded evidence sensitivity for consistency would lose real-data accuracy; the opposite happens.
We consider the proposed visibility-calibrated margin the right refinement, and it is directly compatible with our formulation: , with the margin growing as the scripted or recorded visibility of the edit decreases (equivalently, a per-quartet weight on the current term). The audit traces already record per-edit visibility scores, so we can run both a visibility-stratified ESI analysis and training without any new generation. The revision will add this discussion together with the stratified analysis, and the experiment if feasible within the revision cycle.
Q2: Standardizing CARVE-Q if VLM APIs are deprecated or updated.
(a) The shipped gate is deterministic and fully audited. All judges were queried at temperature zero under a fixed seven-dimension rubric with a JSON response template; prompts, model identifiers, access dates, raw and parsed scores, and acceptance decisions are stored for every candidate. The accepted benchmark is therefore frozen: API deprecation cannot silently alter CARVE-Q, and every past acceptance decision remains recorded in the retained traces.
(b) The gate is re-runnable. The code release includes the full rubric, prompts, parsing and validation logic, and the median/IQR acceptance rule, with the panel behind a fixed interface, so a future panel drops in without touching the rest of the protocol.
(c) A forward re-calibration standard. Qwen3-VL is an open-weights panel member and serves as a frozen, locally reproducible anchor. For future audits we propose: panel = frozen anchor plus any two contemporary VLMs, validated by re-running the 200-sample blinded human-audit protocol; a replacement panel is admissible if its agreement with human validity judgments is comparable to the reported on the same stratified audit design, with FAR and FRR reported alongside. The ground standard is the human validity audit, not any particular API. The open-weights member's standalone agreement with the blinded human judgments on the same 200-sample audit is directly computable from the stored scores, and the revision will report it next to the full-panel rates. The revision states this protocol explicitly.
Q3: An open-source toy or simulated dataset with the training-loop code.
The training-loop half is fully covered by the release: quartet-construction orchestration, reference/objective/panel gates, the five-metric audit, PMR-FSS sampling, and CGAA-IC training with all losses and configurations. The pipeline is generator-agnostic at the interface level and runs on any static-camera clips a user supplies, including simulator-rendered ones, so a CARLA-style instantiation is something the release enables rather than a dataset we distribute. We deliberately do not ship a simulator dataset ourselves: the objective gates and the panel's CCTV-realism dimension are calibrated for real surveillance footage, and a rendered-graphics set would certify a different domain. The repository does ship a synthetic-score test suite that exercises the full metric suite and the sampling logic without any media, so the audit arithmetic is verifiable as released. The media remain unreleased for the reasons the reviewer already judged ethically sound: source-dataset licenses, dual-use risk of synthetic crash footage, and privacy of untaped road users.
Q4: What failed in the relaxed-geometry pilots.
The pilots allowed the editor to move viewpoint and camera distance. Three failure modes dominated: lane topology drifted (lane counts changing mid-clip), non-participant vehicles were not reliably preserved (vehicles disappearing or appearing between frames), and the edited background lost perspective consistency with the source geometry, so DINO-similarity and layout-gate pass rates collapsed to an impractical yield. The structural lesson is why geometry is frozen: once viewpoint, distance, or density moves, the preservation set stops being well-defined and the objective gates lose their reference, because masked DINO similarity, displacement, and flow checks are only meaningful relative to a region that ought to stay fixed. Freezing these variables keeps every gate checkable against the source clip; converting them into editable factors, with gates redefined against an explicit geometry model, is the stated next step.
Weakness (VLM dependency): the 17.5% FRR as a yield bottleneck.
The API-dependency half is addressed under Q2. On yield, a quantitative clarification from the construction logs: FRR is conditional on panel rejection, and the panel accounts for only about a quarter of all rejections. Of the 2,189 rejections among 8,931 candidates, 287 fail the reference gate, 1,346 the objective gates, and 556 the panel; panel-stage survival is 92.4%. Applying the 17.5% FRR to those 556 rejections gives an estimated 97 wrongly discarded candidates, about 1.1% of all candidates and 1.4% of the 6,742 accepted quartets. The dominant yield cost sits in the objective gates, which are fully reproducible. The conservative panel is a purity-first choice: a small yield cost in exchange for an accepted set biased toward clearly correct edits, which is the right side of the trade-off for an audit instrument.
Weakness (domain constraints): static camera only.
Ego-vision is deliberately out of scope rather than overlooked: fixed-geometry CCTV is a large deployed regime in its own right, and the fixed camera is what makes the preservation set checkable at all. The metric suite and the audit-and-hardening loop are regime-agnostic; an ego-view instantiation requires an ego-motion-aware editor and redefined objective gates, which we state as future work.
Weakness (reproducibility).
Beyond the code release, all gate thresholds and hyperparameters ship as configuration files, the split protocol and per-source acceptance statistics are documented in full, and any group with licensed access to the source datasets and generator APIs can re-run construction, audit, and hardening end to end.
We appreciate the reviewer's explicit recognition that our release constraints are ethically justified, and we hope the code release, the panel re-calibration standard, and the visibility-calibrated plan resolve the four questions. If they do, we would be grateful if the reviewer would consider raising the score.
Post-Rebuttal Rating Adjustment
I thank the authors for their thorough rebuttal, anonymized code release, open-weights Qwen3-VL anchor, and synthetic demonstration track. Evaluated under the NeurIPS 2026 Use-Inspired Contribution criteria, CARVE addresses a meaningful operational vulnerability in CCTV accident detection through an innovative counterfactual quartet design (V⁰, Vᵉ, Vᵃ, Vᵃᵉ).
While I maintain that this paper is above the acceptance threshold, I am adjusting my rating from 5 (Accept) to 4 (Borderline Accept) to accurately reflect two remaining technical limitations that prevent a top-tier score:
-
Unvalidated Loss Calibration (L_cons): The submitted training objective enforces a rigid consistency loss L_cons between Vᵃ and Vᵃᵉ. As acknowledged in the rebuttal, this penalizes legitimate, visibility-driven confidence reductions under severe weather (e.g., expecting equal detection certainty in zero-visibility fog as in broad daylight). While the authors proposed a visibility-calibrated margin δ(v) in their response, this remains an unvalidated theoretical modification that cannot be peer-reviewed prior to acceptance.
-
Benchmark Media Non-Redistributability: While the authors' privacy, licensing, and dual-use justifications for withholding source media are understandable and ethically sound, the reality remains that the primary CARVE-Q benchmark footage cannot be redistributed. While the code and synthetic toy track enable pipeline verification, independent researchers cannot benchmark new detector architectures against CARVE-Q without executing costly re-generations through proprietary APIs subject to silent model updates.
-
Static Camera Constraints: The failure of the authors' relaxed-geometry pilots confirms that the current protocol is strictly bound to fixed-geometry CCTV feeds and cannot scale to dynamic or ego-vision domains (such as autonomous vehicle dashcams).
Final Verdict: CARVE makes a strong conceptual contribution to Use-Inspired video auditing. However, due to the unreviewed loss modification and benchmark distribution limits, I adjust my score to 4 (Borderline Accept). I strongly urge the Area Chair to ensure the authors integrate and report the visibility-calibrated margin δ(v) experiments in the final camera-ready manuscript.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- use_inspired
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper details CARVE, a counterfactual video-editing protocol that creates matched video quartets to separate a detector’s response to the actual event from its response to environment factors like night, rain, fog, or compression. On CCTV accident detection, CARVE shows that high clean AUC can hide brittleness, and its CGAA-IC training method improves robustness metrics and cross-dataset AUC without changing the model’s inference graph. The authors applies the method to roadside CCTV traffic accident detection.
Strengths and weaknesses
The paper’s main strength is that it identifies a real evaluation failure mode: standard accident-detection AUC can be high because crashes are entangled with night, rain, wet pavement, compression, and other capture conditions. CARVE’s matched quartet design is a clean and useful way to probe this: environment-only edits should not trigger an accident detector, event-only and joint edits should, and score drift across the quartet exposes shortcut learning. The authors pair threshold metrics with continuous ones, since a conservative detector could otherwise appear robust simply by suppressing scores everywhere.
The paper also evaluates multiple detector families, reports that clean AUC does not determine robustness ranking, and then shows that CGAA-IC improves both CARVE-Q robustness and real cross-dataset transfer.
The ablations studies shows that random quartet augmentation helps, weak-factor sampling and quartet losses add further gains, and the hard-slice improvements line up with the weaknesses discovered by the audit.
The work is technically ambitious and mostly well supported. The main concern is the reproducibility of the synthetic counterfactuals. The work relies on proprietary or fast-moving generators and VLM judges, and the generated clips cannot be redistributed; while this is understandable for privacy and licensing reasons, it makes independent verification hard.
The paper provides enough details to understand the method, but is also very dense.
The paper addresses an important problem. If accident detectors are deployed in safety-relevant monitoring systems, it is important that they detect collisions or merely detect rainy, dark, compressed video. The broader significance is also plausible: many video discrimination tasks have label-relevant events entangled with noisy conditions.
As a Use-Inspired paper, the deployment story could be stronger. The authors do not discuss operational constraints such as acceptable false alarm rates, response-time requirements, human operator workflows, legal/privacy constraints, or input from traffic-safety practitioners, all of which would help establish that the metrics match real-world needs.
The strongest novelty is the integrated counterfactual audit loop for video detectors, and the elegant quartet formulation,
Potential weaknesses include:
- the counterfactuals may introduce artifacts or biases that detectors can exploit, so the audit might partly measure generator distribution robustness rather than real environmental robustness.
- camera viewpoint, traffic density, distance, and many geometry changes are held fixed, which limits the claim of general-purpose robustness.
- the paper could benefit from stronger comparisons with existing traffic-monitoring evaluation protocols.
Questions
Can you provide more evidence that detectors are not learning generator-specific artifacts from the synthetic quartets during CGAA-IC training?
Since generated media and audit traces are not redistributed, what concrete artifacts can be released to let independent researchers verify or stress-test the main claims?
Beyond CCTV accident detection, what conditions must hold for CARVE to be valid on another video task? In particular, how separable must the event label be from environment factors?
How do CARVE metrics relate to operational deployment needs, such as acceptable false alarm rates, missed-detection costs, response time, or human operator workflows?
Limitations
yes
Final justification
The authors addressed my concerns and questions.
Formatting concerns
N/A
1 comment
Rebuttal
Response to Reviewer wrU6
We thank the reviewer for a careful, deployment-oriented reading. We answer the four questions in order, then the density concern and the fixed-geometry weakness. On the shared reproducibility concern: an anonymized repository (training loop, gates, metrics, prompts, configurations) is provided to the Area Chair in an official comment, since rebuttals cannot carry links, with public release upon acceptance.
Q1: Evidence that detectors are not learning generator-specific artifacts during CGAA-IC.
Three lines of evidence; we consider the first decisive.
(1) The hardening gains appear on real, never-generated test data. Every one of the six cross-dataset transfer directions improves over the no-augmentation baseline, with target datasets never used for training or model selection. On hard slices of the real TAD and SurveillanceCrash test clips, labeled from dataset metadata or by human annotators, the hardened detector gains +7.8 AUC on night+rain, +6.1 on low severity, and +3.7 on heavy compression. SurveillanceCrash AP and F1 both rise at the operating threshold, and the in-domain real average rises from 89.7 to 92.0. A detector that had merely learned generator fingerprints would gain on the synthetic branch and stall on real footage that never passed through any generator; the observed pattern is the opposite.
(2) The audit is built for comparability rather than absolute purity. Every audited detector faces one and the same generated distribution, so cross-detector rankings and hardening deltas remain interpretable even if absolute synthetic-branch values carry backend bias; for exactly this reason the paper reports CARVE-Q clean AUC separately from all real-dataset AUCs and states the counterfactual-approximation caveat (Sec. 4).
(3) The accepted set is quality-bounded, with the bounds disclosed. Blinded raters separate accepted synthetic clips from real ones at only 56.7% (the clip-clustered 95% CI excludes 50% but the accuracy is low in absolute terms); the panel agrees with blinded human validity judgments at with a disclosed 5.8% false-acceptance rate; roughly three quarters of audited collision clips pass all four physical-plausibility dimensions, with the residual failure modes disclosed. Failed candidates are typically catastrophic rather than marginal (the unfiltered diagnostic batch averages below the 0.92 DINO gate), so the gates remove precisely the conspicuous artifacts that would be easiest to exploit.
Q2: What concrete artifacts can be released for independent verification.
Six categories: (i) the CGAA-IC training loop with all quartet losses and the PMR-FSS sampler; (ii) the complete metric suite (CPS, NESI, ESI, CFI, CGS, PMR, FSS) with audit scripts; (iii) the objective-gate implementations with calibrated thresholds; (iv) the full panel protocol: prompts, the seven-dimension rubric, JSON parsing and validation, and the median/IQR acceptance rule; (v) generation-orchestration code with the structured factor scripts and the feasibility mask; (vi) split-construction tooling and all configuration files, with the per-source acceptance statistics documented in the paper. The appendix already contains the verbatim environment-edit instruction template; the full two-phase template set ships with the code. The media are withheld on three grounds: source-dataset licenses restrict redistribution of derived footage; synthetic crash footage carries dual-use risk if released without controls; and the CCTV frames contain untaped pedestrians and vehicles whose privacy further redistribution would not respect. Raw audit traces embed source-derived frames and thumbnails and fall under the same constraints; the released package, however, reproduces the entire gate logic, so an independent group can run and stress-test the full protocol, panel audit included, on any footage it is licensed to hold, with its own generator and judge endpoints.
Q3: Conditions for CARVE validity on another task; how separable the label must be.
Three conditions. (i) Causal separability of the label: the label must be caused by a localized spatio-temporal event, so that an intervention on environment E is well-defined without changing y. The operational test is strict: if an edit that leaves the event untouched could legitimately change the ground-truth label, condition (i) fails. (ii) Preservable scene geometry: the non-event content must be holdable fixed across edits; in the current protocol the static camera guarantees this. (iii) Verifiable edits: preservation must be objectively checkable and edit semantics judgeable, as in our reference/objective/panel gates. Counterexamples: detecting icy-road conditions violates (i), because the environment partially constitutes the label and a nuisance-only edit is undefined; ego-view tasks without explicit ego-motion modeling violate (ii). This is the precise content of the conclusion's scope statement that the protocol applies to video discrimination tasks whose label is causally separable from environmental factors; the revision will add this checklist with the counterexamples.
Q4: Relation to operational deployment needs.
The metrics map onto operational quantities directly. CPS equals one minus the false-alarm rate on nuisance-only edits at the deployed operating point, so per-condition CPS translates into a per-condition false-alarm budget: the base detector's night CPS of 72.3% against an overall 84.2% tells an operator, before deployment, where review load will concentrate; for illustration, on a stream yielding 1,000 candidate clips per day those figures correspond to roughly 277 versus 158 nuisance alarms per day, the gap an operator has to staff for. PMR is the per-factor miss rate, covering the missed-detection cost side. NESI and ESI quantify score stability, which governs alarm-threshold hysteresis and how much confidence a triage operator can place in scores near threshold. The operating threshold is calibrated on validation F1, mirroring deployment calibration practice. On response time, hardening leaves the inference graph unchanged; a Jetson AGX Orin 64GB runs 8.3 clips/s before and 8.2 after hardening, preserving edge real-time operation. The per-factor audit is intended exactly as a condition-specific pre-deployment check (a camera's night CPS, its compression-slice behavior) rather than a single AUC. On practitioner input: the realism study included six traffic or vehicle-safety researchers or practitioners among its 18 raters, and the plausibility audit used reviewers with traffic, vehicle-safety, or computer-vision background; we do not claim practitioners shaped the metric design, and we agree fuller practitioner grounding would strengthen the use-inspired story. The revision will add a deployment-considerations paragraph (false-alarm-rate translation, operator workflow framing) and a comparison relating CARVE metrics to existing traffic-monitoring evaluation practice, specifically the event-level localization protocols of FAD and STTAD and the aggregate track-style metrics used in large-scale traffic-video challenges; this also answers the review's third bulleted weakness.
On density (Clarity).
The revision makes four presentation changes, none of which alters claims: a simpler opening figure built around a single quartet strip; the causal-graph figure split into two panels (the variables, then one composition that should score high and one that should score low); the metric section reordered so each metric appears with a one-line worked numeric example before its equation; and the notation consolidated into an appendix table. New analyses promised above go to the appendix; the main text gets net shorter.
On fixed viewpoint, traffic density, and distance.
This is a deliberate scope decision: holding geometry fixed is what keeps the preservation set well-defined and objectively checkable, and relaxed-geometry pilots violated source-layout constraints. Converting viewpoint, distance, and density into editable factors, with gates redefined against an explicit geometry model, is the stated extension path.
We appreciate the use-inspired lens of this review; the deployment mapping above will be incorporated into the revision.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
Response to Reviewer CsX7
We thank the reviewer for the careful reading and concrete suggestions. Reproducibility first, then each point.
R1. Reproducibility and code release. We will release the code: (i) the full CGAA-IC training loop (all three quartet losses; PMR-FSS sampler with empirical-Bayes shrinkage); (ii) the five-metric audit (CPS/NESI/ESI/CFI/CGS, plus PMR/FSS); (iii) the three-layer gates with every configured threshold (masked DINO 0.92, motion gate, 4-px displacement, flow-jump gate with calibrated gamma_f, capture-quality probe); (iv) VLM panel prompts, rubric, JSON parsing, acceptance rule; (v) generation-orchestration scripts with the full structured prompt templates for both generation phases; (vi) the evaluation harness, split-construction tooling, and a synthetic-score test suite verifying the metric and sampling arithmetic with no media. Replies may not contain links, so the anonymized repository link goes to the Area Chair via the Official Comment channel permitted for requested code; public release upon acceptance. The checklist answered No for code together with media; we have reconsidered. The three stated reasons are media-specific and none applies to code, so the code is being released and the camera-ready checklist will answer Yes for it. Media remain unreleased for the paper's three reasons: source licenses bar redistribution of derived media; CCTV frames show untaped pedestrians and vehicles; synthetic crash footage carries dual-use risk without access control. The paper itself records the numerical settings for reimplementation: gate thresholds, loss weights (0.5, 1.0, 0.25), delta=0.4, alpha=1.5, FSS weights, optimizer, splits, per-source acceptance statistics, and the appendix prompt template.
R2. Why not simply build a generalized detector? Accuracy alone cannot say what a detector responds to; the audit can, and the shortcut is real: on matched accident-free V^E edits even the strongest audited backbone, VideoMAE-V2, still false-alarms on 15.0% of clips (CPS 85.0), and base VideoMAE's test-split CPS falls to 72.3 (night), 76.8 (fog), 79.5 (heavy compression) against 84.2 overall. Building the generalized detector is exactly what the paper operationalizes, and standard routes fall short in-domain (RandAugment ends at or below the 89.7 no-augmentation average; IRM 90.6; CGAA-IC 92.0); the audit decides what to fix. The repairs reach real data: +7.8/+6.1/+3.7 AUC on the night+rain, low-severity, and heavy-compression slices, plus consistent gains in all six cross-dataset directions. A night-trained, day-tested split conflates scenes, cameras, and traffic with the factor of interest; matched quartets isolate it within one scene. The revision adds an observational co-occurrence figure over the three real datasets to substantiate the L83-84 claim.
R3. Per-edit-type analysis. From the recorded audit traces (base VideoMAE, 657-quartet validation pool, empirical-Bayes shrinkage): night CPS 73.4, NESI 0.201 (overall 0.126); fog 77.5/0.176; compressed 80.1/0.153; rain 81.9/0.143. Event side, validation PMR vs overall 0.172: minor severity 0.271, pedestrian strike 0.235, late onset 0.211, motorcycle collision 0.194. Each round recomputes these diagnostics on its own source dataset's validation quartets and samples by FSS^1.5; on this pooled validation split the shares are night 14.7%, minor severity 12.9%, fog 9.8%, pedestrian strike 8.4%, late onset 7.2%, compressed 6.4%, motorcycle 5.4%, rain 5.2%, remaining 15 levels 30.0%. The hard-slice gains above land on the most-sampled factors. The revision adds the full 23-level table; the released code includes this per-factor computation.
R4. Questions, in the reviewer's order.
Q1 (L65-66). Yes, binary at clip level: accident present or not. Nuisance means the environment-side factors that are label-irrelevant yet vary across recordings: illumination (day/dusk/night), weather (clear/rain/fog), road surface (dry/wet), capture quality (clean/compressed/motion blur); 11 levels. A controlled shift edits one target composition while camera pose, layout, and non-participant trajectories stay fixed. Factors were restricted to those compatible with source-scene preservation; a feasibility mask removes implausible compositions. The level list was fixed before benchmark construction, following the adverse conditions recurrent in CCTV accident corpora: night, rain, fog, wet pavement, and compression artifacts.
Q2 (L96). Lane masks, road-boundary overlays, boxes around vehicles outside the scripted collision, and coarse perspective cues, extracted from source key frames: lane masks and non-participant boxes from off-the-shelf segmentation and detection models, road boundaries from an edge-based estimator, and perspective cues from a vanishing-point estimate, with manual spot checks. The released code ships these extraction interfaces; the revision names the exact checkpoints.
Q3 (L114-115, L210). The onset levels partition the 24-40 band, not the whole clip. At 16 fps with 64 frames, onset inside 24-40 guarantees at least 1.5 s of pre-impact context and 1.5 s of post-impact evidence; onsets in 0-24 or 40-64 would truncate one side at the clip boundary, giving ambiguous labels rather than early or late events. L210 applies the same constraint to real positives, keeping real and edited positives comparable.
Q4 (NESI, ESI). NESI is the mean absolute score change on negatives, |p(V^E)-p(V^0)|; ESI its positive-side twin, |p(V^AE)-p(V^A)|. Example: a conservative detector at 0.10 on every V^0 and 0.12 on every V^E scores CPS 100% and NESI 0.02; if it also gives V^A about 0.15, a CFI near 0.04 exposes that it detects nothing. Conversely, p(V^0)=0.10 vs p(V^E)=0.62 gives NESI 0.52 though 0.62 stays under threshold. MemAE is the live case: best CPS 91.8 and lowest ESI 0.121, but the weakest CFI among the audited detectors. We adopt the reordering: the revision presents CFI/ESI first, with this example.
Q5 (L161-162). In order, they weight (1-CPS_c) false alarms, NESI_c negative drift, ESI_c positive drift, PMR_c misses, CGS_gap,c composition transfer: (0.25, 0.15, 0.20, 0.25, 0.15), min-max normalized within levels where defined, renormalized when a term is unavailable. Rationale: both thresholded failure modes (false alarms, misses) carry equal, highest weight; drift and compositional terms sit slightly lower. The weights were fixed a priori by this rule and never tuned on any test data; we did not run a weight sweep, and the released audit code recomputes FSS under any weight setting.
Q6 (L196). Exactly that: 18 raters, blind to provenance, judged each clip real or synthetic; 240 clips (120 real, 120 synthetic), three judgments per clip, 40 clips per rater; 408/720 judgments correct = 56.7%, with a clip-clustered bootstrap CI that excludes 50%. We will reword it so.
Q7 (table styles). Adopted, one convention in every caption: bold = best per column; gray row = ungated diagnostic reference (the unfiltered V^AE batch is not a method; it shows what the gates remove); blue row = our final method.
Q8 (hard slices). Subsets of real test clips from TAD and SurveillanceCrash: night+rain (126/160 pos/neg), low severity (107/107), heavy compression (147/184). Labels come from dataset metadata or two annotators using the CARVE-Q factor definitions, with adjudication; a clip may belong to several subsets; low-severity AUC uses matched non-accident clips from the same split and similar capture-quality band. They were picked as the real-data counterparts of the weakest audit-flagged factors.
R5. Figures, writing, thresholds, budget. (a) Fig. 1: agreed; the revision opens with a quartet strip in the spirit of Fig. 4's first row, moving current Fig. 1 to the appendix. (b) Fig. 2: agreed; it splits into a Z/E/A enumeration plus worked high-score and low-score examples. (c) Merging: there is no per-vehicle y-hat; A parameterizes one scripted event per clip and the detector outputs one clip-level probability, with multi-event clips outside the current label definition; we will state this. (d) L83-84 gets the co-occurrence figure (R2). (e) The flagged sentence will read: accuracy is reported on observational splits, so how scores change when a single factor is edited is never measured. (f) One summary correction: the gates belong to CARVE-Q construction, while CGAA-IC is the closed-loop hardening procedure (sampler plus quartet losses); we will sharpen the naming. (g) Thresholds: tau_theta is not learned; it is swept on the source validation split to maximize F1, recalibrated every round. Gate thresholds were fixed before benchmark construction: gamma_f is a percentile threshold calibrated on the validation split; the capture-quality probe is trained on labeled CCTV clips; the remaining thresholds were set on a small pilot batch against human accept/reject judgments, without a per-threshold sweep; all ship in the released configuration. (h) L220-221: same budget = same backend, same gates, same accepted per-round edit count (roughly 25% of the real training clips of each dataset), but factors sampled uniformly from the feasible set instead of by PMR-FSS; an internal ablation baseline, not an external method, hence no citation (the caption will say so).
R6. CCTV-only scope. The static camera is a stated design constraint: it keeps the preservation set checkable, as the masked-DINO, displacement, and flow gates assume fixed geometry. Ego view needs explicit ego-motion handling and different objective gates; the metric suite and loop are sensor-agnostic once such an editor exists.
With the code released and these changes committed, we hope the reviewer will revisit the reproducibility concern behind the rating; we are glad to answer anything further.