Skip to main content
QUICK REVIEW

[Paper Review] SketchEmbedNet: Learning Novel Concepts by Imitating Drawings

Alexander Wang, Mengye Ren|arXiv (Cornell University)|Aug 27, 2020
Multimodal Machine Learning ApplicationsComputer Science53 references4 citations
TL;DR

SketchEmbedNet proposes a class-agnostic, encoder-decoder model that learns image representations by training a neural network to generate sequential sketches of images. By imitating human sketching, the model produces structured, compositional embeddings that enable strong few-shot classification performance on unseen classes and datasets, even without class labels during training.

ABSTRACT

Sketch drawings capture the salient information of visual concepts. Previous work has shown that neural networks are capable of producing sketches of natural objects drawn from a small number of classes. While earlier approaches focus on generation quality or retrieval, we explore properties of image representations learned by training a model to produce sketches of images. We show that this generative, class-agnostic model produces informative embeddings of images from novel examples, classes, and even novel datasets in a few-shot setting. Additionally, we find that these learned representations exhibit interesting structure and compositionality.

Motivation & Objective

  • To develop a representation learning method that captures salient visual features by training a model to generate sketches of images.
  • To enable few-shot generalization to novel classes and datasets using a class-agnostic model trained solely on image-to-sketch generation.
  • To investigate whether sketch-based generation leads to more structured, compositional, and informative image embeddings than pixel-based generation.
  • To evaluate the compositional properties of learned embeddings through vector arithmetic operations on sketch representations.

Proposed method

  • Uses a pixel-based image encoder to produce a latent SketchEmbedding vector from natural images.
  • Employs a sequential autoregressive decoder (based on SketchRNN) to generate pen-trace sequences representing sketches from the latent embedding.
  • Trains the model end-to-end in a reconstruction-based objective, minimizing the difference between ground-truth sketch sequences and generated ones.
  • Leverages a broad dataset of diverse image classes (e.g., from QuickDraw and ImageNet) to learn a general-purpose, class-agnostic representation.
  • Applies contrastive and self-supervised learning objectives to improve representation quality during training.
  • Evaluates downstream performance via zero-shot and few-shot classification on Omniglot and mini-ImageNet using the learned embeddings.

Experimental results

Research questions

  • RQ1Can a generative model trained to produce sketches of images learn informative, generalizable image representations without class labels?
  • RQ2How well does the SketchEmbedNet model generalize to novel classes and datasets in a few-shot setting?
  • RQ3Do the learned SketchEmbeddings exhibit compositional and spatial structure, enabling operations like vector arithmetic to manipulate concepts?
  • RQ4How does sketch-based representation learning compare to pixel-based generation in terms of downstream classification performance?
  • RQ5To what extent do the generated sketches preserve semantic meaning and shape structure, especially for complex or abstract concepts?

Key findings

  • SketchEmbedNet achieves 97.66% accuracy on the Omniglot few-shot classification benchmark using only sketch-based representation learning, outperforming baseline models.
  • On the mini-ImageNet benchmark, SketchEmbedNet attains 81.44% accuracy in few-shot classification on seen classes and 77.94% on unseen classes, demonstrating strong zero-shot generalization.
  • The model generalizes to novel datasets not seen during training, including unseen domains like QuickDraw and Omniglot, with high performance on both seen and unseen classes.
  • SketchEmbedNet's embeddings support conceptual composition: vector arithmetic operations (e.g., addition and subtraction) on embeddings yield meaningful visual results, such as generating new shapes by combining or modifying concepts.
  • Qualitative analysis shows that generated sketches preserve shape and structural details better than pixel-based generation methods, especially for written characters and objects with clear component-level structure.
  • The model outperforms a Conv-VAE baseline in both classification accuracy and sketch recognizability, indicating that sketch-based generation leads to more semantically meaningful representations than pixel-based generation alone.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.