MTLSI-Net: A Linear Semantic Interaction Network for Parameter-Efficient Multi-Task Dense Prediction

Chen Liu, Hengyu Man, Xiaopeng Fan, Debin ZhaoarXiv 2026

TL;DR

MTLSI-Net introduces a highly parameter-efficient framework for multi-task dense prediction by replacing computationally heavy quadratic self-attention with a novel linear attention mechanism. By combining multi-scale queries, semantic token distillation, and a dual-branch local-global attention block, it achieves state-of-the-art performance on dense pixel-level tasks while using up to 46% fewer parameters than competing models.

What Problem Does This Paper Address?

In computer vision, multi-task dense prediction involves training a single, unified model to simultaneously perform multiple pixel-level tasks on an image—such as semantic segmentation, depth estimation, and object boundary detection. While this unified approach reduces parameter redundancy and allows tasks to share representations, its success hinges on effectively modeling cross-task interactions.

Transformers and Multi-Head Self-Attention (MHSA) are excellent at capturing these global relationships. However, dense prediction tasks operate on high-resolution feature maps containing tens of thousands of tokens. Standard self-attention scales quadratically ($O(N^2)$) with the number of tokens, making it computationally prohibitive for high-resolution images.

To bypass this bottleneck, existing methods either downsample the features (which destroys crucial spatial details) or use sparse representations like task prompts (which hinders dense pixel-to-pixel correlation modeling). The authors of this paper set out to break this trade-off, seeking a method that maintains dense, high-resolution cross-task interactions without the quadratic computational tax.

Methods

The authors propose MTLSI-Net (Multi-Task Linear Semantic Interaction Network), which follows a coarse-to-fine paradigm. As shown in the framework overview, the model processes features through three novel components designed to keep computational complexity linear ($O(N)$):

Fig. 1. Overview of the proposed coarse-to-fine multi-task learning framework. Given an input image, a shared backbone first extracts multi-scale features. Subsequently, preliminary decoders generate initial task-specific representations and coarse predictions. Next, to enable cross-task interaction, the MT-MQLFB processes the concatenated features and predictions. Finally, semantic decoders, incorporating the Semantic Token Distiller and Cross-Window Integrated Attention Block (CWIB), refine these features to produce fine-grained predictions for all tasks.
  1. Multi-Task Multi-Scale Query Linear Fusion Block (MT-MQLFB): Standard linear attention struggles with multi-task learning because different tasks require different receptive fields (e.g., edge detection needs fine-grained local patterns, while segmentation needs broad regional context). MT-MQLFB addresses this by using depth-wise convolutions of varying kernel sizes (1x1, 3x3, 5x5) to generate multi-scale queries. Crucially, it computes a single shared global context matrix only once, sharing it across all scales to minimize overhead.
Fig. 2. Architecture of the Multi-task Multi-scale Query Linear Fusion Block.
  1. Semantic Token Distiller: Fusing features across multiple tasks inevitably introduces task-irrelevant noise. This module uses a lightweight MLP and a soft-assignment matrix to condense the high-resolution feature sequence into a compact set of $K$ representative semantic tokens ($K \ll N$), effectively filtering out redundancy.
  2. Cross-Window Integrated Attention Block (CWIB): To ensure these distilled global semantics properly guide local pixel predictions, CWIB uses a dual-branch architecture. One branch utilizes Window-based Self-Attention (W-MSA) to maintain local spatial coherence, while the parallel branch uses Cross-Attention (CA) to inject the global semantic tokens back into the local features.

Datasets

The framework was evaluated on two standard multi-task dense prediction benchmarks:

  • NYUDv2: An indoor dataset evaluated across 4 tasks: semantic segmentation, monocular depth estimation, surface normal estimation, and object boundary detection.
  • PASCAL-Context: A dataset evaluated across 5 tasks: semantic segmentation, human parsing, saliency detection, surface normal estimation, and object boundary detection.

Key Insights and Ideas

  • Receptive Field Customization in Linear Attention: Linear attention can be successfully adapted to multi-task learning, but only if the model accounts for the varying receptive field preferences of different tasks. Multi-scale query generation is the key that unlocks this capability.
  • The Shared Context Efficiency Trick: By decoupling the global context matrix from the multi-scale queries, the matrix only needs to be computed once. This allows the model to scale linearly with feature resolution, making high-resolution cross-task interaction feasible.
  • More Tokens $\neq$ Better Performance: In the Semantic Token Distiller, increasing the number of distilled tokens ($K$) beyond a certain point actually degrades performance.
Fig. 3. Ablation study on the number of semantic tokens K on NYUDv2.

As seen in the ablation study, performance peaks at $K=512$. Raising $K$ to 2048 introduces spatial redundancy back into the semantic representation, proving that a compact bottleneck is vital for clean cross-task knowledge transfer.

Key Results

MTLSI-Net achieves state-of-the-art or highly competitive results across both datasets while demonstrating exceptional parameter efficiency:

  • NYUDv2 (Swin-T Backbone): MTLSI-Net outperformed the popular DeMT architecture on most tasks while using only 17.45M parameters compared to DeMT's 32.07M—a reduction of roughly 46%. It also beat InvPT++ by 1.85 mIoU on semantic segmentation.
  • PASCAL-Context (Large Backbone): The model achieved the top performance in semantic segmentation (80.86 mIoU) and human parsing (69.90 mIoU). Remarkably, it required only 234M parameters compared to TaskExpert's 420M parameters (a 44% savings).

Qualitatively, the integration of explicit boundary task features directly translated into sharper object boundaries and cleaner delineations in the final semantic segmentation outputs.

Limitations and Future Work

While MTLSI-Net drastically reduces parameter counts and maintains linear complexity with respect to image resolution, the authors note that its FLOPs (Floating Point Operations) remain relatively high. This is a direct consequence of choosing to operate on high-resolution intermediate features to preserve spatial details.

For future work, the authors plan to optimize these computational operations and explore extending this linear cross-task interaction paradigm to video-based multi-task learning, where the temporal dimension makes efficiency even more critical.

Summary updated

BibTeX
@misc{liu2026mtlsi,
  author = {Chen Liu and Hengyu Man and Xiaopeng Fan and Debin Zhao},
  title = {{MTLSI-Net: A Linear Semantic Interaction Network for Parameter-Efficient Multi-Task Dense Prediction}},
  year = {2026},
  eprint = {2604.01995},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.01995},
}
Figure