Skip to content
プロジェクト

概要

🌹 Rose: Range-Of-Slice Equilibration PyTorch optimizer. Stateless optimization through range-normalized gradient updates.

AI・機械学習

この数値の測り方

できること

  • Stateless - Requires no momentum buffers, running variance estimates, or other persistent optimizer states. Memory requirements are comparable to standard SGD.
  • Accuracy and convergence - Rose generally matches or exceeds AdamW in accuracy and convergence. If you're comparing the two, please tune the learning rate separately for each.
  • Bounded updates - Each normalized element is constrained to the interval $[-1, 1]$, so the gradient contribution is bounded by the effective step size in exact arithmetic. Decay and write-back rounding are separate.
  • Upward-only stabilization - Noisy slice divisors can be lifted toward the cross-slice mean, but large divisors are never lowered; stabilization can only damp an update, never amplify one.

計測したスター増加

24時間
0
7日間
+1
15日間
+1
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

Rose

Range-Of-Slice Equilibration v2.0.0
PyTorch Optimizer

Stateless optimization through range-normalized gradient updates.

In loving memory of my mother, Rose Kieren.

PyPI Python 3.10+ License
Github Sponsors PayPal


📑 Table of Contents


📰 News

2026-12-03 [v2.0.0] — Major rework: zero-inclusive per-slice ranges, upward-only range stabilization, sign fallback for single-element slices, automatic step-size compensation for slice-heavy tensors, exponential weight decay, and a table-based bf16_sr that makes a single random draw per tensor.
2026-04-26 [v1.0.2] — PyPI support, change to from rose_opt import Rose
2026-04-19 [v1.0.1] — Misc refinements to algorithm and docs
2026-04-17 [v1.0.0] — Initial public release

🌹 Introduction

Most adaptive optimizers (e.g., Adam, RMSprop, and their many variants) accumulate running statistics for every parameter such as first- or second-moment estimates (sometimes both). These buffers can double or triple the memory footprint of a model's parameters and introduce temporal entanglements (bias correction, momentum decay, sensitivity to $\beta$ schedules) that make training dynamics harder to reason about.

Rose asks a simple question: How much can you accomplish with just the gradient you have right now?

The answer is Rose's central mechanism: instantaneous per-slice range equilibration. Instead of maintaining historical moment buffers, Rose measures the dynamic range of each multi-element slice of the current gradient and uses it to scale that slice. The range spans the working slice together with zero, so every normalized element lands in $[-1, 1]$. That bounds the gradient contribution by the effective step size with no history or running variance estimates.

A small set of refinements sits around that core:

  • Gradient centralization subtracts each slice's mean before normalization (rank ≥ 2, multi-element slices only).
  • Upward-only range stabilization lifts small divisors towards the cross-slice mean.
  • Sign fallback gives single-element slices (scalars, single-element vectors, and degenerate higher-rank slices) a classical signSGD step.
  • Slice-count compensation scales the step size up when a tensor has more slices than last-dimension width.
  • Decoupled exponential weight decay, optionally coupled to the learning-rate schedule.
  • BF16 stochastic rounding with exact carry probabilities, driven by a single random draw per tensor.

Memory cost is parameters + gradients + working memory, without a second or third set of model-sized buffers.

📦 Installation

pip install rose-opt

or the current source, straight from the repository:

pip install git+https://github.com/MatthewK78/Rose

Usage:

from rose_opt import Rose

optimizer = Rose(params, lr=1e-4)

Requires Python ≥ 3.10 and PyTorch ≥ 2.0

✨ Features

