Manuscript Offprint
arXiv:2611.02854Task Adaptation Through Guidance in Frozen Feature Upsampling
Pingan Wang
Abstract—Adapting features before upsampling can improve dense prediction, but the gains may arise from changes in feature values, spatial aggregation, or both. We investigate this ambiguity by comparing matched residual adapters before and after a frozen JAFAR upsampler under a shared parent. We construct a readout-null intervention that preserves a frozen linear classifier's coarse logits while allowing spatial attention weights to adapt. Guidance/value exchanges on trained models and retrained fixed-guidance controls test the utility of this adaptation route. In three-seed experiments on PASCAL Visual Object Classes (VOC) and Cityscapes, adaptation before upsampling improves mean intersection over union (mIoU) by 0.807 and 1.413 percentage points, respectively, over adaptation after upsampling. Across both datasets and the JAFAR and AnyUp upsamplers, readout-null adaptation produces mean gains of 1.379–1.987 points over the corresponding frozen linear baselines. Retrained controls further support the benefit of adaptive spatial guidance. These findings explain how dense predictions can improve despite unchanged coarse classifier outputs and identify spatial guidance as a useful target when adapting frozen feature upsampling systems.
Index Terms—Feature upsampling, semantic segmentation, frozen models, parameter-efficient adaptation, controlled experiments.
I. INTRODUCTION
DENSE visual prediction requires semantic representations at a resolution finer than the token grid produced by a vision transformer. With self-supervised representations, a compact task head can exploit frozen semantic features while an upsampler supplies spatial detail for pixelwise decisions. Vision transformers and self-supervised encoders have made frozen features an effective starting point for this design [1]–[3]. Feature upsampling methods now provide learned, image-guided mappings from a coarse grid to a dense field [4]–[7].
Where should a small task adapter enter this system? Fig. 1 makes the question concrete: a residual can preserve every coarse classifier logit while changing the dense segmentation. Applying it after upsampling changes the dense feature values presented to the task head. Applying the same adapter before upsampling can also change the rule that selects and combines coarse tokens. The distinction matters when the upsampler conditions its spatial weights on the input features. A pre-upsampling gain can therefore involve spatial guidance, feature values, or their interaction. We therefore ask whether adapting spatial guidance can improve dense prediction while the coarse classifier outputs remain fixed.
We investigate the hypothesis that feature-conditioned spatial guidance provides a useful route for task adaptation. We first examine it in a fixed DINOv2–JAFAR segmentation system, then test the readout-null and guidance-retraining results with a second frozen operator, AnyUp. We place identically initialized residual adapters before or after a shared frozen upsampler and nonlinear parent, making placement the controlled architectural difference. We then construct a more restrictive instrument, which we call readout-null adaptation. For a frozen linear classifier with weight matrix , we constrain the added residual to satisfy . The adapted feature therefore has exactly the same coarse classifier logits in exact arithmetic. JAFAR can still assign different spatial weights to the adapted feature. We use this construction to test whether spatial guidance can improve dense predictions while the coarse classifier output stays fixed.
The readout-null constraint has a useful algebraic consequence. If the upsampling weights are held fixed, adding to the values cannot change the final linear readout. If the adapted weights are retained but the values are restored to their original features, the final readout is again unchanged. We test both implications by intervening on already trained checkpoints. The exchanges check the model-specific readout identities on the learned checkpoints. We separately retrain a fixed-guidance control to test whether allowing guidance to adapt is useful during optimization. The exchanges check the learned forward function; retraining measures the performance attainable under a fixed guidance rule.
Across three new training seeds, we find a pre-upsampling advantage on VOC and on a Cityscapes configuration. The mean paired differences are 0.807 and 1.413 percentage points (pp). Readout-null adaptation exceeds the frozen linear parent by 1.402 and 1.987 pp. Each dataset has its own frozen two-comparison family; the reported primary intervals account for these two comparisons. We address complementary explanations with a larger frozen nonlinear parent, fixed-guidance retraining, numerical guidance/value exchanges, and a retrospective equivalence analysis.
The experiments build one argument: locate the useful adaptation, hold the coarse readout fixed, and test whether allowing guidance to adapt remains useful after retraining and transfer. We examine it with matched residuals, full-validation checkpoint exchanges, and controlled comparisons on two datasets. In the independent 24-fit AnyUp extension, we recover both the readout-null gain and the utility of adaptive guidance on both datasets; all four comparisons pass their separately defined family. Together, the experiments characterize a shared adaptation route in the two frozen upsamplers.
Pingan Wang is with the College of Artificial Intelligence and Low-Altitude Technology, South China Agricultural University, Guangzhou 510642, China (e-mail: pinganwang@scau.edu.cn). Corresponding author: Pingan Wang.
Image and selected region

Cityscapes q90 retained first-seed example
Same frozen coarse classifier

(by construction)
Dense segmentation crops

