Lune

ICDE2026Top-tier venue

DistVec: Efficient Distributed Machine Learning in Parallel Database Systems

Xinyi Zhang, Liangzu Liu, Xupeng Miao, Yinjun Wu, Zhen Chen, Wei Lu, Xiaoyong Du, Bin Cui

Abstract

Embedding vectors are widely used in various database-related domains. However, efficiently training largescale embeddings directly on DB-resident data remains a challenge, despite the ongoing efforts on supporting machine learning algorithms in database management systems, known as in-DBMS ML. Although current UDAF-based (User-Defined Aggregate Function) approach can support distributed training across parallel DBMS nodes, it enforces strict consistency during model synchronization, leading to high synchronization overhead. Additionally, the incompatibility between DBMS storage architectures and ML workloads further complicates efficient integration. To address these challenges, we propose DistVec, an inDBMS ML framework for efficient distributed training. DistVec introduces multi-query training primitives, that map distributed ML training tasks into concurrent database queries, allowing bounded staleness in model parameters to reduce synchronization costs. Besides, DistVec features an ML-customized model processing pipeline in database, including model materialization, buffer pool eviction, and hotness-aware caching, which minimize disk I/O and remote communication for the ML training workload. Experiments on the Greenplum database show that DistVec achieves an average speedup of 4.53× over UDAF-based training approaches while preserving the model quality.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

its abstract · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. DB4ML - An In-Memory Database Kernel with Machine Learning SupportMatthias Jasny, Tobias Ziegler, Tim Kraska, Uwe Röhm et al.SIGMOD 2020 · 27 citations
  2. Accelerating Neural Recommendation Training with Embedding SchedulingChaoliang Zeng, Xudong Liao, Xiaodian Cheng, Han Tian et al.NSDI 2024 · 16 citations
  3. HET-KG: Communication-Efficient Knowledge Graph Embedding Training via Hotness-Aware CacheSicong Dong, Xupeng Miao, Pengkai Liu, Xin Wang et al.ICDE 2022 · 13 citations
  4. HypeReca: Distributed Heterogeneous In-Memory Embedding Database for Training Recommender ModelsJiaao He, Shengqi Chen, Kezhao Huang, Jidong ZhaiUSENIX ATC 2025 · 2 citations
  5. Detect, Distill and Update: Learned DB Systems Facing Out of Distribution DataMeghdad Kurmanji, Peter TriantafillouSIGMOD 2023 · 19 citations
Dusk over the sea between two cliffs drawn in fine vertical lines