用不完美的生成模型提升视觉特征,让CLIP更懂细节
GenHancer: Imperfect Generative Models are Secretly Strong Vision-Centric Enhancers
- 用全局视觉特征作为条件,避免局部信息干扰重建
- 分两阶段训练+轻量去噪器,显著提升细节感知能力
- 方法通用性强,适合想改进视觉理解的AI研究者
生成模型与判别模型的协同日益受到关注。尽管判别模型CLIP在高层语义上表现优异,但在细粒度视觉细节感知上存在不足。传统方法通常以CLIP的视觉特征为条件进行图像重建,但其内在机制尚未充分探索。本文发现,视觉上完全准确的生成并非最优。关键在于从生成模型中有效提取细粒度知识,同时抑制无关信息。我们从三个层面深入分析:(1) 条件机制:发现少量局部令牌会极大降低重建难度,导致训练崩溃,因此仅使用全局视觉令牌作为条件最为有效;(2) 去噪配置:端到端训练会引入冗余信息,我们提出两阶段训练策略,优先学习有用视觉知识,且轻量去噪器即可带来显著提升;(3) 生成范式:连续与离散去噪器均取得良好效果,验证方法的通用性。最终提出GenHancer,在MMVP-VLM基准上持续超越现有方法,如在OpenAICLIP上提升6.0%。增强后的CLIP可无缝接入多模态大语言模型,进一步提升视觉中心性能。所有模型与代码已公开。
原文摘要 · Abstract (English)
The synergy between generative and discriminative models receives growing attention. While discriminative Contrastive Language-Image Pre-Training (CLIP) excels in high-level semantics, it struggles with perceiving fine-grained visual details. Generally, to enhance representations, generative models take CLIP's visual features as conditions for reconstruction. However, the underlying principle remains underexplored. In this work, we empirically found that visually perfect generations are not always optimal for representation enhancement. The essence lies in effectively extracting fine-grained knowledge from generative models while mitigating irrelevant information. To explore critical factors, we delve into three aspects: (1) Conditioning mechanisms: We found that even a small number of local tokens can drastically reduce the difficulty of reconstruction, leading to collapsed training. We thus conclude that utilizing only global visual tokens as conditions is the most effective strategy. (2) Denoising configurations: We observed that end-to-end training introduces extraneous information. To address this, we propose a two-stage training strategy to prioritize learning useful visual knowledge. Additionally, we demonstrate that lightweight denoisers can yield remarkable improvements. (3) Generation paradigms: We explore both continuous and discrete denoisers with desirable outcomes, validating the versatility of our method. Through our in-depth explorations, we have finally arrived at an effective method, namely GenHancer, which consistently outperforms prior arts on the MMVP-VLM benchmark, e.g., 6.0% on OpenAICLIP. The enhanced CLIP can be further plugged into multimodal large language models for better vision-centric performance. All the models and codes are made publicly available.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。