Code Monkey home page Code Monkey logo

docedit-dataset's Introduction

DocEdit: Language-guided Document Editing (AAAI 2023)

Puneet Mathur | Rajiv Jain | Jiuxiang Gu | Franck Dernoncourt | Dinesh Manocha | Vlad I. Morariu

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 localizationaware multimodal (textual, spatial, and visual) model that performs the new task. The model attends to both document objects (e.g., paragraphs, images) 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.

Dataset

This is a partial release of the Adobe Research DocEdit Dataset described in our AAAI 2023 paper. The current release includes the original image, the user request, and the output command for the training and validation splits of the DocEdit-PDF subset of the DocEdit Dataset. The dataset can be accessed here.

License

The Enron Email Data and government forms are in the public domain or are licensed under their respective licenses (as applicable). All other materials, including the modifications made to the original documents (if provided) and the descriptions of the modifications which include the natural language description and the structured command-like descriptions that include the bounding boxes, etc., are licensed under the Adobe Research DocEdit Dataset License, Version 1.0.

Citation

If you use our dataset, please cite us using the following bibtex:

@InProceedings{Mathur_2023_AAAI,
author = {Mathur, Puneet and Jain, Rajiv and Gu, Jiuxiang and Dernoncourt, Franck and Manocha, Dinesh and Morariu, Vlad},
title = {DocEdit: Language-guided Document Editing},
booktitle = {Thirty-Seventh AAAI Conference on Artificial Intelligence (AAAI)},
year = {2023},
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.