Manuscript Offprint
arXiv:2610.10867Shape irregularity of Life-Like Network Automaton rules as an indicator of classification performance
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
A PREPRINT
Lucas C. S. Oliveira
Institute of Mathematics and Computer Science
University of São Paulo
São Carlos, 13566-590, Brazil
Michiel Rollier
BionamiX, Dept. of Data Analysis and Mathematical Modelling
Ghent University
Ghent, 9000, Belgium
Jan Baetens
BionamiX, Dept. of Data Analysis and Mathematical Modelling
Ghent University
Ghent, 9000, Belgium
Odemir M. Bruno
AICS, São Carlos Institute of Physics
University of São Paulo
São Carlos, 13566-590, Brazil
October 5, 2026
ABSTRACT
Complex Network (CN) classification requires high-level structural characterizations that are both scale-invariant and computationally efficient. Methods based on Life-Like Network Automata (LLNA) offer an interesting way to extract network descriptors by leveraging emergent temporal patterns without requiring provided features, but their efficacy is bottlenecked by a high-cost combinatorial optimization problem: the selection of the automaton transition rule. While current literature relies on exhaustive searches that are unfeasible for large-scale applications, this work reveals that the rule space is fundamentally structured by a property we term “jaggedness”, that quantifies the resemblance of a LLNA transition function with a sawtooth shape. We demonstrate that this metric acts as a theoretical proxy for chaoticity and sensitivity – properties essential for generating discriminative dynamic behaviors among network categories. Moreover, we introduce a heuristic search strategy that uses jaggedness to guide the rule selection. Experimental results show that our approach achieves classification accuracies within 5% of the global optimum while reducing computational overhead by 90% compared to exhaustive approach. Our findings provide a novel, efficient, framework for optimizing automata-based methods for pattern recognition.
Keywords network automata · network classification · cellular automata · the Game of Life · metaheuristics
1 Introduction
Network science is an interdisciplinary field that mainly encompasses graph theory and statistical physics, allowing the study of complex and nonlinear phenomena in their entirety [1]. Due to its great power of generalization, modeling phenomena as a graph or a complex network (CN) has been used in diverse domains – social networks [2], metabolic
A PREPRINT
chains [3], epidemics [4], etc. – and in diverse applications – network classification [5], spatiotemporal forecasting [6], link prediction [7], identification of vulnerabilities and anomalies [8], and others [9].
In order to study CNs and capture more meaningful information that underlies their topology, a common approach is to compute some set of metrics that summarize certain structural aspects at node, edge and/or graph-level [10]. Yet, in cases as the network classification problem, where the objective is to identify the class of a given CN (e.g. finding the taxonomic group of a metabolic network or if a given chemical compound is carcinogenic or not), they may not be sufficiently informative or be incomplete/partially unavailable [11].
A method that has been successfully applied in this context is the Life-Like Network Automaton (LLNA) [11, 12, 13, 14]. Taking inspiration from Conway's Game of Life [15], it relies on network topology as source of dynamical information, differing from other approaches that use only structural information [16, 17] and/or depend on detailed feature vectors provided beforehand [18, 19]. In summary, the LLNA generates an initial configuration for the nodes and evolves them over time according to a transition function (i.e. the automaton rule), whose resulting state-time diagram is used to extract rich information about network dynamics for the sake of classification.
While this method does not require any prior information besides the network topology and is both scale-invariant and computationally efficient to run, finding a good discriminant rule for the automaton is not trivial. The classification can only be performed if the chosen rule is capable of generating patterns that share common properties between the same class (high intraclass similarity) while being sufficiently different from other classes (low interclass similarity). Yet only a small portion of the rule space present this capability. In practice, the selection of a satisfactory transition rule can be framed as a combinatorial optimization problem, which has been approached by doing an exhaustive search in the rule space [11, 13, 14]. While increasing the size of the rule family tends to improve classification accuracy [20], an exhaustive search quickly becomes computationally unfeasible.
As the rule optimization is a critical bottleneck of the method, this work investigates what property characterizes LLNA rules that lead to high classification accuracies, a question that has been neglected since the method was originally proposed. After inspecting the reported best rules for some datasets, we noticed that they share certain (visual) characteristics. The set of density intervals composing the best rules presents a degree of irregularity, what in a visual perspective translates to a transition function with sawtooth shape (see Figure 1). We hypothesize that this jagged appearance can be a good indicator of classification performance.


