paper-with-me

홈 › Papers

Pattern over Pixels: Measuring Pattern Completion Bias in Multimodal Code Generation

2026-08-04 · Khai-Nguyen Nguyen, Oscar Chaparro, Antonio Mastropaolo arxiv

Multimodal large language models (MLLMs) are increasingly used to translate webpage screenshots into front-end code, but repeated UI patterns may sway them toward visually incorrect yet pattern-consistent outputs. In this work, we test how repeated webpage patterns hurt MLLM accuracy on an objective screenshot-to-code fill-in-the-blank task. We introduce the first benchmark for visual pattern-completion bias, where one localized element in a repeated UI pattern is perturbed and the model must recover the masked width or font-size value from the screenshot and HTML context. Starting from 30 webpages curated from the Design2Code dataset, we build 1,440 evaluated screenshots spanning structural card and text-style patterns under standard and noise-overlaid conditions. We evaluate five frontier MLLMs and find that all are strongly biased toward the repeated baseline. Mean bias rate reaches 69.78% on card-width perturbations and 80.22% on text font-size perturbations, while mean accuracy is only 21.17% and 7.89%, respectively. Codex-5.3 performs best but still drops from 68.61% accuracy on cards to 13.89% on text, while Flash-3.0 reaches 96.11% bias on text. Noise, subtler perturbations, and boundary positions further increase bias rate. Reasoning analysis further shows that greater reasoning effort correlates with lower bias, yet qualitative evidence reveals that models can identify the anomalous element and still override it with the pattern-consistent answer. Our results identify a concrete failure mode in multimodal code generation and show that its severity is strongly associated with visual saliency

📄 PDF Abstract BibTeX arXiv:2608.03691

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

Adaptive LiDAR Sampling and Depth Completion using Ensemble Variance

2020-07-27 · Eyal Gofer, Shachar Praisler, Guy Gilboa

This work considers the problem of depth completion, with or without image data, where an algorithm may measure the depth of a prescribed limited number of pixels. The algorithmic challenge is to choose pixel positions s…

Autonomous VehiclesDepth CompletionDepth Estimation

Learning Energy-based Spatial-Temporal Generative ConvNets for Dynamic Patterns

2019-09-26 · Jianwen Xie, Song-Chun Zhu, Ying Nian Wu

Video sequences contain rich dynamic patterns, such as dynamic texture patterns that exhibit stationarity in the temporal domain, and action patterns that are non-stationary in either spatial or temporal domain. We show …

HONEST: Measuring Hurtful Sentence Completion in Language Models

2021-06-01 · NAACL 2021 4 · Debora Nozza, Federico Bianchi, Dirk Hovy

Language models have revolutionized the field of NLP. However, language models capture and proliferate hurtful stereotypes, especially in text generation. Our results show that 4.3{\%} of the time, language models comple…

Hate Speech DetectionHurtful Sentence CompletionMultilingual NLPSentence+2

LiDAR Meta Depth Completion

2023-07-24 · Wolfgang Boettcher, Lukas Hoyer, Ozan Unal, Ke Li 외

Depth estimation is one of the essential tasks to be addressed when creating mobile autonomous systems. While monocular depth estimation methods have improved in recent times, depth completion provides more accurate and …

Depth CompletionDepth EstimationMonocular Depth Estimation

Structured Light Phase Measuring Profilometry Pattern Design for Binary Spatial Light Modulators

2017-06-08 · Daniel L. Lau, Yu Zhang, Kai Liu

Structured light illumination is an active 3-D scanning technique based on projecting/capturing a set of striped patterns and measuring the warping of the patterns as they reflect off a target object's surface. In the ca…