Mixture of Experts Guided by Gaussian Splatters Matters: A new Approach to Weakly-Supervised Video Anomaly Detection

Giacomo D'Amicantonio, Snehashis Majhi, Quan Kong, Lorenzo Garattoni, Gianpiero Francesca, François Bremond, Egor Bondarev

TL;DR

GS-MoE reimagines Weakly-Supervised Video Anomaly Detection (WSVAD) by replacing rigid, top-$k$ binary frame selection with smooth Temporal Gaussian Splatting and a Mixture of Experts architecture. By modeling anomalies as continuous temporal distributions and assigning dedicated expert networks to specific anomaly types, the framework captures subtle, long-duration real-world incidents that traditional methods miss. The approach achieves a new state-of-the-art 91.58% AUC on the UCF-Crime dataset.

What Problem Does This Paper Address?

In video surveillance, finding anomalies (like accidents, thefts, or fights) is a needle-in-a-haystack problem. Fully supervising these models requires tedious, frame-by-frame annotations. To avoid this, researchers use Weakly-Supervised Video Anomaly Detection (WSVAD), where models are trained using only video-level labels ("this 5-minute video contains a fight somewhere") but must predict anomalies at the frame level.

Traditionally, this is solved using Multi-Instance Learning (MIL), which forces the model to focus only on the highest-scoring ($top-k$) anomalous snippets in a video. However, MIL suffers from two major flaws:

  1. Temporal Over-dependency: It only looks at the most obvious spikes, completely ignoring subtle anomalies or the context leading up to and following the event.
  2. Category Blindness: It uses a single shared model for all anomalies, failing to capture fine-grained, category-specific features (e.g., the visual signature of "shoplifting" is vastly different from an "explosion").
Figure 2. The abnormal scores obtained from the backbone model on a training video at the end of training. The topk snippets used in the MIL paradigm lead the model to focus on the first and last of the three anomalous events present in the video, overlooking the second anomaly. However, the second anomaly, while not scoring as high as the others, is still detected.

As shown in Figure 2, standard MIL focuses heavily on the most dramatic peaks, completely overlooking secondary or more subtle anomalous events occurring in the same video.

Methods

The authors introduce Gaussian Splatting-guided Mixture of Experts (GS-MoE), a three-stage framework designed to capture the full temporal envelope and distinct characteristics of diverse anomalies.

Stage 1: Feature Extraction (I3D + UR-DMU) 
   └── Stage 2: Class-Specific Experts (Specialized Transformers)
          └── Stage 3: Collaborative Integration (Gate Model with Cross-Attention)

1. Temporal Gaussian Splatting (TGS)

Instead of treating anomaly detection as a binary classification of isolated frames, TGS treats anomalies as continuous temporal events modeled by Gaussian distributions. The model detects local maxima ("peaks") in the anomaly scores, calculates their temporal width based on monotonic score changes, and splats Gaussian kernels across these windows. This creates smooth, continuous pseudo-labels that train the model on the entirety of an anomalous event.

Gaussian kernels pseudo-labels

2. Mixture of Experts (MoE) & Gate Model

To handle anomaly diversity, GS-MoE deploys multiple specialized expert networks. Each expert is a transformer block dedicated to modeling a single anomaly class (or data cluster).

Finally, a Gate Model uses a bi-directional cross-attention mechanism to bridge the gap between these fine-grained expert predictions and coarse, video-level features, outputting a refined, final frame-level anomaly score.

Figure 4. Overview of the GS-MoE architecture: First, in the feature extraction stage, the video encoder extracts snippet-level features from the video, and the task encoder refines them in the anomaly-detection latent space. In the second stage, each class-expert is trained only on refined features belonging to its assigned class and to the normal class. In the final stage, the gate model collects the scores assigned by each expert and compares them with the refined features of the task encoder, producing the final abnormal score.

Datasets

The framework was validated across four prominent benchmarks:

  • UCF-Crime: A large-scale dataset containing 13 distinct anomaly categories across real-world surveillance footage.
  • XD-Violence: A massive multi-modal dataset focusing on violent events, evaluated using Average Precision (AP).
  • MSAD (Multi-Scene Anomaly Detection): A recently released benchmark for evaluating multi-scene VAD performance.
  • UBnormal: A synthetic, open-set anomaly detection dataset used here to test the model in data-constrained environments.

Key Insights and Ideas

  • Anomalies Have Envelopes, Not Just Spikes: The core "aha moment" is borrowing the concept of Gaussian Splatting from 3D/4D computer graphics and applying it to the temporal dimension of video scores. This smooths out the optimization landscape and forces the network to learn the context of an anomaly.
  • Clustering Solves the "Unknown Class" Problem: In real-world deployments, you don't always know the anomaly categories beforehand. The authors discovered that applying K-Means clustering to video features and assigning an expert to each cluster (rather than a predefined class) still beats the state-of-the-art, proving the framework's practical viability.
  • Better Latent Space Separation: By separating the problem into specialized experts, the model learns highly distinct feature representations.
Figure 6. Category-wise t-SNE feature distribution comparison between the baseline, the experts and the gate model.

As visualized in the t-SNE plots (Figure 6), the baseline features (a) are highly cluttered, whereas the GS-MoE features (b) show clear, well-separated clusters for different anomaly types.

Key Results

  • UCF-Crime: GS-MoE achieves a state-of-the-art 91.58% AUC, outperforming the previous best model (VadCLIP) by 3.56%.
  • Abnormal-Only Evaluation: On the rigorous Abnormal AUC ($AU\text{C}_A$) metric—which evaluates performance only on videos containing anomalies to measure localization accuracy—GS-MoE hits 83.86%, a massive 13.63% leap over the baseline UR-DMU.
  • XD-Violence & MSAD: The model achieves a competitive 85.74% $\text{AP}_A$ on XD-Violence and sets a new SoTA on MSAD with 87.72% AUC.

Limitations and Future Work

Despite its impressive accuracy, GS-MoE introduces computational overhead. Because the expert models process video snippets sequentially in the current implementation, the throughput drops to 10 frames per second (FPS), which falls short of real-time processing requirements. The authors note that a parallelized implementation could mitigate this.

Additionally, highly unbalanced datasets (like UBnormal, where some scenes only have a single anomalous video) can bottleneck expert training. For future work, the authors propose integrating Large Language Models (LLMs) to inject textual context and improve the explainability of the detected anomaly classes.

Summary updated

BibTeX
@inproceedings{damicantonio2025mixture,
  author = {Giacomo D'Amicantonio and Snehashis Majhi and Quan Kong and Lorenzo Garattoni and Gianpiero Francesca and François Bremond and Egor Bondarev},
  title = {{Mixture of Experts Guided by Gaussian Splatters Matters: A new Approach to Weakly-Supervised Video Anomaly Detection}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure