﻿# PubLayNet: understand automatically derived page labels

Understand how PDF–XML matching creates PubLayNet layout targets, and preserve journal splits, category definitions and the exact evaluation artifact.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/data-guide-publaynet-automatic-layout-labels/
Language: en

## Understand the source of the rectangles

PubLayNet trains layout detectors from scientific article pages. The [owner repository](https://raw.githubusercontent.com/ibm-aur-nlp/PubLayNet/master/README.md) explains that annotations are generated by matching PDF content with corresponding XML in the PubMed Central Open Access subset. Thus a rectangle's class reflects a correspondence between source representations, not an independent transcription of the scanned page. This is useful supervision for locating content blocks. It should not be interpreted as a guarantee that every visible element or every logical relationship has been labelled.

## Read category definitions before merging datasets

The [dataset paper](https://arxiv.org/html/1908.07836v1) defines text, title, list, table and figure. Its examples distinguish standalone headings from inline headings; nested lists and multi-panel figures also have grouping rules. These boundaries matter when joining another layout corpus. An apparent miss can result from incompatible granularity rather than poor localisation. Build an explicit category and grouping conversion before comparing models, and retain unmapped objects instead of silently relabelling every unfamiliar element as text.

## Preserve journals rather than reshuffling pages

The original study partitions pages at journal level to test unseen templates and manually curates development and test annotations. Recreating a random page split would answer a different question: the model could encounter related publication styling during training. Keep the released partition membership with each page identifier. If an experiment introduces a custom split, describe its purpose and identify it separately from the published benchmark. The [document split guide](/journal/document-level-data-split-leakage/) gives the relevant leakage controls.

## Match evaluation labels to the competition artifact

The repository separately publishes the [scientific literature parsing challenge test annotations](https://github.com/ibm-aur-nlp/PubLayNet/tree/master/ICDAR_SLR_competition/final_test_set). Its README identifies the file as ground truth used for that challenge. Do not assume that an archive named test from a mirror is interchangeable with every historical evaluation release. Record which images, annotation file and category map were used. The owner README now links a community Hub distribution; that hosting pointer should remain distinguishable from the authorship of the original annotation method.

## Keep detection quality separate from document conversion

COCO-style bounding boxes and polygonal regions support layout detection or segmentation. They do not by themselves specify reading order, heading hierarchy, table cells or associations between captions and figures. A proposed conversion assessment would inspect those downstream structures separately while retaining the detector's region results. Compare errors on matched source pages, including missing and incorrectly grouped content. Preserve the PDF, rendered image and derived annotations through [document provenance](/journal/document-markdown-json-provenance/). Publication access and a repository's annotation release also need to remain distinct when documenting source-document terms.
