journal article·2026-07-04Open access

Coordinating Drag-Based Structure Editing and Reference Style Transfer in Diffusion Models for Anime Images

Youdong Ding, Wenjing Yu, Yafan Geng, Feifan Cai

Applied Sciences· Volume 16· Issue 13

Abstract

Reference guided anime editing is challenging when the target requires both rendering style transfer and local structural change. Existing diffusion stylization methods that do not require training usually assume a fixed content layout, while drag-based editors deform local structures without enforcing a separate style reference. Directly combining them is unstable: reference attention can disrupt handle tracking during dragging, whereas stylization after dragging can weaken the edited structure. This paper proposes AnchorHandoff, a temporally coordinated diffusion framework for joint drag and style editing. Drag optimization is performed with style injection disabled, followed by a short interval without style injection that lets the edited structure stabilize. A predicted clean sample from this state after dragging is then used as an anchor: content queries are refreshed from the anchor, and reference style keys and values are replayed on the edited layout. Soft correspondences from intermediate attention features guide style injection toward compatible regions without parsers or segmentation labels. On a curated anime benchmark, controlled comparisons, ablations, and a blind study with 36 participants show that AnchorHandoff reduces residual tracking error and feature structure distortion while maintaining comparable distribution level style alignment. The method remains limited under very large structural changes, but the results highlight temporal handoff as an important factor in joint anime structure and style editing.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Generative Adversarial Networks and Image Synthesis · Human Motion and Animation · Artificial Intelligence in Games

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Shanghai Film Academy, Shanghai University, Shanghai 200072, China

References (51)

