Validation-Free Memorization Auditing and Checkpoint Selection for LoRA Fine-Tuning via Krein Geodesic Curvature
Low-Rank Adaptation (LoRA) fine-tuning of large language models on small or label-noisy datasets poses a fundamental monitoring problem: training loss and predictive entropy converge to zero both when the adapter learns the underlying task rule and when it memorizes corrupted labels. When held-out validation data are unavailable or too scarce to split without degrading training performance, practitioners lack a reliable, scale-invariant signal to distinguish genuine generalization from noisy memorization. This preprint investigates the dimensionless Krein geodesic curvature g3_cL2 = Lambda_- / Lambda_+ — the ratio of negative to positive eigenvalue mass of the double-centered squared geodesic distance matrix computed on the symmetric k-NN union Minimum Spanning Tree (MST) graph of mean-centered, L2-normalized final-layer hidden states across N=200 fixed training probe examples (zero held-out validation data required). Across 21 LoRA fine-tuning runs on Qwen2.5-1.5B-Instruct spanning three benchmarks (Synthetic Parity, AG News 4-class, and out-of-sample SST-2 2-class), multiple label-noise levels (0%–100%), and a 10x learning-rate range (5e-5 to 5e-4), we establish three findings: 1. Cross-task post-convergence memorization auditing: Both final-epoch g3_cL2 (clean <= 0.3957 vs. noisy >= 0.4479, gap +0.0522) and post-convergence slope Delta_g3 (clean in [-0.1218, -0.0401] vs. noisy in [-0.0256, +0.0789]) separate clean generalization from noisy memorization with zero overlap (AUROC = 1.0000, Mann-Whitney p = 1.72e-5), whereas LoRA Frobenius norm collapses across learning rates (AUROC = 0.8125) and linear Shannon effective rank drifts across tasks.2. Validation-free offline checkpoint selection: Selecting argmin g3_cL2 ranks first on all three benchmarks (Synthetic Parity 50% noise: 81.9% matching Oracle; AG News 9-run average: 74.94% raw and 78.06% with dimensionless loss warmup; out-of-sample SST-2 9-run average: 75.33%), outperforming linear representation baselines by +9 to +31 percentage points.3. Honest failure analysis and scope boundaries: Out-of-sample low-learning-rate testing on SST-2 reveals an early "representation reorganization hill" (0.31–0.38 -> 0.43–0.46 -> 0.32–0.39) that causes naive causal online early stopping to fail prematurely (63.39%), establishing offline selection and post-convergence auditing as the reliable operational regimes. We also document a controlled negative result showing that applying g3 to 1D token trajectories within single prompts does not outperform token max_entropy once task confounders are removed. Included files:- Preprint PDF (11 pages, 4 vector figures, 5 tables)- Complete LaTeX source bundle (main.tex + vector PDF figures)- g3_auditor v0.1.0 Python package (MIT License; core numpy/scipy implementation, PyTorch/HuggingFace TrainerCallback, CLI auditor, and unit tests)
Authors
- Shoji Fujita
Publication Details
- Journal
- Figshare
- Published
- 2026-11-27
- DOI
- https://doi.org/10.6084/m9.figshare.35137297
- Primary Topic
- Topic Modeling
- Type
- preprint