Siam-ALS: An Explainable Siamese Deep Learning Framework for Early ALS Detection Using EEG and Eye-Tracking Signals
Organizations: School of Electrical and Electronic Engineering, Shanghai University of Engineering Science, Shanghai, 201620, China. · School of Information Technology, Murdoch University, Murdoch, 6150, WA, Australia. · Department of Information and Communication Engineering, Daffodil International University, Dhaka, 1216, Bangladesh.
Abstract
Amyotrophic lateral sclerosis (ALS) diagnosis remains challenging due to heterogeneous symptoms and reliance on clinical assessment, underscoring the need for objective, data-driven approaches that leverage patient-generated physiological signals. We propose Siam-ALS, an explainable Siamese deep learning framework that jointly models synchronized electroencephalography (EEG) and eye-tracking (ET) signals. EEG captures ALS-related changes in brain activity, while ET provides information about oculomotor control, allowing the model to learn complementary patterns associated with ALS. The framework employs two modality-specific encoders: a convolutional EEG encoder that captures spatiotemporal neural patterns and an MLP-based ET encoder that models oculomotor dynamics. These modality-specific features are processed through weight-sharing Siamese branches and fused into a compact 64-dimensional joint embedding. A lightweight classifier is used to predict ALS, while pairwise metric learning helps the model learn more effective patterns from the small, diverse ALS datasets. Performance was evaluated on the public EEGET-ALS dataset using strict subject-level cross-validation, where Siam-ALS achieved an accuracy of 0.988 and an AUROC of 0.998, demonstrating strong performance compared with classical machine learning, DL, and non-Siamese fusion approaches. Cross-dataset evaluation on the independent BigP3BCI dataset achieved an AUROC of approximately 0.98, supporting the generalization capability of Siam-ALS across different BCI paradigms. To enhance interpretability, six XAI methods were evaluated in the learned embedding space, with SHAP achieving the highest, though statistically comparable, fidelity in identifying important EEG and ET patterns that contribute to ALS predictions. Overall, Siam-ALS provides an accurate, generalizable, and explainable framework for multimodal ALS detection.
Figures & tables
| Dataset | Modalities | Classes | Usage |
|---|---|---|---|
| EEGET-ALS | EEG + ET | ALS vs Healthy | Primary dataset |
| BigP3BCI | EEG only | ALS vs Healthy | Generalization |
| No. | Feature | Category |
|---|---|---|
| 1 | Mean horizontal gaze position | Position |
| 2 | Std. horizontal gaze position | Position |
| 3 | Mean vertical gaze position | Position |
| 4 | Std. vertical gaze position | Position |
| 5 | Mean gaze velocity | Dynamics |
| 6 | Std. gaze velocity | Dynamics |
| Block | Layer | Configuration | Input Output | Params |
| EEG encoder | Conv2D-1 | , 16 filters, padding | 256 | |
| BN-1 | BatchNorm (16 ch.) | 32 | ||
| DepthwiseConv | , 32 filters, groups | 288 | ||
| BN-2 | BatchNorm (32 ch.) | 64 | ||
| AvgPool-1 | – | |||
| Conv2D-2 | , 64 filters, padding | 30,784 |
| Held-Out Subject | AUROC | Accuracy | |
|---|---|---|---|
| S1 | 0.991 | 0.972 | 0.968 |
| S2 | 0.996 | 0.981 | 0.979 |
| S3 | 0.985 | 0.963 | 0.958 |
| S4 | 0.954 | 0.921 | 0.907 |
| S5 | 0.981 | 0.958 | 0.951 |
| S6 | 0.988 | 0.969 | 0.964 |
| ID | Model Name | Feature | Explainable | AUROC | ACC. | Sens. | Spec. | PPV | NPV | MCC | Sig. |
| A1 | SVM–PSD | Hand-crafted EEG | ✗ | 0.992 | 0.959 | 0.951 | 0.966 | 0.965 | 0.952 | 0.918 | ✓ |
| A2 | SVM–PSD + ET | Hand-crafted EEG | ✗ | 0.993 | 0.962 | 0.958 | 0.967 | 0.967 | 0.958 | 0.925 | ✓ |
| A3 | SVM–Ihar | Hand-crafted EEG | ✗ | 0.992 | 0.959 | 0.949 | 0.968 | 0.967 | 0.950 | 0.917 | ✓ |
| A4 | CNN | Raw EEG | ✗ | 0.998 | 0.974 | 0.971 | 0.977 | 0.977 | 0.971 | 0.947 | – |
| A5 | LSTM | Raw EEG | ✗ | 0.991 | 0.963 | 0.955 | 0.970 | 0.970 | 0.956 | 0.926 | – |
| A6 | CNN-LSTM | Raw EEG | ✗ | 0.992 | 0.968 | 0.963 | 0.972 | 0.972 | 0.963 | 0.936 | – |
| ID | Modality Used | Model Variant | ACC. | AUROC | AUROC vs. B2 | |
|---|---|---|---|---|---|---|
| B1 | EEG only | Siam-ALS – EEG | ||||
| B2 | ET only | Siam-ALS – ET | Reference | |||
| B3 | EEG + ET | Siam-ALS fusion |
| ID | Configuration | AUROC | |
|---|---|---|---|
| M0 | EEG-only, simple MLP head | 0.988 | 0.956 |
| M1 | EEG-only, deeper head (no ET) | 0.983 | 0.947 |
| M2 | ET-only encoder | 0.502 | 0.142 |
| M3 | EEG+ET concatenation (no fusion encoder) | 0.989 | 0.962 |
| M4 | EEG+ET + fusion encoder + emb. classifier (full) | 0.998 | 0.988 |
| Baseline | AUROC | ( ) | Wilcoxon | Sig. |
|---|---|---|---|---|
| SVM–Ihar (A3) | 0.00658 | 5.21 (0.0138) | 0.125 | ✓ |
| SVM–PSD (A1) | 0.00624 | 4.85 (0.0169) | 0.125 | ✓ |
| SVM–PSD + ET (A2) | 0.00509 | 4.42 (0.0214) | 0.125 | ✓ |
| EEGNet (A10) | 0.00399 | 4.31 (0.0231) | 0.125 | ✓ |
| EEGNet+ET Late Fusion (A11) | 0.01014 | 2.98 (0.0587) | 0.250 | – |
| CNN (A4) | 0.00028 | 0.61 (0.5837) | 0.750 | – |
| Window level | Subject level | ||||||
|---|---|---|---|---|---|---|---|
| ID | Configuration | AUROC | Sens. | Spec. | Acc. | Sens. | Spec. |
| G1 | Base Siamese (EEG-only, no classifier head) | 0.954 | 0.882 | 0.897 | 0.890 | 0.896 | 0.917 |
| G2 | + embedding-level logistic-regression classifier | 0.983 | 0.931 | 0.942 | 0.937 | 0.938 | 0.979 |
| G3 | + deeper fusion/projection head | 0.984 | 0.935 | 0.945 | 0.940 | 0.958 | 0.979 |
| Representation | Attr. Dim | Exact Shapley Cost | Top-10 Fidelity |
|---|---|---|---|
| Raw EEG window (A4–A6, A9–A12) | 4,096 | (infeasible) | N/A |
| Hand-crafted PSD/IHAR (A1–A3) | 16 / 160–169 | / * | N/A |
| Tree-based feature importance (A7, A8) | 4,096 | (infeasible) | N/A |
| Siam-ALS fused embedding (A13) | 64 | (exact, linear) | 0.99847 |
| * Exact only for A3 ( ); infeasible for A1/A2 ( – ). Neither is learned/disease-specific. | |||
| Model | AUROC | -value | Sig. | Explainable |
|---|---|---|---|---|
| Tier 1: Lower AUROC than Siam-ALS (uncorrected ) | ||||
| SVM–Ihar (A3) | 0.006580 | 0.0138 | ✓ | ✗ |
| SVM–PSD (A1) | 0.006235 | 0.0169 | ✓ | ✗ |
| SVM–PSD + ET (A2) | 0.005087 | 0.0214 | ✓ | ✗ |
| EEGNet (A10) | 0.003988 | 0.0231 | ✓ | ✗ |
| Tier 2: No significant difference (uncorrected ) | ||||