Manuscript Offprint
arXiv:2609.07956Streaming Hierarchical Inference with Tabular Foundation Models
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.

Fig. 1: Streaming hierarchical inference defined by (1) confidence threshold for offloading uncertain predictions; and (2) number of neighbors . 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 for offloading uncertain predictions; and the number of retrieved neighbors , 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.
Most existing approaches address this through model-centric compression. For example, TabPFN has explored model distillation into compact surrogate models such as MLPs and tree ensembles [10], while alternative approaches employ hypernetworks to generate task-specific predictors in a single forward pass [3]. Other work investigates early-stopping strategies that dynamically determine whether to terminate in-context processing after intermediate Transformer layers [12]. Although effective, these methods focus on reducing model complexity rather than reducing the amount of information required for inference.
In contrast, we adopt a data-centric perspective. Since TFMs adapt their effective representational capacity according to the size and structure of the provided context [15], the central challenge becomes maintaining a compact yet informative memory from which relevant contextual examples can be efficiently retrieved. This recovers a classical objective of stream learning: compressing potentially unbounded streams into bounded-memory representations while maximizing information density. To this end, we leverage Approximate Nearest Neighbor Search (ANNS), a family of techniques that trades a small amount of retrieval accuracy for substantial gains in computational efficiency [25]. Among the available approaches, graph-based methods have emerged as particularly effective due to their ability to explicitly encode neighborhood structure while requiring relatively few distance evaluations [13, 7]. At the core of these methods are four foundation structures: Delaunay Graphs, Relative Neighborhood Graphs, Minimum Spanning Trees, and K-Nearest Neighbor Graphs (KNNG) [25]. We adopt the latter as a directed graph with limited number of neighbors per vertex [23].
Importantly, this data-centric perspective aligns naturally with work on hierarchical inference [2], where computation is dynamically allocated based on input difficulty to optimize misclassification risk and communication overhead, e.g. transmission energy [22], or remote computation costs [1].
3 Methodology
We consider a tabular data stream in which each instance is associated with a label . Tabular Foundation Models (TFMs) perform in-context inference by conditioning their predictions on a labeled support set. Given a support set and a query , a TFM produces a predictive distribution over the corresponding label :
Crista et al.
NNS. However, the quadratic growth of memory and computation with context length in transformer architectures imposes a constraint on the number of support examples that can be included. To address this, prior work has explored replacing the full dataset context with localized summaries, such as k-means centroids [6], recognizing that local information is often most informative for tabular prediction. Formally, letting kNN() denote the nearest neighbors of in , the predictive distribution becomes:
Approximate NNS. However, in streaming, the challenge is not merely to select a local context, but to maintain a compact memory over time from which informative local contexts can be efficiently retrieved. In this work, we adopt approximate K-Nearest Neighbor Graphs (KNNG) which limit the number of neighbors per vertex to , producing a directed graph that is memory-efficient and suitable for large datasets [23]. For initialization, the most popular approach is the NN-Descent [5], which first randomly selects neighbors for each point, and then update each point's neighbors with neighborhood propagation. As seen in algorithms such as DPG [13], NSSG [7], and SWINN [19], NN-Descent improves neighbor distribution and search efficiency without sacrificing incremental adaptability. For HINT, we adopt SWINN, leveraging only the NN-descent without auxiliary structures. At time , a directed, weighted graph is maintained, where each vertex corresponds to an instance in . Each vertex has at most outgoing edges, and edge weights are defined by a user-specified distance metric . The direct neighborhood of a vertex is defined as , while the reverse neighborhood is . The total neighborhood is given by . With this representation, there are three main sliding window operations:
– Initialization. During an initial warm-up period, incoming instances are buffered until . During this phase, all nearest neighbor queries are answered using a linear scan. Once the window is full, an initial random directed graph is created by assigning random outgoing edges to each vertex, which is then refined iteratively.
– Element insertion. When a new instance arrives, a K-NN search is performed on the current graph to identify its nearest neighbors. A new vertex is then added to the graph with directed edges to these neighbors, and reverse neighborhoods are updated accordingly. The cost of insertion is equivalent to a single graph search with .
– Element removal. When the sliding window is full, the oldest vertex is removed together with all incident edges. To preserve graph connectivity, local repairs are restrictively performed to the neighborhood of the removed vertex. Vertices that lose all incoming or outgoing connections are reconnected by performing new graph searches seeded from nearby vertices. A local refinement step is then applied to the affected neighborhood. The removal cost is .

