Recover and Match: Open-Vocabulary Multi-Label Recognition through Knowledge-Constrained Optimal Transport
Hao Tan, Zichang Tan, Jun Li, Ajian Liu, Jun Wan, Zhen Lei
TL;DR
Open-vocabulary multi-label recognition is hindered by degraded local semantics in CLIP-based encoders and by weak region-to-label matching. RAM addresses these issues with Ladder Local Adapter (LLA) to restore local context and Knowledge-Constrained Optimal Transport (KCOT) to jointly and constraint-guidedly match image regions to labels, guided by Label Presence Detection and Teacher Knowledge Transfer. The framework uses a learnable label prompt set and a contrastive Multi-Matching (MMC) loss, achieving state-of-the-art results across six OV benchmarks spanning natural, pedestrian, and remote-sensing domains. RAM demonstrates strong generalization to unseen labels with efficient memory and inference cost, underscoring the practical value of enforcing locality and principled set matching in OVMLR.
Abstract
Identifying multiple novel classes in an image, known as open-vocabulary multi-label recognition, is a challenging task in computer vision. Recent studies explore the transfer of powerful vision-language models such as CLIP. However, these approaches face two critical challenges: (1) The local semantics of CLIP are disrupted due to its global pre-training objectives, resulting in unreliable regional predictions. (2) The matching property between image regions and candidate labels has been neglected, relying instead on naive feature aggregation such as average pooling, which leads to spurious predictions from irrelevant regions. In this paper, we present RAM (Recover And Match), a novel framework that effectively addresses the above issues. To tackle the first problem, we propose Ladder Local Adapter (LLA) to enforce refocusing on local regions, recovering local semantics in a memory-friendly way. For the second issue, we propose Knowledge-Constrained Optimal Transport (KCOT) to suppress meaningless matching to non-GT labels by formulating the task as an optimal transport problem. As a result, RAM achieves state-of-the-art performance on various datasets from three distinct domains, and shows great potential to boost the existing methods. Code: https://github.com/EricTan7/RAM.