Feature Detail
Stateless Requires no momentum buffers, running variance estimates, or other persistent optimizer states. Memory requirements are comparable to standard SGD.
Accuracy and convergence Rose generally matches or exceeds AdamW in accuracy and convergence. If you're comparing the two, please tune the learning rate separately for each.
Bounded updates Each normalized element is constrained to the interval $[-1, 1]$, so the gradient contribution is bounded by the effective step size in exact arithmetic. Decay and write-back rounding are separate.
Upward-only stabilization Noisy slice divisors can be lifted toward the cross-slice mean, but large divisors are never lowered; stabilization can only damp an update, never amplify one.
Sign fallback Single-element slices (scalars, single-element vectors, and shapes whose non-leading dimensions are all size 1) take a plain signSGD step: constant magnitude for a nonzero gradient, zero for a zero gradient.
Slice-count compensation When the number of slices exceeds the last-dimension width, the step size is automatically scaled up by the square root of the ratio.
Gradient centralization Removes the per-slice mean before normalization for gradients of rank ≥ 2 with multi-element slices, so the gradient step can change the weights within a slice without shifting their mean in exact arithmetic.
Exponential weight decay Decoupled decay $\theta \leftarrow \theta, e^{-\eta \lambda}$ applied before each gradient update, with an optional schedule coupling that fades decay as the learning rate drops.
BF16 stochastic rounding FP32→BF16 write-back with exact per-element carry probabilities; one random draw per updated BF16 tensor and a cached golden-ratio offset table, instead of a draw for every weight.
Configurable compute precision The update runs in FP32 by default; FP64, FP16, BF16, or the parameter's native dtype are also supported.

🔬 Method

Consider a linear layer with weight matrix $W \in \mathbb{R}^{m \times n}$. Its gradient $G$ has the same shape: $m$ rows, one per output neuron. To build one divisor per multi-element output slice, Rose consults only that tensor's current gradient; no other tensor in the model, no history of past gradients.

The per-slice divisor

For a gradient $g$ of rank two or higher, each g[i, …] is one slice. For a multi-element slice, let $g_c$ be the working gradient after optional centralization, $M_i = \max, g_c[i, \dots]$, and $m_i = \min, g_c[i, \dots]$. Rose starts with a zero-inclusive range:

$$ D_i = \max(0, M_i) - \min(0, m_i) $$

If the slice straddles zero this is the ordinary full range $M_i - m_i$; if the slice lands entirely on one side of zero it is the largest magnitude inside the slice. A rank-1 vector is treated as a single slice: if it has more than one element, one divisor is shared over its whole extent.

The divisor has a useful property: $D_i \ge \max |g_c[i, \dots]|$, so every element of the normalized slice lands in $[-1, 1]$ in exact arithmetic. Does the farthest element always land at $\pm 1$? For a nonzero, one-sided slice, yes, unless stabilization increases its divisor. But take the vector [-2, 3]: the divisor is 5, so it becomes [-0.4, 0.6]. Neither end reaches $\pm 1$, but the span is exactly one. For a matrix or higher-rank tensor, stabilization can shrink a slice's span further.

The gradient update for a multi-element slice $i$ is

$$ \theta[i, \dots] \mathrel{-}= \eta_{\text{eff}} \cdot \frac{g_c[i, \dots]}{\widehat D_i} $$

where $\widehat D_i$ is the divisor after stabilization (if enabled) and the zero guard, and $\eta_{\text{eff}}$ is the step size after slice-count compensation. The gradient arithmetic runs on a working copy, so your gradient tensors are left alone.

The pipeline

Per parameter, in order:

  1. A contiguous working copy of the gradient is made in the dtype selected by compute_dtype.
  2. Slice-count compensation: if the gradient has rank ≥ 2 and the number of leading slices $m$ exceeds the last-dimension width $w$, the step size becomes $\eta_{\text{eff}} = \eta \sqrt{m / w}$. Here $w$ is just the last dimension, not the total number of elements in a slice.
  3. Decay (optional): use the group learning rate $\eta$, not $\eta_{\text{eff}}$, to decay the parameter before the gradient step (see weight_decay and wd_schedule).
  4. Centralization (optional, rank ≥ 2): the slice mean is subtracted from the working copy, along all axes other than the leading one.
  5. Range: $D_i$ is computed as above for each slice.
  6. Stabilization (optional, rank ≥ 2): small divisors are lifted toward the cross-slice mean; large divisors are left alone (see stabilize).
  7. Zero guard: a divisor that is still exactly zero is replaced by $1$. An all-zero working slice still contributes zero, the guard just keeps the division well-defined.

