Graphons, Graphettes and Sparse Graphs

Graphons, Graphettes and Sparse Graphs

Graphons can be used as graph generators. They are symmetric, measurable functions traditionally defined on the unit square. Intuitively, a graphon can be obtained by scaling the adjacency matrix to the unit square and taking its limit. However, classical graphons can only represent dense graphs, whereas many biological and social networks are inherently sparse. In this talk, we will present a couple of extensions of graphons that enable the generation of sparse graphs. One such extension is graphettes, which have recently been used in Flowette—a flow-matching framework for generating diverse graphs, including molecular graphs—highlighting the potential of these models for practical graph generation tasks.

Sevvandi Kandanaarachchi

November 25, 2026

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

65 slides
  1. Joint work with . . . Cheng Soon Ong Asiri

    Wijesinghe D n Steinberg a 2
  2. Graphs are everywhere Soci l networks Source: Nguyen, An, and

    Seok-Hee Hong. 2017 IEEE Pacific Visualization Symposium Molecul r networks Source: Wijesinghe et al. 2026 a a 3
  3. What does “sparse” mean? • Consider Dense gr ph sequence

    {Gn}n, where Gn h s n nodes nd m edges. 2 • Dense gr phs: m ∈ Θ(n ) equiv lently Avg degree ∈ Θ(n) • Edges grow qu dr tic lly with nodes 2 • Sp rse gr phs: m ∈ o(n ) equiv lently Avg degree ∈ o(n) Sp rse • Edges grow subqu dr tic lly with nodes a a a a a a a a a a a a a a a a 5
  4. Diversity of sparse graphs Bounded degree • Cryst l structures

    a a a a a Source: Wikipedia Unbounded degree • Soci l networks Source: Nguyen, An, and Seok-Hee Hong. 2017 Loc l structure (motifs) • Molecul r gr phs Source: Wijesinghe et al. 2026 6
  5. One ring to rule them all Source: https://www.deviantart.com/ Can one

    model incorporate all facets of sparsity? 8
  6. One ring to rule them all Source: https://www.deviantart.com/ Can one

    model incorporate all facets of sparsity? We don’t answer this! 9
  7. What are graphons? • Gr ph limits W : [0,1]

    2 → [0,1] • M p the dj cency m trix to the unit squ re (empiric l gr phons) nd t ke limit Erdos-Renyi gr phs Bi-p rtite gr phs Growing uniform tt chment gr phs 12 a a a a a a gr phon. Notices of the AMS, 62(1), 46-48. a a a a a a a a a a a a a a a Gl sscock, D. (2015). Wh t is...
  8. {Gn}n is convergent if . . . • Subgr ph

    densities convergence • homomorphism densities t(F, Gn) converge for ny simple gr ph F • Pixel pictures converge • Cut metric: Given two gr phons W1 nd W2, the cut metric is de ined s δ□(W1, W2) = inf φ φ W1 − W2 □ where φ is ∫S×T nd cut norm is de ined s ∥W∥□ = sup S,T me sure preserving bijection from [0,1] to [0,1] W(x, y) dxdy • Why φ? To ccount for gr ph isomorphisms • Two convergence types re equiv lent (Borgs et l 2011) 13 a f a a a a a a a a a a a f a a a Borgs, C., Chayes, J., Lovász, L., Sós, V., & Vesztergombi, K. (2011). Limits of randomly grown graph sequences. European Journal of Combinatorics, 32(7), 985-999
  9. How can we use graphons? • To gener te new

    gr phs (s mple gr phs) gr ph with n nodes l beled {1,2,…, n} • S mpling - ri • S mple n r ndom points from the interv l [0,1] - {r1, r2, …, rn} rj • For every (ri, rj) the v lue W(ri, rj) = p is the edge prob bility coin with prob bility p, nd connect the edge between i nd j if you get he ds • Toss a a a a a a a a a a a a a a a a a a 14
  10. Anim tion m de using Cl ude a a a

    a a a a https://cl ude. i/public/ rtif cts/67f1ef89-fef2-4634-8812-f35b6350653e 15
  11. Graphons as graph generators W • Cl ssic l Stoch

    stic Block Model type gr phon a a a a 16
  12. Graphons as graph generators W • Gr ph gener ted

    from W h s ring structure (but dense) a a a a 17
  13. Limitation of traditional graphons • Graphons cannot generate sparse graphs

    • Then why are we using graphons to generate sparse graphs? • Gr phons re powerful, non-p r metric • We re extending gr phons in some w y • A lot of rese rch in this re - sp rse gr phs using gr phons a a a a a a a a a a a a a 19
  14. Back to the limitation of graphons • Graphs represented by

    a graphon are either trivially empty or dense • Why? W=0 • For sp rse gr phs W = 0 • From W = 0 you c n’t gener te ctu l gr phs • You h ve gr ph with n nodes, but no edges — not represent tive of sp rse gr phs a a a a a a a a a a a a a 20
  15. Example - Star graphs K1,n • St r gr phs

    • Adj cency m trix pixel pictures ones - bl ck zeros - white a a a a a 21
  16. For sparse graphs … • Pixel pictures (empiric l gr

    phons) converge to zero Empiric l gr phons Gr phon a a a a a 22
  17. Graphons for sparse graphs Caron, F., & Fox, E. B.

    (2017). Sparse graphs using exchangeable random measures. Journal of the Royal Statistical Society Series B: Statistical Methodology, 79(5), 1295-1366. Borgs, C., Chayes, J. T., Cohn, H., & Holden, N. (2018). Sparse exchangeable graphs and their limits via graphon processes. Journal of Machine Learning Research, 18(210), 1-71. Crane, H., & Dempsey, W. (2016). Edge exchangeable models for network data. arXiv preprint arXiv:1603.04571. Veitch, V., & Roy, D. M. (2015). The class of random graphs arising from exchangeable random measures. arXiv preprint arXiv:1512.03099. 23
  18. Diversity of sparse graphs Bounded degree Unbounded degree Loc l

    structure (motifs) Addresses unbounded degree in sparse graphs a 25
  19. Basic idea • 2 gr phons (U, W) • W

    - produces the dense gr ph • U - produces the sp rse gr ph • Join the two gr phs r ndomly with given budget of edges a a a a a a a 26
  20. Basic idea • 2 gr phons (U, W) • W

    - produces the dense gr ph • U - produces the sp rse gr ph - Hold on! But How? We can’t get sparse graphs from a graphon. • Join the two gr phs r ndomly with given budget of edges a a a a a a a 27
  21. The line graph transformation • Edges M pped to vertices

    • Vertices re connected, if they sh re n edge • Work origin ted by H ssler Whitney in 1932 Gr ph G Line gr ph H = L(G) a a a a a a a a 29
  22. Star graphs • St r gr phs Gn • Line

    gr phs of st rs (complete subgr phs) Hm = L(Gn) • Gr phons of line gr phs a a a a a a a Kandanaarachchi, S., & Ong, C. S. (2024). Graphons of line graphs. arXiv preprint arXiv:2409.01656. 30
  23. Graphon mixtures S mple dense gr ph S mple sp

    rse gr ph Gnd −1 R ndomly join the two gr phs Gns = L (Hms) First s mple disjoint cliques Then compute the inverse line gr ph • P r meters: dense nodes nd, sp rse edges ms, the number of edges when joining mnew a a a a a a a a a a a a Kandanaarachchi, Sevvandi, and Cheng Soon Ong. "Graphon Mixtures." AISTATS (2026). 31
  24. A sample from a dense mixture S mple dense gr

    ph S mple sp rse gr ph Gnd −1 Mixture gr ph fter joined a a a a a a a a a • ndi = 50, nsi = 20 Gns = L (Hms) First s mple disjoint cliques Then compute the inverse line gr ph 32
  25. A sample from a sparse mixture S mple dense gr

    ph Gnd S mple sp rse gr ph Mixture gr ph fter joined −1 Gns = L (Hms) First s mple disjoint cliques Then compute the inverse line gr ph a a a a a a a a a • ndi = 50, nsi = 100 33
  26. A sample from a dense mixture S mple dense gr

    ph Gnd S mple sp rse gr ph Mixture gr ph fter joined −1 Gns = L (Hms) First s mple disjoint cliques Then compute the inverse line gr ph a a a a a a a a a 34
  27. A sample from a dense mixture S mple dense gr

    ph Gnd S mple sp rse gr ph Mixture gr ph fter joined −1 Gns = L (Hms) First s mple disjoint cliques Then compute the inverse line gr ph a a a a a a a a a 35
  28. Inference • Inference results in the p per • Given

    (U, W)-mixture gr ph, c n we estim te U? • Yes, we c n if the mixture is sp rse. And we c n bound the error • We c n predict the top-k degrees in a a a a a a a a a a r chchi, Sevv ndi, nd Cheng Soon Ong. "Gr phon Mixtures." AISTATS (2026) a a a a a a K nd n a a a • gr ph. 36
  29. Graphettes (Addresses local motifs, eg. Molecular graphs) Im ge credits:

    Wikimedi Commons a a Wijesinghe, A., Kandanaarachchi, S., Steinberg, D. M., & Ong, C. S. (2026). Flowette: Flow Matching with Graphette Priors for Graph Generation. arXiv preprint arXiv:2602.23566. 37
  30. Diversity of sparse graphs Bounded degree Unbounded degree Loc l

    structure (motifs) Addresses unbounded degree and local structure in sparse graphs a 38
  31. D t Noise • Noise gets tr nsformed to d

    t by le rning velocity ield • Noise is e sily speci ied for im ges • What is noise for a given graph distribution? a a a a f a f a a 40 a a A slide from Lipman’s tutorial
  32. What is the noise for a graph distribution? • The

    noise depends on the gr ph distribution • If we re gener ting sp rse gr phs, the noise needs to be sp rse • Simil rly for dense • A bit more co rse m tching between the noise nd the ctu l gr phs • The noise should be somewh t like the gr ph structur lly a a a a a a a a a a a a a a a a 41
  33. Graphettes • Gr phette • W is = (W, ρn,

    f ) 2 gr phon on [0,1] • {ρn}n = (ρ1, …, ρi, …) , • f is sequence, c n converge to zero gr ph edit function - eg. ring ddition, st r ddition, cycle deletion Graphettes can generate dense or sparse graphs with different motif structures a a a a a a a a a a 𝒲 43
  34. Graphettes = (W, ρn, f ) • First consider Wn

    = ρnW • S mple G̃n ∼ Wn 𝒲 • Then the gr ph edit function cts on the gr ph Gn = f(G̃n) a a a a 44
  35. = (W, ρn, f ) with ρn = 1 and

    f = Id Example Gn W • In this c se it Gn ∼ is the s me s s mpling from the gr phon Gn ∼ W (s mple from Wn = ρnW nd then f cts on the gr ph) 45 a a a a a a a a a a a a 𝒲 𝒲 • Ex mple gener tes dense gr phs
  36. = (W, ρn, f ) with ρn = c/n and

    f = Id Example Wn = ρnW W • In this c se it Gn ∼ Gn is the s me s s mpling from the gr phon Gn ∼ Wn 𝒲 • Ex mple gener tes sp rse gr phs a a a a a a a a a 𝒲 46
  37. = (W, ρn, f ) with ρn = 1 and

    f = S Example G̃n W Gn = S(G̃n) • S denotes st r ddition - Poisson r.v. • First G̃n ∼ W nd then Gn = S(G̃n) a a a a a a a a 𝒲 • Ex mple gener tes sp rse gr phs if the st r function is big enough 47
  38. = (W, ρn, f ) with ρn = c/n and

    f = R Example Wn = ρnW W G̃n Gn = R(G̃n) • R denotes ring ddition - Bernoulli r.v. • First G̃n ∼ Wn = ρnW nd then Gn = R(G̃n) a a a a a a 𝒲 • Ex mple gener tes sp rse gr phs 48
  39. = (W, ρn, f ) Graphettes • Two ddition l

    levers : sequence {ρn}n , nd the gr ph edit function f • C n use ρn or f to m ke the gr phs sp rse • C n use f to dd motif structures Graphettes can generate dense or sparse graphs with different motif structures 𝒲 We use graphettes to model “noise” in the ow matching framework a fl a a a a a a a a a 49
  40. Flowette Dataset {G1 } → D <latexit sha1_base64="aSJQh6njb0+f4/42WEqL5NO9SA8=">AAACgnicfVFdS+NAFJ1Ed9W6H9V99GW0FKKUbqKiPqwgKrgPPrhgrdBpw2Q6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1cfWudfV+vYQu/QIQpQhM7QOfqBeqiPmPfJS7y5J/0v/tRXfnFn9b1Vzlv0X/iLv06+0nU=</latexit> P= Graphette prior, {G0 } → W = (W, ωn , f ) )} , !" Flow Matching Update Velocity Field Transformer, vθ ω →(i) #$ i G0 , G1 Flow Matching Loss <latexit sha1_base64="QPdLtpi3bBEnCpbvjqz2TERjU2Y=">AAACaHicfVHRatswFJXdre3crnW7lTH2ojYEnBKCXUq3l0HpHrqHPrSwNIUoMbIiJ6KybKTrQjBm/7i3fcBe9hWT0wzWdvSC4HDOubpXR0khhYEw/Om4Ky9erq6tv/I2Nl9vbfs7u9cmLzXjfZbLXN8k1HApFO+DAMlvCs1plkg+SG6/NPrgjmsjcvUN5gUfZXSqRCoYBUvF/vc2ySjMGJXVoMafcTDoYqJneay6OO14bZKIaXAeh2PRxedxNK5IIcaHZD8QnbrRGsvfCy7qgMCMA+14pLI9pMbEiAw/NyH2W2EvXBR+CqIlaKFlXcb+DzLJWZlxBUxSY4ZRWMCoohoEk7z2SGl4QdktnfKhhYpm3IyqRVA1bltmgtNc26MAL9h/OyqaGTPPEutsdjaPtYb8nzYsIf00qoQqSuCK3Q9KS4khx03qeCI0ZyDnFlCmhd0VsxnVlIH9G8+GED1+8lNwfdSLTnonV8et07NlHOvoAzpAAYrQR3SKvqJL1EcM/XI2nLfOnvPb9d137vt7q+sse96gB+Ue/AEoVbOT</latexit> Velocity Loss End-point Loss Chem. Reg. Wijesinghe, A., Kandanaarachchi, S., Steinberg, D. M., & Ong, C. S. (2026). Flowette: Flow Matching with Graphette Priors for Graph Generation. arXiv preprint arXiv:2602.23566. 50
  41. Flowette can generate diverse graphs Molecul r gr phs (sp

    rse) Trees (sp rse) SBM (dense) Egonets (sp rse) a a a a a 51
  42. The prior graphs for molecules Graphette prior (noise) Actual molecules

    Flowette achieves high performance results matching or surpassing SOTA Wijesinghe, A., Kandanaarachchi, S., Steinberg, D. M., & Ong, C. S. (2026). Flowette: Flow Matching with Graphette Priors for Graph Generation. arXiv preprint arXiv:2602.23566. 52
  43. Gr ph gener tion Gr phon mixtures (U, W) mixtures

    = (W, ρn, f ) Both can generate dense or sparse graphs a a a a a 𝒲 f Gr phettes (for low m tching) 53
  44. One ring to rule them all Source: https://www.deviantart.com/ Can one

    model incorporate all facets of sparsity? Well, we haven’t proposed one! 54
  45. • P pers: • Wijesinghe, A., K nd n r

    chchi, S., Steinberg, D. M., & Ong, C. S. (2026). Flowette: Flow M tching with Gr phette Priors for Gr ph Gener tion. rXiv preprint rXiv:2602.23566. • K nd n r chchi, S., & Ong, C. S. (2024). Gr phons of line gr phs. rXiv preprint rXiv:2409.01656. • K nd n r chchi, S., & Ong, C. S. Gr phon Mixtures. AISTATS 2026 • R p ck ge - graphonmix - https://github.com/sevv ndi/gr phonmix a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 55 a a Graphons mixtures and graphettes
  46. Open problems • Neur l networks to estim te sp

    rse gr phon rel ted constructions • Existing work focusses on dense gr phons • Other types of sp rsity - p ths, rings, isol ted edges • (U, W) mixtures • sc les hubs line rly with ni - incorpor ting other r tes • other types of joins? a a a a a a a a a a a a a 58
  47. A bit on exchangeability Exch nge bility: order of the

    v ri bles does not m tter Joint distribution is permut tion inv ri nt 1D (Sequences/ Point processes) Discrete Continuous de Finetti (1931) Bühlm nn (1960) 2D (Arr ys Joint/ Aldous (1981) nd K llenberg (1990) sep r te) Hoover (1979) de Finetti, B. (1931) Funzione caratteristica di un fenomeno aleatorio. Atti R. Acad. Nazn. Lino, Ser. 6, 4, 251- 299. Bühlmann, H. (1960). Austauschbare stochastische Variabeln und ihre Grenzwertsätze (Doctoral dissertation, ETH Zurich) Aldous, D. J. (1981). Representations for partially exchangeable arrays of random variables. Journal of Multivariate Analysis, 11(4), 581-598. Hoover, D. N. (1979). Relations on Probability Spaces and Arrays of. Preprint, Institute for Advanced Study, Princeton a a a a a a a a a a a a a a Kallenberg, O. (1990). Exchangeable random measures in the plane. Journal of Theoretical Probability, 3(1), 81-136. 59
  48. Max-degree condition • Let {Gn}n denote sequence of gr phs

    where Gn h s n nodes nd m edges. Let the m ximum degree of Gn be denoted by dmax ,n. We s y th t {Gn}n s tis ies the m x-degree condition if there exists some c1 > 0 such th t lim inf n,m→∞ dmax ,n = c > 0. m We denote the set of gr ph sequences s tisfying the m x-degree condition by Sx • If {Gn}n ∈ Sx, then their line gr phs re dense. Let {Gn}n ∈ Sx nd Hm = L(Gn). Suppose {Hm}m → U. Then U ≠ 0. 60 a f a a a a a a a a a a a a a a a Kandanaarachchi, S., & Ong, C. S. (2024). Graphons of line graphs. arXiv preprint arXiv:2409.01656.
  49. Are all sparse graphs max-degree? • No! P ths, Cycles,

    r-regul r gr ph sequences. • If {Gn}n is dense, then {Gn}n ∉ Sx Sp rse Dense gr phs D gr phs S\Sx M xdegree Sx a a a a a a a Kandanaarachchi, S., & Ong, C. S. (2024). Graphons of line graphs. arXiv preprint arXiv:2409.01656. 61
  50. Line graph limits • J nson (2016): A gr ph

    limit is limit. line gr ph limit if nd only if it is disjoint clique gr ph Ex mples of line gr ph gr phons 62 a a a a a a a a a a Janson, S. (2016). Graph limits and hereditary properties. European Journal of Combinatorics, 52, 321-337.
  51. Graphs sampled from line graph limits • They re disjoint

    cliques • The inverse line gr phs of disjoint cliques re st rs • The inverse line gr ph exists when you s mple from line gr ph limit; nd they re disjoint st rs. a a a a a a a a a a a 63
  52. Square-degree property • Let {Gn}n denote sequence of gr phs.

    We s y th t {Gn}n exhibits the squ re-degree property if there exists some c1 > 0 nd N0 ∈ ℕ such th t for ll n > N0 we h ve 2 deg vi,n ≥ c1 ( deg vi,n) ∑ ∑ 2 • We denote the set of gr ph sequences s tisfying the squ re-degree property by Sq a a a a a a a a a a a a 64
  53. S\Sx D {Gn}n Sx Sp rse Dense W=0 W≠0 {Gn}n

    ∉ Sx U=0 Eg: Erdos Renyi gr phs {Gn}n → W Hm = L(Gn), line gr ph of Gn {Hm}m → U W nd U gr phons D, the set of dense gr ph sequences, S sp rse gr ph sequences, Sx m x-degree property {Gn}n ∉ Sx U=0 {Gn}n ∈ Sx U≠0 e.g. P ths, Cycles e.g. Superline r pref tt chment gr phs, St rs For gr phs s tisfying the m x degree property, we’re good 65 a a a a a a a a a a a a a a a a a Kandanaarachchi, S., & Ong, C. S. (2024). Graphons of line graphs. arXiv preprint arXiv:2409.01656. a a • Sp rse