# Semantic Token Reweighting for Interpretable and Controllable Text Embeddings in CLIP

Source: [Semantic Token Reweighting for Interpretable and Controllable Text Embeddings in CLIP](<https://www.sota2.com/research/paper/68fa753e1e209131cea66bb6>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2025-10-26T03:30:07.152Z

Authors: Eunji Kim, Kyuhong Shim, Simyung Chang, Sungroh Yoon

Published: 2024-10-11T02:42:13.000Z

## 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.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2410.08469>)

[PDF](<https://arxiv.org/pdf/2410.08469.pdf>)
