01 — The intended use
Choosing between two pages is a ranking question
DeepUX’s initial use takes two screenshots, selects a perceptual dimension and compares scores. For that choice, what matters is recovering which page people rated more highly.
Mean absolute error, or MAE, measures the gap between predicted and human ratings. Pearson correlation describes whether the ratings follow a linear relationship, in the same or opposite direction; Spearman compares page ordering. A model can miss absolute values while preserving order, or stay near the average rating while misranking pages.
02 — The first model
The first CNN learns visual features and their relationship with ratings
In DeepUX, I first built an AlexNet-inspired convolutional network: three blocks extract visual patterns, then two dense layers combine them to predict a continuous rating. Dropout temporarily disables some units during training to limit reliance on particular patterns. This first network had to learn both screenshot features and their relationship with human ratings.
One retained experiment uses roughly 3,145 valid screenshots: 2,516 for training and 629 for validation. Data augmentation and early stopping aimed to limit overfitting: a model that memorizes training screenshots may predict ratings poorly on new pages.
03 — Transfer learning
ResNet50 provides features learned on ImageNet
I then used ResNet50, already trained to recognize objects on ImageNet, and removed its final classifier. Visual feature maps are combined by averaging, then new layers predict the rating. Initially, the pretrained layers’ parameters remain unchanged and only the new prediction layers learn.
This reduces the number of parameters to adapt. The transfer still moves from object photographs to interfaces. Contrast, density and composition can help across both domains, while web conventions require their own evaluation.
04 — Partial adaptation
Training more layers can also introduce instability
After training the new prediction layers, I allowed updates to the final ResNet50 layers. The learning rate was reduced from 10⁻⁴ to 10⁻⁵ to make smaller adjustments. This fine-tuning stage aimed to adapt features to interface screenshots.
In the retained run, the frozen model’s best validation MAE fell to about 0.53. At the start of fine-tuning it rose, then declined; the run ended before full convergence. That record does not establish that fine-tuning improves comparison.
05 — Evaluation
Metrics answer different questions and come from several runs
I tracked MAE, R² for explained variance, Pearson and Spearman. The comparison with a model that always predicts the mean needs recalculation: retained code compares a mean from transformed ratings with ratings restored to their original scale. Both values need the same scale before concluding that the network beats that constant prediction.
A separate evaluation reports Pearson r ≈ 0.26 after grouping results by screenshot and validation split. It is distinct from the run with MAE near 0.53. The perceptual dimension associated with that correlation still needs confirmation from retained records, so the figure cannot be attributed to trustworthiness. Pairwise evaluation would directly measure the proportion of correctly ordered page pairs.
06 — Model scope
A screenshot reveals appearance rather than the whole experience
An image contains first-impression cues such as contrast, balance, density and organization. It does not show interaction fluency or understanding after use. DeepUX’s intended use is comparison or shortlisting before expert analysis and user research; the quality of that shortlisting still needs evaluation.
A proposed next step would separate sites between training and testing, compare architectures under common conditions and measure pairwise agreement for each dimension.