Manuscript Offprint
arXiv:2610.41004MOSAIC: Addressing Disproportionate Task-Modality Dependencies via Modality-Partitioned Gradient Routing
Abstract
In multi-task settings, combining multiple modalities allows task representations to draw on signals that a single modality alone would not capture. However, individual tasks may depend disproportionately on particular modalities, a structure that conventional fusion-based architectures do not model explicitly, instead enforcing a unified representation space. Consequently, a task's gradients can affect parameters tied to modalities it barely relies on, leaving features that compromise between competing demands. Although prior work has explored task-weighting and loss-balancing strategies, their effectiveness is limited by the absence of explicit modality separation, preventing models from optimising each modality according to its task-specific importance. To address these limitations, we propose MOSAIC (MOdality-Separated Architecture with Inter-modal Cross-attention), which preserves unimodal representations while enabling controlled interaction between them, and uses modality-specific losses to route gradients to their corresponding partitions. On the Corpus of Everyday Japanese Conversation (CEJC), MOSAIC improves average macro-F1 by 7.4 points across four tasks with a 72% reduction in backbone parameters relative to a fusion-based baseline. Our results demonstrate that modality partitioning yields consistent gains across tasks while requiring far fewer backbone parameters than a fusion-based design.
1 Introduction
In multimodal multi-task learning, every task depends differently on each modality. However, existing multimodal transformers predominantly rely on fusion-based architectures, which project modality-specific features into a shared latent space to enable cross-modal interaction (Xu, Zhu, and Clifton 2023; Lu et al. 2019; Chen et al. 2020). While effective, this unified space forces tasks with different modality needs to compete for the same representational capacity (Standley et al. 2020), producing conflicting gradient updates that improve one task at the expense of another (Yu et al. 2020). This is compounded by modality interference, where gradients that benefit one modality degrade another (Wu et al. 2022), and modality dominance, where easier modalities overshadow weaker ones, leaving them underused and overfitting at different rates (Wang, Tran, and Feiszli 2020; Huang et al. 2022). Forced to balance these competing demands, the shared representation becomes overloaded, yielding reduced task-specific specialisation. The resulting models are also often over-parameterised, modelling cross-modal dependen-
cies that may be unnecessary for any given task (Nagrani et al. 2021; Held and Yang 2023).
Prior work has largely addressed these problems in isolation. Modality-balancing methods encourage more even modality use by reweighting losses or modulating the gradients of the dominant modality (Wang, Tran, and Feiszli 2020; Peng et al. 2022), but retain a shared representation in which tasks still compete for the same parameters. Multi-task optimisation methods tackle task conflict more directly by rescaling losses or modifying gradients (Kendall, Gal, and Cipolla 2018; Yu et al. 2020), but they are agnostic to modality structure and correct interference after it arises rather than preventing it by design. Modality-specific architectures come closest to a structural solution, assigning separate experts or weights to individual modalities (Bao et al. 2022; Wang et al. 2023), yet they keep self-attention global across modalities and do not optimise each modality according to its task-specific importance. To our knowledge, no prior work combines modality-specific parameters with a separate loss for each modality, weighted by task relevance.
In this work, we introduce MOSAIC (MOdality-Separated Architecture with Inter-modal Cross-attention), a multi-modal multi-task architecture with modality-specific parameter spaces, each shaped by tasks according to their reliance on that modality. Our contributions are as follows:
- A modality-separated transformer architecture that preserves unimodal representations by assigning each modality its own parameter partition while allowing interaction only through cross-attention between partitions at designated layers.
- Modality-specific losses, defined as a weighted combination of task objectives that reflects each task's overall importance and its relevance to that modality, with the resulting gradients routed to the corresponding parameter partitions.
- An evaluation on CEJC across four conversation understanding tasks, achieving a 7.4-point improvement in average macro-F1 while using 72% fewer backbone parameters than a fusion-based baseline.
By separating what each modality learns and controlling how and where they interact, MOSAIC shows that multi-modal multi-task models can be both more accurate and more efficient than fusion-based ones.
Copyright © 2027, Association for the Advancement of Artificial Intelligence (www.aaai.org). All rights reserved.
2.1 Multimodal Fusion Architectures
Multimodal transformers differ mainly in where and how modalities first interact. Early fusion jointly embeds all modalities at the input and processes them with a single shared transformer, which allows dense cross-modal interaction from the first layer (Li et al. 2019; Chen et al. 2020). However, its cost grows with the combined sequence length, and one stream must handle modalities with very different statistics. Late fusion avoids this by encoding each modality independently and merging only their high-level representations or predictions, missing fine-grained cross-modal dependencies (Baltrusaitis, Ahuja, and Morency 2019). Dual-stream architectures keep a separate stack per modality, interacting only through cross-attention (Lu et al. 2019; Tan and Bansal 2019; Tsai et al. 2019), but the number of stacks scales with the number of modalities, on top of the cross-attention overhead. Bottleneck fusion reduces this cost by routing exchange through a small set of shared latent tokens (Nagrani et al. 2021), yet the narrow channel limits token-level alignment, and nothing controls how much each modality contributes to those tokens. These designs determine how modalities interact but do not explicitly control how much each should contribute, leaving open whether they contribute equally in practice.
2.2 Modality Imbalance and Dominance
In practice, they often do not. Jointly trained multimodal networks can underperform their best unimodal counterparts because modalities overfit and generalise at different rates (Wang, Tran, and Feiszli 2020). This is attributed to greedy learning, which fits the easiest modality first and leaves the others under-trained (Wu et al. 2022), and to competition between modalities during joint training (Huang et al. 2022).
Existing remedies operate at three levels. Gradient-based methods slow the dominant modality by scaling down its gradient according to its contribution relative to the other modalities (Peng et al. 2022), or by modulating gradients using each modality's individual contribution (Li et al. 2023). Others reconcile unimodal and multimodal gradients through a shared Pareto-based update direction (Wei and Hu 2024). Representation-level methods rebalance learning through class prototypes that speed up the slower modality and restrain the dominant one (Fan et al. 2023), or by re-initialising the encoder of the under-learned modality (Wei et al. 2024). At the data level, modality dropout randomly withholds modalities during training to discourage reliance on any one of them (Neverova et al. 2015). However, these methods are typically evaluated as independent single-task classification problems, largely on audio-visual benchmarks, and do not explicitly model how much each task depends on each modality.
2.3 Multi-task Learning
These problems are exacerbated in multi-task settings. Multi-task learning shares parameters across tasks so that related tasks can regularise one another (Caruana 1997; Ruder 2017), but whether sharing helps depends on which tasks are grouped (Standley et al. 2020).
Loss-weighting methods scale each task's loss by learned uncertainty (Kendall, Gal, and Cipolla 2018), by gradient magnitude and learning pace (Chen et al. 2018), or by dynamic weight averaging (Liu, Johns, and Davison 2019). Because they operate on scalar weights over the shared model, they cannot control how a task uses the individual modalities. Gradient-based methods treat multi-task learning as multi-objective optimisation and seek a common descent direction that leads to Pareto optimal solutions (Sener and Koltun 2018), project each task's gradient away from any task gradient it conflicts with (Yu et al. 2020), or choose the update that maximises the worst-case improvement across tasks within a neighbourhood of the average gradient (Liu et al. 2021). These methods act on the aggregated gradient of shared parameters and treat the modalities feeding those parameters as interchangeable. Architectural methods learn soft sharing between task networks (Misra et al. 2016), give each task its own gate over a set of shared experts (Ma et al. 2018), or turn the shared layers with the highest gradient conflict into task-specific layers (Shi et al. 2023). Yet separating parameters by task leaves the modalities within each task competing for the same parameters, and ignores that tasks may rely unevenly on different modalities.
2.4 Modality-Specific Parameters
A natural response is to give modalities parameters of their own. MISA separates each modality into a modality-invariant and a modality-specific representation before fusing them (Hazarika, Zimmermann, and Poria 2020), but this separation is only encouraged by auxiliary similarity, difference and reconstruction losses that need weighting, and the architecture itself does not enforce it. Multiway Transformers build the separation into the architecture by sharing self-attention across modalities while giving each modality its own feed-forward expert (Bao et al. 2022; Wang et al. 2023). The allocation is, however, fixed by modality and identical for every task, and since only the feed-forward layers are separated, interference in self-attention remains. Mixture-of-experts models instead use a learned router to send each token to a small set of experts, so that different inputs use different parameters (Shazeer et al. 2017; Fedus, Zoph, and Shazeer 2022). Together, these designs give modalities dedicated parameters, but they allocate that capacity by fixed modality or by learned routing, and they do not explicitly model how important each modality is for each task.
2.5 Parameter Redundancy in Transformers
Dedicated capacity need not mean additional parameters. Modern transformers are widely over-parameterised, with substantial redundancy in both attention mechanisms and parameter space (Michel, Levy, and Neubig 2019; Voita et al. 2019; Aghajanyan, Gupta, and Zettlemoyer 2021). Large fractions of attention heads can be pruned with minimal impact on performance, and intrinsic dimensionality analyses show that task-specific adaptation occurs in a much lower-dimensional subspace than the full parameter space suggests. Rather than discarding redundant heads, MOSAIC assigns heads to different modalities, so that each partition is sized for its own role and unnecessary cross-modal interactions are avoided by design.
3 Methodology
Let denote a set of input modalities, and let denote a set of tasks. Each training example consists of a tuple , where is the input from modality and is the label for task . The goal is to learn a shared model such that .
3.1 MOSAIC Architecture
Embeddings. Let denote the maximum sequence length processed by the shared backbone. Each modality is encoded independently using a modality-specific feature extractor , producing a sequence of token embeddings projected into the backbone embedding space:
In fusion-based architectures, modality sequences are concatenated prior to self-attention, requiring the combined sequence length to satisfy . In contrast, our architecture processes each modality's own sequence of tokens separately, using only that modality's dedicated subset of attention heads rather than a shared concatenated sequence, which removes this constraint and allows each modality to independently utilise the full sequence length ( , ). To obtain this common length, each is padded or truncated to tokens, and a per-modality key padding mask prevents attention from reading padded positions. Modality sequences are matched by position index within each 30-second clip and are not explicitly time-aligned. Cross-modal correspondence is instead learned by the cross-attention layers, where each query attends over all positions of the other modality. Positional encodings are applied independently to each modality sequence to preserve intra-modal ordering before passing them to their corresponding attention-head partitions.
Modality-Specific Attention Heads. Rather than allowing every attention head to operate over the same input sequence, MOSAIC partitions the attention heads of each transformer layer into K disjoint modality-specific subsets. Each subset contains heads and is assigned to modality .
Initial Attention Layer. For each head, the query, key, and value matrices are computed from the corresponding modality embeddings:
where , . Standard scaled dot-product attention is then applied, producing head outputs , which are concatenated along the feature dimension: .

