TL;DR
FleVRS is a unified, one-stage framework that masters visual relationship segmentation across three distinct modes: standard detection, prompt-driven queries, and open-vocabulary scenarios. By integrating Human-Object Interaction (HOI) and Scene Graph Generation (SGG) into a single model, it achieves state-of-the-art results, including a +11.4 accuracy boost on promptable tasks and superior generalization to unseen concepts.
What Problem Does This Paper Address?
In computer vision, understanding an image goes beyond identifying objects; it requires understanding how those objects interact. Historically, this has been fragmented into three sub-fields:
- Human-Object Interaction (HOI): Detecting how people interact with things (e.g., "person riding horse").
- Scene Graph Generation (SGG): Mapping all spatial and semantic relationships in a scene (e.g., "bench on pavement").
- Referring Relationships (RR): Finding a specific relationship based on a text prompt.
Most existing models are "specialists" designed for only one of these tasks. Furthermore, many rely on bounding boxes, which are imprecise and often overlap in cluttered scenes. FleVRS tackles the need for a flexible, unified model that can perform all these tasks at the pixel level (segmentation) rather than just drawing boxes, even when encountering objects or actions it wasn't explicitly trained on.
Methods
FleVRS employs a one-stage, dual-query Transformer architecture. Unlike two-stage models that detect objects first and then analyze relationships, FleVRS decodes the entire relationship triplet—<subject, predicate, object>—simultaneously.
- Dual-Query System: The model uses "latent queries" (learned embeddings that look for general patterns) and "textual queries" (derived from user prompts). These are fed into a Relationship Decoder that cross-references visual features with linguistic concepts.
- Vision-Language Synergy: It leverages a frozen CLIP textual encoder. By mapping visual features into the same space as CLIP’s text embeddings, the model can recognize "open-vocabulary" relationships (concepts not seen during training) simply by comparing visual features to text descriptions.
- The "SAM" Upgrade: Since many high-quality relationship datasets only provide bounding boxes, the authors used the Segment Anything Model (SAM) to automatically generate segmentation masks for training. They implemented an IoU-based filtering system to ensure only high-quality, accurate masks were used for supervision.
Datasets
The model was trained and evaluated on several cornerstone benchmarks:
- HICO-DET & V-COCO: The gold standards for Human-Object Interaction.
- PSG (Panoptic Scene Graph): Used for comprehensive scene understanding.
- VRD (Visual Relationship Detection): Used specifically to test the model's "promptable" capabilities (responding to specific text queries).
Key Insights and Ideas
- Unified Representation: The authors prove that HOI and SGG are two sides of the same coin. By treating them as a single segmentation task, the model learns a more robust representation of "relationality" that transfers across datasets.
- Masks Provide Better Signal: Moving from boxes to masks isn't just about precision; it reduces "noise." Bounding boxes for a "person riding a bike" overlap significantly, confusing the model. Masks provide a clean, non-overlapping signal that helps the Transformer decoder focus on the actual interaction boundaries.
- Prompting as a Filter: The model can handle "partial" prompts (e.g.,
<?, sit on, bench>). This allows the model to act as a flexible interface where a user can query specific interactions dynamically without retraining.
Key Results
FleVRS demonstrates significant performance gains across the board:
- Standard HOI: Achieved 40.5 mAP on HICO-DET, outperforming previous single-stage and even complex two-stage models (a +1.9 mAP improvement over the previous best).
- Promptable VRS: On the VRD dataset, it outperformed the baseline by a massive +11.4 Accuracy in localizing subjects and objects based on text.
- Open-Vocabulary: When tested on "unseen" object-verb combinations in HICO-DET, it improved performance by +4.7 mAP, proving its ability to generalize to novel scenarios using CLIP's knowledge.
Limitations and Future Work
The authors acknowledge a few hurdles:
- Data Scarcity: While they used SAM to create masks, there is still a lack of massive-scale, natively segmented relationship data compared to simple object detection data.
- CLIP Dependency: The model’s open-vocabulary performance is inherently tied to the quality of the CLIP embeddings. If CLIP struggles with a specific abstract predicate (like "entering" vs. "exiting"), FleVRS likely will too.
- Long-Tail Distribution: Like all SGG models, FleVRS still finds it challenging to predict very rare relationships (the "long tail") because the datasets are heavily biased toward common actions like "sitting on" or "holding."
Future work involves exploring how to integrate more natural, free-form language (rather than structured triplets) and scaling the pretraining to even larger, more diverse datasets.
Summary updated