paper-with-me

홈 › Papers

DharmaOCR: Specialized Small Language Models for Structured OCR that outperform Open-Source and Commercial Baselines

2026-04-15 · Gabriel Pimenta de Freitas Cardoso, Caio Lucas da Silva Chacon, Jonas Felipe da Fonseca Oliveira, Paulo Henrique de Medeiros Araujo arxiv

This manuscript introduces DharmaOCR Full and Lite, a pair of specialized small language models (SSLMs) for structured OCR that jointly optimize transcription quality, generation stability, and inference cost. It also presents DharmaOCR-Benchmark, a benchmark that covers printed, handwritten, and legal/administrative documents, and proposes a unified evaluation protocol that measures fidelity and structure while explicitly tracking text degeneration as a first-class benchmark metric (alongside unit cost). Beyond reporting degeneration rates, the manuscript empirically shows degeneration is not merely a quality failure, since it materially worsens production performance by increasing response time, reducing throughput, and inflating computational cost due to abnormally long generations. To the best of the author's knowledge, as a methodological contribution, this is the first application of Direct Preference Optimization (DPO) for OCR, explicitly using degenerate generations as rejected examples to penalize looping behavior. Combined with Supervised Fine-Tuning (SFT) for enforcing a strict JSON schema (header, margin, footer, and text), DPO consistently reduces degeneration rate across model families (up to 87.6% relative) while preserving or improving extraction quality. The resulting models, namely, DharmaOCR Full (7B) and DharmaOCR Lite (3B), set a new state-of-the-art on DharmaOCR-Benchmark, outperforming each open-source and commercial baseline model evaluated regarding extraction quality, reaching 0.925 and 0.911 scores with 0.40% and 0.20% degeneration rates. AWQ quantization reduced up to 22% per-page cost with negligible quality loss, enabling a strong quality-cost trade-off in comparison to proprietary OCR APIs and open-source alternatives.

📄 PDF Abstract BibTeX arXiv:2604.14314

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

PlotTwist: A Creative Plot Generation Framework with Small Language Models

2026-03-17 · Abhinav Thorat, Ravi Kolla, Jyotin Goel, Niranjan Pedanekar arxiv

Creative plot generation presents a fundamental challenge for language models: transforming a concise premise into a coherent narrative that sustains global structure, character development, and emotional resonance. Alth…

DeepAffinity: Long-Term Aspect Preference Prediction in eCommerce using Small Language Models

2026-09-02 · Yotam Eshel, Guy Hadad, Guy Feigenblat, Yuri M. Brovman 외 arxiv

We explore predicting eCommerce user preferences for product aspects such as brand, size, and color - a task we define as Aspect Affinity. Solving this task improves customer understanding and enables fine-grained person…

Less is More: Unlocking Specialization of Time Series Foundation Models via Structured Pruning

2025-05-29 · Lifan Zhao, Yanyan Shen, Zhaoyang Liu, Xue Wang 외

Scaling laws motivate the development of Time Series Foundation Models (TSFMs) that pre-train vast parameters and achieve remarkable zero-shot forecasting performance. Surprisingly, even after fine-tuning, TSFMs cannot c…

Time Series

GEM: Graph-Enhanced Mixture-of-Experts with ReAct Agents for Dialogue State Tracking

2026-05-06 · Ziqi Zhu, Adithya Suresh, Tomal Deb, Iman Abbasnejad arxiv

Dialogue State Tracking (DST) requires precise extraction of structured information from multi-domain conversations, a task where Large Language Models (LLMs) struggle despite their impressive general capabilities. We pr…

Computational EfficiencyDialogue State TrackingGraph Neural Network

Retrieval-Augmented Chain-of-Thought in Semi-structured Domains

2023-10-22 · Vaibhav Mavi, Abulhair Saparov, Chen Zhao

Applying existing question answering (QA) systems to specialized domains like law and finance presents challenges that necessitate domain expertise. Although large language models (LLMs) have shown impressive language co…

In-Context LearningQuestion AnsweringRetrieval