Feature-Aware (Hyper)graph Generation via Next-Scale Prediction

arXiv:2506.01467 · cs.LG, cs.DM · Submitted 2026-08-17 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.

Tom: Next we'll be talking about the paper "Feature-Aware (Hyper)graph Generation via Next-Scale Prediction".

Jane: The paper was written by Dorian Gailhard, Enzo Tartaglione, Lirida Naviner and Jhony H. Giraldo from LTCI, Télécom Paris, Institut Polytechnique de Paris.

Tom: Stay tuned as we take you through the paper and discuss its implications.

Title: Tom: We are starting the show with a heavy hitter from arXiv called "Feature-Aware (Hyper)graph Generation via Next-Scale Prediction."

Jane: That title definitely sounds like a mouthful for our listeners.

Tom: It really does, Jane.

Jane: Can you break down what they actually mean by a hypergraph for those of us who aren't math wizards?

Tom: Think of a regular graph as a bunch of dots connected by lines, but a hypergraph lets one connection wrap around a whole group of dots at once.

Jane: So it's like a social circle instead of just a handshake between two people.

Lu: That's a perfect way to put it, Jane.

Tom: The authors, Dorian Gailhard and his team from Télécom Paris, are trying to solve a massive problem with these complex structures.

Meng: Most of the models we see in the industry struggle when these structures get too big or too detailed.

Jane: And they're adding "feature-aware" to the mix, right?

Tom: Exactly, because a connection by itself isn't enough if you don't know the properties of the things being connected.

Lu: If you're designing a new medicine, knowing which atoms are connected is useless if you don't also know their electrical charges.

Meng: That's the practical side of it, and current models often run out of memory because they try to look at everything at once.

Jane: So this paper is claiming they've found a way to handle both the connections and the data without breaking the computer.

Tom: They are, and they're doing it by looking at the structure in different scales.

Lu: I'm curious to see if their "next-scale" idea actually holds up when things get messy.

Jane: We'll find out how they actually build these things in the next segment.

Summary: Tom: We've established that "Feature-Aware (Hyper)graph Generation via Next-Scale Prediction" is all about scale and data.

Jane: Now we need to understand the actual process they use to build these hypergraphs.

Tom: They use this clever "coarsening and expansion" strategy.

Jane: It sounds a bit like how a digital artist might work, doesn't it?

Tom: It really does, Jane.

Jane: You start with a very blurry, low-resolution version of the shape and then gradually add the fine details.

Lu: The paper describes this as building multi-scale representations through node coarsening.

Tom: Basically, they merge a bunch of nodes into one "super-node" to simplify the view.

Meng: And then they reverse that process to expand them back out into the full structure.

Jane: But how do they make sure the features, like those electrical charges Lu mentioned, stay correct during all that merging?

Tom: They use a bipartite representation to keep the nodes and the connections organized during the expansion.

Lu: It's a beautiful mathematical way to treat the connections as their own set of nodes.

Meng: I noticed the complexity is quasi-linear, which is a huge relief for anyone trying to run this on real hardware.

Jane: Most of the older models have a quadratic complexity, which is just a fancy way of saying they get exponentially slower as they grow.

Tom: This model keeps things manageable even as the number of nodes and connections climbs.

Lu: I want to hear more about how they keep the whole thing from looking like a disorganized mess during expansion.

Jane: That's exactly what the next part of our discussion is about.

Improvements: Tom: We've talked about the general flow of "Feature-Aware (Hyper)graph Generation via Next-Scale Prediction," but the real magic is in the details.

Jane: You're talking about the hierarchical scale encoding and that optimal-transport thing, right?

Tom: Yes, those are the two big wins here.

Jane: The scale encoding sounds like a set of instructions for how much each part should grow.

Tom: It's exactly that, Jane.

Jane: Without it, some parts of your graph might grow way faster than others and ruin the whole shape.

Lu: It provides local control so the global structure stays consistent.

