arXiv:2504.01506cs.LG2025-04被引 1

MLKV通过磁盘键值存储提升大模型嵌入训练效率,解决数据阻塞与过时问题。

MLKV: Efficiently Scaling up Large Embedding Model Training with Disk-based Key-Value Storage

  • 基于磁盘的键值存储,统一优化嵌入模型训练数据访问
  • 在多个场景下性能优于现有方案1.6至12.6倍
  • 开源可复用,适合大规模嵌入模型训练任务

许多现代机器学习方法依赖嵌入模型为一组实体(嵌入表)学习向量表示。随着多样化应用使用嵌入模型,嵌入表规模和数量持续增长,催生了大量针对特定任务的专用训练框架。尽管不同任务的可扩展性问题相似,各框架仍独立重构存储组件,造成大量重复开发与部署成本。本文提出MLKV,一种高效、可扩展、可复用的数据存储框架,专为解决嵌入模型训练中的数据阻塞与过时问题。MLKV通过民主化以往仅限于个别专用框架的优化技术,并提供面向嵌入模型训练任务的易用接口。在开源工作负载及eBay支付交易风险检测、卖家付款风险检测等实际应用中,实验表明其性能比基于工业级键值存储的卸载策略高出1.6–12.6倍。MLKV已开源:https://github.com/llm-db/MLKV。

原文摘要 · Abstract (English)

Many modern machine learning (ML) methods rely on embedding models to learn vector representations (embeddings) for a set of entities (embedding tables). As increasingly diverse ML applications utilize embedding models and embedding tables continue to grow in size and number, there has been a surge in the ad-hoc development of specialized frameworks targeted to train large embedding models for specific tasks. Although the scalability issues that arise in different embedding model training tasks are similar, each of these frameworks independently reinvents and customizes storage components for specific tasks, leading to substantial duplicated engineering efforts in both development and deployment. This paper presents MLKV, an efficient, extensible, and reusable data storage framework designed to address the scalability challenges in embedding model training, specifically data stall and staleness. MLKV augments disk-based key-value storage by democratizing optimizations that were previously exclusive to individual specialized frameworks and provides easy-to-use interfaces for embedding model training tasks. Extensive experiments on open-source workloads, as well as applications in eBay's payment transaction risk detection and seller payment risk detection, show that MLKV outperforms offloading strategies built on top of industrial-strength key-value stores by 1.6-12.6x. MLKV is open-source at https://github.com/llm-db/MLKV.

嵌入模型存储优化大规模训练开源框架

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。