← Latest papers
💬 NLP

LATMiX: Learnable Affine Transformations for Microscaling Quantization of LLMs

This paper presents LATMiX, a method that employs learnable invertible affine transformations to optimize activation distributions for micro-scale quantization (MX), thereby significantly improving the accuracy of low-bit Large Language Models compared to existing rotation- or Hadamard-based approaches.

Original authors: Ofir Gordon, Lior Dikstein, Arnon Netzer, Idan Achituve, Hai Victor Habi

Published 2026-04-27
📖 4 min read☕ Coffee break read

Original authors: Ofir Gordon, Lior Dikstein, Arnon Netzer, Idan Achituve, Hai Victor Habi

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 massive, incredibly detailed library (a Large Language Model, or LLM) capable of answering any question, writing code, or telling stories. The problem is that this library is so vast and heavy that it is expensive to store and slow to read. To make it faster and cheaper, engineers attempt to shrink the books by summarizing them into smaller, simpler formats. This process is called quantization.

However, there is a catch. In these enormous libraries, some pages contain "outliers"—extremely long, complex sentences that do not fit well into the small, simplified format. If you try to force these long sentences into a tiny box, they become squashed and distorted, ruining the story.

The Problem: The "Block" Bottleneck

Recently, a new way of organizing these books called Microscaling (MX) was introduced. Instead of shrinking the entire library with a single massive summary, MX breaks the books into small blocks and gives each block its own tiny ruler (scaling factor) to measure the words. This is great because it handles different parts of the text more flexibly.

But here is the catch: Previous methods tried to solve the "outlier" problem by rotating the entire library like a spinning top. When they attempted to combine this rotation with the new "block" rulers, chaos ensued. The rotation disrupted the block measurements, rendering the library unreadable.

To fix this, earlier researchers tried a workaround: they rotated only the pages within each small block and ignored the rest of the library. Although this stopped the chaos, it was like trying to fix a traffic jam by moving only the cars within a single parking lot while ignoring the cars stuck in the next lane. It did not solve the problem on a large scale.

The Solution: LATMiX (The Intelligent Reorganizer)

The authors of this paper, LATMiX, propose a smarter way to rearrange the books before shrinking them.

Imagine the data in the model as a crowd of people in a room. Some people stand in a huge, dense cluster (the outliers), while others are scattered.

  • Old methods tried to rotate the entire room or mix people only within small groups.
  • LATMiX acts like a master choreographer. It learns a custom, flexible dance move (an affine transformation) that distributes the dense cluster evenly across the entire room.

This choreography has two special features:

  1. It is learnable: Instead of using a preset dance (like a simple rotation), LATMiX uses standard AI tools to learn the perfect dance moves specifically for the data it is viewing. It figures out exactly how the energy must be distributed so that no single point becomes too crowded.
  2. It respects the blocks: It knows the "block" rulers (MX format). It does not just mix people randomly; it mixes them in a way that works perfectly with the block system, ensuring the tiny rulers can measure everyone accurately.

How It Works (The Magic Trick)

The paper explains that LATMiX does not actually slow down the library when it is read later. It is like a magician who rearranges the cards before the trick begins and then embeds this rearrangement directly into the deck itself. Once the trick is set up, the magician (the computer) does no extra work to shuffle; the cards are already in the perfect order. This means that speed and memory usage remain just as fast as before, but the quality of the "shrunk" books is much higher.

The Results

The authors tested this on various models (such as Llama and Qwen) and found that LATMiX consistently outperformed other methods.

  • Better Accuracy: The "shrunk" models made fewer mistakes and understood questions better than models using older shrinking techniques.
  • Robustness: It worked well across different model sizes, from small to very large models.
  • Efficiency: It achieved these improvements without adding extra time or cost for running the model.

In short, LATMiX is an intelligent, learnable tool that rearranges data just right before compressing it, ensuring that even the most extreme "outlier" information survives the shrinking process without being lost, while harmonizing seamlessly with modern hardware formats.

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 →