All Projects → YashSharma → C2C

YashSharma / C2C

Licence: MIT license
Implementation of Cluster-to-Conquer: A Framework for End-to-End Multi-Instance Learning for Whole Slide Image Classification approach.

Programming Languages

python
139335 projects - #7 most used programming language
Jupyter Notebook
11667 projects

Projects that are alternatives of or similar to C2C

MCIS wsss
Code for ECCV 2020 paper (oral): Mining Cross-Image Semantics for Weakly Supervised Semantic Segmentation
Stars: ✭ 151 (+403.33%)
Mutual labels:  weakly-supervised-learning
TOAD
AI-based pathology predicts origins for cancers of unknown primary - Nature
Stars: ✭ 138 (+360%)
Mutual labels:  histopathology
WSDEC
Weakly Supervised Dense Event Captioning in Videos, i.e. generating multiple sentence descriptions for a video in a weakly-supervised manner.
Stars: ✭ 95 (+216.67%)
Mutual labels:  weakly-supervised-learning
wrench
WRENCH: Weak supeRvision bENCHmark
Stars: ✭ 185 (+516.67%)
Mutual labels:  weakly-supervised-learning
WSL4MIS
Scribbles or Points-based weakly-supervised learning for medical image segmentation, a strong baseline, and tutorial for research and application.
Stars: ✭ 100 (+233.33%)
Mutual labels:  weakly-supervised-learning
WS3D
Official version of 'Weakly Supervised 3D object detection from Lidar Point Cloud'(ECCV2020)
Stars: ✭ 104 (+246.67%)
Mutual labels:  weakly-supervised-learning
WeSTClass
[CIKM 2018] Weakly-Supervised Neural Text Classification
Stars: ✭ 67 (+123.33%)
Mutual labels:  weakly-supervised-learning
Cytomine-core
Cytomine-Core is the main web server implementing the Cytomine API
Stars: ✭ 70 (+133.33%)
Mutual labels:  whole-slide-imaging
concept-based-xai
Library implementing state-of-the-art Concept-based and Disentanglement Learning methods for Explainable AI
Stars: ✭ 41 (+36.67%)
Mutual labels:  weakly-supervised-learning
Exact
An open source online platform for collaborative image labeling of almost everything
Stars: ✭ 47 (+56.67%)
Mutual labels:  whole-slide-imaging
DiscoBox
The Official PyTorch Implementation of DiscoBox.
Stars: ✭ 95 (+216.67%)
Mutual labels:  weakly-supervised-learning
Advances-in-Label-Noise-Learning
A curated (most recent) list of resources for Learning with Noisy Labels
Stars: ✭ 360 (+1100%)
Mutual labels:  weakly-supervised-learning
Patch-GCN
Context-Aware Survival Prediction using Patch-based Graph Convolutional Networks - MICCAI 2021
Stars: ✭ 63 (+110%)
Mutual labels:  histopathology
reef
Automatically labeling training data
Stars: ✭ 102 (+240%)
Mutual labels:  weakly-supervised-learning
WeSHClass
[AAAI 2019] Weakly-Supervised Hierarchical Text Classification
Stars: ✭ 83 (+176.67%)
Mutual labels:  weakly-supervised-learning
Deep-Segmentation-Features-for-Weakly-Supervised-3D-Disease-Classification-in-Chest-CT
Weakly supervised 3D classification of multi-disease chest CT scans using multi-resolution deep segmentation features via dual-stage CNN architecture (DenseVNet, 3D Residual U-Net).
Stars: ✭ 24 (-20%)
Mutual labels:  weakly-supervised-learning
Learning-From-Rules
Implementation of experiments in paper "Learning from Rules Generalizing Labeled Exemplars" to appear in ICLR2020 (https://openreview.net/forum?id=SkeuexBtDr)
Stars: ✭ 46 (+53.33%)
Mutual labels:  weakly-supervised-learning
trove
Weakly supervised medical named entity classification
Stars: ✭ 55 (+83.33%)
Mutual labels:  weakly-supervised-learning
weasel
Weakly Supervised End-to-End Learning (NeurIPS 2021)
Stars: ✭ 117 (+290%)
Mutual labels:  weakly-supervised-learning
FAIRY
Fast and scalable search of whole-slide images via self-supervised deep learning - Nature Biomedical Engineering
Stars: ✭ 43 (+43.33%)
Mutual labels:  histopathology

C2C

Introduction

Implementation of Cluster-to-Conquer: A Framework for End-to-End Multi-Instance Learning for Whole Slide Image Classification approach. In this work, we propose an end-to-end framework with following features:

  • Cluster-based sampling for diverse patch selection from a WSI
  • Attention-based aggregation for slide-level prediction
  • Inclusion of KL-divergence in the loss for regularizing the intra-cluster variance

Abstract

In recent years, the availability of digitized Whole Slide Images (WSIs) has enabled the use of deep learning-based computer vision techniques for automated disease diagnosis. However, WSIs present unique computational and algorithmic challenges. WSIs are gigapixel-sized (~100K pixels), making them infeasible to be used directly for training deep neural networks. Also, often only slide-level labels are available for training as detailed annotations are tedious and can be time-consuming for experts. Approaches using multiple-instance learning (MIL) frameworks have been shown to overcome these challenges. Current state-of-the-art approaches divide the learning framework into two decoupled parts: a convolutional neural network (CNN) for encoding the patches followed by an independent aggregation approach for slide-level prediction. In this approach, the aggregation step has no bearing on the representations learned by the CNN encoder. We have proposed an end-to-end framework that clusters the patches from a WSI into k-groups, samples k' patches from each group for training, and uses an adaptive attention mechanism for slide level prediction; Cluster-to-Conquer (C2C). We have demonstrated that dividing a WSI into clusters can improve the model training by exposing it to diverse discriminative features extracted from the patches. We regularized the clustering mechanism by introducing a KL-divergence loss between the attention weights of patches in a cluster and the uniform distribution. The framework is optimized end-to-end on slide-level cross-entropy, patch-level cross-entropy, and KL-divergence loss.

How to Use

Use the main notebook for experimenting and orchestrating the training. It can be easily modified to python script for scalable training. The train funciton in the notebook requires an input file containing following columns:

  • path - location of patches
  • wsi - unique identifier corresponding to each patch
  • label - binary label (0 or 1)
  • is_valid - if wsi is part of validation split

Directory Set-Up

C2C/
   ├── models
         ├─── resnet.py
   ├── dataloader.py
   ├── train.py
   ├── cluster.py
   ├── loss.py
   ├── eval_model.py
   ├── utils.py

MIDL Video

MIDL Video

Reference

If you find our work useful Please consider citing our paper:

@article{sharma2021cluster,
  title={Cluster-to-Conquer: A Framework for End-to-End Multi-Instance Learning for Whole Slide Image Classification},
  author={Sharma, Yash and Shrivastava, Aman and Ehsan, Lubaina and Moskaluk, Christopher A and Syed, Sana and Brown, Donald},
  year={2021}
}

Under review at MIDL: https://openreview.net/forum?id=7i1-2oKIELU

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].