DepthMSA: Combinatorial Training and Budget-Aware Depth Allocation for Multimodal Sentiment Analysis

Pan Wang1,* Jie Peng4 Zhimin Li1 Jingxian Chen1 Hui Ji1 Huanrui Yang3 Pengfei Zhou1 Tianlong Chen2 Jingtong Hu1
1University of Pittsburgh 2University of North Carolina at Chapel Hill 3University of Arizona 4Foci Labs
*Corresponding author: pan.wang@pitt.edu
Paper (arXiv, coming soon) Code (Coming Soon) BibTeX
Three panels: audio takes 71.5% of encoder FLOPs on CMU-MOSEI but gains little from depth; each modality gets its own exit under a budget; one model covers every budget on the accuracy–FLOPs curve.
Do all modalities need full-depth encoding? (a) On CMU-MOSEI, audio takes 71.5% of the encoder FLOPs, but truncating it to a quarter of its depth changes the error by only 0.005 MAE, against 0.068 for text. (b) DepthMSA gives each modality its own exit under a compute budget. (c) One trained model serves every budget.
−45%
measured FLOPs on CMU-MOSEI, within one accuracy point of the full-depth model
−82%
with the separately trained skip-enabled variant
−56%
FLOPs at unchanged accuracy when a CLIP visual encoder dominates the cost
3.2×
fewer FLOPs than ADMN at its accuracy, with no per-budget training

Abstract

State-of-the-art multimodal sentiment analysis (MSA) models rely on large pretrained encoders, yet typically process every modality to its full depth, regardless of its computational cost or predictive contribution. This raises a fundamental question: how should limited computation be allocated across modalities to preserve predictive performance? We reveal a substantial mismatch between the computational cost of modality encoders and the predictive benefit of processing them more deeply, suggesting that different modalities require different encoding depths. However, enabling heterogeneous depths introduces a key challenge: representations extracted at different depths must still be effectively fused. To address this, we propose DepthMSA, a budget-aware framework that supports flexible modality depths within a single MSA model. Specifically, we introduce combinatorial anytime training, which supervises the fusion head across all cross-modal depth combinations using a single full-depth encoder pass. At inference, a training-free, cost-aware allocator selects the configuration with the lowest validation-calibrated error under a sample-specific FLOPs budget. On CMU-MOSEI, DepthMSA maintains accuracy within one percentage point of the full-depth model while reducing measured FLOPs by 45%, or by 82% with a separately trained skip-enabled variant. When a CLIP visual encoder dominates computation, the allocation shifts toward reducing visual depth, achieving 56% fewer FLOPs at unchanged accuracy. Compared with ADMN, an adaptive layer-allocation method that trains a controller for each budget, the skip-enabled variant reaches its accuracy with 3.2× fewer FLOPs and lower latency, without any per-budget training.

Method

Overview of DepthMSA: modality encoders with shared-weight exits, combinatorial anytime training of the fusion head, and the budget-aware allocator.
Overview of DepthMSA. Each modality encoder exposes four shared-weight exits and an optional skip level. The fusion head is trained on all cross-modal depth combinations, and a training-free allocator picks one combination per sample under the budget.

Compute–utility insight

The cost of a modality encoder and the benefit of running it deeper do not match, so modalities should not all be encoded to the same depth.

Combinatorial anytime training

One full-depth encoder pass supervises the fusion head on every cross-modal depth combination, so features taken at different depths still fuse well.

Cost-aware depth allocation

A validation-calibrated allocator selects the combination with the lowest expected error that fits each sample's FLOPs budget, with no budget-specific retraining.

Results

Accuracy versus measured GFLOPs for DepthMSA, DepthMSA-skip and ADMN.
Accuracy–efficiency trade-offs. Each DepthMSA or DepthMSA-skip curve comes from one trained model evaluated at several budgets, whereas ADMN trains a controller for each budget. The skip-enabled model reaches lower measured FLOPs. Mean over three seeds.
Change in validation error against encoder GFLOPs saved when truncating one modality at a time.
Compute–utility landscape. Each curve truncates one modality while the others stay at full depth. Larger savings with smaller error changes mean more depth redundancy. The modality that offers this trade-off changes from audio (pre-extracted visual features) to vision (CLIP).
Mean selected exit per modality on CMU-MOSEI at each budget, with Facet and with CLIP visual encoders.
Allocation follows cost. Mean selected exit on CMU-MOSEI. With inexpensive Facet visual features, audio is truncated first; with CLIP, the allocator reduces visual depth first.

BibTeX

@article{wang2026depthmsa,
  title   = {DepthMSA: Combinatorial Training and Budget-Aware Depth Allocation
             for Multimodal Sentiment Analysis},
  author  = {Wang, Pan and Peng, Jie and Li, Zhimin and Chen, Jingxian and Ji, Hui
             and Yang, Huanrui and Zhou, Pengfei and Chen, Tianlong and Hu, Jingtong},
  journal = {arXiv preprint},
  year    = {2026}
}