LLM-Enhanced Random Forests in Orthogonal Hyperbolic Subspaces for Tabular Learning

Shengpeng Wang, Yisen Gao, Han Xiang, lingyun liu, Ziwei Zhang, Qingyun Sun, Xianxian Li, Xingcheng FuNeurIPS 2026

TL;DR

While deep learning has revolutionized text and images, humble spreadsheet-style tabular data is still ruled by decision trees. This paper introduces HOT, a framework that upgrades random forests by growing them inside curved, hyperbolic geometry—whose exponentially expanding volume naturally mirrors how trees branch—and using Large Language Models (LLMs) to refine their splitting logic. The result is a model that marries geometric intuition with semantic reasoning, outperforming existing tabular baselines at a fraction of the computational cost.

What Problem Does This Paper Address?

Decision trees work by recursively slicing data into smaller and smaller buckets. As a tree gets deeper, the number of branches grows exponentially. Standard "flat" (Euclidean) space only grows polynomially, meaning deep tree representations inevitably get crowded, tangled, and distorted. Furthermore, traditional random forests rely on manual heuristics to split nodes and random feature sampling to create diversity—which often leaves trees looking a bit too similar when features overlap.

Hyperbolic space—think of a saddle-shaped surface or an Escher drawing where space expands exponentially toward the edges—is a natural mathematical fit for trees. However, building trees directly in hyperbolic space has historically been bogged down by brutally expensive non-Euclidean (Riemannian) optimization, and it’s notoriously tricky to define good splitting rules on curved manifolds. Meanwhile, recent attempts to throw LLMs directly at tabular rows hit a wall with context window limits and sluggish inference speeds.

Methods

The authors propose HOT (Hyperbolic Orthogonal Trees), which sidesteps heavy curved-space math through three clever steps:

Figure 1: Overview of HOT. (1) Orthogonal hyperbolic forest construction maps tabular features into orthogonal hyperbolic subspaces and constructs diverse trees with geometrically corrected splits. (2) LLM-based rule refinement uses task and geometric information to refine decision rules. (3) End-to-end alternating optimization uses gradient residuals from a graph network to guide new tree fitting and iteratively refine representations for downstream prediction.
  1. Orthogonal Hyperbolic Subspaces: First, raw tabular features are mapped into a high-dimensional hyperbolic space (specifically, the Lorentz model). To ensure every tree in the forest looks at the data from a genuinely independent angle without doing expensive curved-space math, HOT maps the points onto a flat "tangent space" at the origin—like laying a flat sheet of paper against a globe. There, it uses standard QR decomposition to slice the space into mutually perpendicular (orthogonal) subspaces before projecting them back onto hyperbolic manifolds.
  2. Geometrically Corrected Splitting & LLM Refinement: To grow the trees, HOT switches to the Klein hyperbolic model, where shortest paths look like straight lines, making hyperplane splits easy. Because hyperbolic space is dense in the middle and sparse at the edges, standard arithmetic midpoints skew the splits; HOT uses the Einstein midpoint instead to find the true geometric center. Next, root-to-leaf paths are extracted as logical rules and fed once into an LLM, which uses semantic context about the task and geometry to clean up and synthesize sharper rules.
  3. Gradient-Residual Co-Evolution: Instead of trying to differentiate through discrete tree splits, HOT builds a mini-batch $k$-Nearest Neighbors graph and passes the features through a Graph Neural Network (GNN) to predict the final output. The GNN's task errors (gradient residuals) act as pseudo-labels: new hyperbolic trees are grown specifically to fit those errors, guided by the LLM's refined rules, iteratively sharpening the representations end-to-end.

Datasets

The authors evaluate HOT across 13 existing public tabular benchmarks spanning binary classification, multi-class classification, and regression. No new datasets are introduced.

  • Classification: Blood, Credit, Car, Bank, Adult, Jannis, and Heart.
  • Regression: Cpu_act, Credit_reg, California_housing, House_16H, Fried, and Diamond.

Key Insights and Ideas

  • Hyperbolic overlap amplifies redundancy: The authors prove theoretically that when two random feature subsets overlap in flat space, mapping them into hyperbolic space can exponentially expand local distances based on the overlap size—making orthogonal tangent-space decoupling essential rather than just a nice-to-have.
  • Use LLMs on rules, not rows: Serializing thousands of spreadsheet rows into text prompts is slow and hits token limits. Having the LLM refine the extracted tree rules injects semantic common sense into the forest with zero LLM overhead at test time.
  • Flat-space shortcuts for curved geometry: Jumping between the Lorentz model (for encoding), the tangent space (for cheap orthogonal slicing), and the Klein model (for straight-line splitting) gives you the representational perks of hyperbolic geometry without the nightmare of iterative Riemannian optimization.

Key Results

  • Predictive Accuracy: Across both full-dataset and 64-shot (low-resource) regimes, HOT consistently achieves the best or second-best scores. For instance, on full-data classification (measured by AUC, higher is better), HOT hits 0.910 on Heart (beating FeatLLM's 0.895 and DeLTa's 0.860) and 0.801 on Credit (vs. DeLTa's 0.782). In 64-shot regression on California Housing, HOT drops Normalized RMSE to 0.504 compared to DeLTa's 0.701.
  • Ablation Impact: Stripping out hyperbolic geometry (w/o Hyp) causes the steepest drop in accuracy across all tested datasets (e.g., Car AUC drops from 0.992 to 0.960), confirming geometry is doing the heavy lifting, followed by orthogonal projections (w/o Ort) and LLM refinement (w/o LLM).
  • Massive Speedups: On the full Adult dataset, HOT trains in 38.15 seconds and runs inference in 0.08 seconds—compared to TabLLM (169,974s train / 164.75s inference) and FeatLLM (1,147s train / 0.17s inference).

Limitations and Future Work

The authors note two primary limitations: HOT still faces scalability hurdles when scaling up to very large tabular datasets, and the current prompting strategy for LLM rule refinement is relatively unconstrained. For future work, they plan to integrate Chain-of-Thought (CoT) prompting to put tighter guardrails around the LLM's semantic reasoning and further optimize the architecture for massive data scales.

Summary updated

Abstract

Tabular data is widely applied in critical domains, where tree-based models remain dominant, yet their performance is often constrained by manual heuristic splitting criteria and limited ensemble diversity. The hierarchical partitions induced by decision trees motivate geometric priors for guiding splits and constructing diverse ensembles. Hyperbolic geometry naturally accommodates such hierarchical structures, but existing hyperbolic algorithms are hindered by complex Riemannian optimization and the difficulty of defining subtree priors. To address these challenges, we propose HOT, a hyperbolic random forest framework based on data decoupling. First, we leverage intrinsic geometric structures and LLM reasoning to guide subtree construction, replacing traditional manual heuristics with geometric-semantic priors. Second, we introduce an orthogonal hyperbolic subspace projection mechanism via tangent space isometry, effectively decoupling feature dependencies and maximizing ensemble diversity. Finally, we establish an end-to-end collaborative training paradigm where gradient residuals from a graph network directly guide the growth of new hyperbolic trees, bypassing expensive iterative optimization. Experiments on 13 benchmark datasets demonstrate that HOT significantly outperforms state-of-the-art baselines in both computational efficiency and predictive performance.
BibTeX
@inproceedings{wang2026llm,
  author = {Shengpeng Wang and Yisen Gao and Han Xiang and lingyun liu and Ziwei Zhang and Qingyun Sun and Xianxian LI and Xingcheng Fu},
  title = {{LLM-Enhanced Random Forests in Orthogonal Hyperbolic Subspaces for Tabular Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=9e7CzWvHvW},
}
Figure