Papers › Mixed Dimension Embeddings with Application to Memory-Efficient Recommendation Systems

Mixed Dimension Embeddings with Application to Memory-Efficient Recommendation Systems

25 Sep 2019arXiv:1909.11810archive 2025-07-28

Antonio Ginart, Maxim Naumov, Dheevatsa Mudigere, Jiyan Yang, James Zou

Embedding representations power machine intelligence in many applications, including recommendation systems, but they are space intensive -- potentially occupying hundreds of gigabytes in large-scale settings. To help manage this outsized memory consumption, we explore mixed dimension embeddings, an embedding layer architecture in which a particular embedding vector's dimension scales with its query frequency. Through theoretical analysis and systematic experiments, we demonstrate that using mixed dimensions can drastically reduce the memory usage, while maintaining and even improving the ML performance. Empirically, we show that the proposed mixed dimension layers improve accuracy by 0.1% using half as many parameters or maintain it using 16X fewer parameters for click-through rate prediction task on the Criteo Kaggle dataset.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1909.11810")

Code

Syntology Ran 2 of 26 code samples harvested from 4 repositories linked to this paper; 24 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · our draft was wrong.

By repository: official repository: 13 samples from 1 repository, 0 ran; community (archive-listed): 13 samples from 3 repositories, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

facebookresearch/dlrm officialmentioned in papermentioned on GitHubpytorchMIT report
JShubhM15/recommender_systems mentioned on GitHubpytorchMIT report
myungkeun-cho/taobao_dlrm mentioned on GitHubpytorch report
nikithamalgifb/dlrm mentioned on GitHubpytorch report
samiwilf/dlrm_from_shz0116 mentioned on GitHubpytorchMIT report
soycoder/dlrm-fb mentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

26 samples harvested; 2 ran; 1 honoured the contract we drafted; 24 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · our draft was wrong
24unverified

Licence: 26 of the 26 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 4 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

collate_wrapper_criteo facebookresearch/dlrm/dlrm_data_caffe2.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 283f3ba4a908ce84 · report
collate_wrapper_criteo_length facebookresearch/dlrm/dlrm_data_pytorch.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · a09d6b455a2c4a47 · report
collate_wrapper_criteo_offset facebookresearch/dlrm/dlrm_data_pytorch.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 8308da72d2675175 · report
concatCriteoAdData facebookresearch/dlrm/data_utils.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · c1637c05b55a3b1f · report
convertUStringToDistinctIntsDict facebookresearch/dlrm/data_utils.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 0035cd64b0d2bc24 · report
convertUStringToDistinctIntsUnique facebookresearch/dlrm/data_utils.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 892c2beb0c55d9bd · report
env2int facebookresearch/dlrm/extend_distributed.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 79aced565146dde0 · report
get_my_slice facebookresearch/dlrm/extend_distributed.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 4f418abdfe835117 · report
get_split_lengths facebookresearch/dlrm/extend_distributed.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 9b49f14a64e85b94 · report
offset_to_length_converter facebookresearch/dlrm/dlrm_data_pytorch.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 3c72bf5adfd7003e · report
offset_to_length_convertor facebookresearch/dlrm/dlrm_data_caffe2.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · d85ff8802ff97151 · report
parse_args facebookresearch/dlrm/torchrec_dlrm/dlrm_main.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · bc76972abcd25ad9 · report
unpack_batch facebookresearch/dlrm/dlrm_data_caffe2.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 599f18ad1d67a083 · report
calculate_metrics samiwilf/dlrm_from_shz0116/dlrm_s_caffe2.py community (archive-listed) ran · our draft was wrong MIT recorded; this copy not marked cleared · pointer only · 332764c725473589 · report
time_wrap soycoder/dlrm-fb/dlrm_s_pytorch.py community (archive-listed) ran · honoured contract fingerprinted MIT recorded; this copy not marked cleared · pointer only · 0b825b705dac66c0 · report
alpha_power_rule JShubhM15/recommender_systems/tricks/md_embedding_bag.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · fd113bb4fcc68aa4 · report
collate_wrapper_random JShubhM15/recommender_systems/dlrm_data_pytorch.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · f2e2bab9a2fd0232 · report
dlrm_wrap soycoder/dlrm-fb/dlrm_s_pytorch.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · afee36a6506b0fa7 · report
generate_random_data JShubhM15/recommender_systems/dlrm_data_caffe2.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · 1097ff7819bbee7c · report
generate_random_data samiwilf/dlrm_from_shz0116/dlrm_data.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · 9da41185c4785d9a · report
generate_random_output_batch JShubhM15/recommender_systems/dlrm_data_caffe2.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · cbb88ac844c2df5f · report
loss_fn_wrap soycoder/dlrm-fb/dlrm_s_pytorch.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · 0e5d7c0e5fed2a07 · report
make_random_data_and_loader samiwilf/dlrm_from_shz0116/dlrm_data.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · 69f5fa52cad838f2 · report
md_solver JShubhM15/recommender_systems/tricks/md_embedding_bag.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · 4f4be21cdbb66f71 · report
md_solver soycoder/dlrm-fb/tricks/md_embedding_bag.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · 2040f298de85ebb4 · report
pow_2_round JShubhM15/recommender_systems/tricks/md_embedding_bag.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · 80622eb9563659f7 · report

Tasks

Click-Through Rate PredictionCollaborative FilteringRecommendation Systems

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections