arXiv:2608.23503cs.CVAug 2026

Manuscript Offprint

arXiv:2608.23503

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

Thanh-Khoi Nguyen, Thanh-Nhan Vo, Trong-Thuan Nguyen, Minh-Triet Tran

Thanh-Khoi Nguyen 1,2†^{1,2\dagger}, Thanh-Nhan Vo 1,2†^{1,2\dagger}, Trong-Thuan Nguyen 1,2^{1,2}, and Minh-Triet Tran 1,2^{1,2}

1^{1} University of Science, VNU-HCM, Vietnam

2^{2} Vietnam National University, Ho Chi Minh City, Vietnam

{ntkhoi,vtnhan,ntthuan}@selab.hcmus.edu.vn

tmtriet@fit.hcmus.edu.vn

†^{\dagger}These authors contributed equally.

Abstract. Text-based person anomaly search requires distinguishing individuals based on fine-grained, context-dependent behaviors rather than mere appearance. Existing methods struggle to capture these context-conditioned actions, frequently relying on isolated skeletal geometry, discarding raw query details during reformulation, or utilizing absolute pointwise scoring for multimodal verification. To address these limitations, we propose ActPair, a unified three-stage coarse-to-fine framework that combines action-aligned retrieval with pairwise multimodal reranking to bridge the pose-semantic gap. First, we fine-tune a vision-language model (VLM) with an action-aligned multi-task objective that encourages the representations to encode action-discriminative semantics. Second, we perform parallel late-fusion retrieval using the original query and a large language model (LLM)-generated context-grounded rewrite, retaining complementary details from both semantic views. Finally, we propose an efficient off-the-shelf reranking module that leverages a pivot-promote algorithm to perform direct pairwise visual comparisons, mitigating residual spatial and compositional ambiguities without the prohibitive inference costs of exhaustive evaluation. Extensive experiments demonstrate that our framework achieves the best results among the compared methods on the Pedestrian Anomaly Behavior (PAB) public test and and transfers effectively to an unseen, non-anomaly-specific dataset.

Keywords: Text-based person anomaly search · Vision-language retrieval · Action-aligned representation learning · Pairwise multimodal reranking

1 Introduction

Text-based person search retrieves individuals using natural language but is largely limited to routine activities, overlooking abnormal behaviors critical in

Thanh-Khoi Nguyen et al.

surveillance. Recent work extends this to text-based person anomaly search, where individuals may share similar appearance and can only be distinguished by fine-grained actions described in the query. These actions are often entangled with implicit scene context, requiring representations that capture identity-independent behavior and context, rather than relying on appearance alone.

While recent advances have pushed the boundaries of text-based person retrieval, existing methods still exhibit critical limitations when applied to the highly nuanced task of person anomaly search. First, prior pose-aware frameworks (e.g., Cross-Modal Pose-aware (CMP) [23]) predominantly rely on isolated skeletal geometry as a supervisory signal for human action. However, in static image retrieval, where temporal dynamics are absent, skeletal posture is inherently ambiguous; a physical pose resolves into definitive action semantics only when explicitly coupled with its surrounding environmental context. Second, although recent methods explore query reformulation (e.g., MVR [26], ReCQR [3], PlugIR [8], MRA [22]), they typically replace the original query entirely. They lack a parallel late-fusion mechanism capable of synergizing the unadulterated fine-grained details of the raw query with a canonical, context-grounded rewrite, thereby inadvertently discarding complementary semantic evidence. Third, global dense embeddings exhibit a well-documented vulnerability to the compositional binding problem. While highly proficient at recognizing isolated semantic concepts, they frequently fail to accurately bind these attributes to their correct subjects within a unified interaction graph. In anomaly search, distinguishing events rarely relies on the mere presence of objects, but rather on precise spatial interactions (e.g., "a man falling off a bicycle" versus "a man standing next to a fallen bicycle"). Consequently, cosine similarity metrics over compressed representations struggle with final fine-grained localization. To mitigate this, contemporary generative methods (e.g., AnomalyLMM [6], IRRA [4] reranking) introduce multimodal large language model (MLLM)-based reranking, but they typically rely on independent caption generation or absolute pointwise scoring. This isolated assessment forces models to maintain globally calibrated scales. However, it overlooks a fundamental intuition: assessing subtle visual differences is inherently easier and more reliable when directly comparing two highly similar candidates side-by-side, rather than attempting to compute an absolute relevance score for a single image in isolation. Finally, current architectures (e.g., SSDC [19], RaSa [21], APTM [24], CAMeL [25]) remain fragmented, lacking a unified coarse-to-fine framework tailored for fine-grained person anomaly search.

To overcome these limitations, we propose ActPair, an action-aligned retrieval framework with pairwise multimodal reranking, designed as a unified three-stage coarse-to-fine pipeline to bridge the pose-semantic gap in text-based person anomaly search. First, we establish a robust dense retrieval foundation by fine-tuning a VLM via an action-aligned multi-task learning objective and cross-modal consistency to capture rich, context-conditioned action semantics. Second, to address the contextual ambiguity of free-form natural language, we employ a parallel late-fusion retrieval strategy that harmonizes the original query with an LLM-synthesized, context-grounded rewrite, maximizing candidate recall while preserving fine-grained raw details. Finally, to alleviate residual spatial and compositional ambiguities that global dense embeddings inherently struggle to capture, we utilize an efficient off-the-shelf multimodal reranking module. By using an MLLM as a direct pairwise comparator within the pivot-promote procedure, our framework performs targeted reranking over the top-ranked candidates rather than constructing a complete pairwise ordering. The procedure reduces the number of comparisons in the evaluated top-10 setting, although its worst-case complexity remains quadratic.

Our main contributions are as follows:

– We propose action-aligned multi-task representation learning for a VLM that combines contrastive image-text alignment with explicit action-tag supervision and cross-modal consistency.

– We propose context-grounded query rewriting with parallel late-fusion retrieval, enriching queries with action and scene cues while fusing complementary semantic views to improve recall.

– We propose an efficient off-the-shelf pairwise multimodal reranking with a pivot-promote strategy. Under a matched Qwen3.5-9B comparison, direct candidate comparison improves R@1 and mAP over pointwise scoring.

References (29)