NVIDIA Enhances Nemotron 3.5 Parse with New Datasets and Faster Inference Techniques
NVIDIA has released enhancements to Nemotron 3.5 Parse, a compact document model designed to convert page images into structured data for retrieval-augmented generation (RAG) and agents. The latest updates include synthetic training datasets, a fine-tuning recipe, and a DFlash2 speculator to accelerate inference.
The Parse model extracts content from document pages in reading order, categorizing elements such as headings, paragraphs, tables, and charts while providing bounding boxes that identify content locations. This version significantly improves the model’s ability to interpret charts and tables, particularly in complex scenarios where numeric values may not be clearly marked.
For instance, the model can deduce values from bar charts by analyzing axis information and bar heights. It also addresses the challenges posed by tables, where structural integrity is crucial for accurate interpretation. These advancements are largely attributed to synthetic data generation, which involves creating variations of charts and tables with known ground truth for training purposes.
NVIDIA is open-sourcing three datasets utilized in the training of Parse 3.5:
- [Synthetic Charts V1 — 9.98M examples](https://huggingface.co/datasets/nvidia/Synthetic-Charts-V1): Rendered charts with structured annotations for learning categories, series, and numerical values.
- [Synthetic Tables V1 — 1M examples](https://huggingface.co/datasets/nvidia/Synthetic-Tables-V1): Rendered HTML tables maintaining rows, columns, headers, and cell relationships.
- [OCR Synthetic Multilingual v2 — 7.9M examples](https://huggingface.co/datasets/nvidia/OCR-Synthetic-Multilingual-v2): Synthetic document pages with Parse-format targets across various fonts and layouts for multilingual OCR and structured reading.
Each dataset release includes images, annotations, generation documentation, and training formats, enabling users to fine-tune document models or create new variations for specific document types or languages.
Parse 3.5 underwent training in two phases: supervised fine-tuning (SFT) and reinforcement learning with verifiable rewards (RLVR). The SFT phase focused on text, layout, tables, charts, and multilingual documents, establishing the model’s capability to read and represent page contents. Following this, RLVR was employed using Group Relative Policy Optimization (GRPO) to enhance the quality of extractions.
For example, a chart extraction could receive higher rewards for accurately recovering series and values, thereby producing a usable structure. This approach allows the model to find correct answers flexibly without being restricted to a single token sequence, while also minimizing looping and incomplete outputs.
The training comparison revealed significant improvements: loop-flagged outputs decreased from 126 to 29 pages, representing a reduction of approximately 77%, and outputs reaching the 9,000-token limit fell from 185 to 35. Overall, the model’s score improved from 66.24 to 71.38, with notable gains in table and chart performance.
To enhance inference speed, NVIDIA optimized how Parse 3.5 processes images and decodes outputs. The new architecture includes dynamic rectangular inputs for page preprocessing and a compressed visual token system that improves the image-to-text connection. The model also features a multi-token prediction (MTP) head that allows for one-token lookahead, while the DFlash2 speculator proposes up to 32 tokens ahead for verification.
In benchmarks, DFlash2 increased throughput by 7.62× at concurrency 1 and 1.52× at concurrency 512 compared to Parse 3.5 without speculative decoding. At concurrency 512, Parse 3.5 achieved 20.44 pages/s with DFlash2, significantly outperforming Parse 2.0.
NVIDIA’s approach allows for focused reprocessing in challenging document areas. The model can perform single, double, or triple passes to enhance extraction accuracy, particularly in dense tables and intricate chart details.
Developers can utilize a [Parse fine-tuning recipe](https://github.com/NVIDIA-NeMo/Nemotron/blob/main/docs/nemotron/parse/index.md) to generate paired data, implement NeMo Automodel SFT, and apply NeMo RL GRPO techniques. An example using a synthetic dental form demonstrates how SFT and RLVR can significantly improve extraction accuracy.
The community has already begun extending Parse for languages such as Thai, Persian/Farsi, and Arabic. NVIDIA hopes that the new datasets and fine-tuning recipes will foster further advancements in these areas.
NVIDIA acknowledges contributions from Denis Ovchinnikov for vLLM integration, Oliver Holworthy for improving the fine-tuning recipe, and Bo Liu for technical review.
Source: Hugging Face Blog