HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Compositional Attention Networks for Machine Reasoning

Drew A. Hudson; Christopher D. Manning

Compositional Attention Networks for Machine Reasoning

Abstract

We present the MAC network, a novel fully differentiable neural network architecture, designed to facilitate explicit and expressive reasoning. MAC moves away from monolithic black-box neural architectures towards a design that encourages both transparency and versatility. The model approaches problems by decomposing them into a series of attention-based reasoning steps, each performed by a novel recurrent Memory, Attention, and Composition (MAC) cell that maintains a separation between control and memory. By stringing the cells together and imposing structural constraints that regulate their interaction, MAC effectively learns to perform iterative reasoning processes that are directly inferred from the data in an end-to-end approach. We demonstrate the model's strength, robustness and interpretability on the challenging CLEVR dataset for visual reasoning, achieving a new state-of-the-art 98.9% accuracy, halving the error rate of the previous best model. More importantly, we show that the model is computationally-efficient and data-efficient, in particular requiring 5x less data than existing models to achieve strong results.

Code Repositories

kakao/DAFT
pytorch
Mentioned in GitHub
ronilp/mac-network-pytorch-gqa
pytorch
Mentioned in GitHub
adlnlp/attention_vl
pytorch
Mentioned in GitHub
stanfordnlp/mac-network
Official
tf
Mentioned in GitHub
tohinz/pytorch-mac-network
pytorch
Mentioned in GitHub
ceyzaguirre4/DACT-MAC
pytorch
Mentioned in GitHub
ivegner/Multi-Memory-MAC-Network
pytorch
Mentioned in GitHub
Glaciohound/VCML
pytorch
Mentioned in GitHub
ceyzaguirre4/mac-network-pytorch
pytorch
Mentioned in GitHub
rosinality/mac-network-pytorch
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
visual-question-answering-on-clevrMAC
Accuracy: 98.9
visual-question-answering-on-clevr-humansMAC
Accuracy: 81.5

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
Compositional Attention Networks for Machine Reasoning | Papers | HyperAI