AutoGrable Automates Optimal Graph Construction from Tables

Tamara Cucumides, Floris Geerts· August 13, 2026 View original

Key takeaways

  • Applying GNNs to tabular data requires explicit graph construction, often done manually.
  • AutoGrable automates graph construction using a label-alignment risk criterion, without training a GNN.
  • It efficiently searches for optimal column subsets to define graph structures.
  • AutoGrable outperforms other methods and can identify when graph construction is not beneficial.

Who benefits

Data ScienceAI DevelopmentFinanceE-commerceHealthcare

Summary

AutoGrable introduces a novel criterion for automatically constructing optimal graphs from tabular data for Graph Neural Networks (GNNs) without training a GNN model. It scores candidate graph structures based on label-alignment risk and block occupancy, outperforming existing methods and identifying when no graph is beneficial.

Applying Graph Neural Networks (GNNs) to tabular data or relational databases presents a significant challenge: these data sources do not inherently come with a predefined graph structure. Traditionally, the decision of which entities become nodes and how they connect has been made manually, through schema heuristics, or by exhaustively training models on various candidate graphs. This paper introduces AutoGrable, a new method that automates this graph construction process without requiring a trained GNN model. AutoGrable proposes a criterion based on how well a graph's structure, when viewed through the lens of a 1-Weisfeiler-Leman (1-WL) test, partitions rows into color-refinement classes. A "good" graph for a given task is one where this partition effectively separates rows with different labels while keeping rows with shared labels together. For incidence constructions, where the partition is determined by selected columns, AutoGrable scores candidate column subsets using a label-alignment risk, penalized by an occupancy term that measures block population density. Crucially, this scoring mechanism does not materialize a graph or train a GNN, allowing AutoGrable to greedily and efficiently search the space of subsets. Experiments demonstrate that AutoGrable effectively discards a large fraction of suboptimal candidate graphs while retaining the best ones. It successfully recovers label-generating columns in controlled tasks and outperforms fixed, random, and task-aware constructors on real-world tasks. Uniquely, AutoGrable can also determine when no graph construction would be beneficial, offering a robust and efficient solution for graph learning from tables.

Why it matters

For data scientists and AI engineers working with tabular data, AutoGrable provides an automated, efficient, and robust method to prepare data for GNNs, unlocking new possibilities for applying graph learning to traditional datasets without extensive manual effort.

How to implement this in your domain

  1. 1Explore AutoGrable's methodology for automatically generating graph structures from existing tabular datasets.
  2. 2Integrate AutoGrable into data preprocessing pipelines for GNN-based machine learning projects.
  3. 3Benchmark AutoGrable's performance against manual graph construction or heuristic methods on specific business problems.
  4. 4Collaborate with data scientists to apply this technique to enhance predictive models currently using tabular data.

Original post by Tamara Cucumides, Floris Geerts

"arXiv:2608.11431v1 Announce Type: new Abstract: Graph learning presupposes a graph, and tables and relational databases do not come with one. Applying a GNN to them requires deciding which entities become nodes, which of them to connect, and through which relations---a decision m…"

View on X

Originally posted by Tamara Cucumides, Floris Geerts on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses