Proceedings

OrienDiffusion: Taming Diffusion Towards Fine-grained Portrait Matting

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 1713-1721.

https://doi.org/10.24963/ijcai.2026/191

Abstract

Recently, diffusion models have been applied to reformulate the regressive portrait matting task as a gradual denoising-driven generative process, alleviating the inherent limitations of discriminative models via iterative error correction. However, due to the lack of high-quality ground-truth mattes, existing generative methods for portrait matting still suffer from severe detail degradation, especially in structurally delicate hair strands and pixels with ambiguous colors and context. To address these challenges, we propose OrienDiffusion, a diffusion-based framework tailored for fine-grained portrait matting. Specifically, we construct a Hair Orientation Field to conditionally guide the denoising process, constraining the generation toward authentic structural consistency in hair regions. Furthermore, instead of relying on overly encoded deep features or ambiguous original color cues as existing methods do, we develop a Pixel Color-anchored Local Structure Embedding approach, which models alpha matte transitions as local structural variations, achieving accurate alpha estimation in pixels with ambiguous colors or context. Extensive experiments on multiple portrait matting datasets demonstrate that OrienDiffusion achieves state-of-the-art performance in these matting challenging regions. Code is available at https://github.com/xtz0001/OrienDiffusion.

  1. [Ahonen et al., 2004] Timo Ahonen, Abdenour Hadid, and Matti Pietikäinen. Face recognition with local binary pat- terns. In European Conference on Computer Vision, pages 469-481, 2004.
  2. [Carion et al., 2025] Nicolas Carion, Laura Gustafson, Yuan-Ting Hu, Shoubhik Debnath, Ronghang Hu, Didac Suris, Chaitanya Ryali, Kalyan Vasudev Alwala, Haitham Khedr, Andrew Huang, et al. Sam 3: Segment anything with concepts. arXiv preprint arXiv:2511.16719, 2025.
  3. [Chen et al., 2013] Qifeng Chen, Dingzeyu Li, and Chi- Keung Tang. Knn matting. IEEE Transactions on Pat- tern Analysis and Machine Intelligence, 35(9):2175-2188, 2013.
  4. [Chen et al., 2018] Quan Chen, Tiezheng Ge, Yanyu Xu, Zhiqiang Zhang, Xinxin Yang, and Kun Gai. Semantic human matting. In ACM International Conference on Mul- timedia, pages 618-626, 2018.
  5. [Chen et al., 2023] Shoufa Chen, Peize Sun, Yibing Song, and Ping Luo. Diffusiondet: Diffusion model for object detection. In IEEE International Conference on Computer Vision, pages 19830-19843, 2023.
  6. [Chuang et al., 2001] Yung-Yu Chuang, Brian Curless, David H Salesin, and Richard Szeliski. A bayesian approach to digital matting. In IEEE Computer Society Conference on Computer Vision and Pattern Recognition, pages II-II, 2001.
  7. [Fu et al., 2024] Xiao Fu, Wei Yin, Mu Hu, Kaixuan Wang, Yuexin Ma, Ping Tan, Shaojie Shen, Dahua Lin, and Xi- aoxiao Long. Geowizard: Unleashing the diffusion priors for 3d geometry estimation from a single image. In Eu- ropean Conference on Computer Vision, pages 241-258, 2024.
  8. [Ho et al., 2020] Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. Advances in Neural Information Processing Systems, 33:6840-6851, 2020.
  9. [Hu et al., 2024] Yihan Hu, Yiheng Lin, Wei Wang, Yao Zhao, Yunchao Wei, and Humphrey Shi. Diffusion for nat- ural image matting. In European Conference on Computer Vision, pages 181-199, 2024.
  10. [Huang and Belongie, 2017] Xun Huang and Serge Be- longie. Arbitrary style transfer in real-time with adaptive instance normalization. In IEEE International Conference on Computer Vision, pages 1501-1510, 2017.
  11. [Huang et al., 2025] Longfei Huang, Yu Liang, Hao Zhang, Jinwei Chen, Wei Dong, Lunde Chen, Wanyu Liu, Bo Li, and Peng-Tao Jiang. Sdmatte: Grafting diffusion models for interactive matting. In IEEE International Conference on Computer Vision, pages 15229-15239, 2025.
  12. [Ke et al., 2022] Zhanghan Ke, Jiayu Sun, Kaican Li, Qiong Yan, and Rynson WH Lau. Modnet: Real-time trimap- free portrait matting via objective decomposition. In AAAI Conference on Artificial Intelligence, pages 1140-1147, 2022.
  13. [Ke et al., 2024] Bingxin Ke, Anton Obukhov, Shengyu Huang, Nando Metzger, Rodrigo Caye Daudt, and Kon- rad Schindler. Repurposing diffusion-based image gener- ators for monocular depth estimation. In IEEE Conference on Computer Vision and Pattern Recognition, pages 9492- 9502, 2024.
  14. [Kim et al., 2025] Beomyoung Kim, Chanyong Shin, Joon- hyun Jeong, Hyungsik Jung, Se-Yun Lee, Sewhan Chun, Dong-Hyun Hwang, and Joonsang Yu. Zim: Zero-shot image matting for anything. In IEEE International Con- ference on Computer Vision, pages 23828-23838, 2025.
  15. [Levin et al., 2007] Anat Levin, Dani Lischinski, and Yair Weiss. A closed-form solution to natural image matting. IEEE Transactions on Pattern Analysis and Machine In- telligence, 30(2):228-242, 2007.
  16. [Li and Lu, 2020] Yaoyi Li and Hongtao Lu. Natural image matting via guided contextual attention. In AAAI Confer- ence on Artificial Intelligence, pages 11450-11457, 2020.
  17. [Li et al., 2021] Jizhizi Li, Sihan Ma, Jing Zhang, and Dacheng Tao. Privacy-preserving portrait matting. In ACM International Conference on Multimedia, pages 3501- 3509, 2021.
  18. [Li et al., 2024] Xiaodi Li, Zongxin Yang, Ruijie Quan, and Yi Yang. Drip: Unleashing diffusion priors for joint fore- ground and alpha prediction in image matting. Advances in Neural Information Processing Systems, pages 79868- 79888, 2024.
  19. [Liu et al., 2024] Haipeng Liu, Yang Wang, Biao Qian, Meng Wang, and Yong Rui. Structure matters: Tackling the semantic discrepancy in diffusion models for image inpainting. In IEEE Conference on Computer Vision and Pattern Recognition, pages 8038-8047, 2024.
  20. [Liu et al., 2025] Wenze Liu, Zixuan Ye, Hao Lu, Zhiguo Cao, and Xiangyu Yue. Training matting models without alpha labels. In AAAI Conference on Artificial Intelligence, pages 5604-5612, 2025.
  21. [Lu et al., 2019] Hao Lu, Yutong Dai, Chunhua Shen, and Songcen Xu. Indices matter: Learning to index for deep image matting. In IEEE International Conference on Com- puter Vision, pages 3266-3275, 2019.
  22. [Lutz et al., 2018] Sebastian Lutz, Konstantinos Ampliani- tis, and Aljosa Smolic. Alphagan: Generative adversar- ial networks for natural image matting. arXiv preprint arXiv:1807.10088, 2018.
  23. [Pan et al., 2025] Yimin Pan, Matthias Niessner, and Tobias Kirschstein. Hairgs: Hair strand reconstruction based on 3d gaussian splatting. arXiv preprint arXiv:2509.07774, 2025.
  24. [Park et al., 2019] Taesung Park, Ming-Yu Liu, Ting-Chun Wang, and Jun-Yan Zhu. Semantic image synthesis with spatially-adaptive normalization. In IEEE Conference on Computer Vision and Pattern Recognition, pages 2337- 2346, 2019.
  25. [Pietikäinen, 2010] Matti Pietikäinen. Local binary patterns. Scholarpedia, 5(3):9775, 2010.
  26. [Rhemann et al., 2009] Christoph Rhemann, Carsten Rother, Jue Wang, Margrit Gelautz, Pushmeet Kohli, and Pamela Rott. A perceptually motivated online benchmark for im- age matting. In IEEE Conference on Computer Vision and Pattern Recognition, pages 1826-1833, 2009.
  27. [Rombach et al., 2022] Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models. In IEEE Conference on Computer Vision and Pattern Recognition, pages 10684-10695, 2022.
  28. [Sengupta et al., 2020] Soumyadip Sengupta, Vivek Ja- yaram, Brian Curless, Steven M Seitz, and Ira Kemelmacher-Shlizerman. Background matting: The world is your green screen. In IEEE Conference on Com- puter Vision and Pattern Recognition, pages 2291-2300, 2020.
  29. [Shen et al., 2016] Xiaoyong Shen, Xin Tao, Hongyun Gao, Chao Zhou, and Jiaya Jia. Deep automatic portrait matting. In European Conference on Computer Vision, pages 92- 107, 2016.
  30. [Sun et al., 2004] Jian Sun, Jiaya Jia, Chi-Keung Tang, and Heung-Yeung Shum. Poisson matting. In ACM SIG- GRAPH, pages 315-321. 2004.
  31. [Sun et al., 2021] Yanan Sun, Chi-Keung Tang, and Yu- Wing Tai. Semantic image matting. In IEEE Confer- ence on Computer Vision and Pattern Recognition, pages 11120-11129, 2021.
  32. [Sun et al., 2022] Yanan Sun, Chi-Keung Tang, and Yu- Wing Tai. Human instance matting via mutual guidance and multi-instance refinement. In IEEE Conference on Computer Vision and Pattern Recognition, pages 2647- 2656, 2022.
  33. [Tan et al., 2020] Zhentao Tan, Menglei Chai, Dongdong Chen, Jing Liao, Qi Chu, Lu Yuan, Sergey Tulyakov, and Nenghai Yu. Michigan: multi-input-conditioned hair im- age generation for portrait editing. ACM Transactions on Graphics, 39(4):95-1, 2020.
  34. [Wang et al., 2024a] Zhixiang Wang, Baiang Li, Jian Wang, Yu-Lun Liu, Jinwei Gu, Yung-Yu Chuang, and Shin'Ichi Satoh. Matting by generation. In ACM SIGGRAPH, pages 1-11, 2024.
  35. [Wang et al., 2024b] Zitao Wang, Qiguang Miao, Yue Xi, and Peipei Zhao. Eformer: Enhanced transformer towards semantic-contour features of foreground for portraits mat- ting. In IEEE Conference on Computer Vision and Pattern Recognition, pages 3880-3889, 2024.
  36. [Xu et al., 2022] Yangyang Xu, Zeyang Zhou, and Shengfeng He. Self-supervised matting-specific por- trait enhancement and generation. IEEE Transactions on Image Processing, 31:5332-5342, 2022.
  37. [Xu et al., 2025] Yangyang Xu, Shengfeng He, Wenqi Shao, Yong Du, Kwan-Yee K Wong, Yu Qiao, Jun Yu, and Ping Luo. Diffusionmat: Alpha matting as deterministic se- quential refinement learning. In ACM International Con- ference on Multimedia, pages 9454-9462, 2025.
  38. [Yang et al., 2025] Wenbing Yang, Wei Ma, Qing Mi, and Hongbin Zha. Multi-task gradual inference with a single encoder-decoder network for automatic portrait matting. Computational Visual Media, 11(6):1385-1398, 2025.
  39. [Yao et al., 2024] Jingfeng Yao, Xinggang Wang, Shusheng Yang, and Baoyuan Wang. Vitmatte: Boosting image mat- ting with pre-trained plain vision transformers. Informa- tion Fusion, 103:102091, 2024.
  40. [Ye et al., 2023] Hu Ye, Jun Zhang, Sibo Liu, Xiao Han, and Wei Yang. Ip-adapter: Text compatible image prompt adapter for text-to-image diffusion models. arXiv preprint arXiv:2308.06721, 2023.
  41. [Yu et al., 2021a] Haichao Yu, Ning Xu, Zilong Huang, Yuqian Zhou, and Humphrey Shi. High-resolution deep image matting. In AAAI Conference on Artificial Intelli- gence, volume 35, pages 3217-3224, 2021.
  42. [Yu et al., 2021b] Qihang Yu, Jianming Zhang, He Zhang, Yilin Wang, Zhe Lin, Ning Xu, Yutong Bai, and Alan Yuille. Mask guided matting via progressive refinement network. In IEEE Conference on Computer Vision and Pattern Recognition, pages 1154-1163, 2021.
  43. [Yu et al., 2025] Qian Yu, Peng-Tao Jiang, Hao Zhang, Jin- wei Chen, Bo Li, Lihe Zhang, and Huchuan Lu. High- precision dichotomous image segmentation via probing diffusion capacity. In International Conference on Learn- ing Representations, 2025.
  44. [Zhang et al., 2023] Lvmin Zhang, Anyi Rao, and Maneesh Agrawala. Adding conditional control to text-to-image dif- fusion models. In IEEE International Conference on Com- puter Vision, pages 3836-3847, 2023.
  45. [Zhang et al., 2025] Siyuan Zhang, Wei Ma, Libin Liu, Zheng Li, and Hongbin Zha. Training-free fourier phase diffusion for style transfer. In International Joint Confer- ence on Artificial Intelligence, pages 2386-2394, 2025. IJCAI
  46. [Zhong and Zharkov, 2024] Yatao Zhong and Ilya Zharkov. Lightweight portrait matting via regional attention and re- finement. In IEEE Winter Conference on Applications of Computer Vision, pages 4158-4167, 2024.
  47. [Zhou et al., 2024] Caixia Zhou, Yaping Huang, Mochu Xi- ang, Jiahui Ren, Haibin Ling, and Jing Zhang. Genera- tive edge detection with stable diffusion. arXiv preprint arXiv:2410.03080, 2024.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards