ScreenAI
An implementation of the ScreenAI design: a ViT, a multimodal encoder and a decoder for screens and infographics.
Multimodal · 225 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Multimodal
- Parameters
- 32.1M
- Operations
- 225
- Framework
- PyTorch
- Recurrent
- No
- Published
- IJCAI 2024
- Cited by
- 21 (as of 29 October 2026)
- Authors
- Gilles Baechler, Srinivas Sunkara, Maria Wang and others
- Source
- GitHub: kyegomez/ScreenAI
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m20287
- Graph hash
- 7fbca408c191e768ebe0119c8589aee7002577b1d71b83432819dad3deadc8df
- Skeleton hash
- 6cb0ce46d3494e1365cf0509916ae8063ae600d66f2ada988a304be375bd4a42
- Architecture hash
- 1a499e8f0674db36660c8f67b274ba542e8e04f553d1f0f8e94b5a38f8d9e238
- Diagram SHA-256
- 34f2063b862fc566d13973cbe7f7e9b50c0f809e1c98eebfa9cd419afff1bc4d
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
ScreenAI is a vision-language model for understanding user interfaces and infographics, and it handles vision tasks by recasting them as (text, image)-to-text problems. The model on this page is built from a code repository whose README describes it as an implementation of the ScreenAI model from the paper.
In the paper's design, an image encoder is followed by a multimodal encoder that reads the embedded text and image features, and an autoregressive decoder writes the text output. The design follows the PaLI family and borrows the patching technique of Pix2Struct, in which the patch grid takes its shape from the input image. The README gives the flow as image and text, patching, a ViT, embedding and concatenation, attention and feed-forward layers, then cross-attention, feed-forward and self-attention before the output. Its usage example sets a dimension of 512, a ViT depth of 4, a multimodal encoder depth of 4 and a decoder depth of 4.
The paper trains models of three sizes, containing 670M, 2B and 5B parameters. Its training mixture is built around a screen annotation task in which the model has to identify the type and location of UI elements. The paper also releases three evaluation datasets: Screen Annotation, ScreenQA Short, and Complex ScreenQA.
Key idea. ScreenAI combines the PaLI architecture with the flexible patching of pix2struct and trains on a screen annotation task to understand user interfaces and infographics.
- ScreenAI
- Screen AI
- vision-language model
- UI understanding
- infographics understanding
- screen annotation
- screen question answering
- VLM
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{baechler2024screenaivisionlanguagemodelui,
title={ScreenAI: A Vision-Language Model for UI and Infographics Understanding},
author={Gilles Baechler and Srinivas Sunkara and Maria Wang and Fedir Zubach and Hassan Mansoor and Vincent Etter and Victor Cărbune and Jason Lin and Jindong Chen and Abhanshu Sharma},
year={2024},
eprint={2402.04615},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2402.04615},
}