Fig. 1. A fixed coarse readout need not fix the dense prediction. The equality is a schematic consequence of ; the masks are retained JAFAR predictions for the original Cityscapes q90 example, revisited in Fig. 10.
A. Dense prediction from frozen representations
Classical fully convolutional and encoder-decoder segmentation systems learn dense representations directly [8], [9]. Transformer systems provide alternative encoder and decoder designs [10]–[12]. In parallel, DINO, iBOT, masked autoencoding, and DINOv2 have strengthened general-purpose visual representations [2], [3], [13], [14]. Our setting keeps the representation and upsampler frozen and studies how a small supervised component uses them. We isolate adapter placement within a fixed segmentation system.
B. Guided feature upsampling
The separation between a signal to be aggregated and information that guides aggregation predates neural feature upsampling. Bilateral filtering, joint bilateral upsampling, and guided image filtering provide relevant examples [15]–[17]. Recent feature upsamplers extend this design space with learned and attention-based operators. FeatUp provides a model-agnostic resolution framework; JAFAR, FeatSharp, LoftUp, and AnyUp develop complementary ways to recover spatially detailed features [4]–[7], [18]. Neighborhood Attention Filtering, Upsample Anything, and PixelUp extend zero-shot feature upsampling with additional operator designs [19]–[21]. We hold JAFAR fixed within the placement study. In the independent AnyUp extension, we change the operator and repeat the null and guidance controls within it. This design compares adaptation routes under each frozen operator.
AnyUp already ablates the feature-to-key information path and finds a useful image-derived spatial prior without that path [7]. That experiment studies an upsampler component, whereas we freeze the upsampler and restrict a supervised task residual to the classifier null space. We make feature-conditioned spatial attention an explicit architectural condition of the argument. For example, RaysUp describes image-derived geometric guidance with target features serving as values [22]. Under this affine-readout factorization, a readout-null residual leaves dense logits unchanged when the spatial weights are independent of it. Our experiments examine the feature-conditioned case.
C. Task adaptation and null space instruments
Low-rank adaptation, transformer adapters, convolutional bypasses, and visual adapters provide established routes for adapting large representations efficiently [23]–[26]. Task-specific clues and semantic or visual context also motivate lightweight dense-prediction adaptation [27], [28]. EAsE combines feature calibration with self-supervised upsampling [29]. We study the adaptation route under a common frozen parent, matched residual initialization, and paired data streams.
Null space projection and linear concept erasure restrict what a linear readout can detect [30], [31]. We project only the added residual and retain the original feature as the skip connection. The resulting identities are consequences of the frozen affine readout and shared linear value aggregation. The empirical question is whether this constrained residual can still improve dense segmentation, and whether the observed implementation respects those identities. The intervention preserves the coarse logits of one fixed classifier by constraining the added residual.
III. HYPOTHESIS AND TEST DESIGN
A. Locating adaptation in the frozen system
Let be coarse image features and the image. For the reference operator used here, dense features can be written as
The matrix represents the spatial attention weights after averaging attention heads. JAFAR obtains queries from the image and conditions keys on the coarse features through a Spatial Feature Transform (SFT), following the terminology of its architecture [5]. Its weights aggregate the unprojected feature values. We use this factorization for the pinned reference implementation.
For a frozen task head and a residual map , ordinary pre- and post-upsampling adaptation have logits

Fig. 2. Local placement of the pointwise residual relative to the frozen image-conditioned upsampler . PreMLP adapts coarse features and PostMLP adapts dense features; both use a common frozen nonlinear parent. Grids are schematic.
For each feature vector f, the residual increment is
We initialize and to zero.
We use the same pointwise residual architecture on either grid. In the placement experiment, we freeze a common nonlinear parent head and pair the initial residual parameters, images, and random flips. This pairing makes adapter placement the controlled architectural difference. Fig. 2 isolates this ordering; the two residuals are optimized separately from the paired initial state.
B. Holding the coarse readout fixed
For the route-isolation experiment, let the frozen head be affine:
Let contain an orthonormal basis for the column space of B and define
(6)
Then , so at every coarse token. We use readout-null to name this fixed-readout constraint; it preserves the classifier logits while leaving other feature information unrestricted. We obtain the projector from the frozen head and keep it fixed, adding no trainable parameters. Fig. 3 follows the constrained residual through the guidance and value paths. The diagrams write for the residual increment . For visualization, , and share a PCA
basis and display scale; the image encoding is projected separately.
For any fixed row-stochastic spatial matrix , associativity gives
because . Row normalization preserves the affine bias. We first set : null values alone cannot change the final logits under original guidance. Taking gives
A dense-logit change in this model is therefore carried by a change in the spatial weights. The accuracy experiment tests whether training makes these weight changes useful.
C. Frozen-checkpoint exchanges and retraining
We evaluate six forward conditions for each retained readout-null checkpoint. NativeA20 is the original reference forward; SplitA20 reproduces it with explicit guidance and value arguments. FixedGuideNull uses with values . NativeFullNull and SplitFullNull use the adapted feature in both roles. NullGuideOnly keeps and restores values F. The native/split pairs check the explicit implementation, while the remaining exchanges test (7) and (8). These are inference interventions on fixed parameters and entail no new fitting.
We name the separate retraining control fixed-guidance Pre (FGPre). PreMLP, PostMLP, PreNull, and FGPre are labels for the strategies defined here. For FGPre, we compute keys and spatial attention weights from the original without gradients, while the trainable supplies values. Its residual is unconstrained. The ordinary-Pre–FGPre comparison measures the joint effects of adaptive guidance on the forward function and optimization trajectory. Fig. 4 distinguishes these two roles, with and denoting the respective fitted maps.
The ordinary residual class contains the projected residual class because can be absorbed into the output map. The two strategies therefore differ in their training constraints. We examine their learned solutions through attention and final-weight risk measurements.
D. The second operator and the scope of the factorization
The original AnyUp decoder also forms dense features by applying averaged spatial attention to unprojected values. Its image encoding and rotary position encoding supply image-only queries. Keys combine an image-derived field with an encoding of normalized coarse guidance features. We change which tensor supplies guidance and values through a split wrapper while preserving the pinned original decoder. We evaluate the original non-NATTEN decoder with 1,024 query positions per chunk. The AnyUp paper describes a window-attention variant. The affine-readout algebra applies to our selected decoder because it aggregates unprojected values. The full frozen-checkpoint exchanges above are measured for JAFAR; the AnyUp extension tests the two retrained comparisons under its own protocol.