A slice with only one element such as a 0-d scalar, a single-element vector, or any shape whose non-leading dimensions are all size 1, skips steps 4-7 (no centralization, no division) and instead takes a classical signSGD step

$$ \theta \mathrel{-}= \eta_{\text{eff}},\mathrm{sign}(g) $$

ℹ️ The full step, line by line
for group in param_groups:
    lambda_eff = weight_decay or 0
    if wd_schedule and lr_ref > 0:
        lambda_eff *= lr / lr_ref
    decay = e**(-lr * lambda_eff)                     # group LR, not the compensated LR
    for p in group["params"]:
        if p.grad is None or p.numel() == 0:
            continue
        g = contiguous copy of p.grad in the working dtype
        q = p in the working dtype                    # may be p itself
        eta = lr
        if rank(g) >= 2 and g.shape[0] > g.shape[-1]:
            eta *= sqrt(g.shape[0] / g.shape[-1])
        if weight_decay:
            q *= decay
        if each slice has one element:
            q -= eta * sign(g)                        # signSGD fallback
        else:                                         # a vector is one whole slice
            if centralize and rank(g) >= 2:
                g -= per_slice_mean(g)
            D = max(0, per_slice_max(g)) - min(0, per_slice_min(g))
            if stabilize and rank(g) >= 2:
                mu, sigma = mean(D), population_std(D)
                tau = mu / (mu + sigma) if mu > 0 else 0
                D = max(D, (1 - tau) * D + tau * mu)
            D = where(D == 0, 1, D)                   # zero guard
            q -= eta * g / D
        p <- q                                        # ordinary write-back, or BF16 SR

Notes:

  • lr_ref is the reference learning rate of the active wd_schedule (see the Hyperparameters section).
  • The copy in step 1 is deliberate: centralization and the range arithmetic write in place, but only on the copy. p.grad is always left exactly as the backward pass produced it.
  • Parameters with no gradient, or with zero elements, are skipped.
  • For a slice whose gradient is all zero, the gradient contribution is zero regardless of the divisor. The parameter can still change through decay or dtype conversion.
ℹ️ Why a range, and why zero-inclusive?

Range versus variance. A running second-moment estimate answers "how energetic is this slice?" by averaging over time. A range answers "how wide is this slice?" from just two order statistics of the gradient you already have. Both tell you something about scale, but range gets its answer in one step and from a single tensor; nothing to warm up, no bias correction, and a scale factor that directly normalizes the slice's dynamic range.

The zero anchor. Because the divisor spans the slice together with the origin, $D_i \ge \max |g_c[i, \dots]|$. In exact arithmetic the normalized gradient can't push an element past $\pm 1$, so its contribution to the step is bounded by $\eta_{\text{eff}}$. It also treats both signs symmetrically: a slice of all-negative values gets the same kind of divisor as an all-positive one.

ℹ️ Rose and Muon

Muon equilibrates singular values across matrix directions, Rose equilibrates ranges across output slices.

Rose is similar to Muon in broad philosophy, but not in mechanism. Both reduce dependence on the gradient's raw absolute scale while retaining structured directional information, leaving the learning rate to set the overall update scale.

Muon acts spectrally on a matrix update (normally a momentum update) approximately flattening its singular values while retaining its singular-vector structure. Rose instead acts on the current gradient along fixed tensor axes by dividing each leading-axis slice by its zero-inclusive range.

Rose is not a cheaper approximation to Muon's orthogonalization. It is a distinct, simpler, axis-aligned form of instantaneous scale equilibration.

ℹ️ Gradient clipping

It is recommended to disable gradient clipping. Rose already bounds every element of the normalized gradient contribution by the effective step size. This includes the signSGD fallback for singleton slices. Weight decay and write-back rounding remain separate from this bound.

Ordinary global-norm clipping multiplies finite gradients by a common positive scalar. Rose's normalized update is invariant to that rescaling in exact arithmetic, so clipping generally adds work without controlling the resulting update. Value clipping can be detrimental because it changes the relative values within a slice, while aggressive norm clipping can cause loss of precision or underflow before Rose performs its normalization.

If clipping was added only for training stability, disable it and control update size through lr. Retain separate non-finite checks or AMP overflow handling since Rose does not sanitize NaN or infinity. Clipping may still be appropriate when it's an intentional part of another algorithm, such as per-example clipping for differential privacy.

🎛️ Hyperparameters

lr: Learning Rate

The group's base step size. Because this optimizer uses range-based normalization rather than RMS-based normalization, the same lr value can correspond to very different absolute update sizes than it would in Adam or other optimizers. Tune lr independently rather than relying on the usual Adam defaults.

Rose also adapts the effective step size on the fly: for a tensor with more leading slices than last-dimension width, the effective step size is scaled up by $\sqrt{m/w}$ (see the Method section). For example, (4,) uses one range at the base learning rate, but (4, 1) takes four sign steps at twice that rate. This is built in and needs no configuration.

Rose(params, lr=1e-4)

weight_decay: Exponential Weight Decay

Default 1e-3
Disable 0, False, or None

A decoupled weight-decay strength, applied multiplicatively before each update:

$$ \theta \mathrel{\leftarrow} \theta ; e^{-\eta_t \lambda} $$

For finite, nonnegative $\eta_t$ and $\lambda$, the mathematical factor lands in $(0, 1]$: decay alone won't flip a weight's sign. A large $\eta_t \lambda$ can still shrink a weight almost to zero, or all the way to zero through floating-point underflow. The decay is fully decoupled from the gradient step, in the spirit of AdamW.

Rose(params, lr=1e-4, weight_decay=1e-3)  # default
Rose(params, lr=1e-4, weight_decay=0)     # disabled

wd_schedule: Schedule-Coupled Weight Decay

Default None (coupling off)
Requires a positive weight_decay, the constructor rejects a truthy wd_schedule when decay is disabled

Couples the decay to the learning-rate schedule so that decay backs off more quickly as the schedule lowers $\eta_t$. With a positive reference, the decay coefficient is scaled by the ratio of the current learning rate to a reference $\eta_{\text{ref}}$, and the per-step factor becomes

$$ e^{-\lambda , \eta_t \cdot \frac{\eta_t}{\eta_{\text{ref}}}} ;=; e^{-\lambda , \eta_t^{2} / \eta_{\text{ref}}} $$

so that late-training decay fades quadratically with the schedule.

Value Behavior
None / False Plain exponential decay, $e^{-\eta_t \lambda}$.
True $\eta_{\text{ref}}$ is the group's max_lr if present, otherwise the group's initial_lr. Rose fills in a missing initial_lr from the current group learning rate on first use, even if max_lr is present. You may also set either key yourself before training.
float A positive float is used directly as $\eta_{\text{ref}}$. A zero or negative float leaves plain exponential decay in effect.

Starting warmup at zero? Give Rose a positive reference up front. With wd_schedule=True, the first step() can record initial_lr=0 even if no parameter has a gradient yet; a nonpositive reference leaves coupling off.

Rose(params, lr=1e-4, weight_decay=1e-3, wd_schedule=True)      # auto reference
Rose(params, lr=1e-4, weight_decay=1e-3, wd_schedule=1e-3)      # explicit reference

centralize: Gradient Centralization

Default True

Subtracts the mean of each slice along all axes other than the leading one from the working gradient before the range is computed and before the division. Applies to gradients of rank ≥ 2 whose slices contain more than one element; singleton slices and rank-1 vectors are never centralized.

