Verifying LLM-extracted text with token alignment
Cite this version: A. Sina Booeshaghi, Aaron Streets. bioRxiv · 2026-02-10
Large language models can extract text effectively but may hallucinate content absent from their source. Exact matching verifies contiguous spans, whereas discontiguous extraction depends strongly on tokenization and ordered alignment. LLM-specific subword tokenization with ordered alignment improves performance by about 50% over word-level tokenization, and taln implements this practical verification approach.
- Relations
- 188
- Kinds
- 6
Version of
Connected records
Claims (172)
Showing 121–132.
- Subword tokens were produced with OpenAI's cl100k_base tokenizer through tiktoken.
This publication contains this grounded claim.
Evidence
Subword tokens are produced by the OpenAI cl100k base tokenizer (via tiktoken).
Source: 2026-02-10-biorxiv.pdf
- Subword-tokenized ordered alignment recovered over 96% of non-contiguous BOAT targets across taln, LCS, and difflib.
This publication contains this grounded claim.
Evidence
With subword tokens, ordered alignment re- covered over 96% of non-contiguous targets across all tools, including taln, LCS, and difflib (Figure 2b and Supplementary Figure S1c, solid).
Source: 2026-02-10-biorxiv.pdf
- Symbols, qualifiers, and parenthetical statements often interrupt extracted phrases.
This publication contains this grounded claim.
Evidence
Ex- tracted phrases are often interrupted by symbols, quali- fiers, or parenthetical statements.
Source: 2026-02-10-biorxiv.pdf
- taln aligns each target token to every occurrence in the source.
This publication contains this grounded claim.
Evidence
taln builds an index of token n-grams from the source (with k = 1 in this work), aligns each target token to all occurrences of that token in the source, and then enumerates all order-preserving alignments.
Source: 2026-02-10-biorxiv.pdf
- taln enumerates all valid alignments, whereas LCS and difflib return a single match.
This publication contains this grounded claim.
Evidence
Unlike LCS and difflib, taln enumerates all valid align- ments rather than returning a single match.
Source: 2026-02-10-biorxiv.pdf
- taln enumerates every order-preserving alignment.
This publication contains this grounded claim.
Evidence
taln builds an index of token n-grams from the source (with k = 1 in this work), aligns each target token to all occurrences of that token in the source, and then enumerates all order-preserving alignments.
Source: 2026-02-10-biorxiv.pdf
- taln explicitly enumerates multiple valid alignments.
This publication contains this grounded claim.
Evidence
Each alignment is returned as a list of token objects with character offsets; multiple valid alignments are enumerated explicitly.
Source: 2026-02-10-biorxiv.pdf
- taln implements ordinal subword alignment enumeration.
This publication contains this grounded claim.
Evidence
We implement this approach in taln, which enumerates ordinal subword alignments.
Source: 2026-02-10-biorxiv.pdf
- taln indexes source token n-grams with k=1 in this evaluation.
This publication contains this grounded claim.
Evidence
taln builds an index of token n-grams from the source (with k = 1 in this work), aligns each target token to all occurrences of that token in the source, and then enumerates all order-preserving alignments.
Source: 2026-02-10-biorxiv.pdf
- taln is a Python library and command-line tool.
This publication contains this grounded claim.
Evidence
taln is a Python library and command- line tool that returns all order-preserving alignments between a target and source.
Source: 2026-02-10-biorxiv.pdf
- taln is fast and deterministic relative to LLM-based verification.
This publication contains this grounded claim.
Evidence
Subword to- kenization improves accuracy in both contiguous and non-contiguous settings, and taln, by enumerating all valid alignments, recovers matches that standard tools miss, while remaining fast and deterministic compared to LLM-based verification approaches.
Source: 2026-02-10-biorxiv.pdf
- taln is tokenizer-agnostic.
This publication contains this grounded claim.
Evidence
taln is tokenizer-agnostic and supports various tokenization strategies.
Source: 2026-02-10-biorxiv.pdf