mlsanityData to 7 Oct 2026

Optimization of Transformer heart disease prediction model based on particle swarm optimization algorithm

arXiv 2412.02801 ↗First posted 3 Dec 2024cs.AIcited by 5

Not on the map. Why?

Abstract (arXiv)

Aiming at the latest particle swarm optimization algorithm, this paper proposes an improved Transformer model to improve the accuracy of heart disease prediction and provide a new algorithm idea. We first use three mainstream machine learning classification algorithms - decision tree, random forest and XGBoost, and then output the confusion matrix of these three models. The results showed that the random forest model had the best performance in predicting the classification of heart disease, with an accuracy of 92.2%. Then, we apply the Transformer model based on particle swarm optimization (PSO) algorithm to the same dataset for classification experiment. The results show that the classification accuracy of the model is as high as 96.5%, 4.3 percentage points higher than that of random forest, which verifies the effectiveness of PSO in optimizing Transformer model. From the above research, we can see that particle swarm optimization significantly improves Transformer performance in heart disease prediction. Improving the ability to predict heart disease is a global priority with benefits for all humankind. Accurate prediction can enhance public health, optimize medical resources, and reduce healthcare costs, leading to healthier populations and more productive societies worldwide. This advancement paves the way for more efficient health management and supports the foundation of a healthier, more resilient global community.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 3 of its 12 references that are in the map. First posted on arXiv 3 Dec 2024.

Builds on

3 of 12 references.

References · 3

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018Particle Swarm Optimization: A survey of historical and recent developments with hybridization perspectivescited by 5
  3. 2024Skin Cancer Detection utilizing Deep Learning: Classification of Skin Lesion Images using a Vision Transformercited by 3

Built on by

Cited by year

Citing papers per year: 2025: 5.

5 papers.