← Latest papers
🤖 machine learning

OCRR: A Benchmark for Online Correction Recovery under Distribution Shift

This paper introduces OCRR, a novel benchmark for evaluating online correction recovery under distribution shift, and demonstrates that a proposed hash-chained append-only substrate significantly outperforms existing continual-learning and fine-tuning baselines by simultaneously achieving high accuracy on new categories while retaining performance on original data with minimal memory overhead.

Original authors: Adrian Grassi

Published 2026-05-06
📖 6 min read🧠 Deep dive

Original authors: Adrian Grassi

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

The Big Problem: The "Tuesday Retrain" Trap

Imagine you work at a customer service desk. A customer asks a question, and your computer system guesses the wrong answer.

  • The Old Way: You fix the mistake in your head, but the computer doesn't learn. You have to wait until "Tuesday's retrain" (hours or days later) to update the system. In the meantime, the computer keeps making the same mistake for everyone else.
  • The Goal: You want a system that learns immediately when you correct it, without forgetting how to do everything else it already knew.

The authors of this paper say: "We have no way to measure how fast a computer system learns from these immediate corrections." Existing tests only check how smart a computer is before it goes to work, not how well it adapts while it's working.

The Solution: OCRR (The "Live Correction" Test)

The authors created a new test called OCRR (Online Correction Recovery Rate).

The Analogy:
Imagine a librarian (the AI) who knows 67 types of books perfectly. One day, a customer brings in a brand new type of book the librarian has never seen (a "novel class").

  1. The librarian guesses wrong.
  2. The customer says, "No, that's actually a Sci-Fi book."
  3. The librarian must instantly learn this new category and remember it, while not forgetting how to sort the original 67 categories.

The OCRR test streams thousands of these "mistake-and-correction" moments at the librarian and measures two things:

  1. Novel Accuracy: Did the librarian learn the new book types?
  2. Original Accuracy: Did the librarian forget how to sort the old book types?

The Contenders: Who Played the Game?

The authors tested 9 different "librarian strategies" (algorithms) against their own new strategy, called the Substrate.

  1. The "Static" Librarians: They memorized the 67 books and refused to change. (They failed the test because they couldn't learn new things).
  2. The "Gradient" Librarians (EWC, A-GEM, LwF, River): These try to rewrite their internal rulebook slightly every time they get a correction.
    • The Problem: When they try to learn the new book, they accidentally erase the rules for the old books. This is called "Catastrophic Forgetting." It's like trying to write a new chapter in a book by erasing the old pages to make room.
  3. The "LoRA" Librarian: This is a very smart librarian with a massive brain (1.5 billion parameters) who uses a special "fine-tuning" technique.
    • The Surprise: Even with a huge brain, this librarian forgot the old rules almost completely (dropping from 67% accuracy to 10%) when trying to learn the new stuff. The authors found that "bigger brains" don't necessarily solve the forgetting problem if they try to rewrite their core logic on the fly.
  4. The "Retrieval" Librarian (kNN-LM): This librarian keeps a physical card catalog. When they see a new book, they just add a new card to the shelf. They don't rewrite their brain; they just look up the card.
  5. The "Substrate" (The Winner): This is the authors' new strategy. It's a digital ledger (like a blockchain) that acts as a permanent, unchangeable record.
    • How it works: When a mistake happens, the librarian doesn't rewrite their brain. They simply append (add) a new note to the end of a long, secure chain of notes.
    • The Voting System: When a new question comes in, the librarian looks at the 5 most similar notes in the chain and lets them "vote" on the answer. If 3 out of 5 say "Sci-Fi," the answer is "Sci-Fi."

The Results: Why the Substrate Won

The paper claims the Substrate is the only system that did both things perfectly:

  • It learned the new book types quickly (88.7% accuracy).
  • It never forgot the old book types (95.4% accuracy).

The Key Comparisons:

  • Vs. The "Gradient" Librarians: The Substrate was 32.6 percentage points better at learning new things without forgetting old ones, using the same amount of memory.
  • Vs. The "LoRA" Giant: The Substrate was 84.6 percentage points better at remembering the old stuff. The giant brain forgot almost everything; the simple ledger remembered everything.
  • The "Sparse" Test: Even if the librarian only got corrected 1 out of 10 times (a very noisy environment), the Substrate still learned, while the others gave up.

The "Magic" of the Substrate

The authors found two surprising things about their winning strategy:

  1. It's Fast: Because it just adds a note to a list rather than rewriting a complex brain, it is 100 times faster per correction than the other methods.
  2. It's Robust to "Bad Search":
    • The Analogy: Imagine the librarian has 10 million notes. Finding the exact top 5 most similar notes is hard and slow. Usually, if you use a "fast but fuzzy" search (Approximate Nearest Neighbors), you might grab the wrong 5 notes.
    • The Result: Even when the search was fuzzy and only found 23% of the perfect matches, the Substrate's voting system still got the answer right 99% of the time. The "majority vote" of the notes was strong enough to ignore the noise.

The Trade-Off: Storage vs. Speed

The paper admits a catch: The Substrate needs to keep a record of every correction.

  • Unbounded: If you keep everything, you never forget.
  • Bounded: If you have a limit (e.g., only keep the last 1,000 notes), you start to forget the very old stuff.
  • The Finding: Even with a limit of just 5,000 notes, the Substrate was still the best performer, beating all the other complex algorithms.

Summary

The paper argues that for real-world systems that need to learn from mistakes right now, the best approach isn't to try to "rewire" a giant AI brain. Instead, it's better to keep a secure, append-only log of corrections and let a simple voting system decide the answer based on that log. This method learns fast, forgets nothing, and is incredibly robust, even when the search for information isn't perfect.

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 →