Inconsistent object-level results across runs
Thank you for your valuable work. There's lots of insights.
After running the model multiple times, I observed fluctuations in the results. For example, when using the query “red apple”, sometimes the entire red chair is also extracted, while in other runs it is not. In other words, the set of objects included in the output changes between runs.
This is not a minor variation but an object-level discrepancy. My hypothesis is that these fluctuations originate from the learning of affinity features, prototype features and mask connections, with the effect manifesting as variability in scene decomposition. I also wonder if differences in image ordering from the dataloader could contribute to this behavior.
Such object-level fluctuations may become more problematic in scenes with many objects or in more complex settings. I would like to ask for your thoughts on what could be the fundamental reason for this type of variation.
Hi, thanks for your insightful comment. I wonder the meaning of 'running the model for multiple times'. Do you train the affinity features for many different times? Or just regenerating the subsequent semantic descriptors for multiple times.
This is not a minor variation but an object-level discrepancy. My hypothesis is that these fluctuations originate from the learning of affinity features, prototype features and mask connections, with the effect manifesting as variability in scene decomposition. I also wonder if differences in image ordering from the dataloader could contribute to this behavior.
You are partially right. This sometimes caused by the abnormal behavior of SAM, which segments multiple objects into a 2D mask.
But more accurately, this is caused by the synergy of SAM and CLIP. By checking the visualization you provided, we can find that LaGa tends to retrieve the green apple, red apple and red chair as the target of prompt 'red apple'. This is because that CLIP tends to show high correspondence to each term of the phase ('red', 'apple'). However, whether CLIP can distinguish red chair with red apple also depends on the segmentation result of SAM. This is a complex problem, but enhancing the segmentation model and classification model will be a straightforward solution.
Hi, thank you so much for your detailed and insightful response!
To clarify your first question, when I mentioned "running the model for multiple times," I meant that I trained the affinity features multiple times.
Your analysis regarding the synergy between SAM and CLIP was incredibly helpful and makes a lot of sense.
I really appreciate you taking the time to provide such a clear explanation. Thanks again!