Analysing Environmental Efficiency in AI for X-Ray Diagnosis
Liam Kearns · 2025
Read Analysing Environmental Efficiency in AI for X-Ray Diagnosis by Liam Kearns (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2511-07436.txt.
Introduction
Liam Kearns compares the accuracy and carbon cost of artificial intelligence tools that read chest X-rays. Large language models are flexible and easy to call through online services. Smaller custom models built for one task may do the same job with far less energy.
Fourteen model setups were placed inside a Mendix application that detects Covid-19 in chest images. Smaller discriminative models also supplied knowledge that helped the large models answer. Smaller models cut the footprint sharply, though output quality varied by setup. The benchmark helps hospitals weigh diagnostic performance against environmental cost when choosing medical AI tools.
Catalog record
| CREATOR | Liam Kearns |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 52 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2511-07436
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Analysing Environmental Efficiency in AI for X-Ray Diagnosis Liam Kearns Abstract The integration of AI tools into medical applications has aimed to improve the efficiency of diagnosis. The emergence of large language models (LLMs), such as ChatGPT and Claude, has expanded this integration even further. Because of LLM versatility and ease of use through APIs, these larger models are often utilised even though smaller, custom models can be used instead. In this paper, LLMs and small discriminative models are integrated into a Mendix application to detect Covid-19 in chest X-rays. These discriminative models are also used to provide knowledge bases for LLMs to improve accuracy. This provides a benchmark study of 14 different model configurations for comparison of accuracy and environmental impact. The findings indicated that while smaller models reduced the carbon footprint of the application, the output was biased towards a positive diagnosis and the output probabilities were lacking confidence. Meanwhile, restricting LLMs to only give probabilistic output caused poor performance in both accuracy and carbon footprint, demonstrating the risk of using LLMs as a universal AI solution. While using the smaller LLM GPT-4.1-Nano reduced the carbon footprint by 94.2% compared to the larger models, this was still disproportionate to the discriminative models; the most efficient solution was the Covid-Net model. Although it had a larger carbon footprint than other small models, its carbon footprint was 99.9% less than when using GPT-4.5-Preview, whilst achieving an accuracy of 95.5%, the highest of all models examined. This paper contributes to knowledge by comparing generative and discriminative models in Covid-19 detection as well as highlighting the environmental risk of using generative tools for classification tasks. K eywords Covid-19 \cdot machine learning \cdot carbon footprint \cdot green AI 1 Introduction In recent years, there has been an increase in the commercialisation of machine learning models, especially large language models (LLMs). This has led to a rapid advancement in the capabilities and use cases of artificial intelligence (AI). As these models have grown in their capabilities, their size have increased, requiring a greater level of computational resources. With GPT-4 consisting of more than 1.7 trillion parameters [ 1 ] , the size of these models can be in the terabyte range. Models of this size are not feasible for individuals or companies with limited resources to host, thus creating a reliance on third parties to host such models. The medical field has been significantly influenced by advances in AI. Commercialised LLMs, such as ChatGPT and Claude, have been proposed as tools to assist with medical diagnoses [ 2 , 3 , 4 ] . Nevertheless, an overreliance on third-party models is not a universal solution. Sharing data with external providers can cause security risks and infringe on regulations if malpractice risks patient harm [ 5 , 6 ] . LLMs can also falter with simple, case-specific tasks despite showing high confidence in the outputs given [ 7 ] . Furthermore, using API calls to an external provider comes with disadvantages, such as higher latency and costs, which can increase the carbon footprint of medical applications. This is a prominent issue in the medical field, with medical imaging emitting high levels of greenhouse gases [ 8 ] . As AI assistance in this field increases, concerns regarding carbon emissions caused by using third-party LLMs will become a prominent issue. An alternative to third-party models is to deploy models in the environment of an application. Although this reduces latency and gives greater control over data security, resource consumption becomes a major concern and limitation. It is impractical to deploy commercial-sized LLMs in application environments; therefore, local models must be designed and developed to consume less memory. However, reducing model sizes typically means narrowing the scope and accuracy. This trade-off is not suitable for the medical field, as inaccurate disease detection can result in delayed diagnosis and treatment [ 9 ] . Consequently, reducing model memory to reduce carbon footprints should not come at the cost of model accuracy. This paper investigates the performance of LLMs with smaller discriminative models in a classification task. The accuracy and carbon footprints of models are compared to determine whether LLMs are a sustainable tool for specific classification tasks, or whether discriminative models improve environmental sustainability of AI-assisted applications without negatively impacting model accuracy. In the context of this paper, small models and local models are used as interchangeable terms. These terms refer to the discriminative models deployed in the application environment discussed in Section 3 . Figure 1: Application using machine learning models to diagnose Covid-19 in chest X-rays. The scope of this paper is focused on using machine learning models in a medical context for the detection of Covid-19 from chest X-rays. As illustrated in Figure 1 , the application used in this paper uses both externally hosted LLMs and local models to determine the probability that an X-ray shows signs of Covid-19. Given the implementation of discriminative models as local models, a classification use case was required to train these models. Although generative models have a larger scope of capabilities than just outputting probabilities, the focus on a single disease facilitates straightforward comparison between models, with the model outputs determining whether an X-ray shows signs of the presence of Covid-19. Because of the specific scope, the results of this paper may not extrapolate to the detection of other diseases, primarily due to data available to train models on other diseases. This scope aims to determine whether local models can outperform LLMs in accuracy and environmental efficiency when given a specific field to work in. The structure of the paper is as follows. Section 2 highlights state-of-the-art models for X-ray analysis when using LLMs and smaller discriminative models as well as their environmental impact. Next, Section 3 outlines how LLMs and local models will be integrated into a medical application to compare their performance in detecting Covid-19 from X-ray images. Section 4 discusses these results, evaluating their suitability to be used in medical diagnosis before identifying limitations within this study. 1.1 Contributions In this paper, an analysis of model accuracy and environmental impact is focused on when integrated into medical applications. This outlines a benchmark study of existing model infrastructure and its use in the scope of Covid-19 detection. The major contributions of this paper are as followed: • Demonstrating major accuracy and carbon footprint concerns when using LLMs to request probabilistic outputs to classify diseases present in X-rays. • Highlighting both diagnosis accuracy and carbon footprint can be reduced by using local models deployed alongside applications. • Showing that focusing on reducing carbon footprint over model accuracy can diminish the confidence and accuracy of outputs from smaller models. • Identifying that knowledge bases for LLMs can increase detection accuracy, but has a varied impact on carbon footprint. 2 Related works 2.1 Large language models The medical field has recently been introduced to the capabilities of LLMs. Implemented models have shown an accuracy of more than 70% when verified by medical professionals [ 10 ] . Notably, ChatGPT has shown accurate identification across various diseases [ 11 ] . This underscores the versatility of LLMs, in which models can be used to detect and discuss multiple pathologies. Although LLMs