← Latest papers
💻 computer science

UniRec-0.1B: Unified Text and Formula Recognition with 0.1B Parameters

The paper introduces UniRec-0.1B, a highly efficient 0.1B-parameter unified model for text and formula recognition that leverages a new 40M-sample dataset, hierarchical supervision, and a semantic-decoupled tokenizer to outperform larger vision-language models while achieving significant speedups across multiple recognition levels.

Original authors: Yongkun Du, Zhineng Chen, Yazhen Xie, Weikang Bai, Hao Feng, Wei Shi, Yuchen Su, Can Huang, Yu-Gang Jiang

Published 2026-07-14
📖 5 min read🧠 Deep dive

Original authors: Yongkun Du, Zhineng Chen, Yazhen Xie, Weikang Bai, Hao Feng, Wei Shi, Yuchen Su, Can Huang, Yu-Gang Jiang

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're trying to read a messy, complex document—maybe a textbook with math problems, a handwritten note, or a scientific paper. For years, computers have tried to "read" these by using giant, brainy models that act like super-intelligent librarians. These models are huge, often weighing in with billions of parameters (think of them as the number of tiny gears inside a clock). The problem? They are so heavy and slow that they struggle to run on everyday devices, and they often get confused when text and math formulas get mixed together.

Enter UniRec-0.1B, a new, tiny robot reader built by researchers at Fudan University and ByteDance. It's a "unified" model, meaning it can read both plain text and mathematical formulas at the same time, but it's incredibly light—only 0.1 billion parameters. To put that in perspective, it's like swapping a massive cargo ship for a nimble speedboat.

The Big Discovery: Bigger Isn't Always Better

The researchers noticed something fascinating while testing how model size affects performance. They found that for reading text and formulas, making the model bigger and bigger hits a "ceiling" very quickly. Once the model reaches about 0.1 billion parameters, adding more size doesn't really help much; it just makes the computer work harder and slower.

Think of it like trying to solve a simple math problem. You don't need a supercomputer with a million processors; a standard calculator does the job just fine. In fact, the paper shows that for the specific tasks of reading text and formulas, the performance peaks right around 0.1B. Beyond that, you're just paying for extra weight without getting better answers. Meanwhile, other tasks like reading complex tables do benefit from bigger models, but text and formulas are different.

The Secret Sauce: Two New Tricks

Building a tiny model that works as well as the giants is hard. The researchers had to solve two tricky puzzles:

  1. The "Where am I?" Problem (Structural Variability): Documents have layers. There are single words, lines of text, and whole paragraphs. A tiny model often gets lost, not knowing if it's looking at a single letter or a whole sentence. To fix this, the team taught UniRec-0.1B using Hierarchical Supervision Training. Imagine giving the robot a map with special flags: a flag for "end of a line" and a flag for "end of a paragraph." These flags help the robot understand the structure of the page, so it doesn't just see a jumble of words but understands how they fit together.

  2. The "Double Agent" Problem (Semantic Entanglement): In the world of computers, the word "sum" can mean adding numbers in a math formula, or it could just be the word "sum" in a sentence like "the sum of all things." Big models are smart enough to figure out the difference because they have so much memory. But a tiny model? It gets confused. It thinks "sum" is always the same thing. The researchers solved this with a Semantic-Decoupled Tokenizer. They gave the robot two separate dictionaries: one for plain text and one for math formulas. Now, when the robot sees "sum" in a math equation, it uses its "math dictionary," and when it sees it in a story, it uses its "text dictionary." This stops the meanings from getting tangled up.

The Data: A Massive Library

To teach this tiny robot, the researchers couldn't just use a few old textbooks. They built UniRec40M, a massive dataset containing 40 million samples. This library includes:

  • 30 million samples in English.
  • 10 million samples in Chinese.
  • A mix of plain text, pure math formulas, and text with formulas mixed together.
  • Content from everywhere: Wikipedia, scientific papers (arXiv), handwritten notes, and even blurry photos of documents.

This huge library ensures the robot has seen almost every type of document it might encounter in the real world.

The Results: Fast and Accurate

When they put UniRec-0.1B to the test, the results were surprising. On a new benchmark they built called UniRec-Bench (which tests reading at different levels like characters, words, lines, and paragraphs), the tiny model performed just as well as, or even better than, the massive models that are 10 to 30 times larger.

  • Accuracy: It beat or matched leading models like Dolphin-1.5 (which is 0.3B) and PaddleOCR-VL (0.9B) in reading text and formulas.
  • Speed: This is where it really shines. Because it's so small, it is 2 to 9 times faster than the bigger models. In one test, it parsed a whole page in just 6.2 seconds, compared to 42.72 seconds for a larger model. That's a nearly 7x speedup.

The paper explicitly rules out the idea that we need to keep making models bigger and bigger to get better results for text and formulas. Instead, they argue that a "divide and conquer" strategy is better: use a tiny, specialized, super-fast model like UniRec-0.1B for text and formulas, and maybe a bigger model only for the really hard stuff like complex tables.

The Bottom Line

UniRec-0.1B proves that you don't need a giant brain to read a document effectively. By using a smart training method and a clever way of organizing words, a tiny model can read text and math faster and just as accurately as the giants. It's a reminder that sometimes, the smallest tools are the most powerful.

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 →