Literature DB >> 32244833

Automatic Annotation of Narrative Radiology Reports.

Ivan Krsnik1, Goran Glavaš2, Marina Krsnik3, Damir Miletić4, Ivan Štajduhar1,5.   

Abstract

Narrative texts in electronic health records can be efficiently utilized for building decision support systems in the clinic, only if they are correctly interpreted automatically in accordance with a specified standard. This paper tackles the problem of developing an automated method of labeling free-form radiology reports, as a precursor for building query-capable report databases in hospitals. The analyzed dataset consists of 1295 radiology reports concerning the condition of a knee, retrospectively gathered at the Clinical Hospital Centre Rijeka, Croatia. Reports were manually labeled with one or more labels from a set of 10 most commonly occurring clinical conditions. After primary preprocessing of the texts, two sets of text classification methods were compared: (1) traditional classification models-Naive Bayes (NB), Logistic Regression (LR), Support Vector Machine (SVM), and Random Forests (RF)-coupled with Bag-of-Words (BoW) features (i.e., symbolic text representation) and (2) Convolutional Neural Network (CNN) coupled with dense word vectors (i.e., word embeddings as a semantic text representation) as input features. We resorted to nested 10-fold cross-validation to evaluate the performance of competing methods using accuracy, precision, recall, and F 1 score. The CNN with semantic word representations as input yielded the overall best performance, having a micro-averaged F 1 score of 86 . 7 % . The CNN classifier yielded particularly encouraging results for the most represented conditions: degenerative disease ( 95 . 9 % ), arthrosis ( 93 . 3 % ), and injury ( 89 . 2 % ). As a data-hungry deep learning model, the CNN, however, performed notably worse than the competing models on underrepresented classes with fewer training instances such as multicausal disease or metabolic disease. LR, RF, and SVM performed comparably well, with the obtained micro-averaged F 1 scores of 84 . 6 % , 82 . 2 % , and 82 . 1 % , respectively.

Entities:  

Keywords:  automatic labeling; decision support system; free-form radiology report; knee; machine learning; natural language processing; word embedding

Year:  2020        PMID: 32244833      PMCID: PMC7235892          DOI: 10.3390/diagnostics10040196

Source DB:  PubMed          Journal:  Diagnostics (Basel)        ISSN: 2075-4418


1. Introduction

