English

Language Inference with Multi-head Automata through Reinforcement Learning

Machine Learning 2020-10-21 v1 Formal Languages and Automata Theory

Abstract

The purpose of this paper is to use reinforcement learning to model learning agents which can recognize formal languages. Agents are modeled as simple multi-head automaton, a new model of finite automaton that uses multiple heads, and six different languages are formulated as reinforcement learning problems. Two different algorithms are used for optimization. First algorithm is Q-learning which trains gated recurrent units to learn optimal policies. The second one is genetic algorithm which searches for the optimal solution by using evolution inspired operations. The results show that genetic algorithm performs better than Q-learning algorithm in general but Q-learning algorithm finds solutions faster for regular languages.

Keywords

Cite

@article{arxiv.2010.10141,
  title  = {Language Inference with Multi-head Automata through Reinforcement Learning},
  author = {Alper Şekerci and Özlem Salehi},
  journal= {arXiv preprint arXiv:2010.10141},
  year   = {2020}
}

Comments

Published in: 2020 International Joint Conference on Neural Networks (IJCNN)

R2 v1 2026-06-23T19:28:54.465Z