Reproduce “FRAGMENT: Factorized Graph Representations for Document Generation and Editing via Entity-Aware Transformations” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Ayoub El Bouchtili, Guilhaume Leroy-Meline

IBM Consulting researchers developed FRAGMENT, a factorized generative framework that models structured documents as typed relational graphs, decoupling structural planning from content realization. This approach enables unified generation of layout, text, and style, achieving a Doc-EMD of 0.096 and Forgery AUROC of 0.92 on DocLayNet, while also supporting prompt-based semantic editing and anomaly localization.

Key insights

  • Factorizing document generation into an explicit structural planning stage and a separate content realization stage, using a graph representation, improves structural consistency and overall generation quality.
  • A tractable, decomposable log-likelihood derived from this factorized model is highly effective for both document-level anomaly detection and fine-grained localization of potentially forged elements without explicit training on anomalies.
  • Semantic editing can be achieved through prompt-conditioned re-generation by injecting natural language instructions into the content builder via cross-attention, enabling localized and structure-aware modifications.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.