CA-Judge: Teach Large Models to Judge Anomalies via Comparison for Video Anomaly Detection

He Huang, Zixuan Hu, Dongxiao Li, Zhaoyi Li, Lingyu DuanNeurIPS 2026

TL;DR

Ask a human—or a large vision-language model—to assign an exact numerical risk score from 0 to 1 to a security video, and the numbers get weirdly arbitrary. Ask them which of two clips looks worse, however, and they suddenly become remarkably consistent. CA-Judge turns this psychological quirk into a training-free framework for Video Anomaly Detection (VAD), replacing uncalibrated guesswork with smart pairwise comparisons to achieve state-of-the-art results without touching a single gradient.

What Problem Does This Paper Address?

Video Anomaly Detection (VAD) is the task of automatically spotting safety-critical events—like car crashes, burglaries, or fires—in continuous video streams. Recently, researchers started using Large Vision-Language Models (LVLMs) for VAD because they generalize well to the messy, open-world variety of real life and can actually explain why they triggered an alarm in plain English.

There is just one catch: existing LVLM pipelines rely on direct scoring. You feed the model a clip, ask it to describe what is happening, and tell it to spit out an anomaly score between 0 and 1. As it turns out, even when an LVLM writes a spot-on description of a sketchy event, the absolute number it attaches to that text is poorly grounded. It might rate a crowded normal hallway a 0.7 and someone trying to pry open a storefront glass door a 0.3. Strong reasoning doesn't automatically translate into well-calibrated scalar scores.

Figure 1: (a) Direct scoring requires an LVLM to map clips to absolute anomaly scores, which can be arbitrary even when the textual descriptions are plausible; (b) Pairwise comparison elicits relative abnormality judgments between event pairs. The induced preferences align better with the order based on ground truth, motivating us to use comparative judgments as order evidence for VAD.

Methods

Instead of trying to force better absolute ratings out of a frozen model, the authors change the interface entirely. Their framework, CA-Judge (Comparative Anomaly Judge), keeps the standard step where an LVLM captions a video clip, but replaces direct scoring with comparative order inference in two stages:

  1. Building a Latent "Severity Ruler" (Offline, Zero-Data): Before seeing any test videos, the frozen LVLM generates a synthetic pool of 1,200 short, CCTV-style text descriptions—half normal routine activities, half anomalies (crimes, accidents). The model then judges 40,000 pairs of these synthetic descriptions ("Which exhibits stronger abnormal evidence?"). Using the Bradley–Terry model—the classic math used to rank chess players from win/loss records—CA-Judge maps every reference event onto a continuous 1D axis of perceived severity ($\theta$). Because the synthetic events have known normal/anomalous labels, fitting a simple logistic regression curve over this axis translates any severity coordinate directly into an anomaly probability.
  2. Budgeted Active Comparison (Test Time): When a new video clip arrives and gets captioned, comparing it against all 1,200 references would be way too slow. Instead, CA-Judge plays a mathematical game of 20 Questions (specifically, just $K=8$ questions). Maintaining a Gaussian belief over the clip's true severity, it filters for the 30 most semantically similar reference texts and greedily picks the single comparison that maximizes mutual information—essentially asking the question whose answer will reduce uncertainty about the clip's normal/anomalous status the most. After 8 text-only comparisons, it updates its belief and reads out the final anomaly probability, smoothing scores across neighboring video clips.
Figure 2: CA-Judge turns relative anomaly judgments into anomaly scores by building and querying a latent severity coordinate. (a) A frozen model generates normal/anomalous reference events and self-compares them; Bradley–Terry modeling induces reference severity coordinates, which are linked to anomaly likelihood by the reference identities. (b) For a test clip, CA-Judge maintains a posterior belief over query severity, selects query–reference comparisons by their expected information about anomaly status, and aggregates the comparison trace for posterior readout.

Datasets

Because CA-Judge is completely training-free, it uses zero training data. The authors evaluate it on the test splits of two standard real-world VAD benchmarks (with additional datasets mentioned as being in the appendix):

  • UCF-Crime: Real-world, untrimmed surveillance footage spanning 13 anomaly categories (tested on 140 normal and 150 abnormal videos).
  • XD-Violence: Tougher multimodal videos sourced from movies and YouTube covering 6 types of violent events (tested on 800 videos).

Key Insights and Ideas

  • The Elicitation Bottleneck: When an LVLM misses an anomaly, we usually blame its visual perception or reasoning. This paper shows the bottleneck is often just the interface—models already "know" what's severe, they are just terrible at mapping prose to an arbitrary [0, 1] scale without anchors.
  • Self-Bootstrapping a Coordinate System: You don't need real surveillance data to calibrate an anomaly detector. An LVLM's internal world knowledge is rich enough to hallucinate its own anchor events, compare them, and build a calibrated metric space from scratch.
  • Text-Only Active Planning is Cheap: Because pairwise comparisons happen over text descriptions after the video clip is captioned once, doing 8 smart comparisons adds very little overhead—in fact, CA-Judge uses fewer end-to-end GPU hours than several prior training-free baselines.

Key Results

Built on Qwen2.5-VL-7B, CA-Judge sets a new state-of-the-art among training-free VAD methods and even rivals fine-tuned models:

  • UCF-Crime: Achieves 87.23% AUC, jumping +6.91 percentage points over the direct-scoring Qwen2.5-VL-7B baseline (80.32%) and beating the previous training-free SOTA, PANDA (84.89%), by 2.34 points.
  • XD-Violence: Reaches 72.58% AP and 90.74% AUC, outperforming direct scoring by +6.89% AP and +4.37% AUC, and surpassing PANDA (70.16% AP).
  • Qualitative Wins & Budget Sweet Spot: Performance saturates neatly at $K=8$ comparisons. Visually, it catches subtle anomalies (boosting a burglary clip from 0.20 to 0.73) while calming down false alarms on chaotic-looking normal scenes (dropping an outdoor basketball game from 0.60 to 0.28). It also transfers cleanly to other backbones like InternVL2.5-8B (86.26% AUC on UCF-Crime).

Limitations and Future Work

While comparing text captions is much cheaper than re-processing video frames, CA-Judge still requires multiple sequential LLM calls ($K=8$ per clip) at test time, which adds latency compared to a single forward pass. To tackle this, the authors suggest a natural next step: distilling or baking this comparative judgment capability directly into the model's weights, eliminating the need to run explicit pairwise comparisons during live inference.

Summary updated

Abstract

Video anomaly detection (VAD) is critical for identifying safety risks in surveillance and autonomous systems. Recent large-model-based VAD methods generate textual rationales and directly output anomaly scores. However, mapping rich semantic descriptions and analysis directly to absolute scalar scores can be poorly grounded and inconsistent, leading to scores that are not well aligned with anomaly severity. With the observation that for humans, it is usually easier to compare things than to rate things directly, we explore whether it also holds for large models in VAD by proposing **CA-Judge** (**C**omparative **A**nomaly **Judge**), a training-free framework that replaces direct scoring with comparative order inference. CA-Judge treats model-perceived anomaly severity as a latent coordinate, constructs this coordinate from self-comparisons among generated normal/anomalous reference events, and models how anomaly likelihood varies along this coordinate using the generated normal/anomalous reference identities. At test time, CA-Judge avoids exhaustive comparison by maintaining a posterior belief over query severity and selecting a few query--reference comparisons by their expected information about the anomaly status. The resulting comparison trace is aggregated under a Bradley--Terry likelihood and read out through the learned severity--anomaly association to produce the anomaly probability. Without fine-tuning or training data, CA-Judge substantially improves over direct-scoring baselines and surpasses prior training-free state-of-the-art methods on UCF-Crime and XD-Violence.
BibTeX
@inproceedings{huang2026ca,
  author = {He Huang and Zixuan Hu and Dongxiao Li and Zhaoyi Li and LINGYU DUAN},
  title = {{CA-Judge: Teach Large Models to Judge Anomalies via Comparison for Video Anomaly Detection}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Km1kogguK0},
}
Figure