Scendi 分数:通过 CLIP 嵌入的 Schur 补进行提示感知多样性评估
Scendi Score: Prompt-Aware Diversity Evaluation via Schur Complement of CLIP Embeddings
AI总结:
本文提出Scendi分数,利用CLIP嵌入的Schur补分解图像-文本核协方差矩阵,量化文本到图像模型的提示感知多样性,实验验证其有效性。
摘要:
在文献中,使用 CLIP 嵌入来评估文本到图像生成模型产生样本的保真度已被广泛探索。广泛采用的 CLIPScore 源自文本和图像嵌入的余弦相似度,能有效衡量生成图像的对齐程度,但它并未量化文本到图像模型生成图像的多样性。在这项工作中,我们扩展了 CLIP 嵌入的应用,以量化和解释文本到图像模型的内在多样性,这些模型负责从相似文本提示生成多样图像,我们称之为提示感知多样性。为实现这一目标,我们提出将图像数据的基于 CLIP 的核协方差矩阵分解为基于文本和非基于文本的分量。利用联合图像-文本核协方差矩阵的 Schur 补,我们执行此分解,并将分解分量的基于矩阵的熵定义为 Schur 补熵多样性(Scendi)分数,作为提示引导生成模型的提示感知多样性的度量。此外,我们讨论了基于 Schur 补的分解在消除给定提示对图像 CLIP 嵌入影响方面的应用,使得嵌入向量能够聚焦或散焦于特定对象。我们展示了多项数值结果,将我们提出的 Scendi 分数应用于评估文本到图像和 LLM(文本到文本)模型。我们的数值结果表明 Scendi 分数在捕捉提示引导生成模型的内在多样性方面是成功的。代码库可在 https://github.com/aziksh-ospanov/scendi-score 获取。
英文摘要:
The use of CLIP embeddings to assess the fidelity 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 alignment 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 are responsible for generating diverse images from similar text prompts, which we refer to as prompt-aware diversity. 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 Schur Complement ENtopy DIversity (Scendi) score, as a measure of the prompt-aware diversity for prompt-guided generative models. Additionally, we discuss the application of the Schur complement-based decomposition to nullify the influence of a given prompt on the CLIP embedding of an image, enabling focus or defocus of the embedded vectors on specific objects. We present several numerical results that apply our proposed Scendi score to evaluate text-to-image and LLM (text-to-text) models. Our numerical results indicate the success of the Scendi score in capturing the intrinsic diversity of prompt-guided generative models. The codebase is available at https://github.com/aziksh-ospanov/scendi-score.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。