Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement RECLIP #490

Open
AmericanPresidentJimmyCarter opened this issue Apr 14, 2023 · 0 comments
Open

Implement RECLIP #490

AmericanPresidentJimmyCarter opened this issue Apr 14, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@AmericanPresidentJimmyCarter
Copy link

AmericanPresidentJimmyCarter commented Apr 14, 2023

RECLIP: Resource-efficient CLIP by Training with Small Images
Runze Li, Dahun Kim, Bir Bhanu, Weicheng Kuo

We present RECLIP (Resource-efficient CLIP), a simple method that minimizes computational resource footprint for CLIP (Contrastive Language Image Pretraining). Inspired by the notion of coarse-to-fine in computer vision, we leverage small images to learn from large-scale language supervision efficiently, and finetune the model with high-resolution data in the end. Since the complexity of the vision transformer heavily depends on input image size, our approach significantly reduces the training resource requirements both in theory and in practice. Using the same batch size and training epoch, RECLIP achieves highly competitive zero-shot classification and image text retrieval accuracy with 6 to 8× less computational resources and 7 to 9× fewer FLOPs than the baseline. Compared to the state-of-the-art contrastive learning methods, RECLIP demonstrates 5 to 59× training resource savings while maintaining highly competitive zero-shot classification and retrieval performance. We hope this work will pave the path for the broader research community to explore language supervised pretraining in more resource-friendly settings.

Although they are slightly diminished in quality compared to normally trained CLIP models, they train in much less time. With RECLIP it may be possible to train a SoTA model with more parameters than ViT big G, since it will take significantly less compute.

@mitchellnw mitchellnw added the enhancement New feature or request label Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants