Lune

ICML2025Top-tier venue

ActionPiece: Contextually Tokenizing Action Sequences for Generative Recommendation

Yupeng Hou, Jianmo Ni, Zhankui He, Noveen Sachdeva, Wang-Cheng Kang, Ed H. Chi, Julian J. McAuley, Derek Zhiyuan Cheng

Abstract

Generative recommendation (GR) is an emerging paradigm where user actions are tokenized into discrete token patterns and autoregressively generated as predictions. However, existing GR models tokenize each action independently, assigning the same fixed tokens to identical actions across all sequences without considering contextual relationships. This lack of contextawareness can lead to suboptimal performance, as the same action may hold different meanings depending on its surrounding context. To address this issue, we propose ActionPiece to explicitly incorporate context when tokenizing action sequences. In ActionPiece, each action is represented as a set of item features. Given the action sequence corpora, we construct the vocabulary by merging feature patterns as new tokens, based on their co-occurrence frequency both within individual sets and across adjacent sets. Considering the unordered nature of feature sets, we further introduce set permutation regularization, which produces multiple segmentations of action sequences with the same semantics. Our code is available at: https://github.com/ google-deepmind/action_piece .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

15 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Generating Long Semantic IDs in Parallel for Recommendation cites Learning Vector-Quantized Item Representation for Transferable Sequential Recommenders
  • Generating Long Semantic IDs in Parallel for Recommendation cites Recommender Systems with Generative Retrieval
  • Generating Long Semantic IDs in Parallel for Recommendation cites Transformer Memory as a Differentiable Search Index
  • DiffGRM: Diffusion-based Generative Recommendation Model cites Generating Long Semantic IDs in Parallel for Recommendation
  • DiffGRM: Diffusion-based Generative Recommendation Model cites Learning Vector-Quantized Item Representation for Transferable Sequential Recommenders
  • DiffGRM: Diffusion-based Generative Recommendation Model cites Recommender Systems with Generative Retrieval
  • DiffGRM: Diffusion-based Generative Recommendation Model cites Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text Models
  • APAO: Bridging the Training-Inference Gap in Generative Recommendation via Adaptive Prefix-Aware Optimization cites Recommender Systems with Generative Retrieval
  • Fading to Grow: Growing Preference Ratios via Preference Fading Discrete Diffusion for Recommendation cites Recommender Systems with Generative Retrieval
  • Recommender Systems with Generative Retrieval cites Learning Vector-Quantized Item Representation for Transferable Sequential Recommenders
  • Recommender Systems with Generative Retrieval cites Transformer Memory as a Differentiable Search Index
  • Recommender Systems with Generative Retrieval cites Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text Models
  • Transformer Memory as a Differentiable Search Index cites Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text Models
  • From IDs to Semantics: A Generative Framework for Cross-Domain Recommendation with Adaptive Semantic Tokenization cites Learning Vector-Quantized Item Representation for Transferable Sequential Recommenders
  • From IDs to Semantics: A Generative Framework for Cross-Domain Recommendation with Adaptive Semantic Tokenization cites Recommender Systems with Generative Retrieval
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers15

  1. From IDs to Semantics: A Generative Framework for Cross-Domain Recommendation with Adaptive Semantic TokenizationPeiyu Hu, Wayne Lu, Jia WangAAAI 2026 · 5 citations
  2. Generating Long Semantic IDs in Parallel for RecommendationYupeng Hou, Jiacheng Li, Ashley Shin, Jinsung Jeon et al.KDD 2025 · 4 citations
  3. APAO: Bridging the Training-Inference Gap in Generative Recommendation via Adaptive Prefix-Aware OptimizationYuanqing Yu, Yifan Wang, Weizhi Ma, Zhiqiang Guo et al.KDD 2026 · 4 citations
  4. Fading to Grow: Growing Preference Ratios via Preference Fading Discrete Diffusion for RecommendationGuoqing Hu, An Zhang, Shuchang Liu, Wenyu Mao et al.NeurIPS 2025 · 4 citations
  5. DiffGRM: Diffusion-based Generative Recommendation ModelZhao Liu, Yichen Zhu, Yiqing Yang, Xiao Lv et al.WWW 2026 · 2 citations

Builds on23

  1. DCN V2: Improved Deep & Cross Network and Practical Lessons for Web-scale Learning to Rank SystemsRuoxi Wang, Rakesh Shivanna, Derek Zhiyuan Cheng, Sagar Jain et al.WWW 2021 · 793 citations
  2. Transformer Memory as a Differentiable Search IndexYi Tay, Vinh Tran, Mostafa Dehghani, Jianmo Ni et al.NeurIPS 2022 · 506 citations
  3. Recommender Systems with Generative RetrievalShashank Rajput, Nikhil Mehta, Anima Singh, Raghunandan Hulikal Keshavan et al.NeurIPS 2023 · 474 citations
  4. Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text ModelsJianmo Ni, Gustavo Hernández Ábrego, Noah Constant, Ji Ma et al.ACL Findings 2022 · 358 citations
  5. Learning Vector-Quantized Item Representation for Transferable Sequential RecommendersYupeng Hou, Zhankui He, Julian J. McAuley, Wayne Xin ZhaoWWW 2023 · 256 citations

Related papers

  1. Learning Decomposed Contextual Token Representations from Pretrained and Collaborative Signals for Generative RecommendationYifan Liu, Yaokun Liu, Zelin Li, Zhenrui Yue et al.SIGIR 2026
  2. Universal Item Tokenization for Transferable Generative RecommendationBowen Zheng, Hongyu Lu, Yu Chen, Wayne Xin Zhao et al.SIGIR 2026
  3. Generative Recommender with End-to-End Learnable Item TokenizationEnze Liu, Bowen Zheng, Cheng Ling, Lantao Hu et al.SIGIR 2025 · 11 citations
  4. Bi-Level Optimization for Generative Recommendation: Bridging Tokenization and GenerationYimeng Bai, Chang Liu, Yang Zhang, Dingxian Wang et al.SIGIR 2026
  5. Drift-Aware Incremental Token Adaptation with Collaborative Semantics for Generative RecommendationYuebo Feng, Jiahao Liu, Mingzhe Han, Dongsheng Li et al.SIGIR 2026 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines