NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Understanding Model Reprogramming: A Reachability and Relabeling Perspective

Zesheng Ye, Pin-Yu Chen, Feng Liu

NeurIPS page · OpenReview · Open on the map

Category: Graphs, OOD Detection & Medical Imaging › Robust Transfer and Domain Adaptation · Type: theory · Keywords: model reprogramming, sample complexity, PAC learning, reachability, relabeling, theoretical analysis

Summary

The paper provides a theoretical analysis of model reprogramming by decomposing its sample complexity and approximation error into reachability and relabeling components, yielding agnostic PAC bounds that are tight for additive input transformations and an empirically estimable bound for logit-exposing source models.

Explained to a 5-year-old

We have a big computer brain that already knows how to do one thing. We want it to do something else. We add a small translator in front that changes the new information to look like the old thing. We also add a small translator at the end that changes the old brain's answers to the new answers. By studying how many examples we need and how well it can work, we learn when this trick will be useful.

Explained to a 5-year-old, longer

Imagine a large computer that already knows how to recognize cats. We want it to recognize dogs instead. We create a tiny helper that changes pictures of dogs so they look like pictures of cats for the computer. Then we add another tiny helper that takes the computer's cat answers and turns them into dog answers. By studying how many dog pictures we need to teach the helpers, we can understand how well the trick works. The helpers also have limits: they can only use the information the original computer already has, and they might not be able to capture everything about dogs. We also look at a special kind of computer that shows not just answers but also confidence scores, which helps us estimate how good the helpers are. This whole process helps us know when we can trust the computer to do new tasks without retraining it from scratch.

For a technical reader

The work examines how a frozen source model can be adapted to a target task via an input transformation and an output mapping, analyzing the learnability of the resulting wrapper hypothesis class. It decomposes the estimation error into a reachability term counting source-label patterns and a conditional relabeling term counting output mappings, providing an agnostic PAC bound that scales additively with these two components. The approximation error is further split into source-label information loss and output-mapping restriction, yielding a source-conditional upper bound that can be empirically estimated for logit-exposing source models.

Problem

How many labeled target examples are required to approximate the optimal predictor when a frozen source model is adapted via an input transformation and output mapping, and what is the inherent limitation of this adaptation?

Method

The analysis factorizes the wrapper hypothesis class into a reachability term counting source-label patterns and a conditional relabeling term counting output mappings, deriving an agnostic PAC bound on estimation error and decomposing approximation error into source-label information loss and output-mapping restriction. For logit-exposing source models, the approximation bound is made empirically estimable.

Results

The paper shows that the sample complexity of model reprogramming scales additively with the number of reachable source-label patterns and their possible relabelings, and that the approximation error is bounded by source-label information loss and output-mapping restrictions, with an empirically estimable bound for logit-exposing source models.

Contributions

It provides a structural decomposition of both estimation and approximation errors for model reprogramming, yields agnostic PAC bounds that are tight for additive input transformations, and extends the analysis to logit-exposing source models with an empirical bound.

Limitations and assumptions

The analysis assumes source models provide hard source labels or expose logits; the closed-form bound applies to additive input transformations; empirical estimation requires logit-exposing source models.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction