Paradigm Shift: From ‘Modifying the Model’ to ‘Modifying the Task’
Traditional model adaptation methods, such as fine-tuning, primarily adjust the internal parameters of a pre-trained model to suit new downstream tasks. This is known as ‘parameter-centric adaptation’ (PCA). However, this paradigm is not only computationally expensive but also requires storing a separate model copy for each task.
In recent years, a ‘reprogrammability-centric adaptation’ (RCA) paradigm has gradually become mainstream. Its core concept is to freeze all or most of the parameters of a pre-trained model. Instead, it strategically manipulates the model’s input (e.g., by adding prompts or in-context examples) and output through carefully designed task-specific ‘programs’ to guide the model in performing new tasks. This shift from ‘modifying the model to fit the task’ to ‘modifying the task to fit the model’ vastly improves parameter efficiency. Experimental data shows that the number of extra parameters required by RCA is 2 to 3 orders of magnitude less than even the most lightweight PCA methods, making it possible to deploy and adapt large models in resource-constrained environments.
A Unified Theory: Exploiting the ‘Vulnerability’ of Neural Networks

These seemingly different efficient adaptation techniques essentially exploit the same inherent property of neural networks—Reprogrammability. The concept was first introduced by Ian Goodfellow et al. in a study at ICLR 2019, stemming from an exploration of the adversarial vulnerability of neural networks. Researchers found that by adding a carefully designed ‘adversarial program’ to the input, they could ‘trick’ an image classifier into performing a completely unrelated task, such as counting, without altering the model’s weights. This sensitivity is no longer seen as a mere security flaw but is constructively leveraged as a highly efficient model adaptation mechanism. Based on this, the research team from the University of Melbourne and IBM constructed a unified mathematical framework, demonstrating that methods like Model Reprogramming, Prompt Tuning, and In-context Learning are all different implementations under this framework.
Analysis of Mainstream Techniques Under the Framework
Within the unified framework of ‘Neural Network Reprogrammability,’ several mainstream techniques are clearly categorized and explained:
- Model Reprogramming (MR): Primarily operates at the model’s original input layer, achieving task adaptation by adding learnable perturbations to input data (e.g., images).
- Prompt Tuning (PT): Operates at the model’s embedding or hidden layers. It guides model behavior by inserting or concatenating learnable ‘soft prompts,’ providing more direct control over the model’s internal state.
- In-context Learning (ICL): Introduces no new learnable parameters at all. Instead, it guides the model by providing task examples (demonstrations) in the input. Chain-of-Thought (CoT), popular in large language models, can be seen as an advanced form of ICL. It further enhances guidance over the model’s behavior by adding structured reasoning steps to the demonstrations and extracts the final answer by parsing the structured output.