Enhancing Flexibility in User Interaction Modeling by Adding Design Uncertainty to IFML

Marco Brambilla, Marco Brambilla 0001, Romina Eramo, Alfonso Pierantonio, Gianni Rosa, Eric Umuhoza

Introduction

User Interface (UI) design is an inherently iterative process. Designers often face multiple viable paths for layout and navigation, and the optimal choice frequently remains unknown until the application is deployed and real-user data is collected. Standard practices like A/B testing address this by presenting different versions to user segments. However, in Model-Driven Development (MDD) workflows using languages like the Interaction Flow Modeling Language (IFML), this leads to a "combinatorial explosion." Creating separate models for every minor design variation—such as three binary design decisions resulting in eight distinct models—creates a significant maintenance and synchronization burden.

The UIFML Framework

To address this, the authors propose UIFML (Uncertainty IFML), an extension to the standard IFML that treats design alternatives as first-class citizens within a single, unified model. Instead of manually rewriting the IFML specification, the researchers utilized a model-to-model transformation approach. Using ATL (Atlas Transformation Language), they automatically generated an "uncertainty-aware" version of the IFML metamodel.

Standard IFML modeling mapping UI wireframes (a) to interaction flow models (b).

The core of UIFML lies in "Uncertainty Points," represented by a UClass. These points serve as placeholders where multiple design alternatives can be attached. To define the relationships between these alternatives, the framework employs logical operators such as XOR (exactly one variant), OR (one or more), and AND. Furthermore, a TracedClass ensures traceability, allowing the model to track which elements belong to specific design variants. This is crucial for back-propagating user feedback once a "winning" design is identified through runtime analytics.

Case Study and Validation

The approach was validated using a Bookstore e-commerce case study. The researchers modeled two distinct versions of a "Book Details" page. In one version, author information is listed directly on the details page; in the other, authors are accessed via a separate sub-page. By merging these into a single UIFML model, the authors demonstrated how structural changes—such as adding/removing pages or changing event flows—can be managed without duplicating the entire model core.

A compact UIFML model where dashed lines and diamonds represent uncertainty points and design alternatives.

Key Insights and Results

The primary innovation is the elevation of uncertainty from mere annotations to core model logic. This integration allows automated tools to generate code capable of switching between UI variants at runtime, facilitating live A/B testing. By nesting uncertainty points, a single model can represent a vast space of possible application versions, significantly reducing overhead. The model remains compact, as shown in the case study, where dashed lines clearly delineate the uncertain parts of the system from the stable core.

The ultimate goal is a "closed-loop" workflow: once analytics identify the superior variant, the designer can "resolve" the uncertainty in the model, formally adopting the successful design and discarding alternatives in a documented manner.

Conclusion and Future Directions

While UIFML successfully represents complex structural UI variations, several challenges remain. The current implementation lacks a specialized visual editor, which is necessary to prevent "uncertain" models from becoming visually cluttered. Additionally, while the framework represents uncertainty, the process of automatically resolving it based on incoming data logs is still under development. Future work will also need to address the scalability of this approach for fine-grained UI changes, such as aesthetic adjustments (colors, fonts), which are common in A/B testing but may overwhelm high-level interaction models.

Summary updated

BibTeX
@inproceedings{brambilla2017enhancing,
  author = {Marco Brambilla and Marco Brambilla and Romina Eramo and Alfonso Pierantonio and Gianni Rosa and Eric Umuhoza},
  title = {{Enhancing Flexibility in User Interaction Modeling by Adding Design Uncertainty to IFML}},
  booktitle = {Models (satellite Events)},
  year = {2017},
}
Figure