atlas

Research map / Vision-language and multimodal / Human and embodied modeling

RETSim: Resilient and Efficient Text Similarity

ICLR 2024 · Vision-language and multimodal › Human and embodied modeling · approach: Multimodal retrieval-augmented modeling · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces RETSim, a lightweight 536k-parameter multilingual metric-learning text embedding trained with typo/adversarial augmentation on mC4 for near-duplicate retrieval and dedup, plus the W4NT3D adversarial multilingual benchmark.

Problem

Near-duplicate text detection is dominated by MinHash, which is parameter-sensitive and brittle to typos and hash-busting; neural embeddings are large and sub-word tokenized, so they are not robust or efficient for dataset deduplication.

Approach

Combine the RETVec character-level vectorizer, a small GAU-based transformer, chunk-level averaging, and Multi-Similarity metric learning with heavy sentence/word/character augmentation to produce a tiny multilingual embedding robust to typos for near-duplicate matching.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use RETSim Near-Dup instead of Multilingual E5-BaseW4NT3D · W4NT3D (41-language average)Recall@1: 0.937 -> 0.977Helped
Use RETSim Partial-Dup instead of MinHash (Ours)NEWS-COPY · NEWS-COPYARI: 0.783 -> 0.831Helped
Use RETSim Partial-Dup instead of LaBSECORE Near-Duplicates · CORE Near-DuplicatesMacro F1: 0.933 -> 0.945Helped
Use RETSim Near-Dup instead of USEAdversarial spam clustering · Adversarial spam campaignsV-Measure: 0.903 -> 0.949Helped
Replace GAU blocks with RETVec MLP (ablation)RETSim Near-Dup · W4NT3D ablation subsetRecall@1: 0.986 -> 0.975Hurt
Replace GAU blocks with ConvNeXt (ablation)RETSim Near-Dup · W4NT3D ablation subsetRecall@1: 0.986 -> 0.978Hurt
Replace GAU blocks with BERT (ablation)RETSim Near-Dup · W4NT3D ablation subsetRecall@1: 0.986 -> 0.973Hurt
Replace GAU blocks with T5 (ablation)RETSim Near-Dup · W4NT3D ablation subsetRecall@1: 0.986 -> 0.980Hurt
Set chunk size to 128 instead of 512 (ablation)RETSim Near-Dup · W4NT3D ablation subsetRecall@1: 0.986 -> 0.979Hurt
Set chunk size to 256 instead of 512 (ablation)RETSim Near-Dup · W4NT3D ablation subsetRecall@1: 0.986 -> 0.984Hurt
Set chunk size to 1024 instead of 512 (ablation)RETSim Near-Dup · W4NT3D ablation subsetRecall@1: 0.986 -> 0.983Hurt
Set chunk size to 2048 instead of 512 (ablation)RETSim Near-Dup · W4NT3D ablation subsetRecall@1: 0.986 -> 0.978Hurt

Surprising findings

Limitations

Experimental setup

Datasets: mC4 Wiki-40B NEWS-COPY CORE Near-Duplicates

Benchmarks: W4NT3D NEWS-COPY CORE Near-Duplicates Wiki-40B deduplication Gmail spam campaigns

Metrics: Recall@1 Adjusted Rand Index precision recall macro F1 accuracy V-Measure homogeneity completeness embedding speed

Baselines: LaBSE Multilingual USE Multilingual E5-Base PaLM 2 Gecko MinHash SimHash S-BERT

Builds on: RETVec Multi-Similarity Loss MinHash Gated Attention Unit

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy