HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

NeSyCoCo: A Neuro-Symbolic Concept Composer for Compositional Generalization

Danial Kamali Elham J. Barezi Parisa Kordjamshidi

NeSyCoCo: A Neuro-Symbolic Concept Composer for Compositional Generalization

Abstract

Compositional generalization is crucial for artificial intelligence agents to solve complex vision-language reasoning tasks. Neuro-symbolic approaches have demonstrated promise in capturing compositional structures, but they face critical challenges: (a) reliance on predefined predicates for symbolic representations that limit adaptability, (b) difficulty in extracting predicates from raw data, and (c) using non-differentiable operations for combining primitive concepts. To address these issues, we propose NeSyCoCo, a neuro-symbolic framework that leverages large language models (LLMs) to generate symbolic representations and map them to differentiable neural computations. NeSyCoCo introduces three innovations: (a) augmenting natural language inputs with dependency structures to enhance the alignment with symbolic representations, (b) employing distributed word representations to link diverse, linguistically motivated logical predicates to neural modules, and (c) using the soft composition of normalized predicate scores to align symbolic and differentiable reasoning. Our framework achieves state-of-the-art results on the ReaSCAN and CLEVR-CoGenT compositional generalization benchmarks and demonstrates robust performance with novel concepts in the CLEVR-SYN benchmark.

Code Repositories

hlr/nesycoco
Official
pytorch

Benchmarks

BenchmarkMethodologyMetrics
visual-question-answering-on-clevrNeSyCoCo
Accuracy: 99.7
visual-question-answering-on-clevr-1NeSyCoCo Neuro-Symbolic
Accuracy: 99.7

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp