MarioNette: Self-Supervised Sprite Learning
Dmitriy Smirnov, Michaël Gharbi, Matthew Fisher, Vitor Guizilini, Alexei A. Efros, Justin M. Solomon
Abstract
Artists and video game designers often construct 2D animations using libraries of sprites-textured patches of objects and characters. We propose a deep learning approach that decomposes sprite-based video animations into a disentangled representation of recurring graphic elements in a self-supervised manner. By jointly learning a dictionary of possibly transparent patches and training a network that places them onto a canvas, we deconstruct sprite-based content into a sparse, consistent, and explicit representation that can be easily used in downstream tasks, like editing or analysis. Our framework offers a promising approach for discovering recurring visual patterns in image collections without supervision. Since the early days of machine learning, the accepted unit of image synthesis has been the pixel. But while the pixel grid is a natural representation for display hardware and convolutional generators, it does not easily permit high-level reasoning and editing. In this paper, we take inspiration from animation to consider an atomic unit that is richer and easier to edit than the pixel: the sprite. In sprite-based animation, a popular early technique for drawing cartoons and rendering video games, an artist draws a collection of patches-a sprite sheetconsisting of texture swatches, characters in various poses, static objects, and so on. Then, each frame is assembled by compositing a subset of the patches onto a canvas. By reusing the sprite sheet, authoring new content requires minimal effort and can even be automated procedurally. Our goal is to invert this process, simultaneously tackling unsupervised instance segmentation and dictionary learning. Given an image dataset, e.g., frames from a sprite-based video game, we train a model that jointly learns a 2D sprite dictionary, capturing recurring visual elements in an image collection, and explains each input frame as a combination of these potentially transparent sprites. Whereas standard CNN-based generators hide their feature representation in their intermediate layers, our model wears its representation "on its sleeve": by explicitly compositing sprites from its learnt dictionary onto a background canvas, rather than synthesizing pixels from hidden neural features, it provides a readily-interpretable visual representation. Our contributions include the following: • We describe a grid-based anchor system along with a learned dictionary of textured patches (with transparency) to extract a sprite-based image representation. • We propose a method to learn the patch dictionary and the grid-based representation jointly, in a differentiable, end-to-end fashion. • We compare to past work on learned disentangled graphics representations for video games. • We show how our method offers promising avenues for further work towards identifying visual patterns in more complex data such as natural images and video.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
13 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Object-Centric Learning with Slot Attention cites SPACE: Unsupervised Object-Oriented Scene Representation via Spatial Attention and Decomposition
- SPACE: Unsupervised Object-Oriented Scene Representation via Spatial Attention and Decomposition cites Exploiting Spatial Invariance for Scalable Unsupervised Object Tracking
- Invariant Slot Attention: Object Discovery with Slot-Centric Reference Frames cites Object-Centric Learning with Slot Attention
- Invariant Slot Attention: Object Discovery with Slot-Centric Reference Frames cites SPACE: Unsupervised Object-Oriented Scene Representation via Spatial Attention and Decomposition
- Unsupervised Multi-Object Segmentation by Predicting Probable Motion Patterns cites Object-Centric Learning with Slot Attention
- Unsupervised Multi-Object Segmentation by Predicting Probable Motion Patterns cites SPACE: Unsupervised Object-Oriented Scene Representation via Spatial Attention and Decomposition
- Multi-Object Discovery by Low-Dimensional Object Motion cites Object-Centric Learning with Slot Attention
- Multi-Object Discovery by Low-Dimensional Object Motion cites Unsupervised Multi-Object Segmentation by Predicting Probable Motion Patterns
- Latent Particle World Models: Self-supervised Object-centric Stochastic Dynamics Modeling cites Object-Centric Learning with Slot Attention
- Latent Particle World Models: Self-supervised Object-centric Stochastic Dynamics Modeling cites SPACE: Unsupervised Object-Oriented Scene Representation via Spatial Attention and Decomposition
- Deformable Sprites for Unsupervised Video Decomposition cites Object-Centric Learning with Slot Attention
Cited by top-tier papers13
- Invariant Slot Attention: Object Discovery with Slot-Centric Reference FramesOndrej Biza, Sjoerd van Steenkiste, Mehdi S. M. Sajjadi, Gamaleldin Fathy Elsayed et al.ICML 2023 · 54 citations
- Deformable Sprites for Unsupervised Video DecompositionVickie Ye, Zhengqi Li, Richard Tucker, Angjoo Kanazawa et al.CVPR 2022 · 45 citations
- Unsupervised Multi-Object Segmentation by Predicting Probable Motion PatternsLaurynas Karazija, Subhabrata Choudhury, Iro Laina, Christian Rupprecht et al.NeurIPS 2022 · 24 citations
- Multi-Object Discovery by Low-Dimensional Object MotionSadra Safadoust, Fatma GüneyICCV 2023 · 15 citations
- Latent Particle World Models: Self-supervised Object-centric Stochastic Dynamics ModelingTal Daniel, Carl Qi, Dan Haramati, Amir Zadeh et al.ICLR 2026 · 12 citations
Builds on9
- Object-Centric Learning with Slot AttentionFrancesco Locatello, Dirk Weissenborn, Thomas Unterthiner, Aravindh Mahendran et al.NeurIPS 2020 · 1,275 citations
- GANSpace: Discovering Interpretable GAN ControlsErik Härkönen, Aaron Hertzmann, Jaakko Lehtinen, Sylvain ParisNeurIPS 2020 · 1,049 citations
- Seeing What a GAN Cannot GenerateDavid Bau, Jun-Yan Zhu, Jonas Wulff, William S. Peebles et al.ICCV 2019 · 342 citations
- SPACE: Unsupervised Object-Oriented Scene Representation via Spatial Attention and DecompositionZhixuan Lin, Yi-Fu Wu, Skand Vishwanath Peri, Weihao Sun et al.ICLR 2020 · 276 citations
- Exploiting Spatial Invariance for Scalable Unsupervised Object TrackingEric Crawford, Joelle PineauAAAI 2020 · 68 citations
Related papers
- Unsupervised Layered Image Decomposition into Object PrototypesTom Monnier, Elliot Vincent, Jean Ponce, Mathieu AubryICCV 2021 · 64 citations
- Bitrate-Controlled Diffusion for Disentangling Motion and Content in VideoXiao Li, Qi Chen, Xiulian Peng, Kai Yu et al.ICCV 2025 · 1 citation
- Repurposing GANs for One-Shot Semantic Part SegmentationNontawat Tritrong, Pitchaporn Rewatbowornwong, Supasorn SuwajanakornCVPR 2021
- APES: Articulated Part Extraction from Sprite SheetsZhan Xu, Matthew Fisher, Yang Zhou, Deepali Aneja et al.CVPR 2022 · 6 citations
- Moving Off-the-Grid: Scene-Grounded Video RepresentationsSjoerd van Steenkiste, Daniel Zoran, Yi Yang, Yulia Rubanova et al.NeurIPS 2024 · 13 citations