Medical radiology reports contain information concerning patients’ medical conditions that are most commonly recorded in a narrative form. The reports are normally established by radiologists making a visual inspection of radiology scans. Both the reports and the scans are nowadays usually stored in Picture Archiving and Communication Systems (PACS). These databases, most commonly used in hospitals worldwide, are repositories of vast amounts of information. This information is seldom accessed, once its clinical usefulness expires in regard to patient followup. One of the reasons for the poor exploitation of this already gathered information lies in the fact that the reports are normally unstructured and there exists no query-capable reliable formal connection between the established reports and the presence of a clinical condition. There have been diverse reports on using text mining (TM) and natural language processing (NLP) techniques on electronic medical records (EMR) and similar healthcare-related information [1,2,3,4], and only a few are mentioned here (only a fraction of them deal with radiology reports). Research efforts relating to multilabel classification of clinical free text in radiology reports, using standardized labels, was reported in [5]. Through MedLEE, an NLP system, it has been shown that automated extraction of information from clinical narratives (radiology reports, discharge summaries, and other document types) is possible [4]. A good scope review into radiology report-processing efforts is also presented in [4]. A more recent work involving the use of artificial neural networks and word embeddings for automated diagnosis coding of radiology reports is reported in [6]. A study used an emergency department’s earlier medical records to predict and reduce its overcrowding [7]. A very high accuracy at classifying death certificates into four high impact diseases of interest was reported in [8]. Classification of spontaneous reports of adverse events following vaccination into potentially anaphylaxis-negative or -positive using a rule-based classifier was presented in [9]. Multiple studies demonstrated the feasibility of classifying disease outbreak reports with respect to their relevance [10,11]. A rule-based system supported by machine learning methods for detecting Framingham heart failure criteria from EMR release notes was presented in [12]. Smoke term dictionaries were trained on Amazon customer reviews to detect possible safety and efficacy concerns regarding several groups of products [13]. A modular system of pipelined components combining rule-based and machine learning techniques aiming at information extraction from the clinical narrative was introduced by [14]. Problem–action relation patterns were detected, classified, and extracted from clinical narrative texts in [15]. Clinicians are often reluctant accepting the suggestions made by a specific decision support system, if the details of the underlying automatic decision-making process are not clearly explained. Therefore, there exists a need for the so-called explainable AI, which deals with making both the learning and the inference process transparent and traceable [16]. However, to reach a level of truly trustworthy decision-supported processes in the clinic, assessing the so-called causability is needed [17]. Whereas the predictive properties of models can be assessed using standard quantitative evaluation metrics, the quality of explanations made can be evaluated using subjective measurements [18]. Building models for extracting clinical conditions from unstructured radiology reports is a necessary step for building query-capable report databases. Apart from the obvious application of such a model for querying medical records, accurate labeling of medical exams is a prerequisite for linking all the findings assigned to them to specific clinical conditions. In turn, this is also a crucial step in building a repository of labeled radiology scans. If a sufficiently accurate labeling of a large PACS archive existed, it could be used for supervised learning of an image-annotation model, outlier/error detection model, and a transfer-learning model. These are the main motives behind this work. Although being beyond the narrow scope of this work, the reader should note that computer-aided diagnosis involving organ segmentation and detection/classification of illnesses or injuries from radiology scans (i.e., images) of the knee joint area was under consideration in several papers [19,20,21,22,23,24]. In this work, we examine the possibility of automatically establishing clinical outcomes directly from the text of free-form radiology reports recorded in a standard Croatian clinical setup. Our goal was to inspect whether more common clinical conditions (having more numerous reports) could be detected accurately and to determine the expected level of accuracy of such models. In addition, we were interested in observing the amount of data needed for training such models because performing manual data labeling can be tiresome, time-consuming, and expensive. In this case study, we concentrate on an available dataset from Clinical Hospital Centre (CHC) Rijeka, Croatia. We analyze a total of 1295 radiology reports established from magnetic resonance imaging (MRI) scans of knees, gathered retrospectively from the PACS of CHC Rijeka. Written approval for performing this research has been obtained from the Hospital Ethics Committee, under Class 003-05/14-1/40, Reg. No. 2170-29-02/1-14-2, 30 October 2014. We manually labeled the reports for 14 most commonly reported clinical conditions: clean, unclear, arthrosis, injury, degenerative disease, inflammatory disease, neoplasm, multicausal disease, development anomaly, metabolic disease, neoplasm-like growth, idiopathic disease, autoimmune disease, and genetic disease. With respect to automated text classification, in this work, we compared the approaches from the two main paradigms: (1) symbolic text classification, in which texts are represented with sparse vectors of TF-IDF weights, used as input features for traditional machine learning algorithms, such as Logistic Regression (LR) or Support Vector Machine (SVM); and (2) a more recent semantic text classification paradigm, in which dense semantic representations of words—word embeddings—are introduced as input to a neural architecture. Different deep learning architectures have been tried in a number of medical text classification tasks [25,26,27], including automated classification of radiology reports [6,28,29]. While recurrent [29,30] and attention-based neural networks [27,31] may present a viable solution, convolutional neural networks (CNN) seem to generally offer an edge in classification performance as well as faster training times [6,29]. Furthermore, due to their efficiency and being less data-hungry than, e.g., recurrent networks, CNNs have profiled themselves as a go-to text classification architecture in general-purpose natural language processing [32,33,34]. For these reasons, we adopt a CNN architecture for our neural classification model. Overall, we obtained the best classification performance with the CNN model coupled with word embeddings as input. The obtained micro-average score of is promising and renders automated classification of radiology reports in Croatian feasible, especially if more annotated reports (i.e., a larger training dataset) are to be collected in the future. Nonetheless, the symbolic classification methods (LR or SVM with sparse TF-IDF vectors as input) proved to be a more reliable solution than a CNN coupled with word embeddings for conditions (i.e., labels) with less training instances. Due to the lack of previous classification efforts for the same setting (condition classification from free-form diagnoses in Croatian language), there is no known standardized benchmark for comparison (e.g., a baseline score). This is why in this work we extensively evaluate of a number of standard and state-of-the-art text classification techniques. Henceforth, the work presented here can be used for future comparisons of predictive models built from free-form diagnoses written in Croatian, as well as in other similar Slavic languages. The rest of the article is organized as follows. In Section 2, we present in detail the data used and explain the process of manually labeling clinical conditions. We next describe our text classification methodology: (1) text preprocessing techniques for radiology reports, (2) the chosen knowledge-representation models, along with (3) the associated supervised machine-learning algorithms and lastly (4) the experimental setup. Finally, we report and discuss the classification results in Section 3.

2. Materials and Methods

2.1. Radiology Reports and Labeling

Data were gathered retrospectively from the CHC Rijeka PACS database, as a part of another study which focused on developing an automated method for assessing anterior cruciate ligament (ACL) injuries in a human knee from MRI scans [22]. The dataset used for this research consists of 1295 unstructured radiology reports, describing the clinical condition of a knee. The reports are written in Croatian language. Each report was created by a trained radiologist in a standard clinical setup. Clinical assessment was performed by inspecting one or more scanning sequences, obtained using magnetic resonance imaging. The reports were generated between the year 2007 and 2014, based on scans performed using a Siemens Avanto 1.5T MR scanner (Rijeka, Croatia), and obtained by either T1 (≈25%), T2 (≈4%) or proton density (≈71%) weighting technique (sequences not being mutually exclusive). Details concerning the reports are described in more detail in [22]. In this study, a set of 14 most frequently occurring clinical conditions was determined. These included and were labeled as: clean, unclear, arthrosis, injury, degenerative disease, inflammatory disease, neoplasm, multicausal disease, development anomaly, metabolic disease, neoplasm-like growth, idiopathic disease, autoimmune disease, and genetic disease. The labels were set this way in order to envelop multiple clinical observations of interest for this type of diagnostic examination at the CHC Rijeka. The reader should note that the chosen labels, albeit being highly relevant for the clinical practice of CHC Rijeka, do not necessarily abide to the International Statistical Classification of Diseases and Related Health Problems (ICD-10). Reported clinical observations assigned to each label are shown in Table 1. Each radiology report was manually labeled with one or more labels by an expert radiologist.
Table 1

