← Latest papers
🤖 AI

Rule-Compliant Visual Spatial Planning for Multimodal Large Language Models

This paper introduces RuleMaze, a controllable benchmark for evaluating rule-compliant visual spatial planning in multimodal large language models, along with a hybrid rule generation framework and a Disentangled Multimodal Planning (DMP) method that significantly improves rule adherence and generalization by separating perception, execution, and verification.

Original authors: Yu Chen, Ting Lei, Yaoyi Li, Jia Cai, Zhecen Wu, Yang Liu

Published 2026-08-21
📖 4 min read☕ Coffee break read

Original authors: Yu Chen, Ting Lei, Yaoyi Li, Jia Cai, Zhecen Wu, Yang Liu

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a world where a computer can look at a picture and understand not just what is in it, but how to move through it. This is the promise of multimodal large language models, a new generation of artificial intelligence that combines the ability to read and reason with the ability to see. These systems have already learned to describe images, answer questions about photos, and solve visual puzzles. But there is a gap in their knowledge. While they can navigate a simple path, they struggle when the path is blocked by a specific set of instructions that change from moment to moment. In the real world, an autonomous vehicle or a robot helper must not only find a way from point A to point B, but also obey a constantly shifting set of rules, such as "do not turn left on red" or "avoid the wet floor." Current models often fail here, treating rules as suggestions rather than hard constraints, or forgetting them entirely as they plan their next move.

To understand why this is so difficult, researchers Yu Chen and his team at Peking University and Yinwang Intelligent Technology created a new testing ground called RuleMaze. They built a digital environment filled with mazes, but these were not just puzzles of walls and open spaces. Each maze came with a unique set of natural language rules, written in plain English, that dictated exactly how a character could move. Some rules were simple, like "you cannot step on pink squares." Others were complex, requiring the character to remember where it had been or to change its behavior based on its current location, such as "if you are standing on an orange square, your next step must be upward." The researchers generated thousands of these scenarios using a method that automatically turned human-written rules into strict, machine-checkable logic. This allowed them to test whether an artificial intelligence could truly understand and follow a rule while navigating a visual space, rather than just guessing the right path based on patterns it had seen before.

The team discovered that simply asking a powerful model to look at the maze and write down a list of moves did not work well, especially when the rules were new or complicated. When the rules changed, the models often forgot the instructions or violated them without realizing it. To solve this, the researchers proposed a new way of thinking called Disentangled Multimodal Planning. Instead of forcing the model to do everything at once—seeing the picture, thinking about the rules, and deciding the next step all in one go—they broke the task into three separate, clear jobs. First, the model uses a tool to look at the maze and identify where it is and what special symbols are nearby. Second, it uses a tool to try a move and see what the new picture looks like. Third, and most importantly, it uses a dedicated tool to check if the move it just made follows the rules. This checking tool acts like a strict referee that instantly says "yes" or "no" to every single step before the model is allowed to continue.

This approach changed the outcome dramatically. In their tests, the new method allowed the models to follow rules with a success rate of 90 percent on tasks they had never seen before, a massive improvement over previous methods which often failed completely on new rules. The researchers found that when the model was forced to check its work at every single step, it stopped making the kinds of mistakes that happen when a system tries to plan a whole journey in its head without verifying each step. The model learned to pause, look at the rule, check the move, and only then proceed. This worked even when the rules were difficult, involving multiple conditions or requiring the model to remember items it had picked up along the way. The study suggests that for artificial intelligence to be truly reliable in complex, rule-bound environments, it cannot just be a smart guesser; it must be equipped with a system that forces it to verify its own actions against the constraints of the world it is navigating. By separating the act of seeing, the act of moving, and the act of checking, the researchers showed that machines can learn to follow instructions with a level of discipline that was previously out of reach.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →