Next Article in Journal
Open-Data-Driven Unity Digital Twin Pipeline: Automatic Terrain and Building Generation with Unity-Native Evaluation
Previous Article in Journal
Evaluating the Energy and Thermal Performance of a Water-Cooled Condenser Using Reverse Osmosis Effluent in Residential Purifiers
Previous Article in Special Issue
From Knowledge Extraction to Assertive Response: An LLM Chatbot for Information Retrieval in Telemedicine Systems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

A Logic Tensor Network-Based Neurosymbolic Framework for Explainable Diabetes Prediction

by
Semanto Mondal
1,2,
Antonino Ferraro
1,
Fabiano Pecorelli
1,* and
Giuseppe De Pietro
1
1
Department of Information Science and Technology, Pegaso University, Piazza Triste e Trento 48, 80132 Naples, Italy
2
Department of Electrical Engineering and Information Technology, University of Naples Federico II, 80125 Naples, Italy
*
Author to whom correspondence should be addressed.
Appl. Sci. 2025, 15(21), 11806; https://doi.org/10.3390/app152111806
Submission received: 10 October 2025 / Revised: 2 November 2025 / Accepted: 4 November 2025 / Published: 5 November 2025

Abstract

Neurosymbolic AI is an emerging paradigm that combines neural network learning capabilities with the structured reasoning capacity of symbolic systems. Although machine learning has achieved cutting-edge outcomes in diverse fields, including healthcare, agriculture, and environmental science, it has potential limitations. Machine learning and neural models excel at identifying intricate data patterns, yet they often lack transparency, depend on large labelled datasets, and face challenges with logical reasoning and tasks that require explainability. These challenges reduce their reliability in high-stakes applications such as healthcare. To address these limitations, we propose a hybrid framework that integrates symbolic knowledge expressed in First-Order Logic into neural learning via a Logic Tensor Network (LTN). In this framework, expert-defined medical rules are embedded as logical axioms with learnable thresholds. As a result, the model gains predictive power, interpretability, and explainability through reasoning over the logical rules. We have utilized this neurosymbolic method for predicting diabetes by employing the Pima Indians Diabetes Dataset. Our experimental setup evaluates the LTN-based model against several conventional methods, including Support Vector Machines (SVM), Logistic Regression (LR), K-Nearest Neighbors (K-NN), Random Forest Classifiers (RF), Naive Bayes (NB), and a Standalone Neural Network (NN). The findings demonstrate that the neurosymbolic framework not only surpasses traditional models in predictive accuracy but also offers improved explainability and robustness. Notably, the LTN-based neurosymbolic framework achieves an excellent balance between recall and precision, along with a higher AUC-ROC score. These results underscore its potential for trustworthy medical diagnostics. This work highlights how integrating symbolic reasoning with data-driven models can bridge the gap between explainability, interpretability, and performance, offering a promising direction for AI systems in domains where both accuracy and explainability are critical.
Keywords: neurosymbolic AI; logic tensor network (LTN); explainability; symbolic reasoning; first-order logic neurosymbolic AI; logic tensor network (LTN); explainability; symbolic reasoning; first-order logic

Share and Cite

MDPI and ACS Style

Mondal, S.; Ferraro, A.; Pecorelli, F.; De Pietro, G. A Logic Tensor Network-Based Neurosymbolic Framework for Explainable Diabetes Prediction. Appl. Sci. 2025, 15, 11806. https://doi.org/10.3390/app152111806

AMA Style

Mondal S, Ferraro A, Pecorelli F, De Pietro G. A Logic Tensor Network-Based Neurosymbolic Framework for Explainable Diabetes Prediction. Applied Sciences. 2025; 15(21):11806. https://doi.org/10.3390/app152111806

Chicago/Turabian Style

Mondal, Semanto, Antonino Ferraro, Fabiano Pecorelli, and Giuseppe De Pietro. 2025. "A Logic Tensor Network-Based Neurosymbolic Framework for Explainable Diabetes Prediction" Applied Sciences 15, no. 21: 11806. https://doi.org/10.3390/app152111806

APA Style

Mondal, S., Ferraro, A., Pecorelli, F., & De Pietro, G. (2025). A Logic Tensor Network-Based Neurosymbolic Framework for Explainable Diabetes Prediction. Applied Sciences, 15(21), 11806. https://doi.org/10.3390/app152111806

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop