Recent Mixture-of-Experts (MoE) approaches address missing modalities either by routing each missingness pattern to a dedicated expert, which scales poorly as the number of modalities grows, or by imputing the missing modality from representations contributed by multiple experts, which requires a costly retrieval mechanism. We show that routing induces expert-conditioned representation neighborhoods and derive an imputation-error bound controlled by their local feature dispersion. When these expert-conditioned neighborhoods are more compact than the global representation space, intra-expert aggregation admits a tighter worst-case reconstruction bound than unconstrained global aggregation. Guided by this analysis, we propose TWIN, a two-stage intra-expert imputation framework. Pre-imputation generates a context-conditioned estimate in the encoder embedding space and radially soft-clips it using modality-specific statistics maintained in an observed FIFO queue, this ensures that the pre-imputed modality stays in empirically calibrated region of the target modality space. Post-imputation refines the missing representation after MoE by aggregating expert-conditioned observed representations within the same sample. Across four missing-modality benchmarks under natural, random, and asymmetric dropout protocols, TWIN achieves state-of-the-art performance while using substantially fewer parameters than competing MoE-based imputation methods.
Figures & tables
Figure 1: Illustration of the intuition behind TWIN-MoE.
Figure 2: Overview of Proposed Method: (1) Starting at the encoding of modalities, where each modality will be assigned a unique encoder and implement pre-imputation if any modality is needed. Pre-imputation learns the imputed coefficient derived from existing modalities to impute the missing modality from its modality distribution. (2) Inspired by the theoretical motivation, post-imputation conducted intra-expert imputation before each token is forwarded through the expert. An SWD loss is applied to enforce the semantic alignment of tokens in the slots.
Task
Metric
SMIL
ShaSpec
TF
LlMoE
FuseMoE-S
FuseMoE-L
FlexMoE
ConfSMoE
TWIN-SF
TWIN-SP
48-IHM
F1
40.36 ± 2.10
38.06 ± 0.51
11.55 ± 0.65
45.08 ± 0.71
41.34 ± 0.33
42.70 ± 0.61
41.04 ± 0.96
44.12 ± 0.33
46.95 ± 0.81
49.82 ± 0.82
AUC
81.25 ± 0.87
79.16 ± 0.15
72.92 ± 0.55
83.96 ± 0.10
82.93 ± 0.76
81.82 ± 1.02
83.17 ± 0.46
83.53 ± 0.20
85.11 ± 0.38
85.56 ± 0.11
LOS
F1
64.87 ± 0.46
37.97 ± 2.18
49.87 ± 1.22
62.67 ± 0.89
62.64 ± 0.15
62.76 ± 0.13
61.26 ± 0.72
63.72 ± 0.24
65.93 ± 0.30
66.42 ± 0.49
AUC
79.80 ± 0.56
77.17 ± 0.30
69.94 ± 0.57
79.71 ± 0.21
78.35 ± 0.33
78.31 ± 0.45
77.23 ± 0.69
80.27 ± 0.82
81.66 ± 0.38
81.49 ± 0.32
25-PHE
F1
28.70 ± 0.90
19.77 ± 0.72
5.19 ± 0.35
34.41 ± 0.28
31.16 ± 0.20
32.53 ± 0.90
36.61 ± 0.77
36.74 ± 1.59
38.63 ± 0.57
38.11 ± 0.45
AUC
75.75 ± 0.26
71.66 ± 1.33
66.00 ± 0.12
78.19 ± 0.41
78.78 ± 0.16
78.55 ± 0.10
78.01 ± 0.11
78.52 ± 0.49
80.20 ± 0.10
79.81 ± 0.29
Table 1: Experiment setting I: Main results on MIMIC-III
Missing Rate
Metric
ShaSpec
TF
LlMoE
FuseMoE-S
FuseMoE-L
FlexMoE
ConfSMoE
TWIN-SF
TWIN-SP
0%
F1
47.48 ± 0.27
38.89 ± 0.54
59.13 ± 0.52
57.04 ± 0.15
58.71 ± 0.23
60.62 ± 0.96
61.31 ± 0.14
61.75 ± 0.13
62.17 ± 0.44
AUC
67.93 ± 0.56
64.26 ± 0.61
80.29 ± 0.31
78.54 ± 0.42
78.13 ± 0.34
81.34 ± 0.20
82.87 ± 0.10
82.68 ± 0.16
83.48 ± 0.28
10%
F1
47.41 ± 0.18
34.94 ± 1.10
57.46 ± 1.10
55.90 ± 0.55
56.68 ± 0.31
58.66 ± 1.10
59.81 ± 0.34
59.40 ± 0.66
60.65 ± 0.22
AUC
69.26 ± 0.22
61.05 ± 0.34
79.38 ± 0.94
76.38 ± 0.39
76.44 ± 0.12
79.48 ± 0.23
81.00 ± 0.10
80.78 ± 0.15
81.90 ± 0.05
20%
F1
46.54 ± 1.04
35.37 ± 0.94
55.35 ± 0.88
54.44 ± 0.27
54.60 ± 0.19
55.96 ± 1.67
58.06 ± 0.21
56.81 ± 0.60
58.29 ± 0.64
AUC
68.05 ± 0.56
59.54 ± 0.22
77.29 ± 0.47
74.32 ± 0.16
74.92 ± 0.64
78.05 ± 0.10
78.85 ± 0.28
78.63 ± 0.28
78.73 ± 0.21
Table 2: Experiment setting II: Main results on CMU-MOSEI
Figure 3: Imputation Error of different post-imputation method. We take two post imputation method cross-attention and average, and compare their combination of inter- and intra-expert imputation.
Post Imput.
Sparse MoE
Soft MoE
Average
Cross-Attention
Average
Cross-Attention
Inter-Expert
45.37 ± 2.09
45.41 ± 2.20
44.59 ± 2.37
44.55 ± 2.39
Intra-Expert
46.18 ± 3.23
46.26 ± 2.97
45.98 ± 1.70
46.35 ± 0.66
Table 3: F1 score comparison of different backbones and imputation strategy on CMU-MOSI (Experiment Setting II, missing ratio 0.5 )
Variants
Metrics
Sparse MoE
Soft MoE
w/o pre
w/o post
w/o impute.
TWIN
w/o pre
w/o post
w/o impute.
TWIN
MIMIC-III
F1
48.24 ± 0.38
48.65 ± 0.25
44.90 ± 1.61
49.82 ± 0.82
46.28 ± 0.99
46.01 ± 0.60
44.78 ± 1.09
46.95 ± 0.81
AUC
84.37 ± 0.26
85.38 ± 0.28
84.30 ± 0.84
85.56 ± 0.11
84.06 ± 0.75
83.89 ± 0.39
83.90 ± 0.26
85.11 ± 0.38
CMU-MOSI
F1
45.59 ± 1.83
45.01 ± 2.03
45.01 ± 0.16
46.62 ± 4.43
44.42 ± 2.02
45.25 ± 3.33
44.03 ± 1.89
44.29 ± 1.92
AUC
69.94 ± 0.75
70.30 ± 1.52
69.39 ± 0.31
70.50 ± 1.30
69.59 ± 0.45
70.47 ± 0.39
67.86 ± 0.80
71.03 ± 2.43
Table 4: Module Ablation on MIMIC-III IHM task and CMU-MOSI (Experiment Setting II, missing ratio 0.5 )
Scale
Metrics
ShaSpec
TF
LlMoE
FuseMoE
FlexMoE
ConfSMoE
TWIN-SF
TWIN-SP
Small
MFLOPs
21.73
39.69
1245.03
30.18
40.32
39.62
39.34
39.88
#Params
2,177,406
9,921,903
2,130,227
9,636,174
2,184,963
2,184,730
335,691
336.376
F1 score
39.12 ± 1.21
35.81 ± 0.85
41.11 ± 0.90
33.85 ± 0.76
42.12 ± 1.18
44.34 ± 0.77
43.69 ± 0.60
44.72 ± 0.73
Medium
MFLOPs
111.27
263.53
6803,84
286.02
263.94
268.62
267.04
267.45
#Params
11,137,046
65,878,703
11,469,437
11,524,392
11,371,473
11,330,062
2,789,275
2,794,759
F1 score
41.56 ± 0.67
38.62 ± 0.38
43.21 ± 0.56
39.44 ± 0.81
43.78 ± 0.36
45.37 ± 1.73
44.88 ± 1.10
45.78 ± 2.22
Table 5: Control Complexity Study: We control the complexity of the model to evaluate performance
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
Dataset
Task
#Samples
Modality
#Classes
Is Imbalanced?
Missing Ratio
MIMIC-III
48-IHM
21,139
Time Series, Text
2
Yes
23.60%
LOS
21,139
Time Series, Text
2
Yes
23.60%
25-PHE
41,902
Time Series, Text
25
Yes
23.70%
MIMIC-IV
48-IHM
22,733
Image, ECG, Time Series, Text
2
Yes
47.10%
LOS
22,733
Image, ECG, Time Series, Text
2
Yes
47.10%
25-PHE
47,027
Image, ECG, Time Series, Text
25
Yes
50.32%
Appendix
Table 6: Dataset statistics
Parameter
Value
#Expert
8
#Top-K Expert
1
Learning Rate
3e-4
Hidden Size
128
#MoE layers
1
Training Epoch
50
Appendix
Table 7: Hyperparameter setting
Figure 4: Ablation study on parameter sensitivity
Task
Metric
SMIL
ShaSpec
TF
LlMoE
FuseMoE-S
FuseMoE-L
FlexMoE
ConfSMoE
TWIN-SF
TWIN-SP
48-IHM
F1
39.58 ± 1.12
32.97 ± 1.08
11.60 ± 0.54
43.76 ± 0.44
30.14 ± 1.15
40.21 ± 1.29
35.29 ± 0.30
43.36 ± 0.94
47.05 ± 0.48
45.42 ± 0.39
AUC
76.60 ± 0.98
78.29 ± 0.25
67.08 ± 0.77
82.97 ± 0.61
71.34 ± 0.88
78.05 ± 0.72
80.45 ± 0.44
84.50 ± 0.33
85.55 ± 0.41
84.38 ± 0.34
LOS
F1
58.52 ± 0.44
56.22 ± 0.28
42.01 ± 1.12
59.03 ± 0.39
57.59 ± 0.76
58.31 ± 0.46
56.96 ± 0.53
60.82 ± 0.56
61.61 ± 0.21
61.14 ± 0.33
AUC
75.86 ± 0.66
72.22 ± 0.18
64.11 ± 0.40
76.17 ± 0.17
72.59 ± 1.07
72.59 ± 0.61
74.81 ± 0.37
76.80 ± 0.36
77.30 ± 0.78
77.98 ± 0.48
25-PHE
F1
27.77 ± 0.91
25.53 ± 0.11
26.52 ± 0.29
25.38 ± 0.52
12.45 ± 0.54
12.25 ± 0.55
24.61 ± 0.71
26.84 ± 0.56
28.52 ± 0.67
28.51 ± 0.47
AUC
63.90 ± 1.31
62.57 ± 0.23
56.28 ± 0.16
72.50 ± 0.67
55.48 ± 0.39
58.52 ± 0.27
71.57 ± 0.47
74.73 ± 0.71
74.82 ± 0.77
74.49 ± 0.98
Appendix
Table 8: Experiment setting I: Main results on MIMIC-IV
Missing Rate
Metric
ShaSpec
TF
LlMoE
FuseMoE-S
FuseMoE-L
FlexMoE
ConfSMoE
TWIN-SF
TWIN-SP
0%
F1
41.78 ± 0.64
43.28 ± 0.36
50.91 ± 0.19
47.69 ± 0.39
48.15 ± 0.57
51.50 ± 0.55
51.83 ± 0.27
53.35 ± 0.10
53.61 ± 0.39
AUC
65.08 ± 0.39
64.48 ± 0.51
78.12 ± 0.31
75.26 ± 0.20
75.96 ± 0.29
79.38 ± 0.23
80.56 ± 0.10
81.23 ± 0.36
80.64 ± 0.10
10%
F1
43.40 ± 0.74
40.14 ± 0.13
49.91 ± 0.33
46.81 ± 0.45
48.81 ± 0.42
49.92 ± 0.28
49.99 ± 0.85
51.66 ± 0.85
51.73 ± 1.40
AUC
65.45 ± 0.56
61.54 ± 0.66
77.12 ± 0.14
70.25 ± 0.93
72.36 ± 0.50
77.07 ± 0.21
78.06 ± 0.64
79.60 ± 0.40
78.40 ± 0.77
20%
F1
39.15 ± 0.13
42.64 ± 0.30
48.84 ± 0.61
47.92 ± 0.58
45.00 ± 0.44
49.16 ± 0.24
50.58 ± 0.73
51.17 ± 0.42
50.66 ± 0.84
AUC
60.87 ± 0.29
65.52 ± 0.98
76.64 ± 0.23
71.05 ± 0.36
72.15 ± 0.37
73.80 ± 1.43
77.17 ± 0.55
78.26 ± 0.49
76.33 ± 0.82
Appendix
Table 9: Experiment setting II: Main results on CMU-MOSI
Test Modality
Dataset: CMU-MOSI / Evaluation Metric: AUC
Video
Text
Audio
ShaSpec
TF
LlMoE
FuseMoE-S
FuseMoE-L
FlexMoE
ConfSMoE
TWIN-SF
TWIN-SP
✓
✓
62.18 ± 0.88
59.37 ± 1.12
74.63 ± 0.13
55.35 ± 1.11
56.44 ± 1.48
74.59 ± 1.50
75.78 ± 1.03
78.75 ± 0.25
77.10 ± 0.57
✓
✓
55.79 ± 2.53
57.87 ± 0.32
56.84 ± 0.34
56.24 ± 1.96
55.11 ± 0.77
52.28 ± 1.23
57.61 ± 0.62
69.90 ± 1.03
59.06 ± 0.89
✓
✓
65.22 ± 1.01
57.89 ± 0.65
75.59 ± 0.39
54.36 ± 1.67
56.10 ± 1.76
75.55 ± 1.64
76.53 ± 0.74
77.87 ± 0.46
77.69 ± 0.22
✓
55.10 ± 1.59
58.57 ± 0.44
74.73 ± 0.51
55.94 ± 1.51
55.66 ± 1.66
74.35 ± 1.60
75.06 ± 0.22
77.76 ± 0.46
77.06 ± 0.65
✓
61.60 ± 4.80
60.28 ± 1.42
75.73 ± 0.33
55.45 ± 0.95
56.58 ± 1.29
74.42 ± 1.39
74.88 ± 0.46
75.59 ± 0.81
77.05 ± 0.72
Appendix
Table 10: Experiment setting III: Main results on CMU-MOSI
Test Modality
Dataset: CMU-MOSI / Evaluation Metric: F1
Video
Text
Audio
ShaSpec
TF
LlMoE
FuseMoE-S
FuseMoE-L
FlexMoE
ConfSMoE
TWIN-SF
TWIN-SP
✓
✓
41.27 ± 0.81
34.96 ± 0.72
44.45 ± 0.33
30.51 ± 2.53
29.90 ± 2.58
50.54 ± 0.73
50.26 ± 0.28
51.35 ± 0.51
53.17 ± 0.64
✓
✓
36.99 ± 2.03
34.83 ± 0.54
35.20 ± 0.64
24.29 ± 4.23
27.89 ± 6.23
30.02 ± 7.82
37.37 ± 1.00
45.10 ± 2.82
37.99 ± 0.33
✓
✓
43.72 ± 1.64
37.25 ± 0.53
47.79 ± 0.46
20.68 ± 2.14
29.88 ± 4.55
50.41 ± 1.55
50.77 ± 0.48
51.11 ± 0.28
53.86 ± 3.42
✓
42.98 ± 0.21
38.11 ± 0.35
44.86 ± 0.94
25.67 ± 2.82
27.34 ± 2.94
50.39 ± 0.87
50.41 ± 0.24
51.55 ± 0.32
53.10 ± 0.65
✓
41.36 ± 2.27
37.99 ± 0.40
43.81 ± 0.42
25.70 ± 2.82
27.30 ± 2.95
50.65 ± 0.90
50.35 ± 0.18
50.72 ± 0.34
52.78 ± 1.92
Appendix
Table 11: Experiment setting III: Main results on CMU-MOSI
Test Modality
Dataset: CMU-MOSEI / Evaluation Metric: AUC
Video
Text
Audio
ShaSpec
TF
LlMoE
FuseMoE-S
FuseMoE-L
FlexMoE
ConfSMoE
TWIN-SF
TWIN-SP
✓
✓
64.47 ± 0.10
56.98 ± 0.20
81.23 ± 0.07
75.81 ± 0.82
76.62 ± 0.37
80.63 ± 0.41
81.52 ± 0.21
81.67 ± 0.61
81.50 ± 0.17
✓
✓
58.41 ± 0.10
58.41 ± 0.17
59.64 ± 0.56
57.32 ± 0.62
57.22 ± 0.12
58.28 ± 1.51
60.07 ± 0.22
60.53 ± 1.15
60.64 ± 0.17
✓
✓
64.46 ± 0.14
58.64 ± 0.13
80.00 ± 0.29
77.24 ± 0.60
77.31 ± 0.16
80.00 ± 0.10
81.26 ± 0.10
81.24 ± 0.13
81.23 ± 0.16
✓
63.52 ± 0.19
58.71 ± 0.35
80.69 ± 0.34
76.84 ± 0.14
76.27 ± 0.70
81.06 ± 0.20
81.53 ± 0.02
81.62 ± 0.37
81.51 ± 0.16
✓
64.40 ± 0.24
58.89 ± 0.40
80.96 ± 0.26
76.85 ± 0.14
76.51 ± 0.50
80.48 ± 0.21
81.50 ± 0.16
81.67 ± 0.45
81.61 ± 0.17
Appendix
Table 12: Experiment setting III: Main results on CMU-MOSEI
Test Modality
Dataset: CMU-MOSEI / Evaluation Metric: F1
Video
Text
Audio
ShaSpec
TF
LlMoE
FuseMoE-S
FuseMoE-L
FlexMoE
ConfSMoE
TWIN-SF
TWIN-SP
✓
✓
40.75 ± 0.14
31.38 ± 0.61
58.97 ± 0.53
55.85 ± 0.69
53.59 ± 1.07
60.10 ± 0.76
61.01 ± 0.58
61.97 ± 0.54
61.06 ± 1.00
✓
✓
38.15 ± 0.92
31.73 ± 0.16
38.26 ± 2.40
29.40 ± 1.67
33.29 ± 2.89
36.28 ± 3.51
39.20 ± 0.93
40.64 ± 0.14
40.18 ± 0.11
✓
✓
40.82 ± 0.12
31.86 ± 0.23
58.58 ± 0.31
57.02 ± 1.60
53.38 ± 0.65
58.70 ± 2.10
61.37 ± 0.28
61.98 ± 0.66
61.54 ± 0.57
✓
40.37 ± 0.46
31.59 ± 0.23
61.20 ± 0.46
54.02 ± 2.88
53.08 ± 0.40
58.58 ± 0.71
61.71 ± 1.00
61.05 ± 1.40
61.05 ± 1.00
✓
42.16 ± 0.22
30.84 ± 0.26
59.35 ± 0.12
55.87 ± 0.68
54.11 ± 0.49
58.42 ± 0.27
61.34 ± 0.83
61.97 ± 0.54
61.00 ± 0.97
Appendix
Table 13: Experiment setting III: Main results on CMU-MOSEI
Bm
AUC
F1
arcsinh
69.61±2.12
45.95±0.97
tanh
69.52±2.02
45.76±1.18
softsign
69.63±1.72
46.19±1.61
gated
70.28±1.47
44.24±1.10
Ours
70.50±1.30
46.62±4.43
Appendix
Table 14: Comparison of pre-imputation coefficient operator Bm on CMU-MOSI (Experiment Setting II, missing ratio 0.5 ). The coefficient Δm is plugged into h^mpre=μm+σm⊙Δm .
Figure 5: Embedding space of MoE has been split into different clusters