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 73–84.
- Localization accuracy measures positional recovery of the ground-truth target.
This publication contains this grounded claim.
Evidence
Localization asks whether a method recovers the ground-truth target (positionally).
Source: 2026-02-10-biorxiv.pdf
- Lower BIO-BOAT alignment likely reflects inconsistent tokenization of complex biomedical vocabulary.
This publication contains this grounded claim.
Evidence
The slightly reduced alignment on BIO-BOAT likely reflects the complexity of biomedical vocabulary, where gene names and chemical identifiers are often split incon- sistently and therefore cannot be reliably captured by a tokenizer trained on general-domain text.
Source: 2026-02-10-biorxiv.pdf
- Naive alignment is faster than the evaluated ordered-alignment methods.
This publication contains this grounded claim.
Evidence
While naive alignment is fastest, all ordered alignment methods operate in the millisec- ond range for typical passage lengths (∼1,000 tokens).
Source: 2026-02-10-biorxiv.pdf
- Naive alignment recovered every contiguous BOAT target.
This publication contains this grounded claim.
Evidence
On contiguous phrases from BOAT, naive alignment recov- ered all targets, as expected.
Source: 2026-02-10-biorxiv.pdf
- Naive alignment recovered only 0.6% of non-contiguous BOAT targets.
This publication contains this grounded claim.
Evidence
In this setting, naive alignment failed almost entirely (0.6%).
Source: 2026-02-10-biorxiv.pdf
- Naive matching returns every exact target substring match in the source.
This publication contains this grounded claim.
Evidence
Naive matching checks whether target occurs as an exact substring of source and returns all matches.
Source: 2026-02-10-biorxiv.pdf
- Naive-alignment runtime is nearly constant with source-token count.
This publication contains this grounded claim.
Evidence
LCS and taln scale roughly linearly, Difflib is slightly sublinear, and the naive baseline is nearly constant.
Source: 2026-02-10-biorxiv.pdf
- Non-contiguous BOAT removes one interior target token from each source–target pair.
This publication contains this grounded claim.
Evidence
Non-contiguous BOAT was constructed by removing, for each (source, target) pair, one interior token of the target to create a non-contiguous variant.
Source: 2026-02-10-biorxiv.pdf
- Non-contiguous BOAT removes one interior token from each target.
This publication contains this grounded claim.
Evidence
To evaluate non-contiguous alignment, we constructed a variant in which one interior token is removed from each target, ensuring that the resulting phrase can no longer be found by exact contiguous align- ment.
Source: 2026-02-10-biorxiv.pdf
- Non-contiguous localization is correct when a fully reconstructed alignment's bounding character indices match the expec
This publication contains this grounded claim.
Evidence
For non-contiguous alignments, localization accuracy is defined by the bounding character indices: an alignment is correct if the left and right character boundaries (start idx,end idx) of at least one fully reconstructed alignment match the expected target.
Source: 2026-02-10-biorxiv.pdf
- Non-contiguous phrase alignment depends on subword granularity.
This publication contains this grounded claim.
Evidence
This shows that al- lowing gaps is necessary but not sufficient; alignment of non-contiguous phrases depends on the granularity of subwords defined by the tokenization strategy.
Source: 2026-02-10-biorxiv.pdf
- Non-contiguous phrases and non-standard nomenclature are highly abundant in biology and medicine.
This publication contains this grounded claim.
Evidence
This situation is particularly acute in biology and medicine where non- contiguous phrases and non-standard nomenclature are highly abundant [Lever et al., 2020, Shinohara et al., 2024].
Source: 2026-02-10-biorxiv.pdf