Search Space (AutoML)
Before an AutoML system can search for anything, somebody has to say what it is allowed to consider. That declaration is the search space: the complete set of candidate configurations — algorithms, their hyperparameters, preprocessing choices, sometimes whole network architectures — with the type and range of every knob written down.
What a space is made of
A search space is a typed, structured object rather than a flat list:
- Dimension types — continuous (learning rate), integer (tree depth), categorical (solver), ordinal (batch size);
- Ranges and scales — learning rates are searched log-uniformly, because the useful resolution is in orders of magnitude;
- Conditionals — a kernel coefficient exists only if the model is an SVM with an RBF kernel, so parts of the space switch on and off;
- Forbidden clauses — invalid or guaranteed-to-crash combinations, excluded so no trial is wasted on them.
The ConfigSpace library exists to express exactly this, and it is how Auto-sklearn declares its roughly hundred-hyperparameter space.
Why it matters in AutoML
The space sets both the ceiling and the difficulty of the search. If the optimum lies outside the declared ranges, no optimiser will find it: the result is bounded by the declaration, not by the algorithm. Make the space too wide and the budget drains into regions nobody would deploy. In practice a carefully bounded space with sensible scales and good defaults beats a sophisticated optimiser turned loose on a careless one — which is why search-space design is where experienced practitioners spend their judgement.
A search space is the set of all candidate configurations an AutoML system is permitted to consider — which algorithms, which hyperparameters, which value ranges, and which combinations are legal. It is declared before the search starts and bounds everything that follows: too narrow a space excludes the best model outright, while too wide a one spends the budget wandering. Every optimiser, from random search to Bayesian methods, only ever explores what this space defines.
Think about house-hunting with an estate agent. Before they show you anything, you set the limits: this many bedrooms, this price range, these neighbourhoods. That list of limits is your search space — every house you could possibly end up with, and nothing outside it.
AutoML software works the same way. Before the computer starts trying out machine-learning models, somebody has to say what it is allowed to try: which kinds of models, and what settings each one may use. Draw the boundary too tightly and the best option never gets shown to you. Draw it too loosely and the computer burns its time looking in silly places.