Nisarga IT Solutions
Home About Us Industries Insights Contact Us
Talk to Our Experts Direct: +91 9100921091
Home / Solutions / Precision Extraction (99.9% AI IDP)
Zero-Template Multi-Modal Vision-Language Architecture

Engineering 99.9% Deterministic Data Extraction.

Legacy Optical Character Recognition (OCR) reads isolated pixels and collapses when layouts shift. Nisarga’s Precision Extraction Platform replaces brittle bounding-box templates with 2D Spatial-Aware Transformers, Vision-Language Models (VLMs), and Multi-Agent Mathematical Reconciliation—delivering verified, schema-compliant enterprise payloads at 99.9% field-level fidelity.

99.92%
Field-Level F1 Score
Post-Consensus Ensemble
0 Templates
Zero-Shot Generalization
Unseen vendor layouts
< 380ms
P95 Page Latency
FP8 TensorRT-LLM / vLLM
100%
Schema Grammar Lock
FSM Constrained JSON
VLM + LayoutLMv3 Inference Engine
CONFIDENCE: 0.9994
SPATIAL CROSS-ATTENTION TOPOLOGY (2D BBOX + VISUAL PATCHES) 300 DPI NORMALIZED
GSTIN: 36AABCN1234F1Z5 HSN 8471 QTY: 14 4,20,000 IGST 18% 75,600 NET PAYABLE: ₹4,95,600.00 VLM tax_id (Checksum PASS) "36AABCN1234F1Z5" [0.999] line_items[] (Row-Col Graph) subtotal: 420000 | tax: 75600 Σ(items) == net_total VERIFIED DYNAMIC ENSEMBLE VOTE: 3/3 STP COMMIT -> SAP/ERP
PYDANTIC / JSON-SCHEMA FSM DECODER LOGPROB CALIBRATED
"document_class": "tax_invoice_b2b",
"math_invariant_check": "PASSED (Δ = 0.00)",
"posterior_confidence": 0.9994, // Auto-STP
The Mathematics of 99.9% Accuracy

How We Eliminate the Final 8% Error Tail

Single-pass OCR plateaus at 85%–92% on real-world noisy scans. Achieving 99.9% field accuracy (error rate ≤ 10−3) requires a compound, five-stage error-suppression pipeline where independent model modalities cross-verify every token.

Cumulative Field-Level Accuracy Progression Across Pipeline Stages Residual Error Reduction: 14.0% → 0.08%
Baseline Legacy Zonal OCR (Tesseract / Rule-Based RegEx on skewed 200-DPI scans) 86.40%
Stage 1 + 2: Diffusion Denoising + LayoutLMv3 / DiT 2D Spatial Tokenization 96.80%
Stage 3: Multi-Modal VLM Cross-Attention + FSM Grammar-Constrained Decoding 99.25%
Stage 4 + 5: Heterogeneous Ensemble Voting + Deterministic Algebraic & Checksum Agents + Calibrated HITL 99.92%
STAGE 01

Neural Pre-Processing & Homography Rectification

Before a single character is tokenized, a lightweight U-Net and Spatial Transformer Network (STN) corrects perspective warp, removes coffee stains and wet-ink stamps, strips moiré halftone patterns, and super-resolves low-DPI mobile captures to a normalized 300-DPI bitonal/grayscale tensor.

Radon Deskew • Adaptive Sauvola Binarization • Stamp Inpainting
STAGE 02

2D Relative Positional & Visual Patch Embeddings

Instead of flattening pages into 1D strings (which destroys table associations), we encode every token with normalized 2D bounding-box coordinates (x₀, y₀, x₁, y₁, w, h) alongside Vision Transformer (ViT) patch embeddings. Graph Neural Networks (GNNs) reconstruct borderless, multi-page, and nested table cell hierarchies.

LayoutLMv3 • Table-Transformer (DETR) • Reading-Order Graph
STAGE 03

Grammar-Constrained FSM Decoding

Free-form LLM generation can hallucinate keys or emit malformed JSON. We compile target Pydantic and JSON Schemas into a Context-Free Grammar (CFG) Finite-State Machine that masks invalid token logits at every autoregressive decoding step—guaranteeing 100% syntactic and type validity.

