Harnessing Webpage UIs for Text-Rich Visual Understanding

Junpeng Liu, Tianyue Ou, Yifan Song, Yuxiao Qu, Wai Lam +4 more
10/1/2024

No official code found. Best implementation: neulab/MultiUI (54 stars, last commit 2024-12-12).

Abstract

Text-rich visual understanding-the ability to process environments where dense textual content is integrated with visuals-is crucial for multimodal large language models (MLLMs) to interact effectively with structured environments. To enhance this capability, we propose synthesizing general multimodal instructions from webpage UIs using text-based large language models (LLMs). Despite lacking direct visual input, text-based LLMs are able to process structured text representations from webpage accessibility trees. These instructions are then paired with UI screenshots to train multimodal models. We introduce MultiUI, a dataset containing 7.3 million samples from 1 million websites, covering diverse multimodal tasks and UI layouts. Models trained on MultiUI not only excel in web UI tasks-achieving up to a 48% improvement on VisualWebBench and a 19.1% boost in element accuracy on a web agent dataset Mind2Web-but also generalize surprisingly well to non-web UI tasks and even to non-UI domains, such as document understanding, OCR, and chart interpretation. These results highlight the broad applicability of web UI data for advancing text-rich visual understanding across various scenarios.

View on arXivView PDF

Code Implementations(1)

neulab/MultiUICommunity63%

Code for Paper: Harnessing Webpage Uis For Text Rich Visual Understanding

545Shell, PythonOct 17, 20241 years ago

Cite this paper

@article{liu2024harnessing,
  title  = {Harnessing Webpage UIs for Text-Rich Visual Understanding},
  author = {Junpeng Liu and Tianyue Ou and Yifan Song and Yuxiao Qu and Wai Lam and Chenyan Xiong and Wenhu Chen and Graham Neubig and Xiang Yue},
  year   = {2024},
  eprint = {2410.13824},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2410.13824},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.13824.svg)](https://codeofpaper.com/paper/2410.13824)

Discussion