Number of occurrences (counts) of distinct clinical conditions and examples of phrases indicating the clinical conditions. These phrases were the most frequently occurring in the used collection of unstructured radiology reports.

Clinical ConditionCountObservation
arthrosis820grade I degenerative changes, chondromalacia, pseudocyst, popliteal cyst
injury738patella fracture, partial ACL rupture, sprain, meniscus tear, contusion
degenerative disease160osteoarthritis
clean79lateral meniscus intact, cartilage preserved, patella positioned normally
inflammatory disease76osteomyelitis, septic arthritis, chronic enthesitis, Osgood–Schlatter disease, rheumatoid arthritis, discoid meniscus
neoplasm68sessile osteochondroma, hemangioma, enchondroma, fibroma
unclear42patchy areas of edema, patellar tilt
multicausal disease32varicose veins, chondrocalcinosis, osteochondromatosis
developmental anomaly16tibial developmental defect, bipartite patella, knee recurvation
metabolic disease14osteoporosis
neoplasm-like growth7fibrous cortical defect
idiopathic disease3ACL mucoid degeneration
autoimmune disease2Henoch–Schönlein purpura
genetic disease1osteopetrosis
Occurrence of a condition was modelled as a binary variable, being 1 if the condition was recognized in the report, or 0 otherwise. The appearance counts for each of the 14 conditions are also shown in Table 1. As multiple conditions may appear in the same report (i.e., we are dealing with a multi-label classification problem), the response variable was set up as a binary vector. Observation counts of label combinations present in the data are shown in Table 2.
Table 2

Observation counts for each unique set of clinical conditions appearing in the radiology reports used for this research. Sets of clinical conditions are shown in descending order with respect to their observation count.

Clinical ConditionsCountClinical ConditionsCount
arthrosis, injury306arthrosis, injury, degenerative dis., neoplasm2
injury281arthrosis, injury, degenerative dis., inflammatory dis.2
arthrosis261arthrosis, injury, degenerative dis., multicausal dis.2
clean79arthrosis, injury, degenerative dis., developmental anomaly1
arthrosis, injury, degenerative dis.66arthrosis, injury, neoplasm, metabolic disease1
arthrosis, degenerative dis.52degenerative dis., developmental anomaly1
unclear41arthrosis, developmental anomaly1
arthrosis, neoplasm20arthrosis, injury, degenerative dis., inflammatory dis., developmental anomaly, idiopathic dis.1
arthrosis, inflammatory dis.20developmental anomaly1
neoplasm19arthrosis, genetic dis.1
inflammatory dis.15arthrosis, degenerative dis., inflammatory dis., neoplasm1
arthrosis, injury, inflammatory dis.15arthrosis, injury, degenerative dis., neoplasm-like growth1
arthrosis, degenerative dis., inflammatory dis.11arthrosis, degenerative dis., inflammatory dis., multicausal dis.1
injury, neoplasm9arthrosis, injury, multicausal dis., idiopathic dis.1
arthrosis, injury, multicausal dis.9injury, neoplasm, developmental anomaly1
arthrosis, injury, neoplasm7arthrosis, idiopathic dis.1
arthrosis, multicausal dis.6injury, metabolic disease1
injury, degenerative dis.6neoplasm-like growth1
arthrosis, injury, metabolic disease5arthrosis, inflammatory dis., developmental anomaly1
arthrosis, injury, developmental anomaly5arthrosis, degenerative dis., inflammatory dis., developmental anomaly1
injury, inflammatory dis.4injury, neoplasm-like growth1
arthrosis, metabolic disease4degenerative dis.1
arthrosis, degenerative dis., multicausal dis.4unclear, neoplasm, neoplasm-like growth1
arthrosis, injury, degenerative dis., metabolic disease3arthrosis, injury, neoplasm-like growth1
arthrosis, degenerative dis., neoplasm3neoplasm-like growth, autoimmune dis.1
injury, developmental anomaly3autoimmune dis.1
arthrosis, inflammatory dis., neoplasm3multicausal dis., neoplasm-like growth1
injury, multicausal dis.3inflammatory dis., multicausal dis.1
multicausal dis.3arthrosis, injury, degenerative dis., neoplasm, multicausal dis.1
The theoretical number of unique binary vectors equals , yet only some vector occurrences were recorded in the data. These might be interesting to clinical practitioners, as they show correlation between separate clinical conditions. Four of the conditions are observed in less than of the exams included in this study. Since meaningful learning-based text classification is not possible with such a small number of training instances, we discarded these conditions (neoplasm-like growth, idiopathic disease, autoimmune disease, and genetic disease) from our automated text classification experiments. As opposed to these rarely occurring conditions, the two most frequent conditions, arthrosis and injury, are found in more than half of the reports ( and , respectively). In order to prepare the texts written in the morphologically complex Croatian language for text classification with machine learning models, we first performed some text preprocessing steps, which we describe next.