Outlines / XGrammar Logit Masking • Zero Hallucinated Keys
STAGE 04

Heterogeneous Multi-Model Consensus & Agentic Critic

Critical financial, clinical, or legal fields are extracted concurrently by two architecturally distinct pathways: an OCR-free Vision-Language Model (e.g., Qwen2.5-VL / Pixtral) and a spatial token-classification encoder. A deterministic Verifier Agent enforces mathematical invariants:

Σ (Qtyi × UnitPricei) − Discounti + Taxi ≡ GrandTotal
Cross-Model Agreement • Luhn / GSTIN / IBAN Modulo-Checksums
STAGE 05

Temperature-Scaled Logprob Calibration & Active Learning

Raw neural softmax probabilities are notoriously overconfident. We apply temperature scaling and token-level log-probability entropy analysis so that a calibrated confidence score p̂ ≥ 0.999 genuinely corresponds to ≥99.9% empirical precision. Ambiguous crops (<3% of volume) route to rapid Human-in-the-Loop (HITL) review and trigger LoRA adapter fine-tuning.

Expected Calibration Error (ECE < 0.004) • Continuous LoRA Flywheel
DETERMINISTIC SLA GUARANTEE

Why Ensemble Verification Beats Any Single Foundation Model

When two uncorrelated extraction models with individual error rates e₁ = 0.02 and e₂ = 0.03 independently agree on a token and pass an algebraic checksum constraint, the joint probability of an undetected silent error drops below e₁ × e₂ = 0.0006 (99.94% reliability).

SILENT ERROR RATE: < 0.06% AUDIT-READY PROVENANCE
Reference Enterprise Blueprint

Logical Architecture: Multi-Agent IDP & VLM Pipeline

Designed for air-gapped on-premises GPU clusters or sovereign VPCs, combining high-throughput vLLM/TensorRT-LLM serving, vector-grounded entity resolution, and event-driven Kafka orchestration.

ARCHITECTURE TOPOLOGY v4.2
Nisarga Autonomous Document Intelligence Fabric
NVIDIA Triton / vLLM PagedAttention LangGraph Stateful Agents OpenTelemetry + Arize Phoenix
LAYER 01

Omnichannel Ingestion & Event Bus

  • S3 / MinIO Object Store
  • Apache Kafka / Redpanda
  • SMTP / SFTP / EDI X12 / REST
  • SHA-256 Deduplication
MIME: PDF/A, TIFF, DOCX, DICOM
LAYER 02

Vision Pre-Conditioning & Layout Graph

  • STN Homography Deskew
  • Diffusion Artifact Stripping
  • YOLOv10 / DocLayout-YOLO
  • Document Split & Classification
BBox + Reading-Order DAG
LAYER 03 • CORE

Multi-Modal Neural Extraction Ensemble

  • Path A (VLM): Qwen2.5-VL / Llama-3.2-Vision / Pixtral
  • Path B (2D Token): LayoutLMv3 + Table-Transformer
  • Path C (ICR): TrOCR / Donut for Cursive Script
vLLM FP8 KV-Cache + LoRA Multiplex
LAYER 04

Constrained Decoding & RAG Grounding

  • Outlines / XGrammar FSM
  • Qdrant Hybrid Vector DB
  • Master Vendor/SKU Lookup
  • BGE-M3 Semantic Reranker
3-Way PO / GRN / Invoice Match
LAYER 05

Multi-Agent Critic & Calibrated HITL

  • Algebraic Cross-Footing Agent
  • Token Logprob Calibration
  • Confidence Router (τ = 0.999)
  • Bounding-Box HITL Workbench
RLHF / DPO Fine-Tuning Queue
LAYER 06

Enterprise Egress & Audit Ledger

  • SAP S/4HANA BAPI / IDoc
  • Oracle Fusion / Salesforce
  • FHIR HL7 / Guidewire API
  • Immutable Lineage Hash
