Skip to content

float32 Newton fits stop on the lrate floor near iteration 950 #362

Open

Description

@neuromechanist

Found in epic #324 Phase 15 (#351).

The runs: MLX float32 with Newton, on the full 70-channel ds002718 recording (k about 153). Seed 7 stopped on the lrate floor after 952 of 2000 iterations, at LL -3.698091. The CUDA float64 run from the same start was at -3.697913 at that iteration.

The cause: after about iteration 300, the per-iteration LL changes fall below float32 resolution. Each spurious decrease halves lrate (121 decreases), until the floor ends the fit. #90 recorded the same early stop for CUDA float32.

The result: components match the float64 fit at 0.985 on average, min 0.907. Raw record: .context/issue-351/raw/newton_mlx.

Options:

  • a float32-aware decrease tolerance (a decrease smaller than the LL's float32 resolution does not count);
  • or document the behavior next to the float32 precision notes in docs/guides/backends.md.

Activity

  1. added
    bug
    on Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions