Keeping Task Priorities Out of the Shared Backbone

A model trained on several tasks at once, such as segmentation, depth, and surface normals from one image, always carries a built-in choice about which task matters more. That choice is usually made once, through loss weights set before training, and it is then baked into every shared layer. Many deployments need to change that choice after the fact. One site cares most about depth, another about segmentation, and a clinic wants different operating points for different patient groups. Today, changing priorities means retraining the whole network. Layered system engineering solved the analogous problem long ago. Raw data flows upward through stable lower tiers, and policy flows downward into a thin top tier that can be changed without touching the infrastructure beneath it.

We propose to apply that rule to multi-task learning. The shared lower layers are trained with a priority-neutral rule, so that no task's update is allowed to hurt another task in those layers. All task prioritization is confined to a small top tier: task-specific low-rank adapters, meaning small trainable matrices added to a frozen or shared network. That top tier is conditioned on a preference vector. The claim to test is that this split lets a single trained backbone cover nearly the same range of task trade-offs that one would get by retraining the full network once per preference, at a small fraction of the cost. The split should also do this better than simply re-tuning heads on a conventionally trained backbone.

Core Claim

Gradient deconfliction and task prioritization are currently fused in the same operation on the same parameters. GradOPS projects each task's gradient onto the subspace orthogonal to the other tasks' gradients so that no pair conflicts. It then exposes a scalar $\alpha$ that moves the solution along the trade-off curve between tasks, and it applies both uniformly to every weight. PCGrad and RotoGrad likewise treat the network as one flat parameter vector. Each $\alpha$ therefore yields a different backbone.

Our claim is that these two roles belong to different tiers. The shared tier should receive only a conflict-free, preference-independent update. Preference should enter only above it, much as the sepsis study inserts a policy layer that sets per-category alert thresholds on top of a fixed predictor (Optimizing the Implementation of Clinical Predictive Models). If the claim holds, the set of reachable trade-offs becomes a property of the deployment tier, not of the training run.

Concretely, let $\theta_s$ be the shared parameters and $\phi$ the top-tier adapters. Let $g_k$ be task $k$'s gradient with respect to $\theta_s$, and $\tilde g_k$ its orthogonally deconflicted version as in GradOPS with neutral $\alpha = 0$. Let $\lambda$ be a preference vector over tasks, sampled per batch during training. The two updates are

$$\Delta\theta_s \propto -\sum_k \tilde g_k, \qquad \Delta\phi \propto -\nabla_\phi \sum_k \lambda_k \mathcal{L}_k(\theta_s, \phi, \lambda),$$

where $\mathcal{L}_k$ is task $k$'s loss. The top tier sees $\lambda$ as an input. The shared tier never does. The design is "control flows down, data flows up" written as a training rule: $\lambda$ never reaches $\theta_s$.

Relation to Prior Work

The layered-systems literature motivates the separation but does not supply a learning rule for it. The smart-city, electric-vehicle, and digital-twin architectures (Wang et al., Li et al., Huang et al.) isolate stable lower tiers from volatile applications, but none of them learns across tiers. The Foundation/Subfloor/Surface blueprint of Suresh et al. names the "participatory ceiling": users at the surface cannot shape the base model. Our design accepts that ceiling but gives surface users a real control, the preference vector, that does not require touching the base.

On the learning side, several papers constrain the design. Stone's Layered Learning trains and then freezes lower tiers. That buys stability, but higher-tier needs can never improve low-level features. Our shared tier instead trains jointly, receiving gradients from every task, and is frozen only at deployment.

MTLoRA supplies our top-tier mechanism. It shares task-agnostic adapters across blocks and places task-specific adapters at stage ends, reporting 3.6x fewer trainable parameters than full fine-tuning. Its split between shared and specific adapters is static, and it carries no preference signal. We add preference conditioning, via a per-task scaling of the task-specific adapters driven by $\lambda$, and a deconflicted shared update.

Deep-AMTFL supports the premise that shared representations need protection. It shows that letting unreliable tasks write freely into shared features raises error: 8.72% for a symmetric multi-task network versus 8.13% for a single-task network on MNIST-Imbalanced.

Research Program

We will build the two-tier trainer on top of a Swin-T multi-task dense-prediction model. We use DeMT's encoder–decoder as the backbone because it is the strongest in-file architecture with reported numbers (DeMT). The shared tier is the encoder plus the task-interaction block. The top tier is the preference-conditioned task-specific adapters plus the task heads. We will place the tier boundary at three depths to measure how much of the network must stay preference-free.

The analysis side asks two questions. The first is whether the backbone trained at neutral $\alpha$ contains the features that extreme preferences need. We will probe this by measuring, for each task, how close the best top-tier-only solution comes to that task's single-task model. The second is whether confining preference to the top tier costs anything at balanced preferences compared with an ordinary jointly trained model.

A tabular check on UCI Census-Income, where GradOPS was evaluated, tests whether the effect holds outside vision.

Baselines

