Manuscript Offprint

arXiv:2609.08069

BrachistoneLR: A Brachistochrone-Inspired Learning-Rate Schedule and a Controlled Benchmark of Scheduling Policies

Md. Sadekur Rahman Roni, Md. Jalal uddin Chowdhury, Moutusi Dash Nimi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Md. Sadekur Rahman Roni

Department of Computer Science and Engineering Leading University Sylhet, Bangladesh

SADEKUR_CSE@LUS.AC.BD

Md. Jalal uddin Chowdhury

DeepNet Research and Development Lab Sylhet 3100, Bangladesh

JALAL_CSE@LUS.AC.BD

Moutusi Dash Nimi

Department of Electrical and Electronic Engineering Leading University Sylhet, Bangladesh

MOU07NIMI@GMAIL.COM

Abstract

The learning-rate schedule is a consequential choice in training deep networks, yet the policies in common use are heuristic and published comparisons are hard to read, because architecture, dataset and budget tend to vary alongside the schedule. We study BrachistoneLR, a schedule built by mapping the vertical coordinate of the brachistochrone, the curve of fastest descent under gravity, onto the range between a peak and a floor rate. Expanding the definition shows it to be cosine annealing with the half-period set to E−1E-1 instead of EE, the configuration a standard implementation gives when its period argument is one less than the number of epochs. The rate therefore reaches its floor at the last epoch trained rather than one epoch later, and we show this difference decays as E−2E^{-2}, making it a short-horizon effect. We then benchmark six schedules over 72 runs on three image-classification datasets (MNIST, Fashion-MNIST, CIFAR-10) and four architecture families (fully connected, convolutional, recurrent, residual), fixing the optimizer, data pipeline and evaluation protocol so that only the schedule varies. Schedules that fall smoothly from peak to floor beat the constant rate and calendar-based decay by margins that grow with task difficulty, reaching 2.5 points of dataset mean on CIFAR-10. Within that leading group, BrachistoneLR, cosine annealing and warmup-cosine lie within 0.06 accuracy points and 0.17 of a mean rank, which one seed per configuration cannot separate. BrachistoneLR is best on both residual networks and has the highest CIFAR-10 mean, and it sets no milestones, decay factor, warmup length or restart period. We conclude that the shape of a schedule matters more than its parameterization, that the choice of whether to use a smooth schedule matters more than the choice among them, and that the terminal-rate distinction is worth attention only over short horizons.

Keywords: learning rate scheduling, deep learning optimization, cosine annealing, image classification, empirical benchmark

1 Introduction

The learning rate is usually the first hyperparameter a practitioner tunes and often the one that matters most (Goodfellow et al., 2016). Its initial value is only part of the story:

the rule by which it is varied during training affects both how quickly optimization escapes a poor initialization and how well the resulting solution generalizes. A large rate early helps the iterates leave regions of high loss, while a small rate late is what makes the final approach to a minimum stable, and any useful schedule has to reconcile these two requirements (Loshchilov and Hutter, 2017; Smith, 2017).

The policies in common use reconcile them in different ways. A constant rate is the simplest choice but leaves late-training refinement entirely to the optimizer. Step and exponential decay reduce the rate on a fixed calendar and oblige the user to choose milestones or a decay factor. Cosine annealing follows a half-cosine from a peak to a floor and has become a strong default (Loshchilov and Hutter, 2017), and warmup-cosine prepends a short linear ramp that stabilizes the first updates of large or deep models (Goyal et al., 2017). Because these policies differ both in shape and in the number of quantities they expose, and because published comparisons are drawn from experiments that vary architecture, dataset and budget at the same time, it is difficult to attribute any reported difference to the schedule itself.

We do three things in this paper. We introduce BrachistoneLR, a schedule whose shape is taken from the brachistochrone, the classical curve of fastest descent. We then characterize its relationship to cosine annealing exactly, and the characterization is deflationary: BrachistoneLR is not a new family of schedules but a particular choice of period within an existing one, obtainable in any standard library by setting the cosine period to E−1E-1. We state this at the outset because it determines what the rest of the paper can and cannot claim. Finally we report a benchmark of six schedules over four architectures and three datasets (72 runs) under a single fixed protocol, so that the schedule is the only thing that changes from run to run. The value of the paper lies in the second and third of these rather than the first: a closed-form account of what the period choice does, and controlled evidence on how much the choice of schedule is worth in the first place.

References (19)