Skip to main content
QUICK REVIEW

[Paper Review] Degrees of Laziness in Grounding: Effects of Lazy-Grounding Strategies on ASP Solving

Richard Taupe, Antonius Weinzierl|arXiv (Cornell University)|Mar 29, 2019
Logic, Reasoning, and KnowledgeComputer Science23 references5 citations
TL;DR

This paper introduces a spectrum of 'degrees of laziness' in grounding for Answer Set Programming (ASP), proposing novel lazy-grounding strategies that balance memory efficiency with heuristic effectiveness. By formally characterizing strategies like k-unassigned and accumulator-based grounding, the authors show significant performance improvements over state-of-the-art lazy grounding, especially with permissive constraint grounding and heuristic integration, reducing solving time and enhancing search guidance despite limited search space visibility.

ABSTRACT

The traditional ground-and-solve approach to Answer Set Programming (ASP) suffers from the grounding bottleneck, which makes large-scale problem instances unsolvable. Lazy grounding is an alternative approach that interleaves grounding with solving and thus uses space more efficiently. The limited view on the search space in lazy grounding poses unique challenges, however, and can have adverse effects on solving performance. In this paper we present a novel characterization of degrees of laziness in grounding for ASP, i.e. of compromises between lazily grounding as little as possible and the traditional full grounding upfront. We investigate how these degrees of laziness compare to each other formally as well as, by means of an experimental analysis using a number of benchmarks, in terms of their effects on solving performance. Our contributions are the introduction of a range of novel lazy grounding strategies, a formal account on their relationships and their correctness, and an investigation of their effects on solving performance. Experiments show that our approach performs significantly better than state-of-the-art lazy grounding in many cases.

Motivation & Objective

  • Address the grounding bottleneck in ASP by exploring compromises between full upfront grounding and minimal lazy grounding.
  • Overcome the performance degradation in lazy grounding caused by limited search space visibility, which hampers heuristic effectiveness.
  • Introduce and formally characterize new grounding strategies—such as k-unassigned and accumulator-based grounding—that offer tunable trade-offs between laziness and informativeness.
  • Evaluate the impact of these strategies on solving performance using real-world benchmarks, aiming to improve efficiency without sacrificing the memory benefits of lazy grounding.
  • Identify optimal grounding configurations that enhance heuristic guidance while maintaining space efficiency, particularly in industrial-scale ASP applications.

Proposed method

  • Propose a formal framework to characterize 'degrees of laziness' in grounding, defining strategies based on variable assignment counts (k-unassigned) and accumulator-based rule processing.
  • Introduce accumulator-based grounding strategies that incrementally build and reuse information about grounded rules to improve heuristic quality.
  • Implement and integrate advanced heuristics (MOMs and VSIDS) into the lazy-grounding solver Alpha, adapting them from traditional ground-and-solve solvers.
  • Design and evaluate multiple grounding variants: strict vs. permissive constraint grounding, and with/without accumulators, across diverse benchmarks.
  • Use a hybrid approach where grounding is interleaved with solving, but strategically delayed to preserve heuristic informativeness.
  • Conduct systematic experiments comparing grounding strategies on industrial and synthetic benchmarks, measuring time, number of guesses, and memory use.

Experimental results

Research questions

  • RQ1How do different degrees of laziness in grounding affect the performance of ASP solvers, particularly in terms of solving time and search space exploration?
  • RQ2To what extent can accumulator-based grounding strategies improve heuristic quality and solving efficiency in lazy-grounding ASP systems?
  • RQ3Does permissive grounding of constraints lead to better performance than strict grounding, and under which conditions is this effect most pronounced?
  • RQ4How do advanced heuristics (MOMs, VSIDS) perform in a lazy-grounding context, and what role does grounding completeness play in their effectiveness?
  • RQ5Can a tunable grounding strategy be designed that balances memory efficiency with sufficient search space information to guide heuristics effectively?

Key findings

  • Permissive grounding of constraints consistently improves solving performance across benchmarks, especially in Graph Colouring and House instances, due to better heuristic guidance.
  • The k-unassigned grounding strategy with permissive constraint grounding achieves performance comparable to full upfront grounding in many cases, significantly outperforming standard lazy grounding.
  • Accumulator-based grounding strategies reduce solving time and number of guesses, particularly in problems with high constraint density, by preserving and reusing structural information.
  • Experiments show that Alpha with the new grounding strategies reduces solving time by up to several orders of magnitude compared to baseline lazy grounding, especially in large-scale instances.
  • Memory usage is reduced with permissive constraint grounding, likely due to delayed grounding and the absence of learned nogood forgetting, though this was not directly measured.
  • The performance of heuristics like MOMs and VSIDS is significantly enhanced when grounding provides more structural insight, confirming that limited search space visibility is a key bottleneck in lazy grounding.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.