<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <issn pub-type="ppub">1613-0073</issn>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Graph evolution rules for node temporal behavior representation</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Alessia Galdeman</string-name>
          <email>gald@itu.dk</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Matteo Zignani</string-name>
          <email>matteo.zignani@unimi.it</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Christian Quadri</string-name>
          <email>christian.quadri@unimi.it</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Sabrina Gaito</string-name>
          <email>sabrina.gaito@unimi.it</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Workshop</string-name>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>IT University of Copenhagen</institution>
          ,
          <addr-line>Rued Langgaards Vej 7, 2300 Copenhagen</addr-line>
          ,
          <country country="DK">Denmark</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>University of Milan</institution>
          ,
          <addr-line>Via Celoria 18, 20133 Milan</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Studying real-world dynamic networks and their evolution is crucial for understanding the complex systems that govern various domains, from social interactions to financial transactions. The evolution of these networks provides insights into the underlying mechanisms driving their changes, which can be pivotal for applications such as node segmentation, prediction of future states, and role discovery. Among the various approaches to studying network evolution, graph evolution rules (GERs) stand out since they produce human-readable outcomes without requiring any pre-assumptions about the underlying evolutionary mechanisms. In this work, we leverage GER to derive evolutionary node profiles (NEPs), capturing the distinct patterns of how nodes change over time within the network. These profiles allow us to identify groups of accounts characterized by similar evolution rules, revealing common interaction patterns. As a case study, we apply our approach to Sarafu, a complementary currency platform with rich temporal data, representing a contemporary human complex system that integrates humanitarian aid, collaboration, and financial aspects. Our findings suggest the efectiveness of using graph evolution rules in real-world dynamic networks, showcasing their potential to enhance our understanding of the node-level dynamics of complex systems.</p>
      </abstract>
      <kwd-group>
        <kwd>Graph evolution rules</kwd>
        <kwd>Network evolution</kwd>
        <kwd>Temporal Networks</kwd>
        <kwd>Complementary currency network</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Studying real-world dynamic networks and their evolution is crucial for understanding the complex
systems that govern various domains, from social interactions to financial transactions. The evolution of
these networks provides insights into the underlying mechanisms driving their changes, which can be
pivotal for applications such as node segmentation, prediction of future states, and role discovery.
Traditionally, models, mechanisms, and metrics have been introduced to interpret how dynamic networks
grow and evolve, often assuming that their growth is governed by a unique parameterized mechanism.
To address this limitation, graph evolution rules (GERs) have emerged as a promising frequency-based
method [
        <xref ref-type="bibr" rid="ref1 ref2 ref3">1, 2, 3</xref>
        ] for analyzing network evolution. Firstly introduced by Berlingerio et al. [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], they stand
out since they produce human-readable outcomes without requiring any pre-assumptions about the
underlying evolutionary mechanisms.
      </p>
      <p>Figure 1 shows a graphical representation of a graph evolution rule (GER). Inspired by the concept of
association rule, a GER has a body (precondition) and a head (postcondition), indicating that a subgraph
matching the body often evolves into the head.</p>
      <p>In this work, we leverage GER to derive evolutionary node profiles (NEPs), capturing the distinct
patterns of how nodes change over time within the network. These profiles allow us to identify groups
of accounts characterized by similar evolution rules, revealing common interaction patterns. As a case
study, we apply our approach to Sarafu, a complementary currency platform with rich temporal data,
representing a contemporary human complex system that integrates humanitarian aid, collaboration,</p>
      <p>CEUR</p>
      <p>ceur-ws.org
t0
t1
and financial aspects. By analyzing Sarafu’s network using our GER-based method, we identify two
distinct evolutionary traits, uncovering significant behaviors that contribute to the platform’s operation.
Our findings suggest the efectiveness of using graph evolution rules in real-world dynamic networks,
showcasing their potential to enhance our understanding of the node-level dynamics of complex
systems.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Methodology</title>
      <p>
        From a node-centric perspective, our main aim is to represent nodes based on the mechanisms that
characterize the evolution of the interactions surrounding them. The methodology to get this kind of
representation is based on two main tasks: a) the extraction of the ego-networks from the overall
temporal network describing the system, i.e. interactions surrounding every single node; and b)
the identification of the mechanisms/rules driving the evolution of each ego-network through the
computation of the graph evolution rules. We first model the set of intera(cati)ons or transactions among
the members of a networked system as a temporal network  = ( , ) . While  is the set of users in the
system,  is the set of timestamped directed links (,  , ) , with (,  ) ∈  ×  . Each link corresponds
to an interaction/transaction from node  to user  that occurs at time  . To accomplish the first task ,
we extract the temporal ego-network from the temporal graph  . For each node  , its ego-network
() = (  ,   ) corresponds to the temporal subgraph induced by  ’s neighborhood, including  itself.
To deal with the second task, i.e. identifying the graph evolution rules characterizing a temporal
ego-network of a node, we rely on the EvoMine algorithm [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] since it ofers a richer set of link/node
events for rule extraction, including edge deletion and the relabeling of nodes and edges. Moreover,
the EvoMine approach based on consecutive snapshots is suitable for temporal networks based on
interaction/transaction data, where a link can appear and disappear many times. In applying the
EvoMine algorithm on the ego-networks, we implement some parallelization strategies to scale our
method. We parallelize node-level computations and process timestamp pairs independently. To
maintain consistency across parallel executions, we integrate an isomorphism check for unique pattern
identification [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. We also selectively process only timestamp pairs with link insertion events. These
approaches significantly improve eficiency while preserving result accuracy and comparability. Finally,
we propose a profile of the node evolutionary behavior that captures the distinct patterns of how nodes
change over time within the network. We denote the vector representation as Node Evolutionary Profile
- NEP and it represents the distribution of the graph evolution rules for the ego-network () of the
node  . The construction of the node evolutionary profile is based on the graph evolution rules and
their supports computed by EvoMine on each ego-network () ; while a vector representation common
to all nodes is supported by the unique and common identifiers for rules based on canonical form.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Dataset</title>
      <p>
        Our work on node temporal behavioral representation using graph evolution rules considers as a
case study a transaction network in the Web3 landscape: the Sarafu network[
        <xref ref-type="bibr" rid="ref7 ref8">7, 8</xref>
        ]. Sarafu, developed
by Grassroots Economics1, facilitates mobile payments and was used for humanitarian aid during
COVID-19. Our dataset spans January 2020 to June 2021, containing 412,050 transactions among 40,343
users. It includes transaction details (anonymized IDs, token amounts, timestamps) and user attributes
(business type, location, account type). We aggregate daily timestamps for feasibility. The Sarafu
dataset, representing a complex system of humanitarian aid and financial transactions [
        <xref ref-type="bibr" rid="ref10 ref9">9, 10</xref>
        ], is ideal for
applying our dynamic graph evolution rules approach to capture and characterize temporal behavioral
patterns in this unique transaction network.
      </p>
    </sec>
    <sec id="sec-4">
      <title>4. Results</title>
      <p>We applied our methodology to the Sarafu transaction network, analyzing 40343 ego-networks. This
number was reduced to 16030 after filtering for consecutive interactions (only ego-networks that show
interactions with and among their neighbors in consecutive timestamps). To ensure suficient data
for meaningful behavioral analysis, we focused on ego-networks with at least 116 interactions (80ℎ
percentile of the size distribution), resulting in 3207 ego-networks for detailed study. Using the EvoMine
algorithm, we set a minimum support of 1 and a maximum of three edges per pattern, using
eventbased support. This process identified 40 distinct graph evolution patterns, which correspond to the
dimensions of the node evolutionary profiles (NEPs). We collected all NEPs into a matrix, visualized as
a heatmap (Figure 2) where rows represent ego-networks and columns indicate graph evolution rule
IDs. From a column-wise inspection, we observe that in general, only a limited set of graph evolution
rules characterizes the dynamics of the transactions in ego-networks. Indeed, there is concentration
of frequency in rules 0, 1, 2, 3, 4, 10 and 15, with the first rule ( 0) being the most frequent for many
ego-networks. The analysis of NEPs has pointed out two principal observations that are fundamental
for showcasing how NEPs can be exploited for data discovery tasks: i) only a few GERs are frequent in
NEPs; and ii) NEPs are varied but with a limited level of variability. Based on these observations, we
1https://www.grassrootseconomics.org/pages/about-us.html
developed a clustering pipeline to identify distinct classes representing dynamic traits of ego-network
evolution in Sarafu. We first applied Principal Component Analysis (PCA) for dimensionality reduction,
preserving most of the information in the NEP matrix. Then, we used hierarchical clustering on the
transformed NEPs to identify groups with similar evolutionary traits. This process revealed two main
groups of accounts: one dominated by single-link expansion over other star- and chain-like expansions,
and another with a more homogeneous distribution among the same expansion rules.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Conclusion</title>
      <p>We introduced a method using subgraph-based evolution rules to represent ego-network dynamics,
enabling detailed analysis of temporal node behaviors. Applied to the Sarafu transaction network,
our Node Evolutionary Profiles (NEPs) revealed two main interaction traits: one dominated by
singlelink expansion and another with more balanced expansion types. This approach efectively uncovers
behavioral patterns in complex networks, supporting applications like distinguishing user behaviors in
ifnancial networks and enhancing understanding of interaction dynamics.</p>
    </sec>
    <sec id="sec-6">
      <title>Declaration on Generative AI</title>
      <p>The author(s) have not employed any Generative AI tools.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>M.</given-names>
            <surname>Coscia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Szell</surname>
          </string-name>
          ,
          <article-title>Multilayer graph association rules for link prediction</article-title>
          ,
          <source>in: ICWSM</source>
          ,
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>A.</given-names>
            <surname>Galdeman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Zignani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Gaito</surname>
          </string-name>
          ,
          <article-title>Disentangling the growth of blockchain-based networks by graph evolution rule mining</article-title>
          ,
          <source>in: 2022 IEEE 9th International Conference on Data Science and Advanced Analytics (DSAA)</source>
          , IEEE,
          <year>2022</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>10</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>A.</given-names>
            <surname>Galdeman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Zignani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Gaito</surname>
          </string-name>
          ,
          <article-title>Graph evolution rules meet communities: Assessing global and local patterns in the evolution of dynamic networks</article-title>
          ,
          <source>Big Data Mining and Analytics</source>
          <volume>8</volume>
          (
          <year>2024</year>
          )
          <fpage>78</fpage>
          -
          <lpage>102</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>M.</given-names>
            <surname>Berlingerio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Bonchi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Bringmann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Gionis</surname>
          </string-name>
          ,
          <article-title>Mining graph evolution rules</article-title>
          ,
          <source>in: Joint European conference on Machine Learning and Knowledge discovery in databases</source>
          , Springer,
          <year>2009</year>
          , pp.
          <fpage>115</fpage>
          -
          <lpage>130</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>E.</given-names>
            <surname>Scharwächter</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Müller</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Donges</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Hassani</surname>
          </string-name>
          , T. Seidl,
          <article-title>Detecting change processes in dynamic networks by frequent graph evolution rule mining</article-title>
          ,
          <source>in: 2016 IEEE 16th International Conference on Data Mining (ICDM)</source>
          , IEEE,
          <year>2016</year>
          , pp.
          <fpage>1191</fpage>
          -
          <lpage>1196</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>A.</given-names>
            <surname>Galdeman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Zignani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Gaito</surname>
          </string-name>
          ,
          <article-title>Unfolding temporal networks through statistically significant graph evolution rules</article-title>
          ,
          <source>in: 2023 IEEE 10th International Conference on Data Science and Advanced Analytics (DSAA)</source>
          , IEEE,
          <year>2023</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>10</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>C. E.</given-names>
            <surname>Mattsson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Criscione</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W. O.</given-names>
            <surname>Ruddick</surname>
          </string-name>
          ,
          <article-title>Sarafu community inclusion currency 2020-2021, Scientific data 9 (</article-title>
          <year>2022</year>
          )
          <fpage>426</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>W. O.</given-names>
            <surname>Ruddick</surname>
          </string-name>
          , Sarafu Community Inclusion Currency, 2020
          <article-title>-2021 uk data service reshare</article-title>
          ,
          <year>2021</year>
          . URL: https://reshare.ukdataservice.ac.uk/855142/. doi:
          <volume>10</volume>
          .5255/UKDA- SN- 855142.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>C. T.</given-names>
            <surname>Ba</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Galdeman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Zignani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Gaito</surname>
          </string-name>
          ,
          <article-title>Temporal analysis of cooperative behaviour in a blockchain for humanitarian aid during the covid-19 pandemic</article-title>
          , in
          <source>: Proceedings of the 2022 ACM Conference on Information Technology for Social Good</source>
          ,
          <year>2022</year>
          , pp.
          <fpage>292</fpage>
          -
          <lpage>299</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>L.</given-names>
            <surname>Ussher</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Ebert</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G. M.</given-names>
            <surname>Gómez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W. O.</given-names>
            <surname>Ruddick</surname>
          </string-name>
          ,
          <article-title>Complementary currencies for humanitarian aid</article-title>
          ,
          <source>Journal of Risk and Financial Management</source>
          <volume>14</volume>
          (
          <year>2021</year>
          )
          <fpage>557</fpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>