Fig. 2: Approximate addition/removal of elements in NN-based graph relies on three main operators. (1) Greedy graph traversal starts from a random seed and iteratively explores closer neighbors. (2) Neighborhoods are iteratively refined through joins, and edge replacements. (3) Redundant edges are removed.
Graph operators. Implementing these operations then relies on three different operators for incremental updates, as illustrated in Figure 2:
– Search. NN queries are answered using a greedy best-first traversal of the graph, with exploration bounded by the best-known distance, optionally relaxed by a factor to improve recall. The search maintains a min-heap of candidate vertices to explore and a max-heap of size storing the current nearest neighbors. Vertices are explored in increasing order of distance, and candidates are added only if they improve the current distance bound defined by the -th nearest neighbor. In practice, the number of graph hops remains small, yielding sublinear search time with respect to .
– Refinement. Following the principle that neighbors of neighbors are likely to be neighbors, for each vertex , candidate neighbors are drawn from its total neighborhood . If exceeds a user-defined threshold , a random subset of size is sampled. Pairwise neighborhood joins are then attempted among candidates to replace existing edges with closer alternatives. To avoid redundant distance evaluations, each directed edge is associated with a binary flag after participating in a join operation. Refinement proceeds iteratively and stops when either a maximum number of iterations is reached or when the number of edge updates in an iteration falls below a tolerance threshold . Refinement complexity is .
– Pruning. To reduce redundancy and control memory usage, a local edge pruning strategy is applied. For each vertex whose total neighborhood size exceeds , neighbors are ordered by distance and evaluated using a triangle-based rule: in any triangle formed by vertices , the longest edge is removed while preserving reachability. Edge removal is applied probabilistically using a parameter pruneprob , allowing a trade-off between search speed and robustness against local minima.
Crista et al.
Hierarchical inference. Leveraging this two-stage process of (1) local graph-based context retrieval, and (2) TFM inference; HINT instantiated edge-cloud collaboration with TFMs as a hierarchical inference problem [2], as illustrated in Fig. 1, governed by: an offloading mechanism governed by a confidence threshold , and a neighborhood-size strategy . Given a query point , let denote its set of nearest neighbors. We define a weighted class support function for each class as
where is a distance-based similarity weight and denotes the Euclidean distance. The predicted label is given by , and we define the confidence of the prediction as . The edge device decides whether to process a sample locally or offload it to the server according to the rule offload if , otherwise the prediction is accepted locally. To control communication overhead, the context size follows a predefined schedule over the stream. Two parallel local classifiers are maintained: a fixed model using a constant small and a scheduled model using [11]. Their cumulative accuracy estimates are updated online, and the classifier with the highest cumulative accuracy is selected for local prediction. For the objective function, we model the resource trade-off through a communication-oriented proxy that combines predictive errors with the number of samples transmitted to the cloud. The parameter controls the relative importance assigned to communication. This formulation intentionally abstracts away hardware- and deployment-specific factors such as network latency, transmission energy, memory usage, batching, and inference runtime, which depend on the underlying edge, network, and cloud infrastructure. Since TabPFN performs a fresh in-context inference for each query, we assume that the query and its selected context are transmitted for every offloaded instance, without caching or reuse across consecutive queries. The resulting cost should therefore be interpreted as a simplified communication-error proxy rather than a direct measure of end-to-end system cost. Under this formulation, the amortized cost per sample at time is:
where, and indicate incorrect server and local inference errors. The formulation could in principle be extended with an online optimization procedure over a sliding window to jointly select and . We deliberately leave this optimization outside the scope of this work, as controlled parameter sweeps allow the effects of each parameter to be isolated and interpreted. Specifically, we evaluate , paired with a fixed reference classifier at . Across experiments, the edge retriever maintains a sliding window of instances over a directed graph with neighbors per vertex.
4 Experiments
A prequential evaluation strategy is used, where each instance is first used to test and then update the classifier in an online manner. The streams are drawn from the USP Data Stream Repository, encompassing both binary and multi-class classification tasks. For all datasets, we consider up to the first 20k instances and include an Adaptive Random Forest (ARF) [9] and a Hoeffding Tree (HT) [18] as baselines. As the TFM, we use TabPFN [10]. A key practical advantage of TabPFN, and TFMs in general, is their minimal reliance on hyperparameter tuning. In TFMs, the primary source of variability arises from the ensemble prediction mechanism, in which feature orderings and scalings are randomly permuted to account for the permutation invariance of tabular columns. In our experiments, four permutations are used. Increasing the number of permutations reduces stochasticity and provides a closer approximation to the Bayesian posterior, typically improving predictive performance.
Effect of on accuracy. Figure 3 illustrates the effect of the offload rate, while Table 1 summarizes accuracy and balanced accuracy across baselines and hierarchical inference (HI) at . HI outperforms ARF on five of six datasets (all except ELEC), while offloading only 16–54% of the stream. Compared with local-only inference, HI provides substantial accuracy improvements across all six datasets. The gains are most pronounced under class imbalance: on POS-TURE, ARF collapses to majority-class predictions (BAC 0.285), whereas HI achieves 0.555 BAC. The local-only strategy remains competitive on RIALTO and COVER.

