RadGraph-IT
RadGraph graph inference for Italian radiology reports, with output in the canonical RadGraph-XL format.
This repository hosts the v1 Italian DyGIE model used by the
RadGraph-IT package. It jointly extracts named
entities and relations from Italian radiology reports using a shared encoder, span extractor,
NER head, and relation head. The encoder is
IVN-RIN/medBIT-r3-plus.
Authors
Daniel Rabottini, Edoardo Avenia, and Rocco Angelella.
Training data
The training corpus contains 2,850 manually revised Italian projections of RadGraph-XL and
RadGraph 1.0 reports. Its provenance, annotation schema, data format, and 50-report excerpt are
documented in the
radgraphIT/RadGraph-IT dataset card.
Usage
1from transformers import AutoModel
2
3model = AutoModel.from_pretrained("radgraphIT/Radgraph-IT", trust_remote_code=True)
4model.eval()
5
6out = model.predict(
7 "Non versamento pleurico. Addensamento parenchimale al lobo inferiore del polmone destro."
8)
9print(out["words"])
10print(out["entities"]) # [start, end, label, raw_score, softmax_score] (inclusive word-index spans)
11print(out["relations"]) # [start1, end1, start2, end2, label, raw_score, softmax_score]
model.predict(text) applies the word-level preprocessing used during training (regex cleanup
and nltk.wordpunct_tokenize). If you already have a list of words tokenized with that exact
scheme, use model.predict_words(words) instead.
The bundled tokenizer (AutoTokenizer.from_pretrained("radgraphIT/Radgraph-IT")) is the
encoder's subword tokenizer; it is not the word-level splitter used by predict().
The model requires
transformers,
torch,
numpy, and
nltk (for
predict()). The
radgraphit package provides the supported Python
and CLI interface, including RadGraph-XL-compatible serialization.
Architecture
Word-level embeddings are produced by mean-pooling medBIT-r3-plus subwords back to one vector
per word. Documents longer than 512 tokens are split into word-aligned chunks. Span
representations concatenate start/end word embeddings with a span-width embedding. The NER head
scores candidate spans of width up to 12; the relation head prunes to the top
spans-per-word and scores each retained pair.
Entity labels are Anatomy and Observation, each with definitely present,
definitely absent, or uncertain status. Relation labels are modify, located_at, and
suggestive_of.
Training and evaluation
Generalization was estimated through report-level five-fold cross-validation over all 2,850
reports. In each outer fold, 570 reports were reserved for testing, while the remaining 2,280
were divided into 2,052 training and 228 development reports. Iterative multilabel
stratification balanced the data source and the document-level presence of the six entity
classes and three relation types. The development partition was used exclusively for early
stopping and checkpoint selection through JointF1, defined as the unweighted mean of entity
and relation micro-F1. Each report therefore received exactly one out-of-fold prediction.
| Task | Precision | Recall | Micro-F1 | Macro-F1 |
|---|
| Entities | 0.829 ± 0.008 | 0.859 ± 0.008 | 0.844 ± 0.007 | 0.575 ± 0.021 |
| Relations | 0.676 ± 0.008 | 0.659 ± 0.015 | 0.667 ± 0.007 | 0.612 ± 0.012 |
Results are reported as fold-level means ± sample standard deviations. The released checkpoint
was then trained on all 2,850 reports for 13 epochs, the median validation-optimal duration
across folds.
training_metrics.json contains training
diagnostics only.
Limitations and responsible use
RadGraph-IT is a research software model for automatic information extraction. It is not a
medical device; its output is not a diagnosis, report, or clinical opinion. Validate outputs for
the intended setting and keep human clinical judgement in the loop.
Citation
Please cite both RadGraph-IT and RadGraph-XL when using this model:
1@software{radgraphit,
2 author = "Daniel Rabottini and Edoardo Avenia and Rocco Angelella",
3 title = "{RadGraph-IT}: {RadGraph} graph inference for {Italian} radiology reports",
4 year = "2026",
5 version = "1.0.0",
6 url = "https://github.com/therabo/RadGraph-IT",
7}
8
9@inproceedings{delbrouck-etal-2024-radgraph,
10 title = "{R}ad{G}raph-{XL}: A Large-Scale Expert-Annotated Dataset for Entity and Relation Extraction from Radiology Reports",
11 author = "Delbrouck, Jean-Benoit and Chambon, Pierre and Chen, Zhihong and Varma, Maya and Johnston, Andrew and Blankemeier, Louis and Van Veen, Dave and Bui, Tan and Truong, Steven and Langlotz, Curtis",
12 booktitle = "Findings of the Association for Computational Linguistics ACL 2024",
13 year = "2024",
14 url = "https://aclanthology.org/2024.findings-acl.765",
15 pages = "12902--12915",
16}
For complete methodological details, per-class results, and comparisons with RadGraph 1.0 and
RadGraph-XL, please refer to the
full RadGraph-IT paper.