Research Paper

Learning to Detect UI Principle Violations via Reinforcement Learning

Learning to Detect UI Principle Violations via Reinforcement Learning

A research paper exploring how lightweight vision-language models can be trained to identify accessibility, deceptive design, and usability violations in AI-generated interfaces.

Project type

Project type

Academic Research

Academic Research

Publication

Publication

arXiv, 2026

arXiv, 2026

Role

Role

HCI Researcher + Co-author

HCI Researcher + Co-author

Overview

Overview

As coding agents increasingly generate web interfaces, their outputs are often evaluated for whether they function correctly, but not whether they provide a high-quality user experience. An interface may compile successfully while still containing accessibility barriers, deceptive patterns, poor visual hierarchy, or excessive cognitive complexity.

This research investigates whether a lightweight vision-language model can be trained to act as a UI critic, automatically detecting interface-quality violations in generated web pages.

Research Contribution

Research Contribution

The study brings together 19 UI-quality principles across WCAG 2.2 accessibility standards, deceptive design taxonomies, and established HCI theories of perception, cognition, and interaction.

A verified dataset of approximately 10,000 generated web pages was created by introducing controlled UI violations into clean interfaces. This dataset was then used to train a 4B vision-language model to recognize the underlying design principles.

Outcome

Outcome

Continued reinforcement learning improved the model’s micro-F1 score from 36% to 84%, with 13 of the 19 UI principles achieving more than 80% F1.

The resulting model can help audit AI-generated interfaces, filter low-quality UI training data, and provide design-aware feedback to coding agents.

Let's create impactful designs together!

Let's create impactful designs together!

Thanks for taking the time to explore my work. If you’re looking for a designer who loves bringing ideas to life, let’s chat — I’m just a message away!

Copyright © 2025

Copyright © 2025

Create a free website with Framer, the website builder loved by startups, designers and agencies.