Source-linked AI summary

Bottom-up Modeling of Repeated Elements via Single Image Analysis-by-Synthesis

Syrine Kalleli, Alexei A. Efros, Mathieu Aubry

arXiv:2609.07939v2cs.CV

TL;DR

The paper studies how to discover and model repeated elements from a single image, in a field where supervised methods may be hard to interpret and generalize to out-of-distribution data. It uses reconstruction to learn a parametric element model from pixels with only a coarse scale prior. The authors report improved modeling over baselines and conclude that meaningful object models can emerge directly from pixels.

  • Problem

    The paper revisits discovery and modeling of repeated elements in one image amid reliance on top-down supervised methods that may fail on out-of-distribution data and be difficult to interpret.

    Source: §1 · p. 2
  • Method

    A reconstruction objective jointly learns a parametric repeated-element model and instance occurrences and parameters from a single image, using no supervision beyond a coarse scale prior.

    Source: §1 · p. 2
  • Results

    The image model improves over baselines, and the method outperforms element- and image-modeling baselines while supervised counting methods outperform it on counting.

    Source: Comparisons · pp. 12–13, §5 · p. 15
  • Takeaways & Limitations

    The authors conclude that meaningful object models can emerge directly from pixels and that intra-image repetition can serve as a free self-supervision signal for object-centric learning.

    Source: §5 · p. 15

    The method assumes a non-cluttered background, moderate aspect ratios, and a coarse scale prior, limiting extreme intra-image scale variation; visual similarity also misses semantically related but dissimilar instances.

    Source: §5 · p. 15

Abstract

from arXiv · show

We address the problem of discovering repeated elements from a single image. In contrast to existing approaches that depend on large annotated datasets, curated multi-image collections, or object segmentation masks, we show that a single image can suffice to learn a meaningful object model in a completely bottom-up fashion, without any prior knowledge beyond a coarse scale prior. Our method learns a tunable image-space prototype of the repeated elements through a reconstruction objective, enabling the model to identify and synthesize consistent object instances within the same image. Experiments on 116 real images from the FSC-147 dataset demonstrate that our method successfully learns coherent element models and captures intra-category variation on challenging images. Qualitative results reveal superior reconstructions and interpretable decompositions compared to classical decomposition, joint alignment, and 3D object modeling methods, while maintaining a simple 2D formulation. These results suggest that meaningful object discovery can emerge from single image learning alone.

1 Introduction

The paper revisits bottom-up discovery of repeated elements in a single image, motivated by the interpretability and out-of-distribution limitations of supervised vision methods. It learns a parametric element model from pixels through reconstruction, with no supervision beyond a coarse scale prior.

1 Introduction

  • Modern supervised vision methods can perform well on benchmarks but may fail on out-of-distribution data and be difficult to interpret.The authors connect this black-box effect to concerns in scientific applications.Source: §1 · p. 2
  • The method revisits bottom-up visual modeling, which the paper contrasts with modern top-down supervised approaches.The paper frames pattern recognition as discovering approximately repeating elements in sensory data, a basis for building representations of the sensory world.Source: §1 · pp. 1–2
  • A reconstruction objective jointly optimizes a parametric repeated-element model and each instance’s occurrence and parameters from a single image.The approach starts from pixels and uses no supervision or annotation beyond a coarse scale prior.Source: §1 · p. 2
  • A low-dimensional parametric generator models slight element variation while retaining interpretability and controllability, alongside a crop-based curriculum strategy.The architecture draws inspiration from capsule and sprite-based methods, whose setting assumes multiple images and whose performance on real images is described as limited.Source: §1 · p. 2
  • Experiments assess both counting and the modeling of elements and images on a curated subset of real FSC-147 images.The passage does not provide the subset size or numerical results.Source: §1 · p. 2

2 Related Work

Related work spans repeated-pattern discovery in single images, counting, image alignment, and object-centric decomposition. The paper distinguishes its single-image, explicit element model from approaches that rely on implicit patch statistics, multiple-image collections, or fixed prototypes.

2.1 Repeated elements in a Single Image

  • Earlier single-image work models repetition through geometric assumptions, feature matching, or regular patterns, while later approaches also use patch statistics or 3D models.The paper contrasts those implicit patch distributions and mask-dependent 3D approaches with its explicit parametric repeated-element model.Source: §2.1 · p. 3
  • Counting methods estimate repeated-element counts and often locations, spanning supervised, exemplar-based, and exemplar-free settings.ABC123 is presented as a relevant unsupervised counting baseline, but unlike this method it provides no model of the repeated element or image.Source: §2.1 · pp. 3–4

2.2 Repeated elements in Image Collections

  • Image alignment methods typically use image collections or learned correspondences, whereas this approach discovers implicitly aligned instances without a collection of images of one object.SpaceJAM is identified as a fast, lightweight joint alignment approach with an implicit atlas.Source: §2.2 · p. 4
  • Object-centric decomposition methods use latent variables, attention, masks, or slots, while sprite-based methods place transformed image-space object dictionaries onto a canvas.The cited approaches face limitations including controlled synthetic evaluation, sequential or iterative computation, and scalability challenges.Source: §2.2 · p. 4
  • The architecture separates low-resolution background prediction from element prediction, whose instance outputs encode existence, spatial parameters, color transforms, and appearance codes.Generated elements are transformed and alpha-composited over the background, weighted by their existence probabilities.Source: Figure 2 · p. 5, §2.2 · p. 5
  • Unlike prior sprite methods with fixed object prototypes, this approach allows instance appearance variation beyond color and simple geometric transformations.The paper states that this variation enables it to handle real images; DTI-Sprites is not designed for many objects or a single-image setup, while MarioNette is limited by grid resolution.Source: §2.2 · p. 5

