Inference-time Trajectory Optimization for Structure-Preserving Manga Image Editing
Organizations: Mantra Inc.
Abstract
We present a lightweight, training-free trajectory correction method that adapts a pretrained image editing model to each input manga image using only the input itself. Despite recent progress in pretrained image editing, such models often underperform on manga because they are trained predominantly on natural-image data, while re-training or fine-tuning them on manga is costly and raises copyright concerns. Many manga image editing tasks encountered in practice are structure-preserving, requiring local details to be modified while the input's global composition is retained. To support this common editing setting, our method corrects the early editing trajectory by anchoring it to an empty-prompt reconstruction trajectory. Experiments indicate improved performance in the main text-removal setting, while qualitative examples suggest better composition preservation in screentone synthesis. With FLUX.1 Kontext on an RTX A6000, the method incurs 11% runtime overhead and 0.1% peak-memory overhead; an additional runtime measurement with Qwen Image Edit 2509 on an NVIDIA H200 shows only a 0.1% increase.
Figures & tables
| Method | Full image | Text region | |||
|---|---|---|---|---|---|
| PSNR | SSIM | LPIPS | PSNR | SSIM | |
| Baseline | 11.84 | 48.02 | 41.13 | 8.71 | 28.90 |
| Ours | 22.27 | 86.25 | 7.32 | 18.50 | 78.13 |
| Method | Model | Full image | Text region | |||
|---|---|---|---|---|---|---|
| PSNR | SSIM | LPIPS | PSNR | SSIM | ||
| Baseline | Qwen Image Edit 2509 | 19.62 | 72.76 | 7.16 | 19.07 | 60.77 |
| Noise Inversion | Qwen Image Edit 2509 | 20.29 | 75.66 | 7.23 | 18.94 | 61.80 |
| Ours | Qwen Image Edit 2509 | 22.07 | 80.61 | 6.00 | 20.04 | 64.15 |
| FlowChef ( Patel et al. 2025 ) | Qwen Image 2512 | 13.97 | 52.11 | 39.68 | 5.68 | 8.42 |
| FlowEdit ( Kulikov et al. 2025 ) | Qwen Image 2512 | 10.66 | 35.24 | 10.69 | 8.96 | 16.57 |
| Method | Full image | Text region | |||
|---|---|---|---|---|---|
| PSNR | SSIM | LPIPS | PSNR | SSIM | |
| Baseline | 19.62 | 72.76 | 7.16 | 19.07 | 60.77 |
| Edit prompt | 21.57 | 80.68 | 6.74 | 18.69 | 61.99 |
| Empty prompt | 22.07 | 80.61 | 6.00 | 20.04 | 64.15 |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | Full image | Text region | |||
|---|---|---|---|---|---|
| PSNR | SSIM | LPIPS | PSNR | SSIM | |
| Baseline | 19.62 | 72.76 | 7.16 | 19.07 | 60.77 |
| Straight path | 19.69 | 73.13 | 7.74 | 19.13 | 61.12 |
| Optimized path | 22.07 | 80.61 | 6.00 | 20.04 | 64.15 |
| Method | Hyper- | Full image | Text region | |||
|---|---|---|---|---|---|---|
| param. | PSNR | SSIM | LPIPS | PSNR | SSIM | |
| Baseline | 19.62 | 72.76 | 7.16 | 19.07 | 60.77 | |
| Practical operating range | ||||||
| Ours | 20.89 | 76.87 | 6.94 | 19.71 | 62.56 | |
| 22.07 | 80.61 | 6.00 | 20.04 | 64.15 | ||
| 22.31 | 81.67 | 6.01 | 19.82 | 63.59 | ||
| Method | Model | Full image | Text region | |||
|---|---|---|---|---|---|---|
| PSNR | SSIM | LPIPS | PSNR | SSIM | ||
| Baseline | Qwen Image Edit 2509 | 19.62 | 72.76 | 7.16 | 19.07 | 60.77 |
| Ours | Qwen Image Edit 2509 | 22.07 | 80.61 | 6.00 | 20.04 | 64.15 |
| Baseline | Qwen Image Edit 2511 | 21.19 | 82.63 | 10.16 | 18.51 | 62.86 |
| Ours | Qwen Image Edit 2511 | 21.39 | 83.05 | 9.84 | 18.54 | 62.55 |
| Baseline | FLUX.1 Kontext [dev] | 26.42 | 90.47 | 6.60 | 21.00 | 66.97 |
| Method | Model | FID | CMMD |
|---|---|---|---|
| Baseline | Qwen Image Edit 2511 | 36.08 | 0.3140 |
| Noise Inversion | Qwen Image Edit 2511 | 36.71 | 0.3123 |
| Ours | Qwen Image Edit 2511 | 36.07 | 0.3129 |
| FlowChef | Qwen Image 2512 | 81.88 | 0.9993 |
| FlowEdit | Qwen Image 2512 | 61.32 | 0.4669 |
| Baseline | FLUX.1 Kontext [dev] | 92.97 | 0.3746 |
Image Editing
Image editing changes selected visual content while preserving the parts of an image that should remain unchanged.
See all 298 papers