Fig. 3: Offload effect on HINT's accuracy.
Crista et al.
Table 1: Hierarchical inference at the working point with its offload rate. Best Accuracy and Balanced Accuracy in bold; full offloading shown as a reference upper bound. Datasets are clipped to the first 20k instances.
| Dataset | ARF | HT | Local-only | HI () | Off. | Full-offload |
|---|---|---|---|---|---|---|
| ACC/BAC | ACC/BAC | ACC/BAC | ACC/BAC | rate | ACC/BAC | |
| NOAA | 78.1/70.8 | 73.5/68.3 | 75.2/69.0 | 87.2/83.2 | 33.0 | 97.2/96.5 |
| ELEC | 89.7/89.3 | 86.5/86.2 | 78.8/78.4 | 85.7/85.4 | 16.0 | 99.3/99.2 |
| METER | 71.1/71.1 | 52.2/52.2 | 53.7/53.7 | 84.7/84.7 | 52.0 | 97.5/97.5 |
| RIALTO | 71.4/71.4 | 22.5/22.5 | 77.0/77.0 | 87.0/87.0 | 24.0 | 95.5/95.5 |
| POSTURE | 61.8/28.5 | 46.4/21.7 | 56.7/28.4 | 79.3/55.5 | 54.0 | 83.7/61.0 |
| COVER | 75.2/74.1 | 55.1/49.8 | 82.6/82.6 | 90.5/90.7 | 18.0 | 98.5/98.5 |
| Average | 74.6/67.5 | 56.0/50.1 | 70.7/64.9 | 85.7/81.1 | 32.8 | 95.3/91.4 |
Effect of on HI cost. Figure 4 illustrates the trade-off between inference accuracy and HI cost across the six datasets under different cost sensitivity. Each curve corresponds to a distinct value of , while each point represents an operating configuration obtained from the controlled parameter sweep over and . Across all datasets, HI induces a consistent and well-defined Pareto frontier. In all cases, accuracy increases rapidly at low to moderate cost regimes, followed by a clear saturation effect where further cost increases yield diminishing improvements in performance. This convex structure indicates that near-optimal accuracy can be achieved without resorting to full offloading, highlighting the efficiency of hierarchical inference as a mechanism for reducing communication overhead while preserving predictive quality. The cost sensitivity parameter systematically controls the shape and position of the Pareto frontier. Lower values of result in policies that favor more frequent offloading, yielding higher accuracy at moderate cost. In contrast, higher values penalize communication more strongly, shifting the operating points toward lower-cost regimes with reduced accuracy. For example, for METER, a full-offload strategy attains an accuracy of 97.47% at a cost of , whereas a no-offload (local-only) strategy yields 53.69% accuracy at a cost of 9,259 (all incurred as local misclassifications). Within the evaluated configurations, the lowest-cost operating point for corresponds to , under which 51.6% of samples are offloaded (10,320 instances) and 48.4% are processed locally (9,675 instances). This configuration yields an accuracy of 84.65% at a cost of . Relative to full offloading, HI reduces the offloaded communication volume by 48.4% while retaining 86.8% of its accuracy (84.65% vs. 97.47%) and substantially exceeding the local-only baseline (53.69%). In terms of the communication-error proxy, HI becomes cheaper than full offloading once , reaching up to a 35% total-cost reduction at .
HI cost decomposition. Figure 5 further highlights the HI cost decomposition. For , NOAA, ELEC, RIALTO, and COVER favor lower offloading rates, whereas for , full offloading provides the lowest evaluated ob-

