OS-Atlas teaches an open model to find the right spot on a screenshot. Its 7B grounding model hits 82.47% of ScreenSpot targets, where the Qwen2-VL-7B it started from hits 42.89%.
A foundation action model for generalist GUI agents: one model that reads a screen and says where to click, what to type and how to scroll, on phones, laptops and the web.
Play grounding yourself. Read the instruction and click the spot on the screen. Then switch to the two models and watch where each one clicks. Then we build, piece by piece, the data, the training and the action format underneath.
You need a feel for what a screenshot and a click are. We build the rest from zero: what a vision-language model is, how a corpus of 13 million screen elements is gathered, and why one action name matters.
Based on Wu, Wu, Xu, Wang, Sun, Jia, Cheng, Ding, Chen, Liang and Qiao, “OS-ATLAS: A Foundation Action Model for Generalist GUI Agents” (arXiv 2410.23218, Shanghai AI Laboratory, Shanghai Jiao Tong University, the University of Hong Kong and MIT). It is an assigned reading of MIT MMAI Lecture 13, Multimodal Interaction. Every idea is re-taught here in our own words and devices.
The six mock screens and the model clicks are illustrative: the “before” model misses the three icon targets and the “after” model misses one small icon by a few pixels, to mirror the gap between text and icon accuracy. The scores in the read-out are the paper’s, from Table 2 (ScreenSpot, no planner): Qwen2-VL-7B 42.89%, OS-Atlas-Base-7B 82.47%. A click counts as a hit when it falls inside the true element’s box.
Chapter 0
See why a helper that works from pixels needs one skill above all: pointing at the right place
You ask a helper: “Hide all the __pycache__ folders in the VS Code explorer.” You want it to use the computer the way you do. It looks at the screen and clicks the gear icon. It clicks “Settings”. It clicks the search box and types “files: exclude”. After nine steps the folders are gone.
This is the case study in the paper’s Figure 7. Each step has two parts. A planner (here GPT-4o, a large commercial model) writes a plain sentence, such as “Click on the gear icon”. Then a second model turns that sentence into a spot on the screen, such as [[364, 1036]]. The second step is the subject of this lesson.
Many earlier agents did not look at the screen at all. They read a text description of it: the page’s HTML (the code a web browser draws from) or an accessibility tree (a list of every button, box and link that screen readers use). The paper calls these descriptions lengthy, noisy and hard to get. A desktop app may expose no tree at all.
A screenshot is different. It is a picture of exactly what a person sees. The paper calls it an information-complete medium. It works for any app, because every app draws pixels. The price is that the model must now understand a picture of an interface. A vision-language model (VLM) is a language model that can also read images: it turns the picture into a list of tokens (small numeric pieces) and reads them with the words. Move the slider to compare the sizes.
Bars show tokens the model must read. Drag the number of elements on the page and watch the text descriptions grow while the screenshot stays flat.
Illustrative sizes, not the paper’s. The screenshot assumes about 1,300 visual tokens (a 1,365 by 768 picture at 28 by 28 pixels per token, near the 1024 by 1024 pixel cap the paper sets for its 7B model). The tree assumes 25 tokens per element and the HTML 90 tokens per element. Real pages vary a lot.
The screenshot cost does not depend on the page. The text cost does. That is one reason the paper bets on pixels.
At the core of a screen-reading agent is an action model: a model that turns a request into something a computer can run, such as a click. The hard part of a click is GUI grounding. “GUI” means graphical user interface, the buttons and menus you see. Grounding means tying a word, “the gear icon”, to a place, the pixel where that icon sits.
The authors point at a gap. Agents built on commercial VLMs such as GPT-4o and Gemini work well. Open models, whose weights anyone can download, lag far behind in grounding and in new situations (the paper calls these out-of-distribution, or OOD: apps and tasks the model never trained on). Practitioners who want to run their own model have had no strong choice.
The paper names two causes. First, most VLMs are rarely trained on GUI screenshots. The few screenshot sets that exist cover mostly websites and phones, and the biggest one is not public. Second, datasets name the same action differently: “tap” on a phone and “click” on a laptop mean the same thing, yet they look like two different actions to a model.
The fixes are the four contributions. A toolkit that gathers grounding data on Windows, macOS, Linux, Android and the web. A corpus of 13,582,210 elements on 2,240,717 screenshots built with it. A unified action space that gives every action one name. And a wide test: six benchmarks over three platforms. The authors also repair 11.32% of the answers in a popular grounding test, ScreenSpot, and release the result as ScreenSpot-V2.
The model comes in three modes (the paper’s Figure 1). In Grounding mode it replaces the pointing part of an existing agent. In Action mode it works alone on step-sized tasks, even in new apps. In Agent mode a researcher fine-tunes it further for one job.
The hero above is a toy of the grounding step. Each chapter below explains one part of it.
Chapter 1
Turn a sentence and a screenshot into a point, then learn the two rulers the paper uses to judge it
Picture a friend on the phone. You say: “Click the blue Open button.” Your friend sees the screen and you do not. You wait for the click. If it lands on the button, you are happy. If it lands next to it, you are not, even if it is close.
That is the whole task. The model gets a screenshot and a sentence. It must answer with a place. The paper writes each training example as a triplet: <screenshot, instruction, coordinate>. The coordinate is either a point (one spot) or a bounding box (a rectangle given by its top-left and bottom-right corners).
A language model writes words, not numbers on a grid. So the paper writes the answer as text. For a click, the model must output a line such as CLICK <point>[[101, 872]]</point>. The two numbers are x (left to right) and y (top to bottom). They are not raw pixels. They are normalized to the range 0 to 1000, so the left edge is 0, the right edge is 1000, and a 1920-pixel-wide screen and a 390-pixel-wide phone use the same scale. Chapter 5 shows the exact conversion.
Not every instruction says what to hit. The paper names two kinds.
A referring expression (REG, for referring expression grounding) names the element: “click the Open button”. The words point straight at the thing. You can often make this kind of data by machine, because the page’s code already holds each element’s name and position.
An instruction (IG, for instruction grounding) states a goal: “delete the last file”. The model must work out the action and the element. The paper calls IG a superset of REG, because it also covers actions with no coordinates, such as typing. IG data is more useful in real life and much harder to collect, because people have to write it. Chapter 4 shows how the paper gets it cheaply.
The usual score on ScreenSpot is plain. The model gives a point. The test holds the true element’s box. If the point is inside the box, it is correct. The final number is the share of correct answers, called grounding accuracy. When a test has no box, only a true point, the paper counts a click as right if it lies within 14% of the screen width from the true point (Appendix E).
The inside-or-outside test is blunt. A model that gets a little better still scores the same. The paper says this directly: the metric “cannot capture finer-grained errors”. So it adds Intersection over Union (IoU), the standard overlap score from object detection. It compares the predicted box to the true box.
A worked case. The true box is 300 wide and 60 tall, so area(T) is 18,000. The prediction has the same size but sits 100 to the right. The overlap is 200 wide and 60 tall: 12,000. The union is 18,000 + 18,000 − 12,000 = 24,000. So IoU = 12,000 / 24,000 = 0.50. Try it below.
The blue box is the true element. The warm box is a prediction you control. The shaded part is the overlap. Set the shift to 100 to reproduce the worked case.
Illustrative boxes on the paper’s 0 to 1000 scale: the true box spans x 400 to 700 and y 420 to 480. Size scales the predicted box about its own centre. IoU is computed exactly. The screen is drawn stretched so the thin box is easy to see.
Two things to notice. A box shifted far enough has a centre outside the truth, so the click test fails. And a box four times too large can have its centre dead on target (size 200%, shift 0) yet earn an IoU of only 0.25. The click test says “perfect”; the overlap test says “sloppy”. That is why the paper reports both when it studies grounding.
Chapter 2
Count what GUI data existed before OS-Atlas, and see which parts open models never had
Imagine you hire a new assistant who has read a whole library of books but has never once seen a computer screen. You ask for “the gear icon”. They know what a gear is. They have no idea where gears live on a settings page, or how small they look. They need practice, and the practice is a lot of screens with labels.
This is the first of the paper’s two causes. A vision-language model learns from its training data. Most VLMs saw plenty of photos, charts and documents. They saw few screenshots of apps.
A VLM has three parts. An image encoder cuts a picture into small squares and turns each into a vector (a list of numbers). A small connector maps those vectors into the same space as word vectors. A language model then reads the image tokens and the words together and writes an answer, one token at a time. Training shows it many examples of (image, question, answer).
So if the examples never contain screens, the model never learns what a menu bar looks like. It can still read the text on a button. It cannot reliably say where the button is, because location in an image is a skill that needs examples with locations.
Screens teach a VLM three separate skills. It must read small text, such as a label in a menu. It must learn layout, such as the fact that a search bar sits at the top and a close button sits in a corner. And it must learn what symbols mean, such as a gear for settings or a bag for a cart. Photos of cats teach none of these well. Only screenshots do, and the model must see them with the location of each element attached.
The authors list earlier GUI corpora. Table 1 of the paper counts screenshots by platform and elements overall. An element is one labelled thing on a screen: a button, a link, an icon. Use the selector to read each column.
Pick a column of Table 1. Blue bars are open-source corpora. Grey bars are corpora the paper counts as not open or only partly released.
Numbers are the paper’s Table 1. Ferret-UI lists “<1M” elements and the bar shows 1M as a ceiling. Elements for OS-Atlas read 13.58M in Table 1 and 13,582,210 in Table 7. The “open” flag follows the table’s own check mark: for open-source corpora the paper counts only the amount made public.
Three facts stand out. First, the biggest corpus by far, CogAgent’s 70 million elements, is not open. An open model cannot learn from it. Second, every open corpus is built mostly from web pages and phones, because those are the easy ones to collect. A web crawler can read a page’s code and get every button’s label and position. Third, desktop screenshots barely exist. In Table 1 only OS-Atlas lists any: 54 thousand.
The authors argue that all GUIs share design habits. A menu looks like a menu on a phone and in a browser. Buttons, text boxes and icons repeat. So a model that has seen a huge variety of screens should carry that skill to new ones, even a platform it saw less. This is a hypothesis, and the paper tests it with an ablation in Chapter 6. The result is mixed: web data alone does not carry over to phones and desktops. Each platform needs its own examples.
Data size is not the only problem. The datasets that do exist were built by different teams. They differ in content, in file format and in the names they give actions. One dataset says “tap” where another says “click”. A third says “input” where a fourth says “type”. When a model trains on all of them at once, it sees one real action under several names, and it has to guess which name to write. Chapter 7 fixes this.
Screens come in every shape. A phone is tall and narrow. A monitor is wide. Some VLMs squash every image to a square. That ruins small icons. The paper tests two backbones with different answers: InternVL-2 cuts a large picture into tiles, and Qwen2-VL maps any picture to a variable number of tokens. Chapter 5 shows both.
Chapter 3
Follow a crawler through the web and a robot through a desktop, and see how each turns a screen into labelled boxes
Suppose you need a million examples of “this word, at this place on the screen”. No team of people can label that by hand. But every screen already knows where its own buttons are. A web page stores each button’s name and position in its code. An operating system keeps a list of every control on screen. The trick is to ask the screen, not a person.
The authors took about 4 million URLs from FineWeb, a cleaned and deduplicated English web dataset. For each page they did two things at once. They drew the page in a browser and took a picture. They read the page’s HTML to find every visible clickable element: buttons, scroll bars, search bars, links and titled images. The HTML gave each one a name (the referring expression) and a position (the box).
One detail matters. Earlier work used only the top of each page. The paper renders the whole page and cuts it into pictures of 1920 by 1080 pixels. A long page now gives many different screenshots, each with a different view.
Dropping error pages (such as a 404) left 3.7 million screenshots with 37 million elements. Then the authors looked at samples by eye and found many poor ones. This is a failure you can name. Symptom: pages that did not finish rendering, or pages with every element clustered at the bottom. Measurement: human checks, then rule-based filters that flag those patterns. Fix: drop those pages, and cap each page at 10 elements so a few huge pages cannot dominate. The result is 1,617,179 screenshots and 7,779,922 elements.
| Stage (web) | Screenshots | Elements | What changed |
|---|---|---|---|
| Crawled and rendered | 3.7 million | 37 million | Error pages removed |
| Filtered and capped | 1.6 million | 7.7 million | Bad renders dropped, at most 10 elements per page |
Check the arithmetic. 1.6 of 3.7 million screenshots is about 44%. 7.7 of 37 million elements is about 21%. The elements fell faster because of the cap of 10. The average is now 7,779,922 / 1,617,179 = 4.8 elements per screenshot.
A phone app or a desktop program has no HTML. Two things make collecting hard. You need a real operating system running to take screenshots. And you need a program that clicks around like a person, so the screen changes and you get new screenshots.
The paper sets up a different environment per system. For Android it uses AndroidEnv, a research simulator. For Linux it uses OSWorld, a testbed that runs a virtual computer. Windows and macOS are hard to virtualize, so the authors run on real physical machines.
On each one they read the accessibility tree, or A11y tree. It is a tree of everything on screen, built for screen readers. Each node has a role (button, menu item), a name and a rectangle. The access tool differs by system: pyatspi on Ubuntu, pywinauto on Windows and ApplicationServices on macOS.
# one node of an A11y tree (illustrative; real field names differ by system) { "role": "push button", "name": "Settings", "rect": [1180, 740, 1260, 790] } # left, top, right, bottom in pixels # training row: (screenshot, "Settings", point or box from rect)
To make the screen change, the program samples an action from the tree: it picks a control and clicks it. Then it takes a new screenshot and reads the new tree. The paper uses two ways to explore: Depth-First Search (DFS: go as deep as you can down one path, then back up and try the next) and a Random Walk (pick any available control at each step). Compare them.
Each dot is one screen of a toy app. The line is the path the explorer has taken. Choose a method and drag the number of clicks.
Toy app: 15 screens in a tree, and a click moves along one edge (going back counts as a click). The paper does not report how the two methods compare; the random walk here is a fixed seeded sequence, so you see the same walk each visit. Real apps also have loops and dialogs.
DFS covers the whole toy app in a fixed 28 clicks: 14 forward to new screens and 14 back. The random walk keeps returning to screens it already saw, so it usually needs more clicks. But a random walk can reach odd corners that a fixed order tries late. The paper uses both and then applies the same filters it used on web pages.
Not every row is synthetic. Table 7 also counts public data the authors reused. The synthetic desktop rows are small by comparison: Windows 1,079,707 elements on 51,726 screenshots, Linux 41,540 on 1,186, macOS 13,326 on 1,339. Phone data from a Pixel 6 simulator adds 104,598 elements on 21,745 screenshots, and public sets (SeeClick, AMEX, UIbert) add 3,303,479, 1,097,691 and 16,660.
Chapter 4
See how the paper turns old recordings of people using apps into goal-style training sentences, without paying people to write them
Chapter 3 gave us labels like “Settings” or “Search”. Real users do not talk that way. They say “make the text bigger” or “delete the last file”. To answer, a model must work out which action to take and which element serves the goal. That is the instruction grounding (IG) data from Chapter 1.
Where could IG data come from? Researchers have recorded people using apps for years. These trajectory datasets hold, for each task, a list of steps. Each step has a screenshot and the element the person tapped. But the step has no sentence like “tap the size button”. It holds only the final goal for the whole task.
The paper gives GPT-4o three things for each step. One: the high-level task, such as “order a large pizza”. Two: the screenshot before the action. Three: the screenshot after. GPT-4o compares the pictures, sees what changed, and writes a sub-instruction for that one step.
A problem remains. A busy screen has hundreds of items, and the model may look at the wrong one. The fix is Set-of-Mark prompting (SoM). Before asking, the authors draw a small numbered mark on the element that was operated. Now GPT-4o can be told “the action happened at mark 3”. It no longer has to find the element by itself.
# what the labeller is given, for one step (illustrative: the paper does not publish this prompt) task = "Order a large pizza" before = screenshot_1 # with a numbered mark [3] on the tapped element after = screenshot_2 # the screen once the tap happened # what comes back, and becomes a training row sub_instruction = "Choose the Large size." row = (before, sub_instruction, point_or_box_of_mark_3)
Walk through one step. The task is “order a large pizza”. In the screenshot before, a row of three size buttons is on screen: Small, Medium, Large. In the screenshot after, the Large button is highlighted. The labeller compares the two, sees that one control changed, and reads the mark on it. The change in the picture tells it what the action did. A single picture would show many controls and no hint about which one mattered. The sentence it writes, “Choose the Large size”, is the kind of thing a user would say.
The data flow is short. Input to the labeller: two images and one task sentence. Output: one sentence. The new training row keeps the before image, the new sentence, and the box or point of the marked element. Its shape matches the referring-expression rows from Chapter 3, so one training loop can read both kinds.
A failure is easy to picture. Symptom: the sentence describes the wrong control, such as “open the menu” when the mark sits on a size button. Measurement: compare the sentence with the element the mark covers. Fix: the mark itself, which fixes the target before the labeller writes. The paper does not report a human-checked error rate for these labels, so treat them as good but not perfect.
The authors annotated the training sets of three trajectory datasets this way: Mind2Web (web), AMEX and AITZ (both mobile). They also added two public sets that already had goal-style sentences, AndroidControl and Wave-UI. They removed from Wave-UI every entry that overlaps the ScreenSpot, Mind2Web and OmniAct tests, so that the tests stay clean.
| IG source | Platform | Labelled by | Elements | Screenshots |
|---|---|---|---|---|
| Mind2Web | Web | GPT-4o | 5,943 | 5,943 |
| AITZ | Mobile | GPT-4o | 10,463 | 10,463 |
| AMEX | Mobile | GPT-4o | 5,745 | 5,745 |
| AndroidControl | Mobile | public | 47,658 | 47,658 |
| Wave-UI | All platforms | public | 65,478 | 7,357 |
Add the rows: 135,287 IG elements. The whole corpus holds 13,582,210. So IG is about 1% of the elements. The referring-expression part is the other 99%. IG is small because it is costly. It is still in the mix because it is the kind of sentence real users type.
The paper answers in its ablation (Chapter 6). It removes the IG data from pre-training and re-measures on ScreenSpot. The result is nearly unchanged for the web, with text accuracy moving from 82.61% to 83.48% and icon accuracy from 63.11% to 61.17% (read from Figure 4). The authors conclude that referring-expression data is “nearly sufficient” for a strong grounding model and is far easier to scale. Note the limit: ScreenSpot instructions are mostly element names, so it would not reward goal-style skill. The paper does not run a test built only from goal sentences for this ablation.
Sort a few sentences yourself. Decide whether each one names the element (REG) or states a goal (IG).
Read the sentence. Press the kind you think it is. A referring expression points at an element. An instruction states what you want done.
The six sentences are written for this lesson to follow the paper’s definitions (its own examples are “click the Open button” and “delete the last file”). The edge cases are judgement calls, explained after each answer.
Chapter 5
Follow one click from a pixel on a 1920 by 1080 screen to the exact text a model learns to write
You have 13.6 million rows of (screenshot, phrase, place). Now you must feed them to a model that only reads tokens and writes tokens. Three questions follow. How does the picture become tokens? How does the place become text? And what does one training example look like?
Phase one of the paper’s training is GUI grounding pre-training. The model starts as an ordinary VLM and learns on the triplets. The result is OS-Atlas-Base. The paper runs the recipe twice, on two different backbones: InternVL-2-4B (4 billion weights, trained without GUI data) and Qwen2-VL-7B (7 billion weights, already partly trained on GUI data).
The two backbones treat image size differently. This matters because a desktop screen is wide and an icon on it is tiny.
InternVL-2 uses dynamic tiling. It picks a grid of at most 6 tiles whose shape is closest to the screen’s shape, resizes the screen to fill that grid, and cuts it into tiles of 448 by 448 pixels. It also adds one small copy of the whole screen, the thumbnail, for global context. The paper sets the maximum to 6 tiles. (InternVL turns each tile into 256 tokens; that figure comes from InternVL, not from this paper.)
Qwen2-VL takes any size. It maps the image to as many visual tokens as the size needs. The paper caps the input at 1024 by 1024 pixels in total area, in both training and inference, and says this gives excellent grounding at a good cost.
Why not squash a 1920 by 1080 screen into one 448 square? A 24-pixel icon would shrink by 448 / 1920 = 0.233 across, to about 5.6 pixels. It would blur away. That is the failure: symptom, icons that cannot be found; measurement, a low icon score next to a high text score (Chapter 6 shows exactly this gap); fix, tiles or dynamic resolution.
The model writes the answer as plain tokens. Raw pixel numbers would differ for every screen size, so the paper rescales to a shared grid first.
Worked example. A settings icon sits at pixel (1180, 740) on a 1920 by 1080 screen. Then x′ = round(1000 × 1180 / 1920) = round(614.6) = 615. And y′ = round(1000 × 740 / 1080) = round(685.2) = 685. The model must write <point>[[615, 685]]</point>. At test time, we undo the scaling to get the pixel to click.
The tags matter. For InternVL the paper writes a box as <box>[[x1, y1, x2, y2]]</box> and a point as <point>[[x, y]]</point>, and treats the four tag words as special tokens (single indivisible tokens the model learns). For Qwen2-VL it uses that model’s own box format, <|box_start|>(x1,y1),(x2,y2)<|box_end|>. Matching the format a backbone already knows is the point: it reuses what the model learned before.
Pick a screen and place a click. The canvas shows the InternVL tile grid. The box below shows the exact text a training example would contain.
The tile rule here is a simplification: pick the grid of at most 6 tiles whose width to height ratio is closest to the screen’s (InternVL’s own rule also breaks ties by area). Tokens assume 256 per 448 tile for InternVL and 28 by 28 pixels per token for Qwen2-VL, both from those models’ designs, not from the OS-Atlas paper. The box around the click is a made-up size of 8% by 6% of the screen.
The paper follows SeeClick and turns each row into one of three task types: point grounding (phrase in, point out), box grounding (phrase in, box out) and OCR (read the text of an element). Each type is wrapped in one of 30 prompts written by GPT. To speed training, 15 samples share one conversation, each opened with one of 100 prefix prompts. The paper does not print the loss; as with any VLM fine-tune, the natural reading is next-token prediction on the answer text. The data flow:
# one grounding example (shapes in brackets) image = screenshot # [H, W, 3] pixels tokens = encode(image) # InternVL: [tiles+1, 256] tokens Qwen2-VL: [(H/28)*(W/28)] tokens prompt = "Where is the settings icon?" # one of 30 wrappers per task type answer = "<point>[[615, 685]]</point>" # normalized 0..1000 text loss = cross_entropy(model(tokens, prompt), answer) # assumed; the paper does not print it
Chapter 6
Read the ScreenSpot table, the scaling curve and the ablations, and learn what each one proves and what it leaves open
You trained two models on 13 million elements. Did it work? The paper tests on ScreenSpot, a benchmark of 1,272 single-step tasks on mobile, desktop and web screens. Each task gives a screenshot and an instruction. The model gives a point. The point must fall inside the true box. The paper splits each platform into text targets (a labelled word) and icon or widget targets (a symbol with no word). The authors also fixed 11.32% of the answers in ScreenSpot and released the corrected version, ScreenSpot-V2.
Two test settings appear. In the standard setting, the model gets ScreenSpot’s own short instructions. In the planner setting, GPT-4o first rewrites each instruction into a more detailed one, as an agent would. The paper copies this split from the UGround work.
Pick a platform. Each model has two bars: a solid bar for text targets and a pale bar for icon targets. All numbers are the paper’s Table 2, standard setting.
Choose a platform, or the overall average. Solid bars: text targets. Pale bars: icon targets. The two OS-Atlas rows are in warm.
Table 2 of the paper, no planner. The overall column is the paper’s own average, weighted by test samples, so it is not the plain mean of the six cells. The paper also lists Fuyu (19.5), CogAgent (47.4) and InternVL-2-4B before training (4.32), left out of the bars.
Four things to see. First, OS-Atlas-Base-7B scores 82.47% overall. The next best model without a planner, UGround-7B, scores 73.3%. SeeClick scores 53.4%.
Second, pre-training adds a lot to both backbones. InternVL-2-4B had never trained on GUI data and scores 4.32%. After pre-training, the 4B model scores 70.13%. Qwen2-VL-7B did train on some GUI data, and the paper still raises it from 42.89% to 82.47%, a gain of 39.58 points.
Third, icons are harder than text for every model. On mobile, OS-Atlas-Base-7B scores 93.04% on text and 72.93% on icons. An icon has no label to match, so the model must know what a symbol means and where it sits.
Fourth, the planner helps. With GPT-4o planning, the averages become 62.89% (SeeClick), 81.4% (UGround-7B), 76.81% (OS-Atlas-Base-4B) and 85.14% (OS-Atlas-Base-7B). Note that here the 4B model falls below UGround-7B. The paper does not claim to win every cell. On the corrected ScreenSpot-V2 the numbers are 84.12% (7B) and 71.86% (4B) without a planner, and 87.11% and 79.09% with one.
Figure 3 tracks OS-Atlas-Base-4B during training. Grounding accuracy and IoU both rise as more data passes through, most clearly for IoU and for the web, where the corpus has nearly 10 million elements. Accuracy rises less cleanly, because it ignores how close a miss was. The authors draw two lessons: more data should help further, and the field needs harder benchmarks and finer metrics. That is the same point as the overlap ruler in Chapter 1.
An ablation removes one part and measures what is lost. The paper removes parts in two steps, again on the 4B model. First it drops the instruction grounding data. Then it also drops all mobile and desktop data, leaving the web alone. These are the bar labels of Figure 4.
| Platform and target | Full | No IG data | Web only |
|---|---|---|---|
| Web text | 82.61 | 83.48 | 70.00 |
| Web icon | 63.11 | 61.17 | 50.49 |
| Mobile text | 85.71 | 84.98 | 17.58 |
| Mobile icon | 58.52 | 54.59 | 10.04 |
| Desktop text | 72.16 | 62.89 | 32.99 |
| Desktop icon | 45.71 | 39.29 | 28.57 |
Read it in two lessons. Removing IG data changes the web little and hurts desktop text by about 9 points: referring expressions do most of the work, but not all. And web data alone does not carry over. Mobile text falls from 85.71% to 17.58% when no phone screenshots are in training. Screens look alike to a human; to the model, each platform needs its own examples. That is why the data toolkit is the paper’s main product. (These values are read from the figure’s bar labels; check the PDF for exact reading.)
Table 3 uses OS-Atlas-Base inside a working agent on OSWorld, a benchmark of real computer tasks in a virtual machine. The agent is GPT-4o. It writes a plan step by step. For each click, the paper swaps in a grounding model to give the coordinates. The averages are 4.59% (GPT-4o with Set-of-Mark), 5.03% (GPT-4o alone), 9.21% (with SeeClick), 11.65% (with OS-Atlas-Base-4B) and 14.63% (with OS-Atlas-Base-7B). Humans reach 72.36%. So better pointing nearly triples the agent’s score, and a large gap to people remains. A large gap to people remains.
Chapter 7
Give every action a single name, then teach the grounded model to pick the action as well as the place
Imagine three cooks who share one kitchen. One says “chop”, one says “dice”, one says “cut small”. They all mean the same knife move. A new helper learning from all three has to learn that three phrases are one thing, and may write the wrong one when asked. Data from different GUI datasets is like this.
Phase two of training, action fine-tuning, teaches the model to act. The authors gathered existing agent datasets and mixed them for multitask imitation learning: the model copies what the recorded people did. But the paper found that blind mixing “can significantly harm performance”. A phone dataset logs “tap”. A desktop dataset logs “click”. The two are logically equal, yet they are two labels, and they share training steps without sharing meaning.
The unified action space has two parts. Basic actions exist on every platform and have one fixed format: CLICK, TYPE and SCROLL. Custom actions belong to one platform or dataset, such as open app or drag. The model is told at run time which custom actions exist, so a new tool can be added without retraining the basics. The paper credits this design for its good OOD results. Merge some names below.
Left: the names three datasets use for three real actions. Right: what the model must choose among. Switch the unified space on.
Three pairs are the paper’s own examples (tap and click, press home and home, type and input). Which dataset uses which name is made up for the picture. Over the real data, the paper counts 17 unique action types before unifying and 10 after.
The effect is plain in the numbers: the six raw names in the picture become three, and the paper’s real mix goes from 17 types to 10. Fewer names means each name gets more examples, and knowledge about “click” crosses from phones to desktops. Without the unification, the paper reports a noticeable drop in zero-shot OOD results (its Figure 5 ablation).
Each fine-tuning example is a triplet of input: screenshot, task instruction and action history (the actions so far, if the dataset has them). The target is another triplet: a thought (a short reason), an action type and its parameters. The prompt (the paper’s Table 6) tells the model it is a foundation action model, defines the three basic actions with a fixed format, says that custom actions vary by dataset, and tells it to answer only in code. Three formats:
# basic actions from the paper’s Table 6 CLICK <point>[[x-axis, y-axis]]</point> # example: CLICK <point>[[101, 872]]</point> TYPE [input text] # example: TYPE [Shanghai shopping mall] SCROLL [UP | DOWN | LEFT | RIGHT] # example: SCROLL [UP] # custom actions (illustrative names): OPEN_APP [name], DRAG ..., PRESS_BACK, LONG_PRESS ...
A worked step, in the spirit of the paper’s Figure 2. Task: “Find a shopping mall in Shanghai.” History: CLICK <point>[[452,173]]</point> (the search bar was opened). Thought: “The search box is active, so type the place.” Action: TYPE [Shanghai shopping mall]. The model produced a type, and its text is the parameter.
For OOD testing, the authors keep most datasets out of training. They fine-tune on just three: AMEX (mobile), AITZ (mobile) and Mind2Web (web). The other four, AndroidControl, GUI-Odyssey, GUI-Act-Web and OmniAct, stay out of action training, and every desktop test is among them. (Some AndroidControl screenshots were still used in grounding pre-training, so the paper calls it OOD because its test splits differ.) They call the result OS-Atlas, in 4B and 7B versions, built on OS-Atlas-Base. Later, OS-Atlas-Pro repeats the training on all seven datasets.
The results in Chapter 8 use three scores. Type is an exact match of the action name (CLICK against SCROLL). Grounding checks the parameters. SR, the step success rate, counts a step as a win only if both are right. Appendix E sets the rules. A click counts if it lies within 14% of the screen width of the true point. Typed text counts if its F1 against the truth is above 0.5 (F1 is the overlap of words, between 0 and 1). A scroll needs the exact direction. Everything else must match exactly. Change the distance and type below.
The blue dot is the true click. The ring is 14% of the screen width. Move the predicted click away and choose its action type.
The true action is a CLICK. Distance is a share of the screen width, as in the paper’s Appendix E; the screen drawn is a made-up one.
Chapter 8
Compare OS-Atlas with GPT-4o on six benchmarks it never trained on, and learn where it wins, where it loses and what the tests leave out
A student who memorises last year’s exam can score well on last year’s exam. That tells you little. The real test is a new exam. The paper builds its test around this idea. It trains the action model on just three datasets, then measures on six benchmarks, most of which the model never saw.
In the zero-shot OOD setting (Action mode), the model gets no training on the test tasks. The paper compares with GPT-4o, since other open VLMs do poorly here. In the supervised fine-tuning setting (Agent mode), researchers fine-tune on each benchmark’s own training data, and the comparison is against the same backbones fine-tuned from their original weights, plus SeeClick.
The benchmarks cover three platforms. Mobile: AndroidControl (with a Low variant, where the low-level instruction is also given, and a High variant, where only the high-level goal is given) and GUI-Odyssey, which spans several apps. Web: GUI-Act-Web and OmniAct-Web. Desktop: OmniAct-Desktop on Windows, a platform that is absent from action fine-tuning. For OmniAct in the zero-shot setting, only the first action of each example is scored, because the data holds just the first screenshot.
Choose a score to compare. Type asks if the model picked the right kind of action. Grounding asks if the spot was right. SR needs both. All values are from the paper’s Tables 4 and 5, zero-shot rows.
Each row is a benchmark with three bars: GPT-4o, OS-Atlas-4B and OS-Atlas-7B. Switch the metric.
Paper values, Tables 4 and 5, zero-shot setting. OS-Atlas-4B is built on InternVL-2-4B and OS-Atlas-7B on Qwen2-VL-7B. GPT-4o is warm-grey, the two OS-Atlas models are warm and bright.
The 7B model beats GPT-4o on every one of the six benchmarks on step success. On OmniAct-Web the SR is 59.15% against 34.06%. On GUI-Odyssey it is 26.96% against 5.36%. On OmniAct-Desktop, a platform the model never trained on, it is 56.73% against 50.67%.
The 4B model tells a more mixed story, and the paper’s summary glosses over it. On OmniAct-Web SR, the 4B model scores 22.99% and GPT-4o scores 34.06%. On OmniAct-Desktop SR, 26.94% against 50.67%. The 4B model wins mostly on mobile and on GUI-Act-Web (42.62% against 41.84%, barely). The paper states that OS-Atlas beats GPT-4o on all six datasets; that holds for the 7B model in this table, and does not hold for every 4B cell. Read the model size before the headline.
In the fine-tuning setting, the paper reports state of the art scores for OS-Atlas across Tables 4 and 5, and concludes that it is “a robust foundation” for training custom agents. The base action model begins ahead of the original backbones because of pre-training. The ablation in the paper’s Figure 5 backs the data claim: training without grounding pre-training hurts most on web and desktop, where the fine-tuning data is thin (about 7 thousand web samples and no desktop samples).
OS-Atlas-Pro uses all seven agent datasets, not three. The paper’s Figure 6 reports that this large multitask run lifts the average success rate on web, mobile and desktop for both the 4B and the 7B model. That gain comes with a cost: nothing is left to count as zero-shot.
An honest reading finds five limits.
Chapter 9
Keep the numbers, the terms, a rebuild checklist and the core code on one page, and see where OS-Atlas sits in the field
OS-Atlas has two moves. It builds a huge cross-platform set of labelled screen elements and pre-trains a vision-language model to point at them. Then it gives every action one name and fine-tunes the model to choose actions. The 7B grounder reaches 82.47% on ScreenSpot, and the 7B action model beats GPT-4o on step success in six zero-shot tests. A full agent on OSWorld still scores only 14.63%.
| Quantity | Value | Where |
|---|---|---|
| Grounding corpus, elements | 13,582,210 | Table 7 |
| Grounding corpus, screenshots | 2,240,717 | Table 7 (the text says “over 2.3 million”) |
| Web after filtering | 1,617,179 screens, 7,779,922 elements | Section 3.2, Table 7 |
| Web before filtering | 3.7 million screens, 37 million elements | Section 3.2 |
| Desktop screenshots | 54,251 | Table 7, sum of three rows |
| Instruction grounding elements | 135,287, about 1% | Table 7, sum of five rows |
| Coordinate grid | 0 to 1000 | Appendix F |
| InternVL-2 tiles | at most 6 of 448 by 448, plus a thumbnail | Appendix F |
| Qwen2-VL image cap | 1024 by 1024 pixels | Appendix F |
| Samples per conversation | 15, with 100 prefix prompts | Appendix F |
| Action types | 17 before unifying, 10 after | Section 5.3 |
| ScreenSpot-V2 changes | 144 of 1,272 tasks (11.32%) | Appendix C |
| ScreenSpot, no planner | 82.47% (7B), 70.13% (4B) | Table 2 |
| ScreenSpot, GPT-4o planner | 85.14% (7B), 76.81% (4B) | Table 2 |
| OSWorld average | 14.63% with the 7B grounder, humans 72.36% | Table 3 |
| Click correct if | within 14% of screen width | Appendix E |
| Term | Plain meaning |
|---|---|
| GUI grounding | Tying a phrase to a place on the screen. |
| REG and IG | Referring expression (names the element) and instruction (states a goal). |
| A11y tree | The operating system’s list of every control on screen, with name and box. |
| OS-Atlas-Base | The model after grounding pre-training. It points; it does not choose actions. |
| OS-Atlas, OS-Atlas-Pro | After action fine-tuning on 3 datasets, and on all 7. |
| Unified action space | Basic actions (CLICK, TYPE, SCROLL) plus platform-specific custom actions. |
| Zero-shot OOD | Tested on tasks and apps the model never trained on. |
These twenty lines hold the parts that a rebuild must get exactly right: the coordinate conversion, the action parser with unified names, and the scoring rule.
import re, math def to_norm(x, y, W, H): # pixels -> the shared 0..1000 grid return round(1000 * x / W), round(1000 * y / H) def from_norm(xn, yn, W, H): # model text -> pixel to click return xn * W / 1000, yn * H / 1000 UNIFY = {"tap": "CLICK", "click": "CLICK", "input": "TYPE", "type": "TYPE", "scroll": "SCROLL"} # one name per action, applied to every dataset POINT = re.compile(r"CLICK\s*<point>\[\[(\d+),\s*(\d+)\]\]</point>") def parse(text): # the model writes text; the agent needs a typed action m = POINT.search(text) if m: return ("CLICK", (int(m[1]), int(m[2]))) if text.startswith("TYPE ["): return ("TYPE", text[6:-1]) if text.startswith("SCROLL ["): return ("SCROLL", text[8:-1]) return ("CUSTOM", text) def step_ok(pred, truth, W): # Appendix E: type AND arguments if pred[0] != truth[0]: return False if pred[0] == "CLICK": # both points in pixels return math.dist(pred[1], truth[1]) <= 0.14 * W return pred[1] == truth[1] # text: F1 > 0.5 in the paper; exact match here
OS-Atlas belongs to the line of work that gives computer-use agents eyes: SeeClick and UGround ground clicks, OSWorld tests whole tasks, and large VLMs read screens. It is a reading for MIT MMAI Lecture 13, Multimodal Interaction. For the wider picture, try these lessons:
Open Present to explain the paper in your own words, or Teach to draw the pipeline on a whiteboard. Then go back to the screen at the top and watch the two models click again.
Credit. Zhiyong Wu, Zhenyu Wu, Fangzhi Xu, Yian Wang, Qiushi Sun, Chengyou Jia, Kanzhi Cheng, Zichen Ding, Liheng Chen, Paul Pu Liang and Yu Qiao, Shanghai AI Laboratory, Shanghai Jiao Tong University, the University of Hong Kong and MIT. arXiv 2410.23218; project page osatlas.github.io. All numbers here are theirs unless a device says illustrative.