CLIP嵌入中层级概念结构的可证明跨模态迁移
Provable Cross-Modal Transfer of Hierarchical Concept Structure in CLIP Embeddings
研究将CLIP嵌入中与语义概念层级对齐的现象形式化为层级角度分离(HAS),即非叶概念嵌入与其后代比与异支概念更相似。实验显示HAS在原始图像和随机初始化的CLIP图像嵌入中近似成立,而在文本嵌入中仅在对比学习后近似成立。通过固定图像嵌入、仅训练文本嵌入的无约束特征模型分析,证明全局最优解处文本侧各节点的HAS违反比例不超过图像侧,机制源于图文对层级共现结构。
arXiv:2611.17671v1 Announce Type: new Abstract: Contrastive vision-language models such as CLIP are trained to align images and text, not to represent taxonomies. Yet empirical studies show that CLIP embeddings exhibit hierarchical structure aligned with the hierarchy of semantic concepts. A theoretical characterization of why such hierarchy emerges from a non-hierarchical objective remains open. In this paper, we formalize this phenomenon as Hierarchical Angular Separation (HAS), a geometric property whereby each non-leaf concept embedding is more similar to its descendants than to off-branch concepts. Empirically, we show that HAS holds approximately in raw images and randomly initialized CLIP image embeddings, while in text embeddings it holds approximately only after contrastive learning. To theoretically explain this asymmetry, we analyze an unconstrained features model in which the image embeddings are fixed and only the text embeddings are trained. At the global minimizer, the text-side HAS violation percentage at each node is at most the image-side HAS violation and near-violation percentage. The key mechanism is the hierarchical co-occurrence structure of image-text pairs, which biases text embeddings toward root-centered image prototypes. For a linear contrastive loss, we derive a closed-form solution that makes this mechanism explicit. We extend the analysis to the InfoNCE loss and establish analogous guarantees under sufficient regularization. Synthetic experiments validate the theory and show that HAS is transferred even beyond the regimes covered by our analysis.
来源:arXiv (AI + Vision + Imaging) · arxiv.org