NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Reparameterizing Your Object Detectors for Weight Space Programming

Chien-Yao WangarXiv 2026

It’s late, your GPU cluster is pinned, and you just realized your object detector is hallucinating boxes in the fog. Usually, this means another week of data collection and expensive retraining. But what if you could just... edit the weights?

TL;DR

This paper introduces IR-ODWSP, a way to "program" your object detector’s weights using pure algebra—no backpropagation or retraining required. By mathematically "lifting" weights into specialized subspaces, you can fix bugs, adapt to bad weather, or trade speed for accuracy on the fly, all while adding zero overhead to your final model.

What Problem Does This Paper Address?

Deep learning usually treats weights like a "black box" created by Stochastic Gradient Descent (SGD). Weight-Space Programming (WSP) tries to change that by algebraically editing weights to fix errors or adapt to new tasks.

While WSP works for simple image classifiers, it historically fails for object detectors. If you try to tweak a detector's weights naively, two things happen:

  1. Duplicate Collapse: The model starts predicting hundreds of overlapping boxes for a single object (a "false positive avalanche").
  2. The Euclidean Trap: Modern detectors are so highly optimized that their weights are stuck in a very narrow "valley." Any simple change just makes the model worse because the math doesn't account for how different layers interact.

Methods

The authors propose Inverse-Reparameterized Object-Detection WSP (IR-ODWSP). Think of it as a four-stage surgery for your model:

  1. Lifting (The "Expansion"): Instead of editing the raw weights, they use "exact function-preserving operators" to move the weights into decoupled mathematical spaces. This includes things like 2D-DCT (to handle image frequencies), PCA (to handle variance), and Stiefel-Procrustes (to align different models).
  2. Winner-Exclusive Editing: They rewrite the math for how the model learns to ensure it respects the "one box per object" rule, preventing the duplicate box explosion.
  3. Folding (The "Collapse"): Once the edits are made in these fancy subspaces, the math is "folded" back into the original model shape. The result is a standard weight file that runs exactly like the original—no extra FLOPs, no extra parameters.
  4. Latency-Budget-Aware Deployment: They provide algorithms (IR-ODWSP-DYN and SG) that allow a user to say, "I have 10% more time to run this; give me the best accuracy possible," and the system generates the optimal weight configuration for that specific hardware budget.
Figure 2. Four-stage architecture of IR-ODWSP. Converged layers (dormant co-trained branches or cross-model priors aligned via Procrustes [27] Q⋆∈O(d)) are lifted via E into four decoupled subspaces (IR-AdaNorm moments [18], IR-DCT frequencies, IR-PCA+Procrustes covariances, and IR-BoxAffine box coordinates), edited in closed form under winner-exclusive targets [12, 34] and Empirical-Bayes [11] / LOSO priors, and deployed without retraining weights under any latency budget β ∈[−100%, +100%]: contracted for β < 0%, collapsed via C at β=0% (1.00×), or compiled into dual-stream dynamic (IR-ODWSP-DYN) or single-engine static (IR-ODWSP-SG) inference models.

Datasets

The researchers put their method through the wringer using:

  • MS COCO 2017: The gold standard for object detection.
  • COCO-O: A "zero-shot" out-of-distribution benchmark with six different shifts (like Sketch, Cartoon, and Weather).
  • Objects365: Used as a "prior" to help guide the weight editing.

Key Insights and Ideas

  • Anisotropic is Better: By "lifting" the weights, they create a "Riemannian metric." In plain English: they change the coordinate system so that the math can see which directions in the weight space actually matter for performance and which are just noise.
  • Zero-Image Repair: They found they could fix "corrupted" weights (like a random spike in a weight matrix) using purely algebraic methods, recovering nearly all the original performance without seeing a single training image.
  • Monotonic Scaling: Unlike traditional methods where "more compute" usually requires a different model architecture, IR-ODWSP allows a single model to scale its accuracy up or down smoothly based on the available latency budget.

Key Results

The results are impressively consistent across 17 different models (including various flavors of YOLO and DETR):

  • Universal Gains: Improved performance in 26 out of 26 tested MS COCO settings.
  • Weather Proofing: Achieved a +2.79 AP boost in label-free weather adaptation (fixing "foggy" vision) just by recalibrating moments and frequencies.
  • Efficiency: They could contract a model to be 10% faster while still maintaining a very high accuracy (51.62 AP).
  • Real-World Fixes: As seen in Figure 1, while a "naive" edit causes the model to predict 299 boxes for one person, IR-ODWSP keeps it clean and accurate.
Figure 1. Inverse Reparameterization unlocks Weight-Space Programming (IR-ODWSP) for object detection. (a) Direct editing of coupled detector weights W0 collapses or stalls (∆≈0), whereas IR-ODWSP lifts W0 via E, applies closed-form local edits ∆˜θ⋆, and folds back via C into W ⋆at zero extra overhead. (b) At 1.00× cost, IR-ODWSP improves all 26/26 MS COCO [19] settings and all 4/4 family means on zero-shot COCO-O [22]. (c) Real YOLO26-S [15] inference (val2017): Official emits a duplicate (FP = 1) and binary WSP [30] collapses (FP = 299), whereas IR-ODWSP achieves TP = 3/3, FP = 0.

Limitations and Future Work

While powerful, IR-ODWSP isn't magic.

  • Upper Bounds: You can't turn a tiny "Nano" model into a "Large" model purely through weight editing; there is a physical limit to what the existing parameters can represent.
  • Architecture Matching: To use a "prior" model (like using a big model to help a small one), the layer widths currently need to match. The authors suggest that extending this to "heterogeneous" backbones (different widths) is the next big challenge.

In short, the next time your detector fails in the rain, you might not need a new dataset—you might just need a better set of "weight-space" tools.

Summary updated

BibTeX
@misc{wang2026reparameterizing,
  author = {Chien-Yao Wang},
  title = {{Reparameterizing Your Object Detectors for Weight Space Programming}},
  year = {2026},
  eprint = {2611.29882},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.29882},
}
Figure