atlas

Research map / Large language models / Agents, code and math

DOLPHIN: A Programmable Framework for Scalable Neurosymbolic Learning

ICML 2025 · Large language models › Agents, code and math · approach: LLM-guided program synthesis · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces DOLPHIN, a PyTorch-integrated neurosymbolic framework that runs symbolic logic on CPU while vectorizing probabilistic computation and gradients on GPU, with vectorized DAMP and DTKP-AM provenances.

Problem

Neurosymbolic learning does not scale to complex symbolic programs (recursion, black-box functions) or large datasets; existing frameworks either run symbolic computation on CPU without batching or ground everything on GPU and run out of memory.

Approach

Decouple symbols (arbitrary Python objects, processed on CPU) from tags (batched PyTorch tensors of probabilities, processed on GPU) via a Distribution abstraction with apply/filter/apply_if/union/get_probs primitives, plus vectorized provenance semirings (DAMP and an add-mult approximation of top-k proofs, DTKP-AM).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use DOLPHIN instead of Scallopneurosymbolic training · SumN-5 through Mugen-5Ktraining time: 1.71x to 47.18x fasterHelped
Use DOLPHIN instead of LTN, ISED, or IndeCateR+SumN and HWF · SumN and HWFtraining time: 1.72x to 62.41x fasterHelped
Use DOLPHIN rather than Scallopcomplex benchmarks · HWF, PathFinder, and Mugenconvergence within 10 hoursHelped
Use DOLPHIN rather than ScallopCLUTRR · CLUTRRaccuracyHurt
Use DAMP instead of DTKP-AM (ablation)DOLPHIN · SumNaccuracy: 72% points on averageHelped
Use DTKP-AM instead of DAMP (ablation)DOLPHIN · HWFaccuracy: 42.2% points on averageHelped
Use DAMP rather than DTKP-AM (ablation)DOLPHIN · PathFinder, CLUTRR, and MugenaccuracyNo clear effect
Increase DTKP-AM top-K (ablation)DOLPHIN · Sum-15, Path-256, CLUTRR-4, and Mugen-5KaccuracyNo clear effect
Increase DTKP-AM top-K (ablation)DOLPHIN · HWF-19accuracy: 8.94; 99.15; 96.89; 95.75Mixed
Increase DTKP-AM top-K (ablation)DOLPHIN · Sum-15, HWF-19, Path-256, CLUTRR-4, and Mugen-5Ktraining time per epoch: 37.21; 47.70; 53.52; 58.54; 1.21e3; 1.40e3; 1.33e3; 1.46e3; 1.97e3; 2.34e3; 2.10e3; 2.12e3; 240.50; 257.89; 261.31; 257.Mixed
Parallelize tag computations on GPU over batches instead of running all computations sequentially on CPU (ablation)DOLPHIN HWF forward pass · HWFtotal time (s): 497.26 -> 89.25Helped

Surprising findings

Limitations

Experimental setup

Datasets: MNIST HWF PathFinder CLUTRR Mugen

Benchmarks: MNIST SumN HWF PathFinder CLUTRR Mugen

Metrics: accuracy training time to convergence scaling factor alpha

Baselines: Scallop ISED IndeCateR+ Logic Tensor Networks

Builds on: Scallop DTKP DAMP Logic Tensor Networks DeepProbLog

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy