Algorithm development and the future of healthcare
The promise of AI in healthcare
The utopia where an artificial agent such as Star Trek's medical hologram can diagnose and solve all of humanity's ills and maladies in an efficient and personal manner is centuries away, and at the moment is only a fanciful idea whose home is the imagination of the sci-fi author. This has not stopped researchers, and companies from trying to use artificial methods to diagnose and recommend treatment. None of the attempts have come close to the promise of the fiction scribblers, and in some cases the advice given is dangerous and life threatening. This does not mean that current AI and machine learning advances cannot dramatically improve health outcomes for patients.
Big data, deep learning and healthcare
Healthcare is being disrupted by AI and big data and deep learning have long passed into the social discourse of non-AI practitioners, and have made many promises which are on the verge of being kept. Deep learning has dramatically improved the performance of computer vision systems, and this has translated into improved performance for disease detection. For example, image systems have shown super-human performance in areas such as breast cancer, prostate cancer and more recently COVID. Deep learning uses CNN (Convolutional Neural Networks) in a supervised learning pipeline where an Oracle such as a human labels a set of images which consists of images of people with the target disease, and ones without. The system from the images will generalize what a health image should like, and an image with the disease should look like. It will then assign a label to unseen examples as either having the disease or not. This is called image classification. It does not highlight on the image where the tumor, or the infected area is.
Object detection for disease identification
Systems that identify the diseased area are often referred to as object detection. Object detection is where the model highlights the disease area with a box, similar to what you can see on consumer grade cameras where the system tries to highlight the faces of the subjects. An example is shown below
Image Source
As you can see in the last image the tumor is highlighted by a red bounding box. This information is obviously more informative than a label. This technique has been used in screening for common cancers such as: cervical cancer and lung cancer.
Semantic pixel labelling
An extension to object detection is semantic pixel labeling. This is where each pixel is assigned a label. In the above image, semantic pixel labeling would have labels typically in the form of a colour for healthy lung tissue and a different colour for the diseased lung material. The image below shows the output of simple semantic segmentation where the lungs are marked in green and the heart in red. Although the image is simple, and lacks detail needed for disease recognition, it is clear that this image holds more information than the equivalent X-ray or CT-Scan.
Image Source
Semantic pixel labelling has been used to assist detection of breast cancer and COVID .
Training deep learning models for healthcare
Training deep learning models from scratch can take many thousands of images, which often are done by hand, which can take many hours of manual labour. However once a model is trained it can be repurposed for other diseases. The repurposing of existing models uses a family of techniques called transfer learning which adapts a model from one domain to another. It is possible to use transfer learning from non-medical images to image tasks as diverse as: chest radiography, mammography, and dermatology.
Despite the large advances in image processing by deep learning techniques, they should be seen as an assistant to a medical professional and not a replacement. And as normal with current AI technologies there is bias against non-white patients. Deep learning has pushed the envelope in medical imaging, but there is a long way to go before it can be used reliably without human intervention.
Deep learning is not limited to image processing and can be used to predict health outcomes such as heart attacks, diabetes and mental health. These types of tasks take time series data from which an inference can be made. Again most of the attempts use supervised learning where data from known cases are used to train a model. Unlike the image processing previous classifications will have an effect on the next classification. Traditional learners such as CNN don't remember state. Learners like LSTM (Long Short Term Memory) and GRU (Gated Recurrent Unit) remember state and can learn long range dependencies, and therefore these learners are used to tackle health outcome problems. With the rise of wearable tech such as smartwatches it is now possible with deep learning to monitor for possible future health conditions such as heart attacks and deduce other medical information such as respiration rate. The time is not far off where paid services could be available where an at risk individual's health could be constantly monitored, and early intervention could be arranged before the condition or event takes hold.
Natural language processing for healthcare
The final application of deep learning in the medical domain is natural language processing where deep learning is used to analyze text and makes inferences about the underlying text. Mental health conditions can be detected through writing. Depression for example has a specific writing style or changes in writing style. Deep learning for text can be used to perform large scale mental health filtering by: monitoring social media. And in common with sensor monitoring, it is quite feasible that at risk patients could be monitored, and early intervention could be arranged when there are indications of mental health problems such as psychosis. Natural language processing is an under exploited area in medicine, and therefore we can expect a growth of applications in this area.
The future is here, but it is unevenly distributed, is a truism for deep learning in medicine, currently there are applications for mass remote health screenings, and assisting doctors and medical professionals. However the dream of automated medicine is a long way off. In the next blog post we will look at the near future applications of deep learning in medicine.
If you would like some help to find out what AI can do to help you and to find out what we have already built in the field of AI healthcare, have a look at our AI consulting services.
Let us solve your impossible problem
Speak to one of our industry specialists about how Artificial Intelligence can help solve your impossible problem