# DynaSub: Adaptive Subgrouping for Scalable Representation Learning

*Tina Behrouzi, Sana Tonekaboni, Rahul Krishnan, Anna Goldenberg*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/149429) · [Open on the map](../papers.html#p149429)

Category: [Graphs, OOD Detection & Medical Imaging](../pcat/7.md) › [Frozen Representations](../pgroup/647.md) · Type: new method · Keywords: adaptive subgrouping, latent representation learning, OOD detection, variational autoencoder, non-parametric clustering

Areas: [Continual Learning & Adaptation](../areas/continual-adaptation.md) › Domain Shift Adaptation › Out-of-Distribution Detection

## Summary
DynaSub introduces a Dynamic Subgrouping Variational Autoencoder that learns adaptive subgroup structure in latent space to improve OOD detection.

## Explained to a 5-year-old
In many places, there are groups of things that are different from the usual. We want computers to notice when something new comes that doesn't fit the usual groups. This new method helps computers find those groups by learning how to split data into parts that are separate. It works on pictures and other data that computers already understand. It makes the computer better at spotting when something is weird.

## Explained to a 5-year-old, longer
Real-world data, like photos or sensor readings, often contain many different kinds of groups. Some groups follow the usual patterns, while others are new or unusual. It can be hard for computers to tell when they see something that doesn't belong to any known group. The paper proposes a way for computers to discover these groups automatically. It uses a special kind of learning that looks at hidden features inside the data. By clustering these hidden features, the method can create new groups that fit the data better. The groups can change and grow as the computer sees more examples. This helps the computer notice when a new piece of data doesn't match any existing group. The method works on many types of data, including images and other common inputs. It improves the computer's ability to detect unusual or out-of-distribution inputs. As a result, the computer becomes more reliable and safer when facing unexpected situations. Overall, the approach makes machines smarter at handling diverse and evolving data.

## For a technical reader
DynaSub is a variational autoencoder that learns to partition latent representations into adaptive subgroups, improving detection of out-of-distribution data. It operates on pre-trained encoders such as ResNet or Vision Transformers, extracting latent embeddings that capture subgroup structure. A non-parametric clustering layer in latent space dynamically creates and refines subgroups during training. The model is trained to enhance subgroup separability and OOD sensitivity, reducing false positives under covariate shift. Experimental results show up to a 10% reduction in false positives while maintaining high AUROC across multiple OOD benchmarks.

## Problem
Real-world data often contain heterogeneous subpopulations that deviate from global patterns, making it difficult for models to detect Out-of-Distribution data and adapt to emerging patterns.

## Method
The approach learns latent embeddings from pre-trained encoders, uses a nonparametric clustering mechanism in latent space, and iteratively refines subgroup structure to enhance separability and OOD sensitivity.

## Results
The approach reduces false positive rates by up to 10% under covariate shift while maintaining high AUROC across OOD benchmarks, and performs well on class-OOD settings with unseen classes.

## Contributions
It introduces a dynamic subgroup discovery mechanism coupled with latent representation learning, enabling adaptive clustering and improved OOD detection without requiring fixed subgroup definitions.

## Research questions this paper is counted under

- [How can models adapt to new subpopulations or environments when the data distribution shifts?](../q/854.md)

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/149429)
