mirror of
https://github.com/openai/CLIP.git
synced 2026-11-05 01:37:26 +00:00
[GH-ISSUE #296] Just a loss function for discussion #254
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openai/CLIP#254
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @072jiajia on GitHub (Oct 24, 2022).
Original GitHub issue: https://github.com/openai/CLIP/issues/296
Hi! Thanks for sharing the great work!
I have some questions that I want to discuss with the authors and everyone interested in this work.
In Brief, do you think using the following loss function can make the training process more stable? Or can it make the model utilize the joint multi-modal embedding spaces more efficiently?
Numpy-like pseudocode
PyTorch-like pseudocode
I'll explain it in an example and in math in the following comments.
@072jiajia commented on GitHub (Oct 24, 2022):
Considering the following two sentences, "A dog in the garden" and "A shiba dog in the garden", it is clear that the second sentence has more conditions. We may say that the first sentence's variance should be larger, and the second sentence's variance should be smaller.
To be more precise, the image with more specific information should have lower variance for output.
@072jiajia commented on GitHub (Oct 24, 2022):
In the view of probability
You may view it here https://hackmd.io/@jS3Mpow5SSOX1M0cbyflTw/Hy9w75-Qs
@072jiajia commented on GitHub (Oct 24, 2022):
Thank you for reading util here. Please tell me if my thought has any mistakes. Since I don't have that many GPUs and corresponging computer equipments to do the experiment, if you also think the idea make sense, please try the experiment. I'm looking forward to knowing that whether this method actually works.