Integrating Answer Set Programming and Large Language Models for Reliable Structured Knowledge Extraction
Open accessAbstract
Answer Set Programming (ASP) and Large Language Models (LLMs) offer complementary strengths in symbolic reasoning and natural language understanding. In this work, we present an integrated framework for reliable structured knowledge extraction from natural language that combines the syntactic capabilities of LLMs with the semantic constraints provided by ASP. Structured representations in the form of ASP facts are obtained by guiding LLM generation through domain specific prompt templates and background knowledge specified in a declarative YAML configuration, and by validating and completing the extracted information using an ASP knowledge base. Building on this framework, we introduce grammar constrained decoding as a principled mechanism to enforce structural and semantic alignment between LLM outputs and target symbolic representations. By leveraging formal grammars, we gain fine grained control over the generation process, substantially reducing hallucinations and limiting unnecessary verbosity, while preserving extraction quality. We study three grammar formats commonly used to represent structured knowledge, namely CSV, Datalog, and JSON, and analyze their impact on correctness, efficiency, and computational cost. We evaluate the proposed approach on benchmarks derived from ASP Competitions. The results show that the integration of ASP consistently improves extraction accuracy over vanilla LLMs, particularly for smaller models. Moreover, grammar constrained decoding maintains these gains while significantly improving generation efficiency. Among the considered formats, CSV provides the best trade-off between accuracy and cost, JSON achieves the highest extraction quality at the expense of increased verbosity, and Datalog exhibits lower robustness in the extraction process. Overall, the results demonstrate that combining ASP with grammar constrained LLM output yields a reliable, scalable, and cost-effective approach to structured knowledge extraction.
AI snapshot
Written from the paper’s full text.
TL;DR
The paper presents LLMASP, a neuro-symbolic framework that uses LLMs for predicate-specific fact extraction and ASP for symbolic reasoning, with optional grammar-constrained decoding. Across 512 ASP-Competition-derived instances, ASP integration and grammar constraints improve extraction accuracy and efficiency, with CSV offering the best accuracy-cost trade-off.
Key findings
- LLMASP improves F1 over vanilla prompting: the abstract reports increases from 72.1% to 86.3% with Meta LLaMA 3:8b and from 89.2% to 96.5% with Meta LLaMA 3:70b; Table 2 reports LLMASP+KB A2 at F1 0.863 (8B) and 0.965 (70B).
- Grammar-constrained decoding changes the quality-cost trade-off: JSON achieves the highest extraction quality and lowest hallucination/duplicate counts but incurs token overhead, while CSV is the most cost-effective. For LLaMA 70B, unconstrained LLMASP A2 achieves F1 = 0.963 at 61.4×10^5 J, whereas [CSV] LLMASP A2 achieves F1 = 0.966 at 49.3×10^5 J; JSON’s marginal 1.1% gain consumes up to 133% more energy than CSV.
- Knowledge-base integration improves recall without degrading precision and can sharply reduce cost. On four KB-supported domains, all KB configurations yield D_F = 0 duplicates; for 8B, A2+KB raises F1 from 0.778 to 0.955 and perfect rate from 0.055 to 0.344; for 70B, A2+KB with CSV reduces completion tokens from 233,164 to 30,725 and energy from 5.46×10^6 J to 8.12×10^5 J (85% decrease).
- Hallucinations are reduced by grammars and post-processing. For 8B, [JSON] LLM A2 cuts false positives from 12,739 to 3,237 and duplicates from 3,549 to 530; for [CSV] LLMASP A2, lightweight post-processing reduces false positives from 2,983 to 1,053 (65% reduction) and raises F1 from 0.966 to 0.980.
Methods
- Design: LLMASP uses behavior and application YAML configurations, predicate-specific prompts, optional formal grammars, and clingo for ASP reasoning; evaluated approaches are LLM baseline, LLMASP, and LLMASP+KB, with unconstrained, CSV, Datalog, and JSON decoding.
- Data: 512 problem instances across 16 domains (32 per domain) derived from ASP Competitions, with natural-language text generated from templates over selected facts.
- Analysis: 48 configurations combine two LLaMA models (8B and 70B), two application files (A1 and A2), and four decoding strategies; metrics include macro/micro F1, perfect extraction rate, TP/FP/FN/duplicates, prompt/completion tokens, energy, runtime, and log-linear regressions.
Limitations
- Stated in the paper: the KB coefficient on energy/runtime is negative but not statistically significant, possibly because the KB is used on only four of sixteen domains; grammar constraints are not uniformly beneficial, especially for the 8B model; Datalog is the least reliable grammar; and some failure modes are left to future research, such as VLP arity hallucination and why precision degrades from single-call to multi-call architectures.
- Evident from the text: evaluation is limited to LLaMA 3 models and ASP-Competition-derived, template-generated text rather than naturally occurring corpora; KB support covers only four domains; and perfect extraction often requires additional post-processing to remove superficial extraction artifacts.
Model-written summary. Check it against the paper before relying on it.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
6 of 12 cited sources checked · 2 supported · 1 flagged · accuracy not yet measured
- Interpretationcitation
The proposed LLMASP framework fills the void of reliable structured knowledge extraction, as demonstrated in prior work.
“Our proposed LLMASP framework fills exactly this void, as demonstrated in our prior work (Alviano, Capalbo, et al. 2026;Alviano and Grillo 2024;Alviano, Lo Scudo, et al. 2024).”
Quote in the paperSubstantial claim1 of 3 sources checked- cites Alviano, Capalbo, et al. 2026 source
The Introduction (section 1; page not provided) distinguishes translating natural-language inputs into formal representations from this paper’s complementary task of making ASP solver outputs intelligible. The paper proposes a map–summarize framework for verbalizing answer sets, not an LLMASP framework for structured knowledge extraction. (LLM, conf=0.86)
Checked by a reasoning model — may be wrong.
Experimental — accuracy not yet measured - cites Alviano and Grillo 2024
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- cites Alviano, Lo Scudo, et al. 2024
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- Premisecitation
LLMs are better suited for data extraction than for complex reasoning, particularly in scenarios requiring grounded statements and logical inference.
“According to (Nye et al. 2021;Ren et al. 2025), LLMs are better suited for data extraction than for complex reasoning, particularly in scenarios requiring grounded statements and logical inference.”
Quote in the paperSubstantial claim2 of 2 sources checked- cites Nye et al. 2021 source
Section 3 (p. 4) uses a neural model to extract facts while a separate symbolic module checks logical constraints. The results (p. 5) report that GPT-3 paired with fact extraction and a world model outperformed GPT-3 alone on a reasoning task. This supports the distinction, but the paper does not establish that LLMs generally are better suited to data extraction than to complex reasoning across settings. (LLM, conf=0.84)
Experimental — accuracy not yet measured - cites Ren et al. 2025 source
The Main Results (p. 7) report that LLM performance drops sharply on complex ASP tasks requiring multi-step logical reasoning. The paper does not compare those tasks with data extraction or establish that LLMs are better suited to extraction, and the cited passages do not address grounded statements specifically. (LLM, conf=0.85)
Experimental — accuracy not yet measured
- Findingown data
A preliminary test of the approach in Ishay et al. 2023 on the benchmark dataset obtained F1-scores of 0.24 for the 8B model and 0.55 for the 70B model.
“We have performed a preliminary test of the approach in(Ishay et al. 2023) on our benchmark dataset and obtained an F1-scores of 0.24 for the 8B model and 0.55 for the 70B model.”
Quote in the paperNot a substantial claim1 of 1 sources checked- cites Ishay et al. 2023 source
- Findingreasoning
The number of prompt tokens grows linearly with the number of predicates to be extracted.
“First, the number of prompt tokens grows linearly with the number of predicates to be extracted, since the pipeline issues a separate completion request for each predicate.”
Quote in the paperSubstantial claim - Findingnone given
LLMASP relies on multiple predicate-specific prompts, issuing a separate generation request for each predicate to be extracted.
“In particular, LLMASP relies on multiple predicate-specific prompts, issuing a separate generation request for each predicate to be extracted.”
Quote in the paperSubstantial claim
- Findingown data
On a maximum clique example, ChatGPT (GPT-4o and gpt-4o-mini) and Meta LLaMA 3:70b produced factually incorrect answers.
“Although the answer is fluent and grammatically well-formed, it is factually incorrect because Evan does not know Fiona.We report that we obtained a wrong answer also from Meta LLaMA 3:70b (running locally on our servers).”
Quote in the paperSubstantial claim - Findingown data
JSON achieves the highest extraction quality at the expense of increased verbosity.
“Among the considered formats, CSV provides the best trade-off between accuracy and cost, JSON achieves the highest extraction quality at the expense of increased verbosity, and Datalog exhibits lower robustness in the extraction process.”
Quote in the paperNot a substantial claim - Findingown data
The F1-score increases from 89.2% to 96.5% with Meta LLaMA 3:70b.
“In particular, the F1-score increases from 72.1% to 86.3% when using Meta LLaMA 3:8b, and from 89.2% to 96.5% with Meta LLaMA 3:70b.”
Quote in the paperSubstantial claim - Findingown data
Modeling the maximum clique problem in ASP yields a correct factual answer.
“In contrast, modeling the problem in ASP yields a correct factual answer.”
Quote in the paperSubstantial claim - Findingown data
Among the considered formats, CSV provides the best trade-off between accuracy and cost.
“Among the considered formats, CSV provides the best trade-off between accuracy and cost, JSON achieves the highest extraction quality at the expense of increased verbosity, and Datalog exhibits lower robustness in the extraction process.”
Quote in the paperSubstantial claim - Findingnone given
Datalog exhibits lower robustness in the extraction process.
“Among the considered formats, CSV provides the best trade-off between accuracy and cost, JSON achieves the highest extraction quality at the expense of increased verbosity, and Datalog exhibits lower robustness in the extraction process.”
Quote in the paperNot a substantial claim - Findingreasoning
When generation is unconstrained, this design can incur substantial overhead in terms of completion tokens, runtime, and inference cost.
“When generation is unconstrained (i.e., when the LLM produces free-form text not guided by an explicit output grammar) this design can incur substantial overhead in terms of completion tokens, runtime, and inference cost.”
Quote in the paperSubstantial claim - Findingown data
The integration of ASP consistently improves extraction accuracy over vanilla LLMs, particularly for smaller models.
“The results show that the integration of ASP consistently improves extraction accuracy over vanilla LLMs, particularly for smaller models.”
- Also stated in: § 1 Introduction · plain
“Section 5 reports an empirical evaluation on benchmarks derived from ASP Competitions (Gebser, Maratea, et al. 2020) assessing the proposed integration of LLMs and ASP, which substantially improves fact extraction accuracy over vanilla LLM prompting.”
Quote in the paperSubstantial claim - Also stated in: § 1 Introduction · plain
- Findingown data
The F1-score increases from 72.1% to 86.3% when using Meta LLaMA 3:8b.
“In particular, the F1-score increases from 72.1% to 86.3% when using Meta LLaMA 3:8b, and from 89.2% to 96.5% with Meta LLaMA 3:70b.”
Quote in the paperSubstantial claim - Findingreasoning
The accuracy gains from ASP integration come at a non-negligible computational and energy cost.
“Although these accuracy gains are an important contribution, they come at a non-negligible computational and energy cost.”
Quote in the paperNot a substantial claim - Findingown data
For A2, JSON is the only grammar that improves both macro F1 (0.740 vs. 0.721) and the perfect extraction rate (0.213 vs. 0.178) for vanilla baselines.
“For A2, JSON is the only grammar that improves both macro F1 (0.740 vs. 0.721) and the perfect extraction rate (0.213 vs. 0.178).”
Quote in the paperNot a substantial claim - Findingown data
Under A2, JSON attains the best overall results for LLaMA 70B.
“Under A2, JSON attains the best overall results.”
Quote in the paperNot a substantial claim - Findingown data
The increase in F1-score provided by the knowledge base integration is primarily driven by a noticeable reduction in false negatives.
“As shown in Appendix B, the increase in the F1-score provided by the knowledge base integration is primarily driven by a noticeable reduction in false negatives (i.e., predicates that LLMASP previously failed to extract).”
Quote in the paperSubstantial claim - Findingown data
Under A1, grammar constraints lower the perfect extraction rate of LLMASP from 0.242 to 0.170 with CSV.
“Under A1, grammar constraints reduce the macro F1-score of LLMASP from 0.768 to as low as 0.699 (with Datalog) and lower the perfect extraction rate from 0.242 to 0.170 (with CSV).”
Quote in the paperSubstantial claim - Findingown data
In LLM (No Info) configuration, both models exhibit a low F1-score (0.201 for 8B and 0.128 for 70B).
“In this configuration, both models exhibit a low F1-score (0.201 for 8B and 0.128 for 70B).”
Quote in the paperSubstantial claim - Findingown data
For LLaMA 70B, grammar constraints (especially JSON) are consistently beneficial in tighter extraction regimes and often translate into higher perfect extraction rates.
“For LLaMA 70B, the picture reverses: grammar constraints (especially JSON) are consistently beneficial in tighter extraction regimes and often translate into higher perfect extraction rates.”
Quote in the paperSubstantial claim - Findingown data
Under A2, the perfect rate for LLMASP supported by a knowledge base drops from 0.371 to 0.264.
“Under A2, the degradation in macro F1 is smaller (from 0.828 to 0.810 with JSON), yet the perfect rate still drops substantially: from 0.352 to 0.260 for LLMASP configurations without a knowledge base, and from 0.371 to 0.264 for configurations supported by a knowledge base.”
Quote in the paperNot a substantial claim - Findingown data
The most difficult instances for the LLMs, particularly for the 8B model, are those within the Ricochet Robots domain.
“The domain-wise analysis (Table 8 in Appendix B) reveals that the most difficult instances for the LLMs, particularly for the 8B model, are those within the Ricochet Robots domain.”
Quote in the paperNot a substantial claim - Findingown data
Providing the exact format of the facts to extract improves extraction performance (F1-scores of 0.686 and 0.832).
“A more substantial improvement is achieved by providing the exact format of the facts to extract, mimicking the core idea behind the A1 application file (F1-scores of 0.686 and 0.832).”
Quote in the paperSubstantial claim - Findingown data
Grammar-constrained decoding consistently improves reliability by reducing malformed outputs and duplicated facts.
“The results show that grammar-constrained decoding consistently improves reliability by reducing malformed outputs and duplicated facts.”
Quote in the paperSubstantial claim - Findingown data
For LLMASP with application file A1, the use of a JSON grammar increases the macro F1 from 0.912 to 0.934.
“For LLMASP with the application file A1, the use of a JSON grammar increases the macro F1 from 0.912 to 0.934 and boosts the perfect extraction rate from 0.482 to 0.580.”
Quote in the paperSubstantial claim - Findingown data
On LLaMA 8B, introducing an explicit output grammar generally results in performance degradation for LLMASP variants.
“On LLaMA 8B, introducing an explicit output grammar generally results in performance degradation for LLMASP variants.”
Quote in the paperSubstantial claim - Findingown data
Among the considered formats, the CSV grammar achieves the best balance between extraction quality and generation efficiency, dominating the Pareto front in most settings.
“Among the considered formats, the CSV grammar achieves the best balance between extraction quality and generation efficiency, dominating the Pareto front in most settings.”
- Also stated in: § Q5: Which grammar offers the best trade-off between extraction quality and generation efficiency? · plain
“We empirically evaluate multiple grammar formats (JSON, Datalog, and a lightweight CSV-based representation) and show that CSV grammars offer the best trade-off between extraction accuracy and generation efficiency.”
Quote in the paperSubstantial claim - Also stated in: § Q5: Which grammar offers the best trade-off between extraction quality and generation efficiency? · plain
- Findingown data
Under A1, grammar constraints reduce the macro F1-score of LLMASP from 0.768 to as low as 0.699 with Datalog.
“Under A1, grammar constraints reduce the macro F1-score of LLMASP from 0.768 to as low as 0.699 (with Datalog) and lower the perfect extraction rate from 0.242 to 0.170 (with CSV).”
Quote in the paperSubstantial claim - Findingown data
All configurations outperform the strongest baselines.
“Moving on to the extraction performance of our framework, we find that all configurations outperform the strongest baselines.”
Quote in the paperSubstantial claim - Findingown data
Under A2, the perfect rate for LLMASP without a knowledge base drops from 0.352 to 0.260.
“Under A2, the degradation in macro F1 is smaller (from 0.828 to 0.810 with JSON), yet the perfect rate still drops substantially: from 0.352 to 0.260 for LLMASP configurations without a knowledge base, and from 0.371 to 0.264 for configurations supported by a knowledge base.”
Quote in the paperNot a substantial claim - Findingown data
For LLMASP with application file A1, the use of a JSON grammar boosts the perfect extraction rate from 0.482 to 0.580.
“For LLMASP with the application file A1, the use of a JSON grammar increases the macro F1 from 0.912 to 0.934 and boosts the perfect extraction rate from 0.482 to 0.580.”
Quote in the paperSubstantial claim - Findingown data
For A1, CSV and JSON exhibit a reduction in macro F1-score for vanilla baselines (to 0.656 and 0.588, respectively).
“For A1, CSV and JSON exhibit a reduction in macro F1-score (to 0.656 and 0.588, respectively), whereas Datalog yields a slight macro-F1 improvement (0.696 vs. 0.686) but with a decrease in the perfect rate.”
Quote in the paperNot a substantial claim - Findingown data
LLMASP A1 achieves F1-scores of 0.768 and 0.912 for the 8B and 70B models, respectively.
“LLMASP 𝐴1 achieves F1-scores of 0.768 and 0.912 for the 8B and 70B models, respectively.”
Quote in the paperSubstantial claim - Findingown data
The overall best performing behavior file for the information extraction task consists of the EIN configuration.
“We have empirically determined that the overall best performing behavior file consists of the EIN configuration; as such, we will be using the EIN behavior file in the following experiments.”
- Also stated in: § 4.3 Prompt Templates and Behavior Configurations · plain
“In appendix A, we provide the results of our empirical investigation (and ablation study) of behavior file configurations that has led us to select the EIN configuration.”
Quote in the paperSubstantial claim - Also stated in: § 4.3 Prompt Templates and Behavior Configurations · plain
- Findingown data
For LLMASP with application file A1, the micro F1-score decreases slightly from 0.952 to 0.942 with JSON grammar.
“We observe that the micro F1-score decreases slightly (from 0.952 to 0.942), signaling an increase in the total number of false negatives and false positives.”
Quote in the paperNot a substantial claim - Findingown data
Including both descriptions and formats improves extraction performance (F1-scores of 0.721 and 0.892).
“Finally, including both descriptions and formats-mimicking the A2 application file-further improves extraction performance (F1-scores of 0.721 and 0.892).”
Quote in the paperSubstantial claim - Findingown data
On configurations powered by LLaMA 8B, enforcing structured outputs is generally beneficial for suppressing hallucinations, particularly in configurations employing the A2 application file.
“On configurations powered by LLaMA 8B, enforcing structured outputs is generally beneficial for suppressing hallucinations, particularly in configurations employing the A2 application file.”
Quote in the paperSubstantial claim - Findingown data
Performance under LLMASP+KB exhibits much narrower variability than in the non-KB models, especially for the 70B LLM.
“Performance under LLMASP+KB exhibits much narrower variability than in the non-KB models, especially for the 70B LLM.”
Quote in the paperSubstantial claim - Findingown data
Under A2, the degradation in macro F1 for LLMASP is smaller (from 0.828 to 0.810 with JSON).
“Under A2, the degradation in macro F1 is smaller (from 0.828 to 0.810 with JSON), yet the perfect rate still drops substantially: from 0.352 to 0.260 for LLMASP configurations without a knowledge base, and from 0.371 to 0.264 for configurations supported by a knowledge base.”
Quote in the paperNot a substantial claim - Findingown data
CSV is the only grammar that supports a consistent reduction in energy costs and completion tokens (compared to unconstrained configurations) across all model sizes and configurations.
“Another important insight from Figure 2 is that CSV is the only grammar that supports a consistent reduction in energy costs and completion tokens (compared to the unconstrained configurations) across all model sizes and configurations.”
Quote in the paperNot a substantial claim - Findingreasoning
Domains Labyrinth, No Mystery, Ricochet Robots, and Sokoban contain instances that allow portions of the target representation to be derived via ASP once a minimal subset of facts has been extracted.
“Specifically, the domains Labyrinth (L), No Mystery (NM), Ricochet Robots (RR), and Sokoban (S) contain instances that allow portions of the target representation to be derived via ASP once a minimal subset of facts has been extracted.”
Quote in the paperSubstantial claim - Findingown data
LLMASP A2 achieves F1-scores of 0.827 and 0.963.
“The application file A2 in LLMASP 𝐴2 pushes performance even further, exhibiting F1-scores of 0.827 and 0.963.”
Quote in the paperSubstantial claim - Findingown data
CSV grammar consistently reduces completion tokens.
“Compact grammars, specifically CSV, consistently reduce completion tokens, directly translating to lower energy consumption and faster processing.”
Quote in the paperSubstantial claim - Findingown data
Operating cost in our experiments is driven by a combination of model scale, application file configuration, and the strictness of the applied output grammar.
“Operating cost in our experiments is driven by a combination of model scale, application file configuration, and the strictness of the applied output grammar.”
Quote in the paperSubstantial claim - Findingown data
In Figure 4, the Pareto front is decisively dominated by CSV-constrained setups.
“However, when isolating purely neural capabilities (Figure 4), the Pareto front is decisively dominated by CSV-constrained setups.”
Quote in the paperSubstantial claim - Findingown data
Predicate-specific extraction as implemented in LLMASP consistently outperforms vanilla prompting across all evaluated models and domains.
“Across all evaluated models and domains, predicate-specific extraction as implemented in LLMASP consistently outperforms vanilla prompting.”
Quote in the paperSubstantial claim - Findingown data
CSV constraints are also effective at reducing hallucinations, particularly with the larger LLaMA 70B model and richer application descriptions (A2).
“JSON-style grammar constraints yield the lowest number of hallucinated and duplicated facts across all settings, while CSV constraints are also effective, particularly with the larger LLaMA 70B model and richer application descriptions (A2).”
Quote in the paperSubstantial claim - Findingown data
Energy consumption and computation time exhibit a near-perfect correlation (r=0.998, p<0.001).
“A primary observation is that energy consumption and computation time are virtually interchangeable metrics in this context; they exhibit a near-perfect correlation (𝑟 = 0.998, 𝑝 < 0.001).”
Quote in the paperSubstantial claim - Findingown data
JSON is usually the most aggressive at removing duplicates and false positives.
“CSV typically maintains or boosts extraction performance while markedly cutting hallucinations, whereas JSON is usually the most aggressive at removing duplicates and false positives, occasionally resulting in a higher number of false negatives, but frequently reaching the overall best performance.”
Quote in the paperSubstantial claim - Findingown data
Unconstrained LLMASP A2 (LLaMA 3 70B) achieves F1=0.963 at energy cost E=61.4×10^5 J.
“For instance, unconstrained LLMASP 𝐴2 (LLaMA 3 70B) achieves 𝐹 1 = 0.963 at an energy cost of 𝐸 = 61.4× 10 5 J, whereas [CSV] LLMASP 𝐴2 achieves comparable performance (𝐹 1 = 0.966) while reducing energy expenditure by nearly 20% (𝐸 = 49.3 × 10 5 J).”
Quote in the paperSubstantial claim - Findingreasoning
Integrating explicit domain knowledge encoded as ASP rules with neural extraction yields further improvements in overall correctness.
“Integrating explicit domain knowledge encoded as ASP rules with neural extraction yields further improvements in overall correctness.”
Quote in the paperSubstantial claim - Findingown data
Completion tokens are a dominant predictor of running time (γ2=0.0812, p<0.01).
“Crucially, Model 2 and Model 4 indicate that completion tokens (#𝑡 𝑜𝑢𝑡 ) are a dominant predictor of both energy consumption (𝛾 2 = 0.1274, 𝑝 < 0.001) and running time (𝛾 2 = 0.0812, 𝑝 < 0.01).”
Quote in the paperSubstantial claim - Findingreasoning
JSON occasionally results in a higher number of false negatives.
“CSV typically maintains or boosts extraction performance while markedly cutting hallucinations, whereas JSON is usually the most aggressive at removing duplicates and false positives, occasionally resulting in a higher number of false negatives, but frequently reaching the overall best performance.”
Quote in the paperNot a substantial claim - Findingown data
The choice of output grammar radically shapes the quality-cost plane.
“Table 5 clearly demonstrates that the choice of output grammar radically shapes the quality-cost plane.”
Quote in the paperSubstantial claim - Findingown data
Single-call baseline LLM A2 (LLaMA 3 70B) yields F1=0.892 at E=46.2×10^5 J.
“Even more striking is the comparison against the single-call baseline LLM 𝐴2 (LLaMA 3 70B), which yields 𝐹 1 = 0.892 at 𝐸 = 46.2× 10 5 J.”
Quote in the paperSubstantial claim - Findingown data
JSON-based decoding achieves the highest extraction accuracy.
“While JSON-based decoding achieves the highest extraction accuracy, CSV emerges as the most balanced solution overall, offering strong accuracy with substantially lower energy consumption and dominating the Pareto front in most experimental settings.”
Quote in the paperNot a substantial claim - Findingown data
Gains in F1-score over vanilla prompting are up to 8.0 percentage points for LLaMA 3 70B.
“In particular, we observe substantial gains in F1-score over vanilla prompting, with improvements of up to 10.6 percentage points for LLaMA 3 8B and up to 8.0 percentage points for LLaMA 3 70B, confirming that structured, predicate-aware prompting is a key driver of extraction accuracy.”
Quote in the paperSubstantial claim - Findingown data
The vast majority of false positives across all LLMASP and LLMASP+KB configurations are concentrated in five domains: Sokoban (S), Graph Colouring (GC), Incremental Scheduling (IS), Stable Marriage (SM), and the Valves Location Problem (VLP).
“As detailed in Appendix D, our qualitative error analysis reveals that the vast majority of false positives across all LLMASP and LLMASP+KB configurations are concentrated in five domains: Sokoban (S), Graph Colouring (GC), Incremental Scheduling (IS), Stable Marriage (SM), and the Valves Location Problem (VLP).”
Quote in the paperNot a substantial claim - Findingown data
JSON heavily inflates output token volume.
“Conversely, verbose formats like JSON heavily inflate output token volume, resulting in substantial energy and latency penalties despite improving structural reliability.”
Quote in the paperSubstantial claim - Findingreasoning
With LLaMA 70B, the integration of a knowledge base has a less pronounced impact on reducing hallucinations and duplicates compared to its effect on the 8B model.
“With LLaMA 70B, the integration of a knowledge base has a less pronounced impact on reducing hallucinations and duplicates compared to its effect on the 8B model.”
Quote in the paperNot a substantial claim - Findingown data
This simple cleanup elevated the overall F1-score of [CSV] LLMASP A2 from 0.966 to 0.980 across the entire benchmark.
“Consequently, this simple cleanup elevated the overall F1-score of [CSV] LLMASP 𝐴2 from 0.966 to 0.980 across the entire benchmark.”
Quote in the paperSubstantial claim - Findingown data
Energy and running time are almost completely determined by the number of tokens processed during inference, with model size (LLaMA 70B) acting as the primary fixed multiplier.
“The results establish that energy and running time are almost completely determined by the number of tokens processed during inference, with model size (LLaMA 70B) acting as the primary fixed multiplier.”
Quote in the paperSubstantial claim - Findingown data
Gains in F1-score over vanilla prompting are up to 10.6 percentage points for LLaMA 3 8B.
“In particular, we observe substantial gains in F1-score over vanilla prompting, with improvements of up to 10.6 percentage points for LLaMA 3 8B and up to 8.0 percentage points for LLaMA 3 70B, confirming that structured, predicate-aware prompting is a key driver of extraction accuracy.”
Quote in the paperSubstantial claim - Findingnone given
JSON improves structural reliability.
“Conversely, verbose formats like JSON heavily inflate output token volume, resulting in substantial energy and latency penalties despite improving structural reliability.”
Quote in the paperNot a substantial claim - Findingown data
Integration of ASP with neural extraction leads to consistent gains in recall without degrading precision, particularly in domains where structural constraints or transitive relationships are prominent.
“Empirically, this integration leads to consistent gains in recall without degrading precision, particularly in domains where structural constraints or transitive relationships are prominent, demonstrating the effectiveness of combining neural extraction with symbolic reasoning.”
Quote in the paperSubstantial claim - Findingreasoning
JSON frequently reaches the overall best performance.
“CSV typically maintains or boosts extraction performance while markedly cutting hallucinations, whereas JSON is usually the most aggressive at removing duplicates and false positives, occasionally resulting in a higher number of false negatives, but frequently reaching the overall best performance.”
Quote in the paperNot a substantial claim - Findingown data
By applying targeted rules to (i) enforce symmetry for link/2, (ii) ensure arguments of node/1 are integer IDs, and (iii) discard out-of-schema predicates and placeholder strings in IS, the total false positives for [CSV] LLMASP A2 were reduced from 2,983 to 1,053 (a 65% reduction).
“By applying targeted rules to (i) enforce symmetry for link/2, (ii) ensure arguments of node/1 are integer IDs, and (iii) discard out-of-schema predicates and placeholder strings in IS, we reduced the total false positives for [CSV] LLMASP 𝐴2 from 2,983 to 1,053 (a 65% reduction).”
Quote in the paperSubstantial claim - Findingown data
JSON-style grammar constraints yield the lowest number of hallucinated and duplicated facts across all settings.
“JSON-style grammar constraints yield the lowest number of hallucinated and duplicated facts across all settings, while CSV constraints are also effective, particularly with the larger LLaMA 70B model and richer application descriptions (A2).”
Quote in the paperSubstantial claim - Findingown data
The knowledge base coefficient (β3) is negative for all models.
“The coefficient for the integration of a knowledge base (𝛽 3 ) is negative for all models, suggesting that the knowledge base impacts energy consumption and execution time by reducing them, though this effect is not statistically significant.”
Quote in the paperNot a substantial claim - Findingreasoning
In Figure 3, the Pareto frontier is dominated by KB-supported configurations.
“In Figure 3, the frontier is predictably dominated by KB-supported configurations, as offloading extraction to symbolic logic structurally shrinks completion length while preserving precision.”
Quote in the paperNot a substantial claim - Findingown data
[CSV] LLMASP A2 exhibits a high discrepancy between D (1,986) and D_uniq (422).
“Interestingly, [CSV] LLMASP 𝐴2 exhibits a high discrepancy between D (1,986) and 𝐷 uniq (422).”
Quote in the paperNot a substantial claim - Findingown data
Completion tokens are a dominant predictor of energy consumption (γ2=0.1274, p<0.001).
“Crucially, Model 2 and Model 4 indicate that completion tokens (#𝑡 𝑜𝑢𝑡 ) are a dominant predictor of both energy consumption (𝛾 2 = 0.1274, 𝑝 < 0.001) and running time (𝛾 2 = 0.0812, 𝑝 < 0.01).”
Quote in the paperSubstantial claim - Findingown data
Across all configurations, the inclusion of a knowledge base leads to consistent improvements in overall extraction performance.
“Across all configurations, the inclusion of a knowledge base leads to consistent improvements in overall extraction performance.”
Quote in the paperSubstantial claim - Findingown data
For LLaMA 8B, KB augmentation also yields substantial gains, reaching a best F1 = 0.955 under both A1+KB and A2+KB (configuration EI).
“For LLaMA 8B, KB augmentation also yields substantial gains, reaching a best 𝐹 1 = 0.955 under both A1+KB and A2+KB (configuration EI).”
Quote in the paperSubstantial claim - Findingown data
The strongest result is obtained by A1+KB in configurations such as EFN and EI, reaching (P = 0.980, R = 0.998, F1 = 0.988).
“The strongest result is obtained by A1+KB in configurations such as EFN and EI, reaching (𝑃 = 0.980, 𝑅 = 0.998, 𝐹 1 = 0.988).”
Quote in the paperSubstantial claim - Findingown data
CSV emerges as the most cost-effective format, dominating the energy-performance Pareto frontier in most settings.
“Overall, CSV emerges as the most cost-effective format, dominating the energy-performance Pareto frontier in most settings.”
Quote in the paperSubstantial claim - Findingown data
The improvements are consistent across predicate arities, including higher-arity facts (F1 ar3: from 0.747 to 0.902).
“the improvements are consistent across predicate arities, including higher-arity facts (𝐹 1 ar3 : from 0.747 to 0.902).”
Quote in the paperSubstantial claim - Findingown data
The number of generated completion tokens serves as an excellent proxy for energy consumption.
“Because autoregressive generation scales linearly with sequence length, the number of generated completion tokens serves as an excellent proxy for energy consumption, as demonstrated by our experiments.”
Quote in the paperSubstantial claim- Rests on an assumption: Autoregressive generation scales linearly with sequence length.
- Findingnone given
LLMs can bypass traditional, often fragile pipelines by translating unstructured natural language directly into a rigorous set of ASP facts.
“Here, we demonstrate how LLMs bypass these traditional, often fragile pipelines by translating unstructured natural language directly into a rigorous set of ASP facts.”
Quote in the paperNot a substantial claim - Findingown data
The non-KB reference point ([JSON] LLMASP A2) still misses a large portion of facts (FN= 4048) despite a relatively small FP cost (FP= 488).
“The non-KB reference point ([JSON] LLMASP 𝐴2 ) still misses a large portion of facts (FN= 4048) despite a relatively small FP cost (FP= 488).”
Quote in the paperSubstantial claim - Findingown data
A sensible improvement is observed for RR (Ricochet Robots), especially for the 8b model.
“We observe a sensible improvement for RR, especially for the 8b model.”
Quote in the paperNot a substantial claim - Findingown data
For LLaMA 70B, the non-KB A2 baseline achieves F1 ∈ [0.915, 0.972] (best at IN).
“For LLaMA 70B, the non-KB A2 baseline achieves 𝐹 1 ∈ [0.915, 0.972] (best at IN).”
Quote in the paperSubstantial claim - Findingown data
A2+KB improves both precision and recall (P: from 0.871 to 0.949, R: from 0.740 to 0.963).
“A2+KB improves both precision and recall (P: from 0.871 to 0.949, R: from 0.740 to 0.963)”
Quote in the paperSubstantial claim - Findingown data
Across both model sizes, a first salient effect of KB support is the near-complete elimination of redundancy: all KB configurations yield D F = 0 on these domains.
“Across both model sizes, a first salient effect of KB support is the near-complete elimination of redundancy: all KB configurations yield D 𝐹 = 0 on these domains.”
Quote in the paperSubstantial claim - Findingreasoning
With KB support, the spread of F1 values across configurations is markedly narrower than in the non-KB A2 baseline.
“With KB support, the spread of F1 values across configurations is markedly narrower than in the non-KB A2 baseline”
Quote in the paperSubstantial claim - Findingreasoning
By constraining the output to regular-language formats such as CSV, we achieve lightweight syntactic filtering with negligible computational overhead.
“By constraining the output to regular-language formats such as CSV (where the structure is flat, repetitive, and inherently finite-state), we achieve lightweight syntactic filtering with negligible computational overhead.”
Quote in the paperSubstantial claim - Findingown data
Tested LLMs often have difficulties associating a barrier between (x-1,y) and (x,y) toward direction west with location (x-1,y).
“we observed that often the tested LLMs have difficulties to associate a barrier between (𝑥 -1, 𝑦) and (𝑥, 𝑦) toward direction west with location (𝑥 -1, 𝑦).”
Quote in the paperSubstantial claim - Findingown data
Under A2+KB, CSV and Datalog are particularly economical in completion tokens and energy.
“Under A2+KB, CSV and Datalog are particularly economical (completion tokens ≈ 30k and energy ≈ 1.2-1.3× 10 5 J)”
Quote in the paperSubstantial claim - Findingown data
Predicate-specific extraction combined with the selective use of explicit symbolic knowledge encoded as ASP rules is effective.
“Beyond grammar-constrained decoding, our experiments confirm the effectiveness of predicate-specific extraction combined with the selective use of explicit symbolic knowledge encoded as ASP rules.”
Quote in the paperSubstantial claim - Findingown data
Grammar-constrained decoding is an effective mechanism for balancing extraction accuracy and costs within LLMASP.
“Our results show that grammar-constrained decoding is an effective mechanism for balancing extraction accuracy and costs within LLMASP.”
Quote in the paperSubstantial claim - Findingown data
Under A2+KB, CSV and Datalog underperform the unconstrained KB setting in executability.
“but they underperform the unconstrained KB setting in executability (Perfect Rate is 0.055 for CSV; 0.148 for Datalog; versus 0.344 without grammar).”
Quote in the paperSubstantial claim - Findingown data
Delegating the derivation of implicit knowledge to ASP improves recall without sacrificing precision.
“Delegating the derivation of implicit knowledge to ASP improves recall without sacrificing precision, highlighting the mutually reinforcing relation between neural extraction and symbolic reasoning.”
Quote in the paperSubstantial claim - Findingnone given
Configurations paired with A2 application files exhibit, ceteris paribus, higher performance than their A1 counterparts.
“Configurations paired with A2 application files exhibit, ceteris paribus, higher performance than their A1 counterparts.”
Quote in the paperNot a substantial claim - Findingreasoning
The single-pass LLM A2 outperforms LLMASP on extraction completeness in Sokoban.
“It is revealing that the single-pass LLM A2 outperforms LLMASP on extraction completeness in this domain.”
Quote in the paperSubstantial claim - Findingown data
Summing over the false positives of S, GC, IS, and VLP accounts for 96.7% of the total false positives generated by [CSV] LLMASP A2.
“Summing over the false positives of S, GC, IS, and VLP accounts for 96.7% of the total false positives generated by [CSV] LLMASP 𝐴2 .”
Quote in the paperNot a substantial claim - Findingnone given
A similar pattern occurs in the Valves Location Problem (VLP), where the best-performing configuration is LLM A2 (CSV).
“A similar pattern occurs in the Valves Location Problem (VLP), where the bestperforming configuration is LLM A2 (CSV).”
Quote in the paperNot a substantial claim - Findingnone given
Across grammars, CSV and JSON exhibit the lowest performance variability across the LLMASP and LLMASP+KB configurations.
“Across grammars, CSV and JSON exhibit the lowest performance variability across the LLMASP and LLMASP+KB configurations.”
Quote in the paperNot a substantial claim - Findingown data
R does not help.
“while R does not”
Quote in the paperNot a substantial claim - Findingown data
The introduction of the multi-call LLMASP strategy leads to a decisive increase in the F1-score regardless of arity, model size, application file, and grammar.
“The introduction of the multi-call LLMASP strategy (blue for LLMASP configurations and red for LLMASP+KB) leads to a decisive increase in the F1-score regardless of arity, model size, application file, and grammar.”
Quote in the paperSubstantial claim - Findingown data
Errors are highly localized.
“Notably, errors are highly localized.”
Quote in the paperNot a substantial claim - Findingown data
The baseline LLM with JSON and the A2 application file correctly extracts 27 out of 32 instances for PU.
“A notable exception is the baseline LLM with JSON and the A2 application file, which correctly extracts 27 out of 32 instances for PU.”
Quote in the paperNot a substantial claim - Findingown data
LLMASP consistently improves over the vanilla LLaMA baselines across both model sizes.
“In line with the previous experiments, Table 7 shows that LLMASP consistently improves over the vanilla LLaMA baselines across both model sizes.”
Quote in the paperSubstantial claim - Findingown data
Incremental Scheduling remains the most resistant to perfect extraction.
“Incremental Scheduling remains the most resistant to perfect extraction.”
Quote in the paperNot a substantial claim - Findingown data
Stable Marriage (SM) reinforces this phenomenon; extraction performance degrades slightly when moving from the baseline [JSON] LLM A2 to LLMASP A2.
“Stable Marriage (SM) reinforces this phenomenon; extraction performance degrades slightly when moving from the baseline [JSON] LLM 𝐴2 to LLMASP 𝐴2 .”
Quote in the paperNot a substantial claim - Findingreasoning
The zero in the true positives for [JSON] LLM A1 in VLP is driven by the same failure mode.
“The zero in the true positives for [JSON] LLM 𝐴1 in this problem domain is driven by the same failure mode.”
Quote in the paperNot a substantial claim - Findingown data
The LLM A2 baseline manages to perfectly extract up to 20 out of 32 instances for Sokoban.
“Interestingly, the LLM A2 baseline manages to perfectly extract up to 20 out of 32 instances for Sokoban.”
Quote in the paperNot a substantial claim - Findingnone given
N helps the LLMs to handle missing answers.
“N helps the LLMs to handle missing answers”
Quote in the paperNot a substantial claim - Findingown data
On [JSON] LLMASP A2 the F1-score increases from 0.977 to 0.985 with the post-processing rules.
“Similarly, on [JSON] LLMASP 𝐴2 the F1-score increases from 0.977 to 0.985.”
Quote in the paperNot a substantial claim - Findingnone given
Incremental Scheduling exhibits the most chaotic error patterns, particularly with the CSV grammar, which generates out-of-schema artifacts like 1(1,one) or instances(device,quantity).
“Finally, Incremental Scheduling exhibits the most chaotic error patterns, particularly with the CSV grammar, which generates out-of-schema artifacts like 1(1,one) or instances(device,quantity).”
Quote in the paperNot a substantial claim - Findingown data
The failure in Graph Colouring is primarily driven by symmetry resolution errors: extracting link(82, 10) instead of link(10, 82).
“Upon contrasting the extracted predicates with the ground truth, we found this failure is primarily driven by symmetry resolution errors: extracting link(82, 10) instead of link(10, 82).”
Quote in the paperNot a substantial claim - Findingown data
Under A1, the 70B model rises from F1 = 0.904 to F1 = 0.968 with EIN.
“while the 70B model rises from 𝐹 1 = 0.904 to 𝐹 1 = 0.968 with EIN”
Quote in the paperSubstantial claim - Findingown data
For the larger model, baseline quality is already near saturation on the four selected domains (LLMASP A2 with JSON: F1 macro = 0.983, Perfect Rate = 0.719).
“For the larger model, baseline quality is already near saturation on the four selected domains (LLMASP 𝐴2 with JSON: 𝐹 1 macro = 0.983, Perfect Rate= 0.719; Table 10).”
Quote in the paperSubstantial claim - Findingown data
The [CSV] LLMASP A1 configuration struggles slightly more with unary predicates, occasionally outputting string variables like node(node_12) or node(node27) instead of the required integer ID.
“The [CSV] LLMASP 𝐴1 configuration struggles slightly more with unary predicates, occasionally outputting string variables like node(node_12) or node(node27) instead of the required integer ID.”
Quote in the paperNot a substantial claim - Findingnone given
LLMASP reverses the pattern observed in single-call baselines: in most configurations, the highest F1-score is obtained for unary predicates, followed by binary and ternary predicates.
“Additionally, LLMASP reverses the pattern observed in single-call baselines: in most configurations, the highest F1-score is obtained for unary predicates, followed by binary and ternary predicates.”
Quote in the paperNot a substantial claim - Findingown data
This is a different error mode than the one observed, on the same problem domain, for [CSV] LLMASP A2, where the primary error mode consists of the symmetry resolution of the link(node_1,node_2) predicate.
“Additionally, this is a different error mode than the one observed, on the same problem domain, for [CSV] LLMASP 𝐴2 , where the primary error mode consists of the symmetry resolution of the link(node_1,node_2) predicate.”
Quote in the paperNot a substantial claim - Findingreasoning
For Sokoban, the primary source of error is the hallucination of the stone/1 predicate.
“For Sokoban, the primary source of error is the hallucination of the stone/1 predicate.”
Quote in the paperNot a substantial claim - Findingown data
Under A2, EIN on the 70B model attains the highest aggregate performance (P = 0.974, R = 0.988, F1 = 0.981).
“Under A2, the same trend persists and culminates in the overall best configuration, namely EIN on the 70B model, which attains the highest aggregate performance (𝑃 = 0.974, 𝑅 = 0.988, 𝐹 1 = 0.981).”
Quote in the paperSubstantial claim - Findingown data
Under A1, the 8B model improves from the best vanilla setting (Descr.+Format, F1 = 0.737) to F1 = 0.823 with EIN.
“Under A1, the 8B model improves from the best vanilla setting (Descr.+Format,𝐹 1 = 0.737) to 𝐹 1 = 0.823 with EIN”
Quote in the paperSubstantial claim - Findingnone given
The JSON configuration introduces a unique failure mode: it hallucinates the arity integer directly into the predicate name (e.g., pipe/2(101,103) and junction/1(...).
“The JSON configuration introduces a unique failure mode here: it hallucinates the arity integer directly into the predicate name (e.g., pipe/2(101,103) and junction/1(”
Quote in the paperNot a substantial claim - Findingnone given
E tends to improve the F1-score.
“E tends to improve the F1-score.”
Quote in the paperNot a substantial claim - Findingown data
Single-call baselines (LLM) exhibit a lower F1-score for unary predicates (arity 1), independent of model size and application files.
“The first notable trend is that single-call baselines (LLM, shown in green in Figure 8) exhibit a lower F1-score for unary predicates (arity 1), independent of model size and application files.”
Quote in the paperNot a substantial claim - Findingown data
LLMASP A2 configurations (70B) already successfully extract over 23,500 true positives out of the 23,760 total facts in the database.
“As shown in Table 4, LLMASP A2 configurations (70B) already successfully extract over 23,500 true positives out of the 23,760 total facts in our database.”
Quote in the paperSubstantial claim - Interpretationreasoning
In the setting of unconstrained generation, even correct facts become costly to recover reliably.
“In this setting, even correct facts become costly to recover reliably.”
Quote in the paperSubstantial claim - Interpretationreasoning
Combining ASP with grammar constrained LLM output yields a reliable, scalable, and cost-effective approach to structured knowledge extraction.
“Overall, the results demonstrate that combining ASP with grammar constrained LLM output yields a reliable, scalable, and cost-effective approach to structured knowledge extraction.”
Quote in the paperSubstantial claim - Interpretationown data
These results demonstrate the effectiveness of ASP-guided extraction in improving correctness, especially for larger models.
“These results demonstrate the effectiveness of ASP-guided extraction in improving correctness, especially for larger models.”
Quote in the paperSubstantial claim - Premisecitation
ASP excels on logical and relational reasoning tasks that remain challenging even for the most advanced LLMs.
“That is, ASP excels precisely on those logical and relational reasoning tasks that remain challenging even for the most advanced LLMs (Li et al. 2024), highlighting the complementarity between the two paradigms.”
Quote in the paperSubstantial claim0 of 1 sources checked- cites Li et al. 2024
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- Interpretationreasoning
By interleaving answer-like natural language with inferred facts, the model departs from the intended task of request representation and introduces spurious domain knowledge.
“By interleaving answer-like natural language with inferred facts, the model departs from the intended task of request representation and introduces spurious domain knowledge.”
Quote in the paperSubstantial claim - Premisecitation
ASP and LLMs offer complementary strengths in symbolic reasoning and natural language understanding.
“Answer Set Programming (ASP) and Large Language Models (LLMs) offer complementary strengths in symbolic reasoning and natural language understanding.”
- Also stated in: § 1 Introduction · plain
“Large Language Models (LLMs) and Answer Set Programming (ASP) represent two distinct but complementary paradigms in Artificial Intelligence (AI).”
Quote in the paperSubstantial claim0 of 1 sources checked- cites Li et al. 2024
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- Also stated in: § 1 Introduction · plain
- Interpretationown data
The inclusion of a knowledge base might render extensive prompt engineering techniques less relevant when deploying large models within the LLMASP framework.
“This suggests that the inclusion of a knowledge base might render extensive prompt engineering techniques less relevant when deploying large models within the LLMASP framework.”
Quote in the paperNot a substantial claim - Interpretationown data
The generation of verbose or nested JSON structures increases the number of completion tokens, leading to higher computational cost without a proportional gain in expressiveness for this task.
“The generation of verbose or nested JSON structures increases the number of completion tokens, leading to higher computational cost without a proportional gain in expressiveness for this task.”
Quote in the paperSubstantial claim - Premisecitation
During generation, the decoder consults the grammar at each step to determine the set of admissible next tokens, pruning all others from the search space.
“During generation, the decoder consults the grammar at each step to determine the set of admissible next tokens, pruning all others from the search space.”
Quote in the paperSubstantial claim0 of 1 sources checked- cites Geng et al. 2023
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- Interpretationown data
The difference in token counts illustrates the higher syntactic overhead introduced by JSON for simple relational data.
“This difference illustrates the higher syntactic overhead introduced by JSON for simple relational data.”
Quote in the paperSubstantial claim - Interpretationreasoning
Tighter admissible output spaces better support predicate-specific, slot-filling behavior with limited generative effort.
“This suggests that tighter admissible output spaces better support predicate-specific, slot-filling behavior with limited generative effort.”
Quote in the paperSubstantial claim - Interpretationown data
For the 70B model, the JSON grammar provides the most robust improvements across all configurations.
“For the 70B model, the JSON grammar provides the most robust improvements across all configurations.”
Quote in the paperSubstantial claim - Interpretationown data
Not all structured formats uniformly constrain the generator under weaker prompting.
“With A1, the gains are smaller but still visible: JSON and Datalog reduce FP relative to LLM 𝐴1 , whereas CSV increases FP, indicating that not all structured formats uniformly constrain the generator under weaker prompting.”
Quote in the paperSubstantial claim - Interpretationown data
Grammar-constrained generation does not pay off for the 8B model.
“In general, grammar-constrained generation does not pay off for the 8B model.”
Quote in the paperSubstantial claim - Interpretationown data
The effectiveness of grammar-constrained generation depends jointly on model capacity, the choice of the grammar, and the application file adopted.
“Overall, the results indicate that the effectiveness of grammar-constrained generation depends jointly on model capacity, the choice of the grammar, and the application file adopted.”
Quote in the paperSubstantial claim - Interpretationown data
On smaller models, the benefits of grammar-constrained decoding are neither systematic nor guaranteed, but instead depend strongly on the interaction between grammar choice, configuration, and extraction strategy.
“Overall, these results indicate that, on smaller models, the benefits of grammar-constrained decoding are neither systematic nor guaranteed, but instead depend strongly on the interaction between grammar choice, configuration, and extraction strategy.”
Quote in the paperSubstantial claim - Interpretationown data
Integrating grammar-constrained decoding into LLMASP substantially improves the reliability and scalability of structured knowledge extraction.
“Overall, these results demonstrate that integrating grammar-constrained decoding into LLMASP substantially improves the reliability and scalability of structured knowledge extraction.”
Quote in the paperSubstantial claim- Rests on an assumption: The benchmarks derived from ASP Competitions are representative of structured knowledge extraction tasks in general.
- Interpretationown data
When the generator is noisy, downstream reasoning can amplify the volume of candidate facts and their repetitions.
“Without an output grammar, LLMASP 𝐴1 on 8B exhibits substantial redundancy (D = 4,556) alongside elevated FP (7,103), suggesting that when the generator is noisy, downstream reasoning can amplify the volume of candidate facts and their repetitions.”
Quote in the paperSubstantial claim - Interpretationown data
While JSON is expressive and widely adopted, it introduces substantial syntactic overhead for simple relational data such as ASP facts, which are typically flat and homogeneous.
“While JSON is expressive and widely adopted, it introduces substantial syntactic overhead for simple relational data such as ASP facts, which are typically flat and homogeneous.”
Quote in the paperSubstantial claim - Interpretationreasoning
Grammar-constrained decoding is particularly well suited for structured output tasks such as information extraction and symbolic representation, where correctness depends not only on semantic content but also on adherence to a precise format.
“Grammar-constrained decoding is particularly well suited for structured output tasks such as information extraction and symbolic representation, where correctness depends not only on semantic content but also on adherence to a precise format.”
Quote in the paperSubstantial claim - Interpretationown data
Employing the CSV grammar is the most cost-effective approach.
“Combining these results with our previous analysis of extraction performance yields a critical insight: employing the CSV grammar is the most cost-effective approach.”
Quote in the paperSubstantial claim - Interpretationreasoning
An increase of 100,000 completion tokens causes an 8.5% increase in running time.
“Putting these numbers into perspective, given that token counts are scaled by 10 5 , an increase of 100, 000 completion tokens causes a 13.6% increase in energy consumption and an 8.5% increase in running time.”
Quote in the paperSubstantial claim - Interpretationown data
[CSV] LLMASP A2 delivers state-of-the-art extraction performance for an energy increase of just 6.7% over the single-call baseline.
“In effect, [CSV] LLMASP 𝐴2 delivers state-of-the-art extraction performance for an energy increase of just 6.7% over the single-call baseline.”
Quote in the paperSubstantial claim - Interpretationown data
Structured, predicate-aware prompting is a key driver of extraction accuracy.
“In particular, we observe substantial gains in F1-score over vanilla prompting, with improvements of up to 10.6 percentage points for LLaMA 3 8B and up to 8.0 percentage points for LLaMA 3 70B, confirming that structured, predicate-aware prompting is a key driver of extraction accuracy.”
Quote in the paperSubstantial claim - Interpretationown data
Optimizing for energy efficiency simultaneously yields equivalent reductions in runtime latency.
“Therefore, optimizing for energy efficiency simultaneously yields equivalent reductions in runtime latency.”
Quote in the paperSubstantial claim - Interpretationown data
There are certain instances in the dataset where the LLM struggles particularly under the CSV grammar.
“This suggests that there are certain instances in our dataset where the LLM struggles particularly under the CSV grammar.”
Quote in the paperNot a substantial claim - Interpretationreasoning
An increase of 100,000 completion tokens causes a 13.6% increase in energy consumption.
“Putting these numbers into perspective, given that token counts are scaled by 10 5 , an increase of 100, 000 completion tokens causes a 13.6% increase in energy consumption and an 8.5% increase in running time.”
Quote in the paperSubstantial claim - Interpretationown data
A reduction of 100,000 completion tokens yields a 7.8% faster execution time.
“Conversely, focusing on reducing the number of completion tokens as a mitigation strategy, a reduction of 100, 000 completion tokens yields a 12.0% reduction in energy consumption and a 7.8% faster execution time.”
Quote in the paperSubstantial claim - Interpretationown data
JSON's inflation of output token volume results in substantial energy and latency penalties.
“Conversely, verbose formats like JSON heavily inflate output token volume, resulting in substantial energy and latency penalties despite improving structural reliability.”
Quote in the paperSubstantial claim - Interpretationown data
Energy consumption and computation time are virtually interchangeable metrics in this context.
“A primary observation is that energy consumption and computation time are virtually interchangeable metrics in this context; they exhibit a near-perfect correlation (𝑟 = 0.998, 𝑝 < 0.001).”
Quote in the paperSubstantial claim - Interpretationown data
Focusing on reducing the number of output tokens is a highly effective strategy for curbing resource demands.
“This reveals that focusing on reducing the number of output tokens is a highly effective strategy for curbing resource demands.”
Quote in the paperSubstantial claim - Interpretationown data
CSV and JSON lead to distinct error patterns.
“CSV and JSON lead to distinct error patterns: CSV typically maintains or boosts extraction performance while markedly cutting hallucinations, whereas JSON is usually the most aggressive at removing duplicates and false positives, occasionally resulting in a higher number of false negatives, but frequently reaching the overall best performance.”
Quote in the paperSubstantial claim - Interpretationreasoning
As a symbolic tool for the exact generation of facts, the knowledge base inherently helps to suppress hallucinations and duplicates.
“Indeed, as a symbolic tool for the exact generation of facts, the knowledge base inherently helps to suppress hallucinations and duplicates.”
Quote in the paperNot a substantial claim - Interpretationown data
Strong models benefit from grammar-constrained generation by reducing redundancy and sharpening extraction accuracy.
“Taken together, these findings suggest that (i) strong models benefit from grammar-constrained generation in that it reduces redundancy and sharpens extraction accuracy;”
Quote in the paperSubstantial claim - Interpretationown data
Grammar-constrained decoding is an effective and principled mechanism for controlling both the accuracy and the computational footprint of LLMASP.
“All in all, these results demonstrate that grammar-constrained decoding is an effective and principled mechanism for controlling both the accuracy and the computational footprint of LLMASP.”
Quote in the paperSubstantial claim - Interpretationreasoning
A reduction of 100,000 completion tokens yields a 12.0% reduction in energy consumption.
“Conversely, focusing on reducing the number of completion tokens as a mitigation strategy, a reduction of 100, 000 completion tokens yields a 12.0% reduction in energy consumption and a 7.8% faster execution time.”
Quote in the paperSubstantial claim - Interpretationown data
These errors are superficial extraction artifacts rather than systemic reasoning failures.
“Crucially, these errors are superficial extraction artifacts rather than systemic reasoning failures.”
Quote in the paperSubstantial claim - Interpretationown data
These failure modes can be easily mitigated through lightweight post-processing.
“We demonstrate that these failure modes can be easily mitigated through lightweight post-processing.”
Quote in the paperSubstantial claim - Interpretationown data
Combining neural extraction with symbolic reasoning is effective.
“Empirically, this integration leads to consistent gains in recall without degrading precision, particularly in domains where structural constraints or transitive relationships are prominent, demonstrating the effectiveness of combining neural extraction with symbolic reasoning.”
Quote in the paperSubstantial claim - Interpretationown data
For LLaMA 8B, KB support fundamentally changes the error profile from omission-dominated to near-complete coverage.
“For LLaMA 8B, KB support fundamentally changes the error profile from omission-dominated to near-complete coverage.”
Quote in the paperSubstantial claim - Interpretationown data
Once the LLM extracts a compact set of parameters (e.g., grid size, step bounds, or structural constraints), ASP reconstructs the expanded relational structure deterministically, with limited semantic ambiguity.
“once the LLM extracts a compact set of parameters (e.g., grid size, step bounds, or structural constraints), ASP reconstructs the expanded relational structure deterministically, with limited semantic ambiguity.”
Quote in the paperSubstantial claim - Interpretationown data
The additional domain description in A2 remains valuable when the underlying LLM has limited capacity.
“suggesting that the additional domain description in A2 remains valuable when the underlying LLM has limited capacity.”
Quote in the paperSubstantial claim - Interpretationown data
Stricter serialization can make seed extraction more brittle for a low-capacity model.
“consistent with the interpretation that stricter serialization can make seed extraction more brittle for a low-capacity model.”
Quote in the paperSubstantial claim - Interpretationown data
The A2 description remains important to ensure accurate extraction of the seed facts on which KB closure critically depends.
“This highlights a key constraint for low-capacity models: the A2 description remains important to ensure accurate extraction of the seed facts on which KB closure critically depends.”
Quote in the paperSubstantial claim - Interpretationreasoning
This successfully reconciles the traditionally opposing objectives of reducing energy expenditure and maintaining high performance.
“This successfully reconciles the traditionally opposing objectives of reducing energy expenditure and maintaining high performance, making it highly effective for scalable symbolic pipelines like LLMASP.”
Quote in the paperSubstantial claim - Interpretationown data
Neural extraction and symbolic reasoning are mutually reinforcing.
“Delegating the derivation of implicit knowledge to ASP improves recall without sacrificing precision, highlighting the mutually reinforcing relation between neural extraction and symbolic reasoning.”
Quote in the paperSubstantial claim - Interpretationreasoning
Our grammars strictly define regular languages devoid of recursion or deep nesting.
“Although our constraints are expressed using standard BNF notation, the grammars strictly define regular languages devoid of recursion or deep nesting.”
Quote in the paperSubstantial claim - Interpretationnone given
LLMASP is a modular neuro-symbolic framework that integrates Large Language Models with Answer Set Programming to support reliable extraction of structured facts from natural language and their subsequent use for logical reasoning.
“In this article, we presented LLMASP, a modular neuro-symbolic framework that integrates Large Language Models with Answer Set Programming to support reliable extraction of structured facts from natural language and their subsequent use for logical reasoning.”
Quote in the paperSubstantial claim - Interpretationreasoning
Operational cost can decrease because the model is tasked with producing only a compact set of explicit seed facts, while the ASP component deterministically reconstructs the implied closure.
“Second, operational cost can decrease because the model is tasked with producing only a compact set of explicit seed facts, while the ASP component deterministically reconstructs the implied closure.”
Quote in the paperSubstantial claim - Interpretationreasoning
When missing facts are ASP-derivable, quality improves by reducing omission errors without requiring the LLM to explicitly enumerate all consequences.
“First, when missing facts are ASP-derivable, quality improves by reducing omission errors without requiring the LLM to explicitly enumerate all consequences.”
Quote in the paperSubstantial claim - Interpretationreasoning
Minimizing completion tokens offers a direct, operational strategy for cost reduction.
“Consequently, minimizing completion tokens offers a direct, operational strategy for cost reduction.”
Quote in the paperSubstantial claim - Interpretationreasoning
The extracted representation effectively acts as a factual database over which custom, pre-defined ASP programs can operate.
“This extracted representation effectively acts as a factual database over which custom, pre-defined ASP programs can operate.”
Quote in the paperSubstantial claim - Interpretationreasoning
ASP-based inference primarily recovers facts that are logically entailed by the extracted information but are not explicitly mentioned in the input text, rather than introducing spurious or hallucinated facts.
“This indicates that ASP-based inference primarily recovers facts that are logically entailed by the extracted information but are not explicitly mentioned in the input text, rather than introducing spurious or hallucinated facts.”
Quote in the paperSubstantial claim - Interpretationnone given
We enriched the LLMASP architecture by introducing a grammar-constrained decoding module that enforces syntactic validity of generated outputs through formal grammars.
“We enriched the LLMASP architecture by introducing a grammar-constrained decoding module that enforces syntactic validity of generated outputs through formal grammars.”
Quote in the paperSubstantial claim - Interpretationown data
Stronger structural constraints can guide large models toward more faithful and stable completions.
“JSON-based configurations, although more verbose and energy consuming, consistently yield among the highest accuracy and the lowest hallucination rates, suggesting that stronger structural constraints can guide large models toward more faithful and stable completions.”
Quote in the paperSubstantial claim - Interpretationown data
For the smaller model, KB support induces a substantial upward shift in extraction quality.
“For the smaller model, KB support induces a substantial upward shift in extraction quality.”
Quote in the paperSubstantial claim - Interpretationreasoning
Our constraints can be enforced using finite-state automata (FSA).
“As such, our constraints can be enforced using finite-state automata (FSA).”
Quote in the paperSubstantial claim - Interpretationown data
With a few exceptions, the use of ASP is beneficial for the generation process.
“With a few exceptions, the use of ASP is beneficial for the generation process.”
Quote in the paperSubstantial claim - Interpretationreasoning
Our approach structurally enforces efficiency at generation time.
“Unlike these methods, which attempt to compress outputs post-generation or rely on heuristic token budgets, our approach structurally enforces efficiency at generation time.”
Quote in the paperSubstantial claim - Interpretationown data
The KB predominantly addresses omission errors by completing derivable structure.
“reinforcing the interpretation that the KB predominantly addresses omission errors by completing derivable structure.”
Quote in the paperSubstantial claim - Interpretationown data
The benefit of predicate-focused prompting extends to both capacity regimes.
“indicating that the benefit of predicate-focused prompting extends to both capacity regimes.”
Quote in the paperNot a substantial claim - Interpretationown data
Even when F1 cannot improve materially because performance is already close to the ceiling, ASP-based completion remains a strong computational lever by avoiding generative enumeration of implicit consequences.
“Thus, even when F1 cannot improve materially because performance is already close to the ceiling, ASP-based completion remains a strong computational lever by avoiding generative enumeration of implicit consequences.”
Quote in the paperSubstantial claim - Interpretationreasoning
Forcing synthesis models into an extraction role yields malformed programs or invalid predicate formats.
“Forcing synthesis models into an extraction role yields malformed programs or invalid predicate formats.”
Quote in the paperSubstantial claim - Interpretationown data
As in the non-KB setting, grammars induce differentiated operating points.
“As in the non-KB setting, grammars induce differentiated operating points.”
Quote in the paperNot a substantial claim - Interpretationown data
Overall, the EIN behavior file yields the most effective and stable performance within LLMASP.
“Overall, these results indicate that the EIN behavior file yields the most effective and stable performance within LLMASP”
Quote in the paperSubstantial claim - Interpretationreasoning
The multi-call strategy of LLMASP inadvertently forces the model to over-analyze, deriving implicit entailments rather than sticking to strict textual extraction.
“Here, the multi-call strategy of LLMASP inadvertently forces the model to over-analyze, deriving implicit entailments rather than sticking to strict textual extraction.”
Quote in the paperSubstantial claim
- May combine two claims. 129
- Classified as probably not a substantial claim. 32
- The quote only partly states this claim. 1
May combine two claims.
PremisecitationPrompt tokens and completion tokens directly impact runtime, API cost, and carbon footprint.
“In particular, we analyze generation behavior at the token level, distinguishing between prompt tokens and completion tokens, both of which directly impact runtime, API cost, and carbon footprint (Jegham et al. 2025).”
Quote in the paperSubstantial claim1 of 1 sources checked- cites Jegham et al. 2025 source
Section 4.2 models runtime and energy using input- and output-token configurations, and Section 4.4 calculates carbon emissions from energy consumed during inference. The paper does not establish the claimed effect on API price; its references to per-query ‘cost’ concern energy or environmental cost, not API charges. (LLM, conf=0.88)
Experimental — accuracy not yet measured
Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.
PremisecitationCompletion tokens are especially critical, as they are generated sequentially and therefore dominate inference time, whereas prompt tokens can be processed more efficiently through parallelization in modern LLM architectures.
“Completion tokens are especially critical, as they are generated sequentially and therefore dominate inference time, whereas prompt tokens can be processed more efficiently through parallelization in modern LLM architectures (Patel et al. 2023).”
Quote in the paperNot a substantial claim1 of 1 sources checked- cites Patel et al. 2023 source
May combine two claims.
Findingnone givenGrammar constrained decoding maintains the accuracy gains of ASP integration while significantly improving generation efficiency.
“Moreover, grammar constrained decoding maintains these gains while significantly improving generation efficiency.”
Quote in the paperSubstantial claimMay combine two claims.
FindingreasoningSuch behaviors negatively affect extraction accuracy and increase computational and energy consumption by producing unnecessary tokens.
“Such behaviors negatively affect extraction accuracy and, at the same time, increase computational and energy consumption by producing unnecessary tokens.”
Quote in the paperSubstantial claimMay combine two claims.
FindingreasoningThe number of completion tokens is typically stable when the model adheres to the expected output format, but increases noticeably when generation drifts outside the target symbolic structure.
“Second, while the number of completion tokens is typically stable when the model adheres to the expected output format, it increases noticeably when generation drifts outside the target symbolic structure, for instance due to redundant or malformed outputs (commonly referred to as hallucinations).”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataImposing output grammars (structured decoding) improves both reliability (higher F1-score and perfect extraction rate) and efficiency (lower or stable token usage and energy consumption).
“As shown in Figure 2, imposing output grammars (thus enforcing structured decoding) acts as a high-leverage control mechanism that improves both reliability (higher F1-score and perfect extraction rate) and efficiency (lower or stable token usage and energy consumption).”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataJSON-style constrained generation with LLaMA 3 70B achieves the highest F1-scores and perfect rates overall, but at the cost of significantly higher completion token counts and increased energy consumption.
“In contrast, JSON-style constrained generation with LLaMA 3 70B achieves the highest F1-scores and perfect rates overall, but at the cost of significantly higher completion token counts and, consequently, increased energy consumption.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataWithout an output grammar, LLMASP A1 on 8B exhibits substantial redundancy (D = 4,556) alongside elevated FP (7,103).
“Without an output grammar, LLMASP 𝐴1 on 8B exhibits substantial redundancy (D = 4,556) alongside elevated FP (7,103), suggesting that when the generator is noisy, downstream reasoning can amplify the volume of candidate facts and their repetitions.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataThe effect of output grammars is particularly evident for non-JSON grammars, which maintain strong extraction quality while substantially reducing the number of generated completion tokens.
“This effect is particularly evident for non-JSON grammars, which maintain strong extraction quality while substantially reducing the number of generated completion tokens.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown data[CSV] LLMASP A2 scores F1 macro = 0.966 and Perfect = 0.689.
“CSV also achieves remarkable performance: [CSV] LLMASP 𝐴2 scores 𝐹 1 macro = 0.966 and Perfect = 0.689; [CSV] LLMASP+KB 𝐴2 , instead, scores 𝐹 1 macro = 0.968 and Perfect = 0.701.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataThe A2 baseline (LLM A2) exhibits 12,739 false positives and 3,549 duplicates.
“The A2 baseline (LLM 𝐴2 ) exhibits 12,739 false positives and 3,549 duplicates.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataFor A1, Datalog yields a slight macro-F1 improvement for vanilla baselines (0.696 vs. 0.686) but with a decrease in the perfect rate.
“For A1, CSV and JSON exhibit a reduction in macro F1-score (to 0.656 and 0.588, respectively), whereas Datalog yields a slight macro-F1 improvement (0.696 vs. 0.686) but with a decrease in the perfect rate.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataConstraining the A2 baseline with a JSON grammar yields a sharp reduction in hallucinations (FP: from 12,739 to 3,237; D: from 3,549 to 530; D_uniq from 1,067 to 419), albeit with a clear precision-recall trade-off (TP decreases and FN increases).
“Constraining it with a JSON grammar ([JSON] LLM 𝐴2 ) yields a sharp reduction in hallucinations (FP: from 12,739 to 3,237; D: from 3,549 to 530; and 𝐷 uniq from 1,067 to 419), albeit with a clear precision-recall trade-off (TP decreases and FN increases).”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataOutput grammars mitigate the redundancy failure mode decisively: JSON reduces duplicates by more than an order of magnitude (from 4,556 down to 368) and also lowers FP (from 7,103 to 5,143).
“Output grammars mitigate this failure mode decisively: JSON reduces duplicates by more than an order of magnitude (from 4,556 down to 368) and also lowers FP (from 7,103 to 5,143).”
Quote in the paperSubstantial claimMay combine two claims.
Findingnone givenThe dataset contains 512 problem instances distributed across 16 domains, with 32 instances per domain.
“The dataset contains 512 problem instances distributed across 16 domains, with 32 instances per domain.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
Findingnone givenThe ASP solver yields D_out = { answer(blazer, color, blue), answer(blazer, color, black)}.
“the ASP solver yields 𝐷 out = { answer(blazer, color, blue), answer(blazer, color, black)}.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown data[CSV] LLMASP+KB A2 scores F1 macro = 0.968 and Perfect = 0.701.
“CSV also achieves remarkable performance: [CSV] LLMASP 𝐴2 scores 𝐹 1 macro = 0.966 and Perfect = 0.689; [CSV] LLMASP+KB 𝐴2 , instead, scores 𝐹 1 macro = 0.968 and Perfect = 0.701.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataGrammar-constrained decoding improves robustness and scalability while preserving or improving extraction quality.
“We present an extensive experimental evaluation on benchmarks derived from ASP Competitions, demonstrating that grammar-constrained decoding improves robustness and scalability while preserving or improving extraction quality.”
Quote in the paperSubstantial claim- Rests on an assumption: The benchmarks derived from ASP Competitions are representative of structured knowledge extraction tasks in general.
May combine two claims.
Findingown dataProviding light guidance improves extraction performance (F1-scores reaching 0.491 for 8B and 0.806 for 70B).
“This provides the LLM with a light form of guidance and improves extraction performance (F1-scores reaching 0.491 for 8B and 0.806 for 70B).”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataWith A1, the gains from structured outputs are smaller but still visible: JSON and Datalog reduce FP relative to LLM A1, whereas CSV increases FP.
“With A1, the gains are smaller but still visible: JSON and Datalog reduce FP relative to LLM 𝐴1 , whereas CSV increases FP, indicating that not all structured formats uniformly constrain the generator under weaker prompting.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataIntegrating the knowledge base with LLMASP yields an additional increase in performance, with F1-scores reaching 0.823 and 0.927 for LLMASP+KB A1, and 0.863 and 0.965 for LLMASP+KB A2.
“The integration of this knowledge base with LLMASP yields an additional increase in performance, with F1-scores reaching 0.823 and 0.927 for LLMASP+KB 𝐴1 , and 0.863 and 0.965 for LLMASP+KB 𝐴2 .”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataJSON yields the highest extraction accuracy but incurs substantial token overhead, while the Datalog grammar exhibits lower robustness during generation.
“JSON yields the highest extraction accuracy but incurs substantial token overhead, while the Datalog grammar exhibits lower robustness during generation.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataThe micro-F1 and macro F1-scores from the previous experiments are highly correlated (r = 0.90, p < 0.001), but there are some minor misalignments.
“Although the micro-F1 and macro F1-scores from our previous experiments are highly correlated (𝑟 = 0.90, 𝑝 < 0.001), we observe some minor misalignments.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataFor the vanilla A2 setting, both CSV and JSON improve macro F1 (to 0.909 and 0.913) and substantially raise the perfect rate (to 0.596 and 0.664, respectively).
“For the vanilla A2 setting, both CSV and JSON also improve macro F1 (to 0.909 and 0.913) and substantially raise the perfect rate (to 0.596 and 0.664, respectively).”
Quote in the paperSubstantial claimThe quote only partly states this claim.
Findingown dataThe vanilla (non-LLMASP) baselines exhibit a similar overall tendency of performance degradation with grammar constraints, though not uniformly across grammars.
“The vanilla (non-LLMASP) baselines exhibit a similar overall tendency, though not uniformly across grammars.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataCSV for the A2 baseline reduces hallucinations substantially (FP: from 12,739 to 5,414; D: from 3,549 to 773; D_uniq from 1,067 to 659) while also improving coverage (TP: 17,364 to 18,147; FN: 6,396 to 5,613).
“CSV, by contrast, achieves an overall performance improvement: it reduces hallucinations substantially (FP: from 12,739 to 5,414; D: from 3,549 to 773; and 𝐷 uniq from 1,067 to 659) while also improving coverage (TP: 17,364 to 18,147; and FN: 6,396 to 5,613).”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataFor LLMASP+KB under A2, JSON scores F1 macro = 0.978 and Perfect = 0.738, vs. F1 macro = 0.965 and Perfect = 0.701 for unconstrained LLMASP+KB.
“For LLMASP+KB, JSON scores 𝐹 1 macro = 0.978 and Perfect = 0.738 (vs.𝐹 1 macro = 0.965 and Perfect = 0.701 for unconstrained LLMASP+KB).”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataFor LLMASP without knowledge base support under A2, JSON scores F1 macro = 0.977 and Perfect = 0.734, vs. F1 macro = 0.963 and Perfect = 0.674 for unconstrained LLMASP.
“For LLMASP without knowledge base support, JSON scores 𝐹 1 macro = 0.977 and Perfect = 0.734 (vs.𝐹 1 macro = 0.963 and Perfect = 0.674 for unconstrained LLMASP).”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataGrammar-constrained generation still modulates both extraction performance and hallucination rate.
“Yet, grammar-constrained generation still modulates both extraction performance and hallucination rate.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataCSV-based grammar-constrained configurations achieve performance comparable to unconstrained LLMASP while significantly reducing completion tokens and energy consumption.
“Grammar-constrained configurations based on the CSV format consistently achieve performance comparable to unconstrained LLMASP while significantly reducing completion tokens and energy consumption.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataJSON typically achieves a better reduction in false positives and duplicates, but at the same time, it exhibits a higher number of false negatives and a lower number of true positives compared to CSV.
“JSON typically achieves a better reduction in false positives and duplicates, but at the same time, it exhibits a higher number of false negatives and a lower number of true positives compared to CSV.”
Quote in the paperNot a substantial claimMay combine two claims.
FindingreasoningWhen configurations are supported by a knowledge base, the impact of grammar-constrained generation in reducing hallucinations and duplicates is less noticeable, and it often comes with a reduction in the number of true positives.
“When we turn to configurations supported by a knowledge base, the impact of grammar-constrained generation in reducing hallucinations and duplicates is less noticeable, and it often comes with a reduction in the number of true positives.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataThe most challenging domains for CSV-based configurations are Graph Colouring (GC) and Incremental Scheduling (IS), accounting for 90% of false positives and 93% of duplicates generated by [CSV] LLMASP A2.
“In particular, we find that the most challenging domains for CSV-based configurations are Graph Colouring (GC) and Incremental Scheduling (IS)-accounting for 90% of false positives and 93% of duplicates generated by [CSV] LLMASP 𝐴2 .”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataFor LLMASP A1, JSON reduces FP to 870, and both D and D_uniq to 65, at the cost of a lower number of TP and a higher number of FN.
“For LLMASP 𝐴1 , JSON reduces FP to 870, and both D and 𝐷 uniq to 65, at the cost of a lower number of TP and a higher number of FN.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataIn A2, JSON yields the lowest hallucination burden among the LLMASP variants (FP: from 8,789 to 3,867; D: from 1,105 to 345), with the expected cost in FN.
“In A2, the same trend persists: JSON yields the lowest hallucination burden among the LLMASP variants (FP: from 8,789 to 3,867; D: from 1,105 to 345), with the expected cost in FN.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataUse of a knowledge base helps mitigate energy consumption and execution time, though the effect is mediated by the grammar employed.
“Such an analysis shows that the use of a knowledge base helps mitigate energy consumption and execution time, although the effect is mediated by the grammar employed.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataWhile the number of unique duplicates is reduced compared to the unconstrained LLMASP A2 (645), the total number of duplicates more than doubled for [CSV] LLMASP A2.
“While the number of unique duplicates is reduced compared to the unconstrained LLMASP 𝐴2 (645), the total number of duplicates more than doubled.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataLLMASP significantly improves both precision and recall by decomposing the extraction task into focused, predicate-level queries guided by structured prompt templates.
“By decomposing the extraction task into focused, predicatelevel queries guided by structured prompt templates, LLMASP significantly improves both precision and recall.”
Quote in the paperSubstantial claimMay combine two claims.
FindingreasoningLLMASP reduces the burden on the LLM and recovers facts that are logically entailed but often omitted during extraction by delegating derivation of implicit or structurally regular facts to an ASP solver.
“By delegating the derivation of implicit or structurally regular facts to an ASP solver, LLMASP reduces the burden on the LLM and recovers facts that are logically entailed but often omitted during extraction.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataFor LLMASP A2, CSV yields the highest coverage (TP = 23,533 and FN = 227), whereas JSON yields the lowest D and D_uniq (= 122).
“For LLMASP 𝐴2 , CSV yields the highest coverage (TP = 23,533 and FN = 227), whereas JSON yields the lowest D and 𝐷 uniq (= 122).”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown data[CSV] LLMASP A2 achieves F1=0.966 at E=49.3×10^5 J, reducing energy expenditure by nearly 20% compared to unconstrained LLMASP A2.
“For instance, unconstrained LLMASP 𝐴2 (LLaMA 3 70B) achieves 𝐹 1 = 0.963 at an energy cost of 𝐸 = 61.4× 10 5 J, whereas [CSV] LLMASP 𝐴2 achieves comparable performance (𝐹 1 = 0.966) while reducing energy expenditure by nearly 20% (𝐸 = 49.3 × 10 5 J).”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataFor singlecall configurations, CSV achieves the best overall performance, followed by JSON, with both the A1 and A2 application files.
“For singlecall configurations, CSV achieves the best overall performance, followed by JSON, with both the A1 and A2 application files.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataLLMASP improves over single-call baselines across almost all metrics, increasing extraction performance and decreasing the hallucination rate.
“LLMASP improves over single-call baselines across almost all metrics, increasing extraction performance and decreasing the hallucination rate.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataCSV grammar maintains performance metrics on par with unconstrained LLMASP while keeping computational overhead comparable to single-call LLM strategies.
“It maintains performance metrics on par with unconstrained LLMASP while keeping computational overhead comparable to single-call LLM strategies.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataDatalog achieves similar (though slightly weaker) duplicate suppression (D = 400), while CSV offers only a partial improvement (D = 581) and does not reduce FP relative to the LLMASP A1 baseline.
“Similar (though slightly weaker) duplicate suppression is achieved by Datalog (D = 400), while CSV offers only a partial improvement (D = 581) and does not reduce FP relative to the LLMASP 𝐴1 baseline.”
Quote in the paperSubstantial claimMay combine two claims.
Findingnone givenThe 70B model is inherently less prone to redundancy, yet structured constraints remain impactful.
“The 70B model is inherently less prone to redundancy, yet structured constraints remain impactful.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataThe knowledge base greatly improves performance in the LLaMA 8B powered configurations, which are more error-prone than the 70B ones.
“In Appendix B, we show that the knowledge base greatly improves performance in the LLaMA 8B powered configurations, which are more error-prone than the 70B ones.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataA large portion of false positives stem from symmetry canonicalization issues (such as argument order in link/2 predicates for GC) or ungrounded placeholder generations (such as outputting deadline(job,NONE)) in IS.
“A large portion of false positives stem from symmetry canonicalization issues (such as argument order in link/2 predicates for GC) or ungrounded placeholder generations (such as outputting deadline(job,NONE)) in IS.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataJSON-constrained configurations offer a marginal 1.1% gain in extraction performance but consume up to 133% more energy than CSV-constrained setups.
“In contrast, the marginal 1.1% gain in extraction performance offered by JSON-constrained configurations comes at a steep price, consuming up to 133% more energy than CSV-constrained setups.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataCSV typically maintains or boosts extraction performance while markedly cutting hallucinations.
“CSV typically maintains or boosts extraction performance while markedly cutting hallucinations, whereas JSON is usually the most aggressive at removing duplicates and false positives, occasionally resulting in a higher number of false negatives, but frequently reaching the overall best performance.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataThe number of duplicates for [CSV] LLMASP A2 and [CSV] LLMASP+KB A2 remain basically the same, showing that the root of the error does not lie in any of the four domains supported by the knowledge base.
“Another interesting observation from Table 4 regards the number of duplicates for [CSV] LLMASP 𝐴2 and [CSV] LLMASP+KB 𝐴2 : they remain basically the same, showing that the root of the error does not lie in any of the four domains supported by the knowledge base.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataRelative to the baseline, while both precision and recall increase, the recall reaches values close to one in almost all 70B configurations (often R ≥ 0.995).
“relative to the baseline, while both precision and recall increase, the recall reaches values close to one in almost all 70B configurations (often 𝑅 ≥ 0.995)”
Quote in the paperSubstantial claimMay combine two claims.
FindingreasoningFor the 8B model, A2+KB is systematically competitive with (and in several configurations slightly above) A1+KB.
“for the 8B model, A2+KB is systematically competitive with (and in several configurations slightly above) A1+KB”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataJSON under A2+KB yields a stronger quality point (F1 macro = 0.925, Perfect Rate = 0.133) but is less efficient than CSV/Datalog due to longer completions.
“JSON under A2+KB yields a stronger quality point (𝐹 1 macro = 0.925, Perfect Rate = 0.133) but is less efficient than CSV/Datalog due to longer completions.”
Quote in the paperSubstantial claimMay combine two claims.
FindingreasoningOur grammar-constrained approach provides a robust mechanism to guarantee syntactic correctness while drastically minimizing completion token usage and latency.
“Consequently, our grammar-constrained approach provides a robust mechanism to guarantee syntactic correctness while drastically minimizing completion token usage and latency.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataWithin A1+KB, grammatical constraints primarily act as a precision mechanism: FP drops monotonically from 980 (unconstrained) to 366 (JSON), but this comes with a recall penalty (FN rises from 637 to 1086).
“Within A1+KB, grammatical constraints primarily act as a precision mechanism: FP drops monotonically from 980 (unconstrained) to 366 (JSON), but this comes with a recall penalty (FN rises from 637 to 1086)”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataA1+KB attains even lower energy (approximately 1.94 × 10 5 J), largely due to shorter prompts, but at a clear cost in accuracy and executability (Table 10).
“A1+KB attains even lower energy (approximately 1.94 × 10 5 J), largely due to shorter prompts, but at a clear cost in accuracy and executability (Table 10).”
Quote in the paperSubstantial claimMay combine two claims.
FindingreasoningThese gains are largely driven by increased recall, while precision remains essentially unchanged.
“These gains are largely driven by increased recall, while precision remains essentially unchanged.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataUnder A2+KB, grammars are particularly beneficial: CSV and JSON reduce FP from 338 to 145/133 and simultaneously reduce FN from 35 to 24, with a slight increase in TP (to 12324).
“Under A2+KB, grammars are particularly beneficial: CSV and JSON reduce FP from 338 to 145/133 and simultaneously reduce FN from 35 to 24, with a slight increase in TP (to 12324).”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataThe strongest improvement is obtained by the unconstrained A2+KB configuration: F1 increases from 0.778 (baseline and larger model) to 0.955, while the perfect extraction rate rises from 0.055 to 0.344.
“The strongest improvement is obtained by the unconstrained A2+KB configuration: F1 increases from 0.778 (baseline and larger model) to 0.955, while the perfect extraction rate rises from 0.055 to 0.344.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataCompact grammars such as CSV substantially reduce completion tokens and energy consumption while preserving, and in some cases improving, extraction accuracy.
“Compact grammars such as CSV substantially reduce completion tokens and energy consumption while preserving, and in some cases improving, extraction accuracy.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataJSON-based configurations consistently yield among the highest accuracy and the lowest hallucination rates.
“JSON-based configurations, although more verbose and energy consuming, consistently yield among the highest accuracy and the lowest hallucination rates, suggesting that stronger structural constraints can guide large models toward more faithful and stable completions.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataRelative to the baseline, A2+KB reduces completion length from 172470 to 54652 tokens and decreases energy consumption from 6.46 × 10 5 J to 3.63 × 10 5 J, while also lowering runtime (Table 12).
“Relative to the baseline, A2+KB reduces completion length from 172470 to 54652 tokens and decreases energy consumption from 6.46 × 10 5 J to 3.63 × 10 5 J, while also lowering runtime (Table 12).”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataAugmenting the pipeline with the KB pushes performance close to saturation under both prompt strategies: A1+KB reaches F1 ∈ [0.980, 0.988] and A2+KB reaches F1 ∈ [0.980, 0.985].
“Augmenting the pipeline with the KB pushes performance close to saturation under both prompt strategies: A1+KB reaches 𝐹 1 ∈ [0.980, 0.988] and A2+KB reaches 𝐹 1 ∈ [0.980, 0.985].”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataUnder A2+KB, adding CSV/Datalog/JSON increases FN relative to the unconstrained KB setting, with no compensating reduction in FP for 8B.
“Under A2+KB, this sensitivity is even more apparent: adding CSV/Datalog/JSON increases FN relative to the unconstrained KB setting, with no compensating reduction in FP for 8B.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataCompared to [JSON] LLMASP A2 (FP=114, FN=490), A1+KB reduces omissions sharply (FN=134) at the cost of higher FP (233); imposing a grammar, especially JSON, largely removes this cost (FP drops to 129 while keeping FN near the A1+KB level).
“Compared to [JSON] LLMASP 𝐴2 (FP=114, FN=490), A1+KB reduces omissions sharply (FN=134) at the cost of higher FP (233); imposing a grammar, especially JSON, largely removes this cost (FP drops to 129 while keeping FN near the A1+KB level).”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataSokoban (S) and Incremental Scheduling (IS) are the toughest domains for perfect extraction, despite our approaches obtaining remarkably high overall F1-scores on them.
“Conversely, Sokoban (S) and Incremental Scheduling (IS) are the toughest domains for perfect extraction, despite our approaches obtaining remarkably high overall F1-scores on them.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
FindingreasoningWhile not explicitly mentioned in the input text, the existence of stone/1 is logically implied by other contextual clues.
“While not explicitly mentioned in the input text, its existence is logically implied by other contextual clues.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown data[JSON] LLM A2, despite retrieving almost 100 fewer true positives, manages to perfectly recover 20/32 instances on Sokoban.
“In constrast, [JSON] LLM 𝐴2 , despite retrieving almost 100 fewer true positives, manages to perfectly recover 20/32 instances.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S2 (checkable), S3 (load-bearing).
FindingreasoningI is beneficial.
“I is also beneficial”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataConnected Maximum-density Still Life (CMSL) is a relatively simple domain, where the LLM baseline already achieves perfect extraction.
“The data indicates that Connected Maximum-density Still Life (CMSL) is a relatively simple domain, where the LLM baseline already achieves perfect extraction.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingnone givenIn Graph Colouring, the A1 applications are highly effective, with the JSON specification yielding zero false positives.
“In Graph Colouring, the A1 applications are highly effective, with the JSON specification yielding zero false positives.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataIn the Incremental Scheduling domain, the model hallucinates job/1 predicates when the text entails a job without explicitly declaring it, and invents ungrounded predicates like deadline(job, NONE).
“In the Incremental Scheduling domain, we observe similar failure modes: the model hallucinates job/1 predicates when the text entails a job without explicitly declaring it, and invents ungrounded predicates like deadline(job, NONE).”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown data[CSV] LLMASP A2 generates a total of 2,983 false positives across all 16 domains; yet, Graph Colouring (FP=1,639) and Incremental Scheduling (FP=1,033) account for roughly 89.6% of them.
“For example, [CSV] LLMASP 𝐴2 generates a total of 2,983 false positives across all 16 domains; yet, Graph Colouring (FP=1,639) and Incremental Scheduling (FP=1,033) account for roughly 89.6% of them.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
FindingreasoningUsing A2 instead of A1 yields a small improvement.
“while we acknowledge a small improvement in using A2 instead of A1 (possibly thanks to some contextualized examples)”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataOn Sokoban, LLMASP+KB A2 correctly extracts all predicates (TP=1400), achieving perfect recall.
“On Sokoban, LLMASP+KB 𝐴2 correctly extracts all predicates (TP=1400), achieving perfect recall.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingnone givenF is not necessary and may even confuse the 8b model.
“F is not necessary and may even confuse the 8b model”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataCrossing Minimization (CM) and Partner Units (PU) are nearly completely resolved by LLMASP, succeeding where the baseline LLM fails.
“Crossing Minimization (CM) and Partner Units (PU) are nearly completely resolved by LLMASP, succeeding where the baseline LLM fails.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataKB-supported configurations can reduce completion tokens dramatically (e.g., from 233164 to 30725 under A2+KB with CSV) and reduce energy from 5.46×10^6 J to 8.12×10^5 J (an 85% decrease), while cutting runtime from 2.06×10^4 s to 3.24×10^3 s.
“Figure 7 and Table 12 show that KB-supported configurations can reduce completion tokens dramatically (e.g., from 233164 to 30725 under A2+KB with CSV) and, correspondingly, reduce energy from 5.46 × 10 6 J to 8.12 × 10 5 J (an 85% decrease), while cutting runtime from 2.06 × 10 4 s to 3.24 × 10 3 s.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataFor VLP, the baseline [CSV] LLM A2 performs best, while its JSON counterpart performs worst.
“For VLP, the baseline [CSV] LLM 𝐴2 performs best, while its JSON counterpart performs worst.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataWhen applied to [CSV] LLMASP A2, the post-processing rules decreased the number of false positives from 1,639 to 433 in the Graph Colouring domain and from 1,033 to 309 in the Incremental Scheduling domain, increasing the overall F1-score from 0.966 to 0.980.
“When applied to [CSV] LLMASP 𝐴2 , these few simple rules decreased the number of false positives from 1,639 to 433 in the Graph Colouring domain and from 1,033 to 309 in the Incremental Scheduling domain, increasing the overall F1-score from 0.966 to 0.980.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
Findingown dataThis error mode happens in less than 10 instances.
“It is interesting that this error mode happens in less than 10 instances.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataOn Sokoban, LLMASP+KB A2 is accompanied by a persistent rate of false positives-at least one per instance-which drops its perfect recovery rate to zero.
“However, this is accompanied by a persistent rate of false positives-at least one per instance-which drops its perfect recovery rate to zero.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataDatalog is the least attractive option in this regime: under A2+KB it combines a substantial quality drop (F1 macro = 0.937, Perfect Rate = 0.273) with a pronounced energy/time increase relative to the other KB grammars.
“Finally, Datalog is the least attractive option in this regime: under A2+KB it combines a substantial quality drop (𝐹 1 macro = 0.937, Perfect Rate = 0.273) with a pronounced energy/time increase relative to the other KB grammars”
Quote in the paperSubstantial claimMay combine two claims.
Findingnone givenA2 configurations not only reach higher absolute F1-scores, but they also reduce the variance in performance across different arities, effectively stabilizing extraction accuracy for the 70B model.
“Finally, A2 configurations not only reach higher absolute F1-scores, but they also reduce the variance in performance across different arities, effectively stabilizing extraction accuracy for the 70B model.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataEIN remains competitive (and often best) across A1/A2 and model scales.
“Notably, EIN remains competitive (and often best) across A1/A2 and model scales.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataJSON under A2+KB yields the best perfect extraction rate (0.727), slightly surpassing the baseline (0.719), while maintaining essentially the same F1 (0.984); however, this comes at higher energy than CSV due to longer completions (2.03×10^6 J).
“JSON under A2+KB yields the best perfect extraction rate (0.727), slightly surpassing the baseline (0.719), while maintaining essentially the same F1 (0.984); however, this comes at higher energy than CSV due to longer completions (2.03 × 10 6 J).”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataUnder A2+KB, CSV attains the highest macro F1 (0.985) with the lowest energy (8.12×10^5 J), but reduces the perfect rate to 0.602.
“Under A2+KB, CSV attains the highest macro F1 (0.985) with the lowest energy (8.12 × 10 5 J), but reduces the perfect rate to 0.602 (Table 10).”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataGraph Colouring (GC) exhibits an unusual pattern: LLMASP with A1 can fully extract up to 27/32 instances, while LLMASP with A2 fails entirely on this strict metric.
“Graph Colouring (GC) exhibits an unusual pattern: LLMASP with A1 can fully extract up to 27/32 instances, while LLMASP with A2 fails entirely on this strict metric.”
Quote in the paperNot a substantial claimMay combine two claims.
InterpretationreasoningAnswer-like outputs from an unconstrained LLM are not entailed by the input and do not correspond to information explicitly stated or requested by the user.
“These outputs are not entailed by the input and do not correspond to information explicitly stated or requested by the user.”
Quote in the paperSubstantial claimMay combine two claims.
InterpretationreasoningMixed outputs that embed correct facts within explanatory or conversational text violate the intended symbolic interface, increase the number of completion tokens, and complicate downstream parsing.
“Such mixed outputs violate the intended symbolic interface, increase the number of completion tokens, and complicate downstream parsing.”
Quote in the paperSubstantial claimMay combine two claims.
InterpretationreasoningUnconstrained generation simultaneously harms correctness and computational efficiency.
“As a result, unconstrained generation simultaneously harms correctness and computational efficiency.”
Quote in the paperSubstantial claimClassified as probably not a substantial claim.
PremisecitationGrammar-constrained decoding restricts the output of a language model to strings that conform to a predefined formal grammar, such as grammars expressed in Backus-Naur Form (BNF).
“Grammar-constrained decoding restricts the output of a language model to strings that conform to a predefined formal grammar, such as grammars expressed in Backus-Naur Form (BNF) (Backus et al. 1963).”
Quote in the paperSubstantial claim0 of 1 sources checked- cites Backus et al. 1963
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
May combine two claims.
InterpretationreasoningBeyond degrading extraction accuracy, answer-oriented generation also increases the number of generated completion tokens, as the model produces content that goes beyond the intended symbolic encoding of the request.
“Beyond degrading extraction accuracy, answer-oriented generation also increases the number of generated completion tokens, as the model produces content that goes beyond the intended symbolic encoding of the request.”
Quote in the paperNot a substantial claimMay combine two claims.
InterpretationreasoningAnswer-oriented generation results in hallucinated facts and undermines both the correctness and the efficiency of the extraction pipeline.
“Such behavior results in hallucinated facts and undermines both the correctness and the efficiency of the extraction pipeline.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S4 (based).
Study design and conductnone givenUsing static, expert-written ASP rules guarantees determinism, safety, and correctness.
“These facts are then processed by static, expert-written ASP rules, guaranteeing determinism, safety, and correctness.”
Quote in the paperNot a substantial claim- Rests on an assumption: The expert-written ASP rules are correct.
Classified as probably not a substantial claim. May combine two claims.
Interpretationnone givenThe lightweight CSV-like format is line-oriented, compact, and closely matches the structure expected by the ASP backend.
“This format is line-oriented, compact, and closely matches the structure expected by the ASP backend.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
InterpretationreasoningDifferent runs of grammar-constrained decoding may produce different strings in G*, even under the same prompt.
“Different runs may therefore produce different strings in 𝐺 * , even under the same prompt.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based). May combine two claims.
Interpretationnone givenCombined with grammar-constrained decoding, these prompt design choices reduce spurious generations and simplify post-processing.
“Combined with grammar-constrained decoding, these prompt design choices reduce spurious generations and simplify post-processing.”
Quote in the paperNot a substantial claimMay combine two claims.
Interpretationown dataLightweight grammar formats such as CSV preserve or improve extraction quality while significantly reducing generation cost, making them particularly well suited for large-scale and cost-sensitive neuro-symbolic applications.
“Lightweight grammar formats such as CSV preserve or improve extraction quality while significantly reducing generation cost, making them particularly well suited for large-scale and cost-sensitive neuro-symbolic applications.”
Quote in the paperSubstantial claim- Rests on an assumption: The benchmarks derived from ASP Competitions are representative of structured knowledge extraction tasks in general.
Probably not a substantial claim: may not pass S3 (load-bearing).
InterpretationreasoningAccumulating prompt and completion tokens from each LLM call enables fine-grained analysis of generation cost.
“Prompt and completion tokens generated by each call are accumulated in 𝑡 in and 𝑡 out (lines 3-4 and 11-12), respectively, enabling a fine-grained analysis of generation cost.”
Quote in the paperNot a substantial claimClassified as probably not a substantial claim. May combine two claims.
Interpretationnone givenGrammar-constrained decoding remains stochastic: at each generation step, the model samples among the admissible next tokens allowed by the grammar according to its learned probability distribution, so the grammar restricts which tokens may be generated but does not fix which admissible token is chosen.
“Grammar-constrained decoding remains stochastic: at each generation step, the model samples among the admissible next tokens allowed by the grammar according to its learned probability distribution.”
- Also stated in: § 2 Background 2.1 Chat Completion with Large Language Models · plain
“The grammar restricts which tokens may be generated, but does not fix which admissible token is chosen.”
Quote in the paperSubstantial claim- Also stated in: § 2 Background 2.1 Chat Completion with Large Language Models · plain
Classified as probably not a substantial claim.
Interpretationnone givenIn the LLMASP setting, grammars act as an explicit interface between LLM generation and ASP reasoning, enforcing alignment between generated text and the target symbolic representation.
“In our setting, grammars act as an explicit interface between LLM generation and ASP reasoning, enforcing alignment between generated text and the target symbolic representation.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
PremisereasoningA1 is strictly contained in A2.
“showing that A1 is strictly contained in A2”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
Interpretationnone givenJSON format introduces additional syntactic overhead for simple relational data.
“While expressive, this format introduces additional syntactic overhead for simple relational data.”
Quote in the paperNot a substantial claimMay combine two claims.
Interpretationown dataIf limited to the A2 application file, both JSON and CSV grammars offer performance improvements, with CSV also providing the lowest energy costs.
“If we limit our considerations to the A2 application file, both JSON and CSV grammars offer performance improvements, with CSV also providing the lowest energy costs.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.
InterpretationreasoningStep P3 is expected to extract a fact only for the predicate ask/2, namely ask(blazer, color), while the remaining extraction calls return no facts.
“In this case, Step P3 is expected to extract a fact only for the predicate ask/2, namely ask(blazer, color), while the remaining extraction calls return no facts.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
Interpretationnone givenThe LLMASP framework is model-agnostic and can be instantiated with any language model supported by the Ollama framework that exposes a chat-completion interface.
“However, the LLMASP framework is model-agnostic and can be instantiated with any language model supported by the Ollama framework that exposes a chat-completion interface.”
Quote in the paperNot a substantial claimMay combine two claims.
InterpretationreasoningReduction in completion tokens by CSV directly translates to lower energy consumption and faster processing.
“Compact grammars, specifically CSV, consistently reduce completion tokens, directly translating to lower energy consumption and faster processing.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationown dataConstraining LLM generation via a compact grammar, such as CSV, is an effective design choice for mitigating energy consumption and speeding up execution time.
“In sum, the preceding analysis confirms that constraining LLM generation via a compact grammar, such as the CSV grammar, is an effective design choice for mitigating energy consumption and, consequently, speeding up execution time.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationown dataLightweight serialization constraints like CSV suppress redundant LLM generation, lowering operational overhead through strict completion truncation without compromising logical extraction fidelity.
“Ultimately, lightweight serialization constraints like CSV successfully suppress redundant LLM generation, lowering operational overhead through strict completion truncation without compromising logical extraction fidelity.”
Quote in the paperSubstantial claimMay combine two claims.
InterpretationreasoningOffloading extraction to symbolic logic structurally shrinks completion length while preserving precision.
“In Figure 3, the frontier is predictably dominated by KB-supported configurations, as offloading extraction to symbolic logic structurally shrinks completion length while preserving precision.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationown dataCSV emerges as the most balanced solution overall, offering strong accuracy with substantially lower energy consumption and dominating the Pareto front in most experimental settings.
“While JSON-based decoding achieves the highest extraction accuracy, CSV emerges as the most balanced solution overall, offering strong accuracy with substantially lower energy consumption and dominating the Pareto front in most experimental settings.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S4 (based). May combine two claims.
InterpretationreasoningThe 70B model is inherently more precise and less error-prone; furthermore, through the LLMASP framework, it already exhibits strong performance on the four domains coded in the knowledge base.
“This is because the 70B model is inherently more precise and less error-prone; furthermore, through the LLMASP framework, it already exhibits strong performance on the four domains coded in the knowledge base (see Appendix B for details).”
Quote in the paperNot a substantial claimMay combine two claims.
Interpretationown dataThe knowledge base reduces energy consumption and execution time, though this effect is not statistically significant.
“The coefficient for the integration of a knowledge base (𝛽 3 ) is negative for all models, suggesting that the knowledge base impacts energy consumption and execution time by reducing them, though this effect is not statistically significant.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S4 (based). May combine two claims.
InterpretationreasoningBy decoupling extraction from reasoning, the underlying ASP rules can be written once by domain experts, guaranteeing determinism, safety, and correctness, while the LLM handles the unstructured extraction directly.
“By decoupling extraction from reasoning, the underlying ASP rules can be written once by domain experts-guaranteeing determinism, safety, and correctness-while the LLM handles the unstructured extraction directly.”
Quote in the paperNot a substantial claim- Rests on an assumption: In industrial and enterprise applications, the domain logic and operational constraints remain static; it is the unstructured input data that varies.
Classified as probably not a substantial claim.
PremisereasoningPrior approaches primarily focus on end-to-end ASP program synthesis: mapping a natural language specification directly to a complete ASP program.
“These prior approaches, however, primarily focus on end-to-end ASP program synthesis: mapping a natural language specification directly to a complete ASP program.”
Quote in the paperSubstantial claimClassified as probably not a substantial claim.
Study design and conductnone givenThe analysis is restricted exclusively to the four domains where target representations can be partially derived via ASP and for which domain knowledge was explicitly encoded in the application files.
“To maintain a focused evaluation, this analysis is restricted exclusively to the four domains where target representations can be partially derived via ASP and for which domain knowledge was explicitly encoded in the application files.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationown dataOnce the pipeline is organized around extracting a compact seed set and delegating closure to ASP, the resulting fact bases become structurally more regular and free of repeated outputs.
“This indicates that, once the pipeline is organized around extracting a compact seed set and delegating closure to ASP, the resulting fact bases become structurally more regular and free of repeated outputs”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationown dataASP-based completion primarily reduces omission errors by deterministically reconstructing derivable structure from a compact seed set, and it yields highly non-redundant outputs.
“ASP-based completion primarily reduces omission errors by deterministically reconstructing derivable structure from a compact seed set, and it yields highly non-redundant outputs.”
Quote in the paperSubstantial claimMay combine two claims.
InterpretationreasoningLLMASP provides a practical, extensible, and energy-aware neuro-symbolic pipeline with the potential to serve as a foundational backbone for complex AI applications.
“Taken together, these results demonstrate that LLMASP provides a practical, extensible, and energy-aware neuro-symbolic pipeline with the potential to serve as a foundational backbone for complex AI applications.”
Quote in the paperSubstantial claimClassified as probably not a substantial claim. May combine two claims.
Interpretationnone givenLLMASP is designed around predicate-specific extraction, declarative configuration, and a clean separation between linguistic processing and symbolic inference.
“LLMASP is designed around predicate-specific extraction, declarative configuration, and a clean separation between linguistic processing and symbolic inference.”
Quote in the paperSubstantial claimClassified as probably not a substantial claim.
InterpretationreasoningLLMASP offers several benefits in terms of robustness, scalability, and interpretability over monolithic prompting strategies.
“By combining declarative configuration, structured decoding, and logical inference, LLMASP offers several benefits in terms of robustness, scalability, and interpretability over monolithic prompting strategies.”
Quote in the paperSubstantial claimClassified as probably not a substantial claim.
InterpretationreasoningFor the domain Labyrinth, instead of asking an LLM to directly extract the coordinates from the textual description, we can use an ASP knowledge base to derive them.
“Since the field is basically a grid 𝑁 × 𝑁 , instead of asking an LLM to directly extract the coordinates from the textual description, we can use an ASP knowledge base”
Quote in the paperSubstantial claim- Rests on an assumption: These problems can also be hard for LLMs.
Classified as probably not a substantial claim.
InterpretationreasoningOur method targets a deliberately narrower and highly efficient use case.
“While general-purpose frameworks like SynCode are powerful for complex, hierarchical CFGs, our method targets a deliberately narrower and highly efficient use case.”
Quote in the paperSubstantial claimMay combine two claims.
InterpretationreasoningFor LLaMA 8B, the KB already acts as a strong structural regularizer; additional grammatical constraints can reduce redundancy and enforce serialization discipline, but may simultaneously increase omission or formatting fragility because the LLM must output a minimal, correctness-critical set of seed facts.
“Overall, for LLaMA 8B, the KB already acts as a strong structural regularizer; additional grammatical constraints can reduce redundancy and enforce serialization discipline, but may simultaneously increase omission or formatting fragility because the LLM must output a minimal, correctness-critical set of seed facts.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationown dataFor a high-capacity model, structured constraints appear to suppress residual spurious seed facts while maintaining (and marginally improving) completeness.
“Thus, for a high-capacity model, structured constraints appear to suppress residual spurious seed facts while maintaining (and marginally improving) completeness.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationown dataSymbolic completion mitigates variability arising from incomplete extraction and yields more stable aggregate behavior across domains and prompting variants.
“consistent with the view that symbolic completion mitigates variability arising from incomplete extraction and yields more stable aggregate behavior across domains and prompting variants.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationown dataThe interaction with output grammars is model-dependent: for 8B, strict serialization can increase omissions in the KB regime, whereas for 70B it provides an additional lever for reducing hallucinations (FP) while preserving near-saturated recall.
“However, the interaction with output grammars is model-dependent: for 8B, strict serialization can increase omissions in the KB regime, whereas for 70B it provides an additional lever for reducing hallucinations (FP) while preserving near-saturated recall.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationown dataFor LLaMA 70B, KB support primarily strengthens coverage while preserving low hallucination rates, and grammars can further tighten precision without degrading recall.
“Here, KB support primarily strengthens coverage while preserving low hallucination rates, and grammars can further tighten precision without degrading recall.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationown dataIn this regime, the A2 prompt appears to stabilize extraction of the 'seed' facts required for KB closure, thereby enabling ASP to reconstruct the remaining consequences more reliably.
“In this regime, the A2 prompt appears to stabilize extraction of the”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationown dataOn these domains, the dominant benefit for the smaller model is the KB/ASP completion itself; additional output grammars can be counterproductive once the KB already provides a strong structural regularizer.
“Hence, on these domains, the dominant benefit for the smaller model is the KB/ASP completion itself; additional output grammars can be counterproductive once the KB already provides a strong structural regularizer.”
Quote in the paperSubstantial claimMay combine two claims.
InterpretationreasoningBy utilizing grammar-constrained decoding, we physically prevent the model from generating superfluous tokens, enabling predictable, low-cost, and syntactically well-formed outputs without requiring auxiliary models.
“By utilizing grammar-constrained decoding, we physically prevent the model from generating superfluous tokens, enabling predictable, low-cost, and syntactically well-formed outputs without requiring auxiliary models.”
Quote in the paperNot a substantial claimClassified as probably not a substantial claim.
Study design and conductreasoningWe only consider the domains Labyrinth (L), No Mystery (NM), Ricochet Robots (RR), and Sokoban (S), whose instances allow portions of the target representation to be derived by ASP once a subset of facts has been extracted.
“Specifically, we only consider the domains Labyrinth (L), No Mystery (NM), Ricochet Robots (RR), and Sokoban (S), whose instances allow portions of the target representation to be derived by ASP once a subset of facts has been extracted.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationown dataMore complex constraint regimes may impose overheads beyond raw token counts and may be unstable when the target representation is poorly aligned with the model's preferred serialization patterns.
“suggesting that more complex constraint regimes may impose overheads beyond raw token counts and may be unstable when the target representation is poorly aligned with the model's preferred serialization patterns.”
Quote in the paperSubstantial claimMay combine two claims.
InterpretationreasoningKB-supported ASP completion is a high-impact mechanism for smaller models: it substantially improves recall and executability by recovering logically entailed facts that would otherwise be omitted, directly addressing a dominant error mode in low-capacity settings.
“First, KB-supported ASP completion is a high-impact mechanism for smaller models: it substantially improves recall and executability by recovering logically entailed facts that would otherwise be omitted, directly addressing a dominant error mode in low-capacity settings.”
Quote in the paperSubstantial claim- Rests on an assumption: The knowledge base used in LLMASP+KB configurations is correct and contains the logically entailed facts needed for extraction.
May combine two claims.
Interpretationown dataThese failure modes are largely predictable and structurally sound.
“Fortunately, these failure modes are largely predictable and structurally sound.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationown dataWhile logically valid within the context of an undirected graph, strict information extraction requires absolute adherence to the positional constants of the canonical ground truth.
“While logically valid within the context of an undirected graph, strict information extraction requires absolute adherence to the positional constants of the canonical ground truth.”
Quote in the paperSubstantial claim- Rests on an assumption: The ground truth annotations are correct and canonical.
Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based). May combine two claims.
InterpretationreasoningBy implementing a postprocessing stage involving simple pattern matching, most of these obvious hallucinations could be easily filtered out, thereby increasing precision and, in turn, F1-score.
“By implementing a postprocessing stage involving simple pattern matching, most of these obvious hallucinations could be easily filtered out, thereby increasing precision and, in turn, F1-score.”
Quote in the paperNot a substantial claimMay combine two claims.
Interpretationown dataLLMASP systematically improves over single-call baselines, and grammar constraints are broadly beneficial.
“In summary, this error analysis demonstrates that (i) LLMASP systematically improves over single-call baselines, and grammar constraints are broadly beneficial;”
Quote in the paperSubstantial claimMay combine two claims.
InterpretationreasoningThe low F1-scores stem from a fundamental task mismatch: program synthesis is designed to generate problem-solving rules and solve instance logic end-to-end, whereas information extraction requires faithfully mapping unstructured text into ground facts conforming strictly to a predefined schema.
“This stems from a fundamental task mismatch: program synthesis is designed to generate problem-solving rules and solve instance logic end-to-end, whereas information extraction requires faithfully mapping unstructured text into ground facts conforming strictly to a predefined schema.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationown dataRecall has effectively plateaued; the remaining frontier for LLMASP is the strict reduction of hallucinations, a goal that grammar-constrained generation has already significantly advanced.
“This suggests that recall has effectively plateaued; the remaining frontier for LLMASP is the strict reduction of hallucinations, a goal that our grammar-constrained generation has already significantly advanced.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationown dataFor the larger model, KB support does not systematically increase F1; instead, its principal benefit is efficiency.
“Accordingly, KB support does not systematically increase F1; instead, its principal benefit is efficiency.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S4 (based). May combine two claims.
Study design and conductnone givenAll experiments are conducted under controlled conditions, and comparisons are made across identical datasets and configurations.
“All experiments are conducted under controlled conditions, and comparisons are made across identical datasets and configurations.”
Quote in the paperNot a substantial claimClassified as probably not a substantial claim.
Study design and conductreasoningFor the ablation study, LLaMA 3.1 70B was used instead of LLaMA 3.3 70B to ensure a completely uniform comparison with the 8B model size.
“Note that for this ablation study, we utilized LLaMA 3.1 70B instead of LLaMA 3.3 70B to ensure a completely uniform comparison with the 8B model size.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.
Study design and conductnone givenEnergy consumption and runtime are measured during execution, and regression analysis is used to study the relationship between token usage, grammar choice, knowledge base integration and energy cost.
“Energy consumption and runtime are measured during execution, and regression analysis is used to study the relationship between token usage, grammar choice, knowledge base integration and energy cost.”
Quote in the paperNot a substantial claim- Rests on an assumption: Energy consumption measured during execution is a valid proxy for computational cost.
May combine two claims.
Interpretationown dataFor larger models, the KB functions primarily as an efficiency instrument: quality is already high, but ASP-based completion enables large reductions in completion length, energy, and runtime without materially degrading F1, provided that the grammar/prompt combination does not hinder extraction of the seed facts required by the KB.
“Second, for larger models, the KB functions primarily as an efficiency instrument: quality is already high, but ASP-based completion enables large reductions in completion length, energy, and runtime without materially degrading F1, provided that the grammar/prompt combination does not hinder extraction of the seed facts required by the KB.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationown dataThe resulting errors are predictable and largely solvable via standard post-processing.
“(ii) the resulting errors are predictable and largely solvable via standard post-processing;”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
Study design and conductnone givenAll reported results aggregate multiple problem instances per domain and configuration.
“All reported results aggregate multiple problem instances per domain and configuration.”
Quote in the paperNot a substantial claimMay combine two claims.
Interpretationown dataWithin this design space, CSV and JSON emerge as complementary operating points: CSV is typically the most energy-efficient, whereas JSON more consistently maximizes perfect extraction, particularly on LLaMA 70B.
“Within this design space, CSV and JSON emerge as complementary operating points: CSV is typically the most energy-efficient, whereas JSON more consistently maximizes perfect extraction, particularly on LLaMA 70B.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationown dataWhile complex domains benefit from multi-call reasoning, highly literal domains may be more amenable to direct, single-pass extraction.
“This suggests that while complex domains benefit from multi-call reasoning, highly literal domains may be more amenable to direct, single-pass extraction.”
Quote in the paperSubstantial claim
The paper relies on this without support.
The expert-written ASP rules are correct.
“These facts are then processed by static, expert-written ASP rules, guaranteeing determinism, safety, and correctness.”
The paper relies on this without support.
Unconstrained LLM generation frequently produces hallucinations and extraneous text in structured extraction tasks.
“To illustrate the nature of such hallucinations, consider the following example in which LLMASP is used to support a virtual shop assistant in the fashion retail domain.”
The paper relies on this without support.
The benchmarks derived from ASP Competitions are representative of structured knowledge extraction tasks in general.
“We empirically evaluate the proposed grammars on benchmarks derived from ASP Competitions, considering 48 configurations obtained by combining two LLaMA models (8B and 70B), two application files, and four decoding strategies (unconstrained generation, Datalog grammar, JSON grammar, and CSV grammar).”
The paper relies on this without support.
All implementation choices are orthogonal to the abstract definition of LLMASP.
“All implementation choices are orthogonal to the abstract definition of LLMASP given in Section 3, and are reported here for reproducibility.”
The paper relies on this without support.
Ollama natively supports grammar-constrained decoding and exposes detailed token accounting, including the number of prompt and completion tokens consumed by each generation call.
“In particular, Ollama natively supports grammar-constrained decoding and exposes detailed token accounting, including the number of prompt and completion tokens consumed by each generation call.”
The paper relies on this without support.
At the time of writing, the /chat endpoint supports constrained generation only when the target output is expressed as arbitrary JSON or conforms to a provided JSON Schema.
“At the time of writing, the /chat endpoint supports constrained generation only when the target output is expressed as arbitrary JSON or conforms to a provided JSON Schema.6”
The paper relies on this without support.
Chat completion in Ollama follows a role-based interaction protocol, where each message is associated with a role (system, user, or assistant).
“Chat completion in Ollama follows a role-based interaction protocol.Each message is associated with a role, namely system, user, or assistant.”
The paper relies on this without support.
LLMs often lack the necessary understanding of logic, causality, and probabilistic inference to output provably factual text.
“While LLMs can effectively predict plausible text continuations, they often lack the necessary understanding of logic, causality, and probabilistic inference to output provably factual text.”
The paper relies on this without support.
These problems can also be hard for LLMs.
“These problems, can also be hard for LLMs.”
The paper relies on this without support.
In industrial and enterprise applications, the domain logic and operational constraints remain static; it is the unstructured input data that varies.
“In industrial and enterprise applications (e.g., warehouse inventory monitoring or automated recipe order-fulfillment), the domain logic and operational constraints remain static; it is the unstructured input data that varies.”
The paper relies on this without support.
Autoregressive generation scales linearly with sequence length.
“Because autoregressive generation scales linearly with sequence length, the number of generated completion tokens serves as an excellent proxy for energy consumption, as demonstrated by our experiments.”
The paper relies on this without support.
The ASP Competition benchmark domains and instances used are representative of structured knowledge extraction tasks.
“We assess structured fact extraction from natural language descriptions across multiple domains derived from ASP Competition benchmarks.”
The paper relies on this without support.
The knowledge base used in LLMASP+KB configurations is correct and contains the logically entailed facts needed for extraction.
“KB-supported ASP completion is a high-impact mechanism for smaller models: it substantially improves recall and executability by recovering logically entailed facts that would otherwise be omitted”
The paper relies on this without support.
The ground truth annotations are correct and canonical.
“strict information extraction requires absolute adherence to the positional constants of the canonical ground truth.”
The paper relies on this without support.
Energy consumption measured during execution is a valid proxy for computational cost.
“Energy consumption and runtime are measured during execution, and regression analysis is used to study the relationship between token usage, grammar choice, knowledge base integration and energy cost.”
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
Each contradiction between two passages listed here was confirmed by an independent check.
The CSV grammar excludes the instructed NONE response
MajorThe CSV few-shot prompt requires the model to reply `NONE` when information is absent. The stated CSV grammar permits only integers or identifiers beginning with a lowercase letter, so it cannot generate that response.
“Specifically, we provide few-shot examples (E), including the case where the information required is not present in the input and the model has to answer with NONE (N):”
“root ::= line (newline line)* (newline)?newline ::= "\n" line ::= cell ("," cell)* cell ::= integer | identifier integer ::= "-"? [0-9]+ identifier ::= [a-z][a-zA-Z0-9_]*”
The barrier rules derive a different location from the one claimed
MajorThe stated example extracts `barrier(x-1,y,x,y,west)` and says the rules derive `barrier(x-1,y,west)`. The symmetry rule reverses the two cells, after which the west rule derives `barrier(x,y,west)` instead.
“We therefore expect better results by first extracting a more syntactic fact such as barrier(x-1,y,x,y,west) and then employing ASP to generate the correct fact barrier(x-1,y,west).”
“barrier(X,Y,A,B,D) :-barrier(A,B,X,Y,D). barrier(X,Y,D) :-barrier(X,Y,X-1,Y,D), D == west.”
Knight Tour arity counts do not sum to its total
MinorTable 1 reports three facts for Knight Tour, but its counts for arities 1, 2, and 3 sum to one.
Reported 3 · recomputed 1
“| KT | Knight Tour | 3 | 1 | 0 | 0 |”
CSV does not reduce energy in every configuration
MinorThe paper claims CSV consistently reduces energy relative to unconstrained generation. For the 70B LLMASP+KB A2 configuration, Table 5 instead reports energy rising from 47.4 to 47.7 in its stated units.
“CSV is the only grammar that supports a consistent reduction in energy costs and completion tokens (compared to the unconstrained configurations) across all model sizes and configurations.”
“| LLMASP+KB 𝐴2 2.616 0.259 | 18.5 | 11.4 2.616 0.188 | 47.4 | 19.4 | | | [CSV] LLMASP+KB 𝐴2 2.840 0.176 | 9.9 | 7.7 | 2.841 0.133 | 47.7 | 19.6 |”
Cites
Language Models are Few-Shot Learners
Brown, T. B., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., et al. (2020) · arXiv · doi:10.48550/arxiv.2005.14165 · Cited by 23,372 · cited 2× · see citing works
“On the one hand, LLMs including GPT (Brown et al. 2020), PaLM (Chowdhery et al. 2023), and LLaMA (Touvron et al. 2023), have revitalized natural language processing (NLP), achieving unprecedented levels of fluency and task generality.”
LLaMA: Open and Efficient Foundation Language Models
Touvron, H., Lavril, T., Izacard, G., Martinet, X., Lachaux, M.-A., Lacroix, T., Rozière, B., Goyal, N., Hambro, E., Azhar, F., et al. (2023) · arXiv · doi:10.48550/arxiv.2302.13971 · Cited by 4,602 · cited 2× · see citing works
“On the one hand, LLMs including GPT (Brown et al. 2020), PaLM (Chowdhery et al. 2023), and LLaMA (Touvron et al. 2023), have revitalized natural language processing (NLP), achieving unprecedented levels of fluency and task generality.”
Chain-Of-Thought Prompting Elicits Reasoning in Large Language Models
Wei, J., Wang, X., Schuurmans, D., Bosma, M., Ichter, B., Xia, F., Chi, E., Le, Q. V., & Zhou, D. (2022) · Advances in Neural Information Processing Systems 35 · doi:10.52202/068431-1800 · Cited by 4,505 · see citing works
PaLM: Scaling Language Modeling with Pathways
Chowdhery, A., Narang, S., Devlin, J., Bosma, M., Mishra, G., Roberts, A., Barham, P., Chung, H. W., Sutton, C., Gehrmann, S., et al. (2022) · arXiv · doi:10.48550/arxiv.2204.02311 · Cited by 2,590 · cited 2× · see citing works
“On the one hand, LLMs including GPT (Brown et al. 2020), PaLM (Chowdhery et al. 2023), and LLaMA (Touvron et al. 2023), have revitalized natural language processing (NLP), achieving unprecedented levels of fluency and task generality.”
Language Models as Knowledge Bases?
Petroni, F., Rocktäschel, T., Riedel, S., Lewis, P., Bakhtin, A., Wu, Y., & Miller, A. (2019) · Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP) · doi:10.18653/v1/d19-1250 · Cited by 1,834 · cited 1× · see citing works
“Applications of seq2seq modeling range from machine translation (Dabre et al. 2020) and factual question answering (Petroni et al. 2019) to arithmetic reasoning (Hoffmann et al. 2022), text summarization (H. Zhang et al. 2019), and dialogue systems (Liu et al. 2022).”
Training Compute-Optimal Large Language Models
Hoffmann, J., Borgeaud, S., Mensch, A., Buchatskaya, E., Cai, T., Rutherford, E., Casas, D. D. L., Hendricks, L. A., Welbl, J., Clark, A., et al. (2022) · arXiv · doi:10.48550/arxiv.2203.15556 · Cited by 929 · see citing works
Logic programs with stable model semantics as a constraint programming paradigm
Niemelä, I. (1999) · Annals of Mathematics and Artificial Intelligence · doi:10.1023/a:1018930122475 · Cited by 837 · cited 1× · see citing works
“On the other hand, ASP (Marek and Truszczyński 1999; Niemelä 1999) is a declarative programming paradigm extending Datalog with answer set semantics (Gelfond and Lifschitz 1990).”
PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Models
Scholak, T., Schucher, N., & Bahdanau, D. (2021) · Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2021.emnlp-main.779 · Cited by 788 · cited 1× · see citing works
“Prior work has successfully applied this concept to semantic role labeling (Deutsch et al. 2019), entity disambiguation (Cao et al. 2021), and code generation (Scholak et al. 2021).”
Stable Models and an Alternative Logic Programming Paradigm
Marek, V. W., & Truszczyński, M. (1999) · Artificial intelligence · doi:10.1007/978-3-642-60085-2_17 · Cited by 745 · cited 1× · see citing works
“On the other hand, ASP (Marek and Truszczyński 1999; Niemelä 1999) is a declarative programming paradigm extending Datalog with answer set semantics (Gelfond and Lifschitz 1990).”
A Survey on Aspect-Based Sentiment Analysis: Tasks, Methods, and Challenges
Zhang, W., Li, X., Deng, Y., Bing, L., & Lam, W. P. (2022) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2022.3230975 · Cited by 637 · see citing works
A Survey of Multilingual Neural Machine Translation
Dabre, R., Chu, C.-H., & Kunchukuttan, A. (2019) · ACM Computing Surveys · doi:10.1145/3406095 · Cited by 375 · cited 1× · see citing works
“Applications of seq2seq modeling range from machine translation (Dabre et al. 2020) and factual question answering (Petroni et al. 2019) to arithmetic reasoning (Hoffmann et al. 2022), text summarization (H. Zhang et al. 2019), and dialogue systems (Liu et al. 2022).”
Language Models as Knowledge Bases?Preprint
Petroni, F., Rocktäschel, T., Lewis, P., Bakhtin, A., Wu, Y., Miller, A., & Riedel, S. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1909.01066 · Cited by 364 · see citing works
Yoshida, H., Tateishi, R., Arakawa, Y., et al. (2004) · Gut · doi:10.1136/gut.2003.28134a · Cited by 323
Autoregressive Entity RetrievalPreprint
Cao, N. D., Izacard, G., Riedel, S., & Petroni, F. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2010.00904 · Cited by 307 · cited 1× · see citing works
“Prior work has successfully applied this concept to semantic role labeling (Deutsch et al. 2019), entity disambiguation (Cao et al. 2021), and code generation (Scholak et al. 2021).”
Splitwise: Efficient Generative LLM Inference Using Phase Splitting
Patel, P., Choukse, E., Zhang, C., Shah, A., Goiri, Í., Maleki, S., & Bianchini, R. (2024) · 2024 ACM/IEEE 51st Annual International Symposium on Computer Architecture (ISCA) · doi:10.1109/isca59077.2024.00019 · Cited by 298 · cited 1× · see citing works
“Completion tokens are especially critical, as they are generated sequentially and therefore dominate inference time, whereas prompt tokens can be processed more efficiently through parallelization in modern LLM architectures (Patel et al. 2023).”
Revised report on the algorithmic language ALGOL 60
Backus, J., Bauer, F. L., Green, J., et al. (1997) · Birkhäuser Boston eBooks · doi:10.1007/978-1-4612-4118-8_2 · Cited by 258 · cited 5× · see citing works
“6 To support additional structured formats suitable for symbolic reasoning, such as CSV and Datalog-style facts, we extend the Ollama framework to accept custom grammars expressed in BNF, beyond the native support for JSON and JSON Schema.”
InfluentialASP-Core-2 Input Language Format
Calimeri, F., Faber, W., GEBSER, M., IANNI, G., KAMINSKI, R., KRENNWALLNER, T., LEONE, N., MARATEA, M., Ricca, F., & Schaub, T. H. (2019) · Theory and Practice of Logic Programming · doi:10.1017/s1471068419000450 · Cited by 255 · cited 1× · see citing works
“We formally introduce the notion of fact and refer to the ASP-Core-2 standard (Calimeri et al. 2020) for the full language specification.”
Revised report on the algorithmic language ALGOL 60
Backus, J. (1963) · The Computer Journal · doi:10.1093/comjnl/5.4.349 · Cited by 148 · see citing works
Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoning
Pan, L., Albalak, A., Wang, X., & Wang, W. Y. (2023) · arXiv · doi:10.48550/arxiv.2305.12295 · Cited by 144 · cited 1× · see citing works
“…fine-tuning of specialized LLMs to support diverse logic tasks (Coppolillo et al. 2024); and (iii) solver-in-the-loop methodologies that use feedback from the solver either to refine the extracted ASP code on the fly (Pan et al. 2023) or to guide the LLM fine-tuning stage (Schrader et al. 2026).”
Concise Thoughts: Impact of Output Length on LLM Reasoning and Cost
Nayab, S., Rossolini, G., Simoni, M., et al. (2024) · Information Sciences · doi:10.1016/j.ins.2026.123939 · Cited by 130 · cited 1× · see citing works
“Other approaches impose strict generation limits: Concise Thoughts (CCoT) (Nayab et al. 2024) enforces a fixed global token budget, while (J. Wang et al. 2024) dynamically estimates a token budget using an auxiliary LLM, a method that unfortunately introduces its own latency and computational…”
Complex optimization in answer set programming
Gebser, M., Kaminski, R., & Schaub, T. H. (2011) · Theory and Practice of Logic Programming · doi:10.1017/s1471068411000329 · Cited by 93 · see citing works
Grammar-Constrained Decoding for Structured NLP Tasks without Finetuning
Geng, S., Josifoski, M., Peyrard, M., & West, R. (2023) · Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2023.emnlp-main.674 · Cited by 74 · cited 2× · see citing works
“To address Q3 , we extend the LLMASP pipeline with a grammar-constrained decoding mechanism (Geng et al. 2023).”
Multi-Stage Prompting for Knowledgeable Dialogue GenerationPreprint
Liu, Z., Patwary, M., Prenger, R., et al. (2022) · Findings · doi:10.48550/arxiv.2203.08745 · Cited by 61 · cited 1× · see citing works
“Applications of seq2seq modeling range from machine translation (Dabre et al. 2020) and factual question answering (Petroni et al. 2019) to arithmetic reasoning (Hoffmann et al. 2022), text summarization (H. Zhang et al. 2019), and dialogue systems (Liu et al. 2022).”
Olausson, T., Gu, A., Lipkin, B., Zhang, C., Solar-Lezama, A., Tenenbaum, J., & Levy, R. (2023) · Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2023.emnlp-main.313 · Cited by 57 · see citing works
Explainable Claim Verification via Knowledge-Grounded Reasoning with Large Language Models
Wang, H., & Shu, K. (2023) · Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP) · doi:10.18653/v1/2023.findings-emnlp.416 · Cited by 49 · see citing works
Multi-Stage Prompting for Knowledgeable Dialogue Generation
Liu, Z., Patwary, M. A., Prenger, R., Prabhumoye, S., Ping, W., Shoeybi, M., & Catanzaro, B. (2022) · Findings of the Association for Computational Linguistics: ACL (Findings of ACL) · doi:10.18653/v1/2022.findings-acl.104 · Cited by 47 · see citing works
Zhang, Y., Jin, H., Meng, D., et al. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2403.02901 · Cited by 46 · see citing works
Nye, M., Tessler, M. H., Tenenbaum, J. B., & Lake, B. M. (2021) · arXiv · doi:10.48550/arxiv.2107.02794 · Cited by 40 · cited 1× · see citing works
“According to (Nye et al. 2021; Ren et al. 2025), LLMs are better suited for data extraction than for complex reasoning, particularly in scenarios requiring grounded statements and logical inference.”
The Seventh Answer Set Programming Competition: Design and Results
GEBSER, M., MARATEA, M., & Ricca, F. (2019) · Theory and Practice of Logic Programming · doi:10.1017/s1471068419000061 · Cited by 39 · cited 6× · see citing works
“Section 5 reports an extensive experimental evaluation on benchmarks derived from ASP Competitions, analyzing extraction accuracy, hallucinations, efficiency, and energy consumption, as well as the impact of grammar-constrained decoding and knowledge-base–assisted reasoning.”
InfluentialLLMs for Relational Reasoning: How Far are We?
Li, Z., Cao, Y., Xu, X., Jiang, J., Liu, X., Teo, Y. S., Lin, S., & Liu, Y. (2024) · International Workshop on Large Language Models for Code (LLM4Code) · doi:10.1145/3643795.3648387 · Cited by 31 · see citing works
AQuA: ASP-Based Visual Question Answering
Basu, K., Shakerin, F., & Gupta, G. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-39197-3_4 · Cited by 28 · cited 1× · see citing works
“For example, AQuA (Basu, Shakerin, et al. 2020) (ASP-based Question Answering) combines ASP and YOLO to answer natural language questions about visual inputs; to provide factual answers, the input query is translated into ASP through NLP techniques.”
Reliable Natural Language Understanding with Large Language Models and Answer Set Programming
Rajasekharan, A., Zeng, Y., Padalkar, P., & Gupta, G. (2023) · Electronic Proceedings in Theoretical Computer Science · doi:10.4204/eptcs.385.27 · Cited by 26 · cited 2× · see citing works
“More broadly, LLMs have become standard tools for translating natural language into ASP or other logic-based representations amenable to symbolic inference (Kaur et al. 2025; Rajasekharan et al. 2023; Z. Wang et al. 2024; Yang et al. 2024).”
Automated Interactive Domain-Specific Conversational Agents that Understand Human Dialogs
Zeng, Y.-K., Rajasekharan, A., Padalkar, P., et al. (2023) · International Symposium on Practical Aspects of Declarative Languages · doi:10.48550/arxiv.2303.08941 · Cited by 26 · cited 1×
“The obtained logic program is processed by an ASP solver to compute one or more answer sets. two paradigms into a unified system for structured knowledge extraction and reasoning (inspired by recent work in the literature (Basu, Varanasi, et al. 2021; Zeng et al. 2024)).”
Leveraging Large Language Models to Generate Answer Set Programs
Ishay, A., Yang, Z., & Lee, J. (2023) · Proceedings of the Twentieth International Conference on Principles of Knowledge Representation and Reasoning · doi:10.24963/kr.2023/37 · Cited by 25 · see citing works
On the Use of Answer Set Programming for Model-Based Diagnosis
Wotawa, F. (2020) · International Conference on Industrial, Engineering and Other Applications of Applied Intelligent Systems · doi:10.1007/978-3-030-55789-8_45 · Cited by 18 · cited 1×
“It has proven highly effective for problems that require robust inference or exact solutions such as patients scheduling (Cappanera et al. 2023; Cardellini et al. 2024), model based diagnosis (Wotawa 2020), and configuration problems (Taupe et al. 2021).”
How Hungry is AI? Benchmarking Energy, Water, and Carbon Footprint of LLM Inference
Jegham, N., Abdelatti, M., Koh, C. Y., Elmoubarki, L., & Hendawi, A. (2025) · arXiv · doi:10.48550/arxiv.2505.09598 · Cited by 16 · cited 1× · see citing works
“In particular, we analyze generation behavior at the token level, distinguishing between prompt tokens and completion tokens, both of which directly impact runtime, API cost, and carbon footprint (Jegham et al. 2025).”
Concise Thoughts: Impact of Output Length on LLM Reasoning and Cost
Nayab, S., Rossolini, G., Simoni, M., Saracino, A., Buttazzo, G., Manes, N., & Giacomelli, F. (2024) · arXiv · doi:10.48550/arxiv.2407.19825 · Cited by 13
A General-Purpose Algorithm for Constrained Sequential Inference
Deutsch, D., Upadhyay, S., & Roth, D. (2019) · Conference on Computational Natural Language Learning · doi:10.18653/v1/k19-1045 · Cited by 12 · cited 1× · see citing works
“Prior work has successfully applied this concept to semantic role labeling (Deutsch et al. 2019), entity disambiguation (Cao et al. 2021), and code generation (Scholak et al. 2021).”
TokenSkip: Controllable Chain-of-Thought Compression in LLMs
Xia, H., Leong, C. T., Wang, W., Li, Y., & Li, W. (2025) · arXiv · doi:10.48550/arxiv.2502.12067 · Cited by 12
Arithmetic Reasoning with LLM: Prolog Generation & Permutation
Yang, X., Chen, B., & Tam, Y.-C. (2024) · Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 2: Short Papers) · doi:10.18653/v1/2024.naacl-short.61 · Cited by 12 · see citing works
Logic-Based Benders Decomposition in Answer Set Programming for Chronic Outpatients Scheduling
Cappanera, P., Gavanelli, M., Nonato, M., et al. (2023) · Theory and Practice of Logic Programming · doi:10.1017/s147106842300025x · Cited by 9 · see citing works
Alviano, M., Grillo, L., Scudo, F. L., & Reiners, L. A. R. (2025) · International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2025/482 · Cited by 9 · see citing works
Self-citationChatLogic: Integrating Logic Programming with Large Language Models for Multi-Step Reasoning
Wang, Z., Liu, J., Bao, Q., Rong, H., & Zhang, J. (2024) · 2024 International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn60899.2024.10650138 · Cited by 8 · see citing works
Reasoning in Token Economies: Budget-Aware Evaluation of LLM Reasoning Strategies
Wang, J., Jain, S., Zhang, D., Ray, B., Kumar, V., & Athiwaratkun, B. (2024) · Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2024.emnlp-main.1112 · Cited by 8 · see citing works
A Solver-in-the-Loop Framework for Improving LLMs on Answer Set Programming for Logic Puzzle Solving
Schrader, T. P., Lange, L., Kaminski, T., Razniewski, S., & Friedrich, A. (2025) · AAAI Conference on Artificial Intelligence · doi:10.48550/arxiv.2512.17093 · Cited by 6 · cited 1×
“…fine-tuning of specialized LLMs to support diverse logic tasks (Coppolillo et al. 2024); and (iii) solver-in-the-loop methodologies that use feedback from the solver either to refine the extracted ASP code on the fly (Pan et al. 2023) or to guide the LLM fine-tuning stage (Schrader et al. 2026).”
TRIM: Token Reduction and Inference Modeling for Cost-Effective Language Generation
Ruiz, A., de la Rosa, T., & Borrajo, D. (2024) · arXiv.org · doi:10.48550/arxiv.2412.07682 · Cited by 6 · cited 1×
“For instance, (Ruiz et al. 2024) employs a two-stage pipeline where a distilled LLM produces a compact intermediate representation that a smaller model subsequently expands.”
Splitwise: Efficient generative LLM inference using phase splitting
Patel, P., Choukse, E., Zhang, C., Shah, A., Goiri, Í., Maleki, S., & Bianchini, R. (2023) · arXiv · doi:10.48550/arxiv.2311.18677 · Cited by 6 · see citing works
An Empirical Study of Conformal Prediction in LLM with ASP Scaffolds for Robust Reasoning
Kaur, N., McPheat, L., Russo, A., et al. (2025) · arXiv.org · doi:10.48550/arxiv.2503.05439 · Cited by 5 · cited 1×
“More broadly, LLMs have become standard tools for translating natural language into ASP or other logic-based representations amenable to symbolic inference (Kaur et al. 2025; Rajasekharan et al. 2023; Z. Wang et al. 2024; Yang et al. 2024).”
Solving Rehabilitation Scheduling Problems via a Two-Phase ASP Approach
Cardellini, M., Nardi, P. D., Dodaro, C., et al. (2023) · Theory and Practice of Logic Programming · doi:10.1017/s1471068423000030 · Cited by 5 · see citing works
Knowledge-driven Natural Language Understanding of English Text and its Applications
Basu, K., Varanasi, S. C., Shakerin, F., Arias, J., & Gupta, G. (2021) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v35i14.17488 · Cited by 4 · cited 1× · see citing works
“The obtained logic program is processed by an ASP solver to compute one or more answer sets. two paradigms into a unified system for structured knowledge extraction and reasoning (inspired by recent work in the literature (Basu, Varanasi, et al. 2021; Zeng et al. 2024)).”
SynCode: LLM Generation with Grammar AugmentationPreprint
Ugare, S., Suresh, T., Kang, H., et al. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2403.01632 · Cited by 3 · see citing works
Can LLMs Solve ASP Problems? Insights from a Benchmarking Study
Ren, L., Xiao, G., Qi, G., et al. (2025) · doi:10.24963/kr.2025/60 · Cited by 1 · see citing works
Arithmetic Reasoning with LLM: Prolog Generation & Permutation
Yang, X., Chen, B., & Tam, Y.-C. (2024) · arXiv · doi:10.48550/arxiv.2405.17893 · cited 1×
“More broadly, LLMs have become standard tools for translating natural language into ASP or other logic-based representations amenable to symbolic inference (Kaur et al. 2025; Rajasekharan et al. 2023; Z. Wang et al. 2024; Yang et al. 2024).”
Can LLMs Solve ASP Problems? Insights from a Benchmarking Study (Extended Version)
Ren, L., Xiao, G., Qi, G., Geng, Y., & Xue, H. (2025) · arXiv · doi:10.48550/arxiv.2507.19749 · cited 1×
“According to (Nye et al. 2021; Ren et al. 2025), LLMs are better suited for data extraction than for complex reasoning, particularly in scenarios requiring grounded statements and logical inference.”
A Map–Summarize Framework for Answer Set Verbalization
Alviano, M., Capalbo, M., & Piccolo, S. A. (2026) · Proceedings of the TwentyThird International Conference on Principles of Knowledge Representation and Reasoning · doi:10.24963/kr.2026/75 · cited 2×
“Furthermore, it has been deployed for answer set verbalization (Alviano, Capalbo, et al. 2026), translating formal answer sets into natural language to support explainable AI applications (e.g., explaining Sudoku derivation graphs).”
Self-citationA Solver-in-the-Loop Framework for Improving LLMs on Answer Set Programming for Logic Puzzle Solving
Schrader, T. P., Lange, L., Kaminski, T., et al. (2026) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v40i30.39714
Pretraining-Based Natural Language Generation for Text Summarization
Zhang, H., Xu, J., & Wang, J. (2019) · arXiv · doi:10.48550/arxiv.1902.09243
LLASP: Fine-tuning Large Language Models for Answer Set Programming
Coppolillo, E., Calimeri, F., Manco, G., et al. (2024) · arXiv · doi:10.48550/arxiv.2407.18723
Park, K., Wang, J., Berg-Kirkpatrick, T., et al. (2024) · arXiv · doi:10.48550/arxiv.2405.21047
Flagged first, then by citations
Research works printed but not linked: 16
- M. Alviano and L. Grillo. 2024. "Answer Set Programming and Large Language Models Interaction with YAML: Preliminary Report." In: CILC 2024, Rome, Italy, June 26-28, 2024 (CEUR Workshop Proceedings).
- Ed. by E. D. Angelis and M. Proietti. Vol. 3733. CEUR-WS.org. https://ceur-ws.org/Vol-3733/short2.pdf.
- M. Alviano, F. Lo Scudo, L. Grillo, and L. A. R. Reiners. 2024. "Answer Set Programming and Large Language Models interaction with YAML: Second Report. " In: KoDis+CAKR+SYNERGY@KR 2024, Hanoi, Vietnam, November 2-8, 2024 (CEUR Workshop Proceedings). Ed. by L. G. Á. et al. Vol. 3876. CEUR-WS.org. https://ceur-ws.org/Vol-3876/paper3.pdf.
- K. Basu, F. Shakerin, and G. Gupta. 2020. "AQuA: ASP-Based Visual Question Answering." In: Practical Aspects of Declarative Languages - 22nd International Symposium, PADL 2020, New Orleans, LA, USA, January 20-21, 2020, Proceedings (Lecture Notes in Computer Science).
- Ed. by H. Larochelle, M. Ranzato, R. Hadsell, M. Balcan, and H. Lin. https://proceedings.neurips.cc/paper/2020/hash/1457c0d6bfcb4967418bfb8ac142f64a-Abstra ct.html.
- D. Deutsch, S. Upadhyay, and D. Roth. 2019. "A General-Purpose Algorithm for Constrained Sequential Inference." In: Proceedings of the 23rd Conference on Computational Natural Language Learning, CoNLL 2019, Hong Kong, China, November 3-4, 2019.
- M. Gelfond and V. Lifschitz. 1990. "Logic programs with classical negation. " In: Logic Programming: Proc. of the Seventh International Conference.
- S. Geng, M. Josifoski, M. Peyrard, and R. West. 2023. "Grammar-Constrained Decoding for Structured NLP Tasks without Finetuning." In: Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, EMNLP 2023, Singapore, December 6-10, 2023.
- Ed. by H. Bouamor, J. Pino, and K. Bali. Association for Computational Linguistics, Singapore, (Dec. 2023), 3806-3824. doi:10.18653/v1/2023.findings-emnlp.248. · DOI · Paper page
- T. Scholak, N. Schucher, and D. Bahdanau. 2021. "PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Models. " In: Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, EMNLP 2021, Virtual Event / Punta Cana, Dominican Republic, 7-11 November, 2021.
- R. Taupe, G. Friedrich, K. Schekotihin, and A. Weinzierl. 2021. "Solving Configuration Problems with ASP and Declarative Domain Specific Heuristics. " In: Proceedings of the 23rd International Configuration Workshop (CWS/ConfWS 2021), Vienna, Austria, 16-17 September, 2021 (CEUR Workshop Proceedings).
- Ed. by M. Aldanondo, A. A. Falkner, A. Felfernig, and M. Stettinger. Vol. 2945. CEUR-WS.org, 13-20. https://ceur-ws.org/Vol-2945/21-RT-ConfWS21_paper_4.pdf.
- Ed. by Y. Al-Onaizan, M. Bansal, and Y. Chen. Association for Computational Linguistics, 19916-19939. https://aclanthology.org/2024.emnlp-main.1112.
- Ed. by S. Koyejo, S. Mohamed, A. Agarwal, D. Belgrave, K. Cho, and A. Oh. http://papers.nips.cc/paper%5C_files/paper/2022/hash/9d5609613524ecf4f15af0f7b31abca4-Abstract-Conf erence.html.
- F. Wotawa. 2020. "On the Use of Answer Set Programming for Model-Based Diagnosis. " In: IEA/AIE 2020, Kitakyushu, Japan, September 22-25, 2020, Proceedings (LNCS).
- Ed. by M. Gebser and I. Sergey. Vol. 14512. Springer, 204-222. doi:10.1007/978-3-031-52038-9_13. · DOI
- Authors
- Alviano, M., Capalbo, M., Gottlob, G., Grillo, L., Kareem, I., Lo Scudo, F., Piccolo, S. A., & Rodriguez Reiners, L. A.
- Affiliations
- University of Calabria (IT)
- ORCID
- Venue
- Journal of Artificial Intelligence Research
- Publisher
- AI Access Foundation
- Published
- 2026-09-28
- Volume
- 87
- ISSN
- 1076-9757 (ISSN-L)
- OpenAlex
- W7214611155
- Semantic Scholar
- cb9cb63c3e292b7938f25e329e17a2444fa353a7
- Cited by
- 0
- References
- 40
- FWCI
- 0.00
- Type
- journal article
- Language
- en
- Open access
- diamond
- doi.org
- Licence
- cc-by
- Locations
- Journal of Artificial Intelligence Research (publishedVersion, cc-by)
- Archive of Doctoral Theses and Digital Collections (University of Calabria) (submittedVersion)
- Funders
- Istituto Nazionale di Alta Matematica "Francesco Severi"
- Ministero della Salute (H53C22000800006, H53C22000650006, CUP H53C22000800006, CUP: H53C22000650006)
- Ministerio de Salud de la Nación
- Regione Calabria (J39I24002040005)
- Gruppo Nazionale per il Calcolo Scientifico
- European Regional Development Fund (CUP H23C22000370006, 2021 2027)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Physical Sciences › Computer Science › Artificial Intelligence › Logic, Reasoning, and Knowledge
- Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
- Keywords
- answer set programming, large language models, structured knowledge extraction, formal grammars, hallucination mitigation, Datalog, CSV, JSON, knowledge base validation, symbolic reasoning, natural language understanding
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Claims read by deepseek-v4.1-flash under definition version 3 (extract-v3) on 2026-10-19.
Classified by jev-1.13-20260917 (gold-guideline-v0.2) on 2026-10-19.
Cited sources are checked by gpt-6-sol.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review