CP-CNN: Core-Periphery Principle Guided Convolutional Neural Network

Lin Zhao, Haixing Dai, Zihao Wu, Dajiang Zhu, Tianming LiuarXiv 2023 · DOI

Introduction

The design of Convolutional Neural Networks (CNNs) has traditionally relied on manual architectural innovations or automated Neural Architecture Search (NAS). While effective, these approaches often lack a unifying biological principle and can result in "black-box" models that struggle to generalize across diverse tasks. CP-CNN addresses this by drawing inspiration from the structural organization of the human brain. Specifically, it leverages the Core-Periphery (CP) principle—a fundamental feature of biological neural networks where a dense "core" of highly connected regions integrates information, while a sparse "periphery" handles specialized processing.

Mapping brain network structures to a Core-Periphery Graph.

Methodology: Implementing the CP Principle

The researchers operationalize the core-periphery structure at two levels of granularity: the macro-architecture wiring and the micro-operation level.

1. CP-Block (Wiring Pattern)

Instead of standard sequential layers, CP-CNN uses CP graphs to define the wiring of network blocks. An undirected CP graph is generated and converted into a Directed Acyclic Graph (DAG) using a heuristic labeling strategy. This DAG serves as the computational blueprint, where "core" nodes are densely interconnected to facilitate global integration, and "periphery" nodes connect primarily to the core.

2. CP-Conv (Operation Sparsification)

Standard convolutions are "dense," meaning every input channel can potentially influence every output channel. CP-CNN introduces Core-Periphery Constrained Convolution (CP-Conv), which uses the CP graph to sparsify these channel-wise connections. This reduction in density helps prevent overfitting and improves computational efficiency, particularly on smaller datasets.

Macro-Architecture

The overall network follows a hierarchical structure consisting of a convolutional stem, followed by four CP-Blocks, and concluding with global average pooling and a fully connected layer for classification.

Overview of the CP-CNN architecture, including CP-Block wiring and CP-Conv sparsification.

Experimental Evaluation

CP-CNN was evaluated across three distinct datasets to assess its generalizability and efficiency:

  • CIFAR-10: A benchmark for natural images where CP-CNN achieved 92.65% accuracy, outperforming ResNet-50 (90.55%) and SwinV2-T (81.76%).
  • NCT-CRC: A medical histology dataset where the model reached 96.78% accuracy, surpassing various CNN and Vision Transformer (ViT) baselines.
  • INBreast: A small-scale mammography dataset. CP-CNN achieved 85.75% accuracy, demonstrating that its sparse architecture is particularly effective in data-constrained environments.

Key Insights

A critical finding of the study is that sparsity is task-dependent. The optimal number of core nodes ($nc$) varies with the complexity and size of the dataset. For smaller datasets like INBreast, a sparser core (e.g., 2 nodes) prevents overfitting. Conversely, larger datasets like CIFAR-10 benefit from a denser core (e.g., 14 nodes) to capture complex features. Furthermore, CP-guided networks consistently outperformed random graph models (like Erdos-Renyi or Watts-Strogatz), suggesting that the core-periphery structure is a superior inductive bias for visual tasks.

Conclusion and Future Work

CP-CNN demonstrates that biological structural principles can be effectively translated into artificial neural network design to enhance performance and efficiency. While the current approach requires some hyperparameter tuning for the core node count, future work aims to automate this process through NAS. Additionally, scaling these experiments to massive benchmarks like ImageNet-1K will be essential to validate the principle's effectiveness in large-scale "Big Data" scenarios.

Summary updated

Abstract

The evolution of convolutional neural networks (CNNs) can be largely attributed to the design of its architecture, i.e., the network wiring pattern. Neural architecture search (NAS) advances this by automating the search for the optimal network architecture, but the resulting network instance may not generalize well in different tasks. To overcome this, exploring network design principles that are generalizable across tasks is a more practical solution. In this study, We explore a novel brain-inspired design principle based on the core-periphery property of the human brain network to guide the design of CNNs. Our work draws inspiration from recent studies suggesting that artificial and biological neural networks may have common principles in optimizing network architecture. We implement the core-periphery principle in the design of network wiring patterns and the sparsification of the convolution operation. The resulting core-periphery principle guided CNNs (CP-CNNs) are evaluated on three different datasets. The experiments demonstrate the effectiveness and superiority compared to CNNs and ViT-based methods. Overall, our work contributes to the growing field of brain-inspired AI by incorporating insights from the human brain into the design of neural networks.
BibTeX
@misc{zhao2023cp,
  author = {Lin Zhao and Haixing Dai and Zihao Wu and Dajiang Zhu and Tianming Liu},
  title = {{CP-CNN: Core-Periphery Principle Guided Convolutional Neural Network}},
  year = {2023},
  eprint = {2304.10515},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.10515},
}
Figure