Small Model, Big Retrieval: Unified Heterogeneous Retrieval via Multi-Label-Aware Contrastive Fine-Tuning

Shaobai Jiang, Dantong Liu, Federico Gonzalez, Pedro Herrero-Vidal, You-Lin Chen, Xiaoyu Chu, Prithviraj Sen


Abstract
Contrastive fine-tuning of a single embedding model across heterogeneous retrieval tasks is challenging when the tasks differ in label structure. In product-compliance retrieval, some tasks have multi-label supervision — every item carries a set of compliance categories, and many in-batch items share at least one category with the query, producing frequent in-batch false negatives. Other tasks (e.g., cross-catalog product matching) have no category labels: each query has one canonical match. Existing multi-label contrastive methods require every batch item to carry comparable labels, so they cannot serve a single embedding model trained on both label-bearing and label-free tasks. We propose label-aware false-negative exclusion: a zero-cost binary mask on the InfoNCE denominator that drops same-label candidates from the negative set rather than including them to positives. The mask has no effect on label-free items, so the same loss handles both task types. A 0.6 B-parameter embedding model fine-tuned this way handles four retrieval tasks simultaneously, lifting average Recall by 49% (0.489 → 0.729) and matching the 13× larger off-the-shelf Qwen3-Embedding-8B at 32× lower embedding dimensionality. Fine-tuning further enables learned query fusion: concatenating regulatory text with an example product, which hurts retrieval before fine-tuning, becomes the strongest query type after, beating either alone by 6-11%.
Anthology ID:
2026.emnlp-industry.140
Volume:
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing: Industry Track
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Pepa Atanasova, Gholamreza Haffari, Minghan Wang
Venue:
EMNLP
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
2355–2368
Language:
URL:
https://aclanthology.org/2026.emnlp-industry.140/
DOI:
Bibkey:
Cite (ACL):
Shaobai Jiang, Dantong Liu, Federico Gonzalez, Pedro Herrero-Vidal, You-Lin Chen, Xiaoyu Chu, and Prithviraj Sen. 2026. Small Model, Big Retrieval: Unified Heterogeneous Retrieval via Multi-Label-Aware Contrastive Fine-Tuning. In Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing: Industry Track, pages 2355–2368, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
Small Model, Big Retrieval: Unified Heterogeneous Retrieval via Multi-Label-Aware Contrastive Fine-Tuning (Jiang et al., EMNLP 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.emnlp-industry.140.pdf