Semantic Library Adaptation: LoRA Retrieval and Fusion for Open-Vocabulary Semantic Segmentation

Reza Qorbani, Gianluca Villani, Theodoros Panagiotakopoulos, Marc Botet Colomer, Linus Harenstam-Nielsen +6 more
2/10/2026

No official code found. Best implementation: rezaqorbani/SemLA (47 stars, Apache-2.0, last commit 2026-04-03).

Abstract

Open-vocabulary semantic segmentation models associate vision and text to label pixels from an undefined set of classes using textual queries, providing versatile performance on novel datasets. However, large shifts between training and test domains degrade their performance, requiring fine-tuning for effective real-world applications. We introduce Semantic Library Adaptation (SemLA), a novel framework for training-free, test-time domain adaptation. SemLA leverages a library of LoRA-based adapters indexed with CLIP embeddings, dynamically merging the most relevant adapters based on proximity to the target domain in the embedding space. This approach constructs an ad-hoc model tailored to each specific input without additional training. Our method scales efficiently, enhances explainability by tracking adapter contributions, and inherently protects data privacy, making it ideal for sensitive applications. Comprehensive experiments on a 20-domain benchmark built over 10 standard datasets demonstrate SemLA ’s superior adaptability and performance across diverse settings, establishing a new standard in domain adaptation for open-vocabulary semantic segmentation.

View on arXivView PDF

Code Implementations(1)

rezaqorbani/SemLACommunity100%
Apache-2.0

[CVPR'25] Official implementation of "Semantic Library Adaptation: LoRA Retrieval and Fusion for Open-Vocabulary Semantic Segmentation"

477Shell, PythonMar 27, 20256 months agoApache-2.0

Similar Papers

Cite this paper

@article{qorbani2026semantic,
  title  = {Semantic Library Adaptation: LoRA Retrieval and Fusion for Open-Vocabulary Semantic Segmentation},
  author = {Reza Qorbani and Gianluca Villani and Theodoros Panagiotakopoulos and Marc Botet Colomer and Linus Harenstam-Nielsen and Mattia Segu and Pier Luigi Dovesi and J. Karlgren and Daniel Cremers and Federico Tombari and Matteo Poggi},
  year   = {2026},
  eprint = {2503.21780},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2503.21780},
  journal = {CVPR 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.21780.svg)](https://codeofpaper.com/paper/2503.21780)

Discussion