Figure 1: Best reported rules in [14] for plant metabolic chains (top) and social circles (bottom) datasets. The density intervals that can lead to alive state in both born and survive conditions are not totally contiguous, giving a jagged appearance to the transition function.
To assess these research questions, we define a formal measure of jaggedness and investigate to what extent it can be used to organize the rule space and guide the non-exhaustive search for optimum LLNA rules. In Section 2 we present the theoretical background of the LLNA algorithm and its use for classifying networks. In Section 3 we formally define the jaggedness, explore how it can be used to partition the rule space, and outline a heuristic search strategy that benefits from this organization. In Section 4 we evaluate the connection between rule jaggedness, classification performance and rule space resolution, and discuss the use of jaggedness as an indicator of complex dynamical behavior.
A PREPRINT
In this work we focus on LLNA, that generalize the born/survive dynamics from Conway's Game of Life cellular automaton (CA) to a network topology. Below we describe how one can define a CA for arbitrary networks and utilize it for characterization and classification purposes.
2.1 Life-like NAs
A network automaton (NA) is a formalism that adapts the transition logic of a CA to the non-regular topology of networks. In other words, it uses the graph as “tessellation”, the nodes as cells and their edges as the neighborhood structure, with the transition rule acting as the criterion for cell’s state update according to its current state and neighboring cells’ configuration. In his influential book [23], Watts discussed the computation of a CA in Small-World networks for density classification and synchronization tasks. The works of Marr and Hütt [24, 25] and Baetens and Baets [26, 27] approach the impact of the topology in the resulting dynamics, and propose different ways to implement CA transition rules on networks.
Moreover, it is not trivial to adapt the local transition function from CAs, due to network’s intrinsic lack of ordering between nodes and unbounded number of neighbors. The former is commonly solved by using totalistic rules [28], but there is no standard approach for the latter, with some restricting the neighborhood size to a maximum value and others implementing a degree-based normalization, which transforms the state count operation into state density computing. As an example of a NA with a density-based transition function, we have the so called LLNA [11], whose state space and transition function are inspired by the Game of Life [15]. It works as follows.
Each node of the network can take one of two states, alive (1) or dead (0). Given the initial configuration of the network , where is the state of at time and is the number of nodes, the state of each -th node at the next time step is determined by its current state and the states of its neighboring . The function that maps to is called transition rule, and operates according to birth and survival criteria.
For example, the transition rule of the original Game of Life states that any dead cell with exactly 3 living neighbors or any live cell with 2 or 3 living neighbors, out of its 8 neighbors, will have its next state set to alive, otherwise it will stay/become dead. In the case of LLNA, the equivalent rule is obtained by computing the density of living neighbors and checking if the density falls into , for the born criterion, or , for the survive criterion. Figure 2 illustrates this logic, where the count/density of living neighbors that will trigger the birth-and-survival rule is marked in red.
Formally, the LLNA is a Boolean outer-totalistic NA defined by the quadruple , with the transition rule operating on a uniform partition with cardinality of the unit interval. Let be the -th subset of the uniform partition,
A born criterion is satisfied if and the fraction of living nodes in the neighborhood of , given by , falls in some interval covered by the set , where is the degree of the node . Analogously, a survive criterion is satisfied when and , with .
Nonetheless, the parameter is directly related to the term “neighborhood size” (of the LLNA transition rule) stated by Zielinski [20], as the latter is given by . The neighborhood size of a rule refers to the number of nonzero neighborhood state configurations a given rule can distinguish. In case of the Game of Life, it stands for the Moore’s neighborhood, allowing for 8 possible non-equivalent configurations of living cells and one additional with
A PREPRINT

Figure 2: Examples of the Game of Life transition rule operating on an infinite regular 2-D grid with Moore’s neighborhood (top) with the counting of states, on a network topology equivalent to the Moore’s neighborhood (middle) using density-based operation, and on a finite arbitrary network topology (bottom). Living cells/nodes are present in black, and dead ones in white, with their amount of living neighbors denoted (zeros are omitted).
all neighbors dead. A LLNA rule that allows for different density intervals therefore has a neighborhood size of . Here we prefer to name this parameter as the resolution of the rule’s density interval, or just rule resolution.
2.2 Rule numbering scheme
A LLNA rule is described by the sets of indices and the resolution . Bigger values for allow more intricate – and possibly better discriminant – rules, at the cost of an exponentially increasing rule space [20]. To avoid ambiguity when mentioning automata rules from distinct rule families (i.e. the finite set of all rules with the same resolution), we propose a more complete naming convention.
The most direct way to represent a LLNA rule is by visualizing as subscripts and the resolution highlighted, like . Another way is by encoding those indices in a more compact form. Let and be the decimal encoding of and respectively, with the binary coefficients and . Then, a rule can be expressed by the triple , or simply .
A PREPRINT
For instance, the transition rule from Game of Life is denoted by in the explicit format and by , in the compact format.
2.3 Network classification with LLNA
One of LLNA's primary applications is feature extraction from CNs (characterization task) to predict their classes (classification task), which can be as simple as distinguish between fundamental CN models or as complicated as determine the taxonomic groups of metabolic networks [11, 12, 13, 14]. The general LLNA-based classification model follows a structured pipeline composed by three modules: network automaton, feature extractor, and tabular classifier.
The automaton generates the state-time matrix , also called time evolution patterns (TEPs), whose shape depends on the number of time steps and the number of nodes . This process is fully determined by the interaction between the network topology , the transition rule , and the initial configuration .
The extractor maps the variable-size temporal data into a fixed-length feature vector by applying a set of feature extraction functions followed by histogram-based aggregations. Feature functions used in previous studies include: Shannon entropy, word entropy and Lempel-Ziv complexity [11]; binary-pattern encoding (LLNA-BP), which performs a sliding window operation over binary sequences, analogous to a 1-D convolution [13]; and the density/state-density TEPs, which combines the node state evolution with the corresponding density matrix [14].
Finally, the classifier performs the network classification, mapping the feature vector to the network class z, where z can be a Boolean variable (binary classification), – e.g. identifying if a molecule is carcinogenic – or a non-binary categorical label (multi-class classification) – e.g. pointing which social media community generated a specific interaction networks. The discriminant capability of the classifier is entirely dependent on the preceding modules, considering that previous works reached optimum results with shallow machine learning models, such as linear kernel SVM and k-NN, which do not support representation learning [29].
Figure 3 illustrates the classification pipeline of a dataset . Note that the vector does not need to be provided in advance, as it is generated at the data preprocessing step or during runtime.

