NeurIPS 2026QuestionsPapersAreasAboutMarkdown

HyperFlow: Gradient-Free Test-Time Adaptation for Cross-Domain Few-Shot Classification

Donggyun Kim, Chanwoo Kim, Seunghoon Hong

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: Graphs, OOD Detection & Medical Imaging › Test-Time Adaptation for OOD Detection · Type: new method · Keywords: gradient-free test-time adaptation, cross-domain few-shot classification, conditional drift network, PEFT adaptation, resource-efficient fine-tuning

Areas: Continual Learning & Adaptation › Domain Shift Adaptation › Cross-Domain Alignment

Summary

HyperFlow is a gradient-free test-time adaptation method that amortizes fine-tuning dynamics into a lightweight conditional drift network, enabling efficient cross-domain few-shot classification with low memory and FLOPs.

Explained to a 5-year-old

When a computer model sees a new kind of thing, it usually needs to learn from many examples, which takes a lot of time and memory. The researchers made a way for the model to change a little without doing that heavy learning, using a special helper network. This helper network watches how the model normally learns and copies that behavior quickly. It lets the model adapt to new tasks using only simple calculations, saving most of the memory and speed. This helps small devices like phones or robots to be smarter without getting too slow.

Explained to a 5-year-old, longer

When we want a computer program to do something new, like recognize a new animal, it usually needs to learn a lot from many pictures. Learning needs a lot of work, like a student studying for a big test, and it uses a lot of the computer's memory. The researchers noticed that this learning step is too heavy for small devices like phones or robots. They created a clever trick that lets the program change a little without doing all that heavy studying. This trick uses a small helper network that knows how the program usually learns. The helper network watches the learning process and stores its pattern, like a recipe. When the program meets a new task, the helper network quickly tells it how to adjust itself. This adjustment happens using simple math, not the usual backpropagation that needs many steps. Because it avoids the heavy learning, the program uses only a tiny fraction of the memory and computing power. This means the program can work faster and still be accurate, even on devices with limited resources. The new method also keeps the program's performance close to the better fine-tuning method while being much lighter. Overall, it makes it possible for everyday gadgets to become smarter without slowing them down.

For a technical reader

HyperFlow introduces a gradient-free test-time adaptation scheme that replaces backpropagation with a lightweight conditional drift network. During offline meta-training, it records fine-tuning trajectories and learns to predict parameter updates via numerical ODE solving. At inference, the drift network performs forward passes only, adjusting a selected PEFT subspace without touching the target model’s gradients. Empirical results on Meta-Dataset and CD-FSL show performance gains over direct transfer while using 6-14 % of the peak memory and roughly 1 % of the FLOPs of standard fine-tuning. This trade-off makes HyperFlow suitable for resource-constrained edge deployments where memory and compute are at a premium.

Problem

Adapting models to new domains in few-shot settings typically requires test-time fine-tuning, which is computationally expensive due to multiple backpropagation steps. This creates a need for efficient adaptation methods that avoid gradient computation in resource-constrained environments.

Method

The approach learns a conditional drift network from fine-tuning trajectories during offline meta-training, then adapts a selected parameter subspace via numerical ODE solving using only forward passes of the drift network, eliminating test-time backpropagation.

Results

The approach achieves improved out-of-domain performance over direct transfer while using only 6-14% of peak memory and about 1% of the FLOPs of standard fine-tuning.

Contributions

A gradient-free test-time adaptation framework that amortizes fine-tuning dynamics into a lightweight drift network, enabling efficient adaptation without backpropagation, along with empirical evaluation on two cross-domain few-shot benchmarks.

Practical relevance

Enables efficient model adaptation on resource-constrained devices such as mobile or edge platforms.

Research questions this paper is counted under

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