BUSSARD: Normalizing Flows for Bijective Universal Scene-Specific Anomalous Relationship Detection

Melissa Schween, Mathis Kruse, Bodo Rosenhahn

TL;DR

BUSSARD introduces a learning-based approach to detect context-dependent relationship anomalies in images (like a plate left on a chair) using scene graphs and normalizing flows. By combining semantic word embeddings with exact likelihood estimation, it outperforms traditional counting-based baselines by 10% AUROC while being five times faster and significantly more robust to vocabulary variations.

What Problem Does This Paper Address?

Traditional computer vision anomaly detection (AD) typically focuses on structural defects (e.g., cracks in industrial parts) or unusual human actions in surveillance footage. However, these methods often miss relationship anomalies—scenarios where individual objects are perfectly normal, but their context or interaction is bizarre (e.g., a car parked on a playground, or a plate placed on a chair).

The recently introduced Scene-Specific Anomalous Relationship Detection (SARD) task addresses this gap. However, the existing state-of-the-art method relies on a counting-based approach that tallies triplet frequencies. This baseline suffers heavily from the "long-tail problem" (rare but perfectly normal relationships get falsely flagged as anomalies) and is highly sensitive to synonyms or vocabulary changes (e.g., failing to equate "human" with "person").

Figure 1. Example image from SARD dataset [32]. A non com- plete scene graph consists of: ‘plate-on-chair’, ‘plate-near-clock’, ‘cup-on-table’, ‘chair-near-table’. The anomaly to detect is ‘plate- on-chair’.

Methods

BUSSARD (Bijective Universal Scene-Specific Anomalous Relationship Detection) shifts the paradigm from counting to density estimation using a four-stage pipeline:

  1. Scene Graph Generation (SGG): A pretrained, frozen SGG model (EGTR) parses an image and extracts object-relation-object triplets (e.g., [cup, on, table]).
  2. Multimodal Word Embedding: Object and relation tokens are mapped to continuous vector spaces using pretrained GloVe embeddings. This ensures that semantically similar words sit close together, allowing the model to generalize across rare or unseen vocabulary.
  3. Dimensionality Reduction (Autoencoder): Because normalizing flows require bijective (invertible) mappings, they cannot inherently reduce dimensionality. High-dimensional language embeddings (900D when concatenated) cause training instability. BUSSARD uses a lightweight autoencoder to compress these into a dense 512D latent space.
  4. Normalizing Flow (RealNVP): The core anomaly detector. It learns a bijective transformation that maps the complex distribution of normal triplets to a simple standard Gaussian distribution. During inference, triplets that yield a low log-likelihood under this distribution are flagged as anomalies.
Figure 2. The components of BUSSARD. The images are parsed using a pretrained scene graph generator. Each triplet is then encoded using a pretrained word embedding model. The embeddings of the triplets are each concatenated and the dimension is reduced using an autoencoder. In the end, a normalizing flow is used to predict the likelihood of the triplets being anomalous.

Datasets

  • SARD Dataset: The primary benchmark, consisting of indoor dining room and office scenes. Images are labeled as normal or anomalous, with ground-truth descriptions of the anomalous triplets.
  • MIT Indoor Dataset (MIT-67): Used to evaluate cross-dataset robustness and check how well the model generalizes when trained on an entirely different environment.

Key Insights and Ideas

  • Semantic Proximity Beats Exact Counting: By leveraging word embeddings rather than raw frequency counts, the model inherently understands that "human on chair" and "person on chair" share the same semantic space. This effectively mitigates the long-tail vocabulary issue.
  • The Invertibility Bottleneck: Normalizing flows are notoriously sensitive to input dimensions. The authors demonstrated that trying to map raw language embeddings directly into the flow leads to poor performance; a preliminary compression step via an Autoencoder is vital for stabilizing the bijective mapping.
  • Relationships Matter More Than Nodes: In ablation studies, removing the relationship token (encoding only the objects) caused a significant drop in performance. This confirms that the interaction between objects carries the critical anomalous signal, not just the presence of the objects themselves.

Key Results

  • State-of-the-Art Performance: BUSSARD achieves 97.85% AUROC on dining room scenes and 95.29% AUROC on office scenes, outperforming the SARD baseline by an absolute margin of roughly 10%.
  • 5x Speedup: Despite utilizing deep neural networks, BUSSARD's feed-forward architecture makes it five times faster during inference than the baseline's complex counting and sorting pipeline.
  • Robustness to Synonyms: When words were randomly replaced with synonyms, the baseline's performance degraded by up to 17.5%. In contrast, BUSSARD remained remarkably stable, showing a maximum deviation of only ~2%.
Ablation results showing BUSSARD's stability against synonym variations compared to the baseline.

Limitations and Future Work

The primary limitation of BUSSARD is its strict dependency on the upstream Scene Graph Generator. If the SGG fails to detect an object or relationship entirely—or drops it below the top-30 confidence threshold—BUSSARD has no way of recovering it to flag the anomaly.

For future work, the authors propose extending this framework to video data by leveraging Dynamic Scene Graph Generation (DSGG) to track how relationships change over time. Additionally, they suggest integrating Large Language Models (LLMs) to generate natural language explanations, moving from binary anomaly detection to explainable AI.

Summary updated

BibTeX
@inproceedings{schween2026bussard,
  author = {Melissa Schween and Mathis Kruse and Bodo Rosenhahn},
  title = {{BUSSARD: Normalizing Flows for Bijective Universal Scene-Specific Anomalous Relationship Detection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=ECbuiwmPkq},
}
Figure