#707·open_clip

More Flexibility In Setting Learning Rates

Author: rsomani95Created Oct 25, 2023Updated Oct 25, 2023

With the current setup, the same learning rate is applied to non gain or bias params of the text and image encoders. It would be nice to have flexibility in setting these. For instance, the SigLIP paper gets peak performance with pretrained image encoders by disabling weight decay on the image encoder (though I'm not sure if that's the trunk, head, or both). Here's the figure from the paper for reference: CleanShot 2023-10-25 at 17 30 28@2x

I'm not sure what the best mechanism to accomodate various use cases would be. One more useful fine-tuning setup I can imagine is setting differential learning rates for diff parts of the network.