English

Enumerating Unique Computational Graphs via an Iterative Graph Invariant

Discrete Mathematics 2019-02-19 v1 Combinatorics

Abstract

In this report, we describe a novel graph invariant for computational graphs (colored directed acylic graphs) and how we used it to generate all distinct computational graphs up to isomorphism for small graphs. The algorithm iteratively applies isomorphism-invariant operations, which take into account the graph structure and coloring, and outputs a fixed-length hash that is identical for all isomorphic computational graphs. While the algorithm cannot perfectly distinguish all pairs of non-isomorphic computational graphs, we suggest that it may be useful as a heuristic for comparing graphs.

Keywords

Cite

@article{arxiv.1902.06192,
  title  = {Enumerating Unique Computational Graphs via an Iterative Graph Invariant},
  author = {Chris Ying},
  journal= {arXiv preprint arXiv:1902.06192},
  year   = {2019}
}
R2 v1 2026-06-23T07:42:50.310Z