Because the same divisor scales the whole centered slice, the gradient contribution sums to zero in exact arithmetic: it can change the differences within the slice without shifting its mean.

Rose(params, lr=1e-4, centralize=True)   # default
Rose(params, lr=1e-4, centralize=False)  # disabled

stabilize: Upward-Only Range Stabilization

Default True

Measures how self-consistent the per-slice divisors are and uses that to floor small divisors, never to cap large ones. Let $\mu$ and $\sigma$ be the mean and population standard deviation of the per-slice divisors, and $\text{CV} = \sigma / \mu$ their coefficient of variation. The blend weight is

$$ \tau = \frac{\mu}{\mu + \sigma} = \frac{1}{1 + \text{CV}} \qquad (\tau = 0 \text{ when } \mu = 0) $$

and each divisor is blended toward the cross-slice mean, with the blend kept only when it is larger than the original:

$$ D_i \mathrel{\leftarrow} \max\big(D_i,; (1 - \tau) D_i + \tau \mu\big) $$

  • Consistent ranges (low CV, $\tau \to 1$) → small divisors are pulled up toward the mean.
  • Scattered ranges (high CV, $\tau \to 0$) → the blend puts less weight on the mean.
  • Large divisors → never reduced, for any $\tau$.

The practical effect is a soft floor: a slice with an unusually small range gets a gentler update, while slices at or above the mean keep their local detail. Because a divisor can only grow, stabilization can only damp an update, never amplify it.

Rose(params, lr=1e-4, stabilize=True)   # default
Rose(params, lr=1e-4, stabilize=False)  # raw per-slice ranges only

bf16_sr: BFloat16 Stochastic Rounding

Default True

When a parameter is stored in BFloat16, Rose performs the update in FP32 by default and writes the result back with stochastic rounding. The low 16 bits decide the odds of a carry, so even a step smaller than the gap between two BF16 weights has a chance to land. For an FP32 value between two finite BF16 neighbors, the expected write-back equals that FP32 value. If you choose another working dtype, Rose converts the result to FP32 first. Only BF16 parameters take this write-back path.

bf16_sr is incompatible with a compute_dtype of bf16 or fp16.

Value Effect
False / None Stochastic rounding disabled. With default FP32 compute, write-back uses the ordinary round-to-nearest cast. With native compute (compute_dtype=None), the working tensors are BF16 instead.
True Enabled, using the default random-number generator.
torch.Generator Enabled, using that generator; it must live on the same device as the BF16 parameters it will round (validated at construction). Useful for reproducible rounding noise.
Rose(params, lr=1e-4, bf16_sr=True)   # default
Rose(params, lr=1e-4, bf16_sr=False)  # plain round-to-nearest cast

generator = torch.Generator(device="cuda").manual_seed(0xd1ce)
Rose(params, lr=1e-4, bf16_sr=generator)
ℹ️ How the rounding table works:

Naive stochastic rounding would draw one uniform random number per element, per step. Rose makes one draw per tensor instead:

  1. One draw, per tensor. A single random phase $\rho \in [0, 2^{16})$ is drawn from the chosen generator, once per updated BF16 tensor, regardless of how many elements the tensor holds.
  2. A golden-ratio offset table. Precomputed offsets walk through all $2^{16} = 65{,}536$ possible 16-bit values with stride $25033 \approx 65536 / \varphi^{2}$ (where $\varphi$ is the golden ratio), masked back into 16 bits. Any odd stride visits every offset exactly once per full block; the golden-ratio stride (equivalently, stepping backward by $40503 \approx 65536 / \varphi$) is preferred because short runs of offsets, such as a tensor's tail, are spread across the whole range instead of clustering in one corner. The table and its scratch space are cached per device and reused across steps.
  3. Exact carry probabilities. Add the offset to the FP32 bit pattern, then keep the high word. If the low word is $f$, exactly $f$ of the $65{,}536$ possible offsets cause a carry, so its probability is exactly $f / 2^{16}$. The random phase makes each element's offset uniform (though not independent of its neighbors').
  4. Bounded mean error. Round the same FP32 tensor repeatedly with fresh phases. Every element's carry event is a circular interval of the same draw, so the largest error in mean carry rate is bounded by twice the discrepancy of the empirical phase CDF from discrete uniform. That's a bound in units of local BF16 spacing for this fixed-input, not a bound on error over a training run.

