arXiv:2609.07956cs.LGSep 2026

Manuscript Offprint

arXiv:2609.07956

Streaming Hierarchical Inference with Tabular Foundation Models

Vitor Crista, Afonso Lourenço, Diogo Martinho, Goreti Marreiros

Vitor Crista*, Afonso Lourenço*, Diogo Martinho, and Goreti Marreiros

GECAD, Polytechnic of Porto, Portugal *Equal contribution

Abstract. Tabular Foundation Models (TFMs) have recently demonstrated strong predictive performance through in-context learning, but their deployment in high-throughput data streams remains challenging due to communication overhead and latency. We propose HINT, a hierarchical inference framework that combines edge-based retrieval with cloud-based TFM inference. A graph-based approximate nearest neighbor memory maintained over a sliding window provides local predictions and uncertainty estimates, allowing confident samples to be processed locally while uncertain instances are selectively offloaded, together with their retrieved context, to a cloud-hosted TFM. The framework exposes an offloading threshold and a neighborhood retrieval policy that can be varied to balance predictive performance and communication cost. Experiments show HINT consistently identifies favorable trade-offs.

Keywords: Foundation model · Stream learning · Resource constraints.

1 Introduction

The Internet of Things (IoT) connects a vast network of physical devices, generating massive, high-speed data streams [4]. For tabular stream learning (SL), ensembles of incremental decision trees (IDTs) have long been state-of-the-art [20, 16]. They rely on statistical bounds to determine node splits and handle concept drift through subtree replacement. As shallow learners, IDTs achieve fast online convergence due to their limited number of trainable parameters [18]. However, their representational capacity is constrained by single-view feature splits, loss of plasticity from locally optimal decisions, catastrophic forgetting in class-conditional estimators, and an inability to capture complex dependencies [21]. Alternatively, continuous sequential architectures, such as LSTMs and RNNs, are well suited for streams, with structurally evolving frameworks offering promising solutions to catastrophic forgetting under evolving distributions [8]. However, the inductive biases of these DL architectures assume structures which offer little advantage for the irregular patterns typical of tabular data.

In contrast, the recent success of tabular foundation models (TFMs) [10] has introduced emergent capabilities such as few-shot in-context learning, opening a new direction for streaming continual learning. Unlike traditional tabular models, TFMs perform classification without fine-tuning [10], adapting to unseen datasets in a single forward pass by treating training examples as contextual

Crista et al.

Figure

Fig. 1: Streaming hierarchical inference defined by (1) confidence threshold θ\theta for offloading uncertain predictions; and (2) number of neighbors kk. Both varied to balance misclassifications and communication costs.

information [15]. From a stream learning perspective, TFMs enable immediate processing of incoming data. However, their deployment must account not only for the learning paradigm but also for system constraints such as network capacity and execution location [24]. Machine learning systems are generally divided into edge solutions (TinyML up to 100KB RAM, MobileML up to 8GB), optimized for resource-constrained devices, and server-based CloudML solutions, which prioritize accuracy over computational efficiency [26].

As of the state-of-the-art, TFMs belong to the CloudML category, relying on remote servers for in-context inference. While powerful, this setup can become inefficient under high-throughput, real-time data streams due to communication overhead, and latency. To mitigate these, edge-cloud collaboration strategies enable selective communication between local devices and centralized models. Building on the two-stage nature of in-context stream mining of (1) local context retrieval followed by (2) in-context inference [6, 14, 15], we propose HINT: Hierarchical Inference with Neighborhood Transfer, where the local retriever acts as a kNN-based predictor providing uncertainty estimates to decide whether to predict locally or offload to a TFM in the cloud [2]. The inference configuration is governed by the confidence threshold θ\theta for offloading uncertain predictions; and the number of retrieved neighbors kk, with an objective function that jointly minimizes the costs of misclassification and offloading costs. At the server, we use TabPFN, a prior-data fitted transformer, as the TFM [10]. At the edge, we use a sliding window graph-based approximate nearest neighbor method tailored for sublinear nearest neighbor queries in streaming settings, using NN-Descent refinement to support efficient insertion, deletion, and search operations within bounded memory [19]. We make three contributions: (i) formulate TFM-based stream prediction as an edge-cloud hierarchical inference problem; (ii) propose a graph-based sliding-window retrieval mechanism that acts both as local predictor and context selector; (iii) empirically characterize the accuracy–communication Pareto frontier across benchmarks.

References (26)