The Vernier lock: Permutation success in lattice reduction for planted subset sum
Technical note with complete source, data and code. How often does one LLL reduction recover the planted solution of a subset-sum instance, and how much does that depend on the order in which the weights are presented? We ran FLINT's LLL reducer (delta = 0.99) on 71 million random orderings of 12,500 planted instances at seven densities, and report the permutation price: the negative base-two logarithm of the success rate per ordering. Main findings. In the rare-success range the price rises by about 0.66 bits per added weight. A horizontal shift of the density-one price curve by 34.3(1/d - 1) weights forecast four held-out prices at density 0.7 with a mean absolute error of 0.089 bits; at density 0.5 one of four forecasts missed its tolerance. The price also depends on how the basis is sampled and on the target, and neighboring orderings share outcomes. Measured without any target, the tail of the reduced Gram-Schmidt profile depends on size and width through nearly the same combination as the price. New in revision 17. Revision 16 (doi:10.5281/zenodo.24654862) fixed six tests, with their seeds, budgets and scoring rules, before any of them was run. This revision reports the outcomes. Forecasts at densities 0.9 and 0.65 passed. At density 0.4 the constant-coefficient forecast missed by 0.47-0.71 bits and a profile-based forecast stayed within 0.16. A larger sampler comparison confirmed that row mixing lowers the slope at matched prices (ratios 0.73 and 0.79). A second LLL implementation (fplll) gave the same displacement to within 0.3 weights, prices 0.08-0.30 bits higher, and largely different successful orderings. Under BKZ with block size 10 the shift held with a coefficient of 50.81 weights, above the predicted 46-49, so that prediction failed. A fixed test confirmed the target-imbalance effect at 46 weights and did not confirm an apparent reversal at 54. A dip in the density-one curve at 54 weights did not recur on a new seed. The archive contains the per-instance records of every experiment, including the six fixed tests, the generator, reduction and decoding code, and a one-command check (python verify.py) that regenerates every table and figure.
Authors
- Aaron Alai (ORCID: https://orcid.org/0000-0003-4704-7271)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-29
- DOI
- https://doi.org/10.5281/zenodo.24654861
- Primary Topic
- Complexity and Algorithms in Graphs
- Type
- article
- Field-Weighted Citation Impact
- 0.00