AliyunConsoleAgent: Training Web Agents in Real-World Cloud Environments via Distillation and Reinforcement Learning
The paper introduces AliyunConsoleAgent, a cost-effective web agent framework that achieves near-state-of-the-art performance in verifying cloud console documentation through a two-stage training paradigm combining supervised fine-tuning on distilled trajectories and reinforcement learning with a robust reward system in real-world environments.
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 are the manager of a massive, constantly changing theme park (the Cloud Console). Every day, the park adds new rides, changes ticket booths, and updates safety rules. Meanwhile, the guidebooks (the Documentation) are written by a different team that updates them slowly by hand.
The Problem:
Because the park changes so fast, the guidebooks quickly become outdated. A step in the book might say, "Click the blue button," but in the live park, that button is now red, or it's been replaced by a touchscreen.
Checking every single instruction in the guidebook against the live park is a nightmare. It would take a human team millions of hours a year to do it, and currently, they only check about 1% of the instructions. If they don't check, customers get lost and frustrated.
The Old Solution (and why it failed):
The company tried hiring "super-intelligent robots" (Frontier Proprietary Models) to do the checking. These robots are incredibly smart and can read the guidebooks and navigate the park perfectly. However, they are expensive (like hiring a team of PhDs for every single check) and risky (you have to show them your private park maps, which violates security rules). You can't afford to use them for the millions of checks needed.
The New Solution: AliyunConsoleAgent
The authors built their own "trainable robot" (a 32-billion parameter AI model) that is cheaper and safer to run on their own servers. But a standard robot isn't smart enough to handle a chaotic, changing theme park. So, they used a two-step training method:
1. The "Shadowing" Phase (Supervised Fine-Tuning)
First, they took the super-intelligent robots and made the new robot shadow them.
- The Analogy: Imagine a master chef (the super-robot) cooking a complex dish. The new robot watches the master, memorizing every chop, stir, and seasoning step.
- The Result: The new robot learns the basics of how to navigate the park and follow instructions. It gets pretty good, but it's still just copying. If the park changes slightly, it gets confused because it doesn't truly understand the goal, it just remembers the steps.
2. The "Trial and Error" Phase (Reinforcement Learning)
Next, they let the robot loose in a simulated version of the park to learn by doing.
- The Challenge: In a real cloud environment, the robot often fails not because it's stupid, but because the "park" isn't ready. For example, it tries to delete a server, but the server doesn't exist yet. If the robot gets punished for this, it learns the wrong lesson (that it's bad at deleting servers) instead of the right one (that it needs to build the server first).
- The Fix (The High-Determinism Rollout): The team built a special "training ground" using Terraform (a tool that builds infrastructure like Lego). Before the robot tries to do a task, this system automatically builds the exact prerequisites (like building the server, setting up the network) so the robot can succeed if it makes the right moves.
- The Reward System: Instead of a human grading the robot, they use a Dual-Channel Judge:
- The Rule-Checker: It looks at the official "audit logs" (the park's security camera footage) to see if the action actually happened. Did the server get deleted? Yes/No. This is 100% objective.
- The Panel of Judges: If there's no clear log, two other AI models act as judges. They only give a "pass" if they both agree the robot succeeded. This prevents the robot from "cheating" or tricking a single judge.
The Result
After this training, the robot evolved from a mindless follower into an autonomous problem solver.
- Before: If the guide said "Turn off auto-renewal" but the switch was already off, the robot would just stop and say "I can't do it."
- After: The robot thinks, "Wait, I can't turn it off if it's already off. I need to turn it on first so I can then turn it off to prove I did it." It figured out the logic on its own.
The Bottom Line:
- Performance: Their new robot (AliyunConsoleAgent-32B) is almost as good as the expensive "super-robots" (within 1.8% difference).
- Cost: It costs 92% less to run.
- Impact: They used this system to audit over 54,000 instructions and found nearly 4,400 real errors that product teams fixed.
In short, they taught a local, affordable robot to think like a genius by having it shadow a genius, and then letting it practice in a perfectly prepared training gym where it could learn from its mistakes without being punished for things outside its control.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.