---
id: 18762
lang: en
title: "Apple finds AI builds a mental picture of puzzles, and 16 tokens lift solve rate from 83% to 89%"
published_at: "2026-12-01 00:29:54"
source_name: "Apple ML Research"
source_url: "https://machinelearning.apple.com/research/multimodal-models-imagine-sheep"
canonical_url: "https://news.hamidun.com/en/news/18762"
categories: ["research", "creative"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

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

> **Краткая суть (BLUF):** 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'.  • There were 12 tasks: tangram, jigsaw, sokoban, Rush Hour, and 3D rotation • Jigsaw puzzles and mental rotation of 3D objects improved the most • Apple published the code on GitHub: apple-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.

---
- **Первоисточник:** [Apple ML Research](https://machinelearning.apple.com/research/multimodal-models-imagine-sheep)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/18762
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
