paper-with-me

Papers

Enhancing Performance and Scalability of Large-Scale Recommendation Systems with Jagged Flash Attention

2024-09-19 · Rengan Xu, Junjie Yang, Yifan Xu, Hong Li, Xing Liu, Devashish Shankar, Haoci Zhang, Meng Liu, Boyang Li, Yuxi Hu, Mingwei Tang, Zehua Zhang, Tunhou Zhang, Dai Li, Sijia Chen, Gian-Paolo Musumeci, Jiaqi Zhai, Bill Zhu, Hong Yan, Srihari Reddy

The integration of hardware accelerators has significantly advanced the capabilities of modern recommendation systems, enabling the exploration of complex ranking paradigms previously deemed impractical. However, the GPU-based computational costs present substantial challenges. In this paper, we demonstrate our development of an efficiency-driven approach to explore these paradigms, moving beyond traditional reliance on native PyTorch modules. We address the specific challenges posed by ranking models' dependence on categorical features, which vary in length and complicate GPU utilization. We introduce Jagged Feature Interaction Kernels, a novel method designed to extract fine-grained insights from long categorical features through efficient handling of dynamically sized tensors. We further enhance the performance of attention mechanisms by integrating Jagged tensors with Flash Attention. Our novel Jagged Flash Attention achieves up to 9x speedup and 22x memory reduction compared to dense attention. Notably, it also outperforms dense flash attention, with up to 3x speedup and 53% more memory efficiency. In production models, we observe 10% QPS improvement and 18% memory savings, enabling us to scale our recommendation systems with longer features and more complex architectures.

📄 PDF Abstract BibTeX arXiv:2409.15373

Code (0)

등록된 구현이 없습니다.

Tasks

GPURecommendation Systems

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

Optimization and Scalability of Collaborative Filtering Algorithms in Large Language Models

2024-12-25 · Haowei Yang, Longfei Yun, Jinghan Cao, Qingyi Lu 외

With the rapid development of large language models (LLMs) and the growing demand for personalized content, recommendation systems have become critical in enhancing user experience and driving engagement. Collaborative f…

Collaborative FilteringComputational EfficiencyModel CompressionRecommendation Systems

LLMInit: A Free Lunch from Large Language Models for Selective Initialization of Recommendation

2025-03-03 · Weizhi Zhang, Liangwei Yang, Wooseong Yang, Henry Peng Zou 외

Collaborative filtering models, particularly graph-based approaches, have demonstrated strong performance in capturing user-item interactions for recommendation systems. However, they continue to struggle in cold-start a…

Collaborative FilteringRecommendation Systems

HLLM: Enhancing Sequential Recommendations via Hierarchical Large Language Models for Item and User Modeling

2024-09-19 · Junyi Chen, Lu Chi, Bingyue Peng, Zehuan Yuan

Large Language Models (LLMs) have achieved remarkable success in various fields, prompting several studies to explore their potential in recommendation systems. However, these attempts have so far resulted in only modest…

Large Language ModelRecommendation SystemsSequential RecommendationWorld Knowledge

Mamba for Scalable and Efficient Personalized Recommendations

2024-09-11 · Andrew Starnes, Clayton Webster

In this effort, we propose using the Mamba for handling tabular data in personalized recommendation systems. We present the \textit{FT-Mamba} (Feature Tokenizer\,$+$\,Mamba), a novel hybrid model that replaces Transforme…

Computational EfficiencyMambaMusic RecommendationRecommendation Systems+1

LLM-I2I: Boost Your Small Item2Item Recommendation Model with Large Language Model

2025-12-25 · Yinfu Feng, Yanjing Wu, Rong Xiao, Xiaoyi Zen arxiv

Item-to-Item (I2I) recommendation models are widely used in real-world systems due to their scalability, real-time capabilities, and high recommendation quality. Research to enhance I2I performance focuses on two directi…

Recommendation Systems