DECO: Sparse Mixture-of-Experts with Dense-Comparable Performance on End-Side Devices
This paper introduces DECO, a sparse Mixture-of-Experts architecture that achieves dense-comparable performance with only 20% expert activation and a 3.00× inference speedup on end-side devices by leveraging ReLU-based routing, learnable expert-wise scaling, and a novel NormSiLU activation function.
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 running a massive, high-end restaurant. You want to serve the best possible food (high performance) to as many customers as possible, but you have two strict rules:
- Low Cost: You can't afford to have every chef cooking every single dish for every customer (low computation).
- Small Kitchen: You don't have enough space to store every single recipe book and ingredient for every chef (small storage).
For a long time, the industry standard was to hire a huge team of chefs (a "Dense" model) where everyone tries to cook everything. This tastes great but is incredibly expensive and requires a giant kitchen.
Then, people tried a "Mixture of Experts" (MoE) approach. This is like having a huge team of 100 specialized chefs, but for each order, you only wake up 20 of them to cook. This saves money on cooking time. However, you still have to keep the recipes and ingredients for all 100 chefs in your kitchen. If your kitchen is small (like a phone or a laptop), you run out of space, and the time spent running back and forth to get the right chef's ingredients slows everything down.
Enter DECO.
The authors of this paper created a new restaurant design called DECO. Their goal was to build a "sparse" kitchen (where only a few chefs work at a time) that tastes just as good as the giant "dense" kitchen, but fits in a tiny space and runs fast.
Here is how they did it, using simple analogies:
1. The Smart Waiter (The Router)
In a normal MoE restaurant, the waiter (the router) is a bit rigid. They might say, "For every table, exactly 2 chefs must cook."
- DECO's Innovation: They gave the waiter a flexible, differentiable tool (called ReLU-based routing). Now, the waiter can look at the specific order and decide, "This dish needs 3 chefs," or "That one only needs 1." It's a fluid decision based on the food, not a rigid rule.
- The Scaling Factor: Sometimes, one chef is naturally louder or stronger than another. DECO gives the waiter a set of adjustable volume knobs (learnable scaling) for each chef. If Chef A is naturally quieter, the waiter turns up their volume so their contribution is balanced with the louder chefs.
2. The Specialized Chefs (The Experts)
The chefs in DECO are designed differently to be more stable.
- The "NormSiLU" Apron: The authors noticed that when chefs use a standard apron (activation function), they sometimes get confused or stop working entirely (vanishing signals). They invented a new apron called NormSiLU. Think of this as a special uniform that calibrates the chef's energy before they start cooking. It keeps their output steady and prevents them from burning out or becoming too quiet.
- No Gatekeepers: Most restaurants use a "gatekeeper" chef who decides if the main chef should even start cooking. DECO found that for their flexible waiter, it's actually better to remove the gatekeeper. The chefs work better when they can just start cooking based on the waiter's signal without an extra layer of "permission."
3. The Result: The "Ideal Triangle"
The paper claims DECO achieves a "holy grail" of three things simultaneously:
- High Performance: It tastes just as good as the giant, expensive restaurant (Dense models).
- Low Cost: It only uses 20% of the chefs at any given time, saving massive amounts of energy.
- Small Storage: Because the design is so efficient, the total "kitchen footprint" (total parameters) is small enough to fit on end-side devices like phones, without needing to swap ingredients in and out of storage constantly.
4. The Proof
- Taste Tests: When they tested DECO against other models, it matched the performance of the giant "Dense" models and beat other "Sparse" models, all while using the same amount of training data and total ingredients.
- Speed: They built a custom engine (acceleration kernel) to run this restaurant. On real hardware (like a high-end graphics card and a Jetson device), DECO was 3 times faster than the standard way of running these models.
The Catch (Limitations)
The authors are honest about what they haven't tested yet. They haven't tried this restaurant design for "fine-tuning" (teaching the chefs specific new skills after the main training) or "reinforcement learning" (teaching them through trial and error). They suspect there might be some instability there, so they are currently building a bigger version to test those specific scenarios.
In summary: DECO is a clever re-imagining of how AI models work. It proves that you don't need a giant, bloated kitchen to get great food. With the right waiter, the right uniforms, and a flexible approach, you can get the same high-quality results with a tiny, fast, and efficient kitchen.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.