Figure 3: General network classification pipeline based on LLNA. The boxes indicate the inputs and outputs, the arrows denote the action performed by the modules, and the ellipses list their hyper-parameters. The dashed rectangle delimit the end-to-end classification model.
A key challenge in this framework is hyper-parameter optimization. While the classifier is the only module having learnable parameters, there are several hyper-parameters in all modules to be optimized as well (see Figure 3), with the automaton rule being the most critical. The tuning of the classifier must be repeated for every rule in order to find the best configuration, which has a high computational cost when considering the commonly adopted routine of a k-fold cross validation with a grid search for the hyper-parameters. It becomes even worse when considering the additional task of selecting the subset of rules to explore. As the entire rule space is infinite, thus computationally intractable, previous works adopted a single rule family for the exhaustive search. But it creates what could be framed as the rule family selection problem, which consists in choosing the smallest rule family that brings the highest classification accuracy in the rule space. Notably, subsequent studies have largely adopted the best-performing rules identified in the original work [11] obtained at , bypassing further optimization due to its expense.
A PREPRINT
Hence, it is crucial to identify which rules and rule families are more promising to generate good discriminant patterns, and restrict the automaton simulation and classifier training to them. The next section provide an overview of existing methods to assess the transition rules, and introduces a novel parameter followed by a navigation strategy to better explore the rule space.
3 Methods
The possible ways a given automaton can evolve and what dynamics it can produce is strictly related to its discriminant capacity for network classification problems. For instance, a transition rule that quickly converges to an uniform global configuration may be unable to distinguish between network classes, while a rule that allow for emergent patterns and periodic structures is much more likely to be useful for this matter.
In this sense, Wolfram’s categorization [30] offers a good starting point addressing the automata dynamical behavior qualitatively. By performing a visual inspection in the generated spatiotemporal patterns of the elementary CA, it groups the transition rules according to the convergence to a state of homogeneity (class I), periodicity (class II), chaoticity (class III) or complexity (class IV). However, it is impractical to be used at large scale, as it depends on manual observation, lacks formal definition, and allows for a same rule falling in multiple categories when evolved from different initial configurations. A better approach is to use a summarizing parameter for quantitative analysis, which, ideally, should be able to partition the rule space into groups with meaningful properties [31]. Below we present some well-studied parameters, their formal definition and the interpretation regarding dynamical behavior.
In the context of Boolean networks, the (normalized) Hamming weight accounts for the number of ones in the truth table of a Boolean function with input variables,
intuitively indicating the output bias of the automaton. The outer sum and the binomial factor cycle through all neighborhood configurations and the inner part considers the activation of for a given density . Therefore, it represents the probability of obtaining given a random configuration in a neighborhood of size . Note that it can be easily adapted to NAs, such as , and as the average over a set of networks .
This measure is equivalent to Langton’s parameter for two state CAs, if the rule space is restricted to strongly quiescent rules and 0 is taken as the quiescent state . Under this convention, gives the fraction of neighborhood configurations that do not map to the quiescent state for strongly quiescent rules, and serves as a proxy for dynamical regime: low values of are associated with ordered, fixed-point dynamics, high values with chaotic behavior, and intermediate values near the phase transition with complex, class IV dynamics [32]. However, is known to lose discriminative power for small state spaces ( ), which motivates the search for alternative indicators in the Boolean setting.
Finally, the average (Boolean) sensitivity [33], analogous to the -sensitivity [34], measures the expected number of output changes in response to flipping a single input variable,
where and are related to the concept of Boolean derivatives [35] and denote the impact of a state change in the central node (identity) and its neighborhood, respectively [36]. Similar to , all possible configurations are evaluated, but now in terms of how likely the transition function is to be affected by perturbations. A high value of represents high sensitivity to small changes, therefore correlating to chaoticity. Furthermore, the same aggregation can be applied to compute network- and dataset-level descriptors.
These measures are what could be called genotype parameters, as they try to describe the dynamical behavior by looking at static attributes of the automaton and the network. Opposed to the phenotype parameters, which actually assess the dynamical outcome, they offer a good glimpse of the system behavior without requiring the full simulation [31, 36].
Here we take one step back and disregard topology effects, investigating to what extent the transition rule itself correlates to the dynamic regime of a NA. By removing the network topology from the analysis, we can focus on the global ability of the rule to generate interesting dynamics, which is a proxy to the automaton effectiveness in classification.
A PREPRINT
problems. Below we introduce a novel genotype parameter called jaggedness, which considers only the shape of the transition rule.
3.1 Measuring the rule irregularity
Consider two rules and . They are almost identical, differing only by one shifted density interval in : while the first rule is composed by three non-adjacent intervals, , and , the second one has two contiguous blocks, , and (see Figure 4). Even though both rules cover the same number of density intervals, we can say that is more irregular than , because its diagram is more “jagged” than the one of the latter.

neighborhood state density

neighborhood state density
Figure 4: Diagram of the born condition for rules (top) and (bottom). The green areas denote the density intervals composing the rules. The vertical lines mark all possible discontinuities between subsequent intervals for : dashed (orange) for occurring discontinuities, dotted (gray) for non-occurring ones.
More formally, jaggedness can be defined as the number of discontinuities in rule diagram within . Using the binary coefficients from the rule encoding and the XOR operator , we have
(5)
which can be further normalized, as follows.
For a given resolution , there are possible discontinuities for each transition criterion (born and survive) and each of them can be organized in ways (combinations), where . As a combination only indicates where there is a discontinuity, without informing which adjacent interval is present in the rule, a same combination can generate two distinct rules. So, the number of rule with same jaggedness is
A PREPRINT
and, ultimately, .
Taking as example the top rule from Figure 4, , there are 4 discontinuities in and 2 in ; as a result and . Rules with this jaggedness correspond to approximately 11% of the rule family .
In terms of the impact of changes in the node's states, the jaggedness shares the same interpretation as -sensitivity and BS, but from a simpler and topology-independent perspective. Small values typically represent rules with boring behavior, meaning that a small changes on the neighborhood configuration rarely impacts the outcome of the transition function. On the other hand, high values may allow for chaotic behavior, quickly amplifying any perturbation and leading unpredictable trajectories.
This connection is also observed mathematically. The BS can be understood as the probability of two distinct input configurations cause different outputs multiplied by the probability of one or more nodes being simultaneously disturbed, thus transforming one input configuration into the other. Note that the latter only refers to the topology of the CN, but the former depends on the rule. Furthermore, the rule-dependent part can be separated in two effects: identity sensitivity (IS), which relates to a notion of jaggedness between transition criteria (e.g. ); and neighborhood sensitivity (NS), which reflects a weighted version of the jaggedness whenever .
Pearson correlation with
| 0.79 | 0.84 | 0.83 | 0.83 | 0.79 | 0.85 | 0.85 | 0.85 | 0.85 | 0.85 | 0.85 | 0.64 | 0.47 | 0.38 | 0.52 | 0.49 | 0.57 | 0.75 | 0.66 | 0.66 | 0.58 | 0.68 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0.77 | 0.81 | 0.81 | 0.81 | 0.76 | 0.82 | 0.83 | 0.82 | 0.83 | 0.83 | 0.83 | 0.62 | 0.43 | 0.35 | 0.48 | 0.45 | 0.53 | 0.68 | 0.61 | 0.58 | 0.50 | 0.60 | |
| 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | |
| -0.00 | 0.00 | -0.00 | -0.00 | 0.00 | 0.00 | -0.00 | -0.00 | -0.00 | -0.00 | -0.00 | -0.00 | -0.00 | 0.00 | 0.00 | -0.00 | 0.00 | -0.00 | -0.00 | -0.00 | -0.00 | 0.00 |
Figure 5: Correlation of the normalized jaggedness with genotype parameters, for rule families with resolution from 3 to 6.
3.2 Navigating through rule families
Suppose we are interested in finding the rule that maximizes the classification performance . It is known that the maximum value of obtained for a given rule family, , tends to grow asymptotically as increases, with diminishing improvements after each step [20]. Also, in the absence of any information to guide the rule space exploration, finding this particular rule for higher resolutions is practically unfeasible. To overcome this problem, one can define a neighborhood scheme in the rule space such that two neighboring rules may have similar values of , upon a (meta)heuristic search could find a local optimum that approximates or equals the global optimum [37, chapter II.4].
Assuming that the jaggedness is a good indicator of the rule discriminative behavior, we propose to use the rule space partitioned by and as the neighborhood schema, and to apply a neighborhood navigation strategy inspired by perturbation procedure from the Iterated Local Search (ILS) metaheuristic [38, chapter 12] (see Figure 6). Starting with a small family, we look for the best performing partition on average (local search step), then map it to new ones in the next family with similar normalized jaggedness (perturbation step), repeating until a stop condition is satisfied.
We now describe in what circumstances it is possible to do such optimization task with a lower computational cost than exploring an entire rule family. For that, it is important to consider two constraints. As the heuristics does not guarantee to find , it is only worth to apply it if the total number of explored rules during the navigation between partitions is much smaller than the size of the last explored family (efficiency constraint). Additionally, the perturbation step needs to reach more than one partition in order to avoid being stuck in local optimum regions (variability constraint).
First, let us investigate how a subset of rules grows when mapped to a new subset. Let denote the growth rate of the size of a rule subset given a mapping scheme. In the trivial case we map the entire rule family, thus . We can also map one partition to another with higher jaggedness in the same family,
A PREPRINT

