{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2605-23618","title":"Benchmarking Google Embeddings 2 against Open-Source Models for Multilingual Dense Retrieval and RAG Systems","arxiv_id":"2605.23618","date":"2026-05-22","proceeding":null,"authors":["Stefano Cirillo","Domenico Desiato","Giuseppe Polese","Giandomenico Solimando"],"abstract":"We benchmark Google Embeddings (GE2), a Vertex-AI-hosted bi-encoder with 2,048-token context and explicit task-type conditioning, against five open-source alternatives: BGE-M3, E5-large, Multilingual-E5-large (mE5-L), LaBSE, and Paraphrase-Multilingual-MPNet (mMPNet). Evaluation covers four BEIR subsets, a synthetic Italian RAG corpus, a chunking ablation considering 5 sizes of tokens with three strategies, and per-query latency on commodity CPU hardware. GE2 ranks first on every task, achieving BEIR avg.nDCG@10 = 0.638 and IT-RAG-Bench nDCG@10 = 0.282, but at 231.6 ms median latency, it is roughly 14x slower than the fastest local models. mE5-L reaches within 0.003 nDCG of GE2 on Italian at 31 ms, making it the preferred option when sub-100 ms SLAs matter. A more striking finding concerns LaBSE, which, despite widespread multilingual deployment scores 0.188 average nDCG@10 on BEIR, below every dedicated retrieval model including mMPNet. Chunking experiments show that all six models saturate at 32-token chunks on our corpus, with semantic chunking providing measurable gains only at 16 tokens.","url_abs":"https://arxiv.org/abs/2605.23618","url_pdf":"https://arxiv.org/pdf/2605.23618","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2605.23618","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2605.23618"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/cciro94/GoogleEmbeddings2-benchmark","reach":null}],"summary":{"ran":10,"unverified":7},"by_repo_kind":{"found_in_text":{"samples":17,"ran":10,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":17,"samples":[{"code_sha256_prefix":"d3c5408bc73165e8","entry":"dcg_at_k","repo":"cciro94/GoogleEmbeddings2-benchmark","repo_kind":"found_in_text","path":"src/metrics.py","file_url":"https://github.com/cciro94/GoogleEmbeddings2-benchmark/blob/HEAD/src/metrics.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d3c5408bc73165e8"}},{"code_sha256_prefix":"34ee2fe859099c14","entry":"df_to_latex","repo":"cciro94/GoogleEmbeddings2-benchmark","repo_kind":"found_in_text","path":"src/utils.py","file_url":"https://github.com/cciro94/GoogleEmbeddings2-benchmark/blob/HEAD/src/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"34ee2fe859099c14"}},{"code_sha256_prefix":"7038160e8a2b1ead","entry":"fixed_chunks","repo":"cciro94/GoogleEmbeddings2-benchmark","repo_kind":"found_in_text","path":"src/chunking.py","file_url":"https://github.com/cciro94/GoogleEmbeddings2-benchmark/blob/HEAD/src/chunking.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7038160e8a2b1ead"}},{"code_sha256_prefix":"80f1c305140e647d","entry":"load_beir_dataset","repo":"cciro94/GoogleEmbeddings2-benchmark","repo_kind":"found_in_text","path":"src/data_loaders.py","file_url":"https://github.com/cciro94/GoogleEmbeddings2-benchmark/blob/HEAD/src/data_loaders.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"80f1c305140e647d"}},{"code_sha256_prefix":"dad30b83ee00b146","entry":"load_config","repo":"cciro94/GoogleEmbeddings2-benchmark","repo_kind":"found_in_text","path":"src/utils.py","file_url":"https://github.com/cciro94/GoogleEmbeddings2-benchmark/blob/HEAD/src/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"dad30b83ee00b146"}},{"code_sha256_prefix":"400f9ecaf9048276","entry":"recall_at_k","repo":"cciro94/GoogleEmbeddings2-benchmark","repo_kind":"found_in_text","path":"src/metrics.py","file_url":"https://github.com/cciro94/GoogleEmbeddings2-benchmark/blob/HEAD/src/metrics.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"400f9ecaf9048276"}},{"code_sha256_prefix":"d6116b604bbb48a8","entry":"reciprocal_rank","repo":"cciro94/GoogleEmbeddings2-benchmark","repo_kind":"found_in_text","path":"src/metrics.py","file_url":"https://github.com/cciro94/GoogleEmbeddings2-benchmark/blob/HEAD/src/metrics.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d6116b604bbb48a8"}},{"code_sha256_prefix":"44dc9e84dce03d01","entry":"save_results_csv","repo":"cciro94/GoogleEmbeddings2-benchmark","repo_kind":"found_in_text","path":"src/utils.py","file_url":"https://github.com/cciro94/GoogleEmbeddings2-benchmark/blob/HEAD/src/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"44dc9e84dce03d01"}},{"code_sha256_prefix":"39f073cff77bc4be","entry":"semantic_chunks","repo":"cciro94/GoogleEmbeddings2-benchmark","repo_kind":"found_in_text","path":"src/chunking.py","file_url":"https://github.com/cciro94/GoogleEmbeddings2-benchmark/blob/HEAD/src/chunking.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"39f073cff77bc4be"}},{"code_sha256_prefix":"c8adab3821723998","entry":"sliding_window_chunks","repo":"cciro94/GoogleEmbeddings2-benchmark","repo_kind":"found_in_text","path":"src/chunking.py","file_url":"https://github.com/cciro94/GoogleEmbeddings2-benchmark/blob/HEAD/src/chunking.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c8adab3821723998"}},{"code_sha256_prefix":"aa2b0d79284f2d0f","entry":"build_index","repo":"cciro94/GoogleEmbeddings2-benchmark","repo_kind":"found_in_text","path":"src/retrieval.py","file_url":"https://github.com/cciro94/GoogleEmbeddings2-benchmark/blob/HEAD/src/retrieval.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"aa2b0d79284f2d0f"}},{"code_sha256_prefix":"e072ac1731ce14aa","entry":"load_italian_benchmark","repo":"cciro94/GoogleEmbeddings2-benchmark","repo_kind":"found_in_text","path":"src/data_loaders.py","file_url":"https://github.com/cciro94/GoogleEmbeddings2-benchmark/blob/HEAD/src/data_loaders.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e072ac1731ce14aa"}},{"code_sha256_prefix":"df800762179b07d8","entry":"load_italian_benchmark","repo":"cciro94/GoogleEmbeddings2-benchmark","repo_kind":"found_in_text","path":"src/data_loaders_original.py","file_url":"https://github.com/cciro94/GoogleEmbeddings2-benchmark/blob/HEAD/src/data_loaders_original.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"df800762179b07d8"}},{"code_sha256_prefix":"e624c296fd0c427d","entry":"load_miracl_dataset","repo":"cciro94/GoogleEmbeddings2-benchmark","repo_kind":"found_in_text","path":"src/data_loaders.py","file_url":"https://github.com/cciro94/GoogleEmbeddings2-benchmark/blob/HEAD/src/data_loaders.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e624c296fd0c427d"}},{"code_sha256_prefix":"862f7976558612a4","entry":"load_miracl_dataset","repo":"cciro94/GoogleEmbeddings2-benchmark","repo_kind":"found_in_text","path":"src/data_loaders_original.py","file_url":"https://github.com/cciro94/GoogleEmbeddings2-benchmark/blob/HEAD/src/data_loaders_original.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"862f7976558612a4"}},{"code_sha256_prefix":"88db80f3d2fb17fc","entry":"measure_retrieval_latency","repo":"cciro94/GoogleEmbeddings2-benchmark","repo_kind":"found_in_text","path":"src/retrieval.py","file_url":"https://github.com/cciro94/GoogleEmbeddings2-benchmark/blob/HEAD/src/retrieval.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"88db80f3d2fb17fc"}},{"code_sha256_prefix":"86923a70c0596391","entry":"run_retrieval","repo":"cciro94/GoogleEmbeddings2-benchmark","repo_kind":"found_in_text","path":"src/retrieval.py","file_url":"https://github.com/cciro94/GoogleEmbeddings2-benchmark/blob/HEAD/src/retrieval.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"86923a70c0596391"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CL","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}