Metraipolis › archive › dc_48491395d43f

From Shortcut Learning to Discrete Neural Insertion Sort — arXiv:2609.31114

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.31114
License (as archived)
CC0-1.0
Archived
2026-10-08T01:39:42.185Z
SHA-256 of the archived text
a3b27950e44d4595c37a71112f0e5676691920b91ac61f9489cd686478b21b7d
Stable URL of this page
https://metraipolis.com/documento/dc_48491395d43f

How to cite

From Shortcut Learning to Discrete Neural Insertion Sort — arXiv:2609.31114 — arXiv (en), https://arxiv.org/abs/2609.31114 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_48491395d43f (Metraipolis archive dc_48491395d43f, sha256 a3b27950e44d4595c37a71112f0e5676691920b91ac61f9489cd686478b21b7d)
BibTeX
@misc{dc48491395d43f,
  title = {From Shortcut Learning to Discrete Neural Insertion Sort — arXiv:2609.31114},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.31114},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_48491395d43f; sha256 a3b27950e44d4595c37a71112f0e5676691920b91ac61f9489cd686478b21b7d},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.31114. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Neural algorithmic reasoning aims to train neural networks to follow known algorithms and generalize beyond the input sizes seen during training. However, correct final outputs and intermediate supervision do not necessarily show that a model follows the intended execution. We study this problem using insertion sort. Our analysis of the CLRS30 baseline NAR shows that the hint objective is weakly optimized and that hint accuracy remains low. Moreover, many intermediate representations can already be decoded into sorted sequences before the reference insertion-sort execution terminates, suggesting that the model learns a shortcut to the final output. Motivated by these findings, we introduce Discrete Neural Insertion Sort. Our model represents the sequence as a chain, separates scalar exchanges from control-state transitions, and projects node representations back to discrete states after every processor step. When trained only on sequences of length 16, the model achieves $100\%$ sorted-sequence accuracy on sequences of length 64 and 128. However, an ablation shows that discretization and graph structure alone are insufficient: without additional supervision of the global inner-loop state, the model fails even at the training length. Our results show that discrete execution can support strong length generalization, while also highlighting the problem-specific inductive bias required to learn a faithful algorithmic execution.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-28 in cs.AI).
Categorie arXiv: Machine Learning (cs.LG) ; Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2609.31114 — 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-08T01:12:14.534Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-28?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).