Figure 6: Navigation in LLNA rule space inspired by the ILS perturbation procedure. Each plane denotes a rule family partitioned by jaggedness. The partitions are represented by the ellipses with their normalized jaggedness indicated. Arrows denote the perturbation, defined as a mapping that tries to preserve . Bold arrows mark the exact mapping.
such that . Finally, we can map to a new family preserving ,
There are only 3 values of that satisfy and, consequently, Eq. (8), being ; thus . When the exact mapping it is not possible, we can approximate it by identifying two consecutive integers , such that and , leading to
where if and if .
Note that the exploration variability constraint is already satisfied by the approximated mapping but not by the exact one. The expected behavior can be, therefore, achieved by including in the exact operation. Equation (10) summarizes the correct mapping between partitions,
Now, let be the cardinality of the partitions explored in , subject to . Assuming an average for the mapping , the exploration rate, i.e. the number of rules explored after a finite sequence of mappings divided by the size of the final rule family, is given by the geometric series
A PREPRINT
The efficiency constraint thus requires , which, for (worst case), is obtained whenever . As example, by starting the exploration at the 3 central partitions of and considering , we have and , which is a relevant improvement compared to the exhaustive search.
Also, it is possible to improve the theoretical computational efficiency by adopting any local search that does not fully explore the selected partitions. For instance, a simple random sampling of half of the partition rules will double the efficiency, although its impact in the overall efficacy, in terms of the resulting , is unknown. The experiments in the next section analyze some scenarios, with full and partial (sampled) exploration of the partitions, and also restricting the rules to a subset of predefined range or only to quiescent ones.
A final remark about the proposed optimization method is that, although being more efficient than the exhaustive search, the naive implementation of the local search as done here, consisting of a full (or partial) exploration of rule family partitions, still implies in an exponential time complexity in terms of resolution increase. For real applications, it is recommended to implement more sophisticated (meta)heuristics for the local search step, with predefined convergence and stopping criteria, thus ensuring a polynomial time complexity.
4 Results and Discussion
To evaluate the real effectiveness of the jaggedness to organize the rule space and its usefulness for guiding a search-based optimization procedure, we selected a total of 23 network datasets, half of which have been studied in LLNA-related works [11, 13, 14, 20] and the other half in works applying deep learning models for graphs [17, 19, 39]. They vary in terms of size, connectivity, number of classes and balancing (Table 1), covering a broad number of scopes :
• 5 synthetic datasets generated using combinations of theoretical models (ER, BA, WS, geographic, non-linear BA), with and without noise (chance to permute an edge);
• 6 social networks datasets, most of them being groups of ego nets from different communities at the same social media, others being friendship bounds from distinct media;
• 5 bioinformatics datasets, with networks representing chemical compounds labeled according to desired properties (e.g. carcinogenic or not);
• 7 metabolic networks datasets, describing interactions between molecules from taxonomic groups of living beings (e.g. fungi, plants, fish, mammals).
For each dataset, a small and balanced subset of a maximum of 20 networks per class was created, on which all rules from families were applied for time steps. The feature vectors were generated using density TEPs with segmentation by node degree [14], framed in histograms with 40 bins. The overall classification pipeline was evaluated by a 5-fold cross validation procedure repeated three times, having a Support Vector Machine with linear kernel as classifier in accordance with previous LLNA works. The chosen performance metric was the classification accuracy, i.e. the fraction of network samples classified correctly.
Below we present how the size of the rule family and the jaggedness is correlated with the classification accuracy. We applied the classification pipeline to the 23 datasets and for all of them it was possible to find at least one rule with , which is the minimum accuracy threshold adopted.
4.1 Impact of resolution on the classification accuracy
First let us analyze the accuracy for LLNA rule families (Figure 7). This analysis complements a recent study [20] by considering entire rule families instead of just the best-performing rules and by its broader scope.
In general, the maximum accuracy grows as the resolution increases asymptotically, confirming previous findings [20]. The median accuracy, however, presents varying patterns: an increase for all the top dataset, and a constant or slightly oscillating curve for the bottom ones. Also, while some datasets reach 100% accuracy already for small resolutions, such as any synthetic, others may demand an exploration in much larger rule families (e.g. fungi networks).
These results highlight the difficult trade-off between the computation cost of the rule optimization and the classification performance gain. It is not clear if a bigger rule family or a particular rule restriction would improve the current optimum accuracy, and not even if this improvement could be obtained by randomly testing new rules or just through the exhaustive exploration – which reinforces the necessity for better, informed search strategies for the rule space.
For additional explanation of the network datasets and data availability, we refer the reader to TUD and SNAP projects [40, 41] and Zenodo repositories [42, 43].
A PREPRINT
| dataset | # classes | # nets | nets/class | # nodes | avg. degree | |
|---|---|---|---|---|---|---|
| [11] | classic | 4 | 11200 | 2800 | 500 – 2000 | 4 – 16 |
| [11] | scalefree | 5 | 500 | 100 | 1000 | 8 |
| [13] | noise=10% | 8 | 800 | 100 | 1000 | 7.6 – 8.5 |
| [13] | noise=20% | 8 | 800 | 100 | 1000 | 7.6 – 8.5 |
| [13] | noise=30% | 8 | 800 | 100 | 1000 | 7.6 – 8.5 |
| [13] | actinobacteria | 3 | 229 | 63 – 96 | 803 – 1533 | 3.4 – 3.6 |
| [13] | animals | 4 | 64 | 16 | 1392 – 1919 | 3.3 – 3.4 |
| [13] | firmicutes-bacilli | 4 | 454 | 86 – 143 | 530 – 1267 | 3.2 – 3.6 |
| [13] | fungi | 4 | 68 | 17 | 624 – 1540 | 3.0 – 3.4 |
| [13] | kingdom | 4 | 196 | 49 | 448 – 2095 | 2.9 – 3.5 |
| [13] | plant | 3 | 33 | 11 | 1241 – 1870 | 3.4 – 3.5 |
| [13] | protist | 4 | 28 | 7 | 598 – 1401 | 2.9 – 3.4 |
| [11] | social-circles | 2 | 1104 | 131 – 973 | 5 – 4938 | 0.9 – 363 |
| [17] | imdb-binary | 2 | 1000 | 500 | 5 – 38 | 1.2 – 4.6 |
| [17] | reddit-binary | 2 | 2000 | 1000 | 6 – 1400 | 1.0 – 4.7 |
| [44] | deezer-egos | 2 | 9629 | 4159 – 5470 | 4 – 123 | 0.9 – 7.1 |
| [44] | twitch-egos | 2 | 127094 | 58761 – 68333 | 5 – 33 | 1.0 – 5.7 |
| [44] | github-stargazers | 2 | 12725 | 5917 – 6808 | 5 – 397 | 0.9 – 9.7 |
| [45] | dd | 2 | 1178 | 487 – 691 | 15 – 2277 | 1.0 – 3.9 |
| [46] | mutag | 2 | 188 | 63 – 125 | 6 – 17 | 1.1 – 2.1 |
| [47] | nci1 | 2 | 4110 | 2053 – 2057 | 4 – 82 | 0.6 – 2.2 |
| [47] | nci109 | 2 | 4127 | 2048 – 2079 | 6 – 81 | 0.5 – 2.1 |
| [48] | proteins | 2 | 1113 | 450 – 663 | 4 – 263 | 0.7 – 3.8 |
Table 1: Properties of the selected network datasets and their respective sources, vertically grouped by scope, respectively: synthetic, metabolic, social, and bioinformatics. Ranges denote minimum and maximum values.

Figure 7: Box plot of the classification accuracy by rule resolution (exhaustive evaluation) for different datasets, organized in 4 groups. The box spans the inter-quartile range, with the median shown as a horizontal line and outliers as individual points.
A PREPRINT
4.2 Impact of topology on the classification accuracy
Besides the similarities in the calculation and interpretation of jaggedness and the sensitivity measures (specially BS and its neighborhood-dependent part), it is expected that richer measures such as BS and HW perform better in capturing the dynamical behavior of the automaton, as the jaggedness is, by definition, simpler. Particularly, it cannot identify which density interval has the biggest impact on sensitivity, as it depends on the node degree distribution. It is surprising that, when comparing the correlation of the accuracy with the jaggedness and other genotype parameters over the networks of each dataset, the former exhibits a stronger correlation (Figure 8).
Pearson correlation with accuracy of rules from

