[Paper Review] Unsupervised Image to Sequence Translation with Canvas-Drawer Networks
This paper proposes a canvas-drawer framework for unsupervised image-to-sequence translation, training a differentiable canvas network to approximate a non-differentiable renderer, enabling end-to-end training of a drawer network to generate interpretable high-level sequences (e.g., brush strokes, rectangles) from pixel images without paired data. The method successfully translates MNIST digits, floorplans, and 3D scenes into structured sequences with high fidelity and generalization to out-of-distribution examples.
Encoding images as a series of high-level constructs, such as brush strokes or discrete shapes, can often be key to both human and machine understanding. In many cases, however, data is only available in pixel form. We present a method for generating images directly in a high-level domain (e.g. brush strokes), without the need for real pairwise data. Specifically, we train a "canvas" network to imitate the mapping of high-level constructs to pixels, followed by a high-level "drawing" network which is optimized through this mapping towards solving a desired image recreation or translation task. We successfully discover sequential vector representations of symbols, large sketches, and 3D objects, utilizing only pixel data. We display applications of our method in image segmentation, and present several ablation studies comparing various configurations.
Motivation & Objective
- To enable unsupervised translation from pixel images to interpretable high-level sequences (e.g., brush strokes, rectangles) without requiring paired training data.
- To address the challenge of training sequence-generating models when real image-sequence pairs are unavailable or expensive to collect.
- To develop a differentiable approximation of non-differentiable rendering programs (e.g., digital painting software, 3D engines) to enable gradient-based optimization.
- To enable generalization to high-resolution images and complex sequences through sliding and hierarchical architectures.
- To demonstrate applicability across diverse domains, including 2D sketches, colored vector drawings, architectural floorplans, and 3D scene reconstruction.
Proposed method
- A canvas network is trained to imitate the behavior of a non-differentiable renderer by learning from rollouts of state-action pairs sampled from the actual rendering program.
- The canvas network provides a differentiable surrogate for the renderer, enabling backpropagation through the rendering process to train the drawer network.
- The drawer network generates a sequence of high-level actions (e.g., Bezier curves, rectangle placements) that, when passed through the canvas network, reconstruct the target pixel image.
- A sliding window and hierarchical architecture are introduced to scale the method to high-resolution images (e.g., 512×512) and long sequences of actions.
- The framework is trained end-to-end by minimizing pixel-level reconstruction loss between the generated image (via canvas network) and the target image.
- The method is applied to translation tasks by minimizing the pixel distance between the canvas-reconstructed image and a target image, using the drawer network as a differentiable policy.
Experimental results
Research questions
- RQ1Can a differentiable canvas network effectively approximate a non-differentiable renderer to enable end-to-end training of a sequence-generating drawer network?
- RQ2How well can the canvas-drawer framework generalize to out-of-distribution images not seen during training?
- RQ3Can the framework scale to high-resolution images and long sequences using sliding and hierarchical architectures?
- RQ4How effective is the method in zero-shot translation tasks, such as converting grayscale MNIST digits to colored vector drawings without paired data?
- RQ5Can the framework be extended to 3D domains by generating 3D rectangular prisms from 2D observations without paired data?
Key findings
- The canvas-drawer framework successfully learns to translate grayscale MNIST digits into colored Bezier curve sequences without paired data, achieving accurate color and shape reproduction.
- The method generalizes well to out-of-distribution examples, such as unseen symbols and sketches, indicating robustness and disentangled representation learning.
- For architectural floorplans, the drawer network produces interpretable, parametric bounding-box segmentations that match the target pixel layout with high fidelity.
- In 3D reconstruction, the framework accurately recovers 3D rectangular prisms from three 2D orthogonal views using only pixel data and no paired training examples.
- Ablation studies show that increasing the number of drawing steps and using hierarchical architectures improve reconstruction quality and generalization.
- The method outperforms baseline approaches in stability and interpretability, particularly in tasks requiring structured, human-readable outputs like vector drawings and room segmentations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.