2.2. Data Preprocessing

Raw radiology reports used in this study consist, on average, of () letters (including punctuation and digits, but excluding whitespaces), () words, and () sentences per report (here, denotes the standard deviation). Radiology reports were first stripped of punctuation and digits, and were converted to lower case. Exploratory data analysis was used to establish a list of the most common Croatian stopwords occurring throughout the reports. The list included the following words, in descending order by the number of occurrences (stopword literal translation is parenthesized): “i” (and), “u” (in), “je” (is), “se” (self), “na” (on, at), “da” (that), “za” (for), “su” (are), “a” (and), “od” (of, from), and“t” (no meaning). Each of the words from the list was then removed from the radiology reports. Croatian is a morphologically complex language with many different forms for the same lemma (e.g., nouns have seven cases and different case suffixes in singular and plural: koljeno (knee) → koljena, koljenu, koljenom, koljenima). Given the limited number of radiology reports in our dataset, we decided to reduce the dataset vocabulary via lemmatization. We initially planned to lemmatize the corpus with MOLEX [35], a de facto standard lemmatizer for Croatian. However, we discovered that the underlying morphological dictionary of MOLEX does not cover the vast majority of the domain-specific terms from radiology reports (e.g., patelofemoralnom → patelofemoralan (patellofemoral)). Because of this, we devized our own heuristic clustering-based lemmatization algorithm, illustrated in Algorithm 1. As the majority of morphological complexity in Croatian stems from suffixation (case forms of nouns and person forms of verbs mutually differ in suffixes), we compare whether the words match in all but the last characters. We do not cluster words shorter than characters, as these are dominantly general terms (i.e., not domain-specific terms) which we can lemmatize with MOLEX [35]. Should the length of each of the two words in comparison be shorter than , the words must match in the first characters. The clustering itself is a simple single pass sequential procedure. Vocabulary words are placed into clusters sequentially: each word that does not match the representatives of established clusters, starts a new cluster and becomes its representative. It is important to note that our heuristic matching function based on is transitive: if a new word matches one of the words in the cluster, it will match all of them (and none from the other clusters). We experimented with different values for and and have found , to be the most robust configuration, yielding the cleanest morphological clusters. Once we obtain the clusters, for each cluster, we select the word with the highest occurrence frequency in our corpus of radiology reports as the “lemma”. Table 3 illustrates some of the obtained morphological clusters.
Table 3

Examples of morphological clusters obtained via our simple heuristic word clustering algorithm. The numbers in brackets indicate the number of occurrences in our corpus of radiology reports. Selected lemma of each cluster is emphasized.

uznapredovala (10), uznapredovalog (13), uznapredovalih (17), uznapredovalnim (1), uznapredovalim (5),uznapredovalu (2), uznapredovale (74), uznapredovalosti (1) uznapredovalom (5), uznapredovali (32), uznapredovao (1)
posteromedijalni (1), posteromedijalnog (1), posteromedijalno (9), posteromedijalnome (2)
infrapatelarnoj (1), infrapatelarno (29), infrapatelarnom (3), infrapatelano (1), infrapatelarnog (33),infrapatelarne (1), infrapatelanog (3)
ekstenzorni (1), ekstenzije (1), ekstenzora (1), ekstenziji (1), ekstenzornom (1), ekstenzivne (1), ekstenzija (1),ekstenzorne (1), ekstenzivan (1), ekstenzivno (2), ekstenzijom (5)

2.3. Symbolic Text Classification

Traditional approaches to text classification can be seen as symbolic, since they treat every word as a different symbol and establish no relations between words with respect to their actual meaning. In this paradigm, documents are represented as bags of words (BoW), that is, sparse vectors of vocabulary terms (each dimension of the vector corresponds to one vocabulary term). Following standard practice [36,37], we adopt the TF-IDF weighting scheme for BoW vectors: the value of each term appearing in the text is set to the product of the term’s frequency in the document (TF component) and inverse of the number of documents in the collection in which the term appears (IDF component). TF-IDF weighted BoW vectors of documents can now be fed as feature vectors to machine learning algorithms that require strictly numeric features as input, such as logistic regression (LR) or support vector machine (SVM). As common text classification baselines, we also experiment with two other supervised algorithms, which, albeit operating on a symbolic representation of text (no modelling of word meaning), do not require numeric vector-based representations at input: Naïve Bayes (NB) and Random Forests (RF). We next briefly describe each of these four algorithms for symbolic text classification which we evaluated in our experiments.

2.3.1. Logistic Regression

