Skip to main content
QUICK REVIEW

[Paper Review] Understanding Community Structure in Layered Neural Networks

Chihiro Watanabe, Kaoru Hiramatsu|arXiv (Cornell University)|Apr 13, 2018
Neural Networks and ApplicationsComputer Science24 references3 citations
TL;DR

This paper proposes a quantitative method to interpret the role of communities in layered neural networks by defining input-to-community and community-to-output effects, enabling precise analysis of modular structures. The approach reveals how each community contributes to inference, overcoming limitations of threshold-dependent community detection and providing consistent, interpretable insights across varying hyperparameters.

ABSTRACT

A layered neural network is now one of the most common choices for the prediction of high-dimensional practical data sets, where the relationship between input and output data is complex and cannot be represented well by simple conventional models. Its effectiveness is shown in various tasks, however, the lack of interpretability of the trained result by a layered neural network has limited its application area. In our previous studies, we proposed methods for extracting a simplified global structure of a trained layered neural network by classifying the units into communities according to their connection patterns with adjacent layers. These methods provided us with knowledge about the strength of the relationship between communities from the existence of bundled connections, which are determined by threshold processing of the connection ratio between pairs of communities. However, it has been difficult to understand the role of each community quantitatively by observing the modular structure. We could only know to which sets of the input and output dimensions each community was mainly connected, by tracing the bundled connections from the community to the input and output layers. Another problem is that the finally obtained modular structure is changed greatly depending on the setting of the threshold hyperparameter used for determining bundled connections. In this paper, we propose a new method for interpreting quantitatively the role of each community in inference, by defining the effect of each input dimension on a community, and the effect of a community on each output dimension. We show experimentally that our proposed method can reveal the role of each part of a layered neural network by applying the neural networks to three types of data sets, extracting communities from the trained network, and applying the proposed method to the community structure.

Motivation & Objective

  • To address the lack of interpretability in layered neural networks (LNNs), particularly in understanding the functional role of detected communities.
  • To overcome the instability and subjectivity of threshold-based community detection methods that alter modular structure based on hyperparameter choices.
  • To develop a quantitative framework that measures the influence of input dimensions on communities and communities on output dimensions.
  • To enable consistent, interpretable analysis of LNNs by replacing heuristic bundled connection thresholds with effect-based community role quantification.

Proposed method

  • Introduces input-effect and output-effect measures to quantify the influence of each input dimension on a community and each community on output dimensions.
  • Defines community-level influence using weighted sums of connection weights: $\tau^{\prime+}_{c,j} = \frac{\sum_k B^{+}_{k,j} q_{k,c}}{\sum_k q_{k,c}}$ and $\tau^{\prime-}_{c,j} = \frac{\sum_k B^{-}_{k,j} q_{k,c}}{\sum_k q_{k,c}}$, where $q_{k,c}$ represents community membership.
  • Applies an expectation-maximization (EM) algorithm with community detection trials to maximize expected log-likelihood, selecting the best community structure.
  • Uses normalized data and LASSO regularization to stabilize training and improve generalization.
  • Employs a fixed training order in experiments to ensure stable convergence during community detection.
  • Validates the method on three datasets: synthetic, consumer price index, and image classification, comparing results with linear models.

Experimental results

Research questions

  • RQ1How can the functional role of each community in a layered neural network be quantitatively measured beyond simple connectivity patterns?
  • RQ2Does the proposed effect-based method yield more stable and interpretable community interpretations compared to threshold-based bundled connection analysis?
  • RQ3Can the method reveal meaningful input-output relationships that reflect the actual contribution of communities to inference?
  • RQ4How does the proposed method compare to linear models in capturing complex input-output relationships in high-dimensional data?
  • RQ5Is the community structure interpretation robust across different hyperparameter settings, especially when threshold-based methods fail?

Key findings

  • The proposed method successfully quantifies the influence of each input dimension on a community and each community on output dimensions, enabling precise role interpretation.
  • The method provides consistent community interpretations across varying hyperparameters, eliminating the instability seen in threshold-based methods.
  • In the consumer price index dataset, the layered neural network achieved lower generalization error than a linear model, demonstrating superior performance on complex, high-dimensional data.
  • The linear model achieved minimum generalization error at 29 months of input data, but the layered neural network outperformed it across all tested time spans.
  • The method revealed that community-level effects are more informative than bundled connections alone, offering a clearer understanding of functional roles in inference.

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.