English

Learning Aggregate Queries Defined by First-Order Logic with Counting

Logic in Computer Science 2024-11-07 v1 Databases

Abstract

In the logical framework introduced by Grohe and Tur\'an (TOCS 2004) for Boolean classification problems, the instances to classify are tuples from a logical structure, and Boolean classifiers are described by parametric models based on logical formulas. This is a specific scenario for supervised passive learning, where classifiers should be learned based on labelled examples. Existing results in this scenario focus on Boolean classification. This paper presents learnability results beyond Boolean classification. We focus on multiclass classification problems where the task is to assign input tuples to arbitrary integers. To represent such integer-valued classifiers, we use aggregate queries specified by an extension of first-order logic with counting terms called FOC1. Our main result shows the following: given a database of polylogarithmic degree, within quasi-linear time, we can build an index structure that makes it possible to learn FOC1-definable integer-valued classifiers in time polylogarithmic in the size of the database and polynomial in the number of training examples.

Keywords

Cite

@article{arxiv.2411.04003,
  title  = {Learning Aggregate Queries Defined by First-Order Logic with Counting},
  author = {Steffen van Bergerem and Nicole Schweikardt},
  journal= {arXiv preprint arXiv:2411.04003},
  year   = {2024}
}

Comments

To appear at ICDT 2025

R2 v1 2026-06-28T19:50:18.194Z