Fig. 3. Readout-null adaptation with an illustrative Cityscapes input. The adapted coarse field conditions the keys and supplies values, while the fixed projector preserves the affine coarse logits. Feature image fields are PCA views; grid glyphs are schematic.
TABLE I EXPERIMENTAL COMPARISONS. CHECKPOINT EXCHANGES AND BILINEAR SWAPS USE ALREADY TRAINED MODELS.
| Setting | Comparison | Replication | Question |
|---|---|---|---|
| JAFAR: VOC, Cityscapes | PreMLP vs. PostMLP | 3 seeds per dataset | Adapter placement |
| JAFAR: VOC, Cityscapes | PreNull vs. A20 | 3 seeds per dataset | Readout-null adaptation |
| JAFAR: VOC | ordinary Pre vs. FGPre | 3 paired seeds | Adaptive guidance |
| JAFAR: VOC | Six checkpoint-exchange conditions | 3 retained models | Guidance/value routes |
| JAFAR: Cityscapes | Bilinear swap; PreNull vs. FGPre | 3 training seeds | Operator and strategy controls |
| JAFAR: VOC | PreNull vs. ordinary Pre | 3 paired seeds | Attention and training risk |
| AnyUp: VOC, Cityscapes | PreNull vs. A20; ordinary Pre vs. FGPre | 3 seeds per dataset | Transfer across upsamplers |
IV. EXPERIMENTAL SETUP
A. Datasets and frozen models
We use the PASCAL VOC segmentation split with 1,464 training and 1,449 validation images [32], and Cityscapes with 2,975 training and 500 validation images and 19 official training classes [33]. VOC images follow the reference short-edge resize and center crop to , yielding a feature grid. Cityscapes uses a full-field input and a grid. We resize Cityscapes logits to the original grid before taking the class argmax. We evaluate every model at its fixed final update.
DINOv2 ViT-S/14 supplies 384-dimensional features. We keep its weights and the reference JAFAR weights frozen. We run the new cohorts in FP32 with TF32 disabled. Images and labels use their frozen preprocessing rules; ignored labels are 255. Cityscapes tests transfer with both the dataset and input geometry changed. We use the official 19-class mapping for Cityscapes.
B. Implementation details
For each VOC seed, we fit a 20-epoch affine parent (A20) and a 30-epoch nonlinear parent (MLP142). We choose width 142 for the nonlinear parent to approximately match the A20-plus-residual parameter count. The placement branches PreMLP and PostMLP freeze that same MLP142 checkpoint. PreNull freezes A20. Every residual is a zero-output-initialized pointwise map with 49,600 parameters, trained for ten epochs. The paired guidance experiment trains ordinary Pre and FGPre from each of the same three A20 parents with shared residual initialization and streams. The independently trained Cityscapes parents use MLP width 141, followed by the same four residual strategies. Its FGPre is unconstrained and freezes A20, so PreNull–FGPre compares strategies that differ in both the null constraint and adaptive guidance.
We train with batch size two. A20 uses AdamW [34] with peak learning rate and cosine decay to zero.

