Brick: Spatial Capability Routing for the Mixture-of-Models (MoM) Paradigm
Brick is a multimodal router for the Mixture-of-Models paradigm that dynamically dispatches queries to models based on six capability dimensions and estimated difficulty, achieving superior accuracy and significant cost-latency reductions compared to single-model baselines and existing routers.
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 run a massive, high-end restaurant. You have three different chefs on staff:
- Chef Qwen: A talented, fast, and very cheap local cook.
- Chef DeepSeek: A highly skilled, mid-priced specialist.
- Chef Kimi: A world-famous, expensive celebrity chef who charges a fortune but is incredibly good at almost everything.
The Problem:
Every day, thousands of customers walk in with different requests. Some ask for a simple grilled cheese sandwich (easy tasks). Others ask for a complex, 10-course molecular gastronomy tasting menu (hard tasks).
In the past, restaurant managers used "superficial routing" to decide who cooks what. They looked at the length of the order or the keywords used.
- The Flaw: A short order like "Prove the Riemann Hypothesis" is actually incredibly hard and needs the celebrity chef. A long, rambling order about "how to make toast" is actually easy and could be handled by the local cook. If you send every long or complex-sounding order to the expensive celebrity chef just because it looks hard, you go bankrupt. If you send everything to the cheap cook, you get a lot of burnt toast and angry customers.
The Solution: "Brick"
The paper introduces Brick, a smart "Head Waiter" (a router) that doesn't just look at the length of the order. Instead, it analyzes the specific skills the order requires.
Brick breaks every request down into six specific "flavors" of difficulty:
- Coding
- Creative Writing
- Following Instructions
- Math Reasoning
- Planning/Strategy
- General World Knowledge
How Brick Works (The Analogy):
- Taste the Order: When an order comes in, Brick reads it and asks: "How much of this is math? How much is creative writing?" It creates a "flavor profile" for the request.
- Check the Chefs' Skills: Brick has a secret scorecard (a "Skill Matrix") for each chef. It knows, for example, that Chef Kimi is amazing at math but sometimes refuses to answer questions about obscure history facts (preferring to say "I don't know" rather than guessing). It knows Chef DeepSeek is surprisingly good at history, even better than the celebrity chef in some cases.
- The "Cost vs. Quality" Dial: Brick has a special knob that the restaurant owner can turn.
- Turn it to "Max Quality": Brick ignores the price tag. It sends the order to the chef most likely to get it perfect, even if that chef is expensive.
- Turn it to "Max Savings": Brick tries to use the cheapest chef possible, even if there's a tiny risk of a mistake.
- Turn it to "Neutral": Brick finds the sweet spot, using the mid-priced chef for most things and only calling in the celebrity chef when absolutely necessary.
The Results:
The paper tested this system on 5,504 different "orders" (queries). Here is what they found:
- Beating the Best Single Chef: Even when Brick was set to "Max Quality," it got more orders right than sending everything to the celebrity chef (Kimi). Why? Because the celebrity chef sometimes refuses to answer questions that the cheaper chefs can actually solve. Brick knows when to bypass the celebrity chef's "I don't know" attitude.
- Saving Money: At the "Neutral" setting, Brick saved the restaurant about 4.7 times the money compared to always using the celebrity chef, while only losing a tiny bit of accuracy (less than 1%).
- Speed: Because Brick often sent simple or medium tasks to the faster, cheaper chefs, customers got their food almost twice as fast on average compared to waiting for the celebrity chef.
- Beating the Competition: Other systems tried to guess difficulty by looking at word count or domain names. They failed. Brick, by looking at the actual skills needed, outperformed all other routing methods tested.
The "Oracle" Ceiling:
The researchers also calculated the "Perfect World" scenario (called the Oracle). If a magical waiter could look at every single order and instantly know exactly which of the three chefs would solve it, they could get 83.25% of orders right.
Brick got 76.98% right. This means Brick captured most of the possible savings and quality improvements, but there is still a small gap (about 6%) of "headroom" that the system hasn't figured out how to exploit yet.
Why This Matters for "Agents" (Robots):
The paper notes that this is crucial for AI "agents" (software that does a series of tasks). If an agent has to do 10 steps to solve a problem, and it uses a "lazy" routing system that checks the cheapest chef first, then the next cheapest, then the expensive one (a "cascade"), it wastes time and money on every single step. Brick is a "one-shot" decision maker: it picks the right chef immediately. This keeps the robot fast and the bill low.
In Summary:
Brick is a smart dispatcher that stops us from blindly paying for the most expensive AI model for every job. It analyzes what a task actually needs, matches it to the specific strengths of different models, and lets us dial the balance between saving money and getting the best possible answer.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.