atlas

Research map / Image generation / Editing and style transfer

NEP: Autoregressive Image Editing via Next Editing Token Prediction

NeurIPS 2025 · Image generation › Editing and style transfer · approach: Instruction-based diffusion editing · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Next Editing-token Prediction (NEP), an autoregressive image editing method that regenerates only masked editing-region tokens, built on a randomized-order LlamaGen (RLlamaGen) pre-trained for any-order generation, plus a Grad-CAM-guided test-time self-refinement loop.

Problem

Text-guided image editing typically regenerates the entire target image, wasting computation and biasing training toward reconstructing non-edited regions rather than the intended edits.

Approach

Formulate editing as predicting only the tokens inside user-specified editing regions, using an any-order autoregressive T2I model (RLlamaGen) pre-trained with learned shuffled positional embeddings, and add editing/non-editing mask embeddings to condition generation; test-time scaling iteratively regenerates low-scoring regions chosen by Grad-CAM over CLIP tokens and ImageReward.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use NEP rather than full-image NTP generation (ablation)NEP image editing · MagicBrush multi-turnL1: 0.0968 -> 0.0712Helped
Add editing and unediting mask embeddings (ERC) (ablation)NEP image editing · MagicBrush multi-turnL1: 0.0741 -> 0.0712Helped
Use random in-mask order instead of in-mask raster scan (ablation)RLlamaGen zero-shot editing · MagicBrush single-turnL1: 0.0743 -> 0.0741No clear effect
Use random in-mask order instead of in-mask raster scan (ablation)RLlamaGen zero-shot editing · MagicBrush multi-turnL1: 0.0916 -> 0.0911No clear effect
Add NEP test-time scaling to RLlamaGenRLlamaGen text-to-image generation · MS-COCO 30KCLIP: 0.325 -> 0.330Helped
Add NEP test-time scaling to RLlamaGenRLlamaGen text-to-image generation · MS-COCO 30KFID: 11.49 -> 10.18Helped
Add one revision round (ablation)RLlamaGen with NEP test-time scaling · MS-COCO 30KFID: 11.49 -> 9.94Helped

Surprising findings

Limitations

Experimental setup

Datasets: ALLaVA-LAION CC12M Kosmos-G LAION-LVIS-220 LAION-COCO-AESTHETIC LAION-COCO-17M ShareGPT4V UltraEdit

Benchmarks: MagicBrush Emu Edit MS-COCO 30K

Metrics: L1 L2 CLIP-I DINO CLIP-T CLIPdir CLIPout CLIPimg FID CLIP score

Baselines: UltraEdit EditAR FireEdit AnySD InstructPix2Pix MagicBrush HIVE Null Text Inversion GLIDE Blended Diffusion SD-SDEdit MIGE

Builds on: LlamaGen MaskGIT UltraEdit ImageReward

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy