Skip to content
View original post on X: PaddlePaddleOfficial
Published

PP-OCRv6 recognition uses CTC and NRTR heads to curb hallucination

AIPP-OCRv6's recognition module uses a CTC plus NRTR dual-head design so text is decoded from visual features rather than language priors, reducing hallucination. In hallucination tests, PP-OCRv6_medium reaches 93.2%, versus 85.0% for the best VLM, and recognition accuracy across 15 scenarios is 83.2%, above PP-OCRv5_server's 78.1%.
PaddlePaddleOfficial
@PaddlePaddle
View on X

🧵PP-OCRv6 Tech Deep Dive Ep.3: How CTC + NRTR Dual-Head Architecture Prevents Hallucination in Text Recognition — PP-OCRv6 Recognition Module Deep Dive

When VLMs read text, they may guess, OCR can't afford that.
PP-OCRv6 Tech Deep Dive Ep.3: after detection locks the location, recognition must read it right.
In hallucination tests, best VLM reaches only 85.0%, while PP-OCRv6_medium hits 93.2%.

The recognition design is built on visual evidence, not language priors:
🔸 LightSVTR neck: 1×7 depthwise conv scans local text structures before global attention — +0.47% accuracy. Additive skip connections replace Concat, reducing parameters and stabilizing training.
🔸 CTC + NRTR dual-head training: CTC decodes purely from visual features at inference — no language prior, no hallucination. NRTR joins only during training, providing language regularization at zero inference cost — +1.16% accuracy.
🔸 Knowledge distillation boosts Tiny from 71.83% to 74.52% — recovering the capacity loss from removing the neck.

Result: 83.2% recognition accuracy across 15 scenarios, surpassing PP-OCRv5_server (78.1%), with especially strong gains on Japanese (+16.8%), ancient Chinese (+12.0%), and screen text (+14.4%).

💬 What's your deployment environment — cloud GPU, on-prem CPU, or edge device?
📅 Next in the final episode (Ep.4): 3.9x Faster on CPU, 0.13s per Image on A100 — PP-OCRv6 Deployment & Model Selection Guide
#PPOCRv6 #OCR #TextRecognition #AntiHallucination #VLM

Source details

PaddlePaddle · x.comPublished · added here

Original title: 🧵PP-OCRv6 Tech Deep Dive Ep.3: How CTC + NRTR Dual-Head Architecture Prevents Hallucination in Text Recognition — PP-OCRv6 Recognition M...