Add pipeline tag and library name
#1
by
nielsr
HF Staff
- opened
README.md
CHANGED
@@ -1,45 +1,38 @@
|
|
1 |
-
---
|
2 |
-
license: apache-2.0
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
# GenHancer: Imperfect Generative Models are Secretly Strong Vision-Centric Enhancers
|
8 |
-
|
9 |
-
Code: https://github.com/mashijie1028/GenHancer/
|
10 |
-
|
11 |
-
Paper: https://arxiv.org/abs/2503.19480
|
12 |
-
|
13 |
-
Project Page: https://mashijie1028.github.io/GenHancer/
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
The
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
title={GenHancer: Imperfect Generative Models are Secretly Strong Vision-Centric Enhancers},
|
40 |
-
author={Ma, Shijie and Ge, Yuying and Wang, Teng and Guo, Yuxin and Ge, Yixiao and Shan, Ying},
|
41 |
-
journal={arXiv preprint arXiv:2503.19480},
|
42 |
-
year={2025}
|
43 |
-
}
|
44 |
-
```
|
45 |
-
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
pipeline_tag: image-feature-extraction
|
4 |
+
library_name: transformers
|
5 |
+
---
|
6 |
+
|
7 |
+
# GenHancer: Imperfect Generative Models are Secretly Strong Vision-Centric Enhancers
|
8 |
+
|
9 |
+
Code: https://github.com/mashijie1028/GenHancer/
|
10 |
+
|
11 |
+
Paper: https://arxiv.org/abs/2503.19480
|
12 |
+
|
13 |
+
Project Page: https://mashijie1028.github.io/GenHancer/
|
14 |
+
|
15 |
+
## Introduction
|
16 |
+
|
17 |
+
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.
|
18 |
+
|
19 |
+
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.
|
20 |
+
|
21 |
+
Through our in-depth exploration, we have finally arrived at an effective method that consistently outperforms prior arts on the MMVP-VLM benchmark, *e.g.*, 6.0% on OpenAICLIP. The enhanced CLIP can be plugged into multimodal large language models for better vision-centric performance.
|
22 |
+
|
23 |
+
## This repo
|
24 |
+
|
25 |
+
The proposed two-stage post-training scheme serves as a *plug-and-play* method to enhance pre-trained CLIPs' fine-grained representations, and here we release the enhanced model weights of [OpenAICLIP](https://huggingface.co/openai/clip-vit-large-patch14-336), [MetaCLIP](https://huggingface.co/facebook/metaclip-h14-fullcc2.5b) and [SigLIP](https://huggingface.co/google/siglip-so400m-patch14-384).
|
26 |
+
|
27 |
+
We also attach the evaluation codes in `evaluation/`.
|
28 |
+
|
29 |
+
## Citation
|
30 |
+
|
31 |
+
```
|
32 |
+
@article{ma2025genhancer,
|
33 |
+
title={GenHancer: Imperfect Generative Models are Secretly Strong Vision-Centric Enhancers},
|
34 |
+
author={Ma, Shijie and Ge, Yuying and Wang, Teng and Guo, Yuxin and Ge, Yixiao and Shan, Ying},
|
35 |
+
journal={arXiv preprint arXiv:2503.19480},
|
36 |
+
year={2025}
|
37 |
+
}
|
38 |
+
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|