Figure 1: MOSAIC's Architecture. Dotted lines indicate separation between partitions.
This results in a modality-partitioned representation, in which each token embedding is composed of disjoint feature subspaces corresponding to different modalities:
where , and denotes the contribution of modality to the -th token embedding.
Unlike conventional multimodal Transformers, which concatenate modality representations along the sequence dimension, MOSAIC concatenates modality-specific representations along the feature dimension. Consequently, every output token contains modality-specific feature partitions rather than attention over a mixed modality sequence.
Residual Stream. To preserve this modality-partitioned representation within the residual stream, each modality embedding is projected into its corresponding feature subspace via a learned linear projection,
yielding . The projected modality representations are then concatenated along the feature dimension to form the initial modality-partitioned residual stream, .
All subsequent layers operate on this shared stream, but each head stays tied to its modality: it reads only that modality's slice, so self-attention never mixes modalities and cross-modal exchange occurs only in the cross-attention layers below.
Block-Diagonal Feed-Forward and Normalisation Layers. A dense feed-forward layer would mix information across partitions and undo the separation enforced by attention. Both feed-forward weight matrices, , where is the intermediate dimension of the feed-forward network, are therefore parameterised as block-diagonal,
Each block , with , operates only on the feature dimensions assigned to modality . Block weights are initialised from the corresponding diagonal blocks of the pretrained feed-forward weights, while the off-diagonal entries are discarded and fixed to zero, preventing interactions between modality subspaces.
Consequently, for an input token representation , the feed-forward layer independently transforms each modality component,
where and are the k-th blocks of and . This preserves the modality-partitioned representation established by the attention mechanism while allowing each modality to learn independent nonlinear feature transformations.
The block structure also permits an efficient implementation: rather than multiplying by the full block-diagonal matrices, each partition is processed with its own small matrices and the outputs are concatenated along the feature dimension. This reduces the feed-forward compute and parameters by a factor of K relative to a dense layer.
Layer normalisation follows the same principle. Each partition is normalised using statistics computed only over its own feature dimensions, with separate learnable scale and bias parameters, so the activation statistics of one modality cannot influence another.
Cross-Attention. To enable inter-modal information exchange without collapsing the partitioned structure, we use cross-attention, in which the querying modality keeps its own feature partition while keys and values are drawn from another modality's partition (Tsai et al. 2019).
For a head h assigned to modality , cross-attending to modality ,
where and , and are block-diagonal, restricted to the feature dimensions of their respective modality partitions.
Cross-attention is applied only in the later layers (4 to 12), at every odd layer, so that each modality's representations mature within their own partitions before being exposed to the others. To ensure symmetric exchange between every pair of modalities, the heads assigned to are split into K-1 equal groups, each dedicated to cross-attending to one of the other modalities . We discuss the rationale for this allocation in the Limitations section.
Multi-Task Classification Heads. Following standard multi-task learning (Zhang and Yang 2021), we attach a separate linear head for each task t to the shared multimodal encoder, with a softmax over its classes.
3.2 Modality-Specific Losses and Gradient Routing
MOSAIC defines a separate loss for each modality partition, weighting every task by its overimportance and by the modality's relevance to it. Both quantities are initialised uniformly and re-estimated on the validation set every epochs.
Task losses. For task t, with the number of task-t samples in the batch,
Task weights. Following (Guo et al. 2018), we track an exponential moving average (EMA) of each task's validation macro-F1,
where is the number of classes of task . With EMA coefficient , every epochs
so that and . Lower-performing tasks therefore receive larger weights.
Task-modality relevance. We estimate each modality's contribution to each task with Shapley values (Shapley 1953), computed exactly over all modality subsets on the validation set. The value of a coalition for task is the validation macro-F1 obtained when only the modalities in are available,
where an ablated modality has its partition of the residual stream set to zero. The Shapley value of modality k for task t is
These values satisfy efficiency, , so they decompose the gain of the full multimodal model over the fully ablated one. Because K is small, the sum is evaluated exactly, requiring validation passes per estimation round; these are shared across all T tasks, since each pass yields predictions for every task.
Negative values, which indicate that a modality hurts performance on a task, are clipped to zero and normalised across modalities,
with if the denominator is zero. With EMA coefficient , the relevance is smoothed as
so that for every task.
Loss and gradient routing. The loss for partition weights each task loss by both quantities, while the shared parameters use the -weighted total loss:
The parameters are partitioned into modality-specific sets and a shared set . The set contains the embedding projection , the query, key, and value projections of every head assigned to , the attention output projection, the feed-forward weights and biases, and the layer-normalisation scale and bias parameters of partition k.
Gradient Routing. Each modality-specific subset is updated only with the gradient of its own loss,
so its update is shaped both by the modality's estimated relevance to each task ( ) and by that task's importance ( ). The shared parameters are instead updated using the gradient of the full objective, , which weights tasks by alone.
4 Experiments
4.1 Experimental Setup
Datasets. We select the Corpus of Everyday Japanese Conversation (CEJC) (Koiso et al. 2022), obtained via an academic licence from the National Institute for Japanese Language and Linguistics, as it is, to our knowledge, the largest naturalistic multimodal corpus jointly annotated across all four target tasks, enabling genuine multi-task evaluation rather than one assembled from disjoint single-task datasets. CEJC comprises 152 hours of multimodal conversational recordings annotated for conversational style (Style), activity (Activity), location (Place), and interpersonal relationship (Relation), segmented into 30-second clips (14,884/1,986/1,756 train/dev/test). Following (Chiba and Higashinaka 2023), rare classes are merged to alleviate class imbalance, and multi-label Relation annotations are resolved by selecting the most distant relationship label.
Baselines. We compare MOSAIC against unimodal models (video, audio, text) and two fusion-based baselines: AVL-BERT (Chiba and Higashinaka 2023), which uses ResNet-50 and VGGish as visual and audio encoders, and AVL-BERT (Upgraded), which swaps in MOSAIC's pretrained encoders (DINOv2, HuBERT, BERT-Japanese (Oquab et al. 2023; Hsu et al. 2021; Suzuki and Nagata 2019)). All models are initialised from the same BERT-Base (Devlin et al. 2019) backbone and prediction heads. We report per-task and average macro-F1. Each configuration was trained with a fixed seed. Implementation details are in the appendix, and code will be released upon publication.
Implementation Details. The shared backbone across all models is BERT-Base (12 layers, 12 attention heads, hidden dimension ), with a maximum sequence length of 512. MOSAIC partitions attention heads across K = 3 modalities (video, audio, text), assigning heads to each modality, with a per-modality feature dimension . Modality-specific inputs are encoded using frozen pretrained encoders: DINOv2 (Oquab et al. 2023) for video, HuBERT (Hsu et al. 2021) for audio, and BERT-Japanese (Suzuki and Nagata 2019) for text. Cross-attention layers are interleaved from layer 4 to layer 12 (inclusive).
All models are optimised using AdamW with a weight decay of 0.01 and a batch size of 16. Partitioned parameters, adapted from pretrained BERT-Base weights, use a lower learning rate of to preserve pretrained representations, while shared parameters, which are newly initialised, use a higher learning rate of to support faster learning from scratch.
All source code required for conducting and analysing the experiments will be made publicly available upon publication of the paper.
4.2 Main Results
Table 1 shows that unimodal baselines are highly uneven across tasks: audio (HuBERT) is strongest on Style, video (DINOv2) leads on Place among the unimodal models, and text (BERT-Japanese) trails on every task except Relationship, where it is broadly competitive. This confirms that no single modality is sufficient across all four tasks, motivating a fusion approach. AVL-BERT improves over the best unimodal model on Style and Relationship but underperforms the video-only baseline on both Place (0.592 vs. 0.674) and Activity (0.238 vs. 0.289), suggesting that unconstrained fusion can dilute a modality's useful signal on tasks where it is individually strong. Upgrading the fusion backbone (AVL-BERT Upgraded) recovers the video-only level on Place (0.676 vs. 0.674) but not on Activity (0.251 vs. 0.289), and yields the best baseline average (0.583). It still trails MOSAIC (Multi-Task) on every task. MOSAIC outperforms both unimodal and fusion baselines on average, with the largest gain on the hardest task, Activity, where the strongest baseline (video-only) reaches 0.289 macro-F1 against 0.441 for MOSAIC (Multi-Task) and 0.476 for MOSAIC (Single-Task), gains of 15.2 and 18.7 points. This is consistent with Activity being the task most dependent on precise cross-modal grounding, which the modality-partitioned attention
Table 1: Macro-averaged F1 scores on the CEJC test set across four classification tasks. Best results are shown in bold and second-best results are underlined.
| Model | Style | Place | Activity | Relationship | Avg. |
|---|---|---|---|---|---|
| Video (DINov2) | 0.562 | 0.674 | 0.289 | 0.561 | 0.522 |
| Audio (HuBERT) | 0.620 | 0.641 | 0.262 | 0.591 | 0.529 |
| Text (BERT-Japanese) | 0.548 | 0.303 | 0.201 | 0.558 | 0.403 |
| AVL-BERT | 0.648 | 0.592 | 0.238 | 0.684 | 0.541 |
| AVL-BERT (Upgraded) | 0.692 | 0.676 | 0.251 | 0.712 | 0.583 |
| MOSAIC (Single-Task) | 0.676 | 0.763 | 0.476 | 0.689 | 0.651 |
| MOSAIC (Multi-Task) | 0.727 | 0.739 | 0.441 | 0.720 | 0.657 |
Table 2: Ablation study on CEJC. Each row replaces one component of the full MOSAIC architecture with its standard BERT-Base counterpart (see text). Macro-averaged F1 scores reported.
| Model | Style | Place | Activity | Relationship | Avg. |
|---|---|---|---|---|---|
| MOSAIC (full) | 0.727 | 0.739 | 0.441 | 0.720 | 0.657 |
| w/o Modality-Specific Attention | 0.699 | 0.678 | 0.322 | 0.604 | 0.576 |
| w/o Block-Diagonal MLP | 0.729 | 0.710 | 0.358 | 0.664 | 0.615 |
| w/o Cross-Attention Layers | 0.687 | 0.718 | 0.341 | 0.603 | 0.587 |
| w/o Modality-Specific Losses | 0.719 | 0.708 | 0.348 | 0.628 | 0.601 |
and targeted cross-attention layers in MOSAIC are specifically designed to preserve. Multi-task training slightly reduces Place and Activity but improves Style and Relationship, yielding a marginally higher average (0.657 vs. 0.651). This suggests that gradient routing may help balance the benefits of shared learning against interference between tasks, although the small average gain and the remaining drops on Place and Activity indicate that some negative transfer persists. Overall, MOSAIC's gains stem not from access to more modalities, but from architectural control over how and when modalities interact per task.
4.3 Ablation Study
Table 2 isolates the contribution of each component by replacing it in the full MOSAIC model with its standard BERT-Base counterpart, leaving all other components unchanged. Modality-specific attention is replaced by dense self-attention over the modality-partitioned residual stream, the block-diagonal MLP by the dense feed-forward network, and the cross-attention layers by standard layers. For modality-specific losses, all parameters are updated with the shared objective using the same task weights , so only the relevance matrix is removed.
Removing modality-specific attention causes the largest drop (0.657 0.576), especially on Activity (0.441 0.322) and Relationship (0.720 0.604), suggesting that modality-specific attention parameters are important for preserving fine-grained modality signal. Removing cross-attention layers produces the second-largest drop (0.657 0.587), again concentrated on Activity and Relationship, indicating that explicit inter-modal interaction is useful beyond modality-specific processing alone; Place is largely unaffected (0.739 0.718), suggesting it relies more on single-
Table 3: Parameter counts and average F1 for AVL-BERT and MOSAIC variants.
| Model | Total Backbone Params | Trainable Params | Avg F1 |
|---|---|---|---|
| AVL-BERT (upgraded) | 109,482,240 | 109,482,240 | 0.583 |
| MOSAIC (no fine-tuning) | 30,813,723 | 610,587 | 0.639 |
| MOSAIC (Best) | 30,813,723 | 11,846,400 | 0.657 |
modality cues. Removing modality-specific losses lowers the average from 0.657 to 0.601, with Activity and Relationship again most affected, which may indicate that interference is most harmful to the hardest tasks in the absence of relevance-based routing. Replacing the block-diagonal MLP with a fully dense one causes the smallest drop (0.657 0.615); the dense variant has more parameters, which may partly offset the loss of modality-wise structure, and Style even improves slightly (0.727 0.729), consistent with it being the easiest signal for unrestricted dense mixing to exploit from the dominant modality.
4.4 Parameter Efficiency
Parameter counts exclude the frozen modality encoders (DINOv2, HuBERT and BERT-Japanese), which are identical across all systems and are not trained.
Table 3 highlights the parameter efficiency of MOSAIC relative to AVL-BERT. The full MOSAIC backbone contains only 30.8M parameters, a 72% reduction from AVL-BERT's 109.5M, while still achieving a higher average F1 (0.657 vs. 0.583). Notably, MOSAIC with no fine-tuning, using just 610K trainable parameters (0.56% of AVL-BERT's trainable parameters), already surpasses AVL-BERT's performance (0.639 vs. 0.583), demonstrating that the modality-partitioned architecture provides strong inductive bias even before task-specific adaptation. Fine-tuning MOSAIC's parameters (11.8M trainable) yields a further improvement to 0.657, showing that the architecture's efficiency gains do not limit the model's ability to specialise to individual tasks. Together, these results indicate that MOSAIC's structured partitioning enables competitive or superior performance with substantially fewer parameters, both in total and in what must be trained.
5 Conclusion
We introduced MOSAIC, a modality-partitioned transformer for multimodal multi-task learning that addresses task-modality interference through structured representation separation and gradient routing. By preserving modality-specific feature spaces while enabling controlled cross-modal interaction, MOSAIC improves task specialisation without separate modality-specific transformer stacks. Experiments on CEJC show improved multi-task performance with substantially fewer backbone parameters than fusion-based alternatives, alongside reduced task interference supported by gradient analysis. These results highlight the value of explicitly modelling task-modality dependencies in multimodal architecture design.
Limitations and Future Work
Our evaluation is restricted to a single Japanese dataset, CEJC, with three modalities (audio, video, and text), a BERT-Base backbone, and modalities matched by position index within each clip rather than explicitly time-aligned. We therefore do not know how well the findings transfer to other multimodal multi-task benchmarks, languages, label sets, or tasks whose modality dependencies differ from the four studied here. Evaluation on additional datasets, a broader range of modalities, explicit temporal alignment, and larger pretrained backbones remains an important direction. We also compare MOSAIC against a fusion-based baseline but not against methods that address task conflict through loss weighting, gradient surgery (e.g., PCGrad), or task grouping, which we discuss in the introduction. It thus remains unclear whether these optimisation methods would narrow the gap when applied to a fusion-based model, or whether they are complementary to partitioning when combined with MOSAIC.
MOSAIC's design also rests on several simplifying assumptions. Capacity, feature dimensions, and attention heads are allocated equally across modalities regardless of their complexity, and head assignment, cross-modal pairing, and the placement and frequency of cross-attention layers are fixed rather than learned. In particular, the heads of each modality are split equally among the other modalities. We adopt this symmetric scheme because it requires no prior assumption about which modality should attend to which, and it divides evenly in our configuration (, giving two heads per modality pair). The trade-off is that every pair receives the same cross-attention capacity regardless of how useful the exchange is for the tasks at hand, so a pair that matters little for a given task consumes heads that a more informative pair could use. We did not compare alter-
native allocation schemes, such as head counts proportional to the relevance matrix or learned pair weights. Adaptive capacity allocation, data-driven head selection, and a learned cross-attention schedule are natural extensions.
Finally, modality-wise partitioning may limit scalability as the number of modalities grows, since each added modality brings its own parameter partition and more cross-attention pairs, while the capacity available per pair shrinks. This motivates dynamic or hierarchical partitioning schemes.
Ethical Considerations
Our primary benchmark, the Corpus of Everyday Japanese Conversation (CEJC), was obtained by purchasing an academic licence from the National Institute for Japanese Language and Linguistics (NINJAL), and we use it solely for academic research under the terms of that licence.
Acknowledgements
We used Claude (Anthropic) and ChatGPT (OpenAI) to edit parts of the text and to write parts of the code. All outputs were reviewed and verified by the authors, who take full responsibility for the content.
References
Aghajanyan, A.; Gupta, S.; and Zettlemoyer, L. 2021. Intrinsic dimensionality explains the effectiveness of language model fine-tuning. In Proceedings of the 59th annual meeting of the association for computational linguistics and the 11th international joint conference on natural language processing (volume 1: long papers), 7319–7328.
Baltrusaitis, T.; Ahuja, C.; and Morency, L.-P. 2019. Multimodal machine learning: A survey and taxonomy. IEEE transactions on pattern analysis and machine intelligence, 41(2): 423–443.
Bao, H.; Wang, W.; Dong, L.; Liu, Q.; Mohammed, O. K.; Aggarwal, K.; Som, S.; Piao, S.; and Wei, F. 2022. Vlmo: Unified vision-language pre-training with mixture-of-modality-experts. Advances in neural information processing systems, 35: 32897–32912.
Caruana, R. 1997. Multitask learning. Machine learning, 28(1): 41–75.
Chen, Y.-C.; Li, L.; Yu, L.; El Kholy, A.; Ahmed, F.; Gan, Z.; Cheng, Y.; and Liu, J. 2020. Uniter: Universal image-text representation learning. In European conference on computer vision, 104–120. Springer.
Chen, Z.; Badrinarayanan, V.; Lee, C.-Y.; and Rabinovich, A. 2018. Gradnorm: Gradient normalization for adaptive loss balancing in deep multitask networks. In International conference on machine learning, 794–803. PMLR.
Chiba, Y.; and Higashinaka, R. 2023. Dialogue situation recognition in everyday conversation from audio, visual, and linguistic information. IEEE Access, 11: 70819–70832.
Devlin, J.; Chang, M.-W.; Lee, K.; and Toutanova, K. 2019. Bert: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 conference of the North American chapter of the association for computational linguistics: human language technologies, volume 1 (long and short papers), 4171–4186.
Fan, Y.; Xu, W.; Wang, H.; Wang, J.; and Guo, S. 2023. PMR: Prototypical Modal Rebalance for Multimodal Learning. In 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 20029–20038.
Fedus, W.; Zoph, B.; and Shazeer, N. 2022. Switch transformers: Scaling to trillion parameter models with simple and efficient sparsity. Journal of Machine Learning Research, 23(120): 1–39.
Guo, M.; Haque, A.; Huang, D.-A.; Yeung, S.; and Fei-Fei, L. 2018. Dynamic task prioritization for multitask learning. In European conference on computer vision, 282–299. Springer.
Hazarika, D.; Zimmermann, R.; and Poria, S. 2020. Misa: Modality-invariant and-specific representations for multimodal sentiment analysis. In Proceedings of the 28th ACM international conference on multimedia, 1122–1131.
Held, W.; and Yang, D. 2023. Shapley head pruning: Identifying and removing interference in multilingual transformers. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, 2416–2427.
Hsu, W.-N.; Bolte, B.; Tsai, Y.-H. H.; Lakhotia, K.; Salakhutdinov, R.; and Mohamed, A. 2021. Hubert: Self-supervised speech representation learning by masked prediction of hidden units. IEEE/ACM transactions on audio, speech, and language processing, 29: 3451–3460.
Huang, Y.; Lin, J.; Zhou, C.; Yang, H.; and Huang, L. 2022. Modality competition: What makes joint training of multimodal network fail in deep learning? (provably). In International conference on machine learning, 9226–9259. PMLR.
Kendall, A.; Gal, Y.; and Cipolla, R. 2018. Multi-task learning using uncertainty to weigh losses for scene geometry and semantics. In Proceedings of the IEEE conference on computer vision and pattern recognition, 7482–7491.
Koiso, H.; Amatani, H.; Den, Y.; Iseki, Y.; Ishimoto, Y.; Kashino, W.; Kawabata, Y.; Nishikawa, K.; Tanaka, Y.; Usuda, Y.; et al. 2022. Design and evaluation of the corpus of everyday Japanese conversation. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, 5587–5594.
Li, H.; Li, X.; Hu, P.; Lei, Y.; Li, C.; and Zhou, Y. 2023. Boosting multi-modal model performance with adaptive gradient modulation. In Proceedings of the IEEE/CVF International Conference on Computer Vision, 22214–22224.
Li, L. H.; Yatskar, M.; Yin, D.; Hsieh, C.-J.; and Chang, K.-W. 2019. Visualbert: A simple and performant baseline for vision and language. arXiv preprint arXiv:1908.03557.
Liu, B.; Liu, X.; Jin, X.; Stone, P.; and Liu, Q. 2021. Conflict-averse gradient descent for multi-task learning. Advances in neural information processing systems, 34: 18878–18890.
Liu, S.; Johns, E.; and Davison, A. J. 2019. End-to-end multi-task learning with attention. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 1871–1880.
Lu, J.; Batra, D.; Parikh, D.; and Lee, S. 2019. Vilbert: Pretraining task-agnostic visiolinguistic representations for vision-and-language tasks. Advances in neural information processing systems, 32.
Ma, J.; Zhao, Z.; Yi, X.; Chen, J.; Hong, L.; and Chi, E. H. 2018. Modeling task relationships in multi-task learning with multi-gate mixture-of-experts. In Proceedings of the 24th ACM SIGKDD international conference on knowledge discovery & data mining, 1930–1939.
Michel, P.; Levy, O.; and Neubig, G. 2019. Are sixteen heads really better than one? Advances in neural information processing systems, 32.
Misra, I.; Shrivastava, A.; Gupta, A.; and Hebert, M. 2016. Cross-stitch networks for multi-task learning. In Proceedings of the IEEE conference on computer vision and pattern recognition, 3994–4003.
Nagrani, A.; Yang, S.; Arnab, A.; Jansen, A.; Schmid, C.; and Sun, C. 2021. Attention bottlenecks for multimodal fusion. Advances in neural information processing systems, 34: 14200–14213.
Neverova, N.; Wolf, C.; Taylor, G.; and Nebout, F. 2015. Moddrop: adaptive multi-modal gesture recognition. IEEE Transactions on Pattern Analysis and Machine Intelligence, 38(8): 1692–1706.
Oquab, M.; Darcet, T.; Moutakanni, T.; Vo, H.; Szafraniec, M.; Khalidov, V.; Fernandez, P.; Haziza, D.; Massa, F.; El-Nouby, A.; et al. 2023. Dinov2: Learning robust visual features without supervision. arXiv preprint arXiv:2304.07193.
Peng, X.; Wei, Y.; Deng, A.; Wang, D.; and Hu, D. 2022. Balanced multimodal learning via on-the-fly gradient modulation. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 8238–8247.
Ruder, S. 2017. An overview of multi-task learning in deep neural networks. arXiv preprint arXiv:1706.05098.
Sener, O.; and Koltun, V. 2018. Multi-task learning as multi-objective optimization. Advances in neural information processing systems, 31.
Shapley, L. S. 1953. A Value for n-Person Games. In Kuhn, H. W.; and Tucker, A. W., eds., Contributions to the Theory of Games, Volume II, number 28 in Annals of Mathematics Studies, 307–317. Princeton, NJ: Princeton University Press.
Shazeer, N.; Mirhoseini, A.; Maziarz, K.; Davis, A.; Le, Q.; Hinton, G.; and Dean, J. 2017. Outrageously large neural networks: The sparsely-gated mixture-of-experts layer. arXiv preprint arXiv:1701.06538.
Shi, G.; Li, Q.; Zhang, W.; Chen, J.; and Wu, X.-M. 2023. Recon: Reducing conflicting gradients from the root for multi-task learning. arXiv preprint arXiv:2302.11289.
Standley, T.; Zamir, A.; Chen, D.; Guibas, L.; Malik, J.; and Savarese, S. 2020. Which tasks should be learned together in multi-task learning? In International conference on machine learning, 9120–9132. PMLR.
Suzuki, M.; and Nagata, M. 2019. BERT Models for Japanese Text. https://github.com/cl-tohoku/bert-japanese. Accessed: 2024.
Tan, H.; and Bansal, M. 2019. Lxmert: Learning cross-modality encoder representations from transformers. In Proceedings of the 2019 conference on empirical methods in natural language processing and the 9th international joint conference on natural language processing (EMNLP-IJCNLP), 5100–5111.
Tsai, Y.-H. H.; Bai, S.; Liang, P. P.; Kolter, J. Z.; Morency, L.-P.; and Salakhutdinov, R. 2019. Multimodal transformer for unaligned multimodal language sequences. In Proceedings of the 57th annual meeting of the association for computational linguistics, 6558–6569.
Voita, E.; Talbot, D.; Moiseev, F.; Sennrich, R.; and Titov, I. 2019. Analyzing multi-head self-attention: Specialized heads do the heavy lifting, the rest can be pruned. In Proceedings of the 57th annual meeting of the association for computational linguistics, 5797–5808.
Wang, W.; Bao, H.; Dong, L.; Bjorck, J.; Peng, Z.; Liu, Q.; Aggarwal, K.; Mohammed, O. K.; Singhal, S.; Som, S.; et al. 2023. Image as a foreign language: Beit pretraining for vision and vision-language tasks. In 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 19175–19186. IEEE.
Wang, W.; Tran, D.; and Feiszli, M. 2020. What makes training multi-modal classification networks hard? In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 12695–12705.
Wei, Y.; and Hu, D. 2024. Mmpareto: Boosting multimodal learning with innocent unimodal assistance. arXiv preprint arXiv:2405.17730.
Wei, Y.; Li, S.; Feng, R.; and Hu, D. 2024. Diagnosing and re-learning for balanced multimodal learning. In European Conference on Computer Vision, 71–86. Springer.
Wu, N.; Jastrzebski, S.; Cho, K.; and Geras, K. J. 2022. Characterizing and overcoming the greedy nature of learning in multi-modal deep neural networks. In International Conference on Machine Learning, 24043–24055. PMLR.
Xu, P.; Zhu, X.; and Clifton, D. A. 2023. Multimodal learning with transformers: A survey. IEEE Transactions on Pattern Analysis and Machine Intelligence, 45(10): 12113–12132.
Yu, T.; Kumar, S.; Gupta, A.; Levine, S.; Hausman, K.; and Finn, C. 2020. Gradient surgery for multi-task learning. Advances in neural information processing systems, 33: 5824–5836.
Zhang, Y.; and Yang, Q. 2021. A survey on multi-task learning. IEEE transactions on knowledge and data engineering, 34(12): 5586–5609.