Reproduce “End-to-End Multi-Task Learning with Attention” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Shikun Liu, Edward Johns, Andrew J. Davison

MTAN uses one shared network to produce a pool of features, then learns task-specific soft filters that select from this pool for each prediction. This design shares processing while allowing tasks to specialize. On NYUv2 validation, MTAN achieves 17.72 mIoU versus 14.71 for Cross-Stitch on 13-class segmentation, with fewer parameters; results vary by task, and CityScapes depth errors favor Dense.

Key insights

  • Task-specific attention modules effectively learn to select and emphasize relevant features from a shared backbone, enabling flexible feature sharing without extensive parameter overhead.
  • The proposed Dynamic Weight Average (DWA) provides a simple yet effective adaptive loss weighting strategy that improves robustness to loss balancing choices, requiring only task loss values.
  • The benefits of multi-task learning and the MTAN architecture become more pronounced as the complexity of individual tasks increases, highlighting the value of shared representations for challenging problems.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.