← Latest papers
💬 NLP

Cross-Domain Hybrid OPD for Generalizable Search Agents

This paper introduces a hybrid training framework for the Yuanbao search agent that utilizes cross-domain expert On-Policy Distillation to achieve specialized search capabilities without sacrificing, and even enhancing, general-purpose intelligence, thereby mitigating the typical alignment tax associated with Reinforcement Learning optimization.

Original authors: Hongzhan Chen, Xiaoyu Liu, Dengming Zhang, Minzhou Huang, Dongliang Xu, Jingcheng Xie, Dongxiang Fang, Bowen Qin, Minsheng Hao, Yaozong Shen, Xiaojun Quan, Mona Zhou, Haosheng Zou, Jeff Chen

Published 2026-08-04
📖 9 min read🧠 Deep dive

Original authors: Hongzhan Chen, Xiaoyu Liu, Dengming Zhang, Minzhou Huang, Dongliang Xu, Jingcheng Xie, Dongxiang Fang, Bowen Qin, Minsheng Hao, Yaozong Shen, Xiaojun Quan, Mona Zhou, Haosheng Zou, Jeff Chen

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 your favorite AI assistant is like a brilliant student who has just learned to be a master detective. This student can scour the internet, connect dots between different news stories, and find hidden facts faster than anyone else. But there's a catch: in the process of becoming a super-detective, they started forgetting how to write a funny poem, solve a tricky math puzzle, or just have a normal chat about their day. This is the problem of "specialization" in the world of Artificial Intelligence. Scientists call the price you pay for getting really good at one specific thing the "alignment tax." It's like if a chef became so obsessed with perfecting their soup that they forgot how to bake a cake. The big question for researchers is: Can we train an AI to be a world-class search expert without making it forget how to be a helpful, all-around friend?

This is exactly what the team at Tencent Yuanbao set out to solve in their new technical report. They built a smart AI agent designed to hunt for information on the web, but they were worried that training it to search so hard would make it "dumb" at everything else. To fix this, they invented a clever two-step training method. First, they taught the AI to be a search pro using a technique called Reinforcement Learning, which is like letting the AI play a game where it gets points for finding the right answers. Then, to stop the AI from losing its general smarts, they used a method called "Cross-Domain Hybrid On-Policy Distillation." Think of this as hiring four different genius tutors—one for math, one for coding, one for logic, and one for science—to teach the search-expert AI how to be a well-rounded student again. The result? An AI that can find information on the web just as well as the specialized version, and while it didn't become a math genius on every single test, it recovered most of its lost ground and actually got better than before on several key areas like logical reasoning and coding. They didn't just fix the problem; they made the AI smarter at many things at the same time, without sacrificing its search skills.

The Detective Who Forgot How to Juggle

Let's dive into the story of the Yuanbao search agent. Imagine you have a robot named "Search-Bot." You want Search-Bot to be the best at finding answers on the internet. So, you put it in a virtual playground where it has to solve mysteries by clicking links, reading articles, and asking questions. This is called Reinforcement Learning (RL). It's like training a dog: every time Search-Bot finds the right piece of information, it gets a treat (a reward). Every time it gets lost, it gets a gentle "no."

After a while, Search-Bot becomes amazing at finding things. But here's the weird part: as it gets better at searching, it starts getting worse at other things. It forgets how to solve a simple math problem or write a creative story. The paper calls this the Alignment Tax. It's like if you spent every single day practicing your soccer kicks until your legs were super strong, but you forgot how to walk in a straight line because you never practiced walking anymore. The AI became so specialized in "searching" that it lost its "general" brain power.

The Two-Step Rescue Mission

The Tencent team realized that just teaching Search-Bot to search harder wasn't the answer. They needed a way to keep the search skills and bring back the general smarts. So, they came up with a two-stage training plan.

Stage 1: The Search Boot Camp
First, they took their base AI model (a smart model called Hunyuan3) and sent it to "Search Boot Camp." Here, the AI only practiced searching. It learned to plan its moves, use tools like web search and image search, and piece together information from different places. As expected, it got really good at searching. But, just like the paper predicted, it started to lose its touch with math, science, and logic. The "Alignment Tax" hit hard.

Stage 2: The "Super-Tutor" Mix
This is where the magic happens. Instead of just letting the AI keep failing at math, the team brought in four Expert Teachers. These weren't just any teachers; they were super-specialized AI models trained specifically on:

  1. Math (solving complex equations)
  2. Coding (writing computer programs)
  3. Logic (solving puzzles and reasoning)
  4. Science (understanding the natural world)

