betaFeedback

WorksComputer Science

Cut Binary Cross Entropy: Efficient Large-Vocabulary Loss and Gradient Kernels for Sequential Recommendation

Abstract

Industrial sequential recommender systems operate over massive item catalogs (e.g., 10^5–10^7 items). Multi-label recommendation models are trained with Binary Cross-Entropy (BCE) loss over the full vocabulary, but standard BCE materializes a dense [B, N, V] logits tensor in High Bandwidth Memory (HBM), incurring prohibitive O(BNV)O(BNV) memory and fatal Out-Of-Memory (OOM) errors. While chunked loss optimizations exist for Softmax Cross-Entropy in LLMs, large-scale multi-label BCE optimization remains unexplored across deep learning ecosystems. We propose CutBCE, an exact, hardware-accelerated BCE loss and gradient operator implemented in JAX and Pallas for large-vocabulary workloads. CutBCE introduces (1) an exact fused reformulation evaluating dense background loss and sparse target corrections; (2) a custom Vector-Jacobian Product (VJP) with a dedicated Pallas TPU backward kernel computing logit tiles on-chip in both passes so logits and their gradients never reside in HBM; (3) dynamic VMEM budgeting and sharding-aware collective hoisting for distributed meshes; and (4) count-based zero-overhead training metrics. On single-chip TPU v5e/v6e mini-benchmarks, CutBCE eliminates OOM errors with up to 91.9% speedup. On 8-chip TPU slice training for multi-label SASRec with 876k items (Yambda-50M), CutBCE reduces peak HBM by 65.7% (>14 GiB saved per chip) and increases training speed by 225.9% with comparable accuracy. CutBCE is open-sourced at https://github.com/AI-Hypercomputer/RecML/blob/main/recml/core/ops/binary_cross_entropy_ops.py.

Introduction and Motivation

Sequential recommender systems are foundational to modern digital services, including e-commerce marketplaces, video streaming platforms, and app stores. These systems model user interaction trajectories to predict future user actions over massive item catalogs containing hundreds of thousands to tens of millions of item IDs [1], [3], [4]. Although text-based generative Large Language Models (LLMs) have demonstrated strong semantic reasoning capabilities for recommendation [2], ID-based sequential models (such as SASRec [3] and BERT4Rec [4]) remain the industry mainstream due to sub-millisecond serving latency via Approximate Nearest Neighbor (ANN) search and lightweight model architectures.

In industrial sequential recommendation, users frequently interact with multiple related items in a single session. Because single-step next-item prediction is myopic and overfits to noisy clicks and arbitrary local order, models are increasingly trained to predict the next LL items (e.g., L=8L = 8) simultaneously [11], [12]. This multi-label objective provides richer supervision and captures multi-intent sessions. The standard training loss for multi-label classification is Binary Cross-Entropy (BCE) evaluated over the entire item vocabulary (VV is the vocab size).

The Logits Memory Wall in Standard BCE

Given batch size BB, sequence length NN, and hidden dimension DD, the transformer backbone outputs activations A∈RB×N×D\mathbf{A} \in\mathbb{R}^{B \times N \times D}. To compute BCE loss, these activations are projected against an item embedding matrix E∈RV×D\mathbf{E} \in\mathbb{R}^{V \times D} to form a dense logits tensor: X=AET∈RB×N×V\mathbf{X} = \mathbf{A}\mathbf{E}^{T} \in\mathbb{R}^{B \times N \times V}. When vocabulary size VV reaches industrial scales (e.g., V=876,939V = 876,939 in the Yambda dataset [1], comprising 876,938 items and one padding token), materializing X\mathbf{X} creates a severe memory wall.