Logistic regression is a simple linear discriminative binary classification model (i.e., it finds a hyperplane that aims to separate the data instances of two classes). The predictions are made by applying the logistic function on the dot product of the features and model’s weights (i.e., parameters) : . The parameters are optimized by minimising the following cross-entropy loss on the training set : Since the equation does not have a closed-form solution, the parameters of the logistic regression model are learned via numeric optimization, most often using the (stochastic) gradient descent algorithm. The cross-entropy loss is often augmented with the regularization component , i.e., , which serves to prevent overfitting (i.e., prevents parameter to take overly large values) on small datasets. The regularization factor is then a hyperparameter of the model which needs to be optimized via cross-validation.

2.3.2. Support Vector Machines

Support vector machine (SVM) is a discriminative binary classification model [38]. In its base form (i.e., without applying the kernel trick, with which the original feature space can be projected to a new higher-dimensional space), SVM is also a linear model, aiming to find the optimal weights that multiply the features (i.e., ) in order to separate the instances of two classes. However, SVM optimizes a different objective than the logistic regression (which minimizes the cross-entropy error): it attempts to find a discriminating hyperplane that maximizes the minimal distance between the hyperplane and the closest instances (called support vectors) of the two classes, i.e.: Given that (1) the maximum of is the same as the minimum of ; and that (2) the above objective has additional inequality constraints corresponding to the requirement that the examples are on the correct side of the separating hyperplane (, for each training example ); the optimization problem belongs to the family of quadratically constrained quadratic programming (QCQP) problems and is solved via Lagrangian multiplicators and quadratic optimization algorithms like sequential minimal optimization (SMO) [39]. The objective is augmented with the additional penalty terms for instances on the wrong side of the separating hyperplane and the amount of penalty is regulated with the hyperparameter C, which needs to be optimized via cross-validation. SVMs are famous for the so-called kernel trick with which the input features vectors are effectively projected to a higher-dimensional space without the explicit computation of the projection. The trick is based on the kernel function which measures the similarities between feature vectors of the training set. If the Gram matrix corresponding to the kernel function —a matrix with elements being kernel function values for pairs of training instances from D, i.e., —is positive semi-definite (for any D), than there is a guarantee that the kernel similarity corresponds to a dot product of the , projected to some higher-dimensional space, . According to Cover’s theorem, the set of instances of different classes are more likely to be linearly separable in the higher-dimensional space: this is why the SVM’s kernel trick is very useful for problems where the instances are nonlinearly separable in the original feature space. However, text classification is, in most cases, not one of such problems—the feature space (i.e., the size of the vocabulary) is often much larger than the number of training instances, making the instances often close to linearly separable already in the original feature space. This is why the linear SVM commonly performs better than kernel-based SVMs for text classification. We confirmed this in our experiments as well—we thus report only the results obtained with the linear SVM.

2.3.3. Random Forests

Random forests [40] is an ensemble model made up of many decision trees. Ensemble models increase accuracy and decrease variance by averaging multiple predictions. Random forests is also a refinement of a previous ensemble technique called bagging. In bagging, the original dataset is resampled with replacement multiple times in order to create differing data subsets. A uniform base model is then trained on each of these subsets. Random forests expands on the idea of bagging by varying not only data samples, but also features used for training each of the base models. Randomness can be increased further by varying the parameters of the base models. Each decision tree is built by using a randomly chosen subset of features on a randomly chosen subset of data. The model takes a prediction from all of the trees in the forest. The final output is then either the average (in a regression problem), or the majority vote (in a classification problem) of these predictions.

2.3.4. Naïve Bayes

Naïve Bayes classifier [41] is a simple generative model based on the Bayes’ theorem. It assumes that the features are conditionally independent given the class label. Depending on the assumptions made on distributions of features, there are multiple models of the Naïve Bayes classifier. Gaussian Naïve Bayes is typically used for continuous features, while multinomial and Bernoulli Naïve Bayes models are popular for discrete features. Naïve Bayes classifier has worked quite well in many real-world situations, even in cases where the conditional independence assumption clearly does not hold. It has been particularly effective with high-dimensional sparse data regularly seen in text classification. It is often used as a baseline model in text classification and is expected to perform somewhat worse than more complex models like logistic regression and (linear) SVM [42,43].

2.4. Semantic Text Classification

Sparse symbolic text representations (i.e., BoW) do not capture the meaning of words: they just treat any two different words as different (and mutually equidistant) symbols. Semantic representations of words and larger units of text aim to capture the meaning of text, beyond the surface symbols, in the form of dense numeric vectors, often called embeddings. Modern word and sentence embeddings are obtained by exploiting the distributional word co-occurrence information in large corpora [44,45,46,47,48]. Dense semantic representations of text, dominantly word embeddings, are commonly fed as input features into (deep) neural networks. Convolutional neural networks (CNNs), originating from the work in computer vision [49,50], have been shown to perform particularly well on various text classification tasks [32,34]. In what follows, we first briefly describe the Continuous-Bag-of-Words (CBOW) algorithm [44] with which we pre-trained word embeddings for Croatian, and then describe the CNN-based text classification with word embeddings as input.

