Lune

Abstract

Professional document editing tools require a certain level of expertise to perform complex edit operations. To make editing tools accessible to increasingly novice users, we investigate intelligent document assistant systems that can make or suggest edits based on a user's natural language request. Such a system should be able to understand the user's ambiguous requests and contextualize them to the visual cues and textual content found in a document image to edit localized unstructured text and structured layouts. To this end, we propose a new task of language-guided localized document editing, where the user provides a document and an open vocabulary editing request, and the intelligent system produces a command that can be used to automate edits in real-world document editing software. In support of this task, we curate the DocEdit dataset, a collection of approximately 28K instances of user edit requests over PDF and design templates along with their corresponding ground truth software executable commands. To our knowledge, this is the first dataset that provides a diverse mix of edit operations with direct and indirect references to the embedded text and visual objects such as paragraphs, lists, tables, etc. We also propose DocEditor, a Transformer-based localization-aware multimodal (textual, spatial, and visual) model that performs the new task. The model attends to both document objects and related text contents which may be referred to in a user edit request, generating a multimodal embedding that is used to predict an edit command and associated bounding box localizing it. Our proposed model empirically outperforms other baseline deep learning approaches by 15-18%, providing a strong starting point for future work.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • ADOPD: A Large-Scale Document Page Decomposition Dataset cites Learning Transferable Visual Models From Natural Language Supervision
  • ADOPD: A Large-Scale Document Page Decomposition Dataset cites DiT: Self-supervised Pre-training for Document Image Transformer
  • SpaceEdit: Learning a Unified Editing Space for Open-Domain Image Color Editing cites Learning Transferable Visual Models From Natural Language Supervision
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. ADOPD: A Large-Scale Document Page Decomposition DatasetJiuxiang Gu, Xiangxi Shi, Jason Kuen, Lu Qi et al.ICLR 2024 · 6 citations

Builds on9

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and ComprehensionMike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad et al.ACL 2020 · 1,224 citations
  3. DiT: Self-supervised Pre-training for Document Image TransformerJunlong Li, Yiheng Xu, Tengchao Lv, Lei Cui et al.ACM MM 2022 · 184 citations
  4. Form2Seq : A Framework for Higher-Order Form Structure ExtractionMilan Aggarwal, Hiresh Gupta, Mausoom Sarkar, Balaji KrishnamurthyEMNLP 2020 · 18 citations
  5. SpaceEdit: Learning a Unified Editing Space for Open-Domain Image Color EditingJing Shi, Ning Xu, Haitian Zheng, Alex Smith et al.CVPR 2022 · 15 citations

Related papers

  1. DocEdit-v2: Document Structure Editing Via Multimodal LLM GroundingManan Suri, Puneet Mathur, Franck Dernoncourt, Rajiv Jain et al.EMNLP 2024 · 1 citation
  2. OBJECT 3DIT: Language-guided 3D-aware Image EditingOscar Michel, Anand Bhattad, Eli VanderBilt, Ranjay Krishna et al.NeurIPS 2023 · 79 citations
  3. M3L: Language-based Video Editing via Multi-Modal Multi-Level TransformersTsu-Jui Fu, Xin Eric Wang, Scott T. Grafton, Miguel P. Eckstein et al.CVPR 2022 · 13 citations
  4. DocMEdit: Towards Document-Level Model EditingZeng Li, Zeming Liu, Chong Feng, Heyan Huang et al.ACL Findings 2025
  5. Multimodal Markup Document Models for Graphic Design CompletionKotaro Kikuchi, Ukyo Honda, Naoto Inoue, Mayu Otani et al.ACM MM 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines