Action-Aligned Retrieval with Pairwise Multimodal Reranking for Text-Based Person Anomaly Search

Thanh-Khoi Nguyen, Thanh-Nhan Vo, Trong-Thuan Nguyen, Minh-Triet TranarXiv 2026

TL;DR

ActPair is a new three-stage coarse-to-fine framework designed for text-based person anomaly search that bridges the "pose-semantic gap" by combining action-aligned representation learning with dual-view query retrieval. By introducing an efficient pairwise multimodal reranking strategy using an off-the-shelf Multimodal LLM, it achieves state-of-the-art results on the Pedestrian Anomaly Behavior (PAB) benchmark, significantly outperforming traditional appearance- and pose-based methods.

What Problem Does This Paper Address?

Traditional text-based person search focuses heavily on static appearance attributes like clothing color, gender, or hair length. However, in real-world surveillance scenarios, finding a specific individual often requires identifying fine-grained, context-dependent behaviors—such as distinguishing "a man falling off a bicycle" from "a man standing next to a fallen bicycle." This task is known as text-based person anomaly search.

Current methods struggle with this task due to three main limitations:

  1. The Pose-Semantic Gap: Prior frameworks rely heavily on isolated skeletal geometry (pose data), which is inherently ambiguous without environmental context.
  2. Destructive Query Reformulation: Existing query expansion techniques completely replace the user's original query, inadvertently discarding fine-grained, instance-specific details.
  3. The Compositional Binding Problem: Standard global dense embeddings struggle to accurately map spatial relationships and interactions between subjects and objects. Furthermore, while Multimodal Large Language Models (MLLMs) are often brought in to rerank candidates, they typically score images in isolation (pointwise), forcing the model to maintain a difficult-to-calibrate absolute scale.

Methods

The authors propose ActPair, a unified three-stage pipeline that moves from coarse retrieval to fine-grained reranking:

  1. Action-Aligned Representation Learning: The authors fine-tune a SigLIP2 vision-language model using a multi-task objective. In addition to standard contrastive alignment, they add an auxiliary classification head over predefined action tags and enforce cross-modal semantic consistency using Kullback-Leibler (KL) divergence. This forces the model to encode action-discriminative features rather than relying solely on background shortcuts.
  2. Parallel Late-Fusion Retrieval: To resolve textual ambiguity, an LLM rewrites the raw query into a structured, context-grounded template that explicitly separates person descriptions, actions, and scene details. Instead of replacing the original query, ActPair runs parallel retrieval branches for both the raw and rewritten queries, combining their results via late fusion (score averaging) to maximize candidate recall.
  3. Pairwise Multimodal Reranking (Pivot-Promote): Instead of asking an MLLM (Qwen3.5-9B) to output an absolute relevance score for a single image, ActPair tasks it with directly comparing two candidate images side-by-side against the query. To avoid the quadratic computational cost ($O(M^2)$) of exhaustive all-pairs comparisons, they introduce a pivot-promote sorting algorithm (similar to QuickSort partitioning) to efficiently re-order the top-10 candidates.
Fig. 1: Overview of ActPair. An action-aligned dual encoder retrieves candidates from the original query and a context-grounded rewrite. Their rankings are fused before pairwise multimodal reranking with pivot-promote.
Fig. 2: Action-aligned representation learning. Image and text embeddings are opti- mized by the SigLIP2 objective, shared action supervision, and cross-modal action consistency.

Datasets

The framework was evaluated on two key datasets:

  • Pedestrian Anomaly Behavior (PAB): The primary benchmark for this task, containing over 1 million image-text pairs spanning 1,600 anomalous and 1,000 normal behaviors. The authors also evaluated on an augmented version from the AI City Challenge Track 4.
  • RSTPReid: A standard person re-identification dataset containing 20,505 images of 4,101 persons. This dataset was used strictly for zero-shot cross-dataset evaluation to test how well ActPair's learned representations generalize to unseen, non-anomaly-specific environments.

Key Insights and Ideas

  • Context Resolves Pose Ambiguity: A physical pose only translates into a definitive action when coupled with its environment. Explicitly supervising models with action tags alongside scene context bridges the pose-semantic gap much better than geometric skeletal data alone.
  • Relative Comparison Over Absolute Scoring: MLLMs excel at relative, pairwise judgments ("Is Image A or Image B a better match for this text?") compared to absolute pointwise scoring ("Rate the match of Image A from 1 to 10"). Side-by-side evaluation bypasses the need for globally calibrated scoring scales.
  • Preserving the Raw Query: While LLM-generated query rewrites provide excellent structural grounding, they can drop subtle details. Fusing the raw query with the rewrite ensures that fine-grained constraints (like specific clothing colors) are not lost.

Key Results

  • State-of-the-Art Performance: On the original PAB public test protocol, ActPair achieved 88.62% Recall@1 and 93.97% mAP, outperforming the previous best cascade-based method (SSDC) by 1.41% and 1.10% respectively.
  • Pairwise Superiority: When compared directly under the same Qwen3.5-9B model configuration, the proposed pairwise reranking strategy outperformed the pointwise baseline by an absolute margin of +4.75% R@1 and +2.44% mAP, while requiring fewer average model calls per query (9.09 vs. 10.00).
  • Robust Generalization: In zero-shot transfer tests from PAB to the RSTPReid dataset, ActPair achieved 55.25% Recall@1, vastly outperforming the pose-aware CMP baseline, which only managed 29.15%.

Limitations and Future Work

The primary limitation of ActPair is its dependency on a fixed, predefined vocabulary of action and scene tags derived from dataset-specific annotations during the offline extraction phase. This limits its immediate scalability to entirely unannotated or open-world domains.

To address this, the authors note that future work will focus on developing an unsupervised MLLM pipeline capable of dynamically parsing raw captions into action and scene clusters, removing the need for manual tag curation.

Summary updated

BibTeX
@misc{nguyen2026action,
  author = {Thanh-Khoi Nguyen and Thanh-Nhan Vo and Trong-Thuan Nguyen and Minh-Triet Tran},
  title = {{Action-Aligned Retrieval with Pairwise Multimodal Reranking for Text-Based Person Anomaly Search}},
  year = {2026},
  eprint = {2608.23503},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.23503},
}
Figure