3 Method

The method learns a shared, tunable element model and its instances from a single image by optimizing reconstruction, with optional annotations and synthetic pretraining.

3.1 Element-based modeling and architecture

  • Each image is decomposed into a predicted background and foreground instances formed by transforming a shared low-dimensional prototype with instance-specific appearance variation.Source: §3.1 · pp. 5–6

3.2 Unsupervised single-image optimization

  • Unsupervised fitting combines reconstruction with sparsity regularization, while a three-stage curriculum progresses from background fitting to shared-appearance elements and instance-specific appearance.Source: §3.2 · p. 7
  • Randomly cropped and rotated training views constrain the smallest object side to 10%-50% of the crop side to discourage blob-like reconstructions.Source: §3.2 · p. 7
  • Full-image reconstruction combines overlapping crop predictions, probability-based duplicate removal, and joint refinement of elements, background, and prototype.Source: §3.2 · p. 8

3.3 Optional annotation inputs

  • Exemplar supervision selects the predicted element that best fits each bounding box and encourages it to reconstruct that region against the background.Source: §3.3 · pp. 8–9
  • Location supervision matches predicted instances to counting-model pseudo-labels and adds position and probability losses, replacing sparsity regularization.Source: §3.3 · p. 9

3.4 Synthetic pretraining

  • Pretraining on repeated-element synthetic images provides initialization for single-image optimization, although its models perform poorly when applied directly to real images.Source: §3.4 · pp. 9–10

4 Experiments

Experiments evaluate element, image, and count modeling on 116 curated FSC-147 images, comparing the method with counting and element-modeling baselines. The method outperforms the element-modeling baselines, while ablations show how modeling quality and counting respond to scale priors, optimization choices, and supervision.

4.1 Dataset and Evaluation Protocol

  • The evaluation uses 116 images from 29 FSC-147 test categories, with four images per category, object counts, and three exemplar boxes per image.Element modeling is evaluated by reconstructing each annotated exemplar with one predicted element; image modeling compares a composition of predicted elements with the input image, using uniform backgrounds.Source: Dataset · p. 10, Evaluation and metrics · pp. 10–11

4.2 Element modeling baselines

  • The element-modeling baselines average instances, jointly align them, or fit 3D models, using boxes or segmentations extracted through TMR and optionally SAM.The 3D baseline takes about 10 hours to train per image and over half an hour per exemplar, so it is evaluated only for element modeling.Source: §4.2 · pp. 11–12

4.3 Results

  • Our method outperforms all element-modeling baselines on element and image modeling, with Figure 4 showing meaningful elements and faithful instance reconstructions.The baselines require element boxes or segmentations, obtained through TMR, which uses supervision and an exemplar.Source: Figure 4 · p. 12, Comparisons · p. 13
  • Although not designed primarily for counting, our method outperforms exemplar-free ABC123 but is outperformed by supervised counting methods.ABC123 is trained only on synthetic data and reports four counts per image.Source: Comparisons · p. 12
  • Removing the appearance head affects full-image and prototype modeling more than counting, especially SSIM and LPIPS; removing sparsity slightly degrades counting and modeling metrics.Figure 5 visualizes ablations and comparisons.Source: Ablations · pp. 13–14, Figure 5 · p. 13
  • Direct full-image optimization without pretraining or crop-based training performs very poorly across metrics, while removing individual optimization steps causes smaller drops.Pretraining is particularly important for counting, crop-based optimization for modeling quality, and image refinement provides a slight modeling boost; pretraining alone counts relatively well but models poorly.Source: Ablations · p. 14
  • Exemplar loss strongly improves prototype modeling, while localization loss boosts counting but hurts full-image reconstruction; supervision also helps resolve self-similarity ambiguities.In the Lego example, without supervision a red exemplar decomposes into two pieces.Source: Ablations · p. 14
  • Using a uniform object-scale prior increases counting error by 4.53 MAE and 6.1 RMSE, with most of the gap coming from the smallest objects; manipulation edits instance rotation, color, and appearance.On 90% of the dataset, MAE increases by only 1.3; the scale prior is needed only for extremely small objects.Source: Ablations · p. 15, Image Manipulation · p. 15, Figure 6 · p. 15

5 Discussion and Conclusion

The method supports bottom-up discovery and modeling of repeated elements in real images, while its scope is bounded by background, shape, scale, visual-similarity, and part–whole constraints.

5 Discussion and Conclusion

  • The method assumes non-cluttered backgrounds and moderate-aspect-ratio elements, and its coarse scale prior limits extreme intra-image scale variation.Source: §5 · p. 15
  • Image-space visual-similarity grouping misses semantically related but visually dissimilar instances, while part–whole ambiguity remains inherent to intra-image repetition.Source: §5 · p. 15
  • The learned model provides each element instance's position, color, and 1D appearance feature, and suggests repetition as a free self-supervision signal.Source: §5 · p. 15
Loading 2609.07939v2…