Skip to main content
QUICK REVIEW

[Paper Review] BlackBox Toolkit: Intelligent Assistance to UI Design

Vinoth Pandian Sermuga Pandian, Sarah Suleri|arXiv (Cornell University)|Apr 4, 2020
Innovative Human-Technology InteractionComputer Science4 references8 citations
TL;DR

This paper introduces the BlackBox Toolkit, a two-part AI system that assists UI designers by automating repetitive tasks while preserving human control over creative decisions. MetaMorph uses a fine-tuned RetinaNet to detect UI elements in low-fidelity sketches (achieving 63.5% mAP), while Blu converts UI screenshots into structured blueprints using deep learning on a re-annotated RICO dataset, enabling automated layout reconstruction and design handoff.

ABSTRACT

User Interface (UI) design is an creative process that involves considerable reiteration and rework. Designers go through multiple iterations of different prototyping fidelities to create a UI design. In this research, we propose to modify the UI design process by assisting it with artificial intelligence (AI). We propose to enable AI to perform repetitive tasks for the designer while allowing the designer to take command of the creative process. This approach makes the machine act as a black box that intelligently assists the designers in creating UI design. We believe this approach would greatly benefit designers in co-creating design solutions with AI.

Motivation & Objective

  • To reduce the mental and repetitive workload in UI design by integrating AI as an intelligent assistant.
  • To enable designers to retain control over creative decisions while automating low-level, repetitive tasks.
  • To bridge the gap between low-fidelity sketches and high-fidelity prototypes using AI-driven transformation.
  • To support the creation of machine-readable design blueprints from visual UI screenshots for improved developer handoff.
  • To explore AI-assisted co-creation in UI design, modeling the AI as a 'black box' assistant akin to a Renaissance apprentice.

Proposed method

  • MetaMorph employs a fine-tuned RetinaNet deep neural network for object detection to identify and localize 19 UI element categories in low-fidelity sketches.
  • A synthetic dataset, Syn (125,000 images), was generated by randomly placing UI elements from the UISketch dataset to augment training data for MetaMorph.
  • Blu uses deep learning to detect UI element categories, positions, groupings, and layout structure from Android UI screenshots using a re-annotated subset of the RICO dataset.
  • The layout detection process incorporates principles from Gestalt psychology to algorithmically infer alignment and grouping of UI elements.
  • Both tools are integrated into a prototyping workbench (Eve) that allows designers to sketch, convert to medium-fidelity, and generate high-fidelity Android XML code.
  • The system is designed as a 'black box' assistant, where AI handles repetitive tasks (e.g., element detection, layout reconstruction), while designers retain control over styling and creative decisions.

Experimental results

Research questions

  • RQ1How can AI be used to automate repetitive tasks in UI design without removing the designer’s control over creative decisions?
  • RQ2Can a deep learning model detect UI elements in low-fidelity sketches with sufficient accuracy to enable downstream prototyping?
  • RQ3To what extent can layout structure be automatically inferred from UI screenshots using deep learning and Gestalt principles?
  • RQ4How can AI-assisted tools reduce rework and improve the efficiency of UI design and handoff to developers?
  • RQ5What role can AI play in co-creating UI designs while preserving the designer as the primary driver of creativity?

Key findings

  • MetaMorph achieved a mean average precision (mAP) of 63.5% in detecting 19 UI element categories from low-fidelity sketches using a fine-tuned RetinaNet model.
  • The synthetic dataset Syn, containing 125,000 generated lo-fi sketches, significantly improved the robustness and generalization of the MetaMorph model.
  • Blu successfully reconstructed UI blueprints and layout trees from screenshots using a re-annotated subset of the RICO dataset, enabling structured design representation.
  • The re-annotation of RICO’s UI element hierarchy and layout information corrected mislabeling from automated annotations, improving model reliability.
  • The integration of MetaMorph and Blu into the Eve prototyping workbench enabled end-to-end conversion from sketch to high-fidelity Android XML code with designer control at each stage.
  • The BlackBox Toolkit demonstrates that AI can act as a 'black box' assistant in UI design, automating repetitive tasks while preserving human creativity and control.

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.