CoChat

Deep neural network based histological scoring of lung fibrosis and inflammation in the mouse model system

Open access

The DOI matches its Crossref record; 31 of the 31 references it cites were found in a registry or an index.

Abstract

Preclinical studies of novel compounds rely on quantitative readouts from animal models. Frequently employed readouts from histopathological tissue scoring are time consuming, require highly specialized staff and are subject to inherent variability. Recent advances in deep convolutional neural networks (CNN) now allow automating such scoring tasks. Here, we demonstrate this for the case of the Ashcroft fibrosis score and a newly developed inflammation score to characterize fibrotic and inflammatory lung diseases. Sections of lung tissue from mice exhibiting a wide range of fibrotic and inflammatory states were stained with Masson trichrome. Whole slide scans using a 20x objective were acquired and cut into smaller tiles of 512x512 pixels. The tiles were subsequently classified by specialized CNNs, either an "Ashcroft fibrosis CNN" or an "inflammation CNN". For the Ashcroft fibrosis score the CNN was fine-tuned by using 14000 labelled tiles. For the inflammation score the CNN was trained with 3500 labelled tiles. After training, the Ashcroft fibrosis CNN achieved an accuracy of 79.5% and the inflammation CNN an accuracy of 80.0%. An error analysis revealed that misclassifications are almost exclusively with neighboring scores, which reflects the inherent ambiguity of parts of the data. The variability between two experts was found to be larger than the variability between the CNN classifications and the ground truth. The CNN generated Ashcroft score was in very good agreement with the score of a pathologist (r2 = 0.92). Our results demonstrate that costly and time consuming scoring tasks can be automated and standardized with deep learning. New scores such as the inflammation score can be easily developed with the approach presented here.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1371/journal.pone.0202708

Cites

31 of 31 references verified0 citation errors · 0 not checkable

Statistics

Figures

