English

Learn to Predict Sets Using Feed-Forward Neural Networks

Computer Vision and Pattern Recognition 2021-10-26 v2 Machine Learning

Abstract

This paper addresses the task of set prediction using deep feed-forward neural networks. A set is a collection of elements which is invariant under permutation and the size of a set is not fixed in advance. Many real-world problems, such as image tagging and object detection, have outputs that are naturally expressed as sets of entities. This creates a challenge for traditional deep neural networks which naturally deal with structured outputs such as vectors, matrices or tensors. We present a novel approach for learning to predict sets with unknown permutation and cardinality using deep neural networks. In our formulation we define a likelihood for a set distribution represented by a) two discrete distributions defining the set cardinally and permutation variables, and b) a joint distribution over set elements with a fixed cardinality. Depending on the problem under consideration, we define different training models for set prediction using deep neural networks. We demonstrate the validity of our set formulations on relevant vision problems such as: 1) multi-label image classification where we outperform the other competing methods on the PASCAL VOC and MS COCO datasets, 2) object detection, for which our formulation outperforms popular state-of-the-art detectors, and 3) a complex CAPTCHA test, where we observe that, surprisingly, our set-based network acquired the ability of mimicking arithmetics without any rules being coded.

Keywords

Cite

@article{arxiv.2001.11845,
  title  = {Learn to Predict Sets Using Feed-Forward Neural Networks},
  author = {Hamid Rezatofighi and Tianyu Zhu and Roman Kaskman and Farbod T. Motlagh and Qinfeng Shi and Anton Milan and Daniel Cremers and Laura Leal-Taixé and Ian Reid},
  journal= {arXiv preprint arXiv:2001.11845},
  year   = {2021}
}

Comments

Accepted in IEEE Transactions on Pattern Analysis and Machine Intelligence (TPAMI) 2022. arXiv admin note: substantial text overlap with arXiv:1805.00613

R2 v1 2026-06-23T13:26:35.395Z