Show source-provided references
1. Ho, J., Jain, A., and Abbeel, P. (2020, January 6–12). Denoising Diffusion Probabilistic Models. Proceedings of the Advances in Neural Information Processing Systems, Virtual.
2. Rombach, R., Blattmann, A., Lorenz, D., Esser, P., and Ommer, B. (2022, January 19–24). High-Resolution Image Synthesis with Latent Diffusion Models. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA.10.1109/CVPR52688.2022.01042 ↗
3. Lightweight Diffusion Models: A Survey10.1007/s10462-024-10800-8 ↗
4. Diffusion Models in Vision: A Survey10.1109/TPAMI.2023.3261988 ↗
5. Comprehensive Exploration of Diffusion Models in Image Generation: A Survey10.1007/s10462-025-11110-3 ↗
6. Zhang, L., Rao, A., and Agrawala, M. (2023, January 2–6). Adding Conditional Control to Text-to-Image Diffusion Models. Proceedings of the IEEE/CVF International Conference on Computer Vision, Paris, France.10.1109/ICCV51070.2023.00355 ↗
7. Watanabe, Y., Togo, R., Maeda, K., Ogawa, T., and Haseyama, M. (2024). Text-Guided Image Editing Based on Post Score for Gaining Attention on Social Media. Sensors, 24.10.3390/s24030921 ↗
8. Yu, X., Gu, X., Hu, X., and Sun, J. (2025). ENGDM: Enhanced Non-Isotropic Gaussian Diffusion Model for Progressive Image Editing. Sensors, 25.10.3390/s25102970 ↗
9. Artistic Style Transfer for Videos and Spherical Images10.1007/s11263-018-1089-z ↗
10. Neural Style Transfer: A Review10.1109/TVCG.2019.2921336 ↗
11. Painting Style Transfer for Head Portraits Using Convolutional Neural Networks10.1145/2897824.2925968 ↗
12. Portrait Style Transfer Using Deep Convolutional Neural Networks and Facial Segmentation10.1016/j.compeleceng.2020.106655 ↗
13. Cartoon-Style Image Rendering Transfer Based on Neural Networks
14. Asperti, A., Colasuonno, G., and Guerra, A. (2023). Portrait Reification with Generative Diffusion Models. Appl. Sci., 13.10.3390/app13116487 ↗
15. Everaert, M.N., Bocchio, M., Arpa, S., Süsstrunk, S., and Achanta, R. (2023, January 2–6). Diffusion in Style. Proceedings of the IEEE/CVF International Conference on Computer Vision, Paris, France.10.1109/ICCV51070.2023.00214 ↗
16. Wang, Z., Zhao, L., and Xing, W. (2023, January 2–6). StyleDiffusion: Controllable Disentangled Style Transfer via Diffusion Models. Proceedings of the IEEE/CVF International Conference on Computer Vision, Paris, France.10.1109/ICCV51070.2023.00706 ↗
17. Chung, J., Hyun, S., and Heo, J.P. (2024, January 17–21). Style Injection in Diffusion: A Training-Free Approach for Adapting Large-Scale Diffusion Models for Style Transfer. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPR52733.2024.00840 ↗
18. Alaluf, Y., Garibi, D., Patashnik, O., Averbuch-Elor, H., and Cohen-Or, D. (2024). Cross-Image Attention for Zero-Shot Appearance Transfer. Proceedings of the ACM SIGGRAPH 2024 Conference Papers, Association for Computing Machinery.10.1145/3641519.3657423 ↗
19. Ye, H., Zhang, J., Liu, S., Han, X., and Yang, W. (2023). IP-Adapter: Text Compatible Image Prompt Adapter for Text-to-Image Diffusion Models. arXiv.
20. Pan, X., Tewari, A., Leimkühler, T., Liu, L., Meka, A., and Theobalt, C. (2023). Drag Your GAN: Interactive Point-Based Manipulation on the Generative Image Manifold. Proceedings of the ACM SIGGRAPH 2023 Conference Proceedings, Association for Computing Machinery.10.1145/3588432.3591500 ↗
21. Shi, Y., Xue, C., Liew, J.H., Pan, J., Yan, H., Zhang, W., Tan, V.Y.F., and Bai, S. (2024, January 17–21). DragDiffusion: Harnessing Diffusion Models for Interactive Point-Based Image Editing. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPR52733.2024.00844 ↗
22. Gatys, L.A., Ecker, A.S., and Bethge, M. (2016, January 27–30). Image Style Transfer Using Convolutional Neural Networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.10.1109/CVPR.2016.265 ↗
23. Huang, X., and Belongie, S. (2017, January 22–29). Arbitrary Style Transfer in Real-Time with Adaptive Instance Normalization. Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy.10.1109/ICCV.2017.167 ↗
24. Image Neural Style Transfer: A Review10.1016/j.compeleceng.2023.108723 ↗
25. Xu, Y., Xia, M., Hu, K., Zhou, S., and Weng, L. (2025). Style Transfer Review: Traditional Machine Learning to Deep Learning. Information, 16.10.3390/info16020157 ↗
26. Hertz, A., Voynov, A., Fruchter, S., and Cohen-Or, D. (2024, January 17–21). Style Aligned Image Generation via Shared Attention. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPR52733.2024.00457 ↗
27. Kang, M., and Choi, Y.S. (2025). FreeMix: Personalized Structure and Appearance Control Without Finetuning. Appl. Sci., 15.10.3390/app15189889 ↗
28. Yu, C., Han, C., and Zhang, C. (2025). Multi-Source Training-Free Controllable Style Transfer via Diffusion Models. Symmetry, 17.10.3390/sym17020290 ↗
29. Xiang, Z., Wan, X., Xu, L., Yu, X., and Mao, Y. (2024). A Training-Free Latent Diffusion Style Transfer Method. Information, 15.10.3390/info15100588 ↗
30. Ling, P., Chen, L., Zhang, P., Chen, H., Jin, Y., and Zheng, J. (2024, January 17–21). FreeDrag: Feature Dragging for Reliable Point-Based Image Editing. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPR52733.2024.00655 ↗
31. Liu, H., Xu, C., Yang, Y., Zeng, L., and He, S. (2024, January 17–21). Drag Your Noise: Interactive Point-Based Editing via Diffusion Semantic Propagation. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPR52733.2024.00644 ↗
32. Cui, Y., Zhao, X., Zhang, G., Cao, S., Ma, K., and Wang, L. (2024). StableDrag: Stable Dragging for Point-Based Image Editing. Proceedings of the Computer Vision—ECCV 2024, Springer.10.1007/978-3-031-73636-0_20 ↗
33. Zhang, Z., Liu, H., Chen, J., and Xu, X. (2025, January 24–28). GoodDrag: Towards Good Practices for Drag Editing with Diffusion Models. Proceedings of the Thirteenth International Conference on Learning Representations, Singapore.
34. Mou, C., Wang, X., Song, J., Shan, Y., and Zhang, J. (2024, January 7–11). DragonDiffusion: Enabling Drag-Style Manipulation on Diffusion Models. Proceedings of the Twelfth International Conference on Learning Representations, Vienna, Austria.
35. Attention Mechanisms in Computer Vision: A Survey10.1007/s41095-022-0271-y ↗
36. Transformers in Vision: A Survey10.1145/3505244 ↗
37. Tumanyan, N., Geyer, M., Bagon, S., and Dekel, T. (2023, January 18–22). Plug-and-Play Diffusion Features for Text-Driven Image-to-Image Translation. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada.10.1109/CVPR52729.2023.00191 ↗
38. Cao, M., Wang, X., Qi, Z., Shan, Y., Qie, X., and Zheng, Y. (2023, January 2–6). MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editing. Proceedings of the IEEE/CVF International Conference on Computer Vision, Paris, France.10.1109/ICCV51070.2023.02062 ↗
39. Pan, Z., Kuang, Y., Lan, J., and Zhang, L. (2025). High-Precision Image Editing via Dual Attention Control in Diffusion Models Without Fine-Tuning. Appl. Sci., 15.10.3390/app15031079 ↗
40. A Survey of Multimodal Controllable Diffusion Models10.1007/s11390-024-3814-0 ↗
41. Song, J., Meng, C., and Ermon, S. (2021, January 3–7). Denoising Diffusion Implicit Models. Proceedings of the International Conference on Learning Representations, Virtual.
42. Mokady, R., Hertz, A., Aberman, K., Pritch, Y., and Cohen-Or, D. (2023, January 18–22). Null-Text Inversion for Editing Real Images Using Guided Diffusion Models. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada.10.1109/CVPR52729.2023.00585 ↗
43. Hu, E.J., Shen, Y., Wallis, P., Allen-Zhu, Z., Li, Y., Wang, S., Wang, L., and Chen, W. (2022, January 25–29). LoRA: Low-Rank Adaptation of Large Language Models. Proceedings of the International Conference on Learning Representations, Virtual.
44. Kolkin, N., Salavon, J., and Shakhnarovich, G. (2019, January 16–20). Style Transfer by Relaxed Optimal Transport and Self-Similarity. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA.10.1109/CVPR.2019.01029 ↗
45. Zhu, M., He, X., Wang, N., Wang, X., and Gao, X. (2023, January 2–6). All-to-Key Attention for Arbitrary Style Transfer. Proceedings of the IEEE/CVF International Conference on Computer Vision, Paris, France.10.1109/ICCV51070.2023.02112 ↗
46. Deng, Y., Tang, F., Dong, W., Ma, C., Pan, X., Wang, L., and Xu, C. (2022, January 19–24). StyTr2: Image Style Transfer With Transformers. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA.10.1109/CVPR52688.2022.01104 ↗
47. Liu, S., Lin, T., He, D., Li, F., Wang, M., Li, X., Sun, Z., Li, Q., and Ding, E. (2021, January 10–17). AdaAttN: Revisit Attention Mechanism in Arbitrary Neural Style Transfer. Proceedings of the IEEE/CVF International Conference on Computer Vision, Virtual.10.1109/ICCV48922.2021.00658 ↗
48. Hong, K., Jeon, S., Lee, J., Ahn, N., Kim, K., Lee, P., Kim, D., Uh, Y., and Byun, H. (2023, January 2–6). AesPA-Net: Aesthetic Pattern-Aware Style Transfer Networks. Proceedings of the IEEE/CVF International Conference on Computer Vision, Paris, France.10.1109/ICCV51070.2023.02080 ↗
49. Zhang, R., Isola, P., Efros, A.A., Shechtman, E., and Wang, O. (2018, January 18–22). The Unreasonable Effectiveness of Deep Features as a Perceptual Metric. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00068 ↗
50. Heusel, M., Ramsauer, H., Unterthiner, T., Nessler, B., and Hochreiter, S. (2017, January 4–9). GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibrium. Proceedings of the Advances in Neural Information Processing Systems, Long Beach, CA, USA.
51. Evaluation in Neural Style Transfer: A Review10.1111/cgf.15165 ↗