DEHB icon indicating copy to clipboard operation
DEHB copied to clipboard

Hyperband bracket generation is inconsistent with the original Hyperband paper

Open nabenabe0928 opened this issue 1 year ago • 1 comments

The DEHB paper says that each SH bracket samples $n = \lceil \frac{s_{\max} + 1}{s + 1} \eta^s \rceil$ configurations; however, this line samples $n = \lfloor\lfloor \frac{s_{\max} + 1}{s + 1} \rfloor \eta^s\rfloor$ configurations. In reality, this line should be:

n0 = int(np.ceil(self.max_SH_iter / (s + 1) * self.eta ** s))

Note that self.max_SH_iter is $s_{\max} + 1$.

nabenabe0928 avatar Apr 18 '23 18:04 nabenabe0928

Hi

The implementation details were verified and cross-checked by the then official implementation of HyperBand as seen here. Therefore, in our experiments, the comparison of DEHB with HB and BOHB is much fairer as one can see that during the first HB iteration, all 3 algorithms perform similarly.

Neeratyoy avatar Apr 19 '23 09:04 Neeratyoy