Metraipolis › archive › dc_4b276e9b88f2

Pattern over Pixels: Measuring Pattern Completion Bias in Multimodal Code Generation — arXiv:2608.03691

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.03691
License (as archived)
CC0-1.0
Archived
2026-10-31T12:19:32.097Z
SHA-256 of the archived text
704cd440e5c8dfcb90fa63b7e021c229676b74beddb95164abe2fee814c92a7f
Stable URL of this page
https://metraipolis.com/documento/dc_4b276e9b88f2

How to cite

Pattern over Pixels: Measuring Pattern Completion Bias in Multimodal Code Generation — arXiv:2608.03691 — arXiv (en), https://arxiv.org/abs/2608.03691 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_4b276e9b88f2 (Metraipolis archive dc_4b276e9b88f2, sha256 704cd440e5c8dfcb90fa63b7e021c229676b74beddb95164abe2fee814c92a7f)
BibTeX
@misc{dc4b276e9b88f2,
  title = {Pattern over Pixels: Measuring Pattern Completion Bias in Multimodal Code Generation — arXiv:2608.03691},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.03691},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_4b276e9b88f2; sha256 704cd440e5c8dfcb90fa63b7e021c229676b74beddb95164abe2fee814c92a7f},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.03691. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

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

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-05 in cs.AI).
Categorie arXiv: Software Engineering (cs.SE) ; Artificial Intelligence (cs.AI); Computer Vision and Pattern Recognition (cs.CV).
Pagina del lavoro: https://arxiv.org/abs/2608.03691 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-31T12:05:53.073Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-08-05?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).