Deep dependency network inference

Shows how joint inference recovers a label that the classifier missed, with the paper's results.

Paper example and published results (AISTATS 2024, Tables 1 and 2). Papers: DDN.

Interactive Demo Structured MPE Inference vs. Neural Baselines (DDN-ILP) ▸

Deep Dependency Networks & Structured MPE Inference (DDN-ILP)

Interactive demonstration showing how structured dependency reasoning recovers missed labels, followed by empirical benchmark results from AISTATS 2024 (Tables 1 & 2).

AISTATS 2024 Structured Inference
Inference Mechanism: Neural vs. Neurosymbolic
Paper Figure 1 Example

Visual Context (Figure 1): Pitcher throwing on the mound. The sports ball is small, fast-moving, or occluded. For the neural baseline, each label is selected independently using a threshold of τ = 0.50.

Input Image
Input Image: Baseball pitcher throwing on the mound Figure 1
Concealed/fast-moving sports ball during pitch motion
Feature e₁ Feature e₂ Feature e₃ No label dependencies modeled Independent neural decisions person 0.99 Predicted baseball glove 0.99 Predicted sports ball 0.24 Missed (< 0.5)
Label 1
person
Neural score: 0.99 (≥ 0.50)
Predicted (Active)
Label 2
baseball glove
Neural score: 0.99 (≥ 0.50)
Predicted (Active)
Label 3 (Concealed/Small)
sports ball
Neural score: 0.24 (< 0.50)
Missed by baseline
Independent Neural Baseline: For the neural baseline, each label is selected independently using a threshold of τ = 0.50 on individual neural outputs. Because the sports ball is partially occluded in the pitching motion, its neural score (0.24) falls below the threshold. Independent baseline prediction cannot use learned dependencies among labels to recover it.
Subset Accuracy (SA) Gains Tables 1 & 2
+23 percentage points SA
Wetlab Actions: 0.35 → 0.65 (+30 percentage points)
TACoS Cooking: 0.40 → 0.63 (+23 percentage points)
PASCAL-VOC: 0.71 → 0.89 (+18 percentage points)
DDN-ILP Formulation Our Method
Structured MPE via ILP
Inference Task: Most Probable Explanation (MPE)
Solver: Integer Linear Programming (ILP)
Approximation: Piecewise-linear approximation of nonlinear DDN terms
Jaccard Index & Error Hamming Loss
Up to 0.95 JI
PASCAL-VOC: 0.95 JI (0.006 Hamming loss)
TACoS Actions: 0.72 JI (0.040 Hamming loss)
MS-COCO: 0.83 JI (0.88 F1 score)
Select Evaluated Benchmark Dataset (Tables 1 & 2, AISTATS 2024):
DDN-ILP (Ours, Structured MPE via ILP) 63.0% Subset Accuracy (0.72 JI, 0.040 HL)
DDN-Greedy (Ours, Greedy Local Search) 56.0% Subset Accuracy (0.69 JI, 0.040 HL)
DRF-ILP (Discriminative Random Field) 51.0% Subset Accuracy (0.65 JI, 0.030 HL)
InceptionV3 Feature Extractor Baseline 40.0% Subset Accuracy (0.61 JI, 0.082 HL)

Paper Finding (TACoS Cooking Actions, Table 1): DDN-ILP achieves a +23 percentage point increase in Subset Accuracy (from 0.40 to 0.63) over the InceptionV3 baseline and reduces Hamming error by more than half (0.082 → 0.040). Joint MPE inference reasons over learned dependencies among concurrent actions rather than making label decisions independently.