In distributed data-parallel training across an 8-chip TPU slice (2 × 4 topology), even with a moderate local batch size Blocal=16B_{\mathrm{local}} = 16 (global batch B=128B = 128), sequence length N=256N = 256, and vocab size V=876,939V = 876,939, storing the single local logits tensor Xlocal∈R16×256×876,939\mathbf{X}_{\mathrm{local}} \in\mathbb{R}^{16 \times256 \times876,939} in 32-bit float requires 16×256×876,939×416 \times256 \times876,939 \times4 B ≈ 13.38 GiB. While this alone would consume nearly 83.6% of a 16 GiB accelerator’s memory (e.g., TPU v5e), even on a 32 GiB TPU v6e (Trillium), allocating 13.38 GiB solely for logits leaves insufficient HBM for model parameters, embeddings, optimizer states, transformer activations, and compiler buffers, triggering fatal Out-Of-Memory (OOM) crashes at B=128,N=256B = 128, N = 256 (as observed in Table III). Furthermore, standard autodiff in JAX [8], PyTorch, and Keras [7] retains X\mathbf{X} in HBM across forward and backward passes (alongside dense targets and ∂L/∂X\partial\mathcal{L}/\partial\mathbf{X}), overlapping directly with transformer activations.

Batch ×\times SeqLenMethodHBM (GiB)Speed (steps/s)Hit@8
64 ×\times 256SASRec-BCE22.376.140.186
64 ×\times 256SASRec-CutBCE7.67 (-65.7%)20.01 (+225.9%)0.183
128 ×\times 256SASRec-BCEOOM––
128 ×\times 256SASRec-CutBCE7.8915.820.166
64 ×\times 512SASRec-BCEOOM––
64 ×\times 512SASRec-CutBCE7.8915.610.192
128 ×\times 512SASRec-BCEOOM––
128 ×\times 512SASRec-CutBCE8.9410.740.211

Table III. End-to-End Multi-Label SASRec on Yambda-50M (V=876,939V = 876,939) on an 8-chip TPU v6e slice (2 ×\times 4 Topology, 32 GiB HBM/chip).

Research Gap and Key Contributions

To mitigate logit materialization bottlenecks, recent works have explored chunked loss operators, such as Cut Cross Entropy (CCE) [5], Liger Kernel [10], and Tokamax [6]. However, existing efforts suffer from two key limitations:

  1. Exclusive Focus on Softmax Cross-Entropy: Prior optimizations target Softmax Categorical Cross-Entropy (CE) for auto-regressive LLMs with global partition functions (log⁡∑v=1Vexv)(\log\sum_{v=1}^{V} e^{x_v}). In contrast, BCE evaluates independent Bernoulli negative log-likelihoods per class with sparse positive targets (where the number of positive labels L≪VL \ll V). BCE efficiency optimization for large vocabularies remains unexplored across deep learning ecosystems (e.g., PyTorch/GPU and JAX/TPU).

  1. PyTorch and GPU Centricity: Prior loss kernels (e.g., Liger Kernel) rely on CUDA/Triton for Nvidia GPUs. In Google Cloud infrastructure, large-scale recommendation training is predominantly powered by JAX [8] on Tensor Processing Units (TPUs). Developing efficient, distributed, sharding-aware custom loss kernels in JAX and Pallas [9] presents distinct architectural requirements.

To bridge this gap, this paper introduces CutBCE, an exact, hardware-accelerated BCE loss operator implemented in JAX and Pallas. The key contributions of this work are as follows:

  • Fused Direct BCE Formulation: Exact mathematical decomposition of BCE loss into dense background and sparse target correction.

  • Custom VJP & Pallas TPU Kernel: A hybrid JAX/XLA forward scan with a dedicated Pallas TPU backward kernel acting as an explicit rematerialization mechanism that never materializes full logits in HBM.

  • Hardware-Aware Distributed Optimizations: Dynamic VMEM budgeting, hierarchical sequence chunking, and sharding-aware collective hoisting across device meshes.

  • Zero-Overhead Cut Metrics: Linear count-based confusion matrix computation directly during the forward pass with zero auxiliary HBM overhead.

  • Empirical Demonstration: Rigorous validation on synthetic benchmarks and multi-label SASRec on the 876k-item Yambda dataset [1], demonstrating 65.7% HBM reduction and 225.9% speedup with comparable accuracy.

