Instruction Following by Principled Boosting Attention of Large Language Models
This paper proposes InstABoost, a simple inference-time intervention that unifies attention steering methods through a rule-competition theory and applies a constant additive bias to instruction-key logits to enhance instruction following without sacrificing fluency or context relevance.
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 have a very smart, well-trained robot assistant (a Large Language Model). You give it a set of rules: "Be polite," "Don't lie," and "Answer the user's question."
Usually, the robot follows these rules. But sometimes, if you give it a long, confusing story or a tricky prompt, the robot gets distracted. It might forget the rules, start hallucinating facts, or ignore your specific request to focus on the wrong part of the story. It's like a student who knows the math formula but gets so distracted by a funny doodle in the textbook that they forget to solve the problem.
This paper introduces a new way to keep the robot focused on the rules without having to retrain it from scratch. They call this method INSTABOOST.
Here is the breakdown using simple analogies:
1. The Problem: The "Noisy Room"
Think of the robot's brain as a crowded room where different ideas are shouting.
- The Instructions are your voice giving the rules.
- The Context (the user's story or data) is a bunch of other people talking.
Sometimes, the "other people" (the context) shout so loud that they drown out your voice. The robot listens to the noise instead of your rules. Previous methods tried to fix this by either:
- Muting the noise completely: This works, but sometimes the noise contains important details needed to answer the question. If you mute it too much, the robot gives a correct-but-useless answer (like saying "I am sad" but not answering "What is the capital of France?").
- Turning up your voice only in specific ears: This is too complicated and requires a lot of trial and error to figure out which "ears" (parts of the brain) to use.
2. The Theory: A "Rule-Based Competition"
The authors came up with a theory that the robot is actually running a competition between two teams:
- Team Instruction: The rules you gave it.
- Team Context: The details in the prompt.
The robot's "attention mechanism" is the referee deciding which team wins. If Team Context gets too many points, the robot ignores the rules.
The paper proves that if you give Team Instruction a constant boost (like adding a little extra weight to their score), they become much harder to beat. It's like giving your voice a megaphone. Even if the other people are shouting, your megaphone ensures your rules are heard clearly.
3. The Solution: INSTABOOST (The "Megaphone")
The authors propose a simple trick called INSTABOOST.
Instead of trying to be smart about which part of the brain to change, they just add a tiny, constant "boost" to the attention the robot pays to the instruction words.
- Analogy: Imagine the robot is a chef following a recipe (the instruction) while also looking at the ingredients on the counter (the context).
- Old methods: Tried to blindfold the chef so they only looked at the recipe, or tried to rearrange the kitchen so the recipe was the only thing visible.
- INSTABOOST: Just puts a bright, glowing spotlight on the recipe book. The chef can still see the ingredients on the counter (so they don't forget what they are cooking), but the glowing recipe book is impossible to ignore.
4. Why It's Better
The paper tested this on 15 different tasks, from making the robot sound "sad" to stopping it from breaking safety rules (jailbreaking).
- The "Fluency" Problem: Some old methods made the robot sound like a broken robot (repeating words, sounding nonsensical) when they tried to force it to follow rules. INSTABOOST keeps the robot sounding natural and fluent.
- The "Relevance" Problem: Some methods made the robot follow the rules so strictly that it stopped answering the actual question (e.g., if you asked "How do I bake a cake?" while telling it to be "sad," it might just say "I am sad" and ignore the cake). INSTABOOST keeps the robot answering the cake question while sounding sad.
The Bottom Line
INSTABOOST is a simple, efficient "volume knob" for the robot's attention. It turns up the volume on the instructions just enough so the robot listens to you, but not so much that it stops listening to the user's actual question. It makes AI safer, more reliable, and better at following orders without needing a complete overhaul of its brain.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.