- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper proposes a learnable gap-sequence for Shellsort by using PPO adaptively. This paper shows that the popular gap sequences proposed by by Ciura (empirically), Sedgewick (theoretically), and Tokuda (based on a geometric forumla) can be improved upon, in terms of comparison counts. Their method improves upon comparison count to Sedgewick by 15-16% across N=128-16,384 arrays, using a seven family input mixture.
Strengths and weaknesses
Strengths
-
I appreciate the authors' transparency related to the weaknesses and limitations of their method, and their key claim (on the effectiveness of adaptive gap sequencing) is clearly supported.
-
The authors adopt strong statistical hygiene for their experimental design, having 30 seeds, per-family Mann–Whitney p-values, and held-out evaluation.
-
On flat-spectrum inputs, the method recovers a Ciura-like schedule ([80, 28, 12, 4, 1]). This is both an interesting finding and a convincing sign the method is behaving correctly.
-
A real system that repeatedly sorts similar/repetitive inputs might have a stable input distribution, which is one regime the where the learned offline gap schedules can really shine.
Weaknesses
-
The practical aspect of this algorithm is overstated. The motivating deployments are embedded systems, where wall-clock time and implementation simplicity render a neural network policy impractical. The honest reporting is appreciated, but the introduction and abstract do not convey this clear drawback/limitation (e.g. the overhead induced by computing the fingerprint and network forward pass).
-
The sequential adaptivity and cheap deployment aspects are in contention. The method's advantage over one-shot classifiers comes from this adaptivity. However, the proposed deployment (to use an offline schedule) discards this sequential adaptation advantage.
-
The per-family generation parameters (e.g., noise level for nearly-sorted, block size for interleaved, tooth period for sawtooth, duplicate fraction for many-duplicates) are not specified. These materially affect each family's disorder spectrum and thus the reported gain.
Questions
-
The fixed-sequence comparison (without using a lookup) is not compared head-to-head against the one-shot classifiers in Table 9. The authors should include this, since we likely cannot rely on an oracle for real systems. Can the authors add this?
-
Can the authors comment on the common types of distributions seen by the motivating applications (embedded systems), and if there is good reason to believe their mixture of datasets captures these distributions? For example, it would be interesting to capture the distribution of a real system and apply this method to it, rather than using a synthetic dataset. I expect the learned policy to provide an advantage here.
Limitations
Yes
Paper formatting concerns
N/A
Final justification
I would like to thank the authors for the discussion; however, the rebuttal did not significantly impact my original review. I find it interesting that the method can recover a schedule similar to Ciura's empirically optimized sequence (which is claimed to be the best-known sequence). At the same time, the authors are forthcoming about their limitations, and the experimental design is strong. However, I have doubts as to whether this algorithm is practical in applied settings (given, e.g., the wall-clock overhead), and it seems to only provide a minor benefit in the precomputed/offline setting. I also agree with the "limited novelty" point from reviewer FkKJ. For this reason, I would be hesitant to increase my score beyond my original review.
Meta-review
The reviewers agree that the paper presents a well-motivated application of reinforcement learning to adaptive Shellsort gap selection, with a clear formulation, thorough experimental evaluation, and honest discussion of its limitations. They particularly appreciate the comprehensive ablations, statistical rigor, and evidence supporting the benefits of sequential adaptive policies. The primary concerns relate to scalability, generalization beyond the training distributions, practical deployment overhead, and the limited methodological novelty. While these issues should be discussed more explicitly in the final version, they do not outweigh the paper's overall contribution. Therefore, I recommend weak acceptance.