Separately trained residuals and ; this comparison uses no null projection.
I, E(I) and F: measured example. Other grids: schematic. Frozen parameters allow input gradients.
Fig. 4. Guidance and value paths in ordinary Pre and FGPre. Ordinary Pre uses ; FGPre computes under no_grad and mixes differentiable . The paired VOC control uses separately trained residuals with identical initialization and data streams.
Nonlinear parents and residuals use a peak of , one epoch of warmup, cosine decay to , weight decay , and gradient-norm clipping at one. A20 has no warmup or clipping. Frozen parameter gradients are disabled. We give paired branches the same image order and random horizontal flips. We label the three paired training seeds Seed 1, Seed 2, and Seed 3 within each cohort. All fits use AdamW with and .
C. Evaluation and statistical analysis
The primary outcome is pooled dataset mIoU, computed by summing per-image true-positive, prediction, and ground-truth counts before taking class ratios. A paired observation is the difference between two models trained under the same seed. Training seeds are the replication unit, . For each dataset, we designate PreMLP-PostMLP and PreNull-A20 as the two co-primary contrasts. Each uses a two-sided 97.5% Student-t interval with two degrees of freedom, giving Bonferroni familywise 95% coverage for that dataset's pair. The frozen success rule requires both mean differences to reach 0.20 pp, all three differences in each contrast to be positive, and both lower bounds to exceed zero. The familywise coverage applies separately to the VOC and Cityscapes pairs.
We report other training comparisons with nominal 95% seed intervals and retain their secondary status. The intervals assume approximately normal paired seed differences; three seeds provide little information for checking that assumption. We therefore display all seed differences as well as the interval. Image and sequence bootstrap analyses quantify validation-sample uncertainty conditional on the fitted models. We use 2,000 paired bootstrap draws. A draw requires ground-truth support for every required class, and a conditional interval is reported only when at least 95% of draws are defined.
D. Tests with a second upsampler
To test whether the guidance result depends on JAFAR's particular implementation, we replace its frozen operator with the original AnyUp paper checkpoint [7]. We retain the DI-NOv2 representation, datasets, preprocessing, FP32 arithmetic, final-update evaluation, and residual architecture. For each dataset and each new seed (Seeds 1–3), we fit a fresh 20-epoch AnyUp/A20 parent and three ten-epoch residuals: PreNull, ordinary Pre, and FGPre. The residuals share their own parent and initial residual state, image order, flips, and learning-rate schedule. This adds 24 fits and 24 final validation prediction sets. This extension tests the readout-null gain and adaptive-guidance utility.
This extension has one separate four-comparison family: PreNull-A20 and ordinary Pre-FGPre on each of the two datasets. Each contrast uses a two-sided 98.75% seed-t interval (, ), giving Bonferroni familywise 95% coverage across these four comparisons. The frozen criterion retains a mean of at least 0.20 pp, three positive seed differences, and a positive lower bound for every contrast. Only the new AnyUp cohort enters this family. Conditional image and sequence resampling follows the same class-availability rule as before.
E. Measurements of learned guidance
The readout identities motivate a second question: how do the learned spatial weights change? We therefore measure JAFAR attention from the retained ordinary-Pre and PreNull models on all 1,449 VOC validation images. Original-feature guidance is shared as a reference, and uniform spatial weighting supplies a ground-truth-only reference. We record attention mass by key-query distance, same-class keys, cross-class keys, and void keys. Distances run from each query pixel center to a key-patch center and are divided by 14 image pixels. Ground-truth class fractions within each coarse key cell account for mixed cells; void fractions remain in the mass partition. Queries with ignored labels are excluded.
The primary aggregation gives each eligible image equal weight. We also retain query-weighted statistics, eligible-image counts, and paired per-image values. Conditional same-class fractions are formed from the corresponding pooled same-and cross-class masses; a zero denominator is recorded as unavailable. These summaries describe spatial associations in the trained models. Their relation to accuracy is considered alongside the readout interventions.
We define canonical final-weight training risk as evaluation of the final JAFAR-system weights on all 1,464 canonical training images with no random flip. Cross-entropy is weighted by the total number of valid pixels; mIoU pools class counts before taking ratios. We compare each ordinary-Pre/PreNull pair trained from the same A20 parent and residual initialization. This deterministic evaluation measures final-weight fit on unflipped inputs; the online objective uses random flips. We compare training fit with validation performance to examine how the two learned solutions differ.
V. RESULTS
A. Locating the benefit: before versus after upsampling
Table III reports the complete seed endpoints. In the new VOC cohort, PreMLP reaches 85.621% mean mIoU, compared with 84.814% for PostMLP. The paired advantage is 0.807 pp with a 97.5% seed interval of [0.632, 0.981] pp. All three differences are positive. Both adapters freeze the same MLP142, so the placement advantage persists under this stronger nonlinear parent. PreMLP also exceeds that parent alone by 0.776 pp, with a nominal 95% interval of [0.599, 0.952] pp. Fig. 5 shows the paired endpoints for every seed.
TABLE II
JAFAR STRATEGIES AND TASK-HEAD-PLUS-ADAPTER PARAMETER COUNTS. "PARENT" IS TRAINED FIRST AND THEN FROZEN; THE TRAINABLE RESIDUAL HAS 49,600 PARAMETERS IN EVERY RESIDUAL BRANCH. VOC/CITY COUNTS REFLECT 21/19 OUTPUT CLASSES.
| Strategy | Frozen parent | VOC total | City total |
|---|---|---|---|
| A20 | None (parent) | 8,085 | 7,315 |
| MLP142/141 | None (parent) | 57,673 | 56,983 |
| PreMLP | MLP142/141 | 107,273 | 106,583 |
| PostMLP | Same MLP | 107,273 | 106,583 |
| ordinary Pre | A20 | 57,685 | Not fitted |
| PreNull | A20 | 57,685 | 56,915 |
| FGPre | A20 | 57,685 | 56,915 |
PostMLP changes the mean little relative to MLP142: the paired difference is -0.031 pp. In a retrospective equivalence assessment, we find that the 90% seed interval, [-0.102, 0.040] pp, lies within ±0.20 pp. A separate conditional paired-image interval is [-0.078, 0.017] pp. We reused the margin after observing the results. The seed and conditional image intervals describe different sources of uncertainty. Together with the positive PreMLP contrast, they place the useful adaptation before upsampling for this parent and training recipe.
On Cityscapes, PreMLP exceeds PostMLP by 1.413 pp, with a 97.5% interval of [0.885, 1.941] pp. PreMLP exceeds its MLP141 parent by 1.495 pp with nominal 95% interval [1.149, 1.840] pp.
B. Testing adaptation with the coarse readout fixed
We obtain 85.745% mean VOC mIoU with PreNull, an improvement of 1.402 pp over A20. Its 97.5% seed interval is [1.371, 1.432] pp; each paired difference is positive. This branch has 57,685 total head-plus-residual parameters, close to the 57,673 parameters of MLP142, yet its defining constraint keeps the original A20 coarse logits unchanged in exact arithmetic. The dense gain is obtained with the coarse linear classifier output held fixed.
On Cityscapes, PreNull exceeds A20 by 1.987 pp, with interval [1.851, 2.124] pp. All three paired differences are positive. Both co-primary criteria pass for each dataset.
We check the implementation of the route argument through retained-checkpoint interventions (Table IV). We recover the same mIoU from native and split original inference. FixedGuideNull returns to the original score, whereas Null-GuideOnly retains the full adapted score. The mean numerical differences relative to the corresponding split forward are approximately pp and pp. Small mask differences can remain near argmax ties under finite-precision computation. All 18 prediction sets were independently reconstructed from retained maps and counts. The direction and scale agree with (7)–(8), identifying guidance as the route through which this constrained model changes its dense readout.
C. Retraining with and without adaptive guidance
In the separate paired VOC guidance cohort, we obtain 85.463% with ordinary Pre, while FGPre reaches 84.528%.
TABLE III
FINAL POOLED mIoU (%) FOR THE NEW TRAINING COHORTS. EACH COLUMN IS ONE PAIRED TRAINING SEED; ± DENOTES SAMPLE SD OVER THREE SEEDS. VOC GUIDANCE CONTROLS USE THE SAME A20 PARENTS BUT FRESH PAIRED RESIDUAL TRAINING. CITYSCAPES INCLUDES A ZERO-FIT BILINEAR SWAP.
| Setting | Strategy | Seed 1 | Seed 2 | Seed 3 | Mean SD |
|---|---|---|---|---|---|
| VOC confirmation | A20 | 84.300 | 84.339 | 84.390 | 84.343 0.045 |
| VOC confirmation | MLP142 | 84.562 | 85.060 | 84.914 | 84.845 0.256 |
| VOC confirmation | PreMLP | 85.355 | 85.896 | 85.612 | 85.621 0.270 |
| VOC confirmation | PostMLP | 84.571 | 85.034 | 84.839 | 84.814 0.232 |
| VOC confirmation | PreNull | 85.712 | 85.736 | 85.787 | 85.745 0.039 |
| VOC guidance | ordinary Pre | 85.411 | 85.487 | 85.492 | 85.463 0.045 |
| VOC guidance | FGPre | 84.446 | 84.583 | 84.556 | 84.528 0.072 |
| Cityscapes | A20 | 61.971 | 61.973 | 62.012 | 61.986 0.023 |
| Cityscapes | MLP141 | 62.409 | 62.671 | 62.462 | 62.514 0.139 |
| Cityscapes | PreMLP | 63.834 | 64.075 | 64.117 | 64.008 0.153 |
| Cityscapes | PostMLP | 62.502 | 62.751 | 62.534 | 62.596 0.135 |
| Cityscapes | PreNull | 63.923 | 63.956 | 64.040 | 63.973 0.060 |
| Cityscapes | FGPre | 61.957 | 61.969 | 62.021 | 61.983 0.034 |
| Cityscapes | Bilinear (A20) | 55.232 | 55.217 | 55.047 | 55.165 0.103 |
(a) VOC PreMLP – PostMLP
(b) VOC PreNull – A20

