Newsroom Wire

CN China10-30 13:52⏱ 8 min read

RSI Pays Off: Chinese Open-Source OXR Tops Global Rankings and Reworks OCR at Just 1.3B Parameters

Parse everything.

First place on all three leaderboards: OmniDocBench, olmOCR-Bench, and DocParsingBench.

On a single RTX PRO 6000, it parses a 100-page document end to end in just 101 seconds.

It has also gone viral in the overseas developer community, with 1.1K+ GitHub stars.

Optical 'Everything' Recognition.

Document parsing is a mountain that sounds low-tech but has never been fully conquered.

Conventional OCR often turns an unremarkable-looking PDF into a disaster scene.

Two-column papers get read straight through as one column, handwritten formulas come out as gibberish, large cross-page tables collapse entirely, and many tools simply throw chemical structure diagrams away as random squiggles.

Feed junky extractions like these into RAG and, no matter how smart the model is, every downstream tool call falls over.

An open-source document parsing model called OXR has topped all three world-class leaderboards.

With past tools I basically only expected them to turn images into text and left the rest to the AI's own inference and intuition.

Tables, formulas, code blocks, images, chemical equations, footnotes, headers, footers, stamps…

No more waiting on an LLM to slowly call tools to read a document — and two-column layouts don't hurt quality either.

Looks like GPT will do an even better job of helping schoolkids with their summer homework from now on o(╥﹏╥)o.

Even a 27B model costs a ridiculous amount to run locally — you'd need at least an M5 Pro 64G, without even factoring in output speed.

So how does a 1.3B document parsing model achieve SOTA accuracy?

Layouts come in every conceivable shape, and professional formulas, code, and charts are intricately complex. Purely manual annotation is astronomically expensive — and human labeling error rates are scary high to begin with.

The long tail of real-world bad cases can never be exhausted. Engineers painstakingly pick out bad samples, correct them by hand, retrain, and finally ship a new version — only for it to fail on the next bizarre layout.

Whether the text is right, whether table row and column spans are wrong, whether any formula symbols are missing — all of it can be measured precisely.

In post-training, the team introduced a document-parsing-oriented Recursive Self-Improvement (RSI) training paradigm.

Without relying on new human annotations, the AI system finds its own errors, analyzes the causes, prepares the next round of training data, and iterates on its own.

1. Prediction & Classification

Next, a general multimodal model (General VLM) steps in and, combining the original image, the parsing result, and the judging criteria, splits samples into three categories:

Keeping an 'Uncertain' tier is a somewhat counterintuitive piece of know-how.

If you only give the model two black-and-white options, Correct and Wrong, the judge model's hesitation gets force-packed into a definite label, ultimately feeding poison into the next training round.

If a document yields wildly different results across several runs, the model isn't confident — even if one run happens to guess right, it goes straight into the Uncertain set.

Finally, while keeping semantics completely unchanged, the system applies slight image perturbations to these high-disagreement samples (small scaling, compression, slight blur, or shifting).

If disagreement widens further after perturbation, the model is overly sensitive to harmless visual changes, and that perturbation is recorded on the spot as a core root cause, directly guiding targeted reinforcement in the next round.

2. Attribution & Training Planning

Once wrong and weak samples are filtered out, you must never just dump them into the model — you have to figure out exactly where it died.

At this stage the General VLM diagnoses each sample like a veteran physician: did column-spanning cell alignment fail, or was it a cursive handwriting recognition error?

The natural-language causes from diagnosis are fed into SigLIP2 to extract feature vectors, then clustered by a separate clustering model, forming clear reason clusters.

For example, a financial statement and a chemistry lab record look and read nothing alike, but if attribution clustering finds both died on some rare row-and-column-spanning structure, that gets distilled into a shared data construction direction.

OXR's concrete approach: reason clusters supply the structural difficulties, and a pool of real samples supplies layout and visual style references.

Each time new data is generated, a layout style is drawn from the real samples as an anchor, and the structural difficulty to be conquered is woven in naturally.

The visual weak points discovered in the perturbation tests are also systematically built into the synthesis pipeline, forcing the model to build tolerance through repeated exposure.

