Spacewalker: Rapid UI Design Exploration Using Lightweight Markup Enhancement and Crowd Genetic Programming

Mingyuan Zhong, Gang Li, Yang Li

Abstract

User Interface (UI) design involves navigating vast combinatorial spaces of colors, fonts, and layouts. Traditional methods like A/B testing are insufficient for exploring thousands of variations, while existing automated tools often require specialized knowledge or rely on indirect metrics. We present Spacewalker, a system that enables designers to explore large design spaces using familiar HTML/CSS markup. By integrating a crowd-powered genetic algorithm with a lightweight markup extension, Spacewalker evolves high-quality designs through iterative pairwise comparisons. Our evaluation across six design tasks shows that Spacewalker consistently produces designs preferred by users over random sampling, completing complex explorations in approximately one hour for a nominal cost.

Introduction

Modern UI design is a high-dimensional optimization problem. A single page might have dozens of attributes, leading to thousands of potential combinations. Designers lack tools to efficiently search this space without abandoning their standard workflows. Current AI-driven solutions often use "implicit" data (e.g., click rates) which may not align with aesthetic goals, or require complex programming. Spacewalker addresses this by allowing designers to "evolve" designs directly from annotated HTML/CSS.

Methods

Spacewalker consists of three main components: a markup extension, a crowd-powered genetic algorithm (GA), and an integrated workflow tool.

The Spacewalker system workflow: from HTML annotation to crowd-powered evolution.

Lightweight Markup Extension

Designers specify the design space by adding an explore- prefix to standard HTML attributes. For instance, <div explore-background="bg1.jpg bg2.jpg #333"> defines three possible background states. This approach minimizes the learning curve by building on existing web development skills.

Crowd Genetic Programming

The system treats UI configurations as "genomes." Unlike standard GAs that require absolute fitness scores, Spacewalker utilizes pairwise comparisons—asking crowd workers to choose the better of two designs. To handle this, the authors introduced "feedback masks." When a worker selects one design over another, the algorithm identifies which genes (attributes) differed and only updates those specific traits. This prevents the system from misattributing quality to unchanged elements.

Crowd worker interface for performing pairwise comparisons between evolved designs.

Integrated Workflow

The web-based tool allows designers to launch tasks to Amazon Mechanical Turk, monitor the evolution in real-time, and export the final optimized code.

Results

The system was evaluated using six Bootstrap-based design tasks with search spaces ranging from 50 to 11,000 combinations.

  • Preference: Human evaluators significantly preferred Spacewalker’s evolved designs over uniform random sampling. In a space of 3,000 options, Spacewalker designs were preferred 80% of the time.
  • Efficiency: Tasks typically concluded within one hour at a cost of roughly $35 USD.
  • Usability: Designers reported high productivity, noting that the tool felt like an extension of familiar browser inspection tools.

Discussion and Future Work

Spacewalker demonstrates that combining lightweight markup with human-in-the-loop genetic programming is a viable path for rapid UI exploration. By leveraging pairwise comparisons and feedback masks, the system maintains genetic diversity and avoids local optima. Future work includes automating the generation of design alternatives and integrating functional performance metrics alongside aesthetic preferences.

Summary updated

BibTeX
@misc{zhong2021spacewalker,
  author = {Mingyuan Zhong and Gang Li and Yang Li},
  title = {{Spacewalker: Rapid UI Design Exploration Using Lightweight Markup Enhancement and Crowd Genetic Programming}},
  year = {2021},
  eprint = {2102.09039},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.09039},
}
Figure