PII Masking • SOC2 / DPDP Logs
CONTROL PLANE Sovereign Security & MLOps Governance: Zero external API calls • HashiCorp Vault KMS encryption • Drift detection via Wasserstein embedding distance • Automated canary shadow deployments on Kubernetes (EKS / OpenShift).
ISO/IEC 42001 & 27001 ALIGNED
Architectural Paradigm Shift

Traditional OCR & Rule Engines vs. Nisarga Precision AI

Why legacy character-recognition pipelines fail on complex enterprise documents—and how multi-modal spatial transformers solve the root cause.

Architectural Dimension Legacy Zonal OCR (Tesseract / ABBYY / RegEx) 1st-Gen Cloud OCR APIs Nisarga Precision Extraction (VLM + Agentic IDP)
Core Mathematical Representation 1D character stream via connected-component pixel glyphs; zero semantic or layout awareness. CNN text-line detector + CRNN sequence recognizer with heuristic key-value pairing. Joint 2D Spatial Coordinate Embeddings + Vision-Language Cross-Attention + Graph Neural Networks.
Template & Layout Generalization Breaks immediately if a vendor shifts a column by 5mm; requires manual X/Y rule authoring per vendor. Pre-trained only on fixed standard forms; struggles on bespoke B2B contracts or multi-vendor tables. 100% Zero-Shot generalization across unseen layouts, arbitrary column orders, and multi-page tables.
Complex Tables (Borderless, Merged Cells, Rotated Headers) 60%–72% accuracy; merges adjacent columns and loses row alignment on multi-line descriptions. 82%–88% accuracy; fails when tables span page breaks or contain nested sub-headers. 99.8%+ cell-level structural fidelity via DETR Table-Transformer + cross-page state stitching.
Handwriting (ICR), Cursive Notes & Overlapped Rubber Stamps Near-total failure; stamp ink occludes underlying characters into garbage ASCII symbols. Reads neat block print only; stamps cause high false-positive token insertion. Diffusion stamp-separation layer + Vision-Encoder-Decoder contextual completion reads through occlusions.
Output Schema & Hallucination Control Brittle regex post-processing; silent character swaps (`0` vs `O`, `1` vs `I`, `5` vs `S`). Untyped JSON blobs requiring heavy custom normalization middleware. FSM Grammar-Constrained Logit Masking enforces strict Pydantic types, enums, and ISO formats at decode time.
Mathematical & Cross-Document Validation None. Emits financially impossible totals straight into downstream ERP tables. None built-in; requires external custom scripts. Autonomous Critic Agent verifies row-wise/column-wise arithmetic, tax slabs, and 3-way PO/GRN matching.
Empirical Field-Level Accuracy 82.0% – 89.5% 91.0% – 95.5% 99.9%+ Verified
Production Deployments

Engineered for Mission-Critical Document Streams

Pre-configured domain ontologies, mathematical validators, and ERP connectors across regulated verticals.

Autonomous AP, GST Invoices & Bills of Lading

Extracts multi-page line items, HSN/SAC codes, CGST/SGST/IGST splits, and container seal numbers with automated 3-way Purchase Order and Goods Receipt reconciliation.

94% Straight-Through Processing

BFSI KYC, Trade Finance & Underwriting

Parses complex multi-bank statements, Letters of Credit (MT700), balance sheets, and tampered identity proofs with cryptographic checksum and signature forensics.

Zero Sovereign Data Egress

Clinical Discharge Summaries & eCTD Dossiers

Maps handwritten physician notes, pathology lab tables, and diagnostic reports directly into normalized HL7 FHIR R4 resources and ICD-10 / SNOMED-CT clinical codes.

HIPAA & FDA 21 CFR Part 11 Ready

Multi-Lingual Land Records & Legal Contracts

Indic and global script extraction across aged, degraded municipal deeds, indemnity clauses, and schedules with exact page/paragraph bounding-box citation coordinates.

22+ Indic & Global Scripts
Core Brand Philosophy: Make IT Simple

Benchmark 99.9% AI Extraction on Your Most Complex Documents

Send us 20 of your hardest skewed, handwritten, or multi-page tabular documents. Our AI engineering team will return a live accuracy & latency benchmark within 48 hours.

Talk to Our Experts Explore Solutions
No obligations • Tailored assessment