EUVIMEDOpdag EUVIMED
Crossref

Generation of Maximal Snake Polyominoes Using a Deep Neural Network

Benjamin Gauthier, Alain Goupil, Fadel Toure

Electronic Proceedings in Theoretical Computer Science · 2026-06-07 · 445 · 104-113

DOI: 10.4204/eptcs.445.13 ↗

At a glance

Journal article in Electronic Proceedings in Theoretical Computer Science, published online on 2026-06-07. Written by Benjamin Gauthier and 2 co-authors. 16 references.

AbstractBibliografiske oplysningerCiteRelated studies

Abstract (original language)

Maximal snake polyominoes are difficult to study numerically in large rectangles, as computing them requires the complete enumeration of all snakes for a specific rectangle size, which corresponds to a brute force algorithm. This hinders the study of maximal snakes in larger rectangles. Moreover, most enumerable snakes lie in small rectangles, obscuring large-scale patterns. In this paper, we investigate the contribution of a deep neural network to the generation of maximal snake polyominoes from a data-driven training, where the maximality and adjacency constraints are not encoded explicitly, but learned. To this extent, we experiment with a denoising diffusion model, which we referred as Structured Pixel Space Diffusion (SPS Diffusion). We find that SPS Diffusion generalizes from small rectangles to larger ones, generating valid snakes up to 28x28 squares and producing maximal snake candidates on squares close to the current computational limit. The model is, however, prone to errors such as branching, cycles, or multiple snake components. Overall, the diffusion model is promising and suggests that complex combinatorial objects can be understood by deep neural networks, which is useful in their investigation.

Cite

APA

Gauthier, B., Goupil, A., & Toure, F. (2026). Generation of Maximal Snake Polyominoes Using a Deep Neural Network. Electronic Proceedings in Theoretical Computer Science, 445, 104-113. https://doi.org/10.4204/eptcs.445.13

Vancouver

Gauthier B, Goupil A, Toure F. Generation of Maximal Snake Polyominoes Using a Deep Neural Network. Electronic Proceedings in Theoretical Computer Science. 2026;445:104-113. doi:10.4204/eptcs.445.13

BibTeX
@article{Gauthier2026,
  author = {Gauthier, Benjamin and Goupil, Alain and Toure, Fadel},
  title = {Generation of Maximal Snake Polyominoes Using a Deep Neural Network},
  journal = {Electronic Proceedings in Theoretical Computer Science},
  year = {2026},
  volume = {445},
  pages = {104--113},
  doi = {10.4204/eptcs.445.13}
}
Start for free →