English

Semantic Token Reweighting for Interpretable and Controllable Text Embeddings in CLIP

Machine Learning 2024-10-17 v2 Computation and Language Computer Vision and Pattern Recognition

Abstract

A text encoder within Vision-Language Models (VLMs) like CLIP plays a crucial role in translating textual input into an embedding space shared with images, thereby facilitating the interpretative analysis of vision tasks through natural language. Despite the varying significance of different textual elements within a sentence depending on the context, efforts to account for variation of importance in constructing text embeddings have been lacking. We propose a framework of Semantic Token Reweighting to build Interpretable text embeddings (SToRI), which incorporates controllability as well. SToRI refines the text encoding process in CLIP by differentially weighting semantic elements based on contextual importance, enabling finer control over emphasis responsive to data-driven insights and user preferences. The efficacy of SToRI is demonstrated through comprehensive experiments on few-shot image classification and image retrieval tailored to user preferences.

Cite

@article{arxiv.2410.08469,
  title  = {Semantic Token Reweighting for Interpretable and Controllable Text Embeddings in CLIP},
  author = {Eunji Kim and Kyuhong Shim and Simyung Chang and Sungroh Yoon},
  journal= {arXiv preprint arXiv:2410.08469},
  year   = {2024}
}

Comments

Accepted at EMNLP 2024 Findings

R2 v1 2026-06-28T19:17:18.909Z