SMAC3 icon indicating copy to clipboard operation
SMAC3 copied to clipboard

Exhausted ConfigSpace

Open mlindauer opened this issue 8 years ago • 3 comments

If SMAC3 tried all possible configurations in the ConfigSpace (and the target algorithm is deterministic), but the configuration budget is not yet exhausted (e.g., number of function evaluations), SMAC3 will never terminate.

Having an approximation of the configspace size would help to terminate SMAC, if the configspace is exhausted.

Related to this issue, even if the configuration budget is appropriated, it can be hard for SMAC to sample a new configuration which it has not yet run. The SMAC2 solution for this case is to count the number of calls of intensify without adding a new algorithm run in the runhistory. Do we want to also include this check in SMAC3?

I added the example leadingones.py to reproduce these issues.

mlindauer avatar Aug 22 '16 07:08 mlindauer

So, how to solve this problem? I don't know whether we already agreed on something.

I would propose to add a check in Intensifier that if intensifiy was called 10 times in a row without any new algorithm runs, we will terminate SMAC with a message like

Unable to sample new configurations - Exit

What do you think?

mlindauer avatar Aug 31 '16 06:08 mlindauer

without any new algorithm runs

do you mean intensify was called and didn't add a new run to the runhistory?

If the configuration space is finite, we could add some way of enumerating them, and then generating them by their index. This maybe makes sense for spaces up to 10.000 configurations. After that, we maybe want to traverse all possible configurations but only keep a certain number (a total of 10.000).

A related problem: What should we actually do if the space is not finite, but the only continuous parameter is a conditional which is sampled only rarely?

mfeurer avatar Aug 31 '16 13:08 mfeurer

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 18 '22 01:06 stale[bot]

#718

alexandertornede avatar Mar 30 '23 09:03 alexandertornede

Will be addressed in #959, thus this issue is closed.

sarah-segel avatar Apr 06 '23 16:04 sarah-segel