paper-with-me

홈 › Papers

Dissecting CLIP: Decomposition with a Schur Complement-based Approach

2024-12-24 · Azim Ospanov, Mohammad Jalali, Farzan Farnia

The use of CLIP embeddings to assess the alignment of samples produced by text-to-image generative models has been extensively explored in the literature. While the widely adopted CLIPScore, derived from the cosine similarity of text and image embeddings, effectively measures the relevance of a generated image, it does not quantify the diversity of images generated by a text-to-image model. In this work, we extend the application of CLIP embeddings to quantify and interpret the intrinsic diversity of text-to-image models, which is responsible for generating diverse images from similar text prompts. To achieve this, we propose a decomposition of the CLIP-based kernel covariance matrix of image data into text-based and non-text-based components. Using the Schur complement of the joint image-text kernel covariance matrix, we perform this decomposition and define the matrix-based entropy of the decomposed component as the \textit{Schur Complement Entropy (SCE)} score, a measure of the intrinsic diversity of a text-to-image model based on data collected with varying text prompts. Additionally, we demonstrate the use of the Schur complement-based decomposition to nullify the influence of a given prompt in the CLIP embedding of an image, enabling focus or defocus of embeddings on specific objects or properties for downstream tasks. We present several numerical results that apply our Schur complement-based approach to evaluate text-to-image models and modify CLIP image embeddings. The codebase is available at https://github.com/aziksh-ospanov/CLIP-DISSECTION

📄 PDF Abstract BibTeX arXiv:2412.18645

Code (1)

aziksh-ospanov/clip-dissection 공식 구현 pytorch

Tasks

Diversity

Methods 이 논문이 사용한 방법론

CLIP Contrastive Language-Image Pre-training (CLIP), consisting of a simplified version of ConVIRT trained from scratch, is an efficient method of image representation learning…
Focus 설명 없음

Similar Papers 제목 키워드 기반

Simulating the Power Electronics-Dominated Grid using Schwarz-Schur Complement based Hybrid Domain Decomposition Algorithm

2022-12-09 · Fatemeh Kalantari, Jian Shi, Harish Krishnamoorthy

This paper proposes a novel two-stage hybrid domain decomposition algorithm to speed up the dynamic simulations and the analysis of power systems that can be computationally demanding due to the high penetration of renew…

Square Root Bundle Adjustment for Large-Scale Reconstruction

2021-03-02 · CVPR 2021 1 · Nikolaus Demmel, Christiane Sommer, Daniel Cremers, Vladyslav Usenko

We propose a new formulation for the bundle adjustment problem which relies on nullspace marginalization of landmark variables by QR decomposition. Our approach, which we call square root bundle adjustment, is algebraica…

SchurVINS: Schur Complement-Based Lightweight Visual Inertial Navigation System

2023-12-04 · CVPR 2024 1 · Yunfei Fan, Tianyu Zhao, Guidong Wang

Accuracy and computational efficiency are the most important metrics to Visual Inertial Navigation System (VINS). The existing VINS algorithms with either high accuracy or low computational complexity, are difficult to p…

Computational Efficiency

Faster Graph Embeddings via Coarsening

2020-07-06 · ICML 2020 1 · Matthew Fahrbach, Gramoz Goranci, Richard Peng, Sushant Sachdeva 외

Graph embeddings are a ubiquitous tool for machine learning tasks, such as node classification and link prediction, on graph-structured data. However, computing the embeddings for large-scale graphs is prohibitively inef…

Link PredictionNode Classification

Randomized Schur Complement Views for Graph Contrastive Learning

2023-06-06 · Vignesh Kothapalli

We introduce a randomized topological augmentor based on Schur complements for Graph Contrastive Learning (GCL). Given a graph laplacian matrix, the technique generates unbiased approximations of its Schur complements an…

Contrastive LearningGraph ClassificationNode Classification