Full blocks of $65{,}536$ elements receive every offset exactly once, and the shorter tail reuses the prefix of the next window. The high-word selection assumes little-endian storage. Unbiasedness doesn't cover NaN payloads or overflow to infinity. Scratch reuse assumes updates on a device are stream-ordered, and the per-device cache is reset whenever optimizer state is restored from a checkpoint.


compute_dtype: Internal Compute Precision

Default fp32

The dtype in which the parameter update is computed. Parameters and gradients are converted to this dtype, the update runs there, and the result is cast back on write-back (stochastically rounded for BF16 parameters when bf16_sr is enabled).

Value Effect
fp32 Default. Fast and accurate for the range and division arithmetic.
fp64 Extra mantissa bits for the range/division step, often at a speed cost.
bf16 or fp16 Lower precision, not recommended. Set bf16_sr=False or None. Enabling bf16_sr alongside BF16/FP16 compute raises an error.
None No promotion, compute in each parameter's native dtype, except that BF16 parameters are always updated in FP32 when bf16_sr is enabled.

Strings are case-insensitive. Accepted aliases are float16, fp16, bfloat16, bf16, float32, fp32, float64, fp64, none, null, and false, in addition to torch.dtype objects or None. The string "false" is an alias, the boolean False is not.

Rose(params, lr=1e-4, compute_dtype="fp32")          # default
Rose(params, lr=1e-4, compute_dtype=torch.float64)   # extra precision
Rose(params, lr=1e-4, compute_dtype=None)            # native dtype

🔗 Requirements and Compatibility

Python ≥ 3.10
PyTorch ≥ 2.0; dtype support depends on the build and device
Parameters writable, dense, strided, non-meta, non-nested, real floating-point
Gradients dense, strided, non-nested; sparse or nested gradients are rejected at step time
ℹ️ Validation, edge cases, and state handling:

Constructor and group validation. Every parameter group (including groups added later with add_param_group, which are removed again if validation fails) is checked when it is added:

Condition Result
lr < 0 ValueError: Invalid learning rate: …
weight_decay < 0 ValueError: Invalid weight_decay: …
truthy wd_schedule with decay disabled ValueError: wd_schedule requires a positive weight_decay
bf16_sr enabled with compute_dtype="bf16" ValueError: incompatible combination
non-float parameter (e.g., an integer or complex tensor) ValueError: Rose requires real floating-point parameters
meta, non-strided, or nested parameter RuntimeError: Rose requires non-meta, dense, strided parameters
native mode (compute_dtype=None) with a real floating-point dtype outside fp16/bf16/fp32/fp64 ValueError: Rose requires an explicit compute_dtype for ...
bf16_sr generator on a different device than the BF16 parameters ValueError naming both devices
unsupported wd_schedule, centralize, stabilize, bf16_sr, or compute_dtype option TypeError or ValueError

These checks don't catch everything. Use finite, nonnegative values for lr and weight_decay. Finiteness and scheduler-supplied reference values aren't checked, and editing a group later doesn't re-run validation.

At step time, parameters without a gradient and parameters with zero elements are skipped. Gradient tensors are never modified; Rose reads p.grad and updates p in place, all range and centralization arithmetic happening on a working copy. The zero guard handles zero divisors, not NaNs or floating-point overflow.

Memory and state. Rose keeps no per-parameter history: no momentum, no second moments. A step still needs a gradient copy, a working parameter copy when the dtypes differ, and space for reductions or write-back. The per-device bf16_sr cache holds two int32 tables and a phase scalar; it grows as needed and is reset on restore.

