Learning answer set programs with aggregates via sampling and genetic programming

Abstract The goal of inductive logic programming is to learn a logic program that models the examples provided as input. The search space of the possible programs is constrained by a language bias, which defines the atoms and literals allowed in rules. Answer set programming is a powerful formalism to represent complex combinatorial domains, also thanks to syntactic constructs such as aggregates. However, learning answer set programs from data is challenging, and often existing tools do not support the specification of aggregates in the language bias. In this paper, we introduce GENTIANS, a tool based on a genetic algorithm to learn answer set programs possibly with aggregates, arithmetic, and comparison operators, from examples. Empirical results, also against an existing solver, show that GENTIANS is able to provide accurate solutions even when the search space contains millions of clauses. Additionally, experiments on noisy datasets show the effectiveness of our approach.

Authors

Institutions

Publication Details

Journal
Machine Learning
Published
2025-05-20
DOI
https://doi.org/10.1007/s10994-025-06780-7
Citations
3
Primary Topic
Machine Learning and Algorithms
Type
article
Field-Weighted Citation Impact
7.44

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Learning answer set programs with aggregates via sampling and genetic programming

Damiano Azzolini
3 citations
Machine Learning
Machine Learning and Algorithms
7.44
article

Learning answer set programs with aggregates via sampling and genetic programming

Damiano Azzolini
article en
3 citations

Abstract

Abstract The goal of inductive logic programming is to learn a logic program that models the examples provided as input. The search space of the possible programs is constrained by a language bias, which defines the atoms and literals allowed in rules. Answer set programming is a powerful formalism to represent complex combinatorial domains, also thanks to syntactic constructs such as aggregates. However, learning answer set programs from data is challenging, and often existing tools do not support the specification of aggregates in the language bias. In this paper, we introduce GENTIANS, a tool based on a genetic algorithm to learn answer set programs possibly with aggregates, arithmetic, and comparison operators, from examples. Empirical results, also against an existing solver, show that GENTIANS is able to provide accurate solutions even when the search space contains millions of clauses. Additionally, experiments on noisy datasets show the effectiveness of our approach.

Machine LearningVol. 114(7)
University of Ferrara (IT)
Istituto Nazionale di Alta Matematica "Francesco Severi", Università degli Studi di Ferrara, Gruppo Nazionale per il Calcolo Scientifico
Openalex Percentile: Top 3%
Machine Learning and Algorithms
7.44
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.