[GH-ISSUE #128] L2 regularization strength for few-shot linear probe #116

Closed
opened 2026-10-31 21:11:21 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @constanceferragu on GitHub (Jul 15, 2021).
Original GitHub issue: https://github.com/openai/CLIP/issues/128

Hello, could you please explain how you determined the L2 regularization strength for the few-shot linear probe? Did you use a hyperparameter sweep on the validation sets, and if so, how did you do that given that there isn't a lot of available training data in few-shot learning? Thank you in advance!

Originally created by @constanceferragu on GitHub (Jul 15, 2021). Original GitHub issue: https://github.com/openai/CLIP/issues/128 Hello, could you please explain how you determined the L2 regularization strength for the few-shot linear probe? Did you use a hyperparameter sweep on the validation sets, and if so, how did you do that given that there isn't a lot of available training data in few-shot learning? Thank you in advance!
Author
Owner

@jongwook commented on GitHub (Jul 18, 2021):

Across all compared models, we used the performance on same validation set that we used for the full-data linear probe. It's not truly few-shot learning in this sense, although we hoped to find a consistent benchmark to fairly compare against the models (Fig. 6), and also have a means to plot the interpolation line to get a sense of the effective robustness (Figure. 15).

<!-- gh-comment-id:882032191 --> @jongwook commented on GitHub (Jul 18, 2021): Across all compared models, we used the performance on same validation set that we used for the full-data linear probe. It's not truly few-shot learning in this sense, although we hoped to find a consistent benchmark to fairly compare against the models (Fig. 6), and also have a means to plot the interpolation line to get a sense of the effective robustness (Figure. 15).
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openai/CLIP#116
No description provided.