Figure 8: Correlation of the classification accuracy with the normalized jaggedness and the average Hamming weight and Boolean sensitivity, for rule family with resolution 6.
A possible explanation is that, in contrast with , by giving equal importance to every density interval the jaggedness can be more affected by the discontinuities between intervals close to the extremities, which may be crucial for the dynamics used for classification. While for the , the simple chance for a given output seems insufficient to describe the dynamical behavior related to the rules good for network classification.
In total, 13 out of the 23 considered datasets show some degree of correlation between accuracy and normalized jaggedness, being consistent across different rule families.
4.3 Impact of jaggedness on the classification accuracy
Now let us consider how the jaggedness organizes the rule families in terms of accuracy (see Figure 9). We will limit this analysis to four datasets and resolutions 4 to 7, as the findings extend to the other datasets and larger rule families.
Starting with the synthetic noisy dataset and , the best accuracy found is for a rule with , but the average accuracy in this region is around , while for we have rules that are much better on average, and the best rule is almost as good as the global best. Proceeding to the diagrams with higher , the general shape remains the same: high performance variation for , low variation for and better chances to find rules among the top when .
The same analysis applies to the other three datasets. The 2-D histograms maintain their general shape over increasing resolution, and the average accuracy curve – denoted by the circles and triangles – quickly stabilizes. The only feature that is not present for all datasets is the skewed distribution. In the top datasets (synthetic and metabolic), there are particular values of for which the rules accuracies vary much less and still can reach a very high classification performance. The datasets at the bottom do not have the same characteristic, being either insensitive to changes in the jaggedness or having an inconsistent sensitivity.
It is reasonable that, for those datasets where jaggedness provide some structure, the best rules appear in general at high , which are more sensitive to state density changes in the neighborhood, but rarely at , as it could be too sensitive and therefore chaotic. For the other datasets, the absence of a clear pattern could either indicate that the jaggedness does not correlate with the properties that a good discriminative rule must have, or that any existing structure is only visible at bigger rule families. Particularly, the social-circles dataset was the only case with inconsistent pattern of accuracy distribution among consecutive families.
A PREPRINT
noise=10

actinobacteria

social-circles

reddit-binary

Figure 9: Accuracy distribution for the network datasets. Circles in the heatmap represent the average value for each subset of rules with same jaggedness, triangles mark the average for the subsets where there is at least one rule in the top 1% best ones.
4.4 Effectiveness of heuristic optimization
The performance of the heuristic search is compared with the exhaustive approach in two scenarios. First, we test its effectiveness in finding good classification rules when exploring whole rule family partitions (Figure 10). Then, we evaluate the impact of the partial exploration in the heuristic search performance, by applying a sampling in the rule partitions (Figure 11). For each sampling fraction, the heuristic search was repeated 25 times. Three metrics are used for this comparison:
- The rank of a rule , given by , denotes the chance of finding a rule of equal or higher accuracy, where means that is the -th best rule in that family;
A PREPRINT
• The exploration ratio accounts for how many rules were evaluated since the beginning of the exploration divided by the size of the current rule family;
• The current accuracy error is the relative difference between the accuracy of the best current rule to the global optimum of the current rule family:
The first scenario shows the performance of the heuristic approach (see Figure 10). As the resolution increases, the heuristic finds rules closer to the current global optimum (left plot) with a that decays exponentially and approaches 20% on average (middle plot). Also, indicates that even without finding the rule with best accuracy it can find competitive solutions for the rule optimization problem (right plot), sometimes even surpassing the result obtained by the exhaustive search ( ). This unexpected behavior is explained by the accuracy versus resolution curve that is not strictly monotonic. As occurs for the github-stargazers and twitch-egos social datasets (Figure 7), the incremental optimization of ILS-based heuristics can find particular rules in smaller rule families that are better than all other rules in the immediately subsequent families.

Figure 10: Performance of the heuristic search executing a full exploration of the rule family partitions, segmented by dataset scope, with 95% confidence interval.
The second scenario highlights the robustness of the method and the trade-off between computational complexity and classification performance (see Figure 11). Even when we reduce the fraction of rules explored in the selected partitions and, consequently the exploration rate , the resulting increase of remains low. Notably, the method maintains despite the sampling fraction of 0.4, the case where approaches 10% – half of the value obtained in the first scenario.

Figure 11: Performance of the heuristic search executing a partial exploration of the rule family partitions, segmented by sampling fraction, with 95% confidence interval.
Ultimately, the rules explored by the heuristic strategy have better general performance than the exhaustive approach (see Figure 12), resulting in a distribution with higher median accuracy for 22 of the 23 datasets (p-value ≤ 0.05).
5 Conclusion
The jaggedness is a quantitative parameter based on the visual notion of rule’s shape irregularity, and provides valuable insight into the behavior of Life-Like Network Automata when classifying networks, guiding the understanding and prediction of rule accuracy.
A PREPRINT