💖 Acknowledgements

This optimizer is named in loving memory of my mother, Rose Kieren, who always listened intently with genuine interest as I rambled about AI and computers, and whose unconditional love and presence through both the best and hardest of times made all of this possible.

I am deeply grateful to my late father for always taking an interest in my exploration of technology, and for the encouragement and warmth he brought to every conversation.

To my wife, for her extraordinary patience through the countless days and nights I've spent absorbed in programming and research, and for her unwavering intellectual and emotional support.

To my son, a source of joy, perspective, and inspiration, whose curiosity and bright spirit remind me why building for the future matters.

As an independent researcher, I am grateful for the love and support of all of my family and friends. This work would not have been possible without them.

😊 A Kind Request

If you use Rose in your research, project, or product, I would be grateful if you would mention it by name and credit its author, Matthew E. Kieren. A citation (see below), a footnote, a line in your README; any acknowledgment, however small, helps motivate me to do more. And if you have a moment, I would love to hear your story.

If you'd like to support my ongoing development efforts of this project and others, you can send a donation here on GitHub, or through PayPal.

Your acknowledgment and support are sincerely appreciated! 😊

📄 Citation

@software{kieren2026rose,
  author       = {Kieren, Matthew E.},
  title        = {Rose: Range-Of-Slice Equilibration optimizer},
  year         = {2026},
  publisher    = {Zenodo},
  doi          = {10.5281/zenodo.19589764},
  url          = {https://doi.org/10.5281/zenodo.19589764}
}

📚 References

1 Kingma, D. P. & Ba, J. (2014), Adam: A Method for Stochastic Optimization. arXiv:1412.6980

2 Loshchilov, I. & Hutter, F. (2017), Decoupled Weight Decay Regularization. arXiv:1711.05101

3 Hazan, E., Levy, K. Y., & Shalev-Shwartz, S. (2015), Beyond Convexity: Stochastic Quasi-Convex Optimization. arXiv:1507.02030

4 You, Y., Gitman, I., & Ginsburg, B. (2017), Large Batch Training of Convolutional Networks. arXiv:1708.03888

5 Yu, A. W., Huang, L., Lin, Q., Salakhutdinov, R., & Carbonell, J. (2017), Block-Normalized Gradient Method: An Empirical Study for Training Deep Neural Network. arXiv:1707.04822

6 Bernstein, J., Wang, Y. X., Azizzadenesheli, K., & Anandkumar, A. (2018), signSGD: Compressed Optimisation for Non-Convex Problems. arXiv:1802.04434

7 Yong, H., Huang, J., Hua, X. & Zhang, L. (2020), Gradient Centralization: A New Optimization Technique for Deep Neural Networks. arXiv:2004.01461

8 Zamirai, P., Zhang, J., Aberger, C. R. & De Sa, C. (2020), Revisiting BFloat16 Training. arXiv:2010.06192

9 Nerogar (2024), comment on "Stochastic rounding in bfloat16": github.com/pytorch/pytorch/issues/120376

10 Connolly, M. P., Higham, N. J., & Mary, T. (2021), Stochastic Rounding and Its Probabilistic Backward Error Analysis. SIAM Journal on Scientific Computing, 43(1), A566-A585: epubs.siam.org/doi/10.1137/20M1334796

11 Warner, B. (2024), Fully Decoupled Weight Decay: optimi.benjaminwarner.dev/fully_decoupled_weight_decay

12 Jordan, K., Jin, Y., Boza, V., Jiacheng, Y., Cesista, F., Newhouse, L., & Bernstein, J. (2024), Muon: An optimizer for hidden layers in neural networks. Keller Jordan blog: kellerjordan.github.io/posts/muon

⚖️ License

Copyright © 2026 Matthew Everet Kieren

Licensed under the Apache License, Version 2.0. You may use, modify, and distribute this software in accordance with the license. See LICENSE for the full text.


関連プロジェクトを探す

読み込み中…