LOGO — Long cOntext aliGnment via efficient preference Optimization
ELVIA analysis
Independent review pending
An exact bounded-probability counterexample invalidates the generalization bound used to justify LOGO theoretically. Independent derivative and finite-tail calculations establish the defect while leaving the reported empirical improvements unrefuted. Static inspection also identifies a two-negative slicing error in the archived training release and a written SFT sign discrepancy. Historical experimental consequences of the code issue are unresolved. Scientific adjudication remains pending.
Problem 1. False generalization probability bound
MajorEvidence and reasoning
Problem statement
Inspection subject recorded in the report
Exact finite-tail calculation and analytic derivative.
Fixed model; finite four-response space; lengths1; probability floor Independent sample from explicitly specified two-input population. Operative assumptions: Four one-token responses, two rejected responses, fixed singleton model class, two-input iid population with probabilities Both response vectors normalize and all entries satisfy the floor. No condition requires preferred responses to have larger model probability.
Proof
The asserted Lipschitz constants and resulting generalization probability bound are invalid, including on a finite, bounded-probability example with a fixed model and independent samples.
Step on page 15 calls -Lipschitz and displays for every real In fact this derivative magnitude exceeds whenever and approaches one as The globally valid Lipschitz constant is one. The constant is associated with the sigmoid derivative, not its negative logarithm. This is not a harmless label: page 16 uses in
Here is a fully specified counterexample to this displayed bound. Set and all response lengths to one. There are two possible inputs The four response probabilities, in the order preferred, rejected rejected remaining, are These are normalized strictly positive distributions and every probability is at least Thus satisfies the assumption on this response space. One can take the parameter space to consist of this single fixed model, so there is no adaptive-training issue in the counterexample. The preferred/rejected labels need not coincide with the model’s probability ranking. The resulting scores are
Let the data distribution give probabilities and to these two tuples, respectively, and take The losses are and with range The maximum score replacement difference is one, so the paper’s choice is For observing gives observing gives absolute deviation Hence the exact two-sided tail probability is whereas the displayed formula gives An independently written script checks normalization, the probability floor, both outcomes and the numerical inequality. No simulation or author code is involved. The claim is a general bound for all one admissible suffices to disprove it. This does not imply that the experiments at their much larger training sample size have poor generalization.
There is a separate normalization problem. For a fixed model with loss range changing one sample changes the empirical mean by at most Bounded differences then gives If instead denotes the change in the unaveraged example loss, the numerator in the paper’s form requires not Indeed, with its own constant the printed exponent is independent of contrary to the stated tightening with increasing sample size.
Replacing the constants and normalization proves a fixed-model concentration statement only. A trained parameter depending on these same samples additionally needs an appropriate uniform-complexity or stability argument. None is supplied in Appendix C. Nor does the proof assign constants and a confidence level that establish that the reported source examples or billion tokens suffice. The example is deliberately independent of that additional problem.
The supported assessment is Major: the proof of a prominently claimed theoretical guarantee is false. The empirical LongBench, retrieval and language-modeling observations are separate evidence and are not refuted. A corrected fixed-model bound is verified above; a guarantee for the actually trained neural model and the claimed sample sufficiency remains unverified.
Possible revision
Use derivative bound1 and empirical-mean scaling; trained-parameter guarantee still needs uniformity/stability.
Problem 2. Released log-probability slicing changes two-negative objective
MajorEvidence and reasoning
Problem statement
Inspection subject recorded in the report
Static entry-point trace and independent scalar-array diagnostic.
Operative assumptions: Three -row input blocks and one scalar average log probability per row; launch setting; sigmoid branch with and no smoothing for the illustrative calculation only.
Proof
The instantiated `LOGOTrainer` concatenates chosen, reject-1 and reject-2 batches, but lines – slice the three log-probability blocks as `[:B]`, `[B:2*B]` and `[B:]`. The last block has entries instead of line then averages the two rejected blocks.
This is in the executed class selected by the entry point, not merely an unused legacy class. The three supplied launch scripts set per-device batch size one. At broadcasting makes the two rejected averages and so the mean loss mixes a single-negative term with the intended two-negative term. For example, independent scalar-array algebra with chosen score rejected scores yields instead of the intended This is a diagnostic parameter choice, not a claimed reproduction of the launch configuration. At arrays of lengths two and four cannot be added. The matching logits slice already starts at `2*B`, further supporting a log-probability slicing mistake. The local repair `all_logps[2*B:]` is shape- and algebra-verified, but has not been run in the trainer.
This is Major for fidelity of the archived released implementation to the core objective; the impact on the paper’s historical experiments is Unverifiable without their exact code and logs. The archive commit is dated October so this review does not silently equate it with the earlier experiment version. No author program was executed. A corrected slice alone does not validate the full training pipeline.
Possible revision
Slice rejected2 from * only local algebra verified.
Problem 3. SFT sign in Eq3 conflicts with minimization
MinorEvidence and reasoning
Problem statement
Inspection subject recorded in the report
Sign differentiation; static cross-entropy inspection.
Operative assumptions: Minimization of the displayed loss with positive lambda. The sign check concerns the regularizer component, without assuming it dominates the preference gradient.
Proof
Equation (3), page 5, adds to a minimized preference loss and specifies Minimizing this term by itself lowers the preferred-response log probability. Standard SFT uses its negative.
The released `training/logo_train.py`, lines – adds positive-weight cross entropy, which has the conventional negative-log-likelihood sign. Figure 5(a), page 8, also reports improved perplexity with stronger SFT regularization, supporting an intended conventional sign. These are reasons to treat this as a Minor written-objective discrepancy, not evidence that the experiments optimized the displayed wrong-sign term. Correcting the sign resolves this algebraic issue; the full causal-label alignment of the released SFT implementation is not certified here.
Possible revision
Not available
Supporting record & provenance
Work status
Current version
Version 1
Minhao Liu · Initial report · Version 1
Independent review pending
Original claim and review scope
By training with only 0.3B data on a single A800 GPU machine for hours, LOGO allows the Llama-3-8B-Instruct- 80K model to achieve comparable performance with GPT-4 in real-world long-context tasks while preserving the model’s original capabilities on other tasks, e.g., language modeling and MMLU.
Published ICML 2025 proceedings PDF (PMLR 267); PDF p. 1, Abstract
Actual review scope
The recorded inspection concerns these source locations: Section 3.2.2 p. 5; AppendixC steps4-8 pp. 15-16; p. 5 Eq3; training/logo_train.py:271-274; training/logo_train.py:245-247,266; training/scripts/*_logo.sh.