XF-CLS: Cross-Foundation Complementary Learning Systems for Continual Test-Time Adaptation in Open-Vocabulary Semantic Segmentation
Abstract
Open-vocabulary semantic segmentation (OVSS) labels each pixel with classes named in natural language, but deployed models face changing conditions such as fog, night, rain, and snow. Continual test-time adaptation (CTTA) can adapt them online without labels, yet over long streams without resets, unsupervised updates accumulate: predictions can degrade or collapse, and updated visual features can lose alignment with the frozen text embeddings that support open-vocabulary recognition. We propose Cross-Foundation Complementary Learning Systems (XF-CLS), a source-free OVSS-CTTA framework that separates rapid adaptation from slow consolidation. Hippocampal Adaptation (fast path) updates only visual normalization parameters on each incoming image, while Neocortical Consolidation (slow path) keeps a slowly updated, source-anchored memory and pulls the fast parameters back toward it to counter drift, with a finite-horizon analysis guiding the memory's update rate. A third path uses a frozen DINOv2 model as a non-drifting structural observer to guide recovery and refine dense predictions, without training another teacher or supervising updates with pseudo-labels. On long-horizon Cityscapes-to-ACDC and OnDA streams, XF-CLS reaches 32.92 and 30.75 mIoU, outperforming all compared methods, and retains 99.6% and 98.8% of source mIoU on VOC classes outside the adaptation vocabulary. Matched controls identify source-anchored recovery as the main stabilizer and frozen refinement as complementary output correction. These gains come with additional computation from online updates and structural inference. Our code is available at https://github.com/Gary20011207/XF-CLS.