SyncAI.news, a Varaisys broadcasting
Bayesian Optimization for Hyperparameters Tuning in Neural Networks
GO

Gabriele Onorato, Giampaolo Liuzzi

· 1 min read

ResearcharXiv cs.AI

Bayesian Optimization for Hyperparameters Tuning in Neural Networks

arXiv:2410.21886v2 Announce Type: replace-cross Abstract: While neural network performance depends on integer hyperparameters like layer widths, depth, and batch size, finding good configurations is costly since every evaluation requires a full training run. Bayesian Optimization (BO) with a Gaussian Process (GP) surrogate is commonly used for such expensive, black-box, non-differentiable objectives. Often, integer hyperparameters are relaxed to real numbers and rounded at the acquisition optimum. However, this Relax-and-Round (RR) strategy can re-propose already-evaluated configurations, wasting training runs. We study when RR actually hurts and what its alternatives cost, comparing eight integer-handling variants in Ax/BoTorch (seven sharing one surrogate) with seven Hyperparameter Optimization (HPO) baselines across 36 synthetic tasks, 20 tabular neural network HPO benchmarks, and a CIFAR-10 Convolutional Neural Network (CNN), totaling ~31,000 paired runs. Our experiments show that: (1) RR barely changes final regret but delays search by about four evaluations because the relaxed acquisition often peaks inside an evaluated point's cell, and neither Ax's native deduplication nor replacing proposals with the best unobserved neighbor (on 2D tasks) removes this delay; (2) RR wastes up to 49% of trials on coarse grids and 63% under exploitative acquisitions, primarily from failing to exclude observed points, with rounding adding up to ~7 percentage points; and (3) GP lengthscales modulate this waste, though fixing or bounding them does not eliminate it. We also identify duplicates at boundary optima of mixed spaces, which only excluding observed points avoids. Finally, on CIFAR-10, all methods finish within 0.35 percentage points of test accuracy (comparable to seed noise). Thus, optimizing the acquisition over the grid avoids the delay, and excluding observed points eliminates waste at no cost in regret.

Original source

This story was published by arXiv cs.AI and written by Gabriele Onorato, Giampaolo Liuzzi. SyncAI.news shows a preview; the complete article is on the publisher's site.

Read the full story on arxiv.org

Similar News