Submitted:
01 November 2026
Posted:
04 November 2026
You are already at the latest version
Abstract
A document-level knowledge graph has one node per entity, with all of its mentions, an entity type, and typed relations to other entities. End-to-end extractors build such graphs by fine-tuning encoders pretrained on 512-token contexts and extend them to longer documents with segments or added positions, while the prompted generative baselines we test obtain low strict scores. We present FREGE (Frozen REpresentations for Graph Extraction), which reads coreference clusters, entity types and relations from the hidden states and attention of a frozen decoder-only language model with lightweight probes; only a small span detector (125M parameters) is fine-tuned, and the language model is never updated. On DWIE, a benchmark of long documents with complete graphs, FREGE with Qwen2.5-7B reaches 67.8 F1 on relations with entity types, 15.5 points above the strongest fine-tuned system we trained on the same split, and its advantage over TaG and our position-extended JEREX baseline grows with document length. On SciREX, whose test documents average 6,876 tokens, it reaches 18.3 binary relation F1 under the original benchmark's soft cluster-matching protocol, against 9.6 for the original SciREX baseline; on Re-DocRED it is on par with the strongest baseline.
Keywords:
knowledge graph construction
; document-level relation extraction
; coreference resolution
; probing
; frozen language models
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.