Inference
Accelerating NeurASP with vectorization and caching
The paper presents an enhanced implementation of NeurASP, a neurally-driven framework for combining neural networks and answer set programming (ASP), which improves computational efficiency through vectorization, batch processing, and caching of intermediate calculations. Benchmark results indicate speedups of multiple orders of magnitude for larger tasks compared to the original NeurASP, and the authors introduce a new dataset focused on complex tasks involving playing cards to evaluate these enhancements. This advancement is significant for practitioners as it enables scaling NeurASP to more sophisticated applications, facilitating the integration of neural and symbolic reasoning in real-world scenarios.
neurosymbolicllmperformanceoptimization