TL;DR
Right now, the tech world is racing to train AI agents to click buttons and use existing operating systems on our behalf. This paper flips that idea upside down: instead of training an AI to use a computer, what if we train a generative neural network to be the computer? By combining a brain-inspired "surprise-gated" memory, a vision-language model, and a clever rendering trick, the authors build an interactive desktop world model that remembers hidden files, does exact math in a terminal, and renders crisp text in real time.
What Problem Does This Paper Address?
Software interfaces are rigid, static constructs. Today's trend of building "computer-use agents" takes the human out of the loop to navigate these fixed environments. If we instead turn the operating system itself into a generative "world model"—predicting the next screen pixel-by-pixel from your mouse clicks and keystrokes—we open the door to fluid interfaces that adapt on the fly to a user's workflow or disability without anyone rewriting source code.
However, modeling a 2D desktop is weirdly harder than modeling a 3D video game or driving scene, for three reasons:
- No 3D geometry for memory: In a 3D world model, camera coordinates tell you where to store and retrieve off-screen objects. On a desktop, opening
file_Bin a window overwrites the exact same(x, y)pixels thatfile_Ajust occupied. Without spatial cues, standard models suffer from severe "out of sight, out of mind" amnesia. - Exact symbolic execution: Natural video only needs to look plausible. A terminal given
3 + 3cannot print a blurry, plausible5—it must print6every single time. - Tiny, static text: About 95% of a desktop screen doesn't change from frame to frame, which tempts generative models to lazily copy the previous frame—or worse, turn crisp 10px terminal fonts into illegible mush when re-synthesizing the whole screen.
Methods
Inspired by Neural Turing Machines, the authors build the Interactive Neural Computer, an end-to-end pixel-and-action architecture split into three specialized modules built atop frozen encoders and pretrained NeuralOS weights:
- Memory (Surprise-Gated Concept Slots): An explicit external bank of 64 memory slots addressed by content, not screen coordinates. To avoid filling up slots with static frames or rollout noise, writes are controlled by a predictive-coding "surprise gate"—it only writes to memory when the next screen defies the model's expectations. Because pixel diffusion loss alone is swamped by static backgrounds and fails to train the memory, the authors introduce MEMORY-JEPA, a self-supervised objective that forces the memory to predict next-frame representations in latent space across occlusions.
- Compute (Single-Pass VLM Bridge): Learning multi-digit math from raw pixels is brutally inefficient, so they bootstrap a pretrained Vision-Language Model (Qwen-VL). Waiting for a VLM to generate text token-by-token at test time would ruin interactive frame rates. Instead, they insert 16 learnable causal query tokens before the training-only text answer. During training, this forces the VLM to pack symbolic execution states into those latent tokens in a single forward pass—giving VLM reasoning at test time with zero text-decoding latency.
- Interface (Residual Latent Diffusion): Instead of regenerating the entire screen every frame, a Residual UNet predicts only the standardized frame-to-frame changes (latent deltas) and adds them to the previous frame via a skip connection, keeping static text razor-sharp in just 2–4 diffusion steps.
Datasets
Existing GUI datasets rarely revisit closed windows or test variable recall after clearing a terminal. The authors curated an aligned five-source corpus:
- Three public open-world GUI corpora (>2.1 TB, 173,975 trajectories): Human and agent recordings across Windows, macOS, and Ubuntu (AgentNet, ProCUA-SFT, and CUA-Gym), carefully cleaned and parsed to fix frame-action alignment bugs.
- Desktop (Newly introduced): 864 controlled VS Code sessions where geometric shapes (triangles, circles, stars) are edited, hidden for up to 256 steps while competing files overwrite the exact same pane, and later reopened.
- Maths (Newly introduced): 4,300 interactive Python REPL terminal sessions where variables (e.g.,
q = 854) are defined, wiped from the screen usingCtrl+L, and then queried (q * 738).
Key Insights and Ideas
- Memory is causal and "transplantable": Because the 64-slot memory is detached from the rest of the network, you can perform brain surgery on the running computer at test time. If a user draws a triangle, closes the tab, and you swap in the memory bank from a session where someone drew a circle, reopening the tab causes the model to render the donor's circle! Blocking memory reads erases the file altogether.
- Spatial memory fails on desktops: A baseline using
(y, x)coordinate-addressed slots collapses to near-random guessing when two files share the same window pane, proving that content-addressed memory is essential for 2D interfaces. - Pixel reconstruction isn't enough to learn memory: Without the latent MEMORY-JEPA objective, outer diffusion gradients get washed out by static background pixels, and file recall drops straight to random chance (32.1%).
Key Results
Evaluated across a compute-matched 512×384 suite (against recurrent LSTM NeuralOS and 8-frame sliding-window baselines) and a high-res 1024×768 suite:
- Sharp, legible text at interactive speeds: At 512×384, terminal-text OCR accuracy jumps from 0.0% (NeuralOS) and 1.3% (Sliding Window) to 50.1% (nearing the 4-channel VAE's 56.3% ceiling), running at 18.2 fps. Scaling to a 16-channel FLUX VAE at 1024×768 pushes OCR accuracy to 88.7% at 10.5 fps.
- Surviving occlusion and overwriting: On 3-way hidden-shape recall (33.3% chance), the model achieves 64.2% accuracy vs. 49.6–56.0% for baselines. When a competing file overwrites the same pane for 64 steps, baselines drop near chance (34.0–39.6%), while the proposed model holds 50.0%.
- Causal transplants work: Swapping in a donor memory bank successfully switches the rendered shape on 64.7% of trials without touching the screen, click, or LSTM state.
Limitations and Future Work
- Compute limits: Due to academic hardware budgets, the models were trained on only a small fraction of their massive curated dataset, and performance hasn't saturated yet. Scaling up training is an immediate next step.
- Finite memory horizons: Like all fixed-capacity buffers, recall still degrades over very long overwriting horizons (dropping to 42.4% at 128 overwriting steps).
- Open-ended interfaces: The ultimate horizon isn't mimicking Linux or VS Code—it's generating bespoke, adaptive interfaces on the fly tailored to a user's goals, environment, and physical abilities.
Summary updated