Published February 20, 2026 | Version v1
Other Open

D-FINE Small region segmentation model trained on LADaS

Authors/Creators

  • 1. ALMAnaCH, Inria Paris

Description

D-FINE Small LADaS Region Segmentation

A D-FINE Small region segmentation model for document layout analysis, trained on the LADaS dataset. The model detects 37 region types following the SegmOnto vocabulary.

Architecture

D-FINE is a transformer-based object detector for document layout analysis. This Small variant uses:

  • Backbone: HGNetv2-B0
  • Encoder hidden dim: 256
  • Decoder hidden dim: 256
  • Transformer decoder layers: 3
  • Feature strides: [8, 16, 32]
  • Detection queries: 300
  • Input resolution: 1280x1280
  • Model size: ~42 MB

Training Data

The model was trained on the LADaS (Layout Analysis Dataset) by Thibault Clérice et al. LADaS is a multi-document diachronic layout analysis dataset comprising documents from the 17th century to the present, including monographs, PhD theses, auction catalogs, academic papers, and magazines. Annotations follow the SegmOnto vocabulary.

Uses

Intended for document region segmentation as part of an automatic text recognition pipeline with kraken. Detects document zones such as main text, headings, graphics, margins, tables, and other structural elements in historical and contemporary documents.

Bias, Risks, and Limitations

  • The training data is predominantly French with Latin script. Performance on other languages may vary.
  • Rare classes (FigureZone-FigDesc, MainZone-Maths, GraphicZone-TextualContent) have very low or zero detection scores.

Training Details

Training Procedure and Hyperparameters

  • Training regime: BF16 mixed precision
  • Epochs: 32
  • Learning rate: 1e-4
  • Schedule: Constant with 1000-step warmup
  • Weight decay: 1e-5
  • Batch size: 8
  • Image size: 1280x1280
  • Augmentation: Mosaic (p=0.8), horizontal flip (p=0.3), random 90 degree rotation (p=0.05), color jitter, blur, noise

Evaluation

Testing Data

LADaS test split.

Metrics

| | mAP@50 | mAP@50:95 | Precision | Recall | F1 | |---|---|---|---|---|---| | Overall | 0.3864 | 0.2782 | 0.3864 | 0.7668 | 0.5139 |

Per-Class Results

| Class | mAP@50:95 | Precision | Recall | F1 | |---|---|---|---|---| | AdvertisementZone | 0.0523 | 0.0679 | 0.5514 | 0.1209 | | DigitizationArtefactZone | 0.3694 | 0.5207 | 0.6964 | 0.5959 | | DropCapitalZone | 0.5432 | 0.8100 | 0.7055 | 0.7541 | | FigureZone | 0.0271 | 0.0307 | 0.3600 | 0.0567 | | FigureZone-FigDesc | 0.0000 | 0.0000 | 0.0000 | 0.0000 | | FigureZone-Head | 0.0052 | 0.0058 | 0.1800 | 0.0112 | | FormZone | 0.0094 | 0.0148 | 0.6654 | 0.0290 | | GraphicZone | 0.4883 | 0.5916 | 0.7750 | 0.6710 | | GraphicZone-Decoration | 0.2527 | 0.3592 | 0.6352 | 0.4589 | | GraphicZone-FigDesc | 0.1031 | 0.1580 | 0.5392 | 0.2444 | | GraphicZone-Head | 0.3476 | 0.6019 | 0.6275 | 0.6144 | | GraphicZone-Part | 0.1126 | 0.1424 | 0.4152 | 0.2121 | | GraphicZone-TextualContent | 0.0289 | 0.0476 | 0.3185 | 0.0828 | | MainZone-Continued | 0.4327 | 0.4796 | 0.6976 | 0.5684 | | MainZone-Date | 0.2639 | 0.4096 | 0.6220 | 0.4940 | | MainZone-Entry | 0.5473 | 0.6969 | 0.7535 | 0.7241 | | MainZone-Head | 0.4114 | 0.6113 | 0.6923 | 0.6493 | | MainZone-Lg | 0.5114 | 0.6570 | 0.7532 | 0.7018 | | MainZone-ListItem | 0.1449 | 0.1970 | 0.5843 | 0.2947 | | MainZone-Maths | 0.0196 | 0.0230 | 0.4993 | 0.0439 | | MainZone-Other | 0.4441 | 0.4862 | 0.6153 | 0.5432 | | MainZone-P | 0.6511 | 0.7357 | 0.8557 | 0.7912 | | MainZone-Signature | 0.6859 | 0.7513 | 0.9182 | 0.8264 | | MainZone-Sp | 0.6308 | 0.7466 | 0.8630 | 0.8006 | | MarginTextZone-ContinuedNotes | 0.0311 | 0.0418 | 0.5000 | 0.0772 | | MarginTextZone-ManuscriptAddendum | 0.2791 | 0.5656 | 0.5183 | 0.5409 | | MarginTextZone-Notes | 0.3839 | 0.5697 | 0.6682 | 0.6150 | | MusicZone | 0.4326 | 0.6603 | 0.6642 | 0.6623 | | NumberingZone | 0.3413 | 0.7173 | 0.5197 | 0.6028 | | QuireMarksZone | 0.2981 | 0.5588 | 0.6423 | 0.5976 | | RunningTitleZone | 0.4324 | 0.7050 | 0.6495 | 0.6761 | | StampZone | 0.4257 | 0.5657 | 0.7160 | 0.6321 | | StampZone-Sticker | 0.1798 | 0.2412 | 0.6303 | 0.3489 | | TableZone | 0.1894 | 0.2559 | 0.4828 | 0.3345 | | TableZone-Head | 0.0302 | 0.0499 | 0.4256 | 0.0893 | | TitlePageZone | 0.1386 | 0.1672 | 0.7645 | 0.2743 | | TitlePageZone-Index | 0.0486 | 0.0541 | 0.5455 | 0.0984 |

Citation

BibTeX:

bibtex @misc{clrice2024ladaslargemultitaskdiachronic, title={LADaS -- a Large multi-task and diachronic dataset for Layout Analysis of diverse historical documents}, author={Thibault Clérice}, year={2024}, eprint={2411.10068}, archivePrefix={arXiv}, primaryClass={cs.CV}, url={https://arxiv.org/abs/2411.10068}, }

Files

README.md

Files (41.9 MB)

Name Size
md5:095ae86b24f3ec3275626c850e52a8c6
41.9 MB Download
md5:dfcae1073373207e6c36950711a99fe1
5.4 kB Preview Download