Manuscript Offprint

arXiv:2610.26954

Deep Auxiliary Learning via Bilevel Feature Optimization for Label-Efficient Medical Image Segmentation

Fuping Wu, Xi Jia, Le Zhang, Jiahua Li, Rima Mustafa, Thomas E. Nichols, Bartlomiej W. Papiez

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Fuping Wu, Xi Jia, Le Zhang, Jiahua Li, Rima Mustafa, Thomas E. Nichols, Bartłomiej W. Papież

Abstract—Auxiliary learning (AL), which can improve the performance of a primary task by leveraging related auxiliary tasks, is commonly regarded as a special case of multi-task learning. Existing AL approaches typically require manually annotated auxiliary labels, increasing annotation costs, particularly in medical imaging where expert labeling is expensive. In this work, we investigate whether segmentation performance can be improved using auxiliary tasks whose labels are automatically derived from existing segmentation annotations, requiring no additional manual labeling. To address this, we propose a novel auxiliary learning framework, formulated as a bilevel optimization problem. Our method enables effective knowledge transfer between tasks via a feature communication module, enhancing the primary segmentation task. We evaluate the method on three medical image segmentation benchmarks under limited-label settings. The results demonstrate consistent improvements over state-of-the-art methods, achieving superior label efficiency. The code is publicly available at https://github.com/FupingWu90/ALBO.

Index Terms—Segmentation, Auxiliary Learning, Label Efficiency, Bilevel Optimization

I. INTRODUCTION

DEEP learning has achieved remarkable success in medical image segmentation. However, its performance is highly dependent on large-scale annotated datasets, the creation of which is time-consuming and requires domain expertise [1], [2]. This limitation has prompted research into label-efficient learning strategies.

Auxiliary learning (AL), a specialized form of multi-task learning (MTL), has shown strong potential to improve the performance of a primary task under limited supervision by exploiting related auxiliary tasks, and therefore is well-suited to weakly supervised settings such as semi-supervised learning [3]. Unlike MTL, which treats all tasks equally, AL prioritizes a designated main task through auxiliary supervision. Despite this encouraging progress, especially on natural image benchmarks [4], two key challenges remain unresolved for segmentation.

The first is the design of label-efficient auxiliary tasks. Existing methods typically rely on either (i) additional annotated auxiliary tasks such as depth estimation [5], or (ii) self-supervised objectives that benefit from large corpora of unlabeled images [6], [7]. Although effective, these strategies often require additional annotation, auxiliary modalities, or extensive unlabeled datasets, which may be difficult to obtain in medical imaging because of annotation cost and privacy constraints [8]. In this work, we address a fundamental question: Through AL, can models improve the label efficiency of the target (main) task using auxiliary tasks, whose labels are derived solely from the existing data? And if so, how? Previous studies have employed handcrafted or algorithmically generated labels, such as object boundaries, to regularize segmentation outputs [9]–[11]. However, these approaches are evaluated only when abundant labeled images are available, and their robustness under limited-label settings is not discussed. Notably, our setting assumes only the existing annotations of the main task: the auxiliary labels are generated from these annotations, and the training set is not expanded with additional unlabeled images. This is the key difference from semi-supervised learning (SSL), which improves label efficiency by exploiting a pool of unlabeled data; the two strategies are therefore complementary, as discussed in Sec. IV-F.3.

The second challenge is to optimize the AL models such that the auxiliary task consistently benefits, rather than interferes with, the primary segmentation task. Simultaneously learning multiple tasks can result in negative transfer, where the performance of the main task deteriorates [12]. Existing approaches primarily attempt to mitigate this either by dynamically adjusting task importance during training [13], or modifying gradients to reduce conflict between tasks [14], [15]. However, the underlying causes of negative transfer remain underexplored, particularly in medical imaging settings where tasks are often highly imbalanced in difficulty and representation [16]. As illustrated in Fig. 1, without an appropriate optimization technique, the features learned for boundary detection by methods such as Joint and Independent can be inconsistent with this auxiliary task.

This work was supported by the funding from Novo Nordisk.

Fuping Wu (Email: f.wu1@imperial.ac.uk) was with Big Data Institute, Nuffield Department of Population Health, University of Oxford. He is now with Imperial College London.

Xi Jia (Email: xi.jia@psych.ox.ac.uk), Jiahua Li and Rima Mustafa are with the Nuffield Department of Population Health, University of Oxford. Le Zhang is with the University of Birmingham.

Thomas E. Nichols is with Big Data Institute, Nuffield Department of Population Health, and Centre for Integrative Neuroimaging, FMRIB, Nuffield Department of Clinical Neurosciences, University of Oxford

To address these challenges, we propose a new auxiliary learning approach for medical image segmentation in which

Bartłomiej W. Papież is with Big Data Institute, Nuffield Department of Population Health, University of Oxford.

IEEE TRANSACTIONS AND JOURNALS TEMPLATE

Figure

Feature maps for boundary detection

Feature maps for segmentation

