← Latest papers
📊 statistics

Symmetry-Compatible Principle for Optimizer Design: Embeddings, LM Heads, SwiGLU MLPs, and MoE Routers

This paper introduces a symmetry-compatible principle for optimizer design that aligns gradient update rules with the specific equivariance structures of different parameter blocks—such as embeddings, LM heads, SwiGLU MLPs, and MoE routers—demonstrating through extensive pre-training experiments that these tailored optimizers consistently outperform AdamW in final validation loss and training stability.

Original authors: Tim Tsz-Kit Lau, Weijie Su

Published 2026-05-19
📖 5 min read🧠 Deep dive

Original authors: Tim Tsz-Kit Lau, Weijie Su

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 trying to teach a giant, complex robot how to speak a new language. This robot is made of many different parts: a vocabulary dictionary, a brain for processing sentences, and a decision-making system for choosing which expert to consult.

For years, the standard way to teach this robot has been like using a generic, one-size-fits-all paintbrush. You dip the brush in "learning paint" and just dab it on every single part of the robot, regardless of what that part actually does. This method (called AdamW) treats every tiny number in the robot's brain as an independent, isolated dot. It works okay, but it ignores the fact that some parts of the robot are actually structured grids, tables, or interconnected networks.

This paper argues that we should stop using a single paintbrush for everything. Instead, we should use specialized tools that match the specific shape and symmetry of each part of the robot. The authors call this the "Symmetry-Compatible Principle."

Here is how they break it down using simple analogies:

1. The Problem: The "Coordinate-Wise" Mistake

Most current optimizers treat the robot's brain like a long, flat list of numbers. Imagine you have a photo of a city. A "coordinate-wise" optimizer tries to fix the photo by adjusting the brightness of every single pixel independently, one by one. It doesn't realize that a building is a connected structure, or that the sky has a smooth gradient. It ignores the geometry (the shape and structure) of the data.

2. The Solution: Matching the Tool to the Job

The authors say that different parts of a neural network have different "symmetries" (rules about how they can be rearranged without breaking). The optimizer should respect these rules.

  • The Dictionary (Embeddings & LM Heads):

    • The Shape: Think of the vocabulary list as a giant spreadsheet where rows are words and columns are features. You can shuffle the order of the words (rows) without changing the meaning, but you can't rotate the features (columns) freely.
    • The Old Way: The generic optimizer treats every word-feature pair as a separate dot.
    • The New Way: The paper suggests using "Row-Norm" or "Right-Spectral" updates.
    • The Analogy: Instead of painting every pixel, you adjust the brightness of each entire row (word) based on how active that word is. If a word is rarely used, you give it a gentle nudge; if it's used often, you give it a stronger push. This respects the fact that the words are distinct items in a list.
  • The Brain's Hidden Layers (SwiGLU MLPs):

    • The Shape: These layers have "neurons" that can be swapped around. If you swap Neuron A with Neuron B, the math still works the same way.
    • The New Way: The paper suggests "Row-Aware" or "Column-Aware" updates.
    • The Analogy: Imagine a team of workers. If you swap two workers' names, the team still functions. The optimizer realizes this and adjusts the whole team's effort together, rather than treating each worker as an isolated individual.
  • The Expert Switchboard (MoE Routers):

    • The Shape: In "Mixture of Experts" models, the router decides which expert to call. The experts are interchangeable (Expert 1 is the same as Expert 2 if you swap their names), and the router has a "shared shift" (adding a constant to all scores doesn't change the choice).
    • The New Way: The paper suggests "Centered Row-Norm" or "Left-Spectral" updates.
    • The Analogy: Imagine a manager assigning tasks to a team of identical specialists. The manager doesn't care who is "Expert 1" or "Expert 2." The new optimizer ensures that the manager treats the team as a group, adjusting their collective workload without getting confused by arbitrary labels.

3. The Results: A Better Robot

The authors tested this idea by training several different types of language models (like Qwen, Gemma, and OLMoE). They replaced the generic "one-size-fits-all" optimizer with these specialized, symmetry-aware tools for specific parts of the model.

What happened?

  • Better Performance: In almost every test, the robot learned faster and ended up with a lower error rate (better validation loss) than the robot trained with the generic method.
  • Stability: The training process was smoother, with fewer sudden spikes in errors.
  • Scalability: The benefits were even more noticeable in larger models and models with massive vocabularies.

The Bottom Line

The paper doesn't claim that the old method is "broken" or that it will never be used again. Instead, it argues that geometry matters. Just as you wouldn't use a hammer to screw in a lightbulb, you shouldn't use a generic, coordinate-based optimizer for every part of a complex neural network.

By designing the "learning tool" to match the specific shape and symmetry of the part of the brain it is updating, we can build better, more efficient, and more stable AI models. It's a shift from treating the AI as a bag of random numbers to treating it as a structured, geometric object.

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 →