Search arXiv⌕ Search

arXiv subjects

Erez Louidor Ilan

Publications and source records attributed to Erez Louidor Ilan.

2 recordsLinked to original sources

Supporting Time Series and Tabular Foundation Models in BigQuery

Traditional database machine learning (DBMS-ML) systems rely on task-specific model training, which introduces operational complexity, resource-intensive training phases, and artifact-management overhead. Foundation Models (FMs) for time series (e.g., TimesFM) and tabular data (e.g., TabFM) enable training-free SQL inference -- via zero-shot forecasting and in-context learning -- directly on database tables. However, integrating multi-hundred-million-parameter models into a distributed query engine like BigQuery presents severe challenges in worker memory consumption, quadratic O(n^2 + nm^2) attention complexity, and distributed execution alignment. In this paper, we present the design and production deployment of native TimesFM (AI$.$FORECAST) and TabFM (AI$.$PREDICT) in BigQuery. To address their distinct computational bottlenecks, we develop tailored execution architectures and systems optimizations: for TabFM, a decoupled two-stage prefill-decode architecture with 1 MB chunked Key-Value cache broadcast, stage-scoped shared-memory reuse, and deterministic class-balanced subsampling eliminates redundant in-context learning across workers and bounds per-worker decode memory; for TimesFM, a one-stage hash-partitioned C++ TFLite runtime delivers a 2.29x speedup over Python PyTorch, while 8-bit integer quantization provides an additional 2.53x resident memory reduction (4.15x combined) and 3.58x faster cold initialization with a -0.29% mean MASE shift. We evaluate our system across 56 GIFT-Eval time series benchmarks, enterprise forecasting workloads scaling to 10 million time series, and 51 TabArena tabular tasks. Our results prove the effectiveness of the integration, demonstrating that zero-shot foundation models scale to billions of rows and match or outperform fully trained models like XGBoost without manual training pipelines.

cs.DB↗

TabFM: A Zero-Shot Foundation Model for Tabular Data

Tabular machine learning typically relies on per-dataset workflows, fitting tree ensembles or running AutoML searches from scratch for every task. We present TabFM, a 400M-parameter tabular foundation model that formulates supervised tabular prediction as in-context learning. TabFM produces calibrated zero-shot predictions in a single forward pass without task-specific tuning. Trained entirely on synthetic tables generated from structural causal models, TabFM learns general tabular representations that transfer zero-shot to real-world tasks. Across all 51 benchmark datasets in TabArena (38 classification and 13 regression), zero-shot TabFM ranks first among default tabular foundation models and outperforms tuned AutoML pipelines. Two extensions over the same frozen weights improve performance further on both tracks: multi-view feature expansion with ensembling and post-hoc calibration (TabFM+), and LLM-guided, dataset-specific data processing and feature engineering (TabFM-Auto).

cs.LG↗