<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[MGH Computational Pathology - Medium]]></title>
        <description><![CDATA[We are a cross-disciplinary team of software engineers, data scientists, bioinformaticians and medical professionals using big data &amp; machine learning to deliver better patient care at the Massachusetts General Hospital. - Medium]]></description>
        <link>https://medium.com/mgh-computational-pathology?source=rss----f924998bacef---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>MGH Computational Pathology - Medium</title>
            <link>https://medium.com/mgh-computational-pathology?source=rss----f924998bacef---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 23:52:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/mgh-computational-pathology" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Machine Learning in the Clinic: Dynamic Evolution of A Predictive Model for Somatic Variant…]]></title>
            <link>https://medium.com/mgh-computational-pathology/machine-learning-in-the-clinic-dynamic-evolution-of-a-predictive-model-for-somatic-variant-c820cfe4b29b?source=rss----f924998bacef---4</link>
            <guid isPermaLink="false">https://medium.com/p/c820cfe4b29b</guid>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Lev Lipkin]]></dc:creator>
            <pubDate>Fri, 23 Mar 2018 17:13:21 GMT</pubDate>
            <atom:updated>2018-03-23T17:22:18.507Z</atom:updated>
            <content:encoded><![CDATA[<h3>Machine Learning in the Clinic: Dynamic Evolution of A Predictive Model for Somatic Variant Reporting</h3><p>Personalized treatment based on tumor genotyping has become the standard of care for cancer patients. Our team at the Massachusetts General Hospital develops the software and infrastructure to enable this kind of tumor genotyping in a clinical setting based on Next Generation Sequencing technology. This is predicated on our ability to detect abnormalities known as somatic variants — changes specific to the tumor and not attributable to normal population variation. Unfortunately, somatic variants can occur at low levels and be difficult to detect, necessitating the use of sophisticated bioinformatics analysis pipelines. Those pipelines, while extremely sensitive, are also noisy: at MGH, we typically encounter 2000+ variants per patient in our solid tumor cancer panel, but only a small subset (2–3 variants, ~0.1%) are ultimately reported following a time-consuming and laborious review process by a molecular pathologist. In order to make the review process more efficient, in 2017 we implemented a machine learning model for automatically flagging reportable somatic variants based on their annotations from the bioinformatics pipeline, as well as historical reporting experience within the assay. The latest iteration of our model achieves an AUC of 98.8% with a false negativity rate below 1% and is now part of the clinical workflow, having processed 8 million variants in 2017 alone. In this article we describe our experience deploying the model and its subsequent evolution to become an integral decision support tool for somatic variant reporting in cancer at MGH.</p><p>This work builds on the foundation laid by Zomnir et al: <a href="http://ascopubs.org/doi/full/10.1200/CCI.16.00079">http://ascopubs.org/doi/full/10.1200/CCI.16.00079</a></p><h3>Somatic variant review</h3><p>The review process of genetic variants by a pathologist consists of two steps: 1) filtering the variants from vast cohort of detected variants based on technical QC criteria like sequencing depth and 2) identifying a subset for reporting to the oncologist. Typically, only about 0.4% of variants pass the first filter, and of those only 25% are reported to the oncologist on average, for an aggregate prevalence of 0.1%.</p><p>Needless to say, 2000 variants are time-consuming to manually review, and the review process carries an increased risk of false negatives due to the sheer number of variants involved. Those considerations made the development of a decision support system critical for us at MGH.</p><p>To train the system, we gathered pathologist-annotated variants from over 1000 molecular cases then trained a Random Forest classifier using human decisions as ground truth. We deployed the beta version of the system in November 2016, integrating it with our genomic review tool VarVetter (Figure 1). The initial model had a cross-validated AUC of 98%.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/695/1*FXVymGQ4i4X-gHtJfjIZIw.png" /></figure><p><em>Figure 1: Machine Learning prediction for somatic reporting in the VarVetter tool. The “ML” column shows the probability that a variant is a real somatic variant. The molecular pathologist can “vet” the variant YES for reporting to the oncologist.</em></p><h3>Model evolution and the meta-learning ensemble</h3><p>After the first few weeks of clinical deployment, the resulting data confirmed strong class imbalance of reported variants, with only a small proportion of all variants being classified as positive. In particular, analysis of the data showed a high rate of novel variants which were being incorrectly classified as negatives. We observed, however, that we could significantly reduce this imbalance if read quality parameters and statistics from variant callers are clipped at about 95% of initial representative sample ranges.</p><p>Based on that analysis we decided to proceed with the development of a meta-learning approach [2] using an ensemble of two learners. The first learner is applied to “easy/representative” variants passing the 95% filter and is tuned for high precision. The second learner is applied only to the rejected variants in order to look for ‘diamonds in the rough’ — novel or otherwise promising variants buried in the large pool of negatives. The first classifier detects 97.6% of all positives, while the second recovers an additional 1.7%. The ensemble approach allowed us to tune the precision/recall tradeoff in the face of extreme class imbalance, allowing us to detect 99.3% of all positives while keeping false positives manageable. The schema of the resulting meta-learning ensemble is shown at Figure 1.</p><p>After the first few months we observed different rate of improvement for the two models in the ensemble. The first model (representative variants) reached clinically acceptable performance after about 6 months, while the “outlier” model took another 6 months to achieve satisfactory accuracy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*72aHoTnlpwWEqM8kVFd2ig.png" /></figure><p><em>Figure 2: Balancing sensitivity and specificity in a problem with extreme class imbalance using an ensemble approach. High-confidence variants which pass QC criteria (1% of total) are classified with a random forest classifier to give a highly specific prediction. The other variants (99% of total) are checked for promising outliers and fed into a logistic regression model, giving a highly sensitive prediction. We found that this approach detected almost all true positives (99.3%) while keeping false positives manageable in a problem where only 0.1% of all variants are reportable..</em></p><p>After deploying the ensemble, we observed improved correlation of cross-validated statistics with rate of novel variants (detected first time in the panel) and rate of variants reported for the first time. While the increasing amount of training data and the increasing consensus between pathologists played a role, the major contributing factor to this correlation was the high rate of variants becoming representative and passing the first filter: 97.6% of all reported variants. Figure 3 demonstrates the evolution of novel variants for this cohort.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/1*_gHgLBii9ekHpcRRGi6h9A.png" /></figure><p><em>Figure 3: Rate of novel variants over time since model deployment</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/1*_gHgLBii9ekHpcRRGi6h9A.png" /></figure><p><em>Figure 4: AUC of the model when trained on variants up to and including the given quarter, and applied to future variants.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/1*_gHgLBii9ekHpcRRGi6h9A.png" /></figure><p><em>Figure 5: False Negative Rate over time</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/1*_gHgLBii9ekHpcRRGi6h9A.png" /><figcaption>Figure 6: False Positive Rate over time.</figcaption></figure><p>Figures 4, 5, and 6 show evolution of statistics with the development timeframe. The statistics were evaluated on prospective cases not used in building the model. This provided the added benefit of accounting for any drift in variant reporting by the pathologists, as may be explained by different types of cases being tested and/or growing familiarity with the assay.</p><p>Over time, most accuracy improvements came from the reduction of false positives. Reduction of false negatives below achieved rates (around 0.7%) remains challenging. The analysis of false negatives revealed borderline variants without consensus between pathologists and reflects our continuously-evolving understanding of cancer genetics.</p><p>Furthermore, we improved real-world performance by lowering the call threshold, which lead to a decrease in false negatives without a substantial increase of false positives. This threshold lowering was also applied for data generation for the graphs above.</p><h3>Outlier predictor</h3><p>Figures 7–10 show the evolution of the outlier predictor. For training the predictor before deployment (and evaluating the predictor ability to meet target statistical goals) we used 10-fold cross-validation. In graphs below we used prospective data while training on data available during the particular quarter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/1*E2vQ34Z6ZLcgASCXLA9isg.png" /></figure><p><em>Figure 7: Accuracy of the outlier predictor on variants which failed the first filter.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/1*E2vQ34Z6ZLcgASCXLA9isg.png" /></figure><p><em>Figure 8: AUC of the outlier predictor.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/1*E2vQ34Z6ZLcgASCXLA9isg.png" /></figure><p><em>Figure 9: Specificity of the outlier predictor.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/1*E2vQ34Z6ZLcgASCXLA9isg.png" /></figure><p><em>Figure 10: False Positive overhead of the outlier predictor trained on variants not passing filter.</em></p><h3>Conclusions</h3><p>We developed a Machine Learning predictor for somatic variant reporting with an AUC of 98.8%, and deployed it as part of the standard clinical workflow for our solid tumor panel at MGH. The model processed over 8 million variants in 2017 and has been used by molecular pathologists as an integral decision support tool. As part of the rollout, we learned multiple important lessons about deploying ML in the clinic:</p><p>· Focus on the end-user and their needs. We established realistic target statistics concentrating on helping pathologists with the signout process. Full automation of the decision process was not the aim of this work. Target statistics were focused on minimizing false negatives in order not to miss reportable variants, while keeping false positives manageable.</p><p>· Continuously monitor performance and iterate. We expected initial lowering of statistical results after major alterations to the test content, such as panel changes and/or panel coverage extensions. Novel variant rates helped with monitoring the signout process to determine when stabilized outcomes and consensus were achievable. Such stabilization and consensus are essential to be able to meet target statistics goals from the cross-validation runs.</p><p>· Do not rush deployment and plan for a trial period. During the initial period of consensus building and limited data availability we expected the accuracy metrics to be inferior to the metrics achievable in the long run. In our experience AUC was lower and false positive overhead rates were elevated. Models based on such data did not meet the criteria for clinical deployment.</p><p>· Splitting variants into different cohorts (representative and outliers) through a meta-learning ensemble of predictors allowed the fine-tuning of precision and recall in a problem with extreme class imbalance.</p><h3>References.</h3><p>[1] Michael G. Zomnir, Maciej Pacula, Nishchal Nadhamuni, Lev Lipkin, Sekhar Duraisamy, Enrique Dominguez Meneses, Allison MacLeay, Saeed H. Al Turki, Zongli Zheng, Miguel Rivera, Valentina Nardi, Dora Dias-Santagata, A John Iafrate, Long P. Le, and Jochen K. Lennerz. An Artificial Intelligence Approach for Variant Reporting. Accepted by JCO Clinical Cancer Informatics, 2018.</p><p>[2] LeDell E, van der Laan MJ, Peterson M. AUC-Maximizing Ensembles through Metalearning. <em>The International Journal of Biostatistics</em>. 2016;12(1):203–218. doi:10.1515/ijb-2015–0035.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c820cfe4b29b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mgh-computational-pathology/machine-learning-in-the-clinic-dynamic-evolution-of-a-predictive-model-for-somatic-variant-c820cfe4b29b">Machine Learning in the Clinic: Dynamic Evolution of A Predictive Model for Somatic Variant…</a> was originally published in <a href="https://medium.com/mgh-computational-pathology">MGH Computational Pathology</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>