Loss Optimization for Large Vocabularies: As vocabulary sizes scale, output projection and loss computation dominate training memory and compute budgets. While approximate methods like negative sampling reduce computation by evaluating only a subset of negatives, they introduce sampling bias and alter the optimization objective. For exact full-vocabulary training, Cut Cross Entropy (CCE) [5] pioneered vocabulary-dimension chunking for LLM cross-entropy. In the GPU ecosystem, Liger Kernel [10] implemented Triton-based fused kernels in PyTorch for LLM fine-tuning. In the TPU ecosystem, Tokamax [6] provides Pallas-based linear softmax cross-entropy for PyTorch. However, all existing chunked loss frameworks exclusively target Softmax Categorical Cross-Entropy with global normalization. In contrast, multi-label recommendation evaluates independent Bernoulli negative log-likelihoods per class over the whole item vocabulary (L≪VL \ll V). To the best of our knowledge, CutBCE is the first work (in both JAX/TPU and PyTorch/GPU) to optimize and hardware-accelerate exact BCE loss and gradients for large vocabularies.

JAX, Pallas, and Accelerator Kernels: JAX [8] compiles numerical programs via XLA and provides functional transformations such as custom_vjp and shard_map. For fine-grained control over accelerator memory hierarchies, Pallas [9], JAX’s kernel language, offers direct control over Vector Memory (VMEM), Matrix Multiply Units (MXUs), Vector Processing Units (VPUs), and DMA transfers on Google Cloud TPUs. While Pallas has been adopted for, e.g., attention and softmax CE kernels, Pallas kernels for large-vocabulary BCE have been absent. CutBCE fills this gap with a custom Pallas backward kernel optimized for TPU scratchpad hierarchies.

Sequential Recommendation Systems: Sequential recommender systems model user interaction trajectories over time. Self-attentive architectures (SASRec [3] and BERT4Rec [4]) and LLM alignment methods (CALRec [2]) predict future user engagement over catalogs with 10510^5–10710^7 item IDs. In industrial applications, multi-intent systems motivate training with multi-label objectives [11], [12], making fast, memory-efficient BCE computation in JAX/Pallas crucial for scalable training.

Methodology

Mathematical Formulation of Fused Direct BCE

Let a∈RD\mathbf{a} \in\mathbb{R}^{D} denote a model’s hidden representation at a sequence position, and E∈RV×D\mathbf{E} \in\mathbb{R}^{V \times D} denote the item output embedding matrix. The logit for class v∈{1,…,V}v \in\{1,\ldots,V\} is xv=a⋅evTx_v = \mathbf{a} \cdot\mathbf{e}_v^T, and yv∈{0,1}y_v \in\{0,1\} denotes the binary target. The standard BCE loss for predicted probability pv=σ(xv)=11+e−xvp_v = \sigma(x_v) = \frac{1}{1+e^{-x_v}} is

L(xv,yv)=−yvlog⁡(σ(xv))−(1−yv)log⁡(1−σ(xv)).(1)\mathcal{L}(x_v,y_v)=-y_v\log(\sigma(x_v))-(1-y_v)\log(1-\sigma(x_v)). \tag*{(1)}

Substituting σ(xv)\sigma(x_v) into (1) yields L(xv,yv)=xv+log⁡(1+e−xv)−yvxv\mathcal{L}(x_v,y_v)=x_v+\log(1+e^{-x_v})-y_vx_v, but the term log⁡(1+e−xv)\log(1+e^{-x_v}) is numerically unstable for large negative xvx_v as e−xve^{-x_v} overflows floating-point range. Using the log-sum-exp identity x+log⁡(1+e−x)=max⁡(x,0)+log⁡(1+e−∣x∣)x+\log(1+e^{-x})=\max(x,0)+\log(1+e^{-|x|}), we obtain the numerically stable formulation:

L(xv,yv)=max⁡(xv,0)−yvxv+log⁡(1+e−∣xv∣)=L(xv,0)−yv⋅xv.(2)\begin{aligned} \mathcal{L}(x_v,y_v)&=\max(x_v,0)-y_vx_v+\log(1+e^{-|x_v|})\\ &=\mathcal{L}(x_v,0)-y_v\cdot x_v. \tag*{(2)} \end{aligned}

