AI will revolutionise rheumatology imaging and diagnostics. But what are the risks?
Artificial intelligence (AI) is making inroads across most fields of medicine, with the potential to reduce workloads for specialists while improving screening, diagnosis and treatment for patients.
However, the use of AI in clinical practice also raises many legitimate concerns, from the risks of relying on an often-opaque decision-making process, to the potential for AI to magnify incorrect assumptions and biases, and the concerns of patients about its safety.
Rheumatologist and ARA spokesperson on technology, Professor Rebecca Grainger, says that while many clinicians may be understandably apprehensive about the introduction of AI, she sees it as another very useful tool to help understand disease.
She says that AIâs role in practice will provide similar utility to that of peer-reviewed clinical studies.
âPreviously, weâve used statistical methods in academic studies to help us understand patterns and associations around disease, and to consider how the findings might apply to our own setting.
âTo interpret conventional studies, we ask questions like: who is the population that the study is sampling from? Are there any problems with the samples? What are the limits of the statistical tools that are used, and how reliable and applicable are the findings?â
This has meant doctors need an understanding of both the disease, and the mathematical process used to interpret findings from various studies, Professor Grainger says.
âThe same applies to AI and machine learning. You canât just randomly choose a sample, create a model and then apply it to other settings unless you understand the data that the model has been trained on, and whether the application of this model is appropriate to the setting.â
AI and deep learning
Melbourne rheumatologist Dr Christopher McMaster is immersed in a range of research projects that use data science methodologies.
These include using algorithms to analyse PET scans with colleagues at Austin Health, and applying machine learning to do radiographic scoring of x-rays with an Adelaide-based colleague.
Dr McMaster worked as a data scientist before studying medicine, and recently published an overview of the application of AI in rheumatology [1].
He says that rheumatology is rife with âunstructuredâ data, such as images and free text, which can be difficult to analyse at scale â but AI will let us to unlock a wealth of information held within these data formats.
The emergence of deep learning, where AI can âlearnâ the structure underlying collections of images and text, allows AI programs to improve their responses over time as they gather more data.
Diagnostic labels within various conditions can be very difficult to categorise.
âFor example, even though we have classification criteria for diagnoses, assessing things like the amount of bone erosion or the extent of connective tissue disease can involve a level of subjectivity and possible inter-observer disagreement,â he says.
Pathophysiology underlies all disease, he adds, but no two people with the same classification or diagnostic label will have similar immunologic mechanisms, so a lot of heterogeneity exists even within the one label.
âWhile that can initially make it hard to apply AI, it also makes it really promising because deep learning can absorb a whole lot of information from images and data, and then identify connections and subtle features to either differentiate or associate these, in ways that humans find difficult,â he says.
AI can process more information
Dr McMaster says that because clinicians can only see a finite number of patients, their practical knowledge and exposure to various conditions is limited to the patients who present to them, which can be somewhat random.
âWith rarer disease, you may only see a certain condition very occasionally, so youâre only seeing a small sample, separated in time, making it hard to connect all the dots,â he says.
In comparison, a deep learning model which gathers data from multiple centres will, by sheer weight of numbers, have a less biased sample.
âSupervised learning techniques are very effective for diseases that have discrete labels, for example, to distinguish rheumatoid arthritis from osteoarthritis,â he says.
However, these techniques fall down in the face of disease where thereâs very diverse presentations, such as lupus, he says, where different patients might respond to certain treatments differently.
âThis is where deep learning, or unsupervised learning, is useful, as it takes a data-driven approach to classification,â Dr McMaster says.
âThis could be an advantage over current methods where we clinicians, from our limited sample and our own biases, decide the criteria and methods for classifying patients,â he says.
âData-driven identification of common features can tap into a far larger information base to characterise disease.â
Genius methods to train AI models
While some specialties grapple with huge volumes of data, getting the most out of rheumatologyâs smaller data sets has involved some clever techniques.
AI models can be trained using âcontrast learningâ: giving it random images and training the model to tell them apart.
âThis helps an AI model learn general features which can then be used and transported to your dataset,â Dr McMaster says.
Other methods include augmentation, where random alterations are introduced to the small data set.
âThe model is given a few different copies of each image to learn from, with random alterations each time that reflect possible variations â the image might be rotated, flipped, or have some noise introduced,â Dr McMaster explains.
More useful are the different ways to gather real-world data from a range of sources.
âTaking anonymised images from a group of hospitals and pooling their data sets allows us to improve pattern recognition, and certain private radiology services may also allow access to much larger data sets,â he says.
Another tool called federated learning involves multiple sites that contribute to training a model, not by sharing their data, but by sharing the changes to this model, which is distributed among different sites to each train on their own dataset.
Rich sources of data
Unstructured data in rheumatology can come from a range of sites including the text in biopsy reports, electronic health records and images such as ultrasounds and radiographs.
Rapid advances in natural language processing (NLP), or the ability for computers to identify important keywords and patterns from unstructured text, means that AI models can extract surprising amounts of information from clinical notes.
One example is the use of NLP to identify patients with rheumatic diseases from electronic health records, which Dr McMaster and colleagues trialled on a series of temporal artery biopsy reports, with results presented at ACR Convergence in 2021[2].
Their AI model classified temporal artery biopsy reports based on the presence of three histopathological features (adventitial inflammation, giant cells, intimal hyperplasia) and the overall conclusion (giant cell arteritis or not).
It was trained on 161 biopsy reports from one centre, then tested on 220 biopsy reports from a second centre. Initial results showed very high accuracy of 99% from the original centre, and 93% from the second centre.
Dr McMaster says a decision about the desired outcome must be made up-front before training AI models.
âSome methods will take existing patient data, where the diagnosis is known, and use that to try to improve the efficiency and accuracy of clinical medicine, reflecting the tasks and problems that we already use,â he says.
âHowever, unsupervised learning can be very useful for knowledge generation and scientific discovery, because deep learning can deal with multiple data types at enormous scale with great accuracy, to learn more and learn more quickly than would be otherwise possible.â
Reducing healthcare disparities?
One of the known pitfalls of artificial intelligence involves its potential to magnify prejudiced assumptions and predispositions, leading some to suggest that AI could also be shorthand for âaugmenting inequalityâ[3].
However, a range of studies have found that AI can also deliver results that eliminate certain biases, such as a 2021 study published in Nature Medicine[4]. It used a deep-learning approach to measure the severity of osteoarthritis by using knee x-rays to predict patientsâ experienced pain.
The study showed that the approach dramatically reduced unexplained racial disparities in pain and proposed that algorithmic predictions could potentially redress disparities in access to treatments, such as arthroplasty.
Dr Oscar Russell, rheumatology trainee and clinical associate lecturer at the University of Adelaide, says that these interventions may play a big role in helping to improve patientsâ autonomy and access to care in the future.
Dr Russell and colleagues recently investigated the link between patientsâ socioeconomic status (SES) and their disease outcome in rheumatoid arthritis, finding that higher SES patients had less disability soon after their RA diagnosis, and improved at a faster rate than lower SES patients â a finding thatâs consistent with international data, despite Australiaâs universal healthcare system.
The study also found higher SES patients received fewer opioid and prednisolone scripts and a lower overall dose of opioids.
âHow we measure SES in the rheumatology literature is extremely heterogenous, which has impacts for comparisons between studies,â he says, adding that most studies used relatively few measures, often relying instead on either a personal measure or a contextual/neighbourhood measure rather than using both.
Dr Russell says that the advent of inexpensive, effective mobile health interventions may go some way to addressing these disparities. He notes that most of these interventions donât currently use AI, with commonly used patient apps typically medication self-management diaries and symptom monitors, such as the Arthritis Australia myRA app.
AI arthritis app for GPs
One practical application of AI in rheumatology is currently under development by an Australian team led by Perth-based rheumatologist Dr Mark Reed.
The team â which includes data scientists with a medical background â has developed an AI-based arthritis screening smartphone app to help primary care physicians identify different forms of arthritis from a short questionnaire, plus a photo of patientâs hands.
Arthritis reportedly affects around 15 per cent of Australians (although some studies suggest that arthritis is significantly under-diagnosed), and osteoarthritis is the most common type.
Both osteoarthritis and rheumatoid arthritis commonly present with signs and symptoms in the hands, but while there has been excellent progress with the treatment of inflammatory arthritis, screening remains inadequate and can result in delayed diagnosis and treatment.
In May, the team published the results of their multicentre validation study of the arthritis screening app[5]. Results were analysed from a study of 248 new patients across seven private rheumatology practices.
The app combines several algorithms to accurately identify different forms of hand arthritis, predicting rheumatoid arthritis with 85 per cent accuracy, psoriatic arthritis with 95 per cent accuracy and osteoarthritis with 77 per cent accuracy.
âWe designed the app to fill an unmet need for GPs, who often rely on blood tests and x-rays to screen patients who present with arthritis affecting the hands,â Dr Reed says.
These tests can be flawed, he says, because while some patients will have elevated inflammation or serology markers, the normal or negative results donât exclude most inflammatory conditions.
âA GP without a lot of training or experience with particular conditions wonât really know what to do with those patients, and often they will just suggest Panadol,â he says.
The app guides the primary care physician through the clinical questions, weighting the responses based on intelligence gathered from a large dataset from real patients with these conditions.
âOne algorithm analyses the smartphone photo that the GP takes of the patientâs hands. Then another algorithm combines the image assumptions with the responses to the survey to deliver a result â for example, it might tell the GP, âthis looks like osteoarthritisâ,â Dr Reed says.
The whole process can take less than three minutes, so itâs easily done within a standard consultation, he says.
Because osteoarthritis can be managed by a GP, Dr Reed says that the app has the potential to reduce around 40 per cent of unnecessary referrals.
âWe also often get rheumatoid arthritis patients who should have been referred to a rheumatologist earlier, but their blood tests were normal.â
Dr Reed says that the appâs accuracy in identifying arthritis sub-types could also be used for rheumatologists so that they can triage high-need patients more urgently.
âSome rheumatologists have waiting lists over 12 months; thereâs a real shortage of specialists. This app has the potential to help us work smarter and have better triage and referral processes so that urgent cases can be properly prioritised.â
The arthritis screening app now has TGA approval, and the next challenge involves getting the app into the hands of GPs, says Dr Reed, which may involve commercialisation to ensure it has ongoing resourcing and relevance.
The importance of clinical experts
Dr McMaster says it is critical that rheumatology applications of AI make use of clinical experts, ensuring they are heavily involved in formulating hypotheses and developing and testing AI models.
âDomain experts need to play a critical and central role in all of this,â he says. He doesnât agree that experts may potentially entrench bias. âOn the contrary, thereâs a far greater risk of increasing bias if you donât understand the problem.â
He says that todayâs medical students have probably learned computer science and programming at school, and an understanding of machine learning is already being introduced into the medical curriculum in many institutions.
âThereâs no doubt that AI will play a central role in rheumatology in future, and itâs incumbent on all of us to learn about it,â Dr McMaster says.
âClinicians need to be central in developing applications of AI because deep learning practitioners tend to only interact with the world of patients through a dataset â maybe it contains images and pain scores, and their outcome is to use this to predict pain scores.
âBut the world of patients is not a data set, it contains real people and their lives, and their outcomes are about gaining a better quality of life. So, itâs important that when we apply AI we think much more deeply about what we are trying to achieve.â
References
[1] McMaster C, Bird A, Liew DFL et al. Artificial Intelligence and Deep Learning for Rheumatologists: A Primer and Review of the Literature. Arthritis Rheumatol 2022, online 20 July.
[2] McMaster C, Yang V, Sutu B et al. Temporal artery biopsy reports can be accurately classified by artificial intelligence âArthritis Rheumatol 2021, 73 (suppl 10)
[3] Leslie D, Mazumder A, Peppin A et al. Does âAIâ stand for augmenting inequality in the era of covid-19 healthcare. BMJ 2021, 372; 304
[4]Pierson E, Cutler DM, Leskovec J et al. An algorithmic approach to reducing unexplained pain disparities in underserved populations. Nat Med. 2021 27:136-140
[5] Reed M, Rampono B, Turner W et al. A multicentre validation study of a smartphone application to screen hand arthritis. BMC Musculoskelet Disord 2022, 23; 433