2.4.1. Word Embeddings

Word embeddings are dense semantic vectors that encode the meaning of words from their co-occurrences in a large corpus. Let V be the size of the vocabulary of some large corpus and let the denote a sequence of words from the corpus, referred to as one context. Each vocabulary word is initially assigned two dense, randomly initialized d-dimensional vectors (): a center vector of the word (denoted for the j-th vocabulary word) and a context vector of the word (denoted for the j-th vocabulary word). Let be the matrix consisting of context vectors of all vocabulary words (each in one column) and let be the corresponding matrix of center vectors of words (each in one row). The input to the CBOW model is the sparse few-hot encoding of the context without the center word, i.e., it is a sparse binary V-dimensional vector with only the elements corresponding to context words , set to the value 1. The CBOW model is a shallow neural network which first compresses the sparse representation of the context into a dense d-dimensional vector, using the parameter matrix , i.e., , and then tries to reconstruct the sparse one-hot encoding of the center word via , i.e., the prediction of the center word’s vector is given with . Matrices and are CBOW’s parameters which are optimized by minimizing the distance between the predicted vector and the true one-hot encoding of the center word , a binary vector with only the element at the index corresponding to the center word being set to 1. The CBOW model is trained on all contexts from a large corpus of text: once the training is over, the dense word representations of words, i.e., the word embeddings, are stored in matrices and . The word embedding of the j-th vocabulary word is obtained as the concatenation of the j-th column of and the j-th row of . We pre-train the word embeddings for Croatian by running the CBOW model (with the window size ) on the hrWaC corpus [51], which is, to the best of our knowledge, the largest publicly available corpus of text in Croatian language.

2.4.2. Convolutional Neural Network

The illustration of the vanilla (single-layer) CNN used in our experiments is shown in Figure 1.
Figure 1

An illustration of the architecture of the vanilla CNN we used for text classification.

Let us denote the input matrix for the CNN—containing stacked pretrained word embeddings of words in the text—with , where N is the length of the word sequence and d is the size of the pretrained word embeddings. The parameters of the CNN are the so-called filter matrices, sometimes also referred to as kernels or kernel matrices, , where s is the size of the filter and k the index of the filter of size s (there are usually multiple different filters of the same size), with which we stride over the input matrix and compute convolutions. Let be the slice of the input matrix of the size s that matches in size some filter . The convolution between the input slice and the filter is then simply a sum of the element-wise multiplications between these two matrices: A convolution is computed between a filter and each s-sized slice of the input matrix which yields a resulting vector of the size (each convolution yields one element of that vector). Each vector , a result of the interaction between input and the filter , is then forwarded to the pooling layer in which the vector values are compressed into one scalar value. We use 1-max pooling, and select the largest value from as a feature for the final classification layer. With 1-max pooling, each filter yields one feature for the final representation vector, which we denote . The final feature vector is then fed to a softmax regression classifier to obtain the class probabilities: with and (where f is the total number of convolutional filters in the model) as the parameters of the classifier. The parameters of the convolutional text classifier described above that need to be learned on the training set are all of the filter matrices and the classifier parameters and . We optimize the parameters by minimizing the cross-entropy loss (see Section 2.3.1) on the training instances. The number of convolutional filters and their respective sizes are hyperparameters of the model which we tune via cross-validation.

2.5. Experimental Setup and Model Evaluation

In order to allow for a fair comparison of performance of the presented machine learning models for text classification, we tune their hyperparameters and evaluate their performance via nested K-fold cross-validation (CV). For each of the five machine learning models, we define the set of hyperparameter configurations to be evaluated. For the outer loop of the nested K-fold cross-validation, we create K different training-test splits: for each of these splits, we perform an inner K-fold cross-validation in which we use K train-validation splits to find the optimal hyperparameter configuration; we then train the model with the whole training set of the outer loop split and evaluate its performance on the test set of the outer CV loop; finally, we report the average performance over the test sets of all outer CV folds. We set for both the outer and inner loop of our nested folded CV evaluation.

3. Results and Discussion

The summary of the results for all five classification models (NB, RF, LR, SVM, CNN) for the 10 knee condition labels with more than 10 instances in the dataset are shown, in terms of the score, in Table 4. In Table 5, we report more detailed results, using other evaluation metrics as well, i.e., classification accuracy, precision, and recall.
Table 4

Results (in terms of scores) for all five text classification models used on each of the 10 knee condition labels. The last two rows show the micro- and macro-averaged performance over all 10 classes. The results presented here were obtained via nested 10-fold CV.