Fig. 1: Visualization of feature maps from the encoder of Independent, Joint, and ALBO for a random REFUGE sample.

auxiliary labels are automatically derived from the main-task data, thereby eliminating the need for additional manual labeling or dataset expansion. The intuition is that models can benefit from learning auxiliary tasks that capture complementary structural cues (e.g., boundaries or foreground masks) to improve feature representations for the main segmentation task. Building on this idea, we propose ALBO: auxiliary learning via bilevel optimization. Our main contributions are summarized as follows:

  • We propose ALBO, an auxiliary learning framework for medical image segmentation that exploits auxiliary tasks whose labels are automatically derived from existing segmentation annotations. A bidirectional communication module enables feature exchange between the primary and auxiliary branches.

  • We formulate AL as a bilevel optimization problem and employ a finite-difference approximation to make the optimization tractable during training while enhancing representation learning.

  • The proposed method is evaluated on two 2D and one 3D benchmark datasets and three types of backbones (convolutional U-Net, ViT-based DINOv3, and Mamba architecture), demonstrating superior label efficiency.

References (61)

  • nnu-net: a self-configuring method for deep learning-based biomedical image segmentation
  • Segment anything in medical images
  • Semi-supervised medical image segmentation through dual-task consistency
  • Auxiliary learning as an asymmetric bargaining game
  • Which tasks should be learned together in multi-task learning?
  • Big self-supervised models are strong semi-supervised learners
  • Self-supervised auxiliary learning with meta-paths for heterogeneous graphs
  • Going deep in medical image analysis: concepts, methods, challenges, and future directions
  • Dcan: Deep contour-aware networks for object instance segmentation from histology images
  • Active boundary loss for semantic segmentation
  • Boundary-aware context neural network for medical image segmentation
  • A survey on negative transfer
  • Auxiliary task reweighting for minimum-data learning
  • Conflict-averse gradient descent for multi-task learning
  • Gradient surgery for multi-task learning
  • Forkmerge: Mitigating negative transfer in auxiliary-task learning
  • Module-aware optimization for auxiliary learning
  • Efficiently identifying task groupings for multi-task learning
  • Efficient and effective multi-task grouping via meta learning on task combinations
  • Adapting auxiliary losses using gradient similarity (opens arXiv in a new tab)
  • Adaptive auxiliary task weighting for reinforcement learning
  • Auxiliary learning by implicit differentiation
  • Bi-level learning of task-specific decoders for joint registration and one-shot medical image segmentation
  • Improving vessel segmentation with multi-task learning and auxiliary data available only during model training
  • On-the-fly improving segment anything for medical image segmentation using auxiliary online learning
  • Contrastive registration for unsupervised medical image segmentation
  • Efficient few-shot medical image segmentation via self-supervised variational autoencoder
  • Rotograd: Gradient homogenization in multitask learning
  • An Overview of Multi-Task Learning in Deep Neural Networks
  • Cross-stitch networks for multi-task learning
  • Latent multi-task architecture learning
  • Multi-task cooperative learning via searching for flat minima
  • Gradnorm: Gradient normalization for adaptive loss balancing in deep multitask networks
  • Multi-task learning as multi-objective optimization
  • End-to-end multi-task learning with attention
  • Towards impartial multi-task learning
  • Just pick a sign: Optimizing deep multitask models with gradient sign dropout
  • Multi-task dense prediction via mixture of low-rank experts
  • Reasonable effectiveness of random weighting: A litmus test for multi-task learning
  • Independent component alignment for multi-task learning
  • Multi-task learning as a bargaining game
  • U-net: Convolutional networks for biomedical image segmentation
  • Generalised dice overlap as a deep learning loss function for highly unbalanced segmentations
  • Auto-lambda: Disentangling dynamic task relationships
  • Refuge challenge: A unified framework for evaluating automated methods for glaucoma assessment from fundus photographs
  • Deep learning techniques for automatic mri cardiac multi-structures segmentation and diagnosis: is the problem solved?
  • A large annotated medical image dataset for the development and evaluation of segmentation algorithms (opens arXiv in a new tab)
  • Learning better registration to learn better few-shot medical image segmentation: Authenticity, diversity, and robustness
  • Few-shot medical image segmentation with high-fidelity prototypes
  • Uncertainty-guided prototype reliability enhancement network for few-shot medical image segmentation
  • Minimizing estimated risks on unlabeled data: A new formulation for semi-supervised medical image segmentation
  • Pseudo-label: The simple and efficient semi-supervised learning method for deep neural networks
  • Adversarial learning for semi-supervised semantic segmentation
  • Semi-supervised semantic segmentation with cross pseudo supervision
  • Semi-supervised medical image segmentation via cross teaching between cnn and transformer
  • Semi-supervised medical image segmentation via uncertainty rectified pyramid consistency
  • DINOv3
  • Lora: Low-rank adaptation of large language models
  • Mamba: Linear-Time Sequence Modeling with Selective State Spaces
  • Vision mamba: efficient visual representation learning with bidirectional state space model
  • Vmamba: Visual state space model