Transformer Model

The Transformer model has been very influential in the field of NLP and constitutes the engine of the state-of-the-art LLMs, still powering the ChatGPT engines as of the time of the writing. In the following the architecture of a Transformer is presented, along with a description of each step and a brief explanation of the related…

Diagnostic Pathways

The approach The diagnostic procedure in medicine often combines different approaches, which are influenced by the context, patient symptoms, clinician expertise, and available diagnostic tools [1]. As illustrated and summarized in the following figure, the diagnostic process begins with gathering patient data, including a medical history and possibly a physical examination. This information is then…

Dialogue Rule augmentation

Parameters main(q, d, m): The primary function that takes in the Question (q), Domain (d), and Medical (m) parameters and returns the Answer (a) and Grade (grade). • Decision Logic: Implements the conditional logic as per the pseudocode to determine the appropriate answer a. • answer_content(): A placeholder function to generate the answer content c.…

Augmenting Large Language Models with Rules for Enhanced Domain-Specific Interactions

Abstract In this paper, we present a novel Artificial Intelligence (AI) -empowered system that enhances large language models and other machine learning tools with rules to provide primary care diagnostic advice to patients. Specifically, we introduce a novel methodology, represented through a process diagram, which allows the definition of generative AI processes and functions with…

Semantic Grouping of Features for Predictive Modeling in Machine Learning

Background Semantic grouping of features refers to organizing related features into meaningful clusters based on their inherent relationships or domain-specific knowledge. In predictive modeling, this process is crucial for improving model interpretability, performance, and robustness. By clustering features that share a common context or meaning, we can reduce dimensionality, simplify feature engineering, and potentially enhance…

Personalization of treatment based on biomarkers

Definition Central to the personalized medicine approach is the utilization of biomarkers—measurable indicators of biological processes, pathogenic processes, or pharmacologic responses to a therapeutic intervention. Biomarkers enable clinicians to make informed decisions about diagnosis, prognosis, and therapy selection, enhancing treatment efficacy and patient outcomes. Pharmacodynamic Biomarkers Pharmacodynamic biomarkers are crucial for assessing a drug’s biological…