(c) Cityscapes PreMLP – PostMLP

(d) Cityscapes PreNull – A20

Fig. 5. Paired JAFAR endpoints across three training seeds. Text reports mean differences and 97.5% seed-t intervals for the two primary comparisons within each dataset.
TABLE IV
VOC FROZEN-CHECKPOINT EXCHANGES: MEAN mIoU (%) OVER THE SAME THREE READOUT-NULL CHECKPOINTS. SIX DECIMAL PLACES SHOW NUMERICAL DIFFERENCES. ALL CONDITIONS ARE ZERO-FIT FORWARD INTERVENTIONS.
| Condition | Guidance | Values | Mean |
|---|---|---|---|
| NativeA20 | Original | Original | 84.343330 |
| SplitA20 | Original | Original | 84.343330 |
| FixedGuideNull | Original | Null-adapted | 84.343323 |
| NativeFullNull | Adapted | Null-adapted | 85.744981 |
| SplitFullNull | Adapted | Null-adapted | 85.744981 |
| NullGuideOnly | Adapted | Original | 85.744980 |
Their mean difference is 0.935 pp, with nominal 95% seed interval [0.861, 1.010] pp; all three differences are positive. Adaptive feature-conditioned guidance retains its advantage when both strategies are trained from the same residual initial states and frozen A20 parents. This retraining result complements the fixed-checkpoint exchanges by measuring the
TABLE V
MEASURED JAFAR VOC GUIDANCE-TRAINING COST: 7,320 UPDATES PER BRANCH ON THE SAME RTX 4090 CLOUD INSTANCE (47.4 GiB REPORTED DEVICE MEMORY). TIME IS TRAINING-LOOP WALL TIME (MEAN ± SAMPLE SD); MEMORY IS MEAN PEAK PYTORCH ALLOCATION.
| Strategy | Time (s) | Peak allocation (GiB) |
|---|---|---|
| ordinary Pre | 1640.1 1.2 | 24.80 |
| FGPre | 1071.1 0.6 | 13.30 |
performance attained with adaptive guidance during optimization.
We also measure the resource cost of adaptive guidance. In the matched-update VOC comparison, we find that ordinary Pre takes 1.531 times the training-loop wall time and 1.864 times the peak PyTorch-allocated memory of FGPre (Table V). The timed loop includes epoch checkpoints and control checks but excludes feature preparation, final validation, and export. These implementation-specific measurements place the accu-racy gain at matched updates and residual capacity alongside its additional computational cost.
D. Dataset consistency and remaining strategy differences
On Cityscapes, we obtain 55.165% mean mIoU after swapping in bilinear interpolation, compared with 61.986% for the A20/JAFAR system. This zero-fit swap measures the effect of replacing the upsampler under the same trained A20 head.
Cityscapes PreNull exceeds FGPre by 1.990 pp, with nominal 95% interval [1.924, 2.056] pp. Because this contrast changes the null constraint as well as adaptive guidance, its conclusion is about the complete trained strategies. The AnyUp extension below supplies the matched ordinary-Pre-FGPre comparison on Cityscapes.
The class effects in Fig. 6 show that an overall mIoU gain is not uniform improvement for every class and seed.
E. Repeating the mechanism tests with AnyUp
We replace JAFAR with AnyUp to test whether the constrained adaptation result and guidance utility depend on the first operator. Each AnyUp parent is fitted anew, so its baseline is the matching AnyUp/A20 system. Table VI gives the endpoints and Fig. 7 shows every paired seed effect.
On VOC, we find that PreNull exceeds its A20 parent by 1.379 pp, with a 98.75% seed interval of [1.338, 1.419] pp. Ordinary Pre exceeds FGPre by 0.503 pp, with interval [0.443, 0.563] pp.
On Cityscapes, we find that PreNull exceeds its A20 parent by 1.436 pp, with a 98.75% seed interval of [1.352, 1.520] pp. Ordinary Pre exceeds FGPre by 1.197 pp, with interval [1.058, 1.337] pp.
All three seed differences are positive in every contrast, and all four comparisons pass the fixed mean, direction, and adjusted-interval criteria. This family is separate from the earlier JAFAR comparisons. AnyUp supports the two retrained comparisons under a second operator with unprojected attention aggregation. JAFAR supplies the nonlinear-parent placement and full checkpoint-exchange evidence.
VI. ANALYSIS AND LIMITATIONS
A. What the intervention establishes
The placement experiment establishes a useful difference between compositions with matched residual capacity and a common strong parent. The null experiment is more specific: within a frozen affine readout and shared linear value aggregation, it constructs a useful residual whose direct coarse-readout effect is zero. The forward exchanges verify the implementation-level consequences of that restriction. Fixed-guidance retraining shows that disabling the adaptive route changes attainable performance under the chosen recipe. The AnyUp extension supports the null and retrained-guidance results with a second operator on both datasets. Together, these tests link the adaptation gain to feature-conditioned spatial guidance in the tested systems.
B. How learned spatial guidance changes
In an exploratory comparison sharing A20 parents and initial states, we find that PreNull exceeds ordinary Pre by 0.282 pp on average, with all three differences positive. This contrast motivates examining the two strategies' final behavior; it is outside the co-primary family.
In Fig. 8, PreNull outperforms ordinary Pre while assigning less total attention mass to the query class. Across the three paired seeds, PreNull assigns less same-class mass, more cross-class mass, and less void mass when valid queries are averaged within each image and images are weighted equally. Its expected query-to-key distance is also smaller. Relative to the original guidance, both adaptations increase same-class mass and shorten expected distance. Their difference is in the spatial distribution of that mass. Compared with ordinary Pre, we find that PreNull increases same-class mass in the two bands within two token units and decreases it in both more distant bands in every seed. The near/far redistribution describes the learned checkpoints. The readout intervention supplies the separate evidence that guidance can improve prediction while preserving the coarse affine logits.
C. Training fit and validation performance
We compare the training and validation changes in Fig. 9. On the 1,464 training images under the canonical deterministic transform, the PreNull-minus-Pre cross-entropy differences are +0.000123, +0.000729, and -0.000359 for Seeds 1, 2, and 3, respectively. Training mIoU increases by 0.0723, 0.0185, and 0.0693 percentage points. On the 1,449 validation images, we find lower PreNull cross-entropy in all three seeds and gains of 0.3010, 0.2484, and 0.2955 mIoU points. The validation gain is consistent across seeds, while the canonical training cross-entropy changes have mixed signs. The final-weight measurements describe this difference; explaining its optimization history requires additional evidence.
D. Spatial examples across operators
We retain the original low- and high-quantile JAFAR cases and add AnyUp predictions at exactly the same image IDs and regions in Fig. 10. The case selection is fixed across operators. The original selection used retained whole-image count arrays before mask inspection. We sort single-image mIoU differences and then image IDs, taking zero-based rank for q = 0.10 and 0.90. The crop maximizes valid prediction disagreement on a stride-16 grid, using 144 pixels on VOC and 256 native pixels on Cityscapes; coordinate ties choose the smallest top and then left position. The last row revisits the car in Fig. 1: both operators change its dense boundary despite the fixed coarse readout. At the VOC q10 case, the whole-image effect is negative for JAFAR and positive for AnyUp, illustrating heterogeneity across operators. We use the first seed within each operator and dataset cohort. Seed labels are local to their cohort, and row annotations give whole-image effects. The examples illustrate spatial behavior; quantitative operator-specific conclusions use the complete validation sets. The reproduction package retains

