# Hypernetworks for Dynamic Feature Selection

*Javier Fumanal Idocin, Raquel Fernandez-Peralta, Javier Andreu-Perez*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/154296) · [OpenReview](https://openreview.net/forum?id=Emiobo4BDW) · [alphaXiv](https://www.alphaxiv.org/abs/2605.12278) · [Open on the map](../papers.html#p154296)

Category: [Graphs, OOD Detection & Medical Imaging](../pcat/7.md) › [Semi-Supervised and Active Learning with Pseudo-Labels](../pgroup/533.md) · Type: new method · Keywords: dynamic feature selection, hypernetwork, feature subset generation, structural complexity, zero-shot generalisation

## Summary
Hyper-DFS introduces a hypernetwork-based dynamic feature selection approach that generates subset-specific classifier parameters on demand, achieving superior performance on synthetic and real-life tabular data, image datasets, and stronger zero-shot generalisation to unseen feature subsets.

## Explained to a 5-year-old
Sometimes we have many things to look at, but we can only pick a few to help make a decision. A system learns which things are most useful for each new problem. It uses a special helper that figures out how the model should work based on the chosen things. This makes the system work better on new problems it hasn't seen before. It also works well on different kinds of data, like numbers and pictures.

## Explained to a 5-year-old, longer
In many machine learning problems we have lots of possible features that could be used to make predictions. But we often have a limit on how many we can actually use, like a budget of only a few. Dynamic feature selection is a way to choose which features to use for each individual example, one at a time. The challenge is that there are many possible ways to pick features, and we want the model to be good both on the specific case and on new cases it hasn't seen. Existing methods sometimes struggle because they have too many possible choices, which makes it hard to keep the model simple and effective. This paper looks at why those methods have limits and proposes a new idea to help. The new idea uses a kind of helper network that can quickly generate the model’s parameters for any chosen set of features. This helper is trained so that similar sets of features produce similar model behavior, making the system smoother. By using this helper, the overall model has less complexity, which means it can generalize better. The researchers tested the method on synthetic data, real-world tabular data, and several image datasets. It beat all previous methods on the tabular tasks and performed as well as or better than existing methods on the image tasks. Most importantly, it could handle feature subsets it had never seen during training, showing strong zero-shot generalisation.

## For a technical reader
The system selects a small subset of features for each input while respecting a budget. It uses a hypernetwork to produce model weights conditioned on the chosen features, and a Set Transformer ensures that similar subsets produce similar weights. This reduces the overall model complexity and improves generalisation, especially to feature subsets never seen during training.

## Problem
Dynamic feature selection must choose feature subsets sequentially under a budget while balancing specific fit and general performance, and existing methods struggle with the exponential number of acquisition paths.

## Method
The approach uses a hypernetwork to generate classifier parameters conditioned on selected feature subsets, employs a Set Transformer to encode subsets into a smooth space, and reduces structural complexity compared to mask-embedding baselines.

## Results
The approach achieves state-of-the-art performance on synthetic and real-life tabular data, matches or exceeds results on image datasets, and demonstrates significantly better zero-shot generalisation to unseen feature subsets.

## Contributions
It analyses structural limitations of prior DFS methods, proposes a hypernetwork-based framework that reduces complexity, introduces a Set Transformer conditioning space, and demonstrates superior performance and zero-shot generalisation across multiple data types.

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](../feedback/?on=p/154296)
