Baseline training algorithm for the DRAGON Challenge
Project description
DRAGON Baseline Algorithm
This repository provides the baseline code for the DRAGON Challenge.
If you are using this codebase or some part of it, please cite the following article:
BibTeX:
PENDING
Installation instructions
We strongly recommend that you install the DRAGON baseline in a virtual environment! Pip or anaconda are both fine. Use a recent version of Python! 3.9 or newer is guaranteed to work!
pip install dragon_baseline
What is the DRAGON benchmark?
The DRAGON benchmark serves as an extensive resource for testing and advancing clinical NLP algorithms, particularly in the realm of automated data curation. In the context of medical imaging datasets, data curation involves selecting relevant studies, collecting key measurements, and determining the clinical outcomes as labels. Clinical reports are the primary source for these curation tasks. The DRAGON benchmark aims to catalyze the development of algorithms capable of addressing a broad spectrum of data curation tasks and introduces 28 clinically relevant tasks, as detailed here.
What can the DRAGON algorithm do for you?
If you are a domain scientist (radiologist, pathologist, ...) looking to automate your own data curation, the DRAGON algorithm provides an out-of-the-box solution that is all but guaranteed to provide excellent results on your individual dataset. Simply convert your dataset into the DRAGON format and enjoy the power of AI - no expertise required!
If you are an AI researcher developing NLP methods, DRAGON:
- offers a fantastic out-of-the-box applicable baseline algorithm to compete against
- can act as a method development framework to test your contribution on a large number of datasets without having to tune individual pipelines (for example evaluating a new loss function)
- provides a strong starting point for further dataset-specific optimizations. This is particularly used when competing in NLP challenges
- provides a new perspective on the design of NLP methods: maybe you can find better connections between dataset properties and best-fitting NLP pipelines?
What is the scope of the DRAGON challenge?
The DRAGON benchmark focusses on clinical NLP with "closed questions" (see the eight task types at the top). This means that generative models are out of the scope for the DRAGON challenge.
DRAGON relies on supervised learning, which means that you need to provide training cases for your application. The number of required training cases varies heavily depending on the complexity of the problem. No one-fits-all number can be provided here!
How does the DRAGON baseline work?
Given a new dataset, DRAGON will systematically analyze the provided training cases and create a 'dataset fingerprint'.
DRAGON configures its pipeline based on a two-step recipe:
- Fixed parameters are not adapted. During development of the DRAGON baseline we identified a robust configuration (that is, certain architecture and training properties) that can simply be used all the time. This includes, for example, the loss function and learning rate.
- Rule-based parameters use the dataset fingerprint to adapt certain segmentation pipeline properties by following hard-coded heuristic rules. For example, the regression target is transformed with a logarithmic function when the skew of the label distribution is more than one.
How to get started as AI developer?
Please see the dedicated development guide to get started with creating new solutions!
How to get started to use existing DRAGON algorithms?
If you want to use an existing algorithm to annotate new data, you need:
- Manually annotated training data (provided by you)
- Manually annotated validation data (provided by you)
- The data you want to annotate (we call this "test data" because in the context of the benchmark, the algorithm will provide predictions for the test data)
First, prepare the data in the correct dataset convention: please see the dataset conversion for more information.
You can use the algorithm on Grand Challenge or locally. Either way, the algorithm will fit the model to your training data, have it select the model checkpoint based on your validation data, and then produce the model predictions for the "test data". To use the algorithm on Grand Challenge, navigate to the leaderboard and select the algorithm you want [PENDING].
If you prefer to perform these steps on your own hardware, please follow the steps in "How to get started as AI developer?" to learn how to set this up. You can find the GitHub repository of submissions on the leaderboard under the GitHub icon [PENDING].
Where does the DRAGON baseline perform well and where does it not perform?
Pending evaluation on the DRAGON benchmark.
Managed By
Diagnostic Image Analysis Group, Radboud University Medical Center, Nijmegen, The Netherlands
Contact Information
Joeran Bosma: Joeran.Bosma@radboudumc.nl
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dragon_baseline-0.3.0.tar.gz
.
File metadata
- Download URL: dragon_baseline-0.3.0.tar.gz
- Upload date:
- Size: 47.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cc3bf4753754a3005f5163e047d7a5bd9eff58e9691dab1084d793d614b2f18 |
|
MD5 | 820abaf5c139945f668cda4bee9cb62f |
|
BLAKE2b-256 | 2a9485d53b336a10df84254946e7587c3ee532b4ed7480d8aaad46b7de11c101 |
File details
Details for the file dragon_baseline-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: dragon_baseline-0.3.0-py3-none-any.whl
- Upload date:
- Size: 55.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ad27398b5b268e5548688672e7c6576f5540fb37fcd531c666a462f14148ac4 |
|
MD5 | 719c8560684cfc6833b474d1d313d878 |
|
BLAKE2b-256 | 43562ac7130884ebcd8a65f20c84979421a5db34d37859c0236629854fb6a373 |