-
Notifications
You must be signed in to change notification settings - Fork 0
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
01. First model for CPJUMP1 compound plates #1
Comments
Experiment:The model architecture consists of 3 simple layers followed by a max pooling operation, which transforms the single-cell features into an aggregated profile in a different feature space. A projection head on top of this feature space projects the aggregated features into a different space. This final representation is then used to calculate the loss. The first model that is shown to overfit the data is trained on the 2 plate train/ 2 plate val split of the data. The loss is the SupCon loss. Main Takeaway:From this we can deduce that the loss function (inversely) correlates nicely with the PR. |
ExperimentTo test if this unexpected correlation between the loss and PR is correlated with the way the model is trained, especially how the batches are organized, I trained the same model "Generalized and Tuned" but with a batch size of 32 and 64 instead of 16, which was used above. Main takeaways
I will investigate how to stabilize the influence of the batch size now. |
Note to self: currently still using the representations in the SupCon loss space for downstream analysis (PR). I tried using the representations created before the projection head, but that resulted in worse performance. My hypothesis is that this is because the projection head and encoder parts of the model are of similar size. I expect that the encoder part needs to be some times larger than the projection head for it to learn a better representation. |
This first line of experiments will be designed to beat the PR baseline of profiles created with the current aggregation method (which takes the mean). All information about the compound plates used can be found here: https://github.com/jump-cellpainting/2021_Chandrasekaran_submitted.
The text was updated successfully, but these errors were encountered: