{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,22]],"date-time":"2026-10-22T03:38:02Z","timestamp":1792640282037,"version":"4.5.0"},"reference-count":20,"publisher":"Cambridge University Press (CUP)","issue":"1-2","license":[{"start":{"date-parts":[[2026,7,8]],"date-time":"2026-07-08T00:00:00Z","timestamp":1783468800000},"content-version":"unspecified","delay-in-days":129,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"},{"start":{"date-parts":[[2026,7,8]],"date-time":"2026-07-08T00:00:00Z","timestamp":1783468800000},"content-version":"tdm","delay-in-days":129,"URL":"https:\/\/www.cambridge.org\/tdm\/tdmrep-policy.json"}],"content-domain":{"domain":["cambridge.org"],"crossmark-restriction":true},"short-container-title":["Theory and Practice of Logic Programming"],"published-print":{"date-parts":[[2026,3]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>Neurosymbolic AI combines neural networks with symbolic programs to create robust and explainable predictions. One such framework is NeurASP, which trains a neural network to predict concepts and reasons over them using rules written in answer set programming (ASP) to solve downstream tasks. Crucially, labels are only provided for the downstream prediction produced by the symbolic rules, not for the latent concepts themselves. Backpropagation through the non-differentiable ASP component requires expensive probability and gradient calculations, which has hindered scalability to more sophisticated tasks. In this paper, we address the current limitations of NeurASP by improving its computational performance through vectorization, batch processing, and caching of intermediate computations during training. We compare computation speeds between the original and our new implementation of NeurASP and report speedups of multiple orders of magnitude for larger tasks. To this end, we propose a new dataset of difficult tasks involving playing cards, which we use to test the capabilities of NeurASP\u2019s enhanced learning function.<\/jats:p>","DOI":"10.1017\/s1471068426100611","type":"journal-article","created":{"date-parts":[[2026,7,8]],"date-time":"2026-07-08T04:23:53Z","timestamp":1783484633000},"page":"267-282","update-policy":"https:\/\/doi.org\/10.1017\/policypage","source":"Crossref","is-referenced-by-count":0,"title":["Accelerating NeurASP with Vectorization and Caching"],"prefix":"10.1017","volume":"26","author":[{"ORCID":"https:\/\/orcid.org\/0009-0001-4573-8522","authenticated-orcid":false,"given":"ALEXANDER PHILIPP","family":"RADER","sequence":"first","affiliation":[{"name":"Imperial College London"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"ALESSANDRA","family":"RUSSO","sequence":"additional","affiliation":[{"name":"Imperial College London"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"56","published-online":{"date-parts":[[2026,7,8]]},"reference":[{"key":"S1471068426100611_ref18","article-title":"Dspy-based neural-symbolic pipeline to enhance spatial reasoning in LLMs","author":"Wang","year":"2024","journal-title":"arXiv"},{"key":"S1471068426100611_ref3","doi-asserted-by":"publisher","DOI":"10.1007\/s10994-022-06278-6"},{"key":"S1471068426100611_ref6","doi-asserted-by":"publisher","DOI":"10.1109\/MSP.2012.2211477"},{"key":"S1471068426100611_ref9","doi-asserted-by":"crossref","unstructured":"Geh, R. L. , Gon\u00e7alves, J. , Silveira, I. C. , Mau\u00e1, D. D. and Cozman, F. G. 2024. dPASP: A Probabilistic Logic Programming Environment For Neurosymbolic Learning and Reasoning. In Proceedings of the 21st International Conference on Principles of Knowledge Representation and Reasoning 2024 , IJCAI Organization,\u00a0731\u2013742.","DOI":"10.24963\/kr.2024\/69"},{"key":"S1471068426100611_ref2","doi-asserted-by":"crossref","unstructured":"Aspis, Y. , Broda, K. , Lobo, J. and Russo, A. 2022. Embed2Sym - Scalable neuro-symbolic reasoning via clustered embeddings. In Proceedings of the 19th International Conference on Principles of Knowledge Representation and Reasoning 2022, IJCAI Organization, 421\u2013431.","DOI":"10.24963\/kr.2022\/44"},{"key":"S1471068426100611_ref19","unstructured":"Xu, J. , Zhang, Z. , Friedman, T. , Liang, Y. and den Broeck, G. V. 2017. A semantic loss function for deep learning with symbolic knowledge. In International Conference on Machine Learning 2017, Proceedings of Machine Learning Research."},{"key":"S1471068426100611_ref10","article-title":"LLM-ARC: Enhancing LLMs with an automated reasoning critic","author":"Kalyanpur","year":"2024","journal-title":"arXiv"},{"key":"S1471068426100611_ref15","doi-asserted-by":"publisher","DOI":"10.52202\/075280-3170"},{"key":"S1471068426100611_ref4","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-71167-1_5"},{"key":"S1471068426100611_ref20","doi-asserted-by":"publisher","DOI":"10.24963\/ijcai.2020\/243"},{"key":"S1471068426100611_ref1","doi-asserted-by":"crossref","unstructured":"Aspis, Y. , Albinhassan, M. , Lobo, J. and Russo, A. 2024. Embed2rule scalable neuro-symbolic learning via latent space weak-labelling. In Neural-Symbolic Learning and Reasoning: 18th International Conference, NeSy 2024, Barcelona, Spain, September 9-12, 2024, Proceedings, Part I 2024, Springer-Verlag, Berlin, Heidelberg, 195\u2013218.","DOI":"10.1007\/978-3-031-71167-1_11"},{"key":"S1471068426100611_ref17","doi-asserted-by":"publisher","DOI":"10.24963\/kr.2022\/48"},{"key":"S1471068426100611_ref13","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-24658-7"},{"key":"S1471068426100611_ref5","doi-asserted-by":"publisher","DOI":"10.24963\/ijcai.2021\/254"},{"key":"S1471068426100611_ref14","doi-asserted-by":"publisher","DOI":"10.1016\/j.artint.2021.103504"},{"key":"S1471068426100611_ref11","unstructured":"Krizhevsky, A. and Hinton, G. 2009. Learning multiple layers of features from tiny images. Technical Report 0, University of Toronto, Toronto, Ontario."},{"key":"S1471068426100611_ref8","article-title":"Multi-shot ASP solving with clingo","author":"Gebser","year":"2017","journal-title":"Theory and Practice of Logic Programming"},{"key":"S1471068426100611_ref16","first-page":"1076","article-title":"Scalable neural-probabilistic answer set programming","volume":"78","author":"Skryagin","year":"2024","journal-title":"Journal of Artificial Intelligence Research"},{"key":"S1471068426100611_ref12","doi-asserted-by":"crossref","unstructured":"Law, M. , Russo, A. and Broda, K. 2019. Logic-based learning of answer set programs. In Reasoning Web. Explainable Artificial Intelligence: 15th International Summer School 2019, Bolzano, Italy, September 20-24, 2019, Tutorial Lectures 2019, Springer International Publishing, Cham, 196\u2013231.","DOI":"10.1007\/978-3-030-31423-1_6"},{"key":"S1471068426100611_ref7","doi-asserted-by":"publisher","DOI":"10.1007\/s10462-023-10448-w"}],"container-title":["Theory and Practice of Logic Programming"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.cambridge.org\/core\/services\/aop-cambridge-core\/content\/view\/S1471068426100611","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/www.cambridge.org\/core\/services\/aop-cambridge-core\/content\/view\/S1471068426100611","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,10,22]],"date-time":"2026-10-22T02:41:15Z","timestamp":1792636875000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.cambridge.org\/core\/product\/identifier\/S1471068426100611\/type\/journal_article"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,3]]},"references-count":20,"journal-issue":{"issue":"1-2","published-print":{"date-parts":[[2026,3]]}},"alternative-id":["S1471068426100611"],"URL":"https:\/\/doi.org\/10.1017\/s1471068426100611","relation":{},"ISSN":["1471-0684","1475-3081"],"issn-type":[{"value":"1471-0684","type":"print"},{"value":"1475-3081","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,3]]},"assertion":[{"value":"\u00a9 The Author(s), 2026. Published by Cambridge University Press","name":"copyright","label":"Copyright","group":{"name":"copyright_and_licensing","label":"Copyright and Licensing"}},{"value":"This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https:\/\/creativecommons.org\/licenses\/by\/4.0\/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.","name":"license","label":"License","group":{"name":"copyright_and_licensing","label":"Copyright and Licensing"}},{"value":"This content has been made available to all.","name":"free","label":"Free to read"}]}}