ASAli Sahafi

Ali Sahafi

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Ali Sahafi has a total of 38 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    FAR-POLYP-SEG: A Prospective Single-Center Colonoscopy Dataset for Colorectal Polyp Segmentation with Patient-Level Metadata and Baseline Cross-Dataset Evaluation

    by Mehrshad Lalinia, Ali Feizhosseini, Sepideh Gholamrezaie, Hamidreza Gholamrezaie, Yeganeh Ettehad, Amir Taheri, Anastasios Koulaouzidis, Ali Sahafi

    Reliable computer-aided colonoscopy depends on well-organized imaging data, transparent benchmarking, and validation of artificial intelligence (AI) tools on independent data. Many public colonoscopy datasets are limited in size, omit normal-mucosa frames, or lack linked patient-level clinical context, which constrains their use as imaging informatics benchmarks. We present FAR-POLYP-SEG, a prospective single-center colonoscopy dataset for colorectal polyp segmentation, developed as an imaging informatics resource for the validation of segmentation algorithms. The dataset was acquired at Farhikhtegan Hospital, Islamic Azad University, Tehran, Iran, between February and December 2025 during routine colonoscopy, without modification of the standard diagnostic workflow. It contains 8181 frames from 455 patients: 432 polyp-positive frames with expert pixel-level segmentation masks and 7749 normal-mucosa frames. Patient-level clinical and procedural metadata (age, sex, colonoscopy indication, Boston Bowel Preparation Scale (BBPS) score, and procedure duration) are linked to every case. Six segmentation architectures (UNet, UNet++, UNet (MiT-B0), nnU-Net 2D, PraNet, and YOLOv11m-seg) were trained and evaluated under one standardized protocol using patient-grouped five-fold cross-validation, so that no patient contributed frames to both the training and the test set of any fold. PraNet reached the highest internal segmentation performance (Dice 0.755), while nnU-Net reached the highest internal IoU (0.665) and pixel accuracy. A complementary evaluation on the dataset’s 7749 normal-mucosa frames shows that the models most sensitive to real polyps are not the most specific: gated false-positive rates on normal mucosa ranged from 24.9% (YOLOv11m-seg) to 59.5% (nnU-Net), an almost complete inversion of the internal Dice ranking. All models were then evaluated on the public Kvasir-SEG dataset as an unseen external test set; Dice ranged from 0.756 to 0.829 across models, and the relative ordering was largely preserved, although nnU-Net’s internal advantage on accuracy and IoU did not carry over to external Dice. The dataset, structured metadata, and evaluation code are publicly released to support reproducible imaging informatics research.

  • Open Access

    Artificial Intelligence in Gastrointestinal Wireless Capsule Endoscopy: A Systematic Literature Review and Meta-Analysis

    by Ali Sahafi, Anastasios Koulaouzidis, Amin Naemi

    Background: Wireless capsule endoscopy is widely used for diagnosing gastrointestinal diseases, but manual interpretation of capsule videos is time-consuming and can vary between clinicians. Artificial intelligence has been increasingly studied to support capsule analysis and reduce clinical workload. This systematic literature review and meta-analysis summarizes current evidence on artificial intelligence methods applied to wireless capsule endoscopy, with a focus on diagnostic performance, validation strategies, and clinical readiness. Methods: A systematic search was conducted in PubMed, Scopus, Embase, Web of Science, and Google Scholar. Original journal articles were included based on predefined eligibility criteria. The reviewed studies addressed multiple artificial intelligence tasks, including detection, classification, segmentation, and localization of gastrointestinal abnormalities. Results: A total of 72 studies were included. Meta-analysis using random effects models showed high pooled diagnostic performance across clinical indications and gastrointestinal tract locations, with the strongest results reported for bleeding and vascular lesions and more variable performance for inflammatory bowel disease and mixed abnormality categories. The review also identified important clinical and technical barriers that may limit reliability and slow clinical adoption. These included limited external validation, small patient cohorts, retrospective study designs, and inconsistent reporting and evaluation practices. Conclusions: Artificial intelligence methods show strong potential to support wireless capsule endoscopy interpretation. Based on the findings, we propose practical recommendations to improve study design and validation. If these recommendations are applied, future studies may report more robust and reliable results, supporting better translation into clinical workflows.


  • Open Access

    Benchmarking Large Language Models for MIMIC-IV Clinical Note Summarization

    by Amin Naemi, Ali Sahafi

    Large Language Models (LLMs) are increasingly applied in healthcare and are expected to play an active role in clinical practice. However, their effectiveness for clinical note summarization remains underexplored, and systematic comparisons across different models are lacking. This study addresses this gap by benchmarking 16 generative LLMs from major providers, including OpenAI (GPT), DeepSeek, Meta (LLaMA), Google (Gemma), Mistral (Mixtral), and Alibaba (Qwen), using the MIMIC-IV-Note. Both extractive and abstractive summarization approaches were implemented and evaluated with multiple lexical and semantic metrics, including ROUGE, BLEU, METEOR, COMET, and BERTScore. In addition, processing time, cost, and deployment feasibility were assessed to provide a practical perspective for clinical adoption. The results show that Gemma-3-27B achieved the strongest overall performance in extractive summarization. For abstractive summarization, DeepSeek-R1-70B, Qwen-3-32B, and GPT-4o emerged as leading models. Their relative strengths varied depending on whether lexical overlap, semantic adequacy, or fluency was prioritized. Importantly, larger parameter sizes did not always translate into better outcomes, as smaller models such as LLaMa-3-8B and Gemma-2-9B often produced competitive results with faster runtimes and lower computational costs. This study highlights the trade-offs between performance, efficiency, and deployment context that offers practical insights into model selection for clinical note summarization and informing future integration of LLMs into healthcare workflows.


  • Open Access

    Deep Learning for Comprehensive Analysis of Retinal Fundus Images: Detection of Systemic and Ocular Conditions

    by Mohammad Mahdi Aghabeigi Alooghareh, Mohammad Mohsen Sheikhey, Ali Sahafi, Habibollah Pirnejad, Amin Naemi

    The retina offers a unique window into both ocular and systemic health, motivating the development of AI-based tools for disease screening and risk assessment. In this study, we present a comprehensive evaluation of six state-of-the-art deep neural networks, including convolutional neural networks and vision transformer architectures, on the Brazilian Multilabel Ophthalmological Dataset (BRSET), comprising 16,266 fundus images annotated for multiple clinical and demographic labels. We explored seven classification tasks: Diabetes, Diabetic Retinopathy (2-class), Diabetic Retinopathy (3-class), Hypertension, Hypertensive Retinopathy, Drusen, and Sex classification. Models were evaluated using precision, recall, F1-score, accuracy, and AUC. Among all models, the Swin-L generally delivered the best performance across scenarios for Diabetes (AUC = 0.88, weighted F1-score = 0.86), Diabetic Retinopathy (2-class) (AUC = 0.98, weighted F1-score = 0.95), Diabetic Retinopathy (3-class) (macro AUC = 0.98, weighted F1-score = 0.95), Hypertension (AUC = 0.85, weighted F1-score = 0.79), Hypertensive Retinopathy (AUC = 0.81, weighted F1-score = 0.97), Drusen detection (AUC = 0.93, weighted F1-score = 0.90), and Sex classification (AUC = 0.87, weighted F1-score = 0.80). These results reflect excellent to outstanding diagnostic performance. We also employed gradient-based saliency maps to enhance explainability and visualize decision-relevant retinal features. Our findings underscore the potential of deep learning, particularly vision transformer models, to deliver accurate, interpretable, and clinically meaningful screening tools for retinal and systemic disease detection.


  • Open Access

    ADNA: Automating Application-Specific Integrated Circuit Development of Neural Network Accelerators

    by David M. Lane, Ali Sahafi

    Recently, multiple new technologies have emerged for automating the development of neural network (NN) accelerators for both field-programmable gate arrays (FPGAs) and application-specific integrated circuits (ASICs). This paper explores methodologies for translating NN algorithms into chip layouts, with a focus on end-to-end automation, cost-effectiveness, and open-source software. We present a robust framework for developing NN-to-silicon solutions and demonstrate a seamless plug-and-play automation flow using TensorFlow, Vivado HLS, HLS4ML, and Openlane2. SkyWater Technologies’ 130 nm PDK (Sky130) is employed to successfully generate layouts for two small NN examples under 1000 parameters, incorporating dense, activation, and 2D convolution layers. The results affirm that current open-source tools effectively automate low-complexity neural network architectures and deliver faster performance through FPGA structures. However, this improved performance comes at the cost of increased die area compared to bare-metal designs. While this showcases significant progress in accessible NN automation, achieving manufacturing-ready layouts for more complex NN architectures remains a challenge due to current tool limitations and heightened computational demands, which points to exciting opportunities for future advancements.


  • Open Access

    Coronary Vessel Segmentation in X-ray Angiography Images Using Edge-Based Tracking Method

    by Mehrshad Lalinia, Ali Sahafi

    Automated extraction of coronary arteries is an essential process in the diagnosis of treatment for coronary artery disease (CAD) with computer assistance. Accurately outlining the coronary artery is difficult when using X-ray coronary angiography (XCA) because of the low signal-to-noise ratio and the presence of interfering background structures. In this paper, a new approach for segmenting vessels in angiograms is presented, specifically designed to tackle the difficulties arising from non-uniform illumination, artifacts, and noise present in angiographic images. The proposed method employs an edge-based tracking tool to generate an initial probability map for segmentation. A segmentation method based on coronary vessel tracking is presented for finding the border and centerline of the vessel. The proposed method is designed based on two main components: preprocessing and tracking. In the preprocessing stage, a guided filter and edge-sharpening algorithms are used to enhance the features of the original image. In the tracking stage, an initial point is selected, and using the Gaussian property, a semi-circle operator is applied to track the line perpendicular to the vessel. The proposed method demonstrated remarkable performance in terms of sensitivity and specificity, achieving values of 86.93 and 99.61, respectively. Additionally, the method achieved an accuracy rate of 97.81. Notably, the proposed method outperformed existing state-of-the-art segmentation methods, as indicated by its higher dice score. These impressive results signify a significant advancement in the field of vessel segmentation, highlighting the effectiveness and superiority of the proposed approach.


  • Open Access

    Polypoid Lesion Segmentation Using YOLO-V8 Network in Wireless Video Capsule Endoscopy Images

    by Ali Sahafi, Anastasios Koulaouzidis, Mehrshad Lalinia

    Gastrointestinal (GI) tract disorders are a significant public health issue. They are becoming more common and can cause serious health problems and high healthcare costs. Small bowel tumours (SBTs) and colorectal cancer (CRC) are both becoming more prevalent, especially among younger adults. Early detection and removal of polyps (precursors of malignancy) is essential for prevention. Wireless Capsule Endoscopy (WCE) is a procedure that utilises swallowable camera devices that capture images of the GI tract. Because WCE generates a large number of images, automated polyp segmentation is crucial. This paper reviews computer-aided approaches to polyp detection using WCE imagery and evaluates them using a dataset of labelled anomalies and findings. The study focuses on YOLO-V8, an improved deep learning model, for polyp segmentation and finds that it performs better than existing methods, achieving high precision and recall. The present study underscores the potential of automated detection systems in improving GI polyp identification.


  • Top Cited Papers
    Open Access

    Colorectal polyp detection in colonoscopy images using YOLO-V8 network

    by Mehrshad Lalinia, Ali Sahafi

    Gastrointestinal tract disorders, including colorectal cancer (CRC), impose a significant health burden in Europe, with rising incidence rates among both young and elderly populations. Timely detection and removal of polyps, the precursors to CRC, are vital for prevention. Conventional colonoscopy, though effective, is prone to human errors. To address this, we propose an artificial intelligence-based polyp detection system using the YOLO-V8 network. We constructed a diverse dataset from multiple publicly available sources and conducted extensive evaluations. YOLO-V8 m demonstrated impressive performance, achieving 95.6% precision, 91.7% recall, and 92.4% F1-score. It outperformed other state-of-the-art models in terms of mean average precision. YOLO-V8 s offered a balance between accuracy and computational efficiency. Our research provides valuable insights into enhancing polyp detection and contributes to the advancement of computer-aided diagnosis for colorectal cancer.


  • A Dual Band Fractional-N Frequency Synthesizer with a Self-Calibrated Charge Pump for WLAN Standards

    by Mostafa Azadbakht, Ali Sahafi, Esmaeil Najafi Aghdam

    This work presents a fully integrated fractional-[Formula: see text] frequency synthesizer that covers the entire frequency bands specified in the IEEE 802.11 a/b/g/n. In this paper, the effects of charge pump (CP) gain mismatch on spectral purity of local oscillator signal is studied theoretically and a new high precision self-calibrated CP is presented for alleviating the nonidealities. The idea is implemented in a 0.18-[Formula: see text]m standard CMOS technology. According to post layout simulation, the proposed calibration circuit demonstrates an excellent matching in the CP currents in a wide voltage range. By using this technique, the average of close-in phase noise of the designed frequency synthesizer is suppressed by more than 12[Formula: see text]dBc. The active whole chip die area is 0.475[Formula: see text]mm2 and the power dissipation from a 1.8-V DC supply is 17.3–20.6[Formula: see text]mW.


  • Integrated HIFU Drive System on a Chip for CMUT-Based Catheter Ablation System

    by Omid Farhanieh, Ali Sahafi, Rupak Bardhan Roy, Arif Sanli Ergun, Ayhan Bozkurt

    Conventional High Intensity Focused Ultrasound (HIFU) is a therapeutic modality which is extracorporeally administered. In applications where a relatively small HIFU lesion is required, an intravascular HIFU probe can be deployed to the ablation site. In this paper, we demonstrate the design and implementation a fully integrated HIFU drive system on a chip to be placed on a 6 Fr catheter probe. An 8-element capacitive micromachined ultrasound transducer (CMUT) ring array of 2 mm diameter has been used as the ultrasound source. The driver chip is fabricated in 0.35 μm AMS high-voltage CMOS technology and comprises eight continuous-wave (CW) high-voltage CMUT drivers (10.9 ns and 9.4 ns rise and fall times at 20 V pp output into a 15 pF), an eight-channel digital beamformer (8-12 MHz output frequency with 11.25° phase accuracy) and a phase locked loop with an integrated VCO as a tunable clock source (128-192 MHz). The chip occupies 1.85 × 1.8 mm 2 area including input and output (I/O) pads. When the transducer array is immersed in sunflower oil and driven by the IC with eight 20 V pp CW pulses at 10 MHz, real-time thermal images of the HIFU beam indicate that the focal temperature rises by 16.8 °C in 11 seconds. Each HV driver consumes around 67 mW of power when driving the CMUT array at 10 MHz, which adds up to 560 mW for the whole chip. FEM based analysis reveals that the outer surface temperature of the catheter is expected to remain below the 42 °C tissue damage limit during therapy.