Fantastic Tokens and Where to Edit Them: Fast, Faithful Editing with Sparse Edit Maps

Authors: Chih-Hao Lin, Jin Huang, Haoxiang Li, Shenlong Wang

Image and video editors regenerate every token, even for a local edit, so unedited content drifts and every edit pays the cost of a whole new image. We find that a local edit lives in a few latent tokens: pasting only these tokens into the input latent preserves the edit and leaves everything else intact. Inspired by this, we present a method that edits only the tokens that should change. A map predictor, repurposed from the editing diffusion transformer, predicts a sparse edit map in a single forward step, and a sparse editor, fine-tuned from the same model, denoises only the marked tokens and copies the rest from the input. Unedited tokens are thus kept exactly, and computation follows the edit.

Fantastic Tokens and Where to Edit Them: Fast, Faithful Editing with Sparse Edit Maps