About Entity Segmentation
Thanks for the wonderful work!
I noticed that the paper says, "We assign each mask within an image a random color and merge them into a three-channel RGB mask." So, I wonder about its supervision strategy during training. Is it L2 loss between predicted entity RGB and GT entity RGB? If so, how can the network figure out which colors belong to the object?
Hi @lifuguan, apologies for the late reply.
To clarify, we don't apply a direct L2 loss between the ground truth and the predictions. Our training process strictly follows the flow-matching diffusion model framework.
Since diffusion models are generative, under our training setting with randomized colors, the model essentially learns how to differentiate entities using distinct colors, rather than which specific color should be assigned to a particular entity.
That said, we believe that solving this latter problem of color-entity correspondence is definitely possible. We have open-sourced our inference code and pretrained weights, and we welcome you to try them out.