Papers › Embedding Trust: Semantic Isotropy Predicts Nonfactuality in Long-Form Text Generation

Embedding Trust: Semantic Isotropy Predicts Nonfactuality in Long-Form Text Generation

24 Oct 2025ICMLarXiv:2510.21891added by Syntology

Dhrupad Bhardwaj, Julia Kempe, Tim G. J. Rudner

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

To deploy large language models (LLMs) in high-stakes application domains that require substantively accurate responses to open-ended prompts, we need reliable, computationally inexpensive methods that assess the trustworthiness of long-form responses generated by LLMs. However, existing approaches often rely on claim-by-claim fact-checking, which is computationally expensive and brittle in long-form responses to open-ended prompts. In this work, we introduce semantic isotropy -- the degree of uniformity across normalized text embeddings on the unit sphere -- and use it to assess the trustworthiness of long-form responses generated by LLMs. To do so, we generate several long-form responses, embed them, and estimate the level of semantic isotropy of these responses as the angular dispersion of the embeddings on the unit sphere. We find that higher semantic isotropy -- that is, greater embedding dispersion -- reliably signals lower factual consistency across samples. Our approach requires no labeled data, no fine-tuning, and no hyperparameter selection, and can be used with open- or closed-weight embedding models. Across multiple domains, our method consistently outperforms existing aggregate trust signals in predicting nonfactuality using only a handful of samples, offering a practical, low-cost first-pass signal that complements claim-level verification in real-world LLM workflows.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2510.21891")

Code

Syntology Ran 1 of 18 code samples harvested from 1 repository linked to this paper; 17 have no recorded run. Of those that ran: 1 ran · our draft was wrong.

By repository: found in paper text by Syntology: 18 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

dhrupadb/semantic_isotropy found in paper text by SyntologyApache-2.0 report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

18 samples harvested; 1 ran; 0 honoured the contract we drafted; 17 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
17unverified

Licence: 0 of the 18 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from dhrupadb/semantic_isotropy. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

chunker dhrupadb/semantic_isotropy/lib/python/semantic_isotropy/metrics/luq.py found in paper text by Syntology ran · our draft was wrong Apache-2.0 (permissive) · ec7977b6ec96dce1 · report
calculate_eigenscore dhrupadb/semantic_isotropy/lib/python/semantic_isotropy/metrics/isotropy.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 6a4e823c1dcce8b4 · report
chat_gpt dhrupadb/semantic_isotropy/lib/python/semantic_isotropy/llm/chat.py found in paper text by Syntology unverified Apache-2.0 (permissive) · be3e7e1de0d35f5e · report
check_server_availability dhrupadb/semantic_isotropy/lib/python/semantic_isotropy/llm/utils.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 1a5bef35c1af84b7 · report
detect_api_model dhrupadb/semantic_isotropy/lib/python/semantic_isotropy/llm/utils.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 4ad1bdc5acb7f7f1 · report
entailment_score_func dhrupadb/semantic_isotropy/lib/python/semantic_isotropy/metrics/luq.py found in paper text by Syntology unverified Apache-2.0 (permissive) · c10959ce1ce212ed · report
estimate_tokens dhrupadb/semantic_isotropy/lib/python/semantic_isotropy/llm/utils.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 57836e516ed482b0 · report
get_entity_page_idx dhrupadb/semantic_isotropy/lib/python/semantic_isotropy/datasets/utils.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 5c542beb7cd01abb · report
header_prompt dhrupadb/semantic_isotropy/lib/python/semantic_isotropy/metrics/isotropy.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 824698032b03a793 · report
last_token_pool dhrupadb/semantic_isotropy/lib/python/semantic_isotropy/metrics/isotropy.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 2ded070fabe7bdc7 · report
load_booksummaries dhrupadb/semantic_isotropy/lib/python/semantic_isotropy/datasets/loaders.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 9b626a61e890cc9e · report
load_data dhrupadb/semantic_isotropy/lib/python/semantic_isotropy/datasets/loaders.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 2222a8717f160209 · report
load_factscore dhrupadb/semantic_isotropy/lib/python/semantic_isotropy/datasets/loaders.py found in paper text by Syntology unverified Apache-2.0 (permissive) · decb9bb02edcb636 · report
luq_simscore dhrupadb/semantic_isotropy/lib/python/semantic_isotropy/metrics/luq.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 694b4f509df41eb6 · report
normalize_kernel dhrupadb/semantic_isotropy/lib/python/semantic_isotropy/metrics/entailment.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 8ce6bec1d737caea · report
scale_entropy dhrupadb/semantic_isotropy/lib/python/semantic_isotropy/metrics/entailment.py found in paper text by Syntology unverified Apache-2.0 (permissive) · f237a2e20964ecca · report
strip_and_return dhrupadb/semantic_isotropy/lib/python/semantic_isotropy/datasets/utils.py found in paper text by Syntology unverified Apache-2.0 (permissive) · c3571ac83908406b · report
vn_entropy dhrupadb/semantic_isotropy/lib/python/semantic_isotropy/metrics/entailment.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 8d22a1140b36128d · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2510.21891, was issued in October 2025, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections