arXiv - CS - Logic in Computer Science最新文献

筛选
英文 中文
A Reliable Common-Sense Reasoning Socialbot Built Using LLMs and Goal-Directed ASP 利用 LLM 和目标导向 ASP 构建可靠的常识推理社交机器人
arXiv - CS - Logic in Computer Science Pub Date : 2024-07-26 DOI: arxiv-2407.18498
Yankai Zeng, Abhiramon Rajashekharan, Kinjal Basu, Huaduo Wang, Joaquín Arias, Gopal Gupta
{"title":"A Reliable Common-Sense Reasoning Socialbot Built Using LLMs and Goal-Directed ASP","authors":"Yankai Zeng, Abhiramon Rajashekharan, Kinjal Basu, Huaduo Wang, Joaquín Arias, Gopal Gupta","doi":"arxiv-2407.18498","DOIUrl":"https://doi.org/arxiv-2407.18498","url":null,"abstract":"The development of large language models (LLMs), such as GPT, has enabled the\u0000construction of several socialbots, like ChatGPT, that are receiving a lot of\u0000attention for their ability to simulate a human conversation. However, the\u0000conversation is not guided by a goal and is hard to control. In addition,\u0000because LLMs rely more on pattern recognition than deductive reasoning, they\u0000can give confusing answers and have difficulty integrating multiple topics into\u0000a cohesive response. These limitations often lead the LLM to deviate from the\u0000main topic to keep the conversation interesting. We propose AutoCompanion, a\u0000socialbot that uses an LLM model to translate natural language into predicates\u0000(and vice versa) and employs commonsense reasoning based on Answer Set\u0000Programming (ASP) to hold a social conversation with a human. In particular, we\u0000rely on s(CASP), a goal-directed implementation of ASP as the backend. This\u0000paper presents the framework design and how an LLM is used to parse user\u0000messages and generate a response from the s(CASP) engine output. To validate\u0000our proposal, we describe (real) conversations in which the chatbot's goal is\u0000to keep the user entertained by talking about movies and books, and s(CASP)\u0000ensures (i) correctness of answers, (ii) coherence (and precision) during the\u0000conversation, which it dynamically regulates to achieve its specific purpose,\u0000and (iii) no deviation from the main topic.","PeriodicalId":501208,"journal":{"name":"arXiv - CS - Logic in Computer Science","volume":"56 1","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-07-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141865893","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Repairing Networks of $mathcal{EL_perp}$ Ontologies using Weakening and Completing -- Extended version 使用弱化和补全修复 $mathcal{EL_perp}$ 本体网络 -- 扩展版
arXiv - CS - Logic in Computer Science Pub Date : 2024-07-26 DOI: arxiv-2407.18848
Ying Li, Patrick Lambrix
{"title":"Repairing Networks of $mathcal{EL_perp}$ Ontologies using Weakening and Completing -- Extended version","authors":"Ying Li, Patrick Lambrix","doi":"arxiv-2407.18848","DOIUrl":"https://doi.org/arxiv-2407.18848","url":null,"abstract":"The quality of ontologies and their alignments is crucial for developing\u0000high-quality semantics-based applications. Traditional debugging techniques\u0000repair ontology networks by removing unwanted axioms and mappings, but may\u0000thereby remove consequences that are correct in the domain of the ontology\u0000network. In this paper we propose a framework for repairing ontology networks\u0000that deals with this issue. It defines basic operations such as debugging,\u0000weakening and completing. Further, it defines combination operators that\u0000reflect choices in how and when to use the basic operators, as well as choices\u0000regarding the autonomy level of the ontologies and alignments in the ontology\u0000network. We show the influence of the combination operators on the quality of\u0000the repaired network and present an implemented tool. By using our framework\u0000together with existing algorithms for debugging, weakening and completing, we\u0000essentially provide a blueprint for extending previous work and systems.","PeriodicalId":501208,"journal":{"name":"arXiv - CS - Logic in Computer Science","volume":"202 1","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-07-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141865895","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Supercritical Size-Width Tree-Like Resolution Trade-Offs for Graph Isomorphism 图形同构的超临界大小-宽度树状分辨率权衡
arXiv - CS - Logic in Computer Science Pub Date : 2024-07-25 DOI: arxiv-2407.17947
Christoph Berkholz, Moritz Lichter, Harry Vinall-Smeeth
{"title":"Supercritical Size-Width Tree-Like Resolution Trade-Offs for Graph Isomorphism","authors":"Christoph Berkholz, Moritz Lichter, Harry Vinall-Smeeth","doi":"arxiv-2407.17947","DOIUrl":"https://doi.org/arxiv-2407.17947","url":null,"abstract":"We study the refutation complexity of graph isomorphism in the tree-like\u0000resolution calculus. Tor'an and W\"orz (TOCL 2023) showed that there is a\u0000resolution refutation of narrow width $k$ for two graphs if and only if they\u0000can be distinguished in ($k+1$)-variable first-order logic (FO$^{k+1}$) and\u0000hence by a count-free variant of the $k$-dimensional Weisfeiler-Leman\u0000algorithm. While DAG-like narrow width $k$ resolution refutations have size at\u0000most $n^k$, tree-like refutations may be much larger. We show that there are\u0000graphs of order n, whose isomorphism can be refuted in narrow width $k$ but\u0000only in tree-like size $2^{Omega(n^{k/2})}$. This is a supercritical trade-off\u0000where bounding one parameter (the narrow width) causes the other parameter (the\u0000size) to grow above its worst case. The size lower bound is super-exponential\u0000in the formula size and improves a related supercritical width versus tree-like\u0000size trade-off by Razborov (JACM 2016). To prove our result, we develop a new\u0000variant of the $k$-pebble EF-game for FO$^k$ to reason about tree-like\u0000refutation size in a similar way as the Prover-Delayer games in proof\u0000complexity. We analyze this game on a modified variant of the compressed CFI\u0000graphs introduced by Grohe, Lichter, Neuen, and Schweitzer (FOCS 2023). Using a\u0000recent improved robust compressed CFI construction of Janett, Nordstr\"om, and\u0000Pang (unpublished manuscript), we obtain a similar bound for width $k$ (instead\u0000of the stronger but less common narrow width) and make the result more robust.","PeriodicalId":501208,"journal":{"name":"arXiv - CS - Logic in Computer Science","volume":"43 1","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-07-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141785693","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
C2P: Featuring Large Language Models with Causal Reasoning C2P:具有因果推理功能的大型语言模型
arXiv - CS - Logic in Computer Science Pub Date : 2024-07-25 DOI: arxiv-2407.18069
Abdolmahdi Bagheri, Matin Alinejad, Kevin Bello, Alireza Akhondi-Asl
{"title":"C2P: Featuring Large Language Models with Causal Reasoning","authors":"Abdolmahdi Bagheri, Matin Alinejad, Kevin Bello, Alireza Akhondi-Asl","doi":"arxiv-2407.18069","DOIUrl":"https://doi.org/arxiv-2407.18069","url":null,"abstract":"Causal reasoning is the primary bottleneck that Large Language Models (LLMs)\u0000must overcome to attain human-level intelligence. To address this, we introduce\u0000the Causal Chain of Prompting (C2P) as the first reasoning framework that\u0000equips current LLMs with causal reasoning capabilities. C2P operates\u0000autonomously, avoiding reliance on external tools or modules during both the\u0000causal learning and reasoning phases, and can be seamlessly implemented during\u0000the training or fine-tuning of LLMs. Experimental results across various\u0000benchmark datasets demonstrate a significant improvement in causal learning and\u0000subsequent reasoning accuracy of LLMs. We illustrate how C2P enhances LLMs'\u0000ability to causally reason in real-world scenarios, addressing complex problems\u0000in fields such as healthcare, medicine, economics, education, social sciences,\u0000environmental science, and marketing. With few-shot learning, GPT-4 Turbo using\u0000C2P with as few as six examples achieves significant performance improvements,\u0000boasting over a 33% increase in reasoning accuracy over the most\u0000state-of-the-art LLMs, which perform nearly randomly in similar circumstances.\u0000This demonstrates the transformative potential of integrating C2P into LLM\u0000training or fine-tuning processes, thereby empowering these models with\u0000advanced causal reasoning capabilities.","PeriodicalId":501208,"journal":{"name":"arXiv - CS - Logic in Computer Science","volume":"94 1","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-07-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141775998","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
On Polynomial-Time Decidability of k-Negations Fragments of First-Order Theories 论一阶理论 k 否定片段的多项式时间可决性
arXiv - CS - Logic in Computer Science Pub Date : 2024-07-25 DOI: arxiv-2407.18420
Christoph Haase, Alessio Mansutti, Amaury Pouly
{"title":"On Polynomial-Time Decidability of k-Negations Fragments of First-Order Theories","authors":"Christoph Haase, Alessio Mansutti, Amaury Pouly","doi":"arxiv-2407.18420","DOIUrl":"https://doi.org/arxiv-2407.18420","url":null,"abstract":"This paper introduces a generic framework that provides sufficient conditions\u0000for guaranteeing polynomial-time decidability of fixed-negation fragments of\u0000first-order theories that adhere to certain fixed-parameter tractability\u0000requirements. It enables deciding sentences of such theories with arbitrary\u0000existential quantification, conjunction and a fixed number of negation symbols\u0000in polynomial time. It was recently shown by Nguyen and Pak [SIAM J. Comput.\u000051(2): 1--31 (2022)] that an even more restricted such fragment of Presburger\u0000arithmetic (the first-order theory of the integers with addition and order) is\u0000NP-hard. In contrast, by application of our framework, we show that the fixed\u0000negation fragment of weak Presburger arithmetic, which drops the order relation\u0000from Presburger arithmetic in favour of equality, is decidable in polynomial\u0000time.","PeriodicalId":501208,"journal":{"name":"arXiv - CS - Logic in Computer Science","volume":"50 1","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-07-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141865892","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Pruning Boolean d-DNNF Circuits Through Tseitin-Awareness 通过 Tseitin-Awareness 修剪布尔 d-DNNF 电路
arXiv - CS - Logic in Computer Science Pub Date : 2024-07-25 DOI: arxiv-2407.17951
Vincent Derkinderen
{"title":"Pruning Boolean d-DNNF Circuits Through Tseitin-Awareness","authors":"Vincent Derkinderen","doi":"arxiv-2407.17951","DOIUrl":"https://doi.org/arxiv-2407.17951","url":null,"abstract":"Boolean circuits in d-DNNF form enable tractable probabilistic inference.\u0000However, as a key insight of this work, we show that commonly used d-DNNF\u0000compilation approaches introduce irrelevant subcircuits. We call these\u0000subcircuits Tseitin artifacts, as they are introduced due to the Tseitin\u0000transformation step -- a well-established procedure to transform any circuit\u0000into the CNF format required by several d-DNNF knowledge compilers. We discuss\u0000how to detect and remove both Tseitin variables and Tseitin artifacts, leading\u0000to more succinct circuits. We empirically observe an average size reduction of\u000077.5% when removing both Tseitin variables and artifacts. The additional\u0000pruning of Tseitin artifacts reduces the size by 22.2% on average. This\u0000significantly improves downstream tasks that benefit from a more succinct\u0000circuit, e.g., probabilistic inference tasks.","PeriodicalId":501208,"journal":{"name":"arXiv - CS - Logic in Computer Science","volume":"86 1","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-07-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141785684","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
The Existential Theory of the Reals as a Complexity Class: A Compendium 作为复杂性类别的实数存在论:简编
arXiv - CS - Logic in Computer Science Pub Date : 2024-07-25 DOI: arxiv-2407.18006
Marcus Schaefer, Jean Cardinal, Tillmann Miltzow
{"title":"The Existential Theory of the Reals as a Complexity Class: A Compendium","authors":"Marcus Schaefer, Jean Cardinal, Tillmann Miltzow","doi":"arxiv-2407.18006","DOIUrl":"https://doi.org/arxiv-2407.18006","url":null,"abstract":"We survey the complexity class $exists mathbb{R}$, which captures the\u0000complexity of deciding the existential theory of the reals. The class $exists\u0000mathbb{R}$ has roots in two different traditions, one based on the\u0000Blum-Shub-Smale model of real computation, and the other following work by\u0000Mn\"{e}v and Shor on the universality of realization spaces of oriented\u0000matroids. Over the years the number of problems for which $exists mathbb{R}$\u0000rather than NP has turned out to be the proper way of measuring their\u0000complexity has grown, particularly in the fields of computational geometry,\u0000graph drawing, game theory, and some areas in logic and algebra. $exists\u0000mathbb{R}$ has also started appearing in the context of machine learning,\u0000Markov decision processes, and probabilistic reasoning. We have aimed at collecting a comprehensive compendium of problems complete\u0000and hard for $exists mathbb{R}$, as well as a long list of open problems. The\u0000compendium is presented in the third part of our survey; a tour through the\u0000compendium and the areas it touches on makes up the second part. The first part\u0000introduces the reader to the existential theory of the reals as a complexity\u0000class, discussing its history, motivation and prospects as well as some\u0000technical aspects.","PeriodicalId":501208,"journal":{"name":"arXiv - CS - Logic in Computer Science","volume":"61 1","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-07-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141776002","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
A quantitative probabilistic relational Hoare logic 定量概率关系胡尔逻辑
arXiv - CS - Logic in Computer Science Pub Date : 2024-07-24 DOI: arxiv-2407.17127
Martin Avanzini, Gilles Barthe, Davide Davoli, Benjamin Grégoire
{"title":"A quantitative probabilistic relational Hoare logic","authors":"Martin Avanzini, Gilles Barthe, Davide Davoli, Benjamin Grégoire","doi":"arxiv-2407.17127","DOIUrl":"https://doi.org/arxiv-2407.17127","url":null,"abstract":"We introduce eRHL, a program logic for reasoning about relational expectation\u0000properties of pairs of probabilistic programs. eRHL is quantitative, i.e., its\u0000pre- and post-conditions take values in the extended non-negative reals. Thanks\u0000to its quantitative assertions, eRHL overcomes randomness alignment\u0000restrictions from prior logics, including PRHL, a popular relational program\u0000logic used to reason about security of cryptographic constructions, and apRHL,\u0000a variant of PRHL for differential privacy. As a result, eRHL is the first\u0000relational probabilistic program logic to be supported by non-trivial soundness\u0000and completeness results for all almost surely terminating programs. We show\u0000that eRHL is sound and complete with respect to program equivalence,\u0000statistical distance, and differential privacy. We also show that every PRHL\u0000judgment is valid iff it is provable in eRHL. We showcase the practical\u0000benefits of eRHL with examples that are beyond reach of PRHL and apRHL.","PeriodicalId":501208,"journal":{"name":"arXiv - CS - Logic in Computer Science","volume":"24 1","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-07-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141785694","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Static and Dynamic Verification of OCaml Programs: The Gospel Ecosystem (Extended Version) OCaml 程序的静态和动态验证:福音生态系统(扩展版)
arXiv - CS - Logic in Computer Science Pub Date : 2024-07-24 DOI: arxiv-2407.17289
Tiago Lopes Soares, Ion Chririca, Mário Pereira
{"title":"Static and Dynamic Verification of OCaml Programs: The Gospel Ecosystem (Extended Version)","authors":"Tiago Lopes Soares, Ion Chririca, Mário Pereira","doi":"arxiv-2407.17289","DOIUrl":"https://doi.org/arxiv-2407.17289","url":null,"abstract":"We present our work on the collaborative use of dynamic and static analysis\u0000tools for the verification of software written in the OCaml language. We build\u0000upon Gospel, a specification language for OCaml that can be used both in\u0000dynamic and static analyses. We employ Ortac, for runtime assertion checking,\u0000and Cameleer and CFML for the deductive verification of OCaml code. We report\u0000on the use of such tools to build a case study of collaborative analysis of a\u0000non-trivial OCaml program. This shows how these tools nicely complement each\u0000others, while at the same highlights the differences when writing specification\u0000targeting dynamic or static analysis methods.","PeriodicalId":501208,"journal":{"name":"arXiv - CS - Logic in Computer Science","volume":"44 1","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-07-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141775999","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
A process algebraic framework for multi-agent dynamic epistemic systems 多代理动态认识系统的过程代数框架
arXiv - CS - Logic in Computer Science Pub Date : 2024-07-24 DOI: arxiv-2407.17537
Alessandro Aldini
{"title":"A process algebraic framework for multi-agent dynamic epistemic systems","authors":"Alessandro Aldini","doi":"arxiv-2407.17537","DOIUrl":"https://doi.org/arxiv-2407.17537","url":null,"abstract":"This paper combines the classical model of labeled transition systems with\u0000the epistemic model for reasoning about knowledge. The result is a unifying\u0000framework for modeling and analyzing multi-agent, knowledge-based, dynamic\u0000systems. On the modeling side, we propose a process algebraic, agent-oriented\u0000specification language that makes such a framework easy to use for practical\u0000purposes. On the verification side, we define a modal logic encompassing\u0000temporal and epistemic operators.","PeriodicalId":501208,"journal":{"name":"arXiv - CS - Logic in Computer Science","volume":"6 1","pages":""},"PeriodicalIF":0.0,"publicationDate":"2024-07-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141776000","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
相关产品
×
本文献相关产品
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信