where L(xv,0)=max⁡(xv,0)+log⁡(1+e−∣xv∣)\mathcal{L}(x_v,0)=\max(x_v,0)+\log(1+e^{-|x_v|}) is the dense background loss, and yv⋅xvy_v\cdot x_v is the sparse target correction (active only for positive targets yv=1y_v=1). The total loss over the whole item vocabulary is defined as follows:

Ltotal=1V∑v=1V[max⁡(xv,0)+log⁡(1+e−∣xv∣)−yv⋅xv].(3)\mathcal{L}_{\mathrm{total}}=\frac{1}{V}\sum_{v=1}^{V}\left[\max(x_v,0)+\log(1+e^{-|x_v|})-y_v\cdot x_v\right]. \tag*{(3)}

Vocabulary Chunking Algorithm: Rather than computing X∈RB×N×V\mathbf{X} \in\mathbb{R}^{B \times N \times V} globally, CutBCE tiles the vocabulary into blocks of size BVB_V (block_v, e.g., BV=4096B_V=4096). For each block j∈{0,…,⌈V/BV⌉−1}j \in\{0,\ldots,\lceil V/B_V\rceil-1\}: (1) slice Ej∈RBV×D\mathbf{E}_j \in\mathbb{R}^{B_V \times D}; (2) compute chunked logits Xj=AEjT∈RB×N×BV\mathbf{X}_j=\mathbf{A}\mathbf{E}_j^T \in\mathbb{R}^{B \times N \times B_V}; (3) accumulate the block’s loss into a running sum; and (4) discard XjX_j immediately. This reduces peak intermediate activation memory from O(BNV)O(BNV) to O(BNBV)O(BNB_V), achieving significant memory reductions.

Gradient Formulation and Custom VJP Rematerialization

The analytical gradient of the BCE loss with respect to logit xvx_v is ∂L∂xv=1V(σ(xv)−yv)\frac{\partial\mathcal{L}}{\partial x_v}=\frac{1}{V}(\sigma(x_v)-y_v). Let Y\mathbf{Y} denote the multi-hot target tensor. The gradients for activations A\mathbf{A} and embeddings E\mathbf{E} are given as follows:

∇AL=1V(σ(X)−Y)E,∇EL=1V(σ(X)−Y)TA.(4)\nabla_{\mathbf{A}}\mathcal{L}=\frac{1}{V}(\sigma(\mathbf{X})-\mathbf{Y})\mathbf{E},\qquad\nabla_{\mathbf{E}}\mathcal{L}=\frac{1}{V}(\sigma(\mathbf{X})-\mathbf{Y})^{T}\mathbf{A}. \tag*{(4)}

where A\mathbf{A}, X\mathbf{X}, and Y\mathbf{Y} are viewed as 2D matrices with BB and NN flattened into BNBN rows. Averaging the loss over the BNBN positions adds a factor of 1/(BN)1/(BN) to both; in practice, padding positions are excluded from this average.

Breaking Memory Overlap via Custom VJP: In standard autodiff, the forward pass records intermediate activations onto a reverse tape, keeping the full [B,N,V][B,N,V] logits resident in HBM across forward and backward passes. CutBCE defines a custom Vector-Jacobian Product (custom_vjp). In the forward pass, only A\mathbf{A}, E\mathbf{E}, and sparse [B,N,L][B,N,L] target IDs (L≪VL \ll V) are retained; no multi-hot target tensor is materialized. During backward pass, the custom kernel recomputes logits XjX_j chunk-by-chunk on the fly and accumulates gradients directly. As shown in Table I, no [B,N,V][B,N,V] buffer is materialized in HBM, drastically lowering global peak memory.

Memory FootprintStandard BCECutBCE
Logits[B,N,V][B,N,V][BN,BV][BN,B_V] on-chip tile
Logit Gradient[B,N,V][B,N,V][BN,BV][BN,B_V] on-chip tile
ComplexityO(BNV)O(BNV)O(BNBV)O(BNB_V)

