1. A language modeling-like approach to sketching
- Author
-
Lisa Graziani, Stefano Melacci, and Marco Gori
- Subjects
Neural Networks ,Computer science ,Cognitive Neuroscience ,computer.software_genre ,Computer ,Artificial Intelligence ,Humans ,Set (psychology) ,Recurrent Neural Networks ,Probability ,Language ,Artificial neural network ,business.industry ,Statistical model ,Language Modeling ,Sketch generation ,Neural Networks, Computer ,Sketch ,Recurrent neural network ,Beam search ,Artificial intelligence ,Language model ,business ,computer ,Natural language processing ,Natural language - Abstract
Sketching is a universal communication tool that, despite its simplicity, is able to efficiently express a large variety of concepts and, in some limited contexts, it can be even more immediate and effective than natural language. In this paper we explore the feasibility of using neural networks to approach sketching in the same way they are commonly used in Language Modeling. We propose a novel approach to what we refer to as “Sketch Modeling”, in which a neural network is exploited to learn a probabilistic model that estimates the probability of sketches. We focus on simple sketches and, in particular, on the case in which sketches are represented as sequences of segments. Segments and sequences can be either given – when the sketches are originally drawn in this format – or automatically generated from the input drawing by means of a procedure that we designed to create short sequences, loosely inspired by the human behavior. A Recurrent Neural Network is used to learn the sketch model and, afterward, the network is seeded with an incomplete sketch that it is asked to complete, generating one segment at each time step. We propose a set of measures to evaluate the outcome of a Beam Search-based generation procedure, showing how they can be used to identify the most promising generations. Our experimental analysis assesses the feasibility of this way of modeling sketches, also in the case in which several different categories of sketches are considered.
- Published
- 2021