Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing
Classification of prostate cancer pathology reports using natural language processing

Editor's Notes

  • #3 the primary form of communication between pathologists and clinicians A pathologist microscopically examines a biological specimen for the presence of cancer-related morphology. After careful examination, the findings are summarized into a pathology report which is sent back to the referring clinician. This clinician based on the diagnostic and supporting information plans out a treatment course for a patient.
  • #4 These reports contains vital diagnostic pathology information in form of cancer cell grade, histology grade or TNM stage, anatomy, and tumor site information along with other histologic measurements and descriptions. For decades, all this information in pathology reports has been summarized in an unstructured or at best semi-structured free-text form.
  • #5 And structured reporting though difficult to initially adapt to is gaining prominence in clinical practice because of the very obvious reasons… Enforces completeness, consistency and clarity by implementation of standardized formats for reporting. Such reports reinforce that anyone who writes the them conforms to the international established standards which in turn enables interoperability This improves accuracy for reporting as measurement units in such reports are standardized too. This in turn enables accurate comparison over health management timelines enabling systematic evidence-based intervention benefit analysis Which eventually leads to better patient management, better treatment decision and also testing the feasibility of semiautomated decision support.
  • #6 But because structured reports are not available, practitioners' resort to manually generating them from the unstructured ones which is unarguably resource consuming. Instead of manual methods, automation could be used to construct structured reports from the unstructured ones and organize these structured reports into proprietary database.
  • #7 NLP methods have improved automated general text understanding and these methods have been extensively used for electronic health record analysis. However, their applicability have not fully penetrated clinical pathology domain. For example, method x was used for classifying 90,000 pathology reports eventually achieving a high classification confidence. Method y was also used to classify a medium-size corpus into 20 classes and reached an F1 of 0.89.
  • #9 To demonstrate our approach, we use the publicly available prostate cancer pathology reports from TCGA PanCancer dataset 404 non-empty reports were manually classified into high-grade and low-grade using Gleason score information available from the dataset A report was classified as high-grade if its Gleason diagnostic grade was above 7 and low-grade otherwise. With this method, about 171 reports were classified as high-grade and 233 as low-grade
  • #11 Before any text could be used for NLP tasks, it needs to be thoroughly preprocessed. The PDF reports were converted into machine-readable text using a freely available JAVA based optical character recognition tool
  • #12 This conversion adds much noise to the already noisy unstructured reports which now require denoising. Special-character trails were automatically removed using heuristics and ASCII null characters were manually removed. Next predefined stop words were automatically removed using NLTK stop words corpus and some corpus specific stop words were also removed. Unnecessary punctuations were also removed
  • #13 Before any classifier could be trained, the natural language corpus requires to be represented in numerical machine understandable format. We used count vectors to represent text in form of word counts specifically the tf-idf which is even better because also takes into account weights of each terms in the document. Tf-idf up weighs meaningful words and downweighs filler stop words. Tf-idf is basically term frequency (which is the number of occurrences of a term i in document j ) multiplied by inverse document frequency which is defined by the number of times a term appears in the entire corpus. This way frequently used words like articles, verbs and exclamations get down-weighted.
  • #15 To consider semantic information from a document, reduce vector dimensionality and sparsity, we used two variation of the paragraph vectors which themselves are a variation of word vectors. These are ”distributed memory” model of paragraph vectors and “distributed bag-of-words” model of paragraph vectors.
  • #16 A distributed memory model uses document identifier and surrounding terms to predict target term. The training task is unsupervised and uses standard encoder-decoder model but adds a document memory vector. A distributed bag of word model uses document identifier as input to predict randomly sampled words from the document. These are also trained in an unsupervised manner. These representations retain semantic information of the encoded document
  • #17 Getting back to the approach Once the reports are preprocessed and denoised, the corpus of clean reports is next separated into training and test sets.
  • #18 To tackle the class imbalance problem text-augmentation using back-translation trick was used to over-sample the minority class.
  • #19 To tackle the class imbalance problem text-augmentation using back-translation trick was used to over-sample the minority class. In backtranslation process, a document in source language is first translated to a target language of choice and then is back translated to the source language. This brings a little variation in the augmented text reports. We used German as the target language for back-translation because English and German languages share the Saxon roots.
  • #20 Then the previously mentioned vectors were extracted from the denoised over-sampled training corpus.
  • #21 These vectorized documents were used to train three machine learning classifier for binary classification of the reports into high- vs. low-grades.
  • #22 The best performing model-vector combination was then used to classify samples from the test set into high- vs. low-grade
  • #23 Tf-idf vector representation with logistic regression gave a mediocre performance not even crossing the threshold of 70% for any of the metrics.
  • #31 So it could be seen that denoising and oversampling brought much performance improvement to the best performing model-vector combination
  • #32 And over-all the semantic PV-DBOW vectors consistently and considerably outperformed tf-idf which are count-based vectors. That was precisely by 23% for ROC-AUC score…
  • #34  We inspected the best performing model-vector combination using LIME to check if it actually learnt pathology relevant features. From one of the inspected high-grade sample it could be seen that the model picks strong diagnostic clues from the report.
  • #35 For the next inspected low-grade sample, the model identifies very strong clues for the report to be low-grade like the Gleason score information and histologic grade
  • #36 But the model also turns out to falsely predict high-grade report as low-grade by picking out on very irrelevant clues