COSMIC: Clique-Oriented Semantic Multi-Space Integration for Robust CLIP Test-Time Adaptation
Abstract
Recent vision-language models (VLMs) face significant challenges in test-time adaptation to novel domains. While cache-based methods show promise by leveraging historical information, they struggle with both caching unreliable feature-label pairs and indiscriminately using single-class information during querying, significantly compromising adaptation accuracy. To address these limitations, we propose COSMIC (\underline C lique-\underline O riented \underline S emantic \underline M ulti-space \underline I ntegration for \underline C LIP), a robust test-time adaptation framework that enhances adaptability through multi-granular, cross-modal semantic caching and graph-based querying mechanisms. Our framework introduces two key innovations: Dual Semantics Graph (DSG) and Clique Guided Hyper-class (CGH). The Dual Semantics Graph constructs complementary semantic spaces by incorporating textual features, coarse-grained CLIP features, and fine-grained DINOv2 features to capture rich semantic relationships. Building upon these dual graphs, the Clique Guided Hyper-class component leverages structured class relationships to enhance prediction robustness through correlated class selection. Extensive experiments demonstrate COSMIC's superior performance across multiple benchmarks, achieving significant improvements over state-of-the-art methods: 15.81% gain on out-of-distribution tasks and 5.33% on cross-domain generation with CLIP RN-50.
Cite
Text
Huang et al. "COSMIC: Clique-Oriented Semantic Multi-Space Integration for Robust CLIP Test-Time Adaptation." Conference on Computer Vision and Pattern Recognition, 2025. doi:10.1109/CVPR52734.2025.00913Markdown
[Huang et al. "COSMIC: Clique-Oriented Semantic Multi-Space Integration for Robust CLIP Test-Time Adaptation." Conference on Computer Vision and Pattern Recognition, 2025.](https://mlanthology.org/cvpr/2025/huang2025cvpr-cosmic/) doi:10.1109/CVPR52734.2025.00913BibTeX
@inproceedings{huang2025cvpr-cosmic,
title = {{COSMIC: Clique-Oriented Semantic Multi-Space Integration for Robust CLIP Test-Time Adaptation}},
author = {Huang, Fanding and Jiang, Jingyan and Jiang, Qinting and Li, Hebei and Khan, Faisal Nadeem and Wang, Zhi},
booktitle = {Conference on Computer Vision and Pattern Recognition},
year = {2025},
pages = {9772-9781},
doi = {10.1109/CVPR52734.2025.00913},
url = {https://mlanthology.org/cvpr/2025/huang2025cvpr-cosmic/}
}