English

The Parameterized Complexity of Learning Monadic Second-Order Logic

Logic in Computer Science 2025-01-20 v3

Abstract

Within the model-theoretic framework for supervised learning introduced by Grohe and Tur\'an (TOCS 2004), we study the parameterized complexity of learning concepts definable in monadic second-order logic (MSO). We show that the problem of learning an MSO-definable concept from a training sequence of labeled examples is fixed-parameter tractable on graphs of bounded clique-width, and that it is hard for the parameterized complexity class para-NP on general graphs. It turns out that an important distinction to be made is between 1-dimensional and higher-dimensional concepts, where the instances of a k-dimensional concept are k-tuples of vertices of a graph. For the higher-dimensional case, we give a learning algorithm that is fixed-parameter tractable in the size of the graph, but not in the size of the training sequence, and we give a hardness result showing that this is optimal. By comparison, in the 1-dimensional case, we obtain an algorithm that is fixed-parameter tractable in both.

Keywords

Cite

@article{arxiv.2309.10489,
  title  = {The Parameterized Complexity of Learning Monadic Second-Order Logic},
  author = {Steffen van Bergerem and Martin Grohe and Nina Runde},
  journal= {arXiv preprint arXiv:2309.10489},
  year   = {2025}
}

Comments

29 pages, 2 figures, extended version of CSL 2025 paper

R2 v1 2026-06-28T12:25:55.471Z