Where Tokenization Breaks Entity Linking: Byte-Level Mention Reading Under Sparse, Noisy Context

Entity disambiguation means deciding which real-world thing a name in text refers to: whether "Washington" is the president, the state, or the city. Current systems do this by reading the text around the mention and comparing it against short descriptions of candidate entities from a knowledge base. In search queries, tweets and table cells there is almost no surrounding text, so the mention string itself carries most of the evidence. That string is also where informal text is most damaged: typos, odd casing, "leetspeak", creative spellings. Every leading disambiguation system reads it through a fixed subword vocabulary (the tokenizer's list of word pieces), and a fixed vocabulary shatters damaged strings into meaningless fragments. The candidate descriptions the system retrieves to compensate for missing context then act as distractors. Once the mention signal is corrupted, the model tends to default to the most popular candidate.

This note claims that these three problems interact rather than add. The damage done by subword fragmentation should grow as context shrinks, because less context is left to override a corrupted mention. The proposed fix is targeted rather than architectural. The model reads the mention and the candidate titles as raw bytes, which is where surface form matters. It keeps subword reading for candidate descriptions, which is where meaning matters. It also gets an explicit way to answer "none of these" when every candidate is a distractor. The note equally commits to finding out whether cheap string normalization does just as well. If it does, that is itself the finding.

Core Claim

The claim has two parts. The first is an empirical hypothesis: the accuracy gap between a subword disambiguation model on clean versus perturbed mentions widens as the available context is truncated, and it widens most for "shadow" entities (less famous namesakes of famous entities). The second is a method claim. A hybrid reader that encodes the mention span and candidate titles at the byte level recovers most of that gap for noise that is not in any dictionary, such as leetspeak, phonetic spellings and transliterations. It does so where spell-correction front ends and typo-augmented fine-tuning do not, and without paying the cost of reading every candidate description as bytes.

What Exists and What Is Missing

The multi-candidate readers supply the method this proposal modifies. Entity Disambiguation via Fusion Entity Decoding (FUSIONED) encodes the mention context paired with each candidate's description separately. Its decoder then attends over all candidates at once, so they can be compared directly. It reports +1.5% over GENRE on ZELDA and specifically helps with shadow entities. ExtEnD: Extractive Entity Disambiguation instead concatenates the candidate titles and extracts the correct span with a Longformer. Both read text only through subword tokenizers. Both truncate descriptions for memory; FUSIONED caps them at 140 tokens. Neither has a way to abstain when the correct entity is absent from the candidate set, a gap also noted in Robust Disambiguation of Named Entities in Text.

The byte-level models supply the representation. Byte Latent Transformer: Patches Scale Better Than Tokens groups bytes into variable-length patches and reports 99.9% on CUTE spelling tasks. T-FREE replaces the vocabulary with hashed character trigrams. ByT5 is a pretrained encoder-decoder that reads bytes directly. None of these has been tested on knowledge-intensive disambiguation or with multi-candidate decoding. This proposal differs from them by using bytes only in the narrow part of the input where they plausibly matter.

The distraction literature motivates the abstention component. Improving Zero-shot Reader by Reducing Distractions from Irrelevant Documents (DAS) shows that an explicit "unanswerable" option plus rescoring by how likely a document is to generate the query greatly improves question answering under many retrieved documents. Trust in Internal or External Knowledge? (GELR) shows that retrieved knowledge can mislead a linker, which then over-trusts popular head entities. GELR works with images and a subword LLaMA backbone and never perturbs the mention string. The closest pairwise work, GELR and RAED, handles noise in retrieval and sparse context. Both leave the tokenizer untouched, and that is the axis this proposal isolates.

Research Program

The first component is a controlled stress test built from existing benchmarks rather than a new dataset. Starting from the ZELDA evaluation splits (ZELDA) and AIDA-CoNLL, each mention is placed on three axes.

The first axis is context sparsity: the full paragraph, a 32-token window, an 8-token window, or the mention alone.

The second axis is surface noise, drawn from three families:

  • dictionary-recoverable typos (character swaps, drops, casing);
  • non-dictionary noise (leetspeak, phonetic respellings, dropped diacritics, romanization variants);
  • a clean control.

The third axis is candidate-set condition: gold present among top-K candidates, gold replaced by a lexically similar distractor (the NIL case), and "oracle" candidates, where candidate generation is guaranteed correct. The oracle condition matters. It separates failures of the reader from failures of the candidate generator, and a skeptic will rightly ask which one the tokenizer actually hurts. WebQSP questions serve as a naturally sparse, unperturbed check, since An Entity Linking Agent for Question Answering evaluates there.

The second component is the hybrid reader, a FUSIONED-style encoder-decoder with one change. For each candidate, the input sums two encodings:

  • a subword encoding of the truncated context plus the candidate description;
  • a byte-level encoding of the mention span next to the candidate title, produced by a small ByT5 encoder, or alternatively by BLT-style hash n-gram embeddings, and fused by cross-attention.

Only titles and mentions are read as bytes; they are short. The added cost therefore scales with the number of candidates, not with description length.

The third component is abstention. We add a learned "none of these" pseudo-candidate. At inference time, candidates are rescored with a DAS-style term: the likelihood the candidate description assigns to the mention's context. Training uses gold-removed examples so that abstaining is supervised.

Baselines

The naive reference point is FUSIONED retrained on ZELDA-TRAIN and evaluated unchanged on the stress grid. Its clean-condition accuracy anchors every gap we report. On reported numbers, the file gives FUSIONED only as "+1.5% over GENRE on ZELDA" and "+1.5% F1 over EntQA on GERBIL", and no reported absolute ZELDA accuracy for FUSIONED was found on Lacuna. We therefore reproduce it and treat reproduction within about a point of the relative gain as a sanity check. For AIDA the only reported absolute figure in the file is the older AIDA system's Macro-Precision@1 of 81.91% (Robust Disambiguation of Named Entities in Text). That is a floor, not the competitor.

The strongest existing competitor is ExtEnD. It sets the best results on four of six benchmarks, with +1.1 F1 out of domain, and its small base model beats much larger generative models by nearly five points when trained on AIDA only (ExtEnD). That makes it the strongest system at matched modest scale. For short-query data we also report the ELA result of 78.25% accuracy on WebQSP with fine-tuned Llama-3-8B (An Entity Linking Agent for Question Answering) as an external reference, though its agentic search loop makes it a different cost class.

All trained systems use the same ZELDA-TRAIN data, the same bi-encoder candidates, parameter counts matched within 10%, and an identical hyperparameter search budget. Beating the baselines means two things. The hybrid must close at least half of the clean-versus-noisy gap at the mention-only and 8-token sparsity levels on non-dictionary noise, under oracle candidates. It must also lose no more than half a point on clean full-context data.

Three ablations isolate the key ingredient. The first gives the model byte encoding of the mention only, without titles. The second replaces the byte channel with handcrafted string-similarity features, namely normalized edit distance and character trigram overlap between mention and title. The third reads the whole input as bytes (full ByT5-FiD), which tests whether the hybrid split matters or whether it is only cheaper.

Why not just…?

Why not just spell-correct or normalize the mention before a standard linker? This is the most serious threat, and for dictionary-recoverable typos we expect it to work nearly as well. The experiment settles it by splitting noise families. If a normalizer placed in front of FUSIONED matches the hybrid on non-dictionary noise too, the method claim fails, and we will report the finding as "the bottleneck is preprocessing, not representation." The expected failure mode is leetspeak, phonetic spellings and romanization variants of rare names. A normalizer's dictionary does not contain these, and it may "correct" them into the popular namesake, which makes popularity bias worse.

Why not just fine-tune the subword model on typo-augmented mentions? Augmentation teaches the model which fragment patterns co-occur with which entities. It cannot produce stable representations for spellings it never saw, and T-FREE argues that fragmentation from a fixed vocabulary is a structural limit. The fair test is to give the augmented subword baseline the same noise generator during training as the hybrid. We then evaluate on a noise family held out from both. If augmentation matches on held-out noise, the representation argument is wrong.

Why not just add an edit-distance feature between mention and candidate title? This is cheap and plausibly strong. It is included as an ablation rather than dismissed. It should suffice for near-miss typos. It should fall short where surface similarity depends on context, for example an abbreviation or nickname that matches a title only given a sparse cue. A learned byte encoder that sits inside cross-attention can combine that cue with the string match, and a scalar feature cannot.

Why not just use a large LLM with an "unanswerable" instruction? DAS shows this helps question answering. However, Entity Disambiguation via Fusion Entity Decoding reports that general LLMs such as GPT-4 have low precision at producing the exact canonical titles a knowledge base requires. They also still read mentions through subwords. We include a zero-shot instruction-tuned LLM with the DAS escape-hatch prompt on the NIL condition, to measure abstention quality separately from linking accuracy.

Proposed Experiments

The decisive analysis is the interaction test. We fit accuracy as a function of sparsity level, noise family and model type. We ask whether the subword baseline's noise penalty increases monotonically as context shrinks, and whether the hybrid flattens that curve. If there is no interaction, meaning the noise penalty is constant across context lengths, the premise connecting sparsity to tokenization is false and the method loses its motivation.

Second, the oracle-versus-retrieved candidate comparison shows where the gain lives. If the hybrid helps only when candidates come from a byte-aware retriever, the contribution belongs to candidate generation. In that case the right follow-up is a byte-level bi-encoder, not a new reader.

Third, on the NIL condition we report abstention precision and recall against DAS-prompted and threshold baselines. We also report shadow-entity accuracy on ZELDA's SLINKS-SHADOW split, where ZELDA notes that popularity-biased systems struggle.

Finally, we measure wall-clock cost per mention against full ByT5-FiD, to confirm that restricting bytes to titles and mentions keeps the cost near the subword baseline. Clean-condition AIDA and the out-of-domain suite (MSNBC, AQUAINT, ACE2004, WNED) confirm that nothing is lost on standard text.