Reproduce “Pocket Foundation Models: Distilling TFMs into CPU-Ready Gradient-Boosted Trees” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Aditya Tanna, Nassim Bouarour, Mohamed Bouadi, Vinay kumar Sankarapu, Pratinav Seth

Lexsi Labs developed an out-of-fold knowledge distillation pipeline to compress high-latency Tabular Foundation Models (TFMs) into efficient CPU-ready student models for real-time applications. The approach enabled a distilled XGBoost student to achieve a macro-mean ROC-AUC of 0.882 (96.5% of the teacher's AUC) with a 1.9 ms CPU inference latency, representing up to an 860x speedup over GPU-bound TFMs.

Key insights

  • Out-of-fold (OOF) labeling is mandatory for effective distillation of ICL-based TFMs, as it prevents label leakage and preserves the essential inter-class structure within soft targets.
  • The performance rank of TFM teachers on held-out data consistently transfers to the performance rank of their respective distilled student models, simplifying teacher selection.
  • The benefits of distillation are concentrated on low-dimensional data; for high-dimensional tasks where TFM teachers underperform, distillation can amplify this deficiency.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.