Meng: I was looking at their results on the ManifoldNet datasets, and it's clear that this helps a lot.

Tom: Other models were hitting "Out of Memory" errors on those three dee meshes, but FAHNES just kept going.

Jane: And what about that "multi-scale graph optimal-transport coupling" they mentioned?

Tom: That solves the alignment problem.

Jane: Is that because the model might predict the right nodes but in the wrong order?

Tom: Precisely.

Lu: It's like if you were building a face and put the eyes where the mouth should be.

Meng: The OT coupling acts like a stabilizer that aligns the predicted nodes with the actual targets.

Jane: It makes the whole training process much more stable.

Tom: It's a massive step up from just trying to generate everything in one giant, flat step.

Lalam: This kind of structural intelligence could eventually allow us to simulate entire digital cities or complex biological systems with incredible accuracy.

Jane: We're seeing the foundation for much more lifelike digital twins.

Tom: It's a lot to take in, so let's wrap this up.

Conclusion: Tom: We've spent a lot of time on "Feature-Aware (Hyper)graph Generation via Next-Scale Prediction."

Jane: It's been a fascinating look at how to scale up complex data structures.

Tom: From the way they use coarsening to the way they solve the alignment problem with optimal transport.

Jane: And we saw how it actually works on everything from synthetic trees to real three dee airplane meshes.

Lu: This is going to push the boundaries of how we use AI for physical design and molecular discovery.

Meng: From an engineering standpoint, the quasi-linear complexity is the part that's going to change the game for production.

Lalam: It moves us closer to a world where we can generate and interact with highly complex, data-rich environments effortlessly.

Tom: It really is a powerful piece of research.

Jane: Thanks for joining us to break this one down.

Tom: We'll see you next time for the next big paper.

Dorian Gailhard, Enzo Tartaglione, Lirida Naviner, Jhony H. Giraldo

LTCI, Télécom Paris, Institut Polytechnique de Paris

cs.LG, cs.DM

Submitted: 2026-08-17

Updated: 2026-08-18

Code: https://github.com/DorianGailhard/FAHNES

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 84/100

The gist: The paper introduces FAHNES (feature-aware (hyper)graph generation via next-scale prediction), a hierarchical generative framework that jointly models topology and features for both graphs and

Key concepts

Hypergraph
A hypergraph is more complex than a standard graph. Instead of just connecting two points, it allows single connections to link an entire group or 'circle' of multiple data points simultaneously. This allows for modeling relationships that involve many entities at once.
Coarsening and Expansion
This strategy simplifies complex structures by merging many original nodes into single 'super-nodes' (coarsening). The process then reverses this, expanding the simplified version back out to generate the full, detailed structure.
Optimal Transport Coupling
This mechanism addresses errors where predicted nodes might be in the wrong order. It acts as a stabilizer that ensures generated structures are accurately aligned with their intended targets during the training process.
Quasi-linear Complexity
This refers to how efficiently the model runs. Unlike older models that become exponentially slower (quadratic), this method keeps computational requirements manageable even as the number of nodes and connections grows.

Terminology

Summary

The paper introduces FAHNES (feature-aware (hyper)graph generation via next-scale prediction), a hierarchical generative framework that jointly models topology and features for both graphs and hypergraphs. The authors state: "Graph generative models perform well on small structured data but struggle to scale to large, complex structures. Hierarchical approaches improve scalability but often ignore node and edge features, which are critical in real-world applications, particularly for hypergraphs that model higher-order relationships."

Motivation and limitations of prior work: The paper notes that existing methods for featured graph generation struggle to scale. Most of these approaches use flat architectures that model the entire structure at once, leading to quadratic computational and memory complexities. Furthermore, "existing hierarchical methods only focus on unfeatured structures. Extending them to generate features is challenging because different regions of a graph or hypergraph often grow at uneven rates during the refinement process, making it difficult to maintain consistency across scales. Furthermore, sequentially generating topology first and then features—rather than modeling them jointly—is ineffective in complex settings."

