3.1. Machine Learning and Natural Language Processing Applications in Thoracic Surgery
Thoracic surgery practice can be greatly aided by ML and NLP models, which aid in the diagnostic analysis of common and widespread diseases like non-small cell lung cancer (NSCLC). About 84% of lung cancer cases are NSCLC, posing a great burden on healthcare which is one of the greatest risks to human health due to its low 5-year relative survival rate of 25.0% [
6]. Staging of NSCLC poses a great challenge to pulmonologists and thoracic surgeons because of limitations of invasive modalities such as mediastinoscopy and ultrasound-guided transbronchial needle aspiration [
7]. While such modalities have better diagnostic capabilities over non-invasive modalities such as CT and PET scans, they are not routinely used in screening or in clinical practice on patients with severe comorbidities [
8]. Researchers investigated employing statistical analysis or machine learning techniques to acquire nontrivial knowledge between the full patient attributes and lymph node metastasis status in order to achieve exact staging [
8,
9,
10,
11,
12,
13,
14,
15]. The majority of the clinical data, including tumor size, lymph node, tumor density, pleural indentation, and other information, are recorded in free-text format in electrical medical records (EMR), which makes it difficult to manually extract data. Manual extraction takes a lot of time and is prone human error. Thus, one major issue is how to efficiently extract this data to aid in later tasks like LNM prediction [
16]. There has been an upsurge in the use of NLP models to extract this information automatically. Unfortunately, to date, this has not been widely adopted in thoracic surgery. In contrast, some medical fields have successfully implemented this technology. For instrance, Chen et al. [
17] computed the Cancer of the Liver Italian Program score by extracting data from various clinical notes, such as CT reports and operation notes. To determine the TNM and clinicopathological stage of colorectal cancer in Australian patients, Martinez et al. [
18] took data from pathology records. To evaluate patients’ chances of survival, Yuan et al. [
19] extracted several features from EMRs using NLP methods. Another recent study by Hu et al. [
7] developed a lymph node metastasis prediction model for patients with NSCLC by integrating NLP and ML with the EMR systems. They concluded every machine learning model outperformed the clinician’s assessment and the size requirement. The experimental results also demonstrated that the NLP model can effectively extract information from CT reports, aiding the lymph node metastasis prediction model’s development and updates, thereby facilitating its use in clinical settings.
Other areas where ML models have rapidly been adopted and show potential in thoracic surgery are diagnostic imaging and predictive analysis of surgical outcomes. These models will serve as a great addition for a surgeon to foresee the surgical outcomes in patients undergoing high-risk surgeries or in patients with severe co-morbidities. Kunze et al. [
20] evaluated ML algorithms’ ability to predict clinically significant outcomes after orthopedic surgery and found that the currently available algorithms can easily discriminate the propensity to achieve clinically significant outcomes using the minimal clinically important difference with a fair to good performance as evidenced by C-statistics ranging from 0.6 to 0.95 in most analysis. Another study by Stam et al. [
21] found that AI algorithms can precisely predict surgical complications in major abdominal surgeries, provided they are thoroughly tested and validated, and rely on a complete, balanced database. A 2023 study by Rana et al. [
22], highlighted MRI and X-ray as key imaging modalities for surgical disease detection using ML and DL techniques, with MATLAB and SVM as commonly used tools. Convolutional neural networks and random forest were found to outperform other algorithms, suggesting the use of DL models with denoising approaches to improve accuracy. Common Glossary of Artificial Intelligence are reported in
Table 1.
3.3. Limitations and Ethical Implications of Utilizing AI
While AI can have numerous advantages, as we highlighted, it also comes with its risks [
64].
Regardless of the extent to which ML is employed, a robot is believed not to achieve fully autonomous thoughts. It is assumed to consistently replicate human cognitive processes, albeit with greater speed and logical consistency. As a result, human intuition and experience remain crucial factors. Surgeons frequently rely on instinct, and AI will most likely not be able to replace how humans approach—at least not yet fully [
64]. Another major limiting factor for using AI in surgery is the financial burden of operating such advanced technology. Generalization and uniform standards of treatment will be impaired because not all regions can afford the technology. It’s possible that an algorithm created in one institution won’t apply to other universities directly. The model will be effectively tailored to reflect the clinical experience of that institution through the development of the algorithm. This presents advantages as well as disadvantages for prospective consumers [
65]. The quantity and quality of the data that is provided determines how well the AI responds. The degree to which AI algorithms may be applied to different subgroups depends heavily on a number of criteria, including outliers, missing data, and how representative the included populations are. In fact, it’s critical to regularly update algorithms with fresh patient data so that they can adjust how decisions are made [
66]. The types and quality of the data that are accessible to the algorithm restrict its outputs; for example, lung cancers that affect Caucasians in the EU do not share the same epidemiologic features as lung cancers that affect persons in Asia. Nonsmoking reasons account for a larger percentage of cancer cases in Asia, especially in women [
67]. Therefore, there is a chance that selection bias will affect projections if specific populations or sexes are underrepresented.
Moreover, most of the uses of AI-driven technology in surgery are yet in their infancy stage. The autonomous execution of complicated surgical procedures is not the same as simple independent tasks. ML is not always accurate or produces inaccurate results and hence it is a must to overview whatever decisions the AI software may suggest. IBM’s Watson for Oncology Cognitive Computing system, created in 2012, employs AI algorithms to provide therapy suggestions for a range of illnesses, including lung tumors. Oncologists at the Memorial Sloan Kettering Cancer Center (New York, NY, USA) trained the program to recognize important information related to a patient’s cancer, such as blood test results, pathology and imaging reports, and the existence of genetic mutations. The available treatment options broadly align with the standards of the National Comprehensive Cancer Network [
66]. However, in 2018, IBM’s Watson faced criticism for making incorrect treatment recommendations in certain situations, potentially endangering the lives of the patients [
68]. It is strictly contraindicated for a patient with lung squamous cell carcinoma to use bevacizumab, as recommended by the system. In June 2019, the American Society for Clinical Oncology heard an abstract about IBM’s Watson for Oncology Cognitive Computing system, which hinted at its potential to support multidisciplinary tumor board decision-making [
69]. Another example backing this argument is a study that attempted to use ML for early pneumonia diagnosis, two sets of chest radiographs—one with pneumonia and the other without—were given to the algorithms so they could learn to distinguish between the two. The mark on the radiograph used to designate the right and left sides, which turned out to differ across the two hospitals, was the greatest predictive feature of pneumonia, according to the algorithm, which immediately determined this [
70]. Because of this, ML still requires supervision at this point in its development.
To fully achieve the potential of AI in healthcare and surgery, four main ethical issues must be carefully addressed: (1) informed consent to utilize data, (2) safety and transparency, (3) algorithmic fairness and biases, and (4) data privacy are all crucial factors to consider [
71]. The question of whether AI systems may be regarded as lawful is controversial from both a legal and political standpoint (Resolution of the European Parliament, 16 February 2017) [
72]. The goal is to assist policymakers ensure that the ethically challenging circumstances brought about by implementing AI in healthcare settings are addressed [
73]. Most legal discussions around artificial intelligence have focused on the issue of algorithmic transparency limitations. The use of AI in high-risk scenarios has raised the need for transparent, fair, and responsible AI design and governance. The two most crucial components of transparency are the information’s comprehensibility and accessibility [
74]. It is common for information regarding the operation of algorithms to be purposefully made difficult to access [
75]. Machines that can learn new behavioral patterns and function according to lose norms are said to pose a danger to our ability to assign blame to their creators or operators. We might not have anyone to hold responsible for any harm caused if AI is used [
74,
75]. The scale of the threat is uncertain, and using machines will drastically restrict our capacity to place responsibility and take charge of the decision-making process [
76]. Modern computing approaches can obscure the reasoning behind the outputs of an AI system, making it difficult for non-technical clinical users to understand [
77]. While AI systems like IBM’s Watson for Oncology are designed to support clinical decision-making by evaluating information and recommending patient care, the complexity of these systems can create challenges [
74,
75]. If widely adopted, AI systems could revolutionize clinical decision-making and reshape healthcare dynamics, making it crucial for clinicians to ensure the safe implementation of these technologies [
78,
79,
80]. However, as this study tries to clarify, it is possible that AI will be able to get beyond these restrictions; at the moment, one can only hypothesize as to how AI will be able to get around some ethical and moral conundrums.