# Shortcut Learning in Feature-Based Algorithm Selection

Feature-based algorithm selection models can learn shortcuts that algorithms never use

Shuhei Tanaka, Shoichiro Tanaka, Toshiharu Hatanaka · arXiv · 2026-11-16

- **Problem** Landscape features can let a model rely on information the algorithms ignore. Such shortcut learning hides behind good in-distribution accuracy, so models look reliable until they meet changed data.
- **Method** The Rubber Ruler Test transforms test objective values with random strictly increasing functions. It reruns the algorithms and checks whether the model's predictions still hold up.
- **Results** For comparison-based CMA-ES portfolios, a model using all ELA features fell from R2 0.85 to 0.23 after the transformation. Rank-based features reduced the drop.

![Figure 4: Rank-based extraction has the lowest 𝑅2 on original test instances but the highest for G1 and G2 on transformed ones](https://refivu.com/papers/aa7e77ed-0585-4907-95a2-a75a2656749e/figures/figure-4b5f7000924ff856999c3154ab56e63a.png?thumb=512)

**Figure 4** : Rank-based extraction has the lowest 𝑅2 on original test instances but the highest for G1 and G2 on transformed ones.

[Original paper](https://arxiv.org/abs/2611.20440v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Shuhei Tanaka, Shoichiro Tanaka, Toshiharu Hatanaka · Shortcut Learning in Feature-Based Algorithm Selection · Original paper figure · Extracted the figure area from page 7 of the original PDF.

## Why shortcuts appear in landscape-based selection

Most AAS and AAC methods work in two steps, with landscape analysis first and a trained model second. The most common features come from exploratory landscape analysis (ELA). A feature can correlate with the training labels without carrying anything the algorithms use. Such a model looks reliable on in-distribution data and then fails on out-of-distribution data.

Figure 2 illustrates this with a model that relies on an irrelevant feature, whose correlation with the class is reversed in the test data. The authors ask whether the same failure occurs in automated algorithm selection and configuration.

![Figure 2: A model that relies on an irrelevant feature fails on out-of-distribution test data. The horizontal axis is the irrelevant feature, and the vertical…](https://refivu.com/papers/aa7e77ed-0585-4907-95a2-a75a2656749e/figures/figure-1bcb592a0a152af4a172a66a5b22e5a6.png?thumb=512)

**Figure 2** : A model that relies on an irrelevant feature fails on out-of-distribution test data. The horizontal axis is the irrelevant feature, and the vertical axis is the relevant feature. Filled markers are training data, and hollow markers are test data. In the training data, both features correlate with the class. In the test data, the irrelevant feature’s correlation is reversed. The background color shows the decision boundary of each model. The left model misclassifies two training points but correctly classifies all test points. The right model classifies all training points correctly but misclassifies every test point.

[Original paper](https://arxiv.org/abs/2611.20440v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

Normalization is the remedy that AAS and AAC research already applies to the objective values of sampled solutions. Many black-box algorithms behave identically under positive affine transformations, so a positive multiplier and an additive constant are often irrelevant. Their search behavior is invariant to strictly increasing transformations, which is broader than positive affine ones.

Normalization makes the model's input invariant only to positive affine transformations, so shortcut learning can still occur.

It then applies strictly increasing transformations to the objective values of the test instances and reruns the algorithms on them. Finally, it measures the model's prediction performance on the transformed instances. For comparison-based algorithms, measuring a landscape with a rubber ruler doesn't change the search behavior, so the model should output the same predictions.

The predictor in AAS is the regression of the mean probability of superiority J for each algorithm, and the selector picks the algorithm with the largest predicted value.

## Why normalization leaves a gap

Normalizing objective values is the common first defence in AAS and AAC research. A positive multiplier and an additive constant are therefore often irrelevant to the task, so normalization removes this information from the model's input. Prior work has shown that normalization improves the generalization performance of AAS, and the authors read this gain as the effect of suppressing shortcut learning.

Normalization makes the model's input invariant only to positive affine transformations, so an ELA feature can still move under a monotone change that CMA-ES ignores. Thus, shortcut learning can still occur for comparison-based algorithms, even after normalization.

The Rubber Ruler Test is built to expose this gap. A model for CMA-ES should output the same predictions after such a transformation, because measuring a landscape with a rubber ruler doesn't change its search behavior. The authors test this on the BBOB test suite, with algorithms grouped by how they use objective values: G1 uses only the order, G2 uses the order and values, and G3 uses only the values.

The first claim follows from this gap: a model for a G1 portfolio can still learn shortcuts with normalized objective values. In the right panel of Fig. 1, a model using all ELA features from normalized objective values reaches an R2 of 0.85 on the original test instances. On the Rubber Ruler Test, its R2 drops to 0.23, below 0.45 for a model that uses only invariant features.

## How the Rubber Ruler Test works

The Rubber Ruler Test asks a model to keep its predictions when the objective values change in a way the algorithms cannot detect. Finally, it measures the prediction performance of the trained model on the transformed instances.

The test compares two ways of passing objective information to the landscape analysis. Rank-based extraction passes the min-max normalized ranks, and assigns average ranks to ties. Because neither the ranks nor their order change, rank-based features stay the same under any strictly increasing transformation.

The transformation first maps each objective value by min-max scaling between estimated or known minimum and maximum values. The minimum and maximum come from 1000d uniformly sampled solutions, or from known values. The rescaled value then passes through a function psi that is strictly increasing on \[0, 1\], with psi(0) = 0 and psi(1) = 1.

The Rubber Ruler Test draws psi from Dspline, choosing K uniformly from {4, . . . , 7} intervals and heights from N(0, sigma squared) with sigma = 1. A not-a-knot cubic spline s through these heights gives psi as an integral of exp(s), normalized so that it runs from 0 to 1. Because the exponential is always positive, the resulting psi is strictly increasing, so the order of objective values is kept.

Each transformed test instance keeps the seeds of the original, so the algorithm runs and the random seed omega stay shared. A predictor trained on the original training set is scored with R squared on both the original and the transformed test sets. For G1, the transformation leaves the mean probability of superiority J unchanged, so any drop in R squared reveals shortcut learning.

The test also reports the feature extraction tau\* that scores best on the transformed test set, which can be optimistic. If the transformed score stays below the original one, the user can consider data augmentation or concatenation as further candidates.

## Setup: instances, portfolios and features

The study runs the Rubber Ruler Test on 10-dimensional BBOB problem instances, with 2,400 training instances and 240 test instances. Training uses instances 11 to 110 of each function, and testing uses instances 1 to 10 of each function. This split is leave-instance-out evaluation, which Petelin and Cenikj showed overestimates AAS performance.

The transformed test set uses the known minimum of each instance as the estimate of the minimum objective value.

The portfolios group six algorithms by how they use objective values in their search. G2 algorithms, SHADE and L-SHADE, use ranks and values, while G3 algorithms, BOBYQA and Dual Annealing, use only values.

pflacco computes the ELA features from 50d = 500 solutions sampled by Latin hypercube sampling. Two features that take non-finite values are dropped, which leaves 59 features for all experiments. Of these 59 features, 36 are invariant features, because strictly increasing transformations don't change them.

RealMLP-TD from pytabkit serves as the learning model, and Ali uses its default settings. For each condition, the study trains predictors with 11 random seeds of the learning model. Data augmentation adds one transformed instance for each training instance, and it shares the seeds with the original. For G1, the transformation doesn't change the target J, so a drop in prediction performance points to shortcut learning.

## Does normalization stop shortcuts

The first question is whether a G1 model still learns a shortcut when its inputs are normalized. Min-max normalization of the objective values removes positive affine differences, but G1 algorithms search with ranks, so strictly increasing changes can still matter. The model under test uses all 59 value-based ELA features, and the baseline uses only the invariant features.

Only the first predictor can see the non-invariant features, so any difference in how the two hold up points to those features.

On the original test instances, the all-feature model reached an R² of 0.85, above 0.45 for the invariant-only model. After the transformation, its R² fell to 0.23, below the baseline, whose R² did not change. The authors read this as evidence that part of the in-distribution score comes from information the algorithms ignore. The authors' criterion for shortcut learning is a higher median R² before the transformation and a lower one after it.

Under the transformation, only 23 non-invariant features changed, by a median of 0.32. The invariant features, which make up 36 of the 59, don't change, so the model still receives them unchanged. Random forest and XGBoost gave the same conclusion, so the drop doesn't depend on the learner.

## Can rank-based features remove the drop

Rank-based feature extraction keeps its R² after the transformation, because the transformation can't change the ranks of the objective values. For G1 and G2, rank-based extraction kept R² at 0.66 and 0.61 after the transformation. Value-based extraction dropped to at most 0.23 on the same transformed instances. Rank-based extraction computes features from min-max normalized ranks, with average ranks assigned to ties.

Value-based extraction passes min-max normalized objective values instead, so it stays invariant only to positive affine transformations.

For G1, the rank-based score didn't move, because the transformation changes neither its inputs nor the target. For G2, the score moved by only 0.01, even though the target changed by 0.25. Concatenation stayed within 0.01 of value-based extraction before the transformation. After the transformation, concatenation reached at most 0.25 for G1 and G2.

Adding the value-based features to the rank-based ones didn't reduce the drop.

Rank-based extraction pays a price on original test instances. Its R² is 0.15 to 0.19 lower than value-based extraction in every group. The authors attribute part of that gap to information that holds on the original instances but not under the transformation. For G3, rank-based extraction didn't reduce the drop, because all extractions went negative after the transformation.

In the selection task, rank-based extraction gave Θ of 0.62 after the transformation, versus 0.60 for the others. The bootstrap interval of that advantage includes zero, so it is weak evidence. Before the transformation, rank-based extraction gave the lowest Θ, at 0.65. Ranks and min-max normalization both remove the scale that Dual Annealing uses, so the input loses that information.

## Does data augmentation help on transformed instances

Data augmentation adds one transformed copy of each training instance, with its own random transformation and the same seeds. Each added instance shares the seed omega and the seeds xi with its original, and its J is obtained by running the algorithms on it. RQ3 tests the test transformations from four distributions that augmentation never uses, so a gain can't come from matching the training distribution.

For G1 and G2, data augmentation raised the R² of value-based extraction and concatenation from at most 0.28 to at least 0.53 on transformed test instances. On the original test instances, the same two extractions lost 0.06 to 0.11 of R², so augmentation costs accuracy on the original data. Adding new untransformed instances instead gave at most 0.27, so the gain doesn't come from having more data.

Rank-based extraction barely changed with augmentation, at most 0.01 for G1 and G2. For G1, concatenation reached 0.69 against 0.66 for rank-based extraction, while for G2 it was 0.61 against 0.62. The authors read this as augmentation reducing the model's reliance on the non-invariant part of the input.

On original test instances, the rank-based R² for G3 fell from 0.63 to 0.33. The G3 gain for value-based extraction and concatenation depends on the transformation accompanying the rescaling, because only that transformation changes their input. In the selection task, augmentation significantly raised Θ by 0.03 to 0.06 for every feature extraction.

## Limitations of the Rubber Ruler Test findings

The limitations start with the scope of the RQ1 evidence, which rests on one portfolio. RQ1 is an existence result, so a single portfolio is enough to show that shortcut learning can occur. Its direct evidence comes from the G1 portfolio on 10-dimensional BBOB, with one budget and one sample size. That evidence also rests on leave-instance-out evaluation, the known minimum as the estimate for the transformation, and a range of \[0, 1\] in Eq.

(8). The evidence also uses sigma equal to 1 for the spline heights. When the functions are also resampled, the RQ1 baseline comparison is inconclusive.

The authors separate two kinds of shift that the test doesn't resolve. For G3, the rescaling alone changed the probability of superiority by 0.65 with the identity mapping for psi. Dual Annealing's acceptance rule depends on the scale of objective values, unlike BOBYQA. No remedy the authors studied removed the drop for G3. For G3, the coefficient of determination after the transformation stayed negative in every feature extraction.

The second kind changes the order of objective values itself, as on unseen functions. The Rubber Ruler Test doesn't cover this kind of shift. The authors also didn't test methods without supervised learning, such as reinforcement learning and large language models.

## Paper info

- **Authors**: Shuhei Tanaka, Shoichiro Tanaka, Toshiharu Hatanaka
- **Venue**: arXiv · Preprint
- **First published**: 2026-11-16
- **Added**: 2026-11-17
- **Updated**: 2026-11-16
- **Version**: v1
- **arXiv**: 2611.20440
- **Category**: cs.NE · cs.LG
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2611.20440v1) · [PDF ↗](https://arxiv.org/pdf/2611.20440v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Abstract

Landscape features give learning models information about the objective function for algorithm selection, algorithm configuration, and performance prediction. Should these features capture more information? Not always, because a model may rely on information that the algorithms ignore. This phenomenon is called shortcut learning, and in-distribution accuracy can hide it. We propose the Rubber Ruler Test. It transforms the objective values of test instances with random strictly increasing transformations, reruns the algorithms, and measures prediction performance. Comparison-based algorithms such as CMA-ES perform identically after the transformation, so for them any drop reveals shortcut learning. On 10-dimensional BBOB, a model for two comparison-based algorithms learned shortcuts even from normalized objective values. The R^2 of a model using all ELA features dropped from 0.85 to 0.23, below 0.45 with invariant features only. Rank-based features reduced the drop when algorithms search using ranks. Data augmentation with transformed training instances improved prediction on transformed instances for every portfolio we studied, but lowered R^2 on original instances by up to 0.31. These results suggest that models should rely only on information that the algorithms use. We recommend reporting the Rubber Ruler Test alongside in-distribution accuracy and using it to choose feature extraction and data augmentation.

## Quote from the paper

Shuhei Tanaka, Shoichiro Tanaka, Toshiharu Hatanaka (2026). Shortcut Learning in Feature-Based Algorithm Selection. arXiv:2611.20440v1. https://arxiv.org/abs/2611.20440v1

**BibTeX**

```
@misc{tanaka2026shortcut,
  title = {{Shortcut Learning in Feature-Based Algorithm Selection}},
  author = {Shuhei Tanaka and Shoichiro Tanaka and Toshiharu Hatanaka},
  year = {2026},
  eprint = {2611.20440},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.20440v1}
}
```

## Other paper commentary

- [Multi-Branch Transformer](https://refivu.com/en/papers/41db7368-f02a-4b93-a29d-688fd514713c-multi-branch-transformer.md)
- [Synthetic Neurosymbolic Task Generation with Controlled Constraint Complexity](https://refivu.com/en/papers/ebe4fa7e-eeaf-4ae2-b493-81d2f69199e5-synthetic-neurosymbolic-task-generation-with-controlled.md)
- [Joint Learning of Factual and Counterfactual Worlds for Causal Prior-data Fitted Networks](https://refivu.com/en/papers/ca05fe75-c727-4e23-8b7e-a0a51814ae5a-joint-learning-of-factual-and-counterfactual-worlds-for.md)
- [Emulating physics-based XCO2 retrievals across OCO-2 viewing modes with compact neural networks](https://refivu.com/en/papers/6eac8a41-4497-46c1-a78e-3b47e416ce0a-emulating-physics-based-xco2-retrievals-across-oco-2.md)
- [ISLA: A Coordinate-Free, Measure-Weighted Transformer for Boundary-Driven PDEs](https://refivu.com/en/papers/cad1a674-b436-4a8f-938b-2889df82d40e-isla-a-coordinate-free-measure-weighted-transformer-for.md)
- [Deep Convolutional Networks on Graph-Structured Data](https://refivu.com/en/papers/b94a76bd-69b6-41d9-9dc2-a50ec07493aa-deep-convolutional-networks-on-graph-structured-data.md)
- [What the Averages Hide: Monocular Metric Depth Models Still Fail in Everyday Scenes, Mostly on Scale](https://refivu.com/en/papers/4bce067b-6e1c-4446-baa6-16ebd019927f-what-the-averages-hide-monocular-metric-depth-models.md)
- [Robotic Reward Models in the Foundation-Model Era](https://refivu.com/en/papers/f14d25d3-45d5-4201-ae47-26e01b31d870-robotic-reward-models-in-the-foundation-model-era.md)
- [Calibrate Once, Grow the Vocabulary: Candidate-Independent Scores for Conformal Risk Control in Open-Vocabulary Segmentation](https://refivu.com/en/papers/89a83156-a9ea-4a00-9143-7f2eeaa2908d-calibrate-once-grow-the-vocabulary-candidate-independent.md)
- [Invariant-Aware Harness Enforcement to Protect LLM Agents from Silent API Failures](https://refivu.com/en/papers/bd28a6a6-5402-4777-8dd7-6c8f089fb4ba-invariant-aware-harness-enforcement-to-protect-llm-agents.md)
- [Settling the Support Complexity of Correlated Equilibria](https://refivu.com/en/papers/005b42e6-9e0d-46d7-826a-ed9dcf407240-settling-the-support-complexity-of-correlated-equilibria.md)
- [DominoBench: Evaluating Multi-Step Physical Reasoning from Still Images](https://refivu.com/en/papers/89ee0cc7-72b5-4fbe-9547-e9d115a60bb0-dominobench-evaluating-multi-step-physical-reasoning-from.md)

## Terms in this paper

- [Concatenation](https://refivu.com/en/terms/0879c0f70f18-concatenation)
- [shortcut learning](https://refivu.com/en/terms/06126519243d-shortcut-learning)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/aa7e77ed-0585-4907-95a2-a75a2656749e-shortcut-learning-in-feature-based-algorithm-selection)
