LoopFM: Learning frOm HistOrical RePresentations of Foundation Model for Recommendation

Shali Jiang, Hua Zheng, Boyang Liu, Laming Chen, Kenny Lov, Chuanqi Xu, Lisang Ding, Qinghai Zhou, Can Cui, Xiaolong Liu, Xiaoyi Liu, Yasmine Badr, Xin Xu, Jiyan Yang, Ellie Dingqiao Wen, Gerard Jonathan Mugisha Akkerhuis, Chenxiao Guan, Rong Jin, Ruichao Qiu, Xian Chen, Shifu Xu, Zhehui Zhou, Ping Chen, Rui Yang, Haicheng Chen, Xiangge Meng, Song Zhou, Dharak Kharod, Shuyu Xu, Qiang Jin, Qiao Yang, Wankun Zhu, Qin Huang, Yuzhen Huang, Darren Liu, Parish Aggarwal, Hui Zhou, Erzhuo Wang, Shuo Chang, Xiaorui Gan, Wenlin Chen, Santanu Kolay, Huayu LiarXiv 2026

TL;DR

Large recommendation foundation models (FMs) struggle to pass their rich, multi-layered knowledge to compact, real-time vertical models (VMs) through standard scalar knowledge distillation. LoopFM solves this "bandwidth bottleneck" by materializing and storing historical intermediate FM embeddings as compressed, structured sequence features for the VM. This elegant architecture completely avoids real-time FM inference during serving while doubling the knowledge transfer ratio and delivering massive conversion gains in production.

What Problem Does This Paper Address?

Modern industrial recommendation systems typically rely on a two-tier architecture: a massive foundation model (FM) with up to trillions of parameters learns rich representations offline, while compact vertical models (VMs) serve predictions online under strict latency constraints. Traditionally, Knowledge Distillation (KD) bridges this capacity gap by transferring the FM's scalar predictions as "soft labels" to supervise the VM.

However, as FMs scale to multi-trillion parameters, this single scalar becomes a severe bandwidth bottleneck. A single number cannot convey rich cross-domain features, multi-level interaction patterns, and contextual signals learned by the giant teacher. Consequently, the transfer ratio—the fraction of FM improvement captured by the VM—continues to deteriorate as the teacher-student capacity gap widens.

Methods

LoopFM (Learning frOm HistOrical RePresentations of FM) introduces a high-bandwidth embedding channel alongside the traditional scalar KD channel. Instead of forcing the FM to talk to the VM through a single scalar, LoopFM materializes the FM's intermediate representations into structured input features for the VM.

The framework consists of three modular stages:

  1. Embedding Extraction: Selects a subset of intermediate layers from the FM during its offline pass and concatenates their activations into a raw high-dimensional embedding.
  2. Compression & Quantization: Compresses these massive embeddings using a co-trained autoencoder. It leverages Matryoshka-style compression for flexible dimension tuning and applies K-means INT4 quantization to achieve a 4× storage reduction with minimal quality loss.
  3. Structuring: Groups these compressed historical embeddings by a key (such as user ID) into temporal sequences.

Crucially, only historical embeddings are used, and the current sample being served is explicitly excluded. This design choice ensures that the VM can serve predictions using pre-computed historical sequences without requiring expensive, real-time FM inference at serving time.

LoopFM Framework Overview

Datasets

The authors validated LoopFM on three public benchmarks:

  • TaobaoAd: 25M samples, 22 features (the richest feature set, used for primary ablations).
  • KuaiVideo: 13.7M samples, 9 features.
  • Amazon Electronics: 3M samples, 6 features.

They also evaluated the framework on Meta's internal production systems, which feature trillion-parameter FMs and billions of daily training examples.

Key Insights and Ideas

  • The Bandwidth Bottleneck is Real: Moving from a single scalar soft label to a rich sequence of historical embeddings fundamentally shifts how much knowledge a compact model can inherit from a giant teacher.
  • Shallower Layers Transfer Better: Ablation studies revealed that shallower intermediate layers of the FM transfer better than deeper ones. This aligns with the information bottleneck principle, which dictates that deeper layers progressively discard fine-grained input details to focus purely on the final prediction task.
  • Consistency Beats Freshness: Counterintuitively, updating the FM checkpoint frequently degraded VM performance. The authors discovered that frequent updates cause "embedding drift." The VM's sequence encoder benefits far more from embeddings that remain in a stable, consistent vector space over time rather than slightly fresher but drifting representations.
  • Orthogonality to KD: LoopFM's embedding channel and traditional scalar KD are highly complementary. Combining them yields better results than either alone, suggesting that multi-channel transfer should be a default design pattern in FM-VM systems.

Key Results

  • Public Benchmarks: LoopFM achieved substantial AUC improvements across multiple VM architectures. On TaobaoAd, it delivered an average AUC gain of over 6% (see Table 1). It also significantly outperformed alternative embedding-based transfer methods like FitNets (see Table 2).
LoopFM Performance on TaobaoAd
  • Industrial Scale: When deployed on production systems with trillion-parameter FMs, LoopFM approximately doubled the knowledge transfer ratio on top of standard KD.
  • Production Impact: The initial production launch yielded a +0.50% ad conversion improvement, followed by +1.03% and +1.22% conversion improvements in subsequent individual launches.

Limitations and Future Work

The authors honestly acknowledge several practical limitations of LoopFM:

  • Storage Overhead: Storing long sequences of compressed embeddings for billions of users at scale demands significant infrastructure and storage capacity.
  • Cold-Start Problem: New users or items lack an embedding history, meaning LoopFM cannot provide immediate benefits for them.
  • Inference Latency: Processing sequence features on the VM side introduces additional inference latency during real-time serving.

Future Directions: The authors suggest exploring alternative structuring methods (like graph-based user-item bipartite graphs), cross-domain knowledge transfer (e.g., organic content FMs powering ads VMs), and "self-LoopFM" where the FM consumes its own historical embeddings to create a self-improving loop.

Summary updated

BibTeX
@misc{jiang2026loopfm,
  author = {Shali Jiang and Hua Zheng and Boyang Liu and Laming Chen and Kenny Lov and Chuanqi Xu and Lisang Ding and Qinghai Zhou and Can Cui and Xiaolong Liu and Xiaoyi Liu and Yasmine Badr and Xin Xu and Jiyan Yang and Ellie Dingqiao Wen and Gerard Jonathan Mugisha Akkerhuis and Chenxiao Guan and Rong Jin and Ruichao Qiu and Xian Chen and Shifu Xu and Zhehui Zhou and Ping Chen and Rui Yang and Haicheng Chen and Xiangge Meng and Song Zhou and Dharak Kharod and Shuyu Xu and Qiang Jin and Qiao Yang and Wankun Zhu and Qin Huang and Yuzhen Huang and Darren Liu and Parish Aggarwal and Hui Zhou and Erzhuo Wang and Shuo Chang and Xiaorui Gan and Wenlin Chen and Santanu Kolay and Huayu Li},
  title = {{LoopFM: Learning frOm HistOrical RePresentations of Foundation Model for Recommendation}},
  year = {2026},
  eprint = {2605.29280},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.29280},
}
Figure