Table I. Logit Memory Comparison.

Hybrid Architecture and Pallas TPU Backward Kernel

We engineer a Hybrid JAX/XLA Forward + Pallas TPU Backward architecture. The backward pass executes via a dedicated Pallas TPU kernel (_bce_bwd_kernel):

  • Local VMEM Scratchpad Accumulation: Embedding gradients ∇EjL\nabla_{\mathbf{E}_j}\mathcal{L} are accumulated in TPU VMEM across inner kernel tiles (BN=128B_N=128, matching the TPU vector lane width) before a single contiguous DMA write back to HBM, drastically reducing memory bus traffic.

  • Dynamic VMEM Budgeting & Sequence Chunking: CutBCE dynamically queries physical VMEM capacity via TPU device info. When the total sequence dimension BNBN exceeds safe scratchpad limits, the chunking dispatcher (_bce_bwd_pallas_chunked_n) partitions BNBN into outer sequence chunks processed sequentially in HBM.

  • Sharding-Aware Collective Hoisting: For distributed meshes (Data, FSDP, or Vocab Parallelism), dispatcher _bce_bwd_sharded leverages jax.shard_map to hoist weight replication constraints outside the loop, manage per-shard vocab_offset, and perform collective psum reductions across mesh axes.

CutBCE drop-in usage in JAX/Keras 3

Figure 1. CutBCE drop-in usage in JAX/Keras 3.

from recml.core.ops import binary_cross_entropy_ops

# activations: [B,N,D], embeddings: [V,D], targets: [B,N,L]
loss = binary_cross_entropy_ops.cut_binary_cross_entropy(
    activations=activations, embeddings=embeddings,
    targets=targets, weights=weights, block_v=4096,
    mesh=mesh, act_spec=act_spec, emb_spec=emb_spec)

Zero-Overhead Cut Metrics for Training

Standard count-based metrics reconstruct the full [B,N,V][B,N,V] logits during training, defeating memory savings. CutBCE introduces Cut Metrics: during the forward pass, it computes TP, FP, FN, and TN counts of shape [B,N][B,N] without materializing [B,N,V][B,N,V] logits. Standard classification metrics (such as binary accuracy, precision, recall, and FβF_{\beta}) can then be calculated directly from these aggregated counts with zero auxiliary HBM overhead.

Training vs. Evaluation Metrics: Cut Metrics are designed exclusively for monitoring classification metrics during the training phase without logit reconstruction. In contrast, ranking-based evaluation metrics (e.g., our multi-label Hit@8, Section III-E) are evaluated during separate evaluation/test phases over full logits, completely decoupled from Cut Metrics.

Multi-Label SASRec-BCE Application Pipeline

We implement a causal, non-autoregressive multi-label sequential recommendation pipeline based on SASRec [3] with a GPT-2 transformer backbone.

Task Formulation: The model predicts the next L=8L=8 items simultaneously. Input and target item IDs lie in ZB×N\mathbb{Z}^{B\times N} and ZB×N×L\mathbb{Z}^{B\times N\times L}, respectively. For a user sequence of length nn: (1) the test set uses the first n−8n-8 items as input and the last 8 items as targets; (2) the dev set uses the first n−17n-17 items as input and the following 8 items as targets; and (3) the training set uses the first n−26n-26 items as input, where every non-padding position is trained via CutBCE to predict its next 8 items. In all splits, the input is truncated to at most the most NN recent items and padded to length NN. At evaluation, the hidden state at each user’s last non-padding position is projected to full-vocabulary logits (RV\mathbb{R}^{V}, no negative sampling), and we report multi-label Hit@8: a user counts as a hit if at least one of the 8 held-out next items appears among the top-8 ranked items.

Experimental Evaluation

Hardware Setup: Experiments are run on Google Cloud TPU v6e (Trillium, 32 GiB HBM) and TPU v5e (16 GiB HBM) with JAX and Keras 3.

Mini-Benchmark Experiments

