# Hard Instances on Demand

arXiv: https://arxiv.org/abs/2610.22637 · HTML: https://mlsanity.com/paper/2610.22637/

## Key facts

- No citing papers in the map yet (data through 26 Nov 2026).
- Builds on 11 of its 65 references that are in the map.
- Submitted 15 Oct 2026.

## Builds on (most cited first, 11 of 11)

- [Generalization of Neural Combinatorial Solvers Through the Lens of Adversarial Robustness](https://mlsanity.com/paper/2110.10942/) (2021)
- [HardSATGEN: Understanding the Difficulty of Hard SAT Formula Generation and A Strong Structure-Hardness-Aware Baseline](https://mlsanity.com/paper/2302.02104/) (2023)
- [A Framework for Generating Informative Benchmark Instances](https://mlsanity.com/paper/2205.14753/) (2022)
- [Hard to Solve Instances of the Euclidean Traveling Salesman Problem](https://mlsanity.com/paper/1808.02859/) (2018)
- [On the generation of Metric TSP instances with a large integrality gap by branch-and-cut](https://mlsanity.com/paper/2109.02454/) (2021)
- [Benchmarking Problems for Robust Discrete Optimization](https://mlsanity.com/paper/2201.04985/) (2022)
- [Generating Hard Instances for Robust Combinatorial Optimization](https://mlsanity.com/paper/1811.00824/) (2018)
- [HardCore Generation: Generating Hard UNSAT Problems for Data Augmentation](https://mlsanity.com/paper/2409.18778/) (2024)
- [The Art of Being Difficult: Combining Human and AI Strengths to Find Adversarial Instances for Heuristics](https://mlsanity.com/paper/2601.16849/) (2026)
- [EvolveGen: Algorithmic Level Hardware Model Checking Benchmark Generation through Reinforcement Learning](https://mlsanity.com/paper/2602.22609/) (2026)
- [Extending Exact Integrality Gap Computations for the Metric TSP](https://mlsanity.com/paper/2603.12995/) (2026)

## Abstract (arXiv)

The conclusions of an experimental study of algorithms are only as good as the instances they are run on. Benchmark libraries for well-studied problems took decades to curate, while evaluations of new problems often fall back on random instances, which are known to be misleading: they may say more about the random generator than about the algorithmic question at hand. We treat instance generation as an optimization problem: parameterize the instance space, take the solver's running time as the objective, and let a black-box optimizer search for hard instances. We develop a widely applicable workflow built on the Nevergrad optimization platform and demonstrate it on four NP-hard problems: satisfiability, traveling salesperson, Hamiltonian cycle, and non-permutation flow-shop scheduling. The search needs only the solver, an instance encoder, and a compute budget. Our evolved instances beat the hardest instance of a budget-matched random draw in all four case studies, by an order of magnitude or more in three. They are often competitive with long-curated benchmark sets: our SAT champion is harder (for a three-solver portfolio) than 78% of the 498 SAT Competition formulas in its size class; our 20-city TSP champions take several times longer than the hardest measured classical TSPLIB instance (229 cities); and our flow-shop champion takes 238.6 seconds of CP Optimizer time to solve to proven optimality (versus 4.5 seconds for the hardest of 100,000 random draws) while denying CP-SAT an optimality proof. The optimizer even recovers known structure from running time alone: it locates a SAT clause/variable ratio near the phase transition and finds structurally different champions for the two scheduling engines.
