Concept-Based Data Selection

Mind the Tail

Data Selection Through Sparse Concepts

Ziheng Zhang1,2†· Neha Hulkund3· Colin Lee2· Zheda Mai2· Hui Shen4
Ying Ding1· Tanya Berger-Wolf2· Sara Beery3· Wei-Lun Chao5· Jianyang Gu2,3†
1University of Texas at Austin 2The Ohio State University 3Massachusetts Institute of Technology 4University of Michigan 5Boston University

A training subset determines how much support each visual concept gets, from objects and attributes to textures and backgrounds. Tail concepts appear in only a few images and are easy to lose when data is reduced, which can hurt test-time robustness. We use sparse-autoencoder concepts to make this allocation explicit and shift more support toward the tail.

  • Method We accumulate each concept's support as images are selected. Diminishing returns lower the value of concepts that are already well covered, and local support favors samples that, together with their neighbors, contribute to under-supported concepts, so recurring underrepresented concepts are preferred over isolated occurrences.
  • Finding Test images with concepts that gained support improve the most. Broader coverage of the tail, including context unrelated to the class, also improves robustness to out-of-distribution and spurious contexts.
  • Results Improvements over strong data selection baselines on fine-grained, spurious-correlation, and general image classification, and on CLIP pretraining with CC12M, with the largest margins at small budgets.
Relative concept support of K-Center, Forgetting, D2-Pruning, and our method across concept prevalence; only ours amplifies rare concepts. Below, example SAE concepts from generic (bird, branch) through specific (elongated bill, bird feeder) to rare (human hand, facial disc).
Data selection reallocates the concept distribution. Top: relative change in concept support in a 10% subset, from frequent to rare concepts. K-Center, Forgetting, and D2-Pruning stay close to the original distribution, while ours amplifies tail concepts. Bottom: SAE concepts from generic (broadly supported) to specific (shared by a subset) to rare (a few images).
Method

From Concept Value to Sample Value

We measure concept coverage to find what evidence the subset still needs, and local support to decide which samples fill that gap.

Pipeline: candidate images pass through a frozen foundation model and a sparse autoencoder to produce concept vectors. In concept space, a sample with a well-covered concept and an isolated sample with a rare concept are rejected, while a locally supported sample with a rare concept is selected.
Overview. SAEs turn foundation-model patch features into sparse concept vectors, and we track the support each concept has in the subset. The objective favors samples whose under-supported concepts are also carried by their neighbors, over samples that only add head concepts or sit alone in a rare region.
Step 1

Describe each image by its sparse concepts

An SAE with \(C\) dimensions on DINOv3 patch features, max-pooled per image, gives a sparse concept vector \(\mathbf{x}_i\), where \(\mathbf{x}_i[c]\) is the activation of concept \(c\).

SAE concepts follow a long-tailed distribution. Fine-grained attributes, uncommon objects, and context variations appear in only a few images, which makes them easy to lose when data is reduced.

Image \(I_i\) DINOv3 patches SAE max-pool \(\mathbf{x}_i \in \mathbb{R}^{C}\)

Dimensions tend to fire on recurring visual patterns, such as a bill shape, a feeder, a hand, or a sky background.

Step 2

Concept coverage: where is support missing?

As images are added, we accumulate each concept's support and apply diminishing returns. Well-covered concepts become worth less, so under-supported ones become more competitive. The objective needs no explicit definition of the tail or a target frequency.

$$F(\mathcal{S}) \;=\; \sum_{c=1}^{C} \log\!\Big(1 + \sum_{I_i \in \mathcal{S}} \mathbf{x}_i[c]\Big)$$

The concave \(\log(1+\cdot)\) saturates head concepts and leaves room for the tail.

Step 3

Local support: which samples fill the gap?

Rare concepts do not automatically dominate selection, because the samples that carry them may receive limited local support when isolated. Each candidate also receives complementary credit for concepts recurring among nearby samples, so recurring underrepresented concepts are favored over isolated occurrences.

$$\tilde{\mathbf{x}}_i[c] \;=\; \mathbf{x}_i[c] \;+\; \beta \!\!\sum_{t:\, I_i \in \mathcal{N}_k(t)}\!\! a_{ti}\, \mathbf{x}_t[c]$$

\(\mathcal{N}_k(t)\): the \(k\) nearest neighbors of \(I_t\) in SAE space; \(a_{ti}\): cosine similarity normalized over the neighbors; \(\beta\): strength of local support.

Analysis

Which Concepts Does a Subset Support?

Do different selectors change the concept distribution, and do the concepts that gain support matter downstream?

FindingDifferent criteria, similar concept profiles

We profile each NABirds subset by how many concepts it covers, how evenly it spreads activation mass, and how common its concepts are relative to the full dataset.

K-Center, Forgetting, and D2-Pruning end up close to random sampling on all three measures, while our subset moves noticeably more support to tail concepts.

MethodUnique coverageEffective numberPrevalence ratio
Random7,9738651.00
K-Center8,2158930.97
Forgetting8,1208880.97
D2-Pruning8,0998870.97
Ours8,9511,1240.74

NABirds subsets. A prevalence ratio below 1 means more support for tail concepts.

Bar chart of accuracy gain over random selection for test images whose concepts were reduced, unchanged, or enhanced in training support, on NABirds and CC12M to ImageNet-1K linear probe. Enhanced concepts show the largest gains.
Accuracy gain over random on test images whose concepts lost, kept, or gained training support.

FindingEnhanced concepts improve the most

We group concepts by how their training support changed relative to random selection, then test on images where each concept is strongly active.

All three groups improve over random selection. Images with enhanced concepts improve the most, both on NABirds and on ImageNet-1K after CLIP pretraining.

Case Study · NABirds

When the Tail Is Context: The “Human Hand” Concept

Some enhanced concepts are discriminative features, such as bills and wings. Others, such as hands, signs, and feeders, are not directly related to the species, and accuracy on test images with these concepts also improves.

Finer-CAM maps for test images with enhanced concepts: human hand, elongated bill, posted sign, roof edge, spread underwing, feeding bowl. Models trained on our subset focus on the bird; random and RAM-APL models often focus on the hand, sign, feeder, or bowl.
Finer-CAM on enhanced concepts. The model trained on our subset attends mostly to the bird, while the models trained on random and RAM-APL subsets put more weight on the hand, sign, or feeder.
Contextual concepts such as a hand carry little information about the species. Spreading them across more categories during training helps keep test images with that context in distribution and lowers the risk that the context becomes a shortcut for a few classes.
More Finer-CAM examples NABirds & Stanford Cars
Additional Finer-CAM attribution maps on NABirds and Stanford Cars comparing our method, Random, RAM-APL, and CCS.
More Finer-CAM maps. Across these examples, our model places more attribution on the object, while models trained on Random, RAM-APL, and CCS subsets more often attend to the surrounding context.
Case Study · Waterbirds

Broader Coverage and Background Shortcuts

In Waterbirds, bird type is spuriously correlated with the background. Our subsets contain more images that break this correlation.

FindingMore bias-conflicting images, without group labels

Bias-conflicting images, such as waterbirds on land, make up 18.8% of our subset, compared with under 10% for the other selectors we compare. Our method does not use group labels.

FindingGroup composition explains part of the gain

Random subsets with the same label-background counts close only part of the gap to our subset, and filling the same quotas with difficult images does worse. This suggests the improvement comes from both a more favorable group composition and richer visual evidence within each group.

MethodCounter-corr.WGA ↑All-bg ↑
Random4.052.357.6
Forgetting5.031.632.4
K-Center5.457.572.6
Moderate9.360.578.3
Ours18.868.686.5
Group-matched controls (same label-background counts as ours)
Random18.863.784.2
Difficult18.852.273.7
Easy18.864.085.8

Waterbirds (%). Counter-corr.: share of bias-conflicting images. WGA: worst-group accuracy. All-bg: correct under all four backgrounds.

Design Choices

Representation and Neighborhood Weight

We look at two design choices: which features to measure concept support with, and how much weight to give local support relative to coverage.

RepresentationSAE concepts give a clearer selection signal

Heatmaps on NABirds and Waterbirds of average performance when concept coverage and local support are computed from SAE features, DINO features, or removed. SAE for both components is best or near best.
Representation ablation. Rows: features for concept coverage; columns: features for local support (None removes it).
Average per-dimension activation density: DINO features follow a single bell-shaped distribution, while SAE features show multiple peaks.
Why SAEs help. Per-dimension activation density of DINO vs. SAE features.

With the same objective, SAE features work best for concept coverage on NABirds, and moving local support from DINO to SAE space helps most on Waterbirds. DINO dimensions are roughly normally distributed across images, while SAE dimensions have multiple peaks, which separates images with different characteristics more clearly and gives the objective a more informative signal about accumulated and rare concepts. The method stays effective with concepts from other encoders (DINOv2, DINOv3-S/B, CLIP, SigLIP 2).

BalanceWeighting local support against coverage

The weight \(\beta\) controls how much local support counts relative to coverage. In all three settings we test, a small amount of local support (\(\beta = 0.05\)) improves over coverage alone.

Fine-grained and spurious-correlation datasets work best at \(\beta = 0.05\), which keeps the emphasis on broad coverage. Tiny-ImageNet, a general dataset with a wider range of concepts, works best with much stronger local support (\(\beta = 2\)).

Accuracy gain over beta equals zero as a function of neighborhood weight beta for general, fine-grained, and spurious datasets. Fine-grained and spurious peak at small beta; general peaks at beta equals 2.
Effect of \(\beta\) on general (Tiny-ImageNet), fine-grained (NABirds), and spurious-correlation (Waterbirds) data.
Benchmarks