We benchmark isolated loss + gradient step time on a single TPU chip (TPU v6e/v5e) across 500 steady-state iterations after JIT compilation. Here, “isolated loss + gradient” measures the loss and backward gradient computation in isolation without transformer backbone or optimizer overhead. Input tensors are generated synthetically: A∼N(0,I)\mathbf{A}\sim\mathcal{N}(0,I) of shape [B,N,D][B,N,D], E∼N(0,I)\mathbf{E}\sim\mathcal{N}(0,I) of shape [V,D][V,D], and target labels sampled uniformly from [0,V)[0,V) of shape [B,N,L][B,N,L], with hidden dimension D=128D = 128 and L=8L = 8 positive labels per position.

Numerical Equivalence: At B=N=32B = N = 32 and V=100kV = 100\mathrm{k}, CutBCE matches standard Keras BCE on both TPU v5e and v6e within 1.1×10−71.1 \times10^{-7} relative loss error and 7.1×10−57.1 \times10^{-5} relative ℓ2\ell_2 error in ∇AL\nabla A_L and ∇EL\nabla E_L, i.e., negligible numerical differences. Our open-source unit tests further check CutBCE against Keras across unaligned NN and VV, padded and duplicate target IDs, and Pallas and pure-JAX backends.

As shown in Table II: (1) OOM Elimination: At B=128B = 128, N=128N = 128, V=100kV = 100\mathrm{k}, standard Keras BCE crashes with OOM, while CutBCE executes smoothly in 6.93 ms (TPU v6e) and 12.79 ms (TPU v5e). (2) Speedups: At B=32B = 32, N=32N = 32, CutBCE delivers 53.8%–91.9% speedups on TPU v6e and 69.4%–83.3% on TPU v5e. (3) Vocabulary Scaling: Speedup improves as vocabulary grows due to high VMEM cache locality and reduced HBM bandwidth roundtrips.

Batch ×\times SeqLenVocab (VV)Keras (ms)CutBCE (ms)Speedup
Google Cloud TPU v6e (Trillium, 32 GiB HBM, Single Chip)
128 ×\times 128100,000OOM6.93–
32 ×\times 32100,0001.430.93+53.8%
32 ×\times 32200,0002.861.49+91.9%
Google Cloud TPU v5e (16 GiB HBM, Single Chip)
128 ×\times 128100,000OOM12.79–
32 ×\times 32100,0002.491.47+69.4%
32 ×\times 32200,0004.622.52+83.3%

Table II. Mini-Benchmark: Standard Keras BCE vs. CutBCE on a Single TPU v6e/v5e (D=128D = 128, L=8L = 8). Step times averaged over 500 iterations.

Multi-Label SASRec Experiments on Yambda Dataset

We evaluate end-to-end training on Yambda-50M [1], filtering out users with ≤30\le30 interactions (retaining 9,074 users, 46.46M interactions, average sequence length 5,120.56, 876,938 unique items). The model uses a 3-layer GPT-2 backbone (4 attention heads, hidden dim D=256D = 256) and is trained for 300,000 steps with AdamW (lr =5e−4= 5\mathrm{e}{-4}, 5,000 warm-up steps).

Distributed Setup: Training is conducted on an 8-chip TPU v6e slice (2 ×\times 4 topology) using Data Parallelism (keras.distribution.DataParallel), where each chip receives 1/8 of the global batch (local batch Blocal=8B_{\mathrm{local}} = 8 for global B=64B = 64, and Blocal=16B_{\mathrm{local}} = 16 for global B=128B = 128). Validation (dev) and test evaluation pipelines run concurrently on dedicated, physically independent TPU slices. Training, dev, and test execution never share or contend for TPU hardware.

As shown in Table III. (1) 65.7% Training HBM Reduction: At global B=64B = 64, N=256N = 256, SASRec-BCE consumes 22.37 GiB HBM per chip, whereas SASRec-CutBCE requires only 7.67 GiB HBM (saving 14.70 GiB). (2) 225.9% Speedup: Training speed increases from 6.14 to 20.01 steps/second. (3) Larger Batch and Seq Length: At global B=128B = 128 or N=512N = 512, standard BCE crashes with OOM, while CutBCE runs stably at 7.89–8.94 GiB HBM. (4) Meet Accuracy Target: CutBCE achieves 0.183 Hit@8 vs 0.186 for standard BCE.

