Skip to main content
QUICK REVIEW

[Paper Review] The DIDI dataset: Digital Ink Diagram data

Philippe Gervais, Thomas Deselaers|arXiv (Cornell University)|Feb 20, 2020
Handwritten Text Recognition TechniquesComputer Science12 references9 citations
TL;DR

The DIDI dataset introduces a large-scale collection of 58,655 digital ink diagram drawings—22,287 with textual labels and 36,368 without—collected via a prompted data collection process using Android devices and Chromebooks. The dataset supports research in interactive graphical symbolic understanding by enabling data-driven modeling of diagrams with dynamic stroke and timestamp information, released under a Creative Commons license with example code for ML framework integration.

ABSTRACT

We are releasing a dataset of diagram drawings with dynamic drawing information. The dataset aims to foster research in interactive graphical symbolic understanding. The dataset was obtained using a prompted data collection effort.

Motivation & Objective

  • To address the lack of large-scale, diverse datasets for training models on interactive diagram understanding involving both text and hand-drawn shapes.
  • To foster research in machine learning and human-computer interaction by providing dynamic digital ink data with temporal and spatial information.
  • To support the development of intelligent tools for diagram creation and editing by enabling data-driven modeling of semantically related handwritten text, shapes, and diagrams.
  • To overcome limitations of existing datasets, which are small and not suitable for deep learning, by releasing a large, diverse, and well-structured dataset.
  • To enable research on end-to-end recognition and understanding of complex, multi-modal diagram content using real user-generated data.

Proposed method

  • Data was collected using an Android app on Chromebooks and mobile devices, where participants were prompted to redraw flowchart diagrams overlaid on screen.
  • Diagrams were generated using GraphViz from randomly generated dot files, with node shapes, labels, and edge structures varied across 161 unique configurations.
  • Each drawing is stored in NDJSON format with fields including unique key, label_id, split (train/valid/test), writing guide (canvas dimensions), and a nested array of strokes with x, y, and timestamp coordinates.
  • The dataset was split by participant writers to ensure disjoint training, validation, and test sets, with 6/8 of data used for training and 1/8 each for validation and testing.
  • Supporting files include original dot files, PNG prompt images, and extended xdot files for rendering, all released under a Creative Commons Attribution 4.0 license.
  • Example code for visualization and conversion to common ML frameworks is provided in a Colab notebook.

Experimental results

Research questions

  • RQ1How can large-scale, dynamic digital ink data be effectively collected and structured to support research in graphical symbolic understanding?
  • RQ2What is the impact of including textual labels in diagrams on the complexity and diversity of user-generated drawings?
  • RQ3Can a large, diverse dataset of user-drawn diagrams with temporal and spatial stroke information enable improved performance in diagram recognition and understanding tasks?
  • RQ4How does the split by writer participants affect the generalization of models trained on the DIDI dataset?
  • RQ5To what extent can existing machine learning frameworks be effectively utilized with this dataset for end-to-end diagram understanding?

Key findings

  • The DIDI dataset comprises 58,655 unique diagram drawings collected from 364 participants, with 22,287 including textual labels and 36,368 without.
  • The dataset includes 6,555 unique label IDs, with each label used between 1 and 169 times, and a median usage of 4 times.
  • Drawings range from 1 to 161 strokes (median 14) and contain between 2 and 17,980 points (median 1,559), reflecting high variability in user input.
  • The dataset is split into training (43,995), validation (7,330), and test (7,330) sets based on disjoint writer identities to ensure evaluation robustness.
  • The dataset is released under the Creative Commons Attribution 4.0 International License with full source code and example notebooks for visualization and ML integration.
  • The data collection process used GraphViz-generated dot files to create diverse, realistic flowchart prompts, ensuring structural and semantic variety in the diagrams.

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.