cs.CVSep 4, 2025

AnomalyLMM: Bridging Generative Knowledge and Discriminative Retrieval for Text-Based Person Anomaly Search

Authors: Hao Ju, Hu Zhang, Zhedong Zheng

Organizations: Faculty of Science and Technology and Institute of Collaborative Innovation, University of Macau · CSIRO Data61

Abstract

Text-based person anomaly search requires fine-grained alignment between language queries and subtle visual cues, a challenge amplified by the long-tailed nature of anomalous behaviors. While Large Multimodal Models (LMMs) offer powerful visual understanding, their generative pre-training is fundamentally misaligned with the discriminative needs of this retrieval task. Adapting them without costly fine-tuning remains a significant hurdle. We introduce AnomalyLMM, a training-free, coarse-to-fine framework that effectively repurposes generative LMMs for zero-shot anomaly retrieval. Our method first uses a general retrieval model to produce an initial ranking. To refine this list, we introduce a novel cloze-based re-ranking mechanism with three steps. The first step Cloze Generation converts the text query into a ``fill-in-the-blank'' prompt. Next, Cloze Completion compels the LMM to focus on specific visual regions and generate a description of the potential anomaly. The final step Comparison & Re-ranking calculates semantic alignment between the LMM's generated completion and the original query, which serves as a powerful re-ranking score. Experiments on the PAB and UCC datasets show that AnomalyLMM surpasses the competitive baseline by +1.93+1.93% and +1.79+1.79% Recall@1 accuracy on two datasets. Crucially, our method provides highly interpretable visual-textual alignments without any task-specific training, a vital feature for real-world deployment. The code will be made publicly available.

Figures & tables

Appendix figures & tables5 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

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

    Aug 24, 2026Thanh-Khoi Nguyen, Thanh-Nhan Vo, Trong-Thuan Nguyen +1Anomaly DetectionCross-Modal Feature Matching

  2. FaLCon: Facet-Anchored Retrieval with Late Consensus for Sim2Real Text-Based Person Anomaly Search

    Aug 10, 2026Hieu Dinh Trung Pham, Phuong Huu Vu Tran, Thuan Duc Mai +6Text-Based Person SearchFine-Grained Image Retrieval

  3. Heterogeneous Vision-Language Ensemble with Disagreement-Aware Reranking for Text-Based Person Anomaly Retrieval

    Aug 13, 2026Huu-An Vu, Cam Tu Tran Thi, Thanh Toan Le Ngo +5Vision-Language ModelsMultimodal Reranking