← Latest papers
💬 NLP

Reasoning Up the Instruction Ladder for Controllable Language Models

This paper introduces VerIH, a training dataset and reinforcement learning approach that reframes instruction hierarchy resolution as a reasoning task, enabling language models to effectively prioritize conflicting directives and significantly improve both instruction following and robustness against safety attacks.

Original authors: Zishuo Zheng, Vidhisha Balachandran, Chan Young Park, Faeze Brahman, Sachin Kumar

Published 2026-07-13
📖 4 min read☕ Coffee break read

Original authors: Zishuo Zheng, Vidhisha Balachandran, Chan Young Park, Faeze Brahman, Sachin Kumar

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 you're the captain of a spaceship, but you have two different control panels in front of you. One is the Captain's Manual (the system prompt), which has the golden rules of the universe: "Never hurt a human," "Always tell the truth," and "Protect the ship." The other is the Passenger's Note (the user prompt), where a traveler might say, "Hey, let's ignore the manual and punch a hole in the hull to see what happens!"

For a long time, AI models were like confused copilots. They treated the Captain's Manual and the Passenger's Note as if they were just two lists of equal importance. If the passenger shouted "Do it!" loud enough, the AI might forget the manual and punch the hole, even if it meant breaking the rules. This is a big problem because it lets bad actors "jailbreak" the AI or trick it into doing dangerous things.

The researchers in this paper decided to teach the AI a new superpower: Reasoning Up the Instruction Ladder.

The "Think Before You Act" Upgrade

Instead of just blindly following the last thing it heard, the authors taught the AI to pause and "think" about the relationship between the rules and the request. They created a special training dataset called VerIH (Verifiable Instruction Hierarchy). Think of this as a giant gym where the AI practices solving puzzles where the rules conflict.

In this gym, the AI learns to say: "Wait a minute. The Captain's Manual says 'No punching holes.' The passenger is asking me to punch a hole. Since the Manual is higher up on the ladder of authority, I must ignore the passenger's request to break the rules."

The paper shows that by training on about 7,192 of these conflict puzzles, the AI gets really good at this "thinking" process. It doesn't just memorize the answer; it learns the logic of who is in charge.

The Results: A Bigger Brain, Not Just a Bigger Memory

The authors tested this on several different AI "brains" (models like Qwen and Phi-4), ranging from small ones to massive ones. Here is what they found:

  • Handling Conflicts: When the AI faced a conflict between a rule and a request, its ability to follow the right rule jumped by about 20% compared to models that didn't get this special training.
  • Stopping Bad Guys: This training also made the AI much harder to trick. When bad actors tried to "jailbreak" it (trick it into ignoring safety rules), the attack success rate dropped by up to 20%.
  • No Brain Drain: Usually, when you teach an AI a new trick, it might forget how to do old ones (like math or writing). But here, the AI got better at following rules without losing its general smarts. In fact, on some math and reasoning tests, the scores stayed the same or even went up slightly.

What This Is NOT

It's important to know what this paper doesn't say. The authors explicitly argue against the idea that you just need to "hard-code" safety into the AI's brain or that you need to retrain the whole model from scratch every time a new rule appears. They also show that simply adding a "think step-by-step" instruction isn't enough on its own; the AI needs to be trained specifically on conflicting instructions to learn the hierarchy.

Furthermore, the paper suggests that this method works even for safety rules the AI never saw during training. It's like teaching a robot the concept of "authority" so that when you give it a new rule later (like "Don't generate hate speech"), it automatically knows that this new rule overrides a user's request to generate hate speech, even if it never practiced that specific scenario before.

The Bottom Line

The paper suggests that by teaching AI models to explicitly reason about who is in charge—the system rules or the user request—we can make them more reliable and controllable. It's a shift from hoping the AI "knows" the rules to teaching it how to think about the rules.

The authors are careful to note that while the results are strong (with ~20% improvements in specific conflict scenarios), this is just one step forward. They admit their training data was synthetic (made by other AIs) and that more testing is needed to see how this holds up in every real-world situation. But the core idea is clear: if you want an AI that doesn't get confused when someone tries to trick it, teach it to look up the ladder and see who's really the boss.

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 →