Skip to main content
QUICK REVIEW

[Paper Review] AOGNets: Compositional Grammatical Architectures for Deep Learning

Xilai Li, Xi Song|arXiv (Cornell University)|Nov 15, 2017
Adversarial Robustness in Machine LearningComputer Science73 references6 citations
TL;DR

This paper proposes AOGNets, a novel deep learning architecture that integrates AND-OR Grammar (AOG) to generate compositional, reconfigurable neural network structures. By using AOG building blocks that jointly parse feature maps via phrase and dependency grammars, AOGNets achieve state-of-the-art accuracy on CIFAR-10, CIFAR-100, ImageNet-1K, and MS-COCO benchmarks, outperforming ResNet, ResNeXt, DenseNet, and SENet variants while improving model interpretability and adversarial robustness with reduced FLOPs and parameters.

ABSTRACT

Neural architectures are the foundation for improving performance of deep neural networks (DNNs). This paper presents deep compositional grammatical architectures which harness the best of two worlds: grammar models and DNNs. The proposed architectures integrate compositionality and reconfigurability of the former and the capability of learning rich features of the latter in a principled way. We utilize AND-OR Grammar (AOG) as network generator in this paper and call the resulting networks AOGNets. An AOGNet consists of a number of stages each of which is composed of a number of AOG building blocks. An AOG building block splits its input feature map into N groups along feature channels and then treat it as a sentence of N words. It then jointly realizes a phrase structure grammar and a dependency grammar in bottom-up parsing the "sentence" for better feature exploration and reuse. It provides a unified framework for the best practices developed in state-of-the-art DNNs. In experiments, AOGNet is tested in the CIFAR-10, CIFAR-100 and ImageNet-1K classification benchmark and the MS-COCO object detection and segmentation benchmark. In CIFAR-10, CIFAR-100 and ImageNet-1K, AOGNet obtains better performance than ResNet and most of its variants, ResNeXt and its attention based variants such as SENet, DenseNet and DualPathNet. AOGNet also obtains the best model interpretability score using network dissection. AOGNet further shows better potential in adversarial defense. In MS-COCO, AOGNet obtains better performance than the ResNet and ResNeXt backbones in Mask R-CNN.

Motivation & Objective

  • To unify best practices from state-of-the-art DNNs into a principled, compositional framework using grammar models.
  • To address the challenge of searching vast neural architecture spaces by introducing a grammar-guided network generator based on AND-OR Grammar (AOG).
  • To improve model performance, interpretability, and adversarial robustness without increasing computational cost or model complexity.
  • To enable structured, reconfigurable, and interpretable deep network architectures through explicit integration of compositionality and lateral connectivity.
  • To demonstrate that grammar-guided architectures can surpass existing SOTA models in accuracy and robustness across multiple benchmarks.

Proposed method

  • AOGNets are composed of multiple stages, each containing one or more AOG building blocks that parse input feature maps as 'sentences' of N channel groups.
  • Each AOG building block applies a phrase structure grammar and a dependency grammar in a bottom-up parsing manner to enable flexible feature exploration and reuse.
  • The architecture uses a hierarchical AND-OR structure where OR-nodes represent alternative feature paths and AND-nodes represent joint processing of multiple paths.
  • The method incorporates lateral connections (LC) to enhance gradient flow and feature propagation across different levels of the network.
  • A pruning strategy (RS) removes symmetric child nodes of OR-nodes to reduce structural complexity and increase effective feature dimensionality.
  • The framework supports reconfigurability and compositional design, enabling dynamic reorganization of network structures based on grammar rules.

Experimental results

Research questions

  • RQ1Can a grammar-guided network generator unify the best practices of modern DNNs into a single, interpretable, and reconfigurable architecture?
  • RQ2Can an AOG-based architecture achieve superior performance on image classification and object detection benchmarks compared to state-of-the-art models like ResNet and DenseNet?
  • RQ3Does the integration of compositional grammar principles improve model interpretability and adversarial robustness?
  • RQ4Can the AOGNet maintain or reduce FLOPs and parameter count while outperforming existing models?
  • RQ5To what extent do lateral connections and structural pruning (RS) contribute to performance gains in the AOGNet architecture?

Key findings

  • On ImageNet-1K, AOGNet achieves 80.18% top-1 accuracy with 40.3M parameters, outperforming ResNet-152 (77.0%, 60.2M), ResNeXt-101 (79.6%, 83.9M), and DualPathNet-98 (79.85%, 61.6M).
  • On CIFAR-10, AOGNet achieves a test error rate of 3.52% with 4.23M parameters, surpassing ResNet (4.62%), Wide ResNet (4.81%), and DenseNet-BC (4.51%).
  • On CIFAR-100, AOGNet achieves a test error rate of 17.99% with 4.23M parameters, outperforming ResNet (22.71%), Wide ResNet (22.07%), and DenseNet-BC (22.27%).
  • AOGNet achieves the highest model interpretability score using network dissection, indicating superior structural transparency and feature disentanglement.
  • In MS-COCO object detection and instance segmentation, AOGNet with a Mask R-CNN backbone outperforms models using ResNet and ResNeXt backbones.
  • Ablation studies confirm that both lateral connections (LC) and structural pruning (RS) contribute to performance gains, with LC reducing error by 0.05% and RS by 0.13% on CIFAR-100.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.