Benchmark Results

Our subsets give the best result at most budgets on NABirds, Stanford Cars, Waterbirds, and CLIP pretraining, with the largest margins at small budgets. On Spawrious, EL2N and CCS score higher at most budgets.

Image classification ResNet-50 trained on the selected subset

NABirds Accuracy

Method10%20%30%50%70%
Random35.655.364.973.377.1
K-Center31.654.464.974.177.8
Forgetting22.449.863.374.378.1
EL2N16.844.461.274.478.5
Moderate34.656.064.973.777.5
CCS39.757.765.573.677.6
D2-Pruning25.854.866.674.777.9
InfoMax22.552.064.772.776.3
RAM-APL39.354.761.769.874.8
SDM37.556.364.573.778.2
Ours42.959.467.475.278.3

Full dataset (100%): 80.3

Stanford Cars Accuracy

Method10%20%30%50%70%
Random21.945.263.178.083.7
K-Center16.639.156.377.583.9
Forgetting11.837.056.772.281.1
EL2N8.928.449.271.079.3
Moderate19.745.959.877.383.8
CCS23.649.362.777.884.6
D2-Pruning22.650.963.972.474.1
InfoMax11.137.357.375.581.3
RAM-APL26.050.961.573.981.0
SDM20.645.462.576.882.4
Ours23.953.465.378.884.0

Full dataset (100%): 87.5

Waterbirds Worst-group accuracy

Method10%20%30%50%70%
Random52.366.267.568.879.1
K-Center57.561.364.279.469.1
Forgetting31.643.660.173.477.0
EL2N31.052.364.272.976.5
Moderate60.568.368.071.171.9
CCS52.862.067.169.970.7
D2-Pruning47.049.256.460.866.2
InfoMax22.654.061.770.972.7
RAM-APL30.238.851.265.068.2
SDM61.064.370.475.274.4
Ours68.672.777.979.379.8

Full dataset (100%): 80.1

Spawrious Accuracy

Method10%20%30%50%70%
Random63.867.472.668.869.5
K-Center71.371.771.969.969.1
Forgetting61.168.567.974.374.3
EL2N74.674.375.661.068.7
Moderate70.472.072.768.467.3
CCS72.973.476.775.376.7
D2-Pruning54.661.060.464.361.3
InfoMax66.762.161.262.364.0
RAM-APL45.546.047.251.153.3
SDM71.471.870.972.074.0
Ours74.373.574.772.373.8

Full dataset (100%): 76.3

Averaged over three runs. Bold: best; underlined: second best.

Multimodal pretraining CLIP ViT-B/16 trained on a CC12M subset

ImageNet-1K zero-shot Accuracy

Method10%20%30%50%70%
Random3.67.712.920.926.4
CLIP Score3.29.915.223.928.6
K-center1.76.810.721.529.3
Moderate3.810.114.622.529.0
CCS4.010.315.422.525.2
D2-Pruning2.58.814.424.329.6
Infomax2.38.914.224.129.2
Ours6.412.416.625.930.9

Full dataset (100%): 32.4

ImageNet-1K linear probe Accuracy

Method10%20%30%50%70%
Random21.630.139.148.154.2
CLIP Score23.036.140.649.455.0
K-center18.531.838.549.655.8
Moderate22.334.941.750.155.8
CCS23.636.342.550.053.5
D2-Pruning22.336.042.751.756.6
Infomax22.136.141.451.255.9
Ours24.737.043.952.857.3

Full dataset (100%): 58.7

Flickr30K image→text Recall@1

Method10%20%30%50%70%
Random3.88.517.231.142.5
CLIP Score3.99.314.728.742.0
K-center1.812.621.338.446.4
Moderate3.111.019.132.843.3
CCS3.713.522.335.441.7
D2-Pruning2.59.620.033.544.9
Infomax2.39.419.334.143.8
Ours3.715.424.737.248.7

Full dataset (100%): 51.1

Flickr30K text→image Recall@1

Method10%20%30%50%70%
Random3.16.811.422.430.5
CLIP Score2.77.010.620.131.0
K-center1.68.313.926.733.8
Moderate2.48.313.022.932.4
CCS2.810.015.424.729.3
D2-Pruning2.07.613.123.231.4
Infomax2.17.312.723.530.8
Ours2.610.216.527.635.8

Full dataset (100%): 38.1

Bold: best; underlined: second best.

Citation

BibTeX

@article{zhang2026mindthetail,
  title   = {Mind the Tail: Data Selection Through Sparse Concepts},
  author  = {Zhang, Ziheng and Hulkund, Neha and Lee, Colin and Mai, Zheda and
             Shen, Hui and Ding, Ying and Berger-Wolf, Tanya and Beery, Sara and
             Chao, Wei-Lun and Gu, Jianyang},
  journal = {arXiv preprint arXiv:2610.21007},
  year    = {2026}
}