SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2510.03690 · ICML · 2025

From Moments to Models: Graphon-Mixture Learning for Mixup and Contrastive Learning

Santiago Segarra, Ali Azizpour, Reza Ramezanpour

arXiv · PDF · Open in the Atlas

Code that ran

9 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 6 failures of our instrument; 3 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2510.03690.json · badge: /api/ran/2510.03690.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
aliaaz99/moments2models canonical (classifier label)
classifier basis: census
9 ran · 3 no recorded run
FunctionStatusWhere it lives
adj_loss_ Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
aliaaz99/moments2models/mgcl/losses.py
pointer only (licence: NONE) · get_code("679c3d3d4e876750")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aliaaz99/moments2models when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

count2density Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
aliaaz99/moments2models/gmam/compute_motif_densities.py
pointer only (licence: NONE) · get_code("1f3f59c44669555c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aliaaz99/moments2models when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

edge_list_reindexed Ran
ran; our contract draft was wrong, not the code
aliaaz99/moments2models/gmam/compute_motif_densities.py
pointer only (licence: NONE) · get_code("90993a46867ba9fd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aliaaz99/moments2models when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

exists Ran
ran, violated the contract we drafted
aliaaz99/moments2models/gmam/sigl.py
pointer only (licence: NONE); the stored copy get_code serves, from ThomasMrY/VCT, is pointer only (licence: NONE) · get_code("aa5486a3650902d8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aliaaz99/moments2models when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_graphon Ran
ran, honoured the contract we drafted
aliaaz99/moments2models/gmam/augmentation_utils.py
pointer only (licence: NONE) · get_code("b58f918f30490ca3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aliaaz99/moments2models when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

graph2XY Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
aliaaz99/moments2models/gmam/sigl.py
pointer only (licence: NONE) · get_code("2d594e78d5779951")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aliaaz99/moments2models when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

nx2torch2 Ran
ran; our contract draft was wrong, not the code
aliaaz99/moments2models/gmam/sigl.py
pointer only (licence: NONE) · get_code("da474debf3dfc4a6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aliaaz99/moments2models when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

prepare_dataset_onehot_y Ran
ran; our contract draft was wrong, not the code
aliaaz99/moments2models/gmam/augmentation_utils.py
pointer only (licence: NONE) · get_code("9dc52931481fad1c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aliaaz99/moments2models when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

stat_graph Ran
ran, honoured the contract we drafted
aliaaz99/moments2models/gmam/augmentation_utils.py
pointer only (licence: NONE) · get_code("3148d02a4ac659fa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aliaaz99/moments2models when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

orca Not yet run
unverified (harvested, no recorded run)
aliaaz99/moments2models/gmam/compute_motif_densities.py
pointer only (licence: NONE) · get_code("2d69201d9ccde363")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aliaaz99/moments2models when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

test Not yet run
unverified (harvested, no recorded run)
aliaaz99/moments2models/gmam/encoder.py
pointer only (licence: NONE) · get_code("cd1a8f0d7dcf46b6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aliaaz99/moments2models when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

train Not yet run
unverified (harvested, no recorded run)
aliaaz99/moments2models/gmam/encoder.py
pointer only (licence: NONE) · get_code("2ba08c7acbc38f37")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aliaaz99/moments2models when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 1 the same month, 1 later) and 11 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
exists 486 other papers
459 dated earlier, 1 the same month, 22 later, 2 same year, order not determinable, 2 undated · 78 only as an assembly brick
1603.08155 (2016-03)
Perceptual Losses for Real-Time Style Transfer and Super-Resolution
1611.07004 (2016-11)
Image-to-Image Translation with Conditional Adversarial Networks
1804.04637 (2018-04)
EMBER: An Open Dataset for Training Static PE Malware Machine Learning Models
and 483 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Real-world graph datasets often arise from mixtures of populations, where graphs are generated by multiple distinct underlying distributions. In this work, we propose a unified framework that explicitly models graph data as a mixture of probabilistic graph generative models represented by graphons. To characterize and estimate these graphons, we leverage graph moments (motif densities) to cluster graphs generated from the same underlying model. We establish a novel theoretical guarantee, deriving a tighter bound showing that graphs sampled from structurally similar graphons exhibit similar motif densities with high probability. This result enables principled estimation of graphon mixture components. We show how incorporating estimated graphon mixture components enhances two widely used downstream paradigms: graph data augmentation via mixup and graph contrastive learning. By conditioning these methods on the underlying generative models, we develop graphon-mixtureaware mixup (GMAM) and model-aware graph contrastive learning (MGCL). Extensive experiments on both simulated and real-world datasets demonstrate strong empirical performance. In supervised learning, GMAM outperforms existing augmentation strategies, achieving new state-ofthe-art accuracy on 6 out of 7 datasets. In unsupervised learning, MGCL performs competitively across seven benchmark datasets and achieves the lowest average rank overall.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2510.03690")
get_code_for_paper("2510.03690")
have("2510.03690")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2510.03690.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2510.03690.svg)](https://syntology.ai/paper/2510.03690)

Connect an agent — have() is free.