arXiv:2610.02718cs.CVOct 2026

Manuscript Offprint

arXiv:2610.02718

Revisiting Visual Representation Enhancement of VLMs via Kernel Canonical Correlation Analysis

Peilin Yang, Xiaoyu Liu, Jian Sun, Qinghua Tao

Abstract

Vision-language models such as CLIP exhibit strong semantic generalization, but remain limited in fine-grained visual perception. A recent work named KUEA presents a natural remedy by finetuning the image encoder under the supervision of the vision-centric DINOv2 to align their kernel matrices element-wisely, while regularizing the embeddings to remain close to the pretrained visual encoder for preserving image-text semantics in CLIP. However, we show that diminishing the role of the alignment loss to DINOv2 does not necessarily degrade its fine-grained visual performance, suggesting that the kernel-matrix discrepancy may be insufficient for further visual representation enhancement, motivating us to revisit the alignment formulation. In this work, we present a novel perspective to characterize representation alignment on feature subspaces through Kernel Canonical Correlation Analysis (KCCA), which maximizes the projection correlations. In optimization, we derive an efficient end-to-end training scheme upon KKT conditions, avoiding the eigenvalue problem in KCCA. Further, we extend our method into a 3-view formulation, i.e., 3vKCCA, in which the projections from the pretrained text encoder are also incorporated under a unified optimization framework for joint alignment. With CLIP ViT-L/14 on ImageNet-1K, our 3vKCCA improves the MMVP-VLM accuracy from 17.8 to 25.9, substantially outperforming the existing methods, and meanwhile maintains zero-shot image-text retrieval performance.

1 Introduction

Vision-Language Models (VLMs) have been attracting tremendous attention in recent years thanks to their strong semantic generalization in various downstream tasks [11, 12, 16]. Notably, the Contrastive Language-Image Pretraining (CLIP) model [15] demonstrates strong zero-shot recognition capabilities by aligning visual representations with textual descriptions. However, such contrastive pretraining does not necessarily encourage the visual encoder to capture finer pixel-level details, such as spatial relations, even when these details are readily distinguishable to human observers [18].

Vision-only self-supervised models such as DINOv2 [13] focus on visual representations that capture fine details with strong visual grounding, making them suitable supervisors for refining the visual encoder in CLIP. A key challenge naturally arises: how to enhance the visual representation without downgrading the image–text alignment of the pretrained VLM model. A recent work, KUEA [9], proposes to balance these two goals with a weighted combination objective. KUEA minimizes an ℓ2\ell_{2}-norm loss for visual alignment between two kernel matrices computed from embeddings of the finetuned visual encoder and DINOv2, and also regularizes an ℓ2\ell_{2}-norm term to confine the finetuned visual embeddings close to the pretrained counterparts in CLIP for image-text pairing semantics.

We revisit the kernel-alignment loss in KUEA by examining a premise underlying this formulation: whether and how the fine-grained visual capability benefits from the minimization of such alignment

∗^{*}These authors contributed equally.

†^{\dagger}Corresponding author. Email: qinghua.tao@bit.edu.cn

Preprint.

loss. We examine this premise on MMVP-VLM [18], a benchmark for assessing fine-grained visual abilities. In our reproduction, removing the kernel-alignment loss from KUEA yields similar MMVP-VLM accuracy as the full objective; when further minimizing the alignment loss and meanwhile downweighting the regularization term, the fine-grained visual performance does not improve either. This observation indicates that (i) the continual training with the regularization term may also contribute to enhancing visual capabilities, and (ii) the optimization upon this kernel-alignment loss with DINOv2 can be insufficient for further enhancing fine-grained visual capabilities. We notice that a concurrent work, namely KALE [14], partially addresses the above issues through a loss-equilibration controller that rescales the kernel-alignment loss towards a desired ratio over the regularization term for pronouncing the alignment to DINOv2. We go beyond the loss of straightforwardly approaching the kernel matrix from DINOv2, and also reconsider the maintenance of image-text semantics in the pretrained CLIP from the role of the text encoder under a unified framework.

In this work, we present a novel perspective that characterizes the representation alignment on feature subspaces through Kernel Canonical Correlation Analysis (KCCA) [2, 17]. Under our framework, the alignment is formulated by the maximal correlations between the representation projections of the finetuned visual encoder and DINOv2. KCCA has long been considered a fundamental tool to identify projection directions, along which cross-view variations are maximally associated. The couplings in KCCA are celebrated with explicit optimization formulas and theoretical guarantees [2, 10], in contrast to the existing kernel-alignment loss of straightforwardly minimizing element-wise distances. Furthermore, we resort to the projections of the pretrained text encoder from CLIP and incorporate them into the alignment under our KCCA-based framework with a 3-view extension, namely 3vKCCA. Then, a joint optimization problem is established, which finetunes the image encoder of CLIP to align not only with the supervision of DINOv2 for enhancing fine-grained visual capabilities, but also with the frozen text encoder from CLIP for preserving image-text semantics.

Experiments on OpenAI CLIP ViT-L/14 show that our 3vKCCA distinctively improves fine-grained visual capabilities on MMVP-VLM from 17.8 to 25.9, while preserving strong zero-shot image-text retrievals of the pretrained CLIP. We then further investigate our perspective upon subspace projection correlations for representation alignment. Firstly, ablation studies show that our performance gain diminishes when the KCCA-alignment loss to DINOv2 is removed, when the correspondence to DINOv2 is shuffled, or when DINOv2 is replaced by a random teacher model for supervision; these results verify that the fine-grained visual capabilities indeed benefit from our alignment formulation. Secondly, our 3-view KCCA extension leveraging the frozen text encoder consistently outperforms the 2-view alternative; this reveals that upon aligning to strong visual supervision, visual representations are promising to be enhanced via cross-view couplings complemented by text semantics.

References (23)