Product Information

EMBark for Large-Scale DLRM Embedding Training NEWS DETAIL

Current Position:Home > News and Insights
Category: News and Insights Author: Zhongke Xinyuan Content Reviewer: Zhongke Xinyuan Review Published: 2025-01-13 Updated: 2026-07-22 Source: Existing page; verify sources
EMBark for Large-Scale DLRM Embedding Training

EMBark is an open-source approach for improving embedding training in large deep learning recommendation model (DLRM) clusters. Presented by the NVIDIA HugeCTR team at RecSys 2024, it targets a practical scaling problem: as more GPUs and nodes are added, embedding communication and uneven work distribution can become a major part of total training time. EMBark combines embedding clusters, flexible 3D sharding, and a cost-based sharding planner to help evaluate more suitable placement and communication strategies for a given embedding workload.

The large-scale embedding training problem

Recommendation systems commonly use DLRMs containing billions or tens of billions of ID features. GPU-based frameworks such as NVIDIA Merlin HugeCTR and TorchRec can store and process large ID-feature embeddings on GPUs in parallel, using GPU memory bandwidth to accelerate training relative to CPU-oriented approaches.

However, adding GPUs does not remove every bottleneck. The source describes embedding communication becoming a substantial portion of overall training cost when clusters scale from 8 to 128 GPUs. In one cited 16-node scenario, embedding communication accounted for more than half of total training overhead. Two conditions contribute to this result:

  • As GPU count rises, fewer embedding tables may reside on each node, which can create cross-node load imbalance.
  • Inter-node bandwidth is lower than intra-node bandwidth, so model-parallel embedding communication may take longer across nodes.

The decision is therefore not only whether to add accelerators, but also how to partition embedding tables, rows, and columns while accounting for the communication behavior of each table.

EMBark capabilities

EMBark is implemented with the open-source NVIDIA Merlin HugeCTR recommendation framework. The source states that its techniques can also apply to other machine learning frameworks, but implementation details, compatibility, and operational results outside HugeCTR should be verified in the relevant project documentation and test environment.

Its architecture has three stated components:

  • Embedding clusters: embeddings with similar characteristics are grouped so that each group can use a tailored communication-compression method.
  • Flexible 3D sharding: an embedding shard is represented by the tuple (i, j, k), where i is the table index, j is the row-shard index, and k is the column-shard index.
  • Sharding planner: a cost-based greedy search algorithm selects a sharding strategy using hardware specifications and embedding configuration.

Choosing an embedding-cluster strategy

EMBark defines three cluster types with different communication behavior and intended use cases.

Cluster typeSource-described behaviorSuitable condition
Data parallel (DP)Does not compress communication and replicates embedding tables on every GPU.Small embedding tables.
Reduction-based (RB)Uses reduction operations.Multi-hot input tables where pooling operations can compress data.
Unique-based (UB)Sends only unique vectors.Embedding tables with clear access hotspots.

These strategies involve tradeoffs. DP simplifies communication but requires replicated tables and is therefore limited to small tables. RB is intended to address pooling-related compression opportunities, while UB depends on access patterns with meaningful repetition. A production design should profile table size, feature cardinality, multi-hot behavior, access skew, and communication topology before assigning clusters.

Evaluation path for a training project

  1. Inventory embedding tables and classify their sizes, input structure, pooling behavior, and access-hotspot characteristics.
  2. Document the cluster topology, including GPU count per node and the available intra-node and inter-node connectivity.
  3. Generate and review a sharding plan using the hardware and embedding configuration relevant to the project.
  4. Run representative training tests and separate embedding computation, intra-node communication, and inter-node communication in the analysis.
  5. Compare throughput, balance across GPUs, memory use, and convergence behavior against the selected baseline before changing the production training layout.

The source describes an evaluation environment based on NVIDIA DGX H100 nodes, each with eight NVIDIA H100 GPUs, 640 GB HBM total, 24 TB/s bandwidth per node, NVLink at 900 GB/s bidirectional within a node, and InfiniBand at 8x400Gbps between nodes. Those details describe the reported test environment, not a universal deployment requirement or a performance guarantee for another cluster.

FAQ

Is EMBark limited to NVIDIA Merlin HugeCTR?

EMBark is implemented with NVIDIA Merlin HugeCTR. The source says its techniques can apply to other machine learning frameworks, but does not establish a supported integration path for every framework. Verify framework compatibility, APIs, and required modifications in dated official documentation and the project code before adoption.

Does 3D sharding automatically improve every recommendation workload?

No universal outcome is established in the source. Flexible 3D sharding is designed to address workload imbalance in RB clusters by allowing an embedding to be sharded across an arbitrary number of GPUs. The value for a specific workload depends on its tables, access patterns, batch behavior, topology, and selected communication strategy, so it should be confirmed through project testing.

Conclusion

EMBark provides a structured way to examine embedding communication and placement in large DLRM training: classify embeddings, select an appropriate cluster method, apply flexible 3D sharding where needed, and evaluate a cost-based plan against the real hardware topology. Its open-source code and paper are identified by the source, while deployment suitability and performance must be validated against the complete workload and cluster configuration.

After reviewing EMBark for Large-Scale DLRM Embedding Training, continue with buyer selection questions for related evaluation paths.