Layout-Aware Curriculum Learning for Lightweight Document OCR
The paper proposes LACL-OCR, a lightweight document OCR framework that enhances performance by combining a heuristic-based curriculum learning strategy to organize training from easy to hard samples with a novel Layout-Aware Loss function, achieving state-of-the-art results on OmniDocBench without increasing model parameters or inference costs.
Original paper licensed under CC BY 4.0 (https://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
In the digital age, vast libraries of information exist as images of paper documents: scanned contracts, handwritten notes, dense academic papers, and complex financial reports. To make this information useful for computers, we must translate these pictures into text that machines can read and understand. This process is called optical character recognition. For decades, the standard way to do this was to break the task into many small, separate steps. First, a computer would find where the text is on the page. Then, it would identify tables or formulas. Finally, it would read the words. While this method worked, it was fragile; a mistake in the first step would ruin the rest, and running so many different programs required heavy computing power. Recently, a new approach has emerged using large vision-language models. These are powerful systems that can look at a picture and write a description of it all at once, skipping the separate steps. However, these models are often enormous, requiring massive data centers to run, and they still struggle with the messy reality of complex documents.
Researchers at the Exploration and Development Research Institute of Daqing Oilfield Company have developed a new way to teach these models that changes the game. They asked a simple question: can a very small, lightweight model learn to read documents as well as a giant one if it is taught in the right order? Their answer is yes. They created a training method that acts like a careful teacher, starting with the easiest pages and slowly introducing harder ones. They also added a specific rule to the learning process that forces the computer to pay attention to exactly where things are located on the page, not just what the words say. The result is a tiny model, with only 256 million parameters, that performs as well as models thousands of times larger.
The core of their discovery lies in how they organized the training data. Imagine a student learning to read. If you hand them a simple sentence, then a paragraph, then a page with a chart and a math problem all mixed together, they learn faster than if you threw the hardest page at them first. The researchers applied this logic to the computer. They analyzed thousands of document images and gave each one a difficulty score based on how crowded the page was, how complex the text was, and how many tables or formulas it contained. They then sorted these documents from the simplest to the most complex. Instead of showing the computer all the pages at once, they fed it the easy ones first. Once the model mastered the simple pages, they added the slightly harder ones, and kept building up the difficulty. This step-by-step approach, known as curriculum learning, allowed the small model to build a strong foundation before tackling the messy, complicated documents that usually confuse machines.
To make this even more effective, the researchers changed how the model was corrected when it made mistakes. Standard training methods focus almost entirely on whether the words written by the computer match the words in the document. They often ignore whether the computer correctly identified the location of those words. In a real document, knowing that a table is in the top right corner is just as important as knowing what is inside it. The team introduced a new rule that penalized the model if it guessed the wrong spot for a piece of text, a formula, or a table. This forced the model to learn the physical layout of the page, anchoring the words to their correct places. This spatial awareness helped the model understand the structure of the document, which in turn made it better at reading the text itself.
The results of this approach were striking. The researchers tested their new model, which they named LACL-OCR, on a benchmark containing over a thousand diverse document images, ranging from textbooks to handwritten notes. With only 256 million parameters, the model achieved a score of 85.18. To put this in perspective, this tiny model outperformed other specialized models that were much larger, including one with three billion parameters and another with seven billion. It even came very close to the performance of a general-purpose artificial intelligence model with one trillion parameters, which is thousands of times bigger. The small model did not just match the larger ones; it surpassed them in specific tasks like recognizing tables and mathematical formulas. The study suggests that the way a model is trained is just as important as how big it is. By teaching the model in a logical order and ensuring it understands the layout of the page, a lightweight system can achieve results that were previously thought to require massive computing resources.
This work challenges the idea that bigger is always better in artificial intelligence. The researchers found that the previous struggles of small models were not due to a lack of size, but rather a lack of a smart training strategy. By combining a difficulty-ordered learning path with a focus on spatial layout, they unlocked the full potential of a compact model. This means that in the future, powerful document reading tools could run on standard computers or even mobile devices, rather than requiring expensive, energy-hungry servers. The findings suggest that with the right teaching method, small models can handle the complex, messy reality of the world's documents just as well as their giant counterparts.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.