Metraipolis › archive › dc_b12ea750f0cb
A New Gap Sequence for Shellsort: RL-Driven Algorithm Discovery Beyond $N^{4/3}$ — arXiv:2609.29881
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.29881
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-08T05:26:37.731Z
- SHA-256 of the archived text
1ee7ae090194f7a78c6169f7c3da6a596ca6d502756f40e98f39928b7fb629c1- Stable URL of this page
https://metraipolis.com/documento/dc_b12ea750f0cb
How to cite
A New Gap Sequence for Shellsort: RL-Driven Algorithm Discovery Beyond $N^{4/3}$ — arXiv:2609.29881 — arXiv (en), https://arxiv.org/abs/2609.29881 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_b12ea750f0cb (Metraipolis archive dc_b12ea750f0cb, sha256 1ee7ae090194f7a78c6169f7c3da6a596ca6d502756f40e98f39928b7fb629c1)
BibTeX
@misc{dcb12ea750f0cb,
title = {A New Gap Sequence for Shellsort: RL-Driven Algorithm Discovery Beyond $N^4/3$ — arXiv:2609.29881},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.29881},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_b12ea750f0cb; sha256 1ee7ae090194f7a78c6169f7c3da6a596ca6d502756f40e98f39928b7fb629c1},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.29881. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Choosing Shellsort gaps is a well-known open problem. For over sixty years, successful sequences have relied on human-designed formulas, numerical searches, or number-theoretic constructions. Although stronger general bounds exist for dense or mainly theoretical families, the worst-case upper bound for a short, sparse, and practically competitive construction has not advanced beyond $N^{4/3}$ for decades. We ask whether the sequence itself can instead be learned from execution. We present an RL-driven, self-supervised system that searches over executable gap generators. Every proposal is valid by construction, and executed candidates return exact comparison and move counts; no classical sequence is used as a target. Across five independent searches, the system discovers a common rational-geometric family. A second self-supervised stage tunes only a finite prefix, producing the practical sequence $1,3,8,20,47,116,300,585,1416,3303,\ldots$. Once frozen, it obtains the lowest equal-task average operation count among seven classical baselines on 25 large tasks with $10^7<N\leq 10^8$. We complete the learned tail without changing its practical behavior: only beyond $10^{1000}$, a zero-density set of unit companions $h_s+1$ removes the remaining congruence barriers. The resulting sparse sequence has matching polynomial upper and lower exponents, up to polylogarithmic factors: $\Omega(N^{1.024296451657\ldots}) \leq T(N) \leq O(N^{1.024296451657\ldots}\operatorname{polylog} N)$. The lower bound follows from Zang's recent theorem for rational-geometric sequences; our contribution is the matching upper bound. Thus one exact sequence connects self-supervised discovery, large-scale practical performance, and a substantial step below the classical $N^{4/3}$ bound for sparse practical Shellsort sequences.
Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-25 in cs.LG).
Categorie arXiv: Computational Complexity (cs.CC) ; Data Structures and Algorithms (cs.DS); Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2609.29881 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-08T04:50:39.702Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-09-25?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).