Fig 1 Workflow to obtain histological scores from microscopy images of murine lungs by using convolutional neural networks (CNN). We built two types of models: a CNN to classify the Ashcroft score (used as an example in the figure) and a CNN to classify an inflammation score. A whole slide scan of a mouse lung (left) is divided into smaller image tiles. The tiles are fed into a CNN model and a probability distribution over the image classes is obtained as an output. We used the Inception-V3 CNN architecture, pre-trained on the Image-Net dataset (1.28 106 images) and re-trained on labelled tiles of lung tissue (between 3.5 103 and 1.4 104 images, see Methods). From the probability outputs of the two neural networks, the Ashcroft fibrosis and inflammation scores are computed as the score-weighted sum of the class probabilities after a renormalization to 1 without pignore (see Methods).
Fig 1 Workflow to obtain histological scores from microscopy images of murine lungs by using convolutional neural networks (CNN). We built two types of models: a CNN to classify the Ashcroft score (used as an example in the figure) and a CNN to classify an inflammation score. A whole slide scan of a mouse lung (left) is divided into smaller image tiles. The tiles are fed into a CNN model and a probability distribution over the image classes is obtained as an output. We used the Inception-V3 CNN architecture, pre-trained on the Image-Net dataset (1.28 106 images) and re-trained on labelled tiles of lung tissue (between 3.5 103 and 1.4 104 images, see Methods). From the probability outputs of the two neural networks, the Ashcroft fibrosis and inflammation scores are computed as the score-weighted sum of the class probabilities after a renormalization to 1 without pignore (see Methods).CC BY · PubMed Central
Fig 2 Example tiles used for the Ashcroft fibrosis score CNN. The value on the top left indicates the score ranging from 0 (healthy) to 7 (large fibrotic masses). In addition, an ignore class was used to recognize various kinds of non-alveolar tissue, such as fat tissue (example), lymph nodes, large bronchi or blood vessels or air-bubbles in the mounting medium. Scale bar 50 μm.
Fig 2 Example tiles used for the Ashcroft fibrosis score CNN. The value on the top left indicates the score ranging from 0 (healthy) to 7 (large fibrotic masses). In addition, an ignore class was used to recognize various kinds of non-alveolar tissue, such as fat tissue (example), lymph nodes, large bronchi or blood vessels or air-bubbles in the mounting medium. Scale bar 50 μm.CC BY · PubMed Central
Fig 3 Learning curve of the Ashcroft fibrosis-CNN. The learning curve shows the accuracy of the CNN on the training and validation data vs. the epochs (iterations over the training set). Both curves overlap indicating a good generalization of the CNN to the unseen validation data (i.e. no overfitting).
Fig 3 Learning curve of the Ashcroft fibrosis-CNN. The learning curve shows the accuracy of the CNN on the training and validation data vs. the epochs (iterations over the training set). Both curves overlap indicating a good generalization of the CNN to the unseen validation data (i.e. no overfitting).CC BY · PubMed Central
Fig 4 Analyzing annotator agreement and inherent partial ambiguity of image data. A. Confusion matrix of predicted labels of the validation data (columns) compared to the ground truth (rows). The numbers are classification probabilities, normalized to a row sum of one. Note that the highest values are either on the diagonal (agreement of ground truth and prediction) or in an element next to the diagonal (a deviation with a neighboring class). The ignore class can be to some extent misinterpreted as all other classes and vice versa. The overall accuracy was A = 79.5%. B. Confusion matrix of the agreement of two human experts (annotators 1 and 2) using 400 randomly selected image tiles. The overall result was similar, however the inter annotator agreement of the human experts in terms of accuracy was A = 64.5% and lower than the agreement of the CNN on the unseen validation data. However, the exact value of the agreement of two human experts will depend on the type and amount of training. C. Visualization of the inner representation of the image data in the CNN. Here, the last hidden CNN layer representation of the image data was projected in two dimensions with t-SNE, a method to visualize high-dimensional data. Each dot represents one tile from ~2000 validation images. Insets show example images, along with the predicted label and their approximate locations in the cluster. Most classes are separated, however they are interconnected and especially in the transition areas there is ambiguity. Note the smaller area of class 0 tiles close to the “ignore” class (left) showing already properties of the “ignore” class (e.g. an only partially covered tile).
Fig 4 Analyzing annotator agreement and inherent partial ambiguity of image data. A. Confusion matrix of predicted labels of the validation data (columns) compared to the ground truth (rows). The numbers are classification probabilities, normalized to a row sum of one. Note that the highest values are either on the diagonal (agreement of ground truth and prediction) or in an element next to the diagonal (a deviation with a neighboring class). The ignore class can be to some extent misinterpreted as all other classes and vice versa. The overall accuracy was A = 79.5%. B. Confusion matrix of the agreement of two human experts (annotators 1 and 2) using 400 randomly selected image tiles. The overall result was similar, however the inter annotator agreement of the human experts in terms of accuracy was A = 64.5% and lower than the agreement of the CNN on the unseen validation data. However, the exact value of the agreement of two human experts will depend on the type and amount of training. C. Visualization of the inner representation of the image data in the CNN. Here, the last hidden CNN layer representation of the image data was projected in two dimensions with t-SNE, a method to visualize high-dimensional data. Each dot represents one tile from ~2000 validation images. Insets show example images, along with the predicted label and their approximate locations in the cluster. Most classes are separated, however they are interconnected and especially in the transition areas there is ambiguity. Note the smaller area of class 0 tiles close to the “ignore” class (left) showing already properties of the “ignore” class (e.g. an only partially covered tile).CC BY · PubMed Central
Fig 5 Comparison of CNN and human expert Ashcroft scores and analysis of amount of data required for training. A. Comparison of the Ashcroft score performed by a human pathologist vs the Ashcroft scored by the CNN based algorithm. Each value is the mean over a whole lung slice from experiments (n = 72) where animals obtained varying doses of Bleomycin to trigger lung fibrosis. Both curves are in good correlation (r2 = 0.92), with a slope m close to 1 and a y-intercept b close to 0 (m = 1.07 ± 0.04, b = -0.04 ±0.08, fit parameters are optimum fit parameters ± the difference at the 5% and 95% confidence intervals.) B. Dependency of the accuracy of the Ashcroft fibrosis CNN model on the amount of training data available. A(n) / Amax compares the accuracy A(n) of a model trained using n randomly selected images to the accuracy Amax of a model trained all available labelled images (n = 12000). The dashed line is an empirical fit using an asymptotic function.
Fig 5 Comparison of CNN and human expert Ashcroft scores and analysis of amount of data required for training. A. Comparison of the Ashcroft score performed by a human pathologist vs the Ashcroft scored by the CNN based algorithm. Each value is the mean over a whole lung slice from experiments (n = 72) where animals obtained varying doses of Bleomycin to trigger lung fibrosis. Both curves are in good correlation (r2 = 0.92), with a slope m close to 1 and a y-intercept b close to 0 (m = 1.07 ± 0.04, b = -0.04 ±0.08, fit parameters are optimum fit parameters ± the difference at the 5% and 95% confidence intervals.) B. Dependency of the accuracy of the Ashcroft fibrosis CNN model on the amount of training data available. A(n) / Amax compares the accuracy A(n) of a model trained using n randomly selected images to the accuracy Amax of a model trained all available labelled images (n = 12000). The dashed line is an empirical fit using an asymptotic function.CC BY · PubMed Central
Fig 6 Whole slide scan of Masson´s trichrome stained mouse lungs and corresponding color coded Ashcroft fibrosis scores. A and B represent a lung sample with no fibrosis. Note that the lymph node (dense structure at bottom center of A) is not considered in the Ashcroft score image, since it is recognized as to be ignored. C and D represent an image and the corresponding Ashcroft map of a fibrotic lung. Scale bar 1 mm.
Fig 6 Whole slide scan of Masson´s trichrome stained mouse lungs and corresponding color coded Ashcroft fibrosis scores. A and B represent a lung sample with no fibrosis. Note that the lymph node (dense structure at bottom center of A) is not considered in the Ashcroft score image, since it is recognized as to be ignored. C and D represent an image and the corresponding Ashcroft map of a fibrotic lung. Scale bar 1 mm.CC BY · PubMed Central
Fig 7 Representative tiles to illustrate the inflammation score. Numbers represent the inflammation score. The score is defined by the number of inflammatory cells in a field of view (0: 0–5, 1: 6–10, 2: 11–20, 3: above 20 inflammatory cells). In addition a ignore class was defined, as shown in Fig 2 (not shown). Scale bar 50 μm.
Fig 7 Representative tiles to illustrate the inflammation score. Numbers represent the inflammation score. The score is defined by the number of inflammatory cells in a field of view (0: 0–5, 1: 6–10, 2: 11–20, 3: above 20 inflammatory cells). In addition a ignore class was defined, as shown in Fig 2 (not shown). Scale bar 50 μm.CC BY · PubMed Central
Fig 8 Confusion matrix comparing the classifications of the inflammation score CNN vs the ground truth. Classifications of the validation data (columns) are compared to the ground truth (rows). Numbers are classification probabilities, normalized to a row sum of one. The highest values are mostly on the diagonal (agreement of ground truth and prediction) or in an element next to the diagonal (a deviation with a neighboring class).
Fig 8 Confusion matrix comparing the classifications of the inflammation score CNN vs the ground truth. Classifications of the validation data (columns) are compared to the ground truth (rows). Numbers are classification probabilities, normalized to a row sum of one. The highest values are mostly on the diagonal (agreement of ground truth and prediction) or in an element next to the diagonal (a deviation with a neighboring class).CC BY · PubMed Central
Fig 9 Example of the spatial inflammation score. A. Whole slide scan of a mouse lung with inserts showing a more inflamed tile (top) and a non-inflamed tile (bottom). Scale bar 5 mm. B. Corresponding color coded map of the inflammation score from 0–3.
Fig 9 Example of the spatial inflammation score. A. Whole slide scan of a mouse lung with inserts showing a more inflamed tile (top) and a non-inflamed tile (bottom). Scale bar 5 mm. B. Corresponding color coded map of the inflammation score from 0–3.CC BY · PubMed Central

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Show all 31 references