Finally, the generated data passes strict specification checks and flows straight back into training the next generation of OXR.

Each round patches the model's weak spots; the next round of real documents exposes new ones, driving the next iteration.

When data quality gets high enough, the model no longer needs bloated parameter counts to brute-force memorization.

On a single RTX PRO 6000, OXR parses a 100-page document end to end in just 101.0 seconds — first among open-source models.

At first everyone built pipelines: separate proprietary models for detection, recognition, and ordering, stitched together into something extremely bloated with sky-high maintenance costs.

Then VLMs took off. People realized every task is essentially an image-to-sequence mapping and began trying end-to-end large models to do it all in one go, letting the model emit text and layout for the whole page directly.

Elegant as it is, this approach is snail-slow, because autoregressively generating long sequences eats compute.

The industry merged layout analysis (LA) and reading order (RO) into one small model, with a recognition model behind it — two models, two stages.

That brought layout detection back down to the millisecond level of traditional object detection, and it became the industry-standard solution of the past two years.

Not quite. Every added layout annotation forces you to bolt on a reading-order annotation, doubling data-processing difficulty.

After working through the problem in depth, the OXR team proposed a completely different task-level restructuring:

A separate lightweight model handles layout analysis (LA), while the OXR main model handles both content recognition (Recognition) and reading order judgment (RO).

Layout Analysis -> Recognition + Reading Order

With reading order folded into the main model, OXR not only added no extra time — because the main model has built-in semantic understanding (content-aware), reading-order accuracy improved dramatically.

Meanwhile the front layout analysis model (LA), unburdened of the complex ordering task, becomes extremely pure and can adopt a lighter, more efficient detection model — overall throughput takes off.

A region mixing images and text: the content team wants it extracted as one whole image, while the knowledge-base team wants the text lifted out as body copy.

A densely laid-out four-panel comic: business A wants it cropped whole, business B wants it split into four panels.

And if your business has highly special layout-segmentation needs — ancient texts or medical forms, say — you can seamlessly swap in your own privately trained layout analysis model.

Of course, for a model born for the developer community, all the hype means nothing if it can't be deployed.

The team says it will keep maintaining the free open-source service, at least as long as server load stays manageable.

Honestly, on PDF parsing it is far, far better than previous solutions.

By the way, local deployment works too — OXR fully supports mainstream inference frameworks.

No need to laboriously recompile vLLM yourself; mounting the plugin through the official Docker image or CLI brings the service up in one go.

OXR's code, weights, and the full benchmark reproduction pipeline are now all public.

Of course, if you need more — handling Word, PPT, Excel, and other formats, or more polished post-processing customization — check out the officially maintained commercial-grade engine.

Today, as agents take over workflows across every industry, the most core, most professional private knowledge humanity accumulated over decades still lies quietly inside messy, intricately formatted PDFs, scans, and reports.

No matter how smart an LLM is, feed it a pile of jumbled, table-shattered character garbage and all it can spit out is hallucination.

Many people used to treat OCR as low-tech grunt work, but today, from OCR to OXR, its mission has completely changed.

It is the bridge between humans and machines, restructuring all the complex multimodal documents of the human world, loss-free, into structured assets that are extremely agent-friendly.

Honestly, seeing a domestic team doing work this close to real engineering deployment is pretty exciting.

Too many eyes are on fancy narratives and chasing cutting-edge tech every day, making us forget something important —

With LLMs at this stage, the answer to that question is definitely not even higher model intelligence.

The bigger bottleneck lies in fields no one has pioneered yet, where you have to get your hands dirty.

Agent infrastructure will fall into place, piece by piece, at a pace visible to the naked eye.

GitHub: https://github.com/SoMarkAI/OXR

Hugging Face: https://huggingface.co/SoMarkAI/OXR-1.0

Online demo: https://free-oxr.somark.cn/

Free API: https://free-oxr.somark.cn/api/v1

SoMark website: https://www.somark.cn

Snapshot for aggregated reading; content from the public web, © the original publishers.

AI NewsCove

Opening article…