The team used a technique called On-Policy Distillation (OPD). This is a fancy way of saying: "Let's have the student (Search-Bot) try to solve a problem, and then have the Expert Teacher watch and say, 'Hey, you did it this way, but here's a better way to think about it.'"

The cool part is that they didn't just teach the AI math or search. They mixed them together! In every single training session, the AI would practice searching for a fact, and then immediately practice solving a math problem or writing code, all while being guided by the right Expert Teacher. It was like a student who goes to soccer practice in the morning and then goes to piano lessons in the afternoon, but the piano teacher is also watching the soccer practice to make sure the student stays focused and disciplined.

The Results: Best of Both Worlds

The team tested their new "Hybrid" AI against the old versions. Here is what they found:

  • The Search Skills: The new AI was just as good at searching as the one that only practiced searching. In fact, on some tricky search tests, it got even better! It could still find information across the web, plan complex searches, and follow instructions perfectly.
  • The General Skills: This is the big win. The AI that only practiced searching had gotten worse at math and logic. But the Hybrid AI? It didn't just go back to normal; it made significant recoveries and improvements in many areas.
    • On Logical Reasoning tests, the Hybrid AI improved by a huge margin (jumping from a score of 33.95 to 46.90).
    • On Coding tasks, it went from 67.74 to 74.15, beating even the original "base" model.
    • On Math problems, it recovered almost all the lost ground and even surpassed the original model on some difficult tests (like AIME25 and Math IMO AnswerBench). However, on a few extremely challenging benchmarks like Minerva Math and Frontier Science Olympiad, it remained slightly below the original base model's performance.
    • On Science benchmarks, it saw strong gains, reaching the highest accuracy on GPQA Diamond.

The paper shows that the "Alignment Tax" isn't a permanent price you have to pay. By using these Expert Teachers to guide the AI while it learns to search, they managed to "undo" most of the damage. The AI didn't have to choose between being a detective and being a genius; it became a detective who is also very good at being a student, even if it's not perfect on every single math problem in the universe.

Why This Matters

You might wonder, "So what? Why do we care if an AI gets better at math?" Well, imagine you ask your AI assistant, "I'm visiting Paris for three days. I want to see the Eiffel Tower and Disneyland, but I don't want to spend more than 30 minutes traveling between spots."

If the AI only had the "Search-Only" training, it might find the locations but then give you a terrible itinerary that makes no sense, or it might forget how to calculate the travel time correctly because it got too focused on just finding the names of places.

But with the Hybrid training, the AI can:

  1. Search for the locations and travel times (using its search skills).
  2. Reason about the geography and calculate if the plan fits your 30-minute rule (using its logic and math skills).
  3. Write a clear, friendly, and relaxed itinerary for you (using its general language skills).

The paper suggests that this "Hybrid" approach is the key to building AI assistants that are truly useful in the real world. They need to be able to find information, yes, but they also need to be smart enough to use that information to solve problems, write stories, and help us with our daily lives without losing their minds in the process.

The Secret Sauce: How They Did It

The team didn't just throw everything into a blender. They were very careful about how they taught the Expert Teachers. They used a "Curriculum Learning" strategy. This means they didn't start by giving the teachers the hardest, most impossible math problems. Instead, they started with medium-difficulty problems to build a strong foundation, and then slowly introduced the really hard stuff.

They found that if they skipped this step and just threw the hardest problems at the teachers, the teachers (and the student AI) didn't learn as well. The "Curriculum" helped the teachers become better at explaining things, which in turn made the student AI learn faster and smarter.

The Bottom Line

The Tencent Yuanbao team showed us that you don't have to sacrifice general intelligence to get a specialized search agent. By mixing Reinforcement Learning (for searching) with On-Policy Distillation (learning from expert tutors), they created an AI that is a master detective and a brilliant all-around student.

They proved that the "Alignment Tax" can be avoided. The AI didn't just stop getting worse; it actually got better at most things, recovering its lost skills and even surpassing its original self in areas like coding and logical reasoning. While it didn't win every single math contest, it became a much more capable and versatile assistant overall. It's a bit like finding a way to train a superhero to fly without making them forget how to walk. And in a world where we want our AI to be helpful, smart, and versatile, that's a pretty big deal.

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 →