Skip to main content
QUICK REVIEW

[Paper Review] Network Signatures from Image Representation of Adjacency Matrices: Deep/Transfer Learning for Subgraph Classification

Kshiteesh Hegde, Malik Magdon‐Ismail|arXiv (Cornell University)|Apr 17, 2018
Complex Network Analysis TechniquesPhysics and Astronomy16 references5 citations
TL;DR

This paper proposes a novel image-based representation of graph adjacency matrices that enables high-accuracy subgraph classification via deep learning and transfer learning. By transforming permutation-invariant adjacency matrices into structured 2D images, the method achieves over 90% accuracy in identifying parent networks from small subgraphs, even with minimal training data, and successfully transfers knowledge from pre-trained image models to the graph domain with strong robustness to data scarcity.

ABSTRACT

We propose a novel subgraph image representation for classification of network fragments with the targets being their parent networks. The graph image representation is based on 2D image embeddings of adjacency matrices. We use this image representation in two modes. First, as the input to a machine learning algorithm. Second, as the input to a pure transfer learner. Our conclusions from several datasets are that (a) deep learning using our structured image features performs the best compared to benchmark graph kernel and classical features based methods; and, (b) pure transfer learning works effectively with minimum interference from the user and is robust against small data.

Motivation & Objective

  • To address the challenge of classifying subgraphs by identifying their parent networks, especially when training data is scarce.
  • To explore whether graph classification can be effectively reframed as image classification using structured image embeddings of adjacency matrices.
  • To evaluate the effectiveness of transfer learning from pre-trained image models (e.g., Caffe on ImageNet) for graph classification in a completely unrelated domain.
  • To assess the robustness of the method under low-data regimes and varying subgraph sizes.
  • To compare the performance of the image-based approach against traditional graph kernel and feature-based methods.

Proposed method

  • Construct a permutation-invariant adjacency matrix using a method from Wu et al. (2016), ensuring structural consistency under node reordering.
  • Convert the adjacency matrix into a 2D image representation where each pixel corresponds to an edge (1) or non-edge (0), forming a lossless image embedding.
  • Apply deep neural networks directly to the structured image embeddings for end-to-end subgraph classification.
  • Use a pre-trained Caffe model (trained on ImageNet) as a black-box transfer learner, passing the image embeddings through it to obtain class probability vectors.
  • Map the Caffe output vectors to the source network domain using a distance-based heuristic (e.g., Jaccard distance) and K-nearest neighbors for classification.
  • Employ a majority rule over K-nearest neighbors in the label-vector space to assign the final network label to each subgraph.

Experimental results

Research questions

  • RQ1Can a structured image representation of adjacency matrices outperform traditional graph kernel and feature-based methods in subgraph classification?
  • RQ2To what extent can transfer learning from a pre-trained image classifier (e.g., Caffe on ImageNet) be effective for classifying network subgraphs in a completely unrelated domain?
  • RQ3How robust is the proposed method to small training data sizes, especially in low-data regimes common in real-world networks like terrorist or citation networks?
  • RQ4Does the performance of the method degrade significantly with very small subgraphs (e.g., 8–16 nodes)?
  • RQ5How does the choice of K in K-nearest neighbors affect classification accuracy in the transfer learning setting?

Key findings

  • The proposed image-based representation achieved over 90% accuracy in classifying parent networks from 64-node subgraphs, even when the parent networks contained up to one million nodes.
  • Pairwise classification between similarly themed networks (e.g., Wikipedia vs. Web) reached 94.57% accuracy, while other pairs achieved 80–90% accuracy.
  • Multiclass classification using transfer learning achieved 61% accuracy, demonstrating the method’s viability despite the increased complexity of multiple classes.
  • The transfer learning approach remained robust even with only 10% of the training data, showing strong resilience to data scarcity.
  • Performance was stable for K > 15 in the K-nearest neighbors step, indicating that the method is not sensitive to neighborhood size beyond a threshold.
  • The method outperformed benchmark graph kernel and classical feature-based approaches, establishing the image representation as a superior input for graph classification.

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.