ClassNBRFLRSVMCNN
clean24.325.347.4 57.1 39.5
unclear8.714.87.58.74.5
arthrosis83.589.389.088.9 93.3
injury81.382.388.387.7 89.2
degenerative dis.26.494.594.872.5 95.9
inflammatory dis.7.165.6 67.7 36.452.3
neoplasm16.246.055.451.6 75.9
multicausal dis.0.027.9 34.1 6.10.0
developmental an.0.031.6 38.1 0.00.0
metabolic dis.0.0 69.6 69.6 0.013.3
Macro avg.24.854.7 59.2 40.946.4
Micro avg.73.882.284.682.1 86.7
Table 5

Detailed results (classification accuracy, precision, recall, score) for NB, RF, LR, SVM, and CNN models for the 10 knee condition labels. The last two columns show the micro- and macro-averaged performance on the selected evaluation metric over all 10 classes. The results are obtained via nested 10-fold CV.

ModelClass
CleanUnclearArthrosisInjuryDegenerative Dis.Inflammatory Dis.NeoplasmMulticausal Dis.Developmental An.Metabolic Dis.Macro AverageMicro Average
Classification accuracy
NB95.796.875.275.587.593.995.297.598.898.991.591.5
RF95.096.586.279.798.796.795.897.699.099.594.594.4
LR96.196.285.586.398.896.896.297.999.099.595.295.2
SVM96.896.885.085.394.295.296.597.698.898.994.594.5
CNN96.096.891.087.299.095.997.897.498.899.095.995.9
Precision
NB90.066.774.474.548.337.51000.00.00.049.173.7
RF47.836.491.785.398.085.471.954.510088.976.089.0
LR69.720.088.989.798.086.070.577.880.088.977.088.7
SVM82.466.786.887.187.681.896.01000.00.068.887.0
CNN77.310091.689.597.485.391.70.00.010063.390.8
Recall
NB14.14.795.289.518.13.98.80.00.00.023.474.0
RF17.29.386.979.591.353.233.818.818.857.146.676.4
LR35.94.789.186.991.955.845.621.925.057.251.480.8
SVM43.84.791.088.361.923.435.33.10.00.035.277.7
CNN26.62.395.189.094.437.764.70.00.07.141.783.0
F1 score
NB24.38.783.581.326.47.116.20.00.00.024.873.8
RF25.3 14.8 89.382.394.565.646.027.931.6 69.6 54.782.2
LR47.47.589.088.394.8 67.7 55.4 34.1 38.1 69.6 59.2 84.6
SVM57.18.788.987.772.536.451.66.10.00.040.982.1
CNN39.54.5 93.3 89.2 95.9 52.3 75.9 0.00.013.346.4 86.7
A larger discrepancy between the values of presented evaluation metrics, especially when comparing the precision–recall pair against the classification accuracy, shown in Table 5, stems directly from class imbalance (Table 1). Namely, the proportion of positive cases is rather small for all labels except arthrosis and injury. Unlike classification accuracy, which is calculated as the total unweighted proportion of misclassified instances, precision and recall are calculated as the proportions of true positive instances, against the number of instances predicted as positive and the number of instances that are observed positive, respectively. Hence, the large number of true negatives seemingly increases overall model performance in terms of classification accuracy. Overall, the CNN model with pretrained Croatian word embeddings as input displayed the strongest performance, when micro-averaging the performance over all instances, instead of classes. As a data hungry neural model, the CNN, expectedly, performs best for the classes that have the largest number of positive instances: arthrosis, injury, and degenerative disease. The CNN, also quite expectedly, was unable to learn anything meaningful for classes with very limited number of positive instances (multicausal dis., developmental an., metabolic dis.). This is directly caused by the outlook of the loss function used for model training, where both the positive and the negative instances are treated equally, thus skewing model predictions in favor of the majority class, which becomes more apparent when dealing with classes having significantly smaller proportions of positives. LR and RF seem to be the most robust choice for these classes with very few positive instances, which also results in the best macro-averaged (average of class performances) performance. As an ensemble of decision tree classifiers, built from randomly sampled subsets of variables, RFs are capable of accurately capturing the underlying distribution (low bias) while reducing the variance, which probably explains their excellent performance on underrepresented classes. Overall, the trends in results are reasonably within expectation, with NB offering the lowest performance, and LR and CNN being the most competitive: CNN is a better choice for sufficiently large classes, where LR renders itself as the most robust choice for underrepresented classes having fewer instances. The lower complexity of the LR model, i.e., a smaller number of modelling parameters, compared to the CNN model, is the probable cause for this. While the number of positive training instances has a key effect on the models’ quality and performance, it is worth noticing that RF, LR, and CNN achieve the best performance for the class degenerative disease, even though for this class we have a total of only 160 instances, which is approximately five times less than for the classes arthrosis and injury, for which these models obtain a slightly lower performance. This is because of a smaller variability of the language used for the class degenerative disease and some very discriminative words (e.g., osteoarthritis appears in most reports labeled with degenerative disease class, whereas very few reports of the same class do not contain it). The variability of the language among the instances of the two larger classes—arthrosis and injury—is somewhat larger. To summarize, in this paper, we deal with the problem of automatically assigning labels to medical reports, for the purpose of creating a query-capable repository of medical records. We inspect in detail the case of radiology reports generated from MRI scans of knees, gathered retrospectively from the CHC Rijeka PACS database. We present a thorough performance comparison of several traditional machine learning models for text classification, including logistic regression (LR), support vector machine (SVM), and random forests (RF), against the state-of-the-art text classification model based on word embeddings and convolutional neural network (CNN). We report the results obtained via nested 10-fold cross-validation. Our results, presented in Section 3, suggest that the CNN-based classifier with pretrained word embeddings as input outperforms all other models for larger classes with more positive diagnosis (i.e., text) instances. On the other hand, our experiments identify LR as the most robust choice for small classes with limited numbers of training instances. With regard to model performance in detecting individual clinical conditions, expectedly, the conditions appearing more frequently throughout the reports receive more accurate predictions. To conclude, although our work focuses on radiology reports for knee conditions, written in the (morphologically complex) Croatian language, we believe that our study offers useful insights into the suitability of different text classification models for classifying medical reports in general, especially with respect to the size of the available annotated data.
  20 in total

