Grammar Reinforcement Learning: path and cycle counting in graphs with a Context-Free Grammar and Transformer approach - Piquenot, Jason; Berar, Maxime; Raveaux, Romain; Héroux, Pierre; RAMEL, Jean-Yves; Adam, Sébastien (International Conference on Learning Representations, 2025)