Attention Normalization Impacts Cardinality Generalization in Slot Attention
<|reference_start|>Attention Normalization Impacts Cardinality Generalization in Slot Attention: Object-centric scene decompositions are important representations for downstream tasks in fields such as computer vision and robotics. The recently proposed Slot Attention module, already leveraged by several derivative works for image segmentation and object tracking in videos, is a deep learning component which performs unsupervised object-centric scene decomposition on input images. It is based on an attention architecture, in which latent slot vectors, which hold compressed information on objects, attend to localized perceptual features from the input image. In this paper, we show that design decisions on normalizing the aggregated values in the attention architecture have considerable impact on the capabilities of Slot Attention to generalize to a higher number of slots and objects as seen during training. We argue that the original Slot Attention normalization scheme discards information on the prior assignment probability of pixels to slots, which impairs its generalization capabilities. Based on these findings, we propose and investigate alternative normalization approaches which increase the generalization capabilities of Slot Attention to varying slot and object counts, resulting in performance gains on the task of unsupervised image segmentation.<|reference_end|>
@article{krimmel2024attention,
    title={Attention Normalization Impacts Cardinality Generalization in Slot
  Attention},
    author={Markus Krimmel, Jan Achterhold, Joerg Stueckler},
    journal={arXiv preprint arXiv:2407.04170},
    year={2024},
    archivePrefix={arXiv},
    eprint={2407.04170},
    primaryClass={cs.CV}
}