Fig. 6. Cityscapes class-IoU effects for PreMLP minus PostMLP, computed from pooled class counts. All three seeds and 19 official classes are shown on one centered colour scale.
TABLE VI
AnyUp POOLED MIoU (%): ALL TRAINING SEEDS AND MEAN ± SAMPLE STANDARD DEVIATION. EACH RESIDUAL FREEZES ITS OWN SEED-MATCHED A20 PARENT.
| Setting | Seed | A20 | PreNull | Ordinary Pre | FGPre |
|---|---|---|---|---|---|
| VOC | 1 | 84.145 | 85.530 | 84.912 | 84.417 |
| 2 | 84.403 | 85.773 | 85.134 | 84.618 | |
| 3 | 84.340 | 85.720 | 85.004 | 84.507 | |
| Mean ± SD | 84.296 ± 0.135 | 85.674 ± 0.127 | 85.017 ± 0.112 | 84.514 ± 0.101 | |
| Cityscapes | 1 | 61.605 | 63.057 | 62.777 | 61.600 |
| 2 | 61.565 | 63.001 | 62.804 | 61.576 | |
| 3 | 61.618 | 63.037 | 62.799 | 61.613 | |
| Mean ± SD | 61.596 ± 0.028 | 63.032 ± 0.028 | 62.794 ± 0.015 | 61.596 ± 0.019 |

Fig. 7. Paired AnyUp improvements. Small markers show three training seeds; diamonds and bars show means and 98.75% seed-t intervals, adjusted across the four contrasts.
median examples, correction/regression maps, selection rules, and exact identities.
E. Limitations and scope
The algebra requires unprojected value aggregation and a fixed affine head. We test these conditions with one DINOv2 representation and two frozen upsamplers. The statistical unit is the paired training seed; image and cluster resampling quantify conditional sample uncertainty. The evidence covers VOC crops and Cityscapes full fields under the stated protocols. Architectures with learned value projections or nonlinear read-outs fall outside the algebra used here. Both public validation
sets were examined during study development; the new seeds quantify training variability on those datasets. Development cohorts and the single-seed screen remain separate from the primary training replicates.
The validation images form 235 city-sequence clusters. Of 2,000 paired cluster-bootstrap draws, 1,728 had defined values for every required class, giving 86.4% availability. This falls below the frozen 95% availability threshold, so the conditional cluster interval is unavailable. The primary decisions continue to use the training-seed intervals defined in the protocol.

(c) ordinary Pre Mean of three paired seeds
(d) PreNull Mean of three paired seeds

Fig. 8. Attention mass by distance and ground-truth key class. Cells are equal-image means; adapted panels average three seeds, while each shared reference appears once. Distance is in 14-pixel units. All panels use the same color scale.