Figure 12: Accuracy distribution of rules explored by exhaustive search ( ) versus heuristic search ( ) without sampling, grouped by dataset scope. The box spans the inter-quartile range, with the median shown as a horizontal line and outliers as individual points.
From a theoretical standpoint, the jaggedness aligns with established measures such as Hamming weight and Boolean sensitivity, but distinguishes itself by offering an intuitive perspective on automaton dynamics that is independent of network topology. Although it may not seem to be the most descriptive metric, it effectively serves as a fundamental starting point to understand how much the automaton rule is a determining factor into the generation of different dynamics, being a better indicator of rule suitability for classification than the aforementioned measures.
In terms of computational efficiency, the reduction of the search space complexity brings feasibility to large-scale applications. By analyzing the accuracy of the rules according to their jaggedness at low resolution rule families and discovering where the best rules are, it is possible to extrapolate it to higher resolutions and gradually improve the rule quality, dispensing the need to scan the entire rule space. The experiments showed an efficiency gain of 10x as the exploration ratio approximates a fixed value ( ), what could be improved even more by using more sophisticated local search procedures and hybrid metaheuristics.
Lastly, this work extends the findings about the dependence between the accuracy and the resolution of the rule space to more datasets, reinforcing the applicability of the LLNA as a method to characterize CNs in a wide range of contexts.
CRediT authorship contribution statement
Lucas Caldeira de Oliveira: Conceptualization, Methodology, Software, Writing - Original Draft, Writing - Review & Editing. Michiel Rollier: Methodology, Writing - Review & Editing. Jan M. Baetens: Supervision, Writing - Review & Editing. Odemir M. Bruno: Conceptualization, Funding acquisition, Supervision.
Declaration of competing interest
The authors declare that we have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
A PREPRINT
Acknowledgments
This work has been partially supported by the São Paulo Research Foundation (FAPESP) regular grant #2024/02727-0 and internship abroad grant #2024/16345-1; by the Brazilian Federal Agency for Support and Evaluation of Graduate Education (CAPES) grant #88887.841805/2023-00; by the Research Foundation Flanders (FWO) grant with project title “An analysis of network automata as models for biological and natural processes” [3G0G0122]; by the FWO travel grant with file name V412625N; and by the FWO congress participation grant K105625N.
References
[1] A.-L. Barabási, Network Science. Cambridge University Press, 1 ed., 2016.
[2] P. S. Dodds, R. Muhamad, and D. J. Watts, “An experimental study of search in global social networks,” Science, vol. 301, 2003.
[3] H. Jeong, B. Tombor, R. Albert, Z. N. Oltvai, and A.-L. Barabási, “The large-scale organization of metabolic networks,” Nature, vol. 407, pp. 651–654, 10 2000.
[4] L. F. Scabini, L. C. Ribas, M. B. Neiva, A. G. Junior, A. J. Farfán, and O. M. Bruno, “Social interaction layers in complex networks for the dynamical epidemic modeling of covid-19 in brazil,” Physica A: Statistical Mechanics and its Applications, vol. 564, p. 125498, 2 2021.
[5] F. Errica, M. Podda, D. Bacciu, and A. Micheli, “A fair comparison of graph neural networks for graph classification,” 8th International Conference on Learning Representations, ICLR 2020, 12 2019.
[6] L. C. Oliveira, J. T. Oliva, M. H. D. Ribeiro, M. Teixeira, and D. Casanova, “Forecasting the covid-19 space-time dynamics in brazil with convolutional graph neural networks and transport modals,” IEEE Access, vol. 10, pp. 85064–85079, 2022.
[7] L. Lü and T. Zhou, “Link prediction in complex networks: A survey,” Physica A: Statistical Mechanics and its Applications, vol. 390, pp. 1150–1170, 3 2011.
[8] Y. Liu, Z. Li, S. Pan, C. Gong, C. Zhou, and G. Karypis, “Anomaly detection on attributed networks via contrastive self-supervised learning,” IEEE Transactions on Neural Networks and Learning Systems, vol. 33, pp. 2378–2392, 6 2022.
[9] L. d. F. Costa, O. N. Oliveira, G. Travieso, F. A. Rodrigues, P. R. V. Boas, L. Antiqueira, M. P. Viana, and L. E. C. Rocha, “Analyzing and modeling real-world phenomena with complex networks: a survey of applications,” Advances in Physics, vol. 60, pp. 329–412, 6 2011.
[10] L. F. Costa, F. A. Rodrigues, G. Travieso, and P. R. Villas Boas, “Characterization of complex networks: A survey of measurements,” Advances in Physics, vol. 56, pp. 167–242, 1 2007.
[11] G. H. B. Miranda, J. Machicao, and O. M. Bruno, “Exploring spatio-temporal dynamics of cellular automata for pattern recognition in networks,” Scientific Reports, vol. 6, 2016.
[12] J. Machicao, E. A. Corrêa, G. H. Miranda, D. R. Amancio, and O. M. Bruno, “Authorship attribution based on life-like network automata,” PLoS ONE, vol. 13, 2018.
[13] L. C. Ribas, J. Machicao, and O. M. Bruno, “Life-like network automata descriptor based on binary patterns for network classification,” Information Sciences, vol. 515, 2020.
[14] K. M. C. Zielinski, L. C. Ribas, J. Machicao, and O. M. Bruno, “A network classification method based on density time evolution patterns extracted from network automata,” arXiv preprint, 11 2022.
[15] M. Gardner, “Mathematical games: The fantastic combinations of john conway’s new solitaire game “life”,” Scientific American, vol. 220, pp. 120–123, 10 1970.
[16] N. Shervashidze, P. Schweitzer, E. J. van Leeuwen, K. Mehlhorn, and K. M. Borgwardt, “Weisfeiler-lehman graph kernels,” Journal of Machine Learning Research, vol. 12, pp. 2539–2561, 2011.
[17] P. Yanardag and S. V. Vishwanathan, “Deep graph kernels,” Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, vol. 2015-August, pp. 1365–1374, 8 2015.
[18] M. Zhang, Z. Cui, M. Neumann, and Y. Chen, “An end-to-end deep learning architecture for graph classification,” in 32nd AAAI Conference on Artificial Intelligence, pp. 4438–4445, 2018.
[19] R. Ying, C. Morris, W. L. Hamilton, J. You, X. Ren, and J. Leskovec, “Hierarchical graph representation learning with differentiable pooling,” Advances in Neural Information Processing Systems, vol. 2018-December, pp. 4800–4810, 6 2018.
A PREPRINT
[20] K. M. C. Zielinski, L. Scabini, L. C. Ribas, and O. M. Bruno, “Exploring neighborhood variance for rule search optimization in life-like network automata,” in 2024 14th International Conference on Pattern Recognition Systems (ICPRS), pp. 1–7, IEEE, 7 2024.
[21] M. Mitchell, Complexity A Guided Tour. Oxford University Press New York, NY, 4 2009.
[22] V. Latora, V. Nicosia, and G. Russo, Complex Networks: principles, methods and applications. Cambridge University Press, 1 ed., 2017.
[23] D. J. Watts, Small Worlds: The Dynamics of Networks between Order and Randomness. Princeton University Press, 1999.
[24] C. Marr and M.-T. Hütt, “Outer-totalistic cellular automata on graphs,” Physics Letters A, vol. 373, pp. 546–549, 1 2009.
[25] C. Marr and M.-T. Hütt, “Cellular automata on graphs: Topological properties of er graphs evolved towards low-entropy dynamics,” Entropy, vol. 14, 2012.
[26] J. M. Baetens and B. D. Baets, “On the topological sensitivity of cellular automata,” Chaos: An Interdisciplinary Journal of Nonlinear Science, vol. 21, 6 2011.
[27] J. M. Baetens and B. D. Baets, “Cellular automata on irregular tessellations,” Dynamical Systems, vol. 27, pp. 411–430, 12 2012.
[28] M. Rollier, K. M. Zielinski, A. J. Daly, O. M. Bruno, and J. M. Baetens, “A comprehensive taxonomy of cellular automata,” Communications in Nonlinear Science and Numerical Simulation, vol. 140, p. 108362, 1 2025.
[29] W. L. Hamilton, “Graph representation learning,” Synthesis Lectures on Artificial Intelligence and Machine Learning, vol. 14, pp. 1–159, 9 2020.
[30] S. Wolfram, “Cellular automata as models of complexity,” Nature, vol. 311, pp. 419–424, 10 1984.
[31] M. Vispoel, A. J. Daly, and J. M. Baetens, “Progress, gaps and obstacles in the classification of cellular automata,” Physica D: Nonlinear Phenomena, vol. 432, p. 133074, 4 2022.
[32] C. G. Langton, “Computation at the edge of chaos: Phase transitions and emergent computation,” Physica D: Nonlinear Phenomena, vol. 42, pp. 12–37, 6 1990.
[33] I. Shmulevich and S. A. Kauffman, “Activities and sensitivities in boolean network models,” Physical Review Letters, vol. 93, p. 048701, 7 2004.
[34] P. M. Binder, “A phase diagram for elementary cellular automata,” Complex Systems, vol. 7, pp. 241–247, 1993.
[35] G. Y. Vichniac, “Boolean derivatives on cellular automata,” Physica D: Nonlinear Phenomena, vol. 45, 1990.
[36] M. Rollier, L. C. de Oliveira, O. M. Bruno, and J. M. Baetens, “Essential metrics for life on graphs,” Physica D: Nonlinear Phenomena, vol. 483, p. 134950, 12 2025.
[37] S. Russel and P. Norvig, Artificial Intelligence: A Modern Approach. Pearson, 3 ed., 2009.
[38] F. Glover and G. Kochenberger, Handbook of Metaheuristics, vol. 146. Springer US, 2010.
[39] R. Xin, J. Zhang, and Y. Shao, “Complex network classification with convolutional neural network,” Tsinghua Science and Technology, vol. 25, pp. 447–457, 8 2020.
[40] C. Morris, N. M. Kriege, F. Bause, K. Kersting, P. Mutzel, and M. Neumann, “TUDataset: A collection of benchmark datasets for learning with graphs,” CoRR, 7 2020.
[41] J. Leskovec and A. Krevl, “SNAP Datasets: Stanford large network dataset collection,” jun 2014.
[42] J. Machicao, K. Zielinski, L. C. Ribas, and O. M. Bruno, “Synthetic networks for classification methods,” 3 2023.
[43] J. Machicao, K. Zielinski, L. C. Ribas, and O. M. Bruno, “Real world networks for network classification method evaluation,” 3 2023.
[44] B. Rozemberczki, O. Kiss, and R. Sarkar, “Karate club,” in Proceedings of the 29th ACM International Conference on Information & Knowledge Management, pp. 3125–3132, ACM, 10 2020.
[45] P. D. Dobson and A. J. Doig, “Distinguishing enzyme structures from non-enzymes without alignments,” Journal of Molecular Biology, vol. 330, pp. 771–783, 7 2003.
[46] A. K. Debnath, G. Debnath, C. Hansch, R. L. de Compadre, and A. J. Shusterman, “Structure-activity relationship of mutagenic aromatic and heteroaromatic nitro compounds. correlation with molecular orbital energies and hydrophobicity,” Journal of Medicinal Chemistry, vol. 34, pp. 786–797, 2 1991.
A PREPRINT
[47] N. Wale, I. A. Watson, and G. Karypis, “Comparison of descriptor spaces for chemical compound retrieval and classification,” Knowledge and Information Systems, vol. 14, pp. 347–375, 8 2008.
[48] K. M. Borgwardt, C. S. Ong, S. Schönauer, S. V. Vishwanathan, A. J. Smola, and H. P. Kriegel, “Protein function prediction via graph kernels,” Bioinformatics, vol. 21, pp. i47–i56, 6 2005.