← Latest papers
🤖 machine learning

OASIS: Outlier-Aware LUT-Based GEMM with Dual-Side Quantization for LLM Inference Acceleration

OASIS is a lookup table-based architecture that accelerates LLM inference by enabling efficient general matrix multiplication with non-uniformly quantized weights and activations through dual-side quantization, outlier-aware error compensation, and a novel top-k detection engine, achieving significant improvements in speed, energy efficiency, and accuracy compared to existing methods.

Original authors: Xueying Wu, Baijun Zhou, Zhihui Gao, Yuzhe Fu, Qilin Zheng, Yintao He, Hai Li

Published 2026-06-03
📖 5 min read🧠 Deep dive

Original authors: Xueying Wu, Baijun Zhou, Zhihui Gao, Yuzhe Fu, Qilin Zheng, Yintao He, Hai Li

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 have a massive library of books (a Large Language Model) that can write stories, answer questions, and solve problems. But this library is so huge that it takes up a giant warehouse (memory) and requires a team of thousands of librarians (computers) just to find a single page. This makes it slow and expensive to use.

To fix this, scientists usually try to shrink the books by summarizing them into smaller, simpler versions (quantization). However, there's a catch:

  • Method A (Weight-Only): You shrink the books but keep the reference cards in a complex format. To use them, you have to translate the cards back to the original format every time you look them up. This translation takes forever.
  • Method B (Standard Low-Precision): You shrink everything into tiny, simple notes. It's fast, but you lose so much detail that the stories start making mistakes.
  • Method C (Non-Uniform): You create a special, custom dictionary where the most common words get short codes and rare words get longer codes. This keeps the stories accurate, but your current librarians don't know how to read this special dictionary without translating it first, which kills the speed.

Enter OASIS: A new system designed to read these special, custom dictionaries instantly without needing to translate them first.

Here is how OASIS works, broken down into simple concepts:

1. The Magic Cheat Sheet (The LUT)

Imagine you are playing a game where you have to multiply two numbers. Instead of doing the math every time, you have a giant cheat sheet (a Lookup Table, or LUT) that already has the answer written down.

  • The Problem: Previous cheat sheets were too big to fit in your pocket, or they changed every time you played, so you had to rewrite them on the fly.
  • The OASIS Solution: OASIS uses a "Cartesian Product" cheat sheet. Think of it like a grid where one side lists all possible "weight" codes and the other lists all possible "activation" codes. Because the codes are pre-defined and learned beforehand, OASIS can print this cheat sheet once before the game starts.
  • The Result: This cheat sheet is 64 times smaller than previous versions, and because it's so compact, OASIS can look up answers 1,024 times faster in parallel. It's like having a super-fast librarian who can grab the answer from a tiny, pre-organized card instead of walking to a massive, shifting archive.

2. The "Outlier" Problem (The Loud Noises)

In these models, most numbers are quiet and predictable (inliers), but a few are extremely loud and strange (outliers). If you try to summarize the whole book, these loud numbers get distorted, ruining the story.

  • The Old Way: To find these loud numbers, the librarian stops, scans the whole page, finds the loud ones, and then starts reading. This "stopping and scanning" slows everything down.
  • The OASIS Solution (Look-Ahead): OASIS uses a clever trick called "Look-Ahead."
    • Branch 1 (The Main Reader): Reads the whole page quickly, ignoring the loud noises for a moment. It gives a "rough draft" answer.
    • Branch 2 (The Noise Cleaner): Runs in parallel, specifically hunting for those loud numbers. It calculates exactly how much the "rough draft" was wrong because of the noise and creates a "correction note."
    • The Merge: At the very end, the rough draft and the correction note are added together.
    • The Result: The system never has to stop and wait to find the loud numbers. It does both jobs at the same time, so the speed doesn't drop.

3. The "Orizuru" Engine (The Paper Crane Hunter)

To make the "Noise Cleaner" branch fast, the researchers built a special tool called Orizuru (named after a paper crane).

  • Imagine you have a stack of 1,000 papers and you need to find the 5 heaviest and 5 lightest ones instantly. A normal person would pick them up one by one.
  • Orizuru is like a smart sorting machine that uses a "tournament" structure. It pairs up papers, eliminates the lighter ones in a "max" tournament and the heavier ones in a "min" tournament, all while reusing the results. It finds the outliers with minimal effort, ensuring the "Noise Cleaner" branch doesn't get stuck.

The Final Scorecard

The paper tested OASIS against the best existing methods:

  • Accuracy: It lost only about 1.94% of the original quality (compared to the full, uncompressed model). This is much better than other fast methods, which often lose 6% or more.
  • Speed: It is 3 times faster than the current best specialized hardware (FIGLUT).
  • Energy: It uses 1.44 times less energy to do the same job.

In summary: OASIS is a new way to run smart AI models that shrinks the data without losing the story, uses a pre-made cheat sheet to do math instantly, and runs a parallel "correction team" to fix mistakes on the fly—all without slowing down the process.

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 →