Disjunctive normal networks

Mehdi Sajjadi, Mojtaba Seyedhosseini, Tolga TasdizenNeurocomputing 2014

TL;DR

This paper introduces Logistic Disjunctive Normal Networks (LDNNs), a novel neural network architecture designed to overcome the limitations of traditional Multi-Layer Perceptrons (MLPs) trained with backpropagation. LDNNs offer faster training, improved accuracy, and a more intuitive initialization process, making them a competitive alternative to established methods like Support Vector Machines (SVMs) and Random Forests (RFs).

What Problem Does This Paper Address?

Artificial Neural Networks (ANNs), particularly MLPs, have historically been powerful pattern classifiers. However, their dominance has waned due to several drawbacks:

  • Slow Training and "Herd Effect": The backpropagation algorithm, used to train MLPs, suffers from the "herd effect." This phenomenon occurs because all hidden units are updated simultaneously without direct communication, making it difficult for them to effectively specialize and leading to long training times and suboptimal convergence.
  • Limited Accuracy: Compared to newer methods like Support Vector Machines (SVMs) and Random Forests (RFs), MLPs often exhibit lower classification accuracy.
  • Computational Cost: Training MLPs can be computationally expensive, especially with large and high-dimensional datasets.

The authors aim to address these issues by proposing a new network architecture that is easier to train, achieves state-of-the-art accuracy, and can be integrated into deep learning frameworks for tasks like image classification.

Methods

The core innovation is the Logistic Disjunctive Normal Network (LDNN). Here's a breakdown of its key components and how it differs from traditional MLPs:

  • Architecture: An LDNN consists of:
  • An adaptive layer of logistic sigmoid functions that act as feature detectors.
  • A fixed layer of "soft NAND gates" that compute the logical negation of conjunctions.
  • A final output layer that computes the disjunction of these negated conjunctions. This structure is inspired by the disjunctive normal form (DNF) of Boolean functions, where a function is represented as a disjunction of conjunctions.

  • Approximation of Boolean Operations: The paper approximates Boolean conjunctions with products and disjunctions with a formulation derived from De Morgan's laws, allowing for differentiable operations.

  • Intuitive Initialization: Unlike the random initialization in MLPs that contributes to the herd effect, LDNNs allow for a simple and intuitive initialization. This is achieved by partitioning the positive and negative training data into clusters and initializing weights based on the centroids of these clusters. This initialization aims to create conjunctions that separate positive and negative instances within each cluster.
  • Unified Training: A key advantage is that the entire LDNN network, including the feature detectors and the logical gates, can be trained end-to-end by minimizing a single error function (e.g., quadratic error or cross-entropy). This unified optimization avoids the limitations of independent module training seen in some prior modular network approaches.
  • Deep Learning Integration: The authors demonstrate how LDNNs can be seamlessly integrated as classifiers in deep learning architectures, particularly by replacing the fully-connected layers of Convolutional Neural Networks (ConvNets). This allows for joint optimization of convolutional feature extractors and LDNN classifiers.

Datasets

The paper evaluates LDNNs on a variety of datasets:

  • General Classification:
    • 10 binary classification problems.
  • 6 multi-class classification problems.
  • Artificial datasets: Two-spirals dataset, two-moons dataset.
  • Image Classification:
    • MNIST
    • CIFAR10
    • NORB
    • SVHN
    • CIFAR100

Key Insights and Ideas

  • Solving the "Herd Effect": The intuitive initialization based on clustering directly addresses the herd effect in MLPs, leading to faster convergence and more stable training.
  • Differentiable Logic: By approximating Boolean operations with differentiable functions (logistic sigmoids and products), the entire network can be trained using gradient descent, enabling end-to-end learning.
  • Unified Learning Framework: Training the entire LDNN architecture (feature detectors and logical gates) simultaneously, rather than training modules independently, leads to superior performance and accuracy.
  • Effective Deep Learning Component: LDNNs serve as powerful and efficient classifiers that can be plugged into deep learning pipelines (like ConvNets), allowing for joint optimization of feature extraction and classification.
  • Competitive Performance: LDNNs demonstrate strong performance across a wide range of tasks, often outperforming established methods like MLPs, SVMs, and RFs in terms of both accuracy and training speed.

Key Results

  • General Classification: LDNNs outperformed MLPs in all tested binary and multi-class problems in terms of accuracy and computational speed. They achieved the best accuracy in 11 out of 16 classification problems compared to SVMs and RFs.
  • Image Classification:
    • On the MNIST dataset (unmodified), LDNNs achieved a test error rate of 0.38% when integrated into a ConvNet, outperforming other methods in terms of accuracy and requiring fewer training epochs.
  • On CIFAR10, the proposed deep structure achieved a voting error rate of 9.39%, competitive with state-of-the-art results.
  • On NORB, LDNNs achieved a 3.09% error rate, also competitive with state-of-the-art.
  • On SVHN, the proposed structure achieved a 1.92% error rate, outperforming other methods.
  • On CIFAR100, the structure achieved a 36.17% error rate, demonstrating its ability to handle datasets with a large number of classes.
  • Training Speed: LDNNs were significantly faster to train than MLPs and often required fewer epochs than other advanced methods like DropConnect.
  • Robustness: LDNNs showed less tendency to severely overfit data compared to RFs.

Limitations and Future Work

  • Model Complexity Selection: While LDNNs offer better initialization, selecting the optimal number of conjunctions (N) and discriminants per conjunction (M) still requires careful tuning, often through cross-validation or a separate validation set.
  • Future Work:
    • Exploring the use of cross-entropy loss instead of square error for potentially improved accuracy.
  • Investigating adaptive step sizes for training.
  • Using more powerful non-linear discriminants within the conjunctions (e.g., conic sections).
  • Further exploration of automatic model complexity selection.

Summary updated

BibTeX
@inproceedings{sajjadi2014disjunctive,
  author = {Mehdi Sajjadi and Mojtaba Seyedhosseini and Tolga Tasdizen},
  title = {{Disjunctive normal networks}},
  booktitle = {Neurocomputing},
  year = {2014},
  doi = {10.1016/j.neucom.2016.08.047},
}
Figure