Fig. 9. Validation gains versus canonical training cross-entropy changes (PreNull minus ordinary Pre). Each point shows one paired training-seed contrast.
VII. CONCLUSION
We find that a task adapter can improve frozen feature upsampling by changing feature-conditioned spatial guidance. Matched-parent experiments show a pre-upsampling advantage on VOC and Cityscapes under their respective input geometries. Readout-null adaptation preserves coarse affine logits yet improves dense prediction; checkpoint exchanges verify the resulting readout identities. Retrained fixed-guidance controls
support the usefulness of adapting spatial weights under the tested recipes. The independent AnyUp extension tests the same null and guidance comparisons in a second operator on both datasets. Together, the results establish adaptive spatial guidance as a useful task-adaptation route in the two tested attention systems.
ACKNOWLEDGMENT
The author used GPT (OpenAI) for language editing throughout the manuscript. The author takes full responsibility for the content of this article.
REFERENCES
[1] A. Dosovitskiy et al., "An image is worth 16x16 words: Transformers for image recognition at scale," in Proc. Int. Conf. Learn. Represent. (ICLR), 2021. [Online]. Available: https://openreview.net/forum?id=YicbFdNTTy
[2] M. Caron et al., "Emerging properties in self-supervised vision transformers," in Proc. IEEE/CVF Int. Conf. Comput. Vis. (ICCV), 2021, pp. 9630–9640, doi: 10.1109/iccvv48922.2021.00951.
[3] M. Oquab et al., "DINOV2: Learning robust visual features without supervision," Transactions on Machine Learning Research, 2024. [Online]. Available: https://openreview.net/forum?id=a68SUt6zFt
[4] S. Fu, M. Hamilton, L. E. Brandt, A. Feldmann, Z. Zhang, and W. T. Freeman, "FeatUp: A model-agnostic framework for features at any resolution," in Proc. Int. Conf. Learn. Represent. (ICLR), 2024, pp. 45 324–45 350. [Online]. Available: https://proceedings.iclr.cc/paper_files/paper/2024/hash/c5601d99ed028448f29d1dae2e4a926d-Abstract-Conference.html
RGB crop
Ground truth
JAFAR / A20
JAFAR / PreNull
AnyUp / A20
AnyUp / PreNull
VOC q10 | whole-image : JAFAR -1.122 pp; AnyUp +4.422 pp

VOC q90 | whole-image : JAFAR +8.189 pp; AnyUp +20.859 pp

Cityscapes q10 | whole-image : JAFAR -0.122 pp; AnyUp +2.653 pp

Cityscapes q90 | whole-image : JAFAR +5.272 pp; AnyUp +5.609 pp