Core methodology: FAHNES builds multi-scale representations through node coarsening and reconstructs fine structures via localized expansion, while directly predicting features alongside structure at each stage. The framework operates on the bipartite representation of hypergraphs (star expansion), where Left side nodes VL represent the nodes of the hypergraph, while right side nodes VR represent hyperedges.

Key innovations:

  1. Hierarchical scale encoding: "Each cluster is assigned a scale encoding indicating its remaining expansions. Scale encodings are recursively divided among child nodes, starting from a single super-node with the full scale encoding and ending when all clusters have a scale encoding of one. This provides more local control over the final node count and improves global consistency compared to prior methods, which only append the desired size to node embeddings."

  2. Multi-scale graph OT coupling: The authors generalize minibatch OT-coupling to align predictions and targets via a permutation that minimizes their matching cost. They restrict "permutations to children within a single cluster expansion, where equivalence naturally holds. With two or three children per cluster, only two or six permutations are possible, making the operation lightweight and easily parallelizable."

  3. Graph inpainting: Nodes and hyperedges that are not expanded inherit their parent connectivity and features deterministically, allowing the model to focus only on regions undergoing structural refinement.

Coarsening process: The method uses spectrum-preserving coarsening applied to the hypergraph's clique expansion. Node features are aggregated via weighted averaging: the super-cluster feature is computed as the weighted mean of its constituent features. The paper proves (Proposition 1) that the optimal downsampled features minimizing the reconstruction error are the cluster-wise barycenter.

Expansion and refinement: The inverse of coarsening consists of expansion (upsampling by duplicating nodes and hyperedges) and refinement (adjusting connectivity, scale encodings, and features). During refinement, the model learns to (a) identify which edges should be removed, (b) predict the scale encodings of the children based on the parent's scale encoding, and (c) refine the features of newly expanded nodes.

Probabilistic modeling: The authors model the marginal likelihood of each hypergraph H as a sum over the likelihoods of its bipartite representation's expansion sequences p(H) = p(B) = Σ ϖ∈Π(B) p(ϖ). They assume a Markovian generative structure and model the distribution of expansion and refinement sequences with a combined likelihood term.

Theoretical guarantees: The paper provides proofs that: (i) the multi-scale graph OT coupling has marginals q0(x0), q1(x1) (Proposition 2), ensuring no bias is introduced; (ii) the coupling reduces the total variance of this displacement compared to uncoupled targets (Proposition 3); and (iii) graph inpainting recovers the generative signal by removing the identity-mapping bias (Proposition 4).

Implementation: The model uses a conditional flow-matching framework combined with a local PPGN backbone. At each refinement scale, the model jointly predicts: (i) node expansion decisions, (ii) hyperedge expansion decisions, (iii) incidence refinement variables, (iv) scale-encoding split proportions, and (v) node and hyperedge feature refinements. The training uses an endpoint flow matching framework where the model learns a vector field transporting random initial states toward the target refinement variables.

Complexity: The total computational complexity of our approach scales as O((n + m + k) log n) for a hypergraph with n nodes, m hyperedges, and k incidences.

Experiments: The method is evaluated on:

  • Unfeatured hypergraphs: SBM, Ego, Tree, and ModelNet40 (bookshelf and piano) datasets

  • Unfeatured graphs: SBM, Tree, Planar, Protein, and Point cloud datasets

  • Featured hypergraphs: Manifold40 3D meshes (bench and airplane)

  • Featured graphs: Point clouds sampled from the same mesh categories

Results: For unfeatured hypergraphs, FAHNES achieves state-of-the-art performance, e.g., 87.8±3.1 valid SBM hypergraphs versus 65.0 for HYGENE, and 99.5±1.1 valid Ego hypergraphs versus 90.0 for HYGENE. For unfeatured graphs, FAHNES obtains competitive results compared to state-of-the-art flat methods on small-graph datasets. For featured point clouds, our hierarchical approach is the only method that scales (baselines DiGress and DeFoG run out of memory). For 3D meshes, FAHNES obtains better results in general than other baselines like the sequential generation or naive-joint approaches.

