HackerPapers

arXiv:2402.00854cs.LG

SymbolicAI: A framework for logic-based approaches combining generative models and solvers

Marius-Constantin Dinu, Claudiu Leoveanu-Condrei, Markus Holzleitner, Werner Zellinger, Sepp Hochreiter

Abstract

We introduce SymbolicAI, a versatile and modular framework employing a logic-based approach to concept learning and flow management in generative processes. SymbolicAI enables the seamless integration of generative models with a diverse range of solvers by treating large language models (LLMs) as semantic parsers that execute tasks based on both natural and formal language instructions, thus bridging the gap between symbolic reasoning and generative AI. We leverage probabilistic programming principles to tackle complex tasks, and utilize differentiable and classical programming paradigms with their respective strengths. The framework introduces a set of polymorphic, compositional, and self-referential operations for multi-modal data that connects multi-step generative processes and aligns their outputs with user objectives in complex workflows. As a result, we can transition between the capabilities of various foundation models with in-context learning capabilities and specialized, fine-tuned models or solvers proficient in addressing specific problems. Through these operations based on in-context learning our framework enables the creation and evaluation of explainable computational graphs. Finally, we introduce a quality measure and its empirical score for evaluating these computational graphs, and propose a benchmark that compares various state-of-the-art LLMs across a set of complex workflows. We refer to the empirical score as the "Vector Embedding for Relational Trajectory Evaluation through Cross-similarity", or VERTEX score for short. The framework codebase and benchmark are linked below.

arXiv comments
46 pages, 13 figures, external resources: framework is available at https://github.com/ExtensityAI/symbolicai and benchmark at https://github.com/ExtensityAI/benchmark
Journal reference
DOI
Subjects
cs.LGMachine Learning cs.AIArtificial Intelligence cs.SCSymbolic Computation cs.SESoftware Engineering

On Hacker News

Linked by 4 identifiable commenters in 4 comments across 4 threads, from Feb 2024 to Mar 2026.

Comments linking this paper, per year.

Discussed in comments4 threads

    • Probably linking the paper and examples notebook here makes sense as they are pretty explanatory: https://github.com/ExtensityAI/symbolicai/blob/main/examples... https://arxiv.org/pdf/2402.00854

      robertkrahn01View on HNParent context

    • Symbolic AI still alive and kicking, https://arxiv.org/abs/2402.00854 also liking the experiments around Graph Neural Networks and hybrids thereof.

      tudorwView on HNParent context

    • Thanks for your comment. Please let me know what's not clear. Still no takers on my ML is CV comment below. Research on on-device ASR and computer vision is primarily driven by the same organizations that stand to benefit the most from it. It's nearly impossible to talk about…

      _t89yView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.