Fig. 10. Real outputs of both frozen operators on the original JAFAR-selected q10/q90 cases and crops. Row annotations are whole-image PreNull–A20 differences; q10/q90 refer only to JAFAR selection. The first seed of each operator is used, with a shared class palette within each dataset.
[5] P. Couairon, L. Chambon, L. Serrano, J.-E. HAugeard, M. Cord, and N. Thome, "JAFAR: Jack up any feature at any resolution," in Adv. Neural Inf. Process. Syst. (NeurIPS), vol. 38, 2025, pp. 99 265–99 292, doi: 10.52202/085713-3316.
[6] M. Ranzinger, G. Heinrich, P. Molchanov, B. Catanzaro, and A. Tao, "FeatSharp: Your vision model features, sharper," in Proc. Int. Conf. Mach. Learn. (ICML), vol. 267, 2025, pp. 51 156–51 182. [Online]. Available: https://proceedings.mlr.press/v267/ranzinger25a.html
[7] T. Wimmer et al., “AnyUp: Universal feature upsampling,” in Proc. Int. Conf. Learn. Represent. (ICLR), 2026, pp. 140 700–140 720. [Online]. Available: https://proceedings.icslr.cc/paper_files/paper/2026/hash/e440aff7f4879b6713867d22c5ec3958-Abstract-Conference.html
[8] J. Long, E. Shelhamer, and T. Darrell, “Fully convolutional networks for semantic segmentation,” in Proc. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR), 2015, pp. 3431–3440, doi: 10.1109/cvpr.2015.7298965.
[9] L.-C. Chen, Y. Zhu, G. Papandreou, F. Schroff, and H. Adam, “Encoder-decoder with atrous separable convolution for semantic image segmentation,” in Proc. Eur. Conf. Comput. Vis. (ECCV), 2018, pp. 833–851, doi: 10.1007/978-3-030-01234-2_49.
[10] R. Strudel, R. Garcia, I. Laptev, and C. Schmid, “Segmenter: Transformer for semantic segmentation,” in Proc. IEEE/CVF Int. Conf.
Comput. Vis. (ICCV), 2021, pp. 7242–7252, doi: 10.1109/iccv48922.2021.00717.
[11] E. Xie, W. Wang, Z. Yu, A. Anandkumar, J. M. Alvarez, and P. Luo, “SegFormer: Simple and efficient design for semantic segmentation with transformers,” in Adv. Neural Inf. Process. Syst. (NeurIPS), vol. 34, 2021, pp. 12 077–12 090. [Online]. Available: https://proceedings.neurips.cc/paper/paper/2021/hash/64f1f27bflb4ec22924fd0acb550c235-Abstract.html
[12] B. Cheng, I. Misra, A. G. Schwing, A. Kirillov, and R. Girdhar, “Masked-attention mask transformer for universal image segmentation,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2022, pp. 1280–1289, doi: 10.1109/cvpr52688.2022.00135.
[13] J. Zhou et al., “iBOT: Image BERT pre-training with online tokenizer,” in Proc. Int. Conf. Learn. Represent. (ICLR), 2022. [Online]. Available: https://openreview.net/pdf/12096c8a70fdac02ab174d59593366e17a8f8e3b.pdf
[14] K. He, X. Chen, S. Xie, Y. Li, P. Dollár, and R. Girshick, “Masked autoencoders are scalable vision learners,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2022, pp. 15 979–15 988, doi: 10.1109/cvpr52688.2022.01553.
[15] C. Tomasi and R. Manduchi, “Bilateral filtering for gray and color images,” in Proc. 6th Int. Conf. Comput. Vis. (ICCV), 1998, pp. 839–
846, doi: 10.1109/iccv.1998.710815.
[16] J. Kopf, M. F. Cohen, D. Lischinski, and M. Uyttendaele, “Joint bilateral upsampling,” ACM Trans. Graph., vol. 26, no. 3, p. 96, 2007, doi: 10.1145/1276377.1276497.
[17] K. He, J. Sun, and X. Tang, “Guided image filtering,” IEEE Trans. Pattern Anal. Mach. Intell., vol. 35, no. 6, pp. 1397–1409, 2013, doi: 10.1109/tpami.2012.213.
[18] H. Huang, A. Chen, V. Havrylov, A. Geiger, and D. Zhang, “LoftUp: Learning a coordinate-based feature upsampler for vision foundation models,” in Proc. IEEE/CVF Int. Conf. Comput. Vis. (ICCV), 2025, pp. 9913–9923, doi: 10.1109/iccv51701.2025.00924.
[19] L. Chambon, P. Couairon, E. Zablocki, A. Boulch, N. Thome, and M. Cord, “NAF: Zero-shot feature upsampling via neighborhood attention filtering,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2026, pp. 26 604–26 613. [Online]. Available: https://valeoai.github.io/publications/naf/
[20] M. Seo, M. Hamilton, and C. Kim, “Upsample Anything: A simple and hard to beat baseline for feature upsampling,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2026, pp. 29707–29716. [Online]. Available: https://openaccess.thecvf.com/CVPR2026?day=2026-06-07
[21] D. Singh, A. Nihal, and V. Hoskere, “PixelUp: Zero-shot semantic feature upsampling for fine-grained vision tasks,” arXiv preprint arXiv:2608.02792, 2026, doi: 10.48550/arxiv.2608.02792.
[22] Y. Ding, L. Li, L. Zhang, and Y. Shen, “RaysUp: Ultra-light universal feature upsampling via geometry-aware ray representation,” in Proc. Eur. Conf. Comput. Vis. (ECCV), 2026, pp. 130–147, doi: 10.1007/978-3-032-37132-4_8.
[23] E. J. Hu et al., “LoRA: Low-rank adaptation of large language models,” in Proc. Int. Conf. Learn. Represent. (ICLR), 2022. [Online]. Available: https://openreview.net/forum?id=nZeVKeeFYf9
[24] S. Chen et al., “AdaptFormer: Adapting vision transformers for scalable visual recognition,” in Adv. Neural Inf. Process. Syst. (NeurIPS), vol. 35, 2022, pp. 16 664–16 678, doi: 10.52202/068431-1212.
[25] S. Jie, Z.-H. Deng, S. Chen, and Z. Jin, “Convolutional bypasses are better vision transformer adapters,” in Proc. Eur. Conf. Artif. Intell. (ECAI), 2024, pp. 202–209, doi: 10.3233/faia240489.
[26] D. Yin, L. Hu, B. Li, Y. Zhang, and X. Yang, “5%>100%: Breaking performance shackles of full fine-tuning on visual recognition tasks,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2025, pp. 20071–20081, doi: 10.1109/cvpr52734.2025.01869.
[27] X. Chen et al., “Injecting task-specific clues: Efficient adaptation of vision foundation models for domain-generalized semantic segmentation,” IEEE Trans. Circuits Syst. Video Technol., vol. 36, no. 9, pp. 13 011–13 022, 2026, doi: 10.1109/tcsvt.2026.3689391.
[28] X. Wang et al., “Segment Any Vehicle: Semantic and visual context driven SAM and a benchmark,” IEEE Trans. Circuits Syst. Video Technol., vol. 36, no. 10, pp. 15 230–15 243, 2026, doi: 10.1109/tcsvt.2026.3708475.
[29] D. Singh, A. Nihal, and V. Hoskere, “Excite, Attend and Segment (EASE): Domain-agnostic fine-grained mask discovery with feature calibration and self-supervised upsampling,” arXiv preprint arXiv:2604.00276, 2026, doi: 10.48550/arxiv.2604.00276.
[30] S. Ravfogel, Y. Elazar, H. Gonen, M. Twiton, and Y. Goldberg, “Null it out: Guarding protected attributes by iterative nullspace projection,” in Proc. 58th Annu. Meet. Assoc. Comput. Linguist. (ACL), 2020, pp. 7237–7256, doi: 10.18653/v1/2020.acl-main.647.
[31] N. Belrose, D. Schneider-Joseph, S. Ravfogel, R. Cotterell, E. Raff, and S. Biderman, “LEACE: Perfect linear concept erasure in closed form,” in Adv. Neural Inf. Process. Syst. (NeurIPS), vol. 36, 2023, pp. 66 044–66 063, doi: 10.52202/075280-2884.
[32] M. Everingham, L. Van Gool, C. K. I. Williams, J. Winn, and A. Zisserman, “The Pascal Visual Object Classes (VOC) challenge,” Int. J. Comput. Vis., vol. 88, no. 2, pp. 303–338, 2010, doi: 10.1007/s11263-009-0275-4.
[33] M. Cordts et al., “The Cityscapes dataset for semantic urban scene understanding,” in Proc. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR), 2016, pp. 3213–3223, doi: 10.1109/cvpr.2016.350.
[34] I. Loshchilov and F. Hutter, “Decoupled weight decay regularization,” in Proc. Int. Conf. Learn. Represent. (ICLR), 2019. [Online]. Available: https://openreview.net/forum?id=Bkg6RiCqY7