Reflow: Automatically Improving Touch Interactions in Mobile Applications through Pixel-based Refinements

Jason Wu, Titus Barik, Xiaoyi Zhang, Colin Lea, Jeffrey Nichols, Jeffrey P. Bigham

Abstract

Mobile user interfaces (UIs) are typically designed with a "one size fits all" approach, which fails to account for the diverse motor abilities, hand sizes, and usage contexts of individual users. We introduce Reflow, an end-to-end system that automatically optimizes mobile app layouts to match a user's specific motor profile using only screen pixels. By integrating deep learning-based element detection with a differentiable layout optimizer, Reflow achieves a 9% average improvement in touch interaction speed. Crucially, the system operates without requiring access to an application's source code, making it a versatile tool for personalizing existing mobile ecosystems.

Introduction

The challenge of mobile accessibility often centers on the "reachability" of UI elements. While operating systems provide global gestures to shift the screen, these often disrupt the user's flow. Reflow addresses this by creating personalized UI adaptations that improve efficiency while respecting the original design intent. By treating the UI as an image—a "pixel-only" philosophy—Reflow remains app-agnostic, capable of optimizing legacy apps or those built with frameworks that do not expose standard accessibility metadata.

The Reflow System

Reflow operates through a four-stage pipeline designed to detect, optimize, and re-render UI elements for maximum efficiency.

The Reflow pipeline: from element detection to layout optimization and final re-rendering.
  1. User Calibration: The process begins by building a personalized "difficulty map." Users perform tapping tasks, and the system applies Fitts’s Law to model regions of the screen where the user is likely to be slower or less accurate.
  2. Element Detection: A CNN-based object detector identifies UI elements (buttons, icons, text) directly from screenshots. Grouping heuristics ensure that semantically related items, such as a label and its corresponding button, are treated as a single unit during optimization.
  3. Layout Optimization: A Neural Scoring Model, utilizing a bidirectional LSTM and a feedforward network, predicts selection times for various layouts. Because this model is differentiable, Reflow uses gradient-based optimization to shift and resize elements. This minimizes interaction time while maintaining constraints like alignment and relative positioning.
  4. Re-rendering: To maintain visual fidelity, Reflow employs image inpainting to fill gaps left by moved elements, content-aware resizing to prevent distortion, and OCR-based text re-rendering to ensure legibility.

Experimental Evaluation

The system was trained on a large-scale dataset of 77,000 iOS app screens. To evaluate its effectiveness, the authors conducted a user study with 10 participants across various iPhone models and a heuristic evaluation with 6 design and accessibility experts.

Key Results

  • Performance Gains: Reflow-optimized UIs resulted in an average 9% faster navigation time. In specific complex interfaces, speedups reached between 17% and 32%.
  • Design Preservation: Experts generally agreed that the refinements improved touch efficiency without significantly compromising the app's original aesthetic. While minor alignment shifts were noted, the consensus was that the changes were subtle and preserved the "feel" of the application.
  • Effective Personalization: The system successfully migrated elements from high-difficulty regions (e.g., the top corners of large screens) into the user's optimal "sweet spot" based on their individual calibration.

Discussion and Future Work

While Reflow demonstrates the power of differentiable design, several limitations remain. The current prototype is optimized for static screenshots and struggles with dynamic content like video or scrolling lists. Furthermore, as a pixel-based system, it lacks deep semantic understanding of element relationships beyond spatial proximity. Future work will focus on optimizing the pipeline for real-time, on-device performance and conducting longitudinal studies to observe how users' motor patterns evolve with personalized layouts.

Summary updated

BibTeX
@misc{wu2022reflow,
  author = {Jason Wu and Titus Barik and Xiaoyi Zhang and Colin Lea and Jeffrey Nichols and Jeffrey P. Bigham},
  title = {{Reflow: Automatically Improving Touch Interactions in Mobile Applications through Pixel-based Refinements}},
  year = {2022},
  eprint = {2207.07712},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.07712},
}
Figure