Skip to main content
QUICK REVIEW

[Paper Review] A measure for the complexity of Boolean functions related to their implementation in neural networks

Leonardo Franco|arXiv (Cornell University)|Nov 9, 2001
Neural Networks and ApplicationsComputer Science4 citations
TL;DR

This paper introduces a novel complexity measure for Boolean functions based on the number of neighboring input pairs that differ in output value, enabling direct computation from the function definition without implementation dependence. The measure correlates strongly with generalization ability in feedforward neural networks and exhibits a surprising analogy to ferromagnetic energy functions, offering a rigorous statistical mechanics framework for analyzing neural network computational capabilities.

ABSTRACT

We define a measure for the complexity of Boolean functions related to their implementation in neural networks, and in particular close related to the generalization ability that could be obtained through the learning process. The measure is computed through the calculus of the number of neighbor examples that differ in their output value. Pairs of these examples have been previously shown to be part of the minimum size training set needed to obtain perfect generalization in feedforward neural networks. The main advantage of the proposed measure, in comparison to existing ones, is the way in which the measure is evaluated, as it can be computed from the definition of the function itself, independently of its implementation. The validity of the proposal is analyzed through numerical simulations performed on different feedforward neural networks architectures, and a good agreement is obtained between the predicted complexity and the generalization ability for different classes of functions. Also an interesting analogy was found between the proposed complexity measure and the energy function of ferromagnetic systems, that could be exploited, by use of the existing results and mathematical tools developed within a statistical mechanics framework, to explore in a more rigorous way the properties of Boolean functions when implemented on neural networks. We conjecture that the proposed measure could help as an useful tool for carrying a systematic study of the computational capabilities of neural networks, essentially by permitting an easy and reliable classification of Boolean functions. Possible extensions of the work are also discussed.

Motivation & Objective

  • To develop a complexity measure for Boolean functions that reflects their implementability and generalization potential in feedforward neural networks.
  • To create a measure computable directly from the function's definition, independent of any specific neural network architecture or implementation.
  • To establish a quantitative link between Boolean function complexity and the generalization ability observed during neural network training.
  • To explore connections between the proposed complexity measure and statistical mechanics, particularly ferromagnetic systems, to leverage existing theoretical tools.
  • To provide a systematic classification tool for Boolean functions based on their computational complexity in neural network contexts.

Proposed method

  • The complexity measure is defined as the number of neighboring input pairs (differing in exactly one bit) that produce different output values in the Boolean function.
  • The measure is derived directly from the truth table or logical definition of the Boolean function, without requiring training or network-specific parameters.
  • Numerical simulations are conducted on various feedforward neural network architectures to evaluate the correlation between the proposed measure and actual generalization performance.
  • Theoretical analogy is drawn between the complexity measure and the energy function of ferromagnetic spin systems, suggesting shared mathematical structures.
  • The method uses combinatorial analysis of input space to count edge transitions between inputs differing in Hamming distance one.
  • The validity of the measure is tested across different classes of Boolean functions, comparing predicted complexity with observed learning behavior.

Experimental results

Research questions

  • RQ1How can the complexity of a Boolean function be quantified in a way that reflects its learnability and generalization potential in neural networks?
  • RQ2Can a complexity measure be derived directly from the function's definition, independent of neural network architecture or training process?
  • RQ3What is the relationship between the proposed complexity measure and the minimum training set size required for perfect generalization?
  • RQ4To what extent does the proposed measure correlate with actual generalization performance across diverse Boolean function classes?
  • RQ5Can the proposed measure be related to established models in statistical mechanics, such as ferromagnetic systems, to enable deeper theoretical analysis?

Key findings

  • The proposed complexity measure shows strong agreement with observed generalization ability across different classes of Boolean functions in numerical simulations.
  • The measure is computable directly from the function's definition, making it applicable without prior training or network-specific configuration.
  • A significant analogy is found between the complexity measure and the energy function of ferromagnetic systems, suggesting shared underlying mathematical structure.
  • The measure correlates with the minimum training set size required for perfect generalization, as previously identified in theoretical studies.
  • The method enables a systematic classification of Boolean functions based on their computational complexity in neural network implementations.
  • The results suggest that the measure can serve as a reliable predictor of learning difficulty and generalization potential in feedforward networks.

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.