MKMajid Komeili

Majid Komeili

*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


Majid Komeili has a total of 24 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Large Language Models for Clinical Data Extraction in Workplace Injury Rehabilitation: Protocol for a Retrospective Pilot Study of Accuracy, Fairness, and Methodological Considerations in Workers’ Compensation Medical Chart Review

    by Armaan Rehman Shah, Barbara Gorczyca Abel, Majid Komeili, Basem Gohar, Behdin Nowrouzi-Kia

    Background: Electronic medical charts within Workplace Safety and Insurance Board (WSIB) specialty programs contain rich but unstructured clinical and sociodemographic data essential for injury classification, treatment planning, and compensation decisions. Manual chart review is time-consuming, inconsistent, and susceptible to reviewer bias. Large language models (LLMs) extract complex information from unstructured clinical text, yet their application to workplace injury rehabilitation remains unexplored. Objective: This study will evaluate the accuracy, fairness, and methodological implications of using LLMs to extract clinical and rehabilitative information from WSIB medical charts at Trillium Health Partners (THP), Canada. We will assess model performance, examine algorithmic bias across demographic subgroups, and explore ethical implications for clinical decision-making and workplace compensation. Methods: We will conduct a retrospective review of 50 medical charts from the WSIB Back and Neck specialty program at THP, spanning January 2018 to December 2024. General-purpose models (Qwen3-VL-8B and InternVL3.5-8B) and domain-specific biomedical models (MedGemma-27B and LLaMA-3-Meditron-8B) will be evaluated off the shelf using zero-shot and few-shot prompting; the biomedical models will also be fine-tuned. Charts will be partitioned at the chart level into development, training, and held-out test sets, preventing leakage across purposes. Ground truth will be established by independent human annotation of all 50 charts, with interannotator agreement quantified using Cohen κ. The primary outcome is the macroaveraged F1-score across categorical variables on the held-out test set; secondary outcomes are the per variable F1-score, mean absolute error and root mean squared error for continuous variables, and span-level F1-score. Progression to the larger study requires a macroaveraged F1-score of at least 0.80, a pragmatic feasibility criterion; fairness and continuous-variable results are supporting outcomes. Algorithmic fairness will be examined using demographic parity and equalized odds across subgroups. A secure hybrid architecture will keep all identifiable personal health information within the THP infrastructure, with cloud compute restricted to transient processing. Results: This study was funded by the Data Sciences Institute at the University of Toronto in April 2025; the award supported protocol development and ended on April 30, 2026. As of August 12, 2026, neither had a research ethics application been submitted nor had any chart been accessed. Applications to the THP and University of Toronto research ethics boards are anticipated in late 2026, and no data will be retrieved or processed before approval from both boards. Contingent on approval and further funding, data collection is anticipated through 2027, analysis in late 2027 to early 2028, and results submitted for publication in 2028. Conclusions: This protocol describes the first systematic evaluation of LLM-based data extraction applied to workplace injury medical charts. Findings will inform best practices for the responsible, reproducible, and equitable integration of these tools into occupational health and workers’ compensation decision-making. International Registered Report Identifier (IRRID): PRR1-10.2196/99807

  • Open Access

    Large Language Models for Clinical Data Extraction in Workplace Injury Rehabilitation: Protocol for a Retrospective Pilot Study of Accuracy, Fairness, and Methodological Considerations in Workers’ Compensation Medical Chart Review (Preprint)

    by Armaan Rehman Shah, Barbara Gorczyca Abel, Majid Komeili, Basem Gohar, Behdin Nowrouzi-Kia

    BACKGROUND Electronic medical charts within Workplace Safety and Insurance Board (WSIB) specialty programs contain rich but unstructured clinical and sociodemographic data essential for injury classification, treatment planning, and compensation decisions. Manual chart review is time-consuming, inconsistent, and susceptible to reviewer bias. Large language models (LLMs) extract complex information from unstructured clinical text, yet their application to workplace injury rehabilitation remains unexplored. OBJECTIVE This study will evaluate the accuracy, fairness, and methodological implications of using LLMs to extract clinical and rehabilitative information from WSIB medical charts at Trillium Health Partners (THP), Canada. We will assess model performance, examine algorithmic bias across demographic subgroups, and explore ethical implications for clinical decision-making and workplace compensation. METHODS We will conduct a retrospective review of 50 medical charts from the WSIB Back and Neck specialty program at THP, spanning January 2018 to December 2024. General-purpose models (Qwen3-VL-8B and InternVL3.5-8B) and domain-specific biomedical models (MedGemma-27B and LLaMA-3-Meditron-8B) will be evaluated off the shelf using zero-shot and few-shot prompting; the biomedical models will also be fine-tuned. Charts will be partitioned at the chart level into development, training, and held-out test sets, preventing leakage across purposes. Ground truth will be established by independent human annotation of all 50 charts, with interannotator agreement quantified using Cohen κ. The primary outcome is the macroaveraged F1-score across categorical variables on the held-out test set; secondary outcomes are the per variable F1-score, mean absolute error and root mean squared error for continuous variables, and span-level F1-score. Progression to the larger study requires a macroaveraged F1-score of at least 0.80, a pragmatic feasibility criterion; fairness and continuous-variable results are supporting outcomes. Algorithmic fairness will be examined using demographic parity and equalized odds across subgroups. A secure hybrid architecture will keep all identifiable personal health information within the THP infrastructure, with cloud compute restricted to transient processing. RESULTS This study was funded by the Data Sciences Institute at the University of Toronto in April 2025; the award supported protocol development and ended on April 30, 2026. As of August 12, 2026, neither had a research ethics application been submitted nor had any chart been accessed. Applications to the THP and University of Toronto research ethics boards are anticipated in late 2026, and no data will be retrieved or processed before approval from both boards. Contingent on approval and further funding, data collection is anticipated through 2027, analysis in late 2027 to early 2028, and results submitted for publication in 2028. CONCLUSIONS This protocol describes the first systematic evaluation of LLM-based data extraction applied to workplace injury medical charts. Findings will inform best practices for the responsible, reproducible, and equitable integration of these tools into occupational health and workers’ compensation decision-making. CLINICALTRIAL INTERNATIONAL REGISTERED REPORT PRR1-10.2196/99807

  • Open Access

    Generalized Follow-Up WHODAS 2.0 Assessment Through Language Models and Adaptive Clustering Ensemble in Higher Education

    by Rakshil Kevadiya, Abbas Akkasi, Kathleen C Fraser, Boris Vukovic, Jessie Gunnell, Sonia Tanguay, Majid Komeili

  • Multiview Feature Selection for Single-View Classification

    by Majid Komeili, Narges Armanfard, Dimitrios Hatzinakos

    In many real-world scenarios, data from multiple modalities (sources) are collected during a development phase. Such data are referred to as multiview data. While additional information from multiple views often improves the performance, collecting data from such additional views during the testing phase may not be desired due to the high costs associated with measuring such views or, unavailability of such additional views. Therefore, in many applications, despite having a multiview training data set, it is desired to do performance testing using data from only one view. In this paper, we present a multiview feature selection method that leverages the knowledge of all views and use it to guide the feature selection process in an individual view. We realize this via a multiview feature weighting scheme such that the local margins of samples in each view are maximized and similarities of samples to some reference points in different views are preserved. Also, the proposed formulation can be used for cross-view matching when the view-specific feature weights are pre-computed on an auxiliary data set. Promising results have been achieved on nine real-world data sets as well as three biometric recognition applications. On average, the proposed feature selection method has improved the classification error rate by 31 percent of the error rate of the state-of-the-art.


  • A Machine Learning Framework for Automatic and Continuous MMN Detection With Preliminary Results for Coma Outcome Prediction

    by Narges Armanfard, Majid Komeili, James P. Reilly, John F. Connolly

    Mismatch Negativity (MMN) is a component of the event-related potential (ERP) that is elicited through an odd-ball paradigm. The existence of the MMN in a coma patient has a good correlation with coma emergence; however, this component can be difficult to detect. Previously, MMN detection was based on visual inspection of the averaged ERPs by a skilled clinician, a process which is expensive and not always feasible in practice. In this paper we propose a practical machine learning (ML) based approach for detection of the MMN component, thus improving the accuracy of prediction of emergence from coma. Further, the method can operate on an automatic and continuous basis, thus alleviating the need for clinician involvement. The proposed method is capable of MMN detection over intervals as short as two minutes. This finer time resolution enables identification of waxing and waning cycles of a conscious state. An auditory odd-ball paradigm was applied to 22 healthy subjects and 2 coma patients. A coma patient is tested by measuring the similarity of the patient's ERP responses with the aggregate healthy responses. Because the training process for measuring similarity requires only healthy subjects, the complexity and practicality of training procedure of the proposed method are greatly improved relative to training on coma patients directly. Since there are only two coma patients involved with this study, the results are reported on a very preliminary basis. Preliminary results indicate we can detect the MMN component with an accuracy of 92.7% on healthy subjects. The method successfully predicted emergence in both coma patients when conventional methods failed. The proposed method for collecting training data using exclusively healthy subjects is a novel approach that may prove useful in future, unrelated studies where machine learning methods are used.


  • Liveness Detection and Automatic Template Updating Using Fusion of ECG and Fingerprint

    by Majid Komeili, Narges Armanfard, Dimitrios Hatzinakos

    Fingerprints have been extensively used for biometric recognition around the world. However, fingerprints are not secrets, and an adversary can synthesis a fake finger to spoof the biometric system. The mainstream of the current fingerprint spoof detection methods are basically binary classifier trained on some real and fake samples. While they perform well on detecting fake samples created by using the same methods used for training, their performance degrades when encountering fake samples created by a novel spoofing method. In this paper, we approach the problem from a different perspective by incorporating electrocardiogram (ECG). Compared with the conventional biometrics, stealing someone's ECG is far more difficult if not impossible. Considering that ECG is a vital signal and motivated by its inherent liveness, we propose to combine it with a fingerprint liveness detection algorithm. The combination is natural as both ECG and fingerprints can be captured from fingertips. In the proposed framework, the ECG and fingerprint are combined not only for authentication purpose but also for liveness detection. We also examine automatic template updating using ECG and fingerprint. In addition, we propose a stopping criterion that reduces the average waiting time for signal acquisition. We have performed extensive experiments on the LivDet2015 database which is presently the latest available liveness detection database and compare the proposed method with six liveness detection methods as well as 12 participants of LivDet2015 competition. The proposed system has achieved a liveness detection equal error rate (EER) of 4.2% incorporating only 5 s of ECG. By extending the recording time to 30 s, liveness detection EER reduces to 2.6% which is about 4 times better than the best of six comparison methods. This is also about 2 times better than the best results achieved by the participants of the LivDet2015 competition.


  • 40-Hz ASSR for Measuring Depth of Anaesthesia During Induction Phase

    by Sahar Javaher Haghighi, Majid Komeili, Dimitrios Hatzinakos, Hossam El Beheiry

    This paper proposes an anaesthesia monitoring system that accurately measures the depth of anaesthesia through 40-Hz auditory steady-state response. With accurate and fast depth of anaesthesia measuring, the monitor can reduce the incidence of awareness during surgical operation. The proposed denoising method for extracting 40-Hz auditory steady-state cycles, adaptive multilevel wavelet denoising, enabled the system to extract auditory steady-state response cycles from fewer epochs and over short periods of time which is of crucial importance in monitoring anaesthesia. The noise estimation scheme, adaptive threshold levels, rearranging, and multilevel denoising of frames increase the accuracy and signal to noise ratio of the extracted cycles. The modified fuzzy c-means clustering scheme, proposed to improve clustering performance in noisy data bases where no prior information about the level of noise and signal energy is available, is used for clustering the auditory steady-state cycles. Weighting the features with a novel algorithm and based on their differentiating role in clustering, the modified fuzzy c-means improves fuzziness in cluster partitions and the geometrical structure of the data. An index called depth of anaesthesia index is defined and determined at each cycle based on the clustering information of the cycle and the previous ones. The algorithm is applied to auditory steady-state response signals recorded from 20 human subjects during surgical operations with Propofol-induced general anaesthesia. The accuracy of the depth of anaesthesia index is validated through the subjects' medical markers, clinical parameters, and the recorded bispectral index during the induction phase. Depth of anaesthesia index is verified to be accurate and able to detect fast transitions between different levels of anaesthesia. The computed depth of anaesthesia indices detected the induction of anaesthesia on average 55 s faster than bispectral index and 17 s earlier than loss of eyelash reflex.