Conclusion and Open Source

We presented CutBCE, an exact, memory-efficient BCE operator for large-vocabulary sequential recommendation featuring fused direct BCE formulation, custom VJP rematerialization with Pallas TPU backward kernels, sharding-aware collective hoisting, and count-based metrics. It achieves up to 225.9% training speedups, 65.7% HBM reduction, and unlocks large-batch, long-sequence training on 876k-item catalogs. CutBCE is open-sourced as a modular JAX operator in RecML at https://github.com/AI-Hypercomputer/RecML/blob/main/recml/core/ops/binary_cross_entropy_ops.py. It serves as a drop-in replacement for Keras and JAX models, handling tile sizes, sharding, and Pallas kernel dispatch automatically. LLMs assisted in improving the writing of this manuscript.

Acknowledgment

We thank Google colleagues Zixiang Zhou, Aahil Mehta, Yaohui Guo, Xiang Zhai, Wen Tang, and Eugene Ie for their technical advice and helpful discussions. We also thank the anonymous reviewers for their constructive feedback.

References

  1. [1]A. Ploshkin, V. Tytskiy, A. Pismenny, V. Baikalov, E. Tychaynov, A. Permiakov, D. Burlakov, E. Krofto, and N. Savushkin, “Yambda-5B – A large-scale multi-modal dataset for ranking and retrieval,” arXiv:2505.22238, 2025.arxiv.org/abs/2505.22238
  2. [2]Y. Li, X. Zhai, M. Alzantot, K. Yu, I. Vulić, A. Korhonen, and M. Hammad, “CALRec: Contrastive alignment of generative LLMs for sequential recommendation,” in Proc. RecSys ’24, 2024, pp. 422–432.DOI
  3. [3]W.-C. Kang and J. McAuley, “Self-attentive sequential recommendation,” in Proc. IEEE ICDM, 2018, pp. 197–206.
  4. [4]F. Sun, J. Liu, W. Wu, C. Pei, X. Lin, W. Ou, and P. Jiang, “BERT4Rec: Sequential recommendation with bidirectional encoder representations from transformer,” in Proc. ACM CIKM ’19, 2019, pp. 1441–1450.arxiv.org/abs/1904.06690
  5. [5]E. Wijmans, B. Huval, A. Hertzberg, V. Koltun, and P. Kraehenbuehl, “Cut your losses in large-vocabulary language models,” in Proc. ICLR ’25, 2025.arxiv.org/abs/2411.09009
  6. [6]OpenXLA Contributors, “Tokamax: A GPU and TPU kernel library,” 2024. [Online]. Available: https://github.com/openxla/tokamax
  7. [7]F. Chollet et al., “Keras,” 2015. [Online]. Available: https://keras.io
  8. [8]J. Bradbury et al., “JAX: Composable transformations of Python+NumPy programs,” 2018. [Online]. Available: http://github.com/jax-ml/jax
  9. [9]Google and JAX Contributors, Pallas: A JAX kernel Language, 2024. [Online]. Available: https://docs.jax.dev/en/latest/pallas/index.html
  10. [10]P.-L. Hsu, Y. Dai, V. Kothapalli, Q. Song, S. Tang, S. Zhu, S. Shimizu, S. Sahni, H. Ning, and Y. Chen, “Liger kernel: Efficient triton kernels for LLM training,” arXiv:2410.10989, 2025.arxiv.org/abs/2410.10989
  11. [11]Q. Liu, J. Zhu, J. Wu, and T. Wu, “FANS: Fast non-autoregressive sequence generation for item list continuation,” in Proc. ACM Web Conf. (WWW), 2023, pp. 3309–3318.
  12. [12]L. Huang et al., “SessionRec: Next session prediction paradigm for generative sequential recommendation,” arXiv:2502.10157, 2025.arxiv.org/abs/2502.10157

Paper details

vlnc:W_bk3z8cvz
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents