Manuscript Offprint

arXiv:2610.05653

Graph Data Augmentation via Contrastive Generator Inversion (DCBA\texttt{DCBA})

Mateusz Stolarski, Michał Czuba, Łukasz Kraiński, Katarzyna Musial, Paweł Prałat, Bogumił Kamiński, Piotr Bródka

Graph Data Augmentation via Contrastive Generator Inversion (DCBA)

Mateusz Stolarski ∗^{*}

Wroclaw University of Science and Technology

University of Technology Sydney

mateusz.stolarski@pwr.edu.pl

Michał Czuba ∗^{*}

Wroclaw University of Science and Technology

michal.czuba@pwr.edu.pl

Łukasz Krainński ∗^{*}

SGH Warsaw School of Economics

lkrain@sgh.waw.pl

Katarzyna Musial

University of Technology Sydney

katarzyna.musial-gabrys@uts.edu.au

Paweł Pralat

Toronto Metropolitan University

pralat@torontomu.ca

Bogumił Kamiński

SGH Warsaw School of Economics

bogumil.kaminski@sgh.waw.pl

Piotr Bródka

Wroclaw University of Science and Technology

University of Technology Sydney

piotr.brodka@pwr.edu.pl

Abstract

Graphs provide a natural representation of many complex systems, ranging from social platforms to ecosystems. However, the development of graph-based machine learning methods is often constrained by the limited availability of large and diverse graph datasets. In this paper, we introduce DCBA, a model-based approach to graph data augmentation that infers the configuration of a synthetic graph generator from an observed network. We instantiate the proposed framework using the ABCD generator, which produces scale-free networks with community structure. Our model learns a joint representation of graphs and generator parametrisations using a multi-positive contrastive objective with soft negative weighting. The learned representation enables the prediction of an ABCD configuration whose stochastic realisations preserve the macrostructural properties encoded by the generator. Experiments show that DCBA recovers generator parameters more accurately and robustly than an algorithmic inverse-modelling baseline. Its downstream utility is further demonstrated in community detection, where inferred configurations used to fine-tune PRoCD improve AMI on average by 161% on synthetic and 273% on real-world networks.

References (35)