FLINGO -- Instilling ASP Expressiveness into Linear Integer Constraints
- URL: http://arxiv.org/abs/2602.09620v1
- Date: Tue, 10 Feb 2026 10:08:05 GMT
- Title: FLINGO -- Instilling ASP Expressiveness into Linear Integer Constraints
- Authors: Jorge Fandinno, Pedro Cabalar, Philipp Wanko, Torsten Schaub,
- Abstract summary: We present the FLINGO language (and tool) that incorporates the aforementioned expressiveness inside the numerical constraints.<n>We also present a translation from the newly introduced FLINGO syntax to regular CASP programs following the CLINGCON input format.
- Score: 9.402213259706235
- License: http://creativecommons.org/licenses/by/4.0/
- Abstract: Constraint Answer Set Programming (CASP) is a hybrid paradigm that enriches Answer Set Programming (ASP) with numerical constraint processing, something required in many real-world applications. The usual specification of constraints in most CASP solvers is closer to the numerical back-end expressiveness and semantics, rather than to standard specification in ASP. In the latter, numerical attributes are represented with predicates and this allows declaring default values, leaving the attribute undefined, making non-deterministic assignments with choice rules or using aggregated values. In CASP, most (if not all) of these features are lost once we switch to a constraint-based representation of those same attributes. In this paper, we present the FLINGO language (and tool) that incorporates the aforementioned expressiveness inside the numerical constraints and we illustrate its use with several examples. Based on previous work that established its semantic foundations, we also present a translation from the newly introduced FLINGO syntax to regular CASP programs following the CLINGCON input format.
Related papers
- What Makes You Unique? Attribute Prompt Composition for Object Re-Identification [70.67907354506278]
Object Re-IDentification aims to recognize individuals across non-overlapping camera views.<n>Single-domain models tend to overfit to domain-specific features, whereas cross-domain models often rely on diverse normalization strategies.<n>We propose an Attribute Prompt Composition framework, which exploits textual semantics to jointly enhance discrimination and generalization.
arXiv Detail & Related papers (2025-09-23T07:03:08Z) - Type-Constrained Code Generation with Language Models [51.03439021895432]
We introduce a type-constrained decoding approach that leverages type systems to guide code generation.<n>For this purpose, we develop novel prefix automata and a search over inhabitable types, forming a sound approach to enforce well-typedness on LLM-generated code.<n>Our approach reduces compilation errors by more than half and significantly increases functional correctness in code synthesis, translation, and repair tasks.
arXiv Detail & Related papers (2025-04-12T15:03:00Z) - Multi-Attribute Constraint Satisfaction via Language Model Rewriting [67.5778646504987]
Multi-Attribute Constraint Satisfaction (MACS) is a method capable of finetuning language models to satisfy user-specified constraints on multiple external real-value attributes.<n>Our work opens new avenues for generalized and real-value multi-attribute control, with implications for diverse applications spanning NLP and bioinformatics.
arXiv Detail & Related papers (2024-12-26T12:36:39Z) - Learning Multi-Aspect Item Palette: A Semantic Tokenization Framework for Generative Recommendation [55.99632509895994]
We introduce LAMIA, a novel approach for multi-aspect semantic tokenization.<n>Unlike RQ-VAE, which uses a single embedding, LAMIA learns an item palette''--a collection of independent and semantically parallel embeddings.<n>Our results demonstrate significant improvements in recommendation accuracy over existing methods.
arXiv Detail & Related papers (2024-09-11T13:49:48Z) - Quantifying over Optimum Answer Sets [6.390468088226495]
ASP(Q) lacks a method for encoding modeling in an elegant and compact way.
We propose an extension of ASP(Q) in which component programs may contain weak constraints.
We showcase the modeling capabilities of the new formalism through various application scenarios.
arXiv Detail & Related papers (2024-08-14T17:53:13Z) - From Instructions to Constraints: Language Model Alignment with
Automatic Constraint Verification [70.08146540745877]
We investigate common constraints in NLP tasks, categorize them into three classes based on the types of their arguments.
We propose a unified framework, ACT (Aligning to ConsTraints), to automatically produce supervision signals for user alignment with constraints.
arXiv Detail & Related papers (2024-03-10T22:14:54Z) - Using Integer Constraint Solving in Reuse Based Requirements Engineering [0.0]
Product Lines (PL) have proved an effective approach to reuse-based configurations.
It is now widely acknowledged that a product can be considered as a constraint satisfaction problem.
It is natural to consider constraint programming as a first choice candidate to specify constraints on PL.
This paper proposes to further explore the use of integer constraint programming to specify PL constraints.
arXiv Detail & Related papers (2023-09-28T09:20:07Z) - Toward Unified Controllable Text Generation via Regular Expression
Instruction [56.68753672187368]
Our paper introduces Regular Expression Instruction (REI), which utilizes an instruction-based mechanism to fully exploit regular expressions' advantages to uniformly model diverse constraints.
Our method only requires fine-tuning on medium-scale language models or few-shot, in-context learning on large language models, and requires no further adjustment when applied to various constraint combinations.
arXiv Detail & Related papers (2023-09-19T09:05:14Z) - Towards Reformulating Essence Specifications for Robustness [6.497578221372429]
Essence is a rich language in which there are many equivalent ways to specify a given problem.
A user may omit the use of domain attributes or abstract types, resulting in fewer refinement rules being applicable.
This paper addresses the problem of recovering this information automatically to increase the robustness of the output constraint models.
arXiv Detail & Related papers (2021-11-01T10:51:47Z) - An ASP semantics for Constraints involving Conditional Aggregates [9.289905977910378]
We elaborate upon the formal foundations of hybrid Answer Set Programming (ASP)
We extend its underlying logical framework with aggregate functions over constraint values and variables.
We put some emphasis on logic programs with linear constraints and show how common ASP aggregates can be regarded as particular cases of so-called conditional linear constraints.
arXiv Detail & Related papers (2020-02-17T12:25:01Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.