Research Article

Lightweight Transformer Architectures for Embedded Congenital Heart Disease Screening

Zhixiang Sun*
Xidian University

* Corresponding author: [email protected]

Abstract

Using phonocardiogram (PCG) analysis to screen congenital heart disease (CHD) at an early stage can help with earlier referral and treatment. This is especially so in low-resource settings where echocardiography is not easily available. Recent transformer-based models have given good results in heart-sound classification, as self-attention is able to capture long-range temporal dependencies across the cardiac cycles. Standard transformers, however, require substantial computation and are hard to deploy on microcontrollers or portable digital stethoscopes, as these have strict limits on memory, power consumption, and latency. This review focuses on lightweight Transformer strategies for embedded CHD screening, such as sparse or linearized attention, CNN-Transformer hybrid architectures, quantization, and knowledge distillation. It also discusses how these methods influence the diagnostic accuracy, robustness to noisy pediatric recordings, model size, and real-time inference. It also identifies several problems that are yet to be solved, such as interpretability, dataset bias, variation in neonatal heart sounds, and the practical difficulty of using multimodal fusion in a point-of-care device. Overall, a lightweight Transformer design provides a path for developing accessible, hardware-efficient AI systems for early CHD screening.

Keywords: transformer; congenital heart disease; phonocardiogram; model compression; edge AI
Published: April 28, 2026
DOI: 10.54254/2755-2721/2026.GU33150
Volume: ACE Vol.235
pp. 47-52
Download PDF

References

  1. Liu, C., Springer, D., Li, Q., Moody, B., Juan, R. A., Chorro, F. J., Castells, F., Roig, J. M., Silva, I., Johnson, A. E. W., Syed, Z., Schmidt, S. E., Papadaniil, C. D., Hadjileontiadis, L., Naseri, H., Moukadem, A., Dieterlen, A., Brandt, C., Tang, H., ... Clifford, G. D. (2016). An open-access database for the evaluation of heart sound algorithms. Physiological Measurement, 37(12), 2181-2213.
  2. Springer, D. B., Tarassenko, L., & Clifford, G. D. (2016). Logistic regression-HSMM-based heart sound segmentation. IEEE Transactions on Biomedical Engineering, 63(4), 822-832.
  3. Rubin, J., Abreu, R., Ganguli, A., Nelaturi, S., Matei, I., & Sricharan, K. (2016). Classifying heart sound recordings using deep convolutional neural networks and mel-frequency cepstral coefficients. Computing in Cardiology, 43, 813-816.
  4. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., & Polosukhin, I. (2017). Attention is all you need. In Advances in Neural Information Processing Systems 30 (pp. 5998-6008).
  5. Cheng, J., & Sun, K. (2023). Heart sound classification network based on convolution and transformer. Sensors, 23(19), 8168.
  6. Xu, W., Yu, K., Ye, J., Li, H., Chen, J., Yin, F., Xu, J., Zhu, J., Li, D., & Shu, Q. (2022). Automatic pediatric congenital heart disease classification based on heart sound signal. Artificial Intelligence in Medicine, 126, 102257.
  7. Tay, Y., Dehghani, M., Bahri, D., & Metzler, D. (2022). Efficient transformers: A survey. ACM Computing Surveys, 55(6), 1-28.
  8. Mehta, S., & Rastegari, M. (2022). MobileViT: Light-weight, general-purpose, and mobile-friendly vision transformer. In International Conference on Learning Representations.
  9. Song, Z., Zhu, L., Wang, Y., Sun, M., Qian, K., Hu, B., Yamamoto, Y., & Schuller, B. W. (2023). Cutting weights of deep learning models for heart sound classification: Introducing a knowledge distillation approach. In 2023 45th Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC) (pp. 1-4). IEEE.
  10. Ren, Z., Qian, K., Dong, F., Dai, Z., Nejdl, W., Yamamoto, Y., & Schuller, B. W. (2022). Deep attention-based neural networks for explainable heart sound classification. Machine Learning with Applications, 9, 100322.
  11. Zhao, Q., Geng, S., Wang, B., Sun, Y., Nie, W., Bai, B., Yu, C., Zhang, F., Tang, G., Zhang, D., Zhou, Y., Liu, J., & Hong, S. (2024). Deep learning in heart sound analysis: From techniques to clinical applications. Health Data Science, 4, 0182.
  12. Chorba, J. S., Shapiro, A. M., Le, L., Maidens, J., Prince, J., Pham, S., et al. (2021). Deep learning algorithm for automated cardiac murmur detection via a digital stethoscope platform. Journal of the American Heart Association, 10(9), e019905.
  13. Jone, P.-N., Gearhart, A., Lei, H., Xing, F., Nahar, J., Lopez-Jimenez, F., Diller, G.-P., Marelli, A., Wilson, L., Saidi, A., Cho, D., & Chang, A. C. (2022). Artificial intelligence in congenital heart disease: Current state and prospects. JACC: Advances, 1(5), 100153.
  14. Wang, Z., Qian, K., Liu, H., Hu, B., Schuller, B. W., & Yamamoto, Y. (2023). Exploring interpretable representations for heart sound abnormality detection. Biomedical Signal Processing and Control, 82, 104569.