atlas

Research map / Architectures and efficiency / Attention and transformers

MAGNET: Improving the Multilingual Fairness of Language Models with Adaptive Gradient-Based Tokenization

NeurIPS 2024 · Architectures and efficiency › Attention and transformers · approach: Efficient language transformers · 4 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.

Proposes MAGNET, a byte-level multilingual LM whose gradient-based tokenizer uses script-specific boundary predictors with script-dependent binomial priors, reducing over-segmentation of non-Latin scripts while keeping downstream performance.

Problem

Tokenization in multilingual LMs over-segments non-Latin script and low-resource languages, causing unequal utility, efficiency, and cost; existing gradient-based and dynamic pooling tokenizers apply one compression rate to all scripts.

Approach

Route byte sequences through language-script-specific boundary predictors (hourglass transformer with Gumbel-sigmoid boundaries), each with a binomial prior set from the anchor language's byte-to-word ratio, so that segmentation granularity is equitable across scripts.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use script-specific predictors with MAGNET (1, 2, 4)×Byte-level multilingual model · XNLIaccuracy: 68.68 -> 68.74Helped
use script-specific predictors with MAGNET (3, 6, 12)×Byte-level multilingual model · PAWS-Xaccuracy: 82.18 -> 85.41Helped
use script-specific predictors with MAGNET (3, 6, 12)×Byte-level multilingual model · SIB-200accuracy: 71.05 -> 71.43Helped
use script-specific predictors with MAGNET (1, 2, 4)×Byte-level multilingual model · XQUADaccuracy: 44.62 -> 44.61No clear effect
use script-specific predictors with MAGNETByte-level multilingual model · Hascovaaccuracy: 87.38 -> 87.62No clear effect
use script-specific predictors with MAGNETByte-level multilingual model · ILIaccuracy: 89.24 -> 88.72No clear effect
increase compression to (5, 10, 20)× (ablation)MAGNET · XNLIaccuracy: 68.74 -> 67.50Hurt
increase compression to (5, 10, 20)× (ablation)MAGNET · PAWS-Xaccuracy: 83.30 -> 80.44Hurt
increase compression to (5, 10, 20)× (ablation)MAGNET · XQUADaccuracy: 44.61 -> 41.06Hurt
use (3, 6, 12)× instead of (1, 2, 4)× compression (ablation)MAGNET · PAWS-Xaccuracy: 83.30 -> 85.41Helped
use (3, 6, 12)× instead of (1, 2, 4)× compression (ablation)MAGNET · XQUADaccuracy: 44.61 -> 43.72Hurt
reduce Indic compression to (5, 10, 13)× (ablation)MAGNET · SIB-200accuracy: 71.02 -> 70.64Hurt

Surprising findings

Limitations

Experimental setup

Datasets: OSCAR FLORES-200 XQuAD XNLI PAWS-X SIB-200 ILI HaSCoSVa-2022

Benchmarks: XNLI PAWS-X SIB-200 XQuAD ILI HaSCoSVa-2022 FLORES-200

Metrics: accuracy average number of tokens per sentence relative inference time

Baselines: byte-level model DTP 5x DTP 10x BPE 50k BPE 100k BPE 250k

Builds on: hourglass transformer dynamic token pooling Gumbel-sigmoid byte-level BPE

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