Ablation studies: The authors show that using scale encodings instead of concatenating the target size to each node embedding improves generation quality and that the multi-scale graph OT coupling has a more nuanced effect, clearly improving quality on some datasets. Both components are essential for feature generation, as lacking one of them results in much worse results.

Limitations: The authors acknowledge that our scale encoding helps mitigate the issue of missing nodes, it does not fully resolve it, and our method still struggles when generating very large hypergraphs. Additionally, our framework currently assumes continuous feature distributions (e.g., 3D coordinates), and extending it to domains with richer or heterogeneous node and hyperedge attributes may require additional modeling components.

Improvements for AI systems

Based on the paper, here are the specific improvements I can implement and what the improved AI system can do:

Implementation: Replace flat size conditioning with per-cluster scale encodings that track how many fine-level nodes each coarse cluster should expand into. During generation, recursively divide scale encodings among child nodes.

Resulting capability: The system can generate structures where different regions grow at different rates while maintaining global coherence, avoiding the common failure mode of producing disconnected or malformed large structures.

Implementation: At each expansion step, simultaneously predict: (a) which nodes to expand, (b) how to split scale encodings, (c) which edges to remove, and (d) refined node/hyperedge features—all conditioned on parent features using FiLM layers.

Implementation: During training, align predicted and target nodes within each expanded cluster by testing all 2–6 possible permutations and selecting the one minimizing displacement variance, preserving graph isomorphism.

Implementation: During training, mask out loss contributions from nodes and hyperedges that do not expand (scale encoding = 1), focusing gradient updates only on active refinement regions.

Implementation: Use the coarsen-then-expand pipeline with Local PPGN backbone, restricting operations to local neighborhoods and limiting cluster sizes to 2–3 nodes.

  1. Generate large featured hypergraphs (e.g., 3D meshes with 50–180 nodes and 3D coordinate features) that are both topologically valid and geometrically realistic, outperforming sequential generation baselines.

  2. Generate featured graphs (e.g., point clouds with 1000 nodes and 3D positions) at scales where flat models like DiGress and DeFoG fail due to OOM errors.

  3. Generate unfeatured graphs and hypergraphs (SBM, Ego, Tree, Planar, Protein datasets) with state-of-the-art or competitive validity rates and spectral similarity, while maintaining structural constraints (e.g., 100% valid trees, 97% valid planar graphs).

  4. Maintain feature consistency across scales—when a parent node is expanded, children inherit appropriate features, and the model refines them conditioned on the parent, producing smooth geometric surfaces rather than disjoint fragments.

  5. Train efficiently with the OT coupling and inpainting masking, requiring fewer steps to converge and producing more stable generations across runs (lower variance in metrics).

  6. Handle heterogeneous growth rates—regions of the structure that need more detail (e.g., wings of an airplane) expand more than simpler regions (e.g., fuselage), all while keeping the overall structure coherent.

If you implement these improvements, the resulting system will be the first scalable, feature-aware generative model for both graphs and hypergraphs, capable of producing large, realistic structures with continuous features that current state-of-the-art flat models cannot handle.

Abstract

Graph generative models perform well on small structured data but struggle to scale to large, complex structures. Hierarchical approaches improve scalability but often ignore node and edge features, which are critical in real-world applications, particularly for hypergraphs that model higher-order relationships. In this paper, we propose FAHNES (feature-aware (hyper)graph generation via next-scale prediction), a hierarchical framework that jointly generates topology and features for graphs and hypergraphs. FAHNES builds multi-scale representations through node coarsening and localized expansion, guided by a novel hierarchical scale encoding that controls granularity and ensures cross-scale consistency. Experiments on synthetic, 3D mesh, and graph point cloud datasets demonstrate competitive or state-of-the-art performance while uniquely scaling to featured large-scale graphs and hypergraphs. Our code is open source

Related papers