1.  Classifying disease outbreak reports using n-grams and semantic features.

Authors:  Mike Conway; Son Doan; Ai Kawazoe; Nigel Collier
Journal:  Int J Med Inform       Date:  2009-05-15       Impact factor: 4.046

2.  Fully automatic quantification of knee osteoarthritis severity on plain radiographs.

Authors:  H Oka; S Muraki; T Akune; A Mabuchi; T Suzuki; H Yoshida; S Yamamoto; K Nakamura; N Yoshimura; H Kawaguchi
Journal:  Osteoarthritis Cartilage       Date:  2008-04-18       Impact factor: 6.576

3.  Text mining for the Vaccine Adverse Event Reporting System: medical text classification using informative feature selection.

Authors:  Taxiarchis Botsis; Michael D Nguyen; Emily Jane Woo; Marianthi Markatou; Robert Ball
Journal:  J Am Med Inform Assoc       Date:  2011-06-27       Impact factor: 4.497

4.  Causality patterns and machine learning for the extraction of problem-action relations in discharge summaries.

Authors:  Jae-Wook Seol; Wangjin Yi; Jinwook Choi; Kyung Soon Lee
Journal:  Int J Med Inform       Date:  2016-11-09       Impact factor: 4.046

5.  Text mining approach to predict hospital admissions using early medical records from the emergency department.

Authors:  Filipe R Lucini; Flavio S Fogliatto; Giovani J C da Silveira; Jeruza L Neyeloff; Michel J Anzanello; Ricardo S Kuchenbecker; Beatriz D Schaan
Journal:  Int J Med Inform       Date:  2017-01-05       Impact factor: 4.046

6.  Comparative effectiveness of convolutional neural network (CNN) and recurrent neural network (RNN) architectures for radiology text report classification.

Authors:  Imon Banerjee; Yuan Ling; Matthew C Chen; Sadid A Hasan; Curtis P Langlotz; Nathaniel Moradzadeh; Brian Chapman; Timothy Amrhein; David Mong; Daniel L Rubin; Oladimeji Farri; Matthew P Lungren
Journal:  Artif Intell Med       Date:  2018-11-23       Impact factor: 5.326

7.  Semi-automated detection of anterior cruciate ligament injury from MRI.

Authors:  Ivan Štajduhar; Mihaela Mamula; Damir Miletić; Gözde Ünal
Journal:  Comput Methods Programs Biomed       Date:  2016-12-15       Impact factor: 5.428

8.  Automatic ICD-10 classification of cancers from free-text death certificates.

Authors:  Bevan Koopman; Guido Zuccon; Anthony Nguyen; Anton Bergheim; Narelle Grayson
Journal:  Int J Med Inform       Date:  2015-08-13       Impact factor: 4.046

Review 9.  Text mining of cancer-related information: review of current status and future directions.

Authors:  Irena Spasić; Jacqueline Livsey; John A Keane; Goran Nenadić
Journal:  Int J Med Inform       Date:  2014-06-24       Impact factor: 4.046

Review 10.  Causability and explainability of artificial intelligence in medicine.

Authors:  Andreas Holzinger; Georg Langs; Helmut Denk; Kurt Zatloukal; Heimo Müller
Journal:  Wiley Interdiscip Rev Data Min Knowl Discov       Date:  2019-04-02
View more
  2 in total

1.  COVID-19 classification by CCSHNet with deep fusion using transfer learning and discriminant correlation analysis.

Authors:  Shui-Hua Wang; Deepak Ranjan Nayak; David S Guttery; Xin Zhang; Yu-Dong Zhang
Journal:  Inf Fusion       Date:  2020-11-13       Impact factor: 12.975

2.  Deep Learning-Based Natural Language Processing in Radiology: The Impact of Report Complexity, Disease Prevalence, Dataset Size, and Algorithm Type on Model Performance.

Authors:  A W Olthof; P M A van Ooijen; L J Cornelissen
Journal:  J Med Syst       Date:  2021-09-04       Impact factor: 4.460

  2 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.