Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
ReleaseInsight · On RadarApple ML Research→ original

Apple finds AI builds a mental picture of puzzles, and 16 tokens lift solve rate from 83% to 89%

Apple tested whether a neural network 'sees' a task when it solves puzzles and Rush Hour. The Qwen3.5 model was fine-tuned on 12 such tasks without intermediate images, yet traces of an image of the position still appeared inside it. Adding 16 visual tokens per step raised the share of solved tasks from 83% to 89%. Agents that work with diagrams and interfaces may want to test this kind of 'sketch'.

AI-processed from Apple ML Research; edited by Hamidun News
Apple finds AI builds a mental picture of puzzles, and 16 tokens lift solve rate from 83% to 89%
Source: Apple ML Research. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceApple ML Research ↗
Editor-in-Chief
There were 12 taskstangram, jigsaw, sokoban, Rush Hour, and 3D rotation
Key metric #2Jigsaw puzzles and mental rotation of 3D objects improved the most
Apple published the code on GitHubapple-aiml-research/ml-mental-imagery

When you solve Rush Hour or assemble a jigsaw puzzle, you don't describe your moves in words. You run a picture in your head: this car will slide here, this piece will fit there. Language models usually 'think' in text. Apple researchers, including Karl Vondrick and Vladlen Koltun, tested whether large multimodal models (those that understand both text and images) develop something similar to mental images. The answer is in the title of the work: yes, and when the task is about sheep, the model 'imagines sheep'.

How they tested it

The team took Qwen3.5, a model that works with images and text, and fine-tuned it on twelve kinds of visual puzzles. They included tangram, jigsaw, sokoban, mental rotation of 3D objects, and Rush Hour. All of them require understanding the shape of pieces, how they are positioned relative to each other, and what each move will lead to.

Training followed an unusual approach. The model was shown the starting state of a puzzle and asked to output the full chain of actions up to the solution. It was not asked to draw intermediate positions, and it got no hints such as 'here is what the board looks like after the third move'.

Nevertheless, after each action, the model's internal values, that is, what it computes 'under the hood', contained meaningful information about what the current state of the task looks like. The authors explain it this way: an imperfect world model emerges as a side effect. To choose moves correctly, it pays off for the model to 'understand' what will happen on the board, so it begins encoding this on its own.

What visual tokens added

The researchers then examined two techniques that make these internal images sharper and put them to use. The description of the work reports the result of one of them: at each step of the model's step-by-step reasoning, only 16 visual tokens are added. A token can be thought of as a small chunk of information that the model operates on. For comparison, a regular image takes up considerably more of them.

The result: the average share of solved tasks rose from 83% to 89%. The gains were especially strong where reasoning about shape and position is required, namely jigsaw assembly and mental rotation of three-dimensional objects.

An analogy from sokoban: previously the model wrote in words, 'the box moved right, then up.' Now a compact 'sketch' of the current position sits alongside the words. The words handle the logic, and the sketch helps it keep track of the spatial picture.

What to do with this

If you build agents that work with diagrams, blueprints, maps, or interfaces, text-only reasoning may not be enough. A small visual channel within the reasoning chain delivers gains without a large token cost, at least on puzzles.

There is a second takeaway, about training. A model trained to choose actions with consequences (moves, manipulations, planning) forms the beginnings of a representation of the world on its own. This is an argument for training multimodal models not only to describe images but also to solve tasks where the outcome of steps must be calculated.

Limitations

The six percentage point gain was obtained on puzzles with clear rules, not on real-world workflows such as parsing screenshots or navigating apps. The authors themselves describe the internal world model as imperfect. The experiments were run on a single model family, Qwen3.5, so transfer to other models will need separate verification. The description of the work contains no data on how the additional visual tokens affect speed and cost in production.

The code is published in the apple-aiml-research/ml-mental-imagery repository on GitHub. The technique can be reproduced and tested on your own tasks with spatial logic before you build it into a product.

Story

Key Questions Answered

How they tested it?

The team took Qwen3.5, a model that works with images and text, and fine-tuned it on twelve kinds of visual puzzles. They included tangram, jigsaw, sokoban, mental rotation of 3D objects, and Rush Hour. All of them require understanding the shape of pieces, how they are positioned relative to each other, and what each move will lead to. Training followed an unusual approach. The model was shown the starting state of a puzzle and asked to output the full chain of actions up to the solution.

What visual tokens added?

The researchers then examined two techniques that make these internal images sharper and put them to use. The description of the work reports the result of one of them: at each step of the model's step-by-step reasoning, only 16 visual tokens are added. A token can be thought of as a small chunk of information that the model operates on. For comparison, a regular image takes up considerably more of them. The result: the average share of solved tasks rose from 83% to 89%.

What to do with this?

If you build agents that work with diagrams, blueprints, maps, or interfaces, text-only reasoning may not be enough. A small visual channel within the reasoning chain delivers gains without a large token cost, at least on puzzles. There is a second takeaway, about training. A model trained to choose actions with consequences (moves, manipulations, planning) forms the beginnings of a representation of the world on its own.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Unified AI Workspace · Nomad

Test Frontier LLMs & Autonomous Agents in One Workspace

Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.

Try Nomad AI →Launch Nomad Agent
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — Apple finds AI builds a mental picture of puzzles, and 16 tokens lift solve rate from 83% to 89% https://news.hamidun.com/en/news/18762/apple-finds-ai-builds-a-mental-picture-of-puzzles-and-16-tok

What do you think?
Loading comments…