MIND-Skill: Quality-Guaranteed Skill Generation via Multi-Agent Induction and Deduction
The paper introduces MIND-Skill, a multi-agent framework that automatically generates high-quality, reusable LLM skills through an induction-deduction cycle optimized via textual losses (reconstruction, outcome, and rubric) to ensure robustness and generalizability on complex tasks.
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 brilliant but slightly clumsy robot assistant. You teach it how to do a specific task, like "send a refund to a friend on Venmo," by showing it a video of you doing it perfectly. The robot watches, but instead of just copying your exact moves, it tries to write a rulebook for itself so it can do similar tasks in the future.
The problem is, if the robot writes a bad rulebook, it might get stuck. It might memorize your specific friend's name (too specific) or write instructions that are too vague to be useful (too abstract).
MIND-Skill is a new system designed to help these AI agents write perfect, high-quality rulebooks automatically. It does this using a clever "Teacher and Student" game that guarantees the rules actually work.
Here is how it works, broken down into simple parts:
1. The Two Characters: The Teacher and The Student
The system uses two AI agents working together:
- The Teacher (Induction Agent): This agent watches a successful video of a task being done. Its job is to write a general rulebook (a "skill") that explains how to do the task, without mentioning specific names or numbers.
- The Student (Deduction Agent): This agent is the test. It is given only the rulebook written by the Teacher and the original task description. It tries to perform the task from scratch using just those instructions.
2. The "Reconstruction" Test
This is the magic trick. The system doesn't just ask, "Did the Student get the right answer?" It asks, "Did the Student follow the same logic as the original video?"
- If the Teacher writes a rulebook that says "Click the red button," but the original video showed clicking a blue button, the Student will fail. The system catches this.
- If the Teacher writes a rulebook that is too vague (e.g., "Do the thing"), the Student will get confused and fail.
- If the Teacher writes a rulebook that is too specific (e.g., "Click the button for User #123"), the system realizes this won't work for anyone else.
The system compares the Student's performance against the original video. If they match, the rulebook is good. If they don't, the system knows the rulebook is flawed.
3. The Three "Report Cards"
To make sure the rulebook is perfect, the system gives the Teacher three specific report cards (called "losses") after every attempt:
- The "Did You Follow the Steps?" Card (Reconstruction Loss): Did the Student follow the same strategy as the original video? (e.g., Did they both check the email first, then click send?)
- The "Did You Get the Job Done?" Card (Outcome Loss): Did the Student actually finish the task successfully in the real world?
- The "Is This a Good Manual?" Card (Rubric Loss): Is the rulebook well-written? Is it clear? Does it avoid copying specific details (like names or IDs) that shouldn't be there? This ensures the rulebook is a useful tool, not just a copy-paste of one specific event.
4. The Loop of Improvement
The system runs this game over and over again.
- The Teacher writes a draft.
- The Student tries it.
- The system grades the draft using the three report cards.
- The system tells the Teacher exactly what was wrong (e.g., "You included a specific name; remove it," or "You skipped a safety check").
- The Teacher rewrites the rulebook based on this feedback.
This happens automatically, refining the rulebook until it is flawless.
Why is this special?
Most previous methods tried to write rulebooks by just asking a smart AI to "summarize" a video. But the AI often makes mistakes—either being too vague or too specific.
MIND-Skill is different because it tests the rulebook immediately. It's like a chef writing a recipe and then immediately handing it to a sous-chef to cook the dish. If the sous-chef burns the food or uses the wrong ingredients, the chef knows the recipe was bad and fixes it before anyone else tries it.
The Results
The paper tested this on two difficult worlds:
- AppWorld: A simulation of using real apps (like sending money, booking tickets, managing files).
- BFCL-v3: A test of calling computer functions correctly.
The results showed that agents using MIND-Skill's rulebooks were much better at solving new, unseen tasks than agents using rulebooks made by other methods. Even when the "Teacher" AI wasn't the smartest model available, the testing process made the final rulebooks so good that they performed just as well as those made by the smartest models.
In short: MIND-Skill turns AI agents into self-improving teachers that write their own perfect instruction manuals by constantly testing if those manuals actually work.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.