Cited by

See all 37

Metadata

Authors
Heinemann, F., Birk, G., Schoenberger, T., & Stierstorfer, B.
Affiliations
Boehringer Ingelheim (Germany) (DE)
Corresponding author
Heinemann, Fabian
Venue
PLOS ONE
Published
2018-08-23
Volume
13
Issue
8
Pages
e0202708
ISSN
1932-6203 (ISSN-L)
OpenAlex
W2888487881
Cited by
37
References
31
Citations by year
2026: 5 · 2025: 8 · 2024: 4 · 2023: 5 · 2022: 3 · 2021: 7 · 2020: 3 · 2019: 2
FWCI
1.69
Type
journal article
Language
en
Open access
Locations
  • PLoS ONE (publishedVersion, cc-by)
  • Europe PMC (PubMed Central) (publishedVersion, cc-by)
  • PubMed Central (publishedVersion, cc-by)
  • PubMed (publishedVersion)
  • DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion)
  • OSF Preprints (OSF Preprints) (submittedVersion)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › AI in cancer detection
  • Health Sciences › Medicine › Pulmonary and Respiratory Medicine › Interstitial Lung Diseases and Idiopathic Pulmonary Fibrosis
  • Health Sciences › Medicine › Radiology, Nuclear Medicine and Imaging › Radiomics and Machine Learning in Medical Imaging
Keywords
pulmonary fibrosis, lung inflammation, histological scoring, convolutional neural networks, automated histopathology, Masson's trichrome, whole slide imaging, mouse model, interobserver variability
MeSH terms
Deep Learning, Animals, Bleomycin, Disease Models, Animal, Image Interpretation, Computer-Assisted, Pneumonia, Pulmonary Fibrosis, Severity of Illness Index, Smoke, Nicotiana, Neural Networks, Computer, Mice

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.