RAVE:用于CLIP引导背光图像增强的残差向量嵌入
RAVE: Residual Vector Embedding for CLIP-Guided Backlit Image Enhancement
AI总结:
本文提出RAVE方法,通过计算CLIP嵌入空间中良好光照与背光图像平均嵌入的残差向量来引导增强网络,无需提示调整,加速训练并提升图像增强质量,同时可解释数据偏差。
摘要:
在本文中,我们提出了一种对对比语言-图像预训练(CLIP)引导的新型修改,用于无监督背光图像增强任务。我们的工作建立在最先进的CLIP-LIT方法之上,该方法通过约束CLIP嵌入空间中提示(负/正样本)与对应图像(背光图像/良好光照图像)之间的文本-图像相似性来学习一对提示。学习到的提示随后引导图像增强网络。基于CLIP-LIT框架,我们提出了两种新的CLIP引导方法。首先,我们展示了与其在文本嵌入空间中调整提示,不如直接在潜在空间中调整其嵌入,而不会损失任何质量。这加速了训练,并可能使得使用没有文本编码器的额外编码器成为可能。其次,我们提出了一种不需要任何提示调整的新方法。相反,基于训练数据中背光图像和良好光照图像的CLIP嵌入,我们计算嵌入空间中的残差向量,作为良好光照图像和背光图像平均嵌入之间的简单差值。该向量随后在训练期间引导增强网络,将背光图像推向良好光照图像的空间。这种方法进一步大幅减少了训练时间,稳定了训练,并在监督和无监督训练模式下都能产生无伪影的高质量增强图像。此外,我们展示了残差向量可以被解释,揭示训练数据中的偏差,从而能够进行潜在的偏差校正。
英文摘要:
In this paper we propose a novel modification of Contrastive Language-Image Pre-Training (CLIP) guidance for the task of unsupervised backlit image enhancement. Our work builds on the state-of-the-art CLIP-LIT approach, which learns a prompt pair by constraining the text-image similarity between a prompt (negative/positive sample) and a corresponding image (backlit image/well-lit image) in the CLIP embedding space. Learned prompts then guide an image enhancement network. Based on the CLIP-LIT framework, we propose two novel methods for CLIP guidance. First, we show that instead of tuning prompts in the space of text embeddings, it is possible to directly tune their embeddings in the latent space without any loss in quality. This accelerates training and potentially enables the use of additional encoders that do not have a text encoder. Second, we propose a novel approach that does not require any prompt tuning. Instead, based on CLIP embeddings of backlit and well-lit images from training data, we compute the residual vector in the embedding space as a simple difference between the mean embeddings of the well-lit and backlit images. This vector then guides the enhancement network during training, pushing a backlit image towards the space of well-lit images. This approach further dramatically reduces training time, stabilizes training and produces high quality enhanced images without artifacts, both in supervised and unsupervised training regimes. Additionally, we show that residual vectors can be interpreted, revealing biases in training data, and thereby enabling potential bias correction.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。