Table 6: Ablation study of hyperparameter  $\lambda$  . The ablation study of hyperparameter  $\lambda$  is evaluated on the AD, TDBrain, and PTB datasets. The  ${\lambda }_{1},{\lambda }_{2},{\lambda }_{3},{\lambda }_{4}$  from left to right are for patient,trial,sample,and observation levels,respectively.
Datasets	Fraction	λ1,λ2,λ3,λ4	Accuracy	Precision	Recall	F1 score	AUROC	AUPRC
AD	100%	(0.1,0.1,0.1,0.7)	87.82±7.44	91.08±4.10	86.62±8.58	86.77±8.64	97.95±1.26	97.94±1.26
(0.1,0.1,0.7,0.1)	85.03±5.64	89.09±3.22	83.32±6.37	83.78±6.59	95.33±1.81	95.30±1.90
(0.1,0.7,0.1,0.1)	82.76±8.67	88.00±4.65	80.98±10.02	80.72±10.30	95.32±2.72	95.26±2.71
(0.7,0.1,0.1,0.1)	82.22±8.31	87.27±4.41	80.42±9.62	80.17±10.00	94.84±2.64	94.80±2.65
(0.2,0.2,0.3,0.3)	86.88±5.78	89.96±4.00	85.46±6.52	85.97±6.36	94.03±3.56	94.07±3.54
(0.3,0.3,0.2,0.2)	86.72±5.97	89.76±3.12	85.41±6.92	85.73±6.96	95.14±1.95	95.09±2.04
(0.3,0.3,0.15,0.25)	82.84±6.96	88.09±3.99	80.87±7.93	81.04±8.06	94.73±2.98	94.64±3.12
10%	(0.1,0.1,0.1,0.7)	89.56±8.67	91.37±6.73	88.64±9.65	88.82±9.51	96.55±4.41	96.47±4.63
(0.1,0.1,0.7,0.1)	87.84±6.09	88.72±5.16	87.50±6.76	87.42±6.66	94.58±5.32	94.38±5.67
(0.1,0.7,0.1,0.1)	79.89±14.06	85.79±7.50	77.97±16.05	75.54±19.81	92.89±6.45	92.67±6.64
(0.7,0.1,0.1,0.1)	78.26±13.58	84.99±6.68	76.38±15.80	73.44±19.24	92.74±7.64	92.57±7.93
(0.2,0.2,0.3,0.3)	93.25±1.71	93.86±1.24	92.77±2.00	93.09±1.80	97.68±0.87	97.75±0.82
(0.3,0.3,0.2,0.2)	91.43±3.70	92.71±2.39	90.68±4.28	91.09±4.00	96.81±1.62	96.88±1.64
(0.3,0.3,0.15,0.25)	91.54±3.63	92.93±2.32	90.77±4.25	91.19±3.91	97.26±1.63	97.29±1.67
1%	(0.1,0.1,0.1,0.7)	95.88±2.29	96.21±1.92	95.64±2.55	95.79±2.36	92.72±9.34	93.24±8.74
(0.1,0.1,0.7,0.1)	85.03±9.80	87.16±5.75	85.65±8.54	84.62±10.42	94.71±2.73	94.73±2.89
(0.1,0.7,0.1,0.1)	97.19±1.28	97.32±1.11	97.08±1.42	97.15±1.31	99.02±1.06	98.98±1.11
(0.7,0.1,0.1,0.1)	97.00±1.10	97.10±1.06	96.92±1.14	96.96±1.12	98.93±1.20	98.89±1.26
(0.2,0.2,0.3,0.3)	84.55±7.39	84.47±7.51	84.75±7.65	84.44±7.49	89.95±10.83	89.78±11.27
(0.3,0.3,0.2,0.2)	86.96±5.92	87.16±5.66	86.87±6.31	86.72±6.19	92.68±7.76	92.93±7.43
(0.3,0.3,0.15,0.25)	92.40±2.52	92.75±2.41	92.16±2.44	92.27±2.55	97.76±1.11	97.76±1.17
PTB	10%	(0.1,0.1,0.1,0.7)	85.51±2.46	85.54±2.52	76.96±4.20	79.60±3.91	91.30±2.28	87.11±3.84
(0.1,0.1,0.7,0.1)	85.94±3.40	87.23±4.03	76.69±5.61	79.64±5.94	93.78±2.51	90.78±4.78
(0.1,0.7,0.1,0.1)	87.84±1.98	87.67±1.72	81.14±3.68	83.45±3.22	92.95±1.56	87.47±2.82
(0.7,0.1,0.1,0.1)	87.76±2.75	88.20±1.41	80.65±5.54	82.96±5.07	91.82±3.66	88.70±3.08
(0.2,0.2,0.3,0.3)	87.74±1.46	87.78±1.48	80.79±2.58	83.28±2.31	92.97±1.97	88.67±1.71
(0.3,0.3,0.2,0.2)	87.16±2.02	87.62±1.60	79.47±3.69	82.15±3.33	94.00±0.42	88.83±1.65
(0.3,0.3,0.15,0.25)	87.56±0.87	87.91±0.64	80.25±1.69	82.92±1.50	91.85±2.44	88.27±2.34
10%	(0.1,0.1,0.1,0.7)	87.76±2.62	87.15±2.27	81.53±5.10	83.43±4.15	92.54±2.17	89.85±2.65
(0.1,0.1,0.7,0.1)	88.29±2.53	85.80±3.57	86.87±1.39	85.89±2.34	94.56±0.80	93.15±0.75
(0.1,0.7,0.1,0.1)	88.49±3.28	88.98±2.60	81.65±6.00	84.01±5.61	94.83±1.08	92.48±2.22
(0.7,0.1,0.1,0.1)	88.70±3.20	89.47±2.40	81.85±6.02	84.26±5.45	94.30±1.76	93.24±2.41
(0.2,0.2,0.3,0.3)	89.25±2.07	88.87±2.55	83.98±3.97	85.72±3.13	94.26±1.47	90.82±3.43
(0.3,0.3,0.2,0.2)	89.39±2.02	88.86±2.90	84.43±3.65	86.03±3.00	93.59±1.13	92.42±2.00
(0.3,0.3,0.15,0.25)	89.82±3.00	89.36±2.16	84.71±5.73	86.34±4.84	93.55±1.96	90.54±3.20
1%	(0.1,0.1,0.1,0.7)	89.45±1.80	87.49±2.15	86.23±3.61	86.62±2.57	94.03±2.59	93.21±2.60
(0.1,0.1,0.7,0.1)	85.12±2.24	81.33±2.60	83.06±3.24	82.01±2.76	91.12±2.14	88.96±2.92
(0.1,0.7,0.1,0.1)	90.52±1.90	88.58±2.93	88.23±1.98	88.23±2.10	95.08±1.50	93.78±1.98
(0.7,0.1,0.1,0.1)	90.19±1.75	87.88±2.23	88.20±2.70	87.87±2.19	94.82±1.65	93.68±2.24
(0.2,0.2,0.3,0.3)	85.28±4.39	81.48±5.03	84.10±5.66	82.47±5.28	92.87±3.85	90.34±4.96
(0.3,0.3,0.2,0.2)	86.96±2.56	83.38±2.89	85.65±3.59	84.32±3.15	94.47±1.90	92.31±2.67
(0.3,0.3,0.15,0.25)	89.43±1.38	86.42±1.96	88.86±0.94	87.37±1.39	95.32±1.04	94.29±1.72
TDBrain	10%	(0.1,0.1,0.1,0.7)	87.20±3.39	87.40±3.34	87.20±3.39	87.18±3.40	94.84±2.34	94.96±2.33
(0.1,0.1,0.7,0.1)	88.53±3.86	88.66±3.79	88.53±3.86	88.52±3.87	95.57±2.74	95.71±2.66
(0.1,0.7,0.1,0.1)	87.97±3.26	88.33±3.15	87.97±3.26	87.94±3.28	95.58±1.92	95.77±1.86
(0.7,0.1,0.1,0.1)	87.25±2.71	87.54±2.74	87.25±2.71	87.22±2.71	95.14±1.73	95.32±1.70
(0.2,0.2,0.3,0.3)	85.69±2.42	86.00±2.53	85.69±2.42	85.66±2.41	94.14±1.43	94.34±1.79
(0.3,0.3,0.2,0.2)	85.76±3.18	86.24±2.75	85.76±3.18	85.69±3.24	94.34±1.79	94.45±1.77
(0.3,0.3,0.15,0.25)	85.54±4.11	86.30±3.62	85.54±4.11	85.44±4.21	94.22±2.86	94.36±2.80
10%	(0.1,0.1,0.1,0.7)	76.92±4.84	78.35±3.64	76.92±4.84	76.50±5.33	85.85±3.99	85.36±4.30
(0.1,0.1,0.7,0.1)	81.91±5.84	82.40±5.82	81.91±5.84	81.83±5.87	90.38±5.11	90.72±5.16
(0.1,0.7,0.1,0.1)	84.51±4.81	84.90±4.61	84.51±4.81	84.45±4.86	92.58±3.30	92.62±3.09
(0.7,0.1,0.1,0.1)	84.92±5.83	85.24±5.43	84.92±5.83	84.86±5.94	92.69±4.07	92.69±3.81
(0.2,0.2,0.3,0.3)	80.79±3.84	82.00±3.76	80.79±3.84	80.59±3.94	89.88±3.50	89.56±3.76
(0.3,0.3,0.2,0.2)	78.93±3.88	79.78±4.06	78.93±3.88	78.77±3.94	88.64±3.52	88.59±3.24
(0.3,0.3,0.15,0.25)	79.96±5.63	81.00±5.52	79.96±5.63	79.76±5.76	88.89±4.57	88.70±4.21
1%	(0.1,0.1,0.1,0.7)	68.68±2.88	70.46±3.56	68.68±2.88	68.02±2.95	73.79±4.80	72.99±5.27
(0.1,0.1,0.7,0.1)	66.49±8.01	68.46±7.64	66.49±8.01	65.03±9.26	73.30±8.15	72.74±8.32
(0.1,0.7,0.1,0.1)	73.08±8.61	74.89±8.18	73.08±8.61	72.45±8.89	78.39±4.58	77.79±4.18
(0.7,0.1,0.1,0.1)	73.16±8.72	75.14±8.13	73.16±8.72	72.46±9.05	78.42±4.48	77.76±4.05
(0.2,0.2,0.3,0.3)	71.55±8.49	72.14±9.14	71.55±8.49	71.44±8.44	77.14±9.24	76.04±9.79
(0.3,0.3,0.2,0.2)	70.11±8.07	71.68±8.95	70.11±8.07	69.54±8.38	76.24±10.55	75.26±10.84
(0.3,0.3,0.15,0.25)	73.59±9.28	74.53±9.61	73.59±9.28	73.33±9.36	79.07±9.67	77.97±9.62