The naive reference point is standard joint training: an equal-weight sum of losses with no deconfliction. We obtain trade-offs from it by freezing the backbone and retraining the heads and adapters under each target weighting. On NYUv2, a plain multi-task baseline has been reported at a multi-task gain $\Delta_m$ of −2.02% relative to single-task models, rising to +2.10% with cross-task contrastive regularization (Contrastive Multi-Task Dense Prediction). That gives the scale of effect to expect from training-side changes.

The strongest existing competitor for any single operating point is DeMT trained end to end. It reports $\Delta_m$ = +3.36% over single-task baselines on NYUv2 with Swin-T at 100.7 GFLOPs (DeMT).

The strongest competitor for covering the trade-off curve is a full GradOPS sweep, retraining the whole DeMT model at several $\alpha$ values. GradOPS reports its best NYUv2 $\Delta_m$ at $\alpha = -1$, but no reported numerical result was found on Lacuna for GradOPS on NYUv2. We will therefore reproduce it ourselves under our codebase. This sweep is the upper bound our single backbone is trying to approach.

A flat PCGrad sweep is included for completeness. PCGrad's strongest in-file result is on a different benchmark: it raised Meta-World MT50 success from under 40% to about 70% (PCGrad).

Two ablations isolate the key ingredient. The first keeps our preference-conditioned top tier but trains the shared tier with a plain summed gradient instead of the deconflicted one. This tests whether the priority-neutral lower tier matters. The second lets $\lambda$ condition every layer, so that preference also reaches the shared tier. This tests whether confinement to the top tier matters.

Every method gets the same data splits, the same Swin-T initialization, and the same total GPU-hour budget for producing a trade-off curve. Every method also gets the same hyperparameter search over learning rate and adapter rank. The full-retraining sweep is additionally run without a budget cap, to serve as a quality ceiling.

Beating the naive reference means a larger dominated hypervolume under equal compute. Hypervolume is the area of per-task-metric space enclosed by a method's set of trade-off points. Matching the sweep means reaching at least 95% of its hypervolume at under a fifth of its cost. We will also require no loss of $\Delta_m$ relative to DeMT at the balanced preference.

Why not just…?

Why not just freeze an ordinary multi-task backbone and retune the heads per preference? This is the real threat, and the first ablation is designed to settle it. If a backbone trained with a plain summed loss supports the same trade-off curve under head retuning, then the deconflicted shared tier adds nothing, and the contribution reduces to "use preference-conditioned adapters." Our reason to expect a gap is that summed gradients let dominant tasks overwrite shared features. Evidence for this is PCGrad's account of conflicting gradients combined with unequal magnitudes, and Deep-AMTFL's negative-transfer result. Such overwriting should leave fewer usable features for tasks that are later up-weighted. If the gap is under one hypervolume percentage point, we will report the simpler method as the answer.

Why not just retrain with GradOPS at each $\alpha$? Retraining works, and it is our ceiling, but it produces one full backbone per operating point. For a model at DeMT's scale that multiplies training and storage by the number of priorities a deployment needs. Our experiments report hypervolume against cost, so the question is quantitative: how close a single backbone gets, and at what fraction of the compute.

Why not just condition the whole network on the preference vector? This is the second ablation. Whole-network conditioning may reach extreme trade-offs more easily. However, the backbone is then no longer a fixed, shareable lower tier, which is what the layered design exists to provide. If whole-network conditioning clearly beats top-tier confinement in hypervolume, that is evidence that task priorities genuinely require different low-level features, a negative result for the layering principle that we would report as such.

Why not just apply stronger deconfliction deeper in the network and weaker near the heads? This "tier-aware surgery" is the most obvious hybrid of the two directions. On its own it still fixes a single trade-off at training time. It cannot move priorities after deployment, so it answers a different question. We include one variant, full projection in the shared tier and none in the top tier, which is already what our method does at the boundary.

Proposed Experiments

The main experiment runs on NYUv2 with three tasks: semantic segmentation, depth, and surface normals. We evaluate 15 preference vectors spread evenly over the probability simplex. For each vector we report per-task metrics (mIoU, RMSE, mean angular error), $\Delta_m$ relative to single-task models, and dominated hypervolume. All methods are scored against the unconstrained GradOPS-sweep ceiling.

We repeat the experiment on PASCAL-Context with four tasks: segmentation, human parts, normals, and saliency. This follows MTLoRA's setup, where adding a fourth task stresses deconfliction and where PCGrad's pairwise projections become order-dependent. Census-Income serves as the cross-domain check.

A deployment-style test borrows from the sepsis study's policy layer. We specify constraints such as "depth RMSE no worse than single-task, maximize segmentation." We then measure whether top-tier search alone can satisfy each constraint, and how often, compared with retraining.

Three decisive checks determine whether the idea survives. First, our method must beat the plain-backbone-plus-head-retuning ablation in hypervolume under equal compute. Second, it must come within 5% of the full-retraining hypervolume. Third, at the balanced preference it must not fall below DeMT's own $\Delta_m$. Failing the first check means the layering rule is unnecessary. Failing the second means priorities cannot live only in the top tier. We will report whichever outcome occurs.