Fig. 4: Hierarchical inference cost x Accuracy.
jective for NOAA, ELEC, and METER. COVER and ELEC achieve consistently high accuracy under HI, with relatively smooth trade-offs, while NOAA and RIALTO exhibit intermediate behavior. METER shows the highest sensitivity to cost changes, with sharper transitions between operating regimes. Nonetheless, a consistent observation across all datasets is the existence of a sweet-spot region along the Pareto frontier. In this region, the system achieves near-maximum accuracy (typically within 2–5% of the best observed performance) while reducing the communication-oriented cost relative to high-offloading configurations through moderate values of . POSTURE is the only dataset where a middle-ground configuration remains consistently beneficial for , indicating a more challenging inference setting.
Effect of on HI cost. Finally, Figure 6 presents a controlled sweep of the neighborhood size and its effect on HI cost. Across all values of , increasing consistently increases communication cost, since more samples must be retrieved and aggregated from memory. To better understand this behavior, we ablate the influence of the memory window size. In terms of accuracy, the effect of is not uniform and depends on the effective richness of the memory window. For small memory windows, increasing is expected to provide limited additional benefit, as the available neighborhood structure is constrained. In this regime, the additional communication cost of larger is not compensated by substantial gains in predictive performance, making smaller values of more efficient overall. However, Figure 6 reveals a more nuanced effect. We observe that larger windows increase the marginal utility of retrieving
Crista et al.

Fig. 5: x Hierarchical inference cost comparison across different values.
additional neighbors when communication costs are low (), and decrease it when communication costs are high (). Thus, increasing alone does not substantially improve local accuracy, even in the presence of richer memory windows; however, it can be crucial in making the communication of a larger number of samples more beneficial. In other words, in settings where larger or more diverse memory buffers are required, such as those exhibiting recurrent patterns or concept drift, higher values of may not be efficiently leveraged locally, but can be effectively exploited by the TFM in the cloud.

Fig. 6: x Hierarchical inference cost comparison across different values.
5 Conclusion
Motivated by the increasing gap between the capabilities of modern TFMs and the practical constraints imposed by streaming environments, this work introduced HINT, a hierarchical inference framework that couples edge-based retrieval with cloud-based TFMs. We formulated a resource-aware inference mechanism that controls (i) whether a sample should be processed locally or offloaded to a TFM, and (ii) how much contextual information should be retrieved through the neighborhood size . Across multiple benchmark datasets, hierarchical inference induced a consistent and well-defined Pareto frontier between accuracy and communication cost under controlled parameter sweeps. This opens a promising direction for future work on online memory-aware inference policies, as well as more principled optimization strategies for joint control of communication, memory, and inference in streaming settings.
Acknowledgments. Funded by FCT under Ph.D. PRT/BD/03225/2025, and PRT/BD/154713/2023, and project 10.54499/UID/00760/2025.
Disclosure of Interests. The authors have no competing interests to declare that are relevant to the content of this article.
References
- Al-Atat, G., Fresa, A., Behera, A.P., Moothedath, V.N., Gross, J., Champati, J.P.: The case for hierarchical deep learning inference at the network edge. In: Proceedings of the 1st International Workshop on Networked AI Systems (2023)
- Behera, A.P., Daubaris, P., Bravo, I., Gallego, J., Morabito, R., Widmer, J., Champati, J.P.: Exploring the boundaries of on-device inference: When tiny falls short, go hierarchical. IEEE Internet of Things Journal (2025)
- Bonet, D., Montserrat, D.M., Giró-i Nieto, X., Ioannidis, A.G.: Hyperfast: Instant classification for tabular data. In: Proceedings of the AAAI Conference on Artificial Intelligence. vol. 38, pp. 11114–11123 (2024)
- Cossu, A., Giannini, F., Ziffer, G., Bernardo, A., Gepperth, A., Della Valle, E., Hammer, B., Bacciu, D.: A practical guide to streaming continual learning. Neurocomputing p. 132951 (2026)
- Dong, W., Moses, C., Li, K.: Efficient k-nearest neighbor graph construction for generic similarity measures. In: Proceedings of the 20th international conference on World wide web. pp. 577–586 (2011)
- Feuer, B., Hegde, C., Cohen, N.: Scaling tabpfn: Sketching and feature selection for tabular prior-data fitted networks. arXiv preprint arXiv:2311.10609 (2023)
- Fu, C., Wang, C., Cai, D.: High dimensional similarity search with satellite system graph: Efficiency, scalability, and unindexed query compatibility. IEEE Transactions on Pattern Analysis and Machine Intelligence 44(8), 4139–4150 (2021)
- Giannini, F., Ziffer, G., Della Valle, E.: Dynamic continuous progressive neural networks for evolving streaming time series. Data Mining and Knowledge Discovery
- Gomes, H.M., Bifet, A., Read, J., Barddal, J.P., Enembreck, F., Pfaringer, B., Holmes, G., Abdessalem, T.: Adaptive random forests for evolving data stream classification. Machine Learning 106, 1469–1495 (2017)
Crista et al.
-
Grinsztajn, L., Flöge, K., Key, O., Birkel, F., Jund, P., Roof, B., Jäger, B., Safaric, D., Alessi, S., Hayler, A., et al.: Tabpfn-2.5: Advancing the state of the art in tabular foundation models. arXiv preprint arXiv:2511.08667 (2025)
-
Hidalgo, J.I.G., Santos, S.G.T., de Barros, R.S.M.: Paired k-nn learners with dynamically adjusted number of neighbors for classification of drifting data streams. Knowledge and Information Systems 65(4), 1787–1816 (2023)
-
Küken, J., Purucker, L., Hutter, F.: Early stopping tabular in-context learning. arXiv preprint arXiv:2506.21387 (2025)
-
Li, W., Zhang, Y., Sun, Y., Wang, W., Li, M., Zhang, W., Lin, X.: Approximate nearest neighbor search on high dimensional data—experiments, analyses, and improvement. IEEE Transactions on Knowledge and Data Engineering (2019)
-
Lourenço, A., Gama, J., Xing, E.P., Marreiros, G.: Bridging streaming continual learning via in-context large tabular models. arXiv preprint arXiv:2512.11668 (2025)
-
Lourenço, A., Gama, J., Xing, E.P., Marreiros, G.: In-context learning of evolving data streams with tabular foundational models. In: Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V. 1 (2026)
-
Lourenço, A., Neves, L., Cano, A., Marreiros, G.: ihomer+: Incremental multi-view output-specialization for streaming multi-label learning. Information Fusion p. 104283 (2026)
-
Lourenço, A., Rodrigo, J., Gama, J., Marreiros, G.: On-device edge learning for iot data streams: a survey. arXiv preprint arXiv:2502.17788 (2025)
-
Lourenço, A., Rodrigo, J., Gama, J., Marreiros, G.: Dfdt: Dynamic fast decision tree for iot data stream mining on edge devices. In: Proceedings of the AAAI Conference on Artificial Intelligence. vol. 40, pp. 24053–24060 (2026)
-
Mastelini, S.M., Veloso, B., Halford, M., de Leon Ferreira, A.C.P., Gama, J., et al.: Swinn: Efficient nearest neighbor search in sliding windows using graphs. Information Fusion 101, 101979 (2024)
-
Neves, L., Lourenço, A., Cano, A., Marreiros, G.: Online hierarchical partitioning of the output space in extreme multi-label data stream. arXiv preprint arXiv:2507.20894 (2025)
-
Neves, L.S., Lourenço, A., John, L.K., Marreiros, G.: Pitfalls of unlabeled disagreement-based drift detection in streaming tree ensembles. arXiv preprint arXiv:2605.12803 (2026)
-
Nikoloska, I., Zlatanov, N.: Data selection scheme for energy efficient supervised learning at iot nodes. IEEE Communications Letters 25(3), 859–863 (2020)
-
Paredes, R., Chávez, E.: Using the k-nearest neighbor graph for proximity searching in metric spaces. In: International Symposium on String Processing and Information Retrieval. pp. 127–138. Springer (2005)
-
Paupério, A.R., Risca, Diogo Lourenço, A., Marreiros, G., Martins, R.: Explainable anomaly detection for industrial iot data streams. arXiv preprint arXiv:2512.08885 (2025)
-
Wang, M., Xu, X., Yue, Q., Wang, Y.: A comprehensive survey and experimental comparison of graph-based approximate nearest neighbor search. arXiv preprint arXiv:2101.12631 (2021)
-
Warden, P., Situnayake, D.: Tinyml: Machine learning with tensorflow lite on arduino and ultra-low-power microcontrollers. O'Reilly Media (2019)