Yifei Qian
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Previous Organizations / Institutes
The organizations / institutes from the scholar's other articles in the past ten years
Research Subjects
Yifei Qian has a total of 33 co-authors. Here are the top co-authors by number of shared publications:
- Ognjen Arandjelović
University of St Andrews
4 shared publications - Zhongliang Guo
School of Computer Science, University of St Andrews, St Andrews, U.K.
4 shared publications Carl R. Donovan
School of Maths and Statistics, University of St Andrews, St Andrews, U.K.
2 shared publications- Carl Robert Donovan
School of Mathematics and Statistics University of St Andrews St Andrews UK
2 shared publications - Chun Pong Lau
City University of Hong Kong, Hong Kong, Hong Kong
2 shared publications - Lei Fang
School of Computer Science, University of St Andrews, St Andrews, U.K.
2 shared publications
Latest Publications
- Open Access
- 11 December 2025
- Published by Elsevier in Plant Phenomics
- Vol. 8 (1)
Root segmentation beyond species boundaries: A generalizable framework for anatomical analysis
- 11 December 2025
- Published by Elsevier in Plant Phenomics
- Vol. 8 (1)
Open AccessRoot segmentation beyond species boundaries: A generalizable framework for anatomical analysis
- 3 December 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Information Forensics and Security
- Vol. 20 (15566013) , 12918-12933
A Gray-Box Attack Against Latent Diffusion Model-Based Image Editing by Posterior Collapse
Recent advancements in Latent Diffusion Models (LDMs) have revolutionized image synthesis and manipulation, raising significant concerns about data misappropriation and intellectual property infringement. While adversarial attacks have been extensively explored as a protective measure against such misuse of generative AI, current approaches are severely limited by their heavy reliance on model-specific knowledge and substantial computational costs. Drawing inspiration from the posterior collapse phenomenon observed in VAE training, we propose the Posterior Collapse Attack (PCA), a novel framework for protecting images from unauthorized manipulation. Through comprehensive theoretical analysis and empirical validation, we identify two distinct collapse phenomena during VAE inference: diffusion collapse and concentration collapse. Based on this discovery, we design a unified loss function that can flexibly achieve both types of collapse through parameter adjustment, each corresponding to different protection objectives in preventing image manipulation. Our method significantly reduces dependence on model-specific knowledge by requiring access to only the VAE encoder, which constitutes less than 4% of LDM parameters. Notably, PCA achieves prompt-invariant protection by operating on the VAE encoder before text conditioning occurs, eliminating the need for empty prompt optimization required by existing methods. This minimal requirement enables PCA to maintain adequate transferability across various VAE-based LDM architectures while effectively preventing unauthorized image editing. Extensive experiments show PCA outperforms existing techniques in protection effectiveness, computational efficiency (runtime and VRAM), and generalization across VAE-based LDM variants. Our code is available at https://github.com/ZhongliangGuo/PosteriorCollapseAttack.
- 3 December 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Information Forensics and Security
- Vol. 20 (15566013) , 12918-12933
A Gray-Box Attack Against Latent Diffusion Model-Based Image Editing by Posterior Collapse
Recent advancements in Latent Diffusion Models (LDMs) have revolutionized image synthesis and manipulation, raising significant concerns about data misappropriation and intellectual property infringement. While adversarial attacks have been extensively explored as a protective measure against such misuse of generative AI, current approaches are severely limited by their heavy reliance on model-specific knowledge and substantial computational costs. Drawing inspiration from the posterior collapse phenomenon observed in VAE training, we propose the Posterior Collapse Attack (PCA), a novel framework for protecting images from unauthorized manipulation. Through comprehensive theoretical analysis and empirical validation, we identify two distinct collapse phenomena during VAE inference: diffusion collapse and concentration collapse. Based on this discovery, we design a unified loss function that can flexibly achieve both types of collapse through parameter adjustment, each corresponding to different protection objectives in preventing image manipulation. Our method significantly reduces dependence on model-specific knowledge by requiring access to only the VAE encoder, which constitutes less than 4% of LDM parameters. Notably, PCA achieves prompt-invariant protection by operating on the VAE encoder before text conditioning occurs, eliminating the need for empty prompt optimization required by existing methods. This minimal requirement enables PCA to maintain adequate transferability across various VAE-based LDM architectures while effectively preventing unauthorized image editing. Extensive experiments show PCA outperforms existing techniques in protection effectiveness, computational efficiency (runtime and VRAM), and generalization across VAE-based LDM variants. Our code is available at https://github.com/ZhongliangGuo/PosteriorCollapseAttack.
- 8 July 2025
- Published by Elsevier in Pattern Recognition
- Vol. 171
Artwork protection against unauthorized neural style transfer and aesthetic color distance metric
- 8 July 2025
- Published by Elsevier in Pattern Recognition
- Vol. 171
Artwork protection against unauthorized neural style transfer and aesthetic color distance metric
- 17 June 2025
- Published by Elsevier in Pattern Recognition
- Vol. 169
Multimodal latent emotion recognition from micro-expression and physiological signal
- 17 June 2025
- Published by Elsevier in Pattern Recognition
- Vol. 169
Multimodal latent emotion recognition from micro-expression and physiological signal
- 10 October 2024
- Published by Elsevier in Pattern Recognition
- Vol. 158
Perspective-assisted prototype-based learning for semi-supervised crowd counting
- 10 October 2024
- Published by Elsevier in Pattern Recognition
- Vol. 158
Perspective-assisted prototype-based learning for semi-supervised crowd counting
- 22 April 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Circuits and Systems for Video Technology
- Vol. 34 (9) , 8230-8241
Semi-Supervised Crowd Counting With Contextual Modeling: Facilitating Holistic Understanding of Crowd Scenes
To alleviate the heavy annotation burden for training a reliable crowd counting model and thus make the model more practicable and accurate by being able to benefit from more data, this paper presents a new semi-supervised method based on the mean teacher framework. When there is a scarcity of labeled data available, the model is prone to overfit local patches. Within such contexts, the conventional approach of solely improving the accuracy of local patch predictions through unlabeled data proves inadequate. Consequently, we propose a more nuanced approach: fostering the model’s intrinsic ‘subitizing’ capability. This ability allows the model to accurately estimate the count in regions by leveraging its understanding of the crowd scenes, mirroring the human cognitive process. To achieve this goal, we apply masking on unlabeled data, guiding the model to make predictions for these masked patches based on the holistic cues. Furthermore, to help with feature learning, herein we incorporate a fine-grained density classification task. Our method is general and applicable to most existing crowd counting methods as it doesn’t have strict structural or loss constraints. In addition, we observe that the model trained with our framework shows strong contextual modeling capabilities, which allows it to make robust predictions even when some local details of patches are lost. Our method achieves the state-of-the-art performance, surpassing previous approaches by a large margin on challenging benchmarks such as ShanghaiTech A and UCF-QNRF. The code is available at: https://github.com/cha15yq/MRC-Crowd.
- 22 April 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Circuits and Systems for Video Technology
- Vol. 34 (9) , 8230-8241
Semi-Supervised Crowd Counting With Contextual Modeling: Facilitating Holistic Understanding of Crowd Scenes
To alleviate the heavy annotation burden for training a reliable crowd counting model and thus make the model more practicable and accurate by being able to benefit from more data, this paper presents a new semi-supervised method based on the mean teacher framework. When there is a scarcity of labeled data available, the model is prone to overfit local patches. Within such contexts, the conventional approach of solely improving the accuracy of local patch predictions through unlabeled data proves inadequate. Consequently, we propose a more nuanced approach: fostering the model’s intrinsic ‘subitizing’ capability. This ability allows the model to accurately estimate the count in regions by leveraging its understanding of the crowd scenes, mirroring the human cognitive process. To achieve this goal, we apply masking on unlabeled data, guiding the model to make predictions for these masked patches based on the holistic cues. Furthermore, to help with feature learning, herein we incorporate a fine-grained density classification task. Our method is general and applicable to most existing crowd counting methods as it doesn’t have strict structural or loss constraints. In addition, we observe that the model trained with our framework shows strong contextual modeling capabilities, which allows it to make robust predictions even when some local details of patches are lost. Our method achieves the state-of-the-art performance, surpassing previous approaches by a large margin on challenging benchmarks such as ShanghaiTech A and UCF-QNRF. The code is available at: https://github.com/cha15yq/MRC-Crowd.
- Open Access
- 7 April 2023
- Published by Wiley in Ecology and Evolution
- Vol. 13 (4)
Counting animals in aerial images with a density map estimation model
Animal abundance estimation is increasingly based on drone or aerial survey photography. Manual postprocessing has been used extensively; however, volumes of such data are increasing, necessitating some level of automation, either for complete counting, or as a labour‐saving tool. Any automated processing can be challenging when using such tools on species that nest in close formation such as Pygoscelis penguins. We present here a customized CNN‐based density map estimation method for counting of penguins from low‐resolution aerial photography. Our model, an indirect regression algorithm, performed significantly better in terms of counting accuracy than standard detection algorithm (Faster‐RCNN) when counting small objects from low‐resolution images and gave an error rate of only 0.8 percent. Density map estimation methods as demonstrated here can vastly improve our ability to count animals in tight aggregations and demonstrably improve monitoring efforts from aerial imagery.
- 7 April 2023
- Published by Wiley in Ecology and Evolution
- Vol. 13 (4)
Open AccessCounting animals in aerial images with a density map estimation model
Animal abundance estimation is increasingly based on drone or aerial survey photography. Manual postprocessing has been used extensively; however, volumes of such data are increasing, necessitating some level of automation, either for complete counting, or as a labour‐saving tool. Any automated processing can be challenging when using such tools on species that nest in close formation such as Pygoscelis penguins. We present here a customized CNN‐based density map estimation method for counting of penguins from low‐resolution aerial photography. Our model, an indirect regression algorithm, performed significantly better in terms of counting accuracy than standard detection algorithm (Faster‐RCNN) when counting small objects from low‐resolution images and gave an error rate of only 0.8 percent. Density map estimation methods as demonstrated here can vastly improve our ability to count animals in tight aggregations and demonstrably improve monitoring efforts from aerial imagery.
- Open Access
- 15 September 2022
- Published by Wiley
Counting animals in aerial images with a crowd counting model
1. Animal abundance estimation is increasingly based on drone or aerial survey photography. Manual post-processing has been used extensively, however volumes of such data are increasing, necessitating some level of automation, either for complete counting, or as a labour-saving tool. Any automated processing can be challenging when using the tools on species that nest in close formation such as Pygoscelid penguins. 2. We present here an adaptation of state-of-the-art crowd-counting methodologies for counting of penguins from aerial photography. 3. The crowd-counting model performed significantly better in terms of model performance and computational efficiency than standard Faster RCNN deep-learning approaches and gave an error rate of only 0.8 percent. 4. Crowd-counting techniques as demonstrated here have the ability to vastly improve our ability to count animals in tight aggregations, which will demonstrably improve monitoring efforts from aerial imagery.
- 15 September 2022
- Published by Wiley
Open AccessCounting animals in aerial images with a crowd counting model
1. Animal abundance estimation is increasingly based on drone or aerial survey photography. Manual post-processing has been used extensively, however volumes of such data are increasing, necessitating some level of automation, either for complete counting, or as a labour-saving tool. Any automated processing can be challenging when using the tools on species that nest in close formation such as Pygoscelid penguins. 2. We present here an adaptation of state-of-the-art crowd-counting methodologies for counting of penguins from aerial photography. 3. The crowd-counting model performed significantly better in terms of model performance and computational efficiency than standard Faster RCNN deep-learning approaches and gave an error rate of only 0.8 percent. 4. Crowd-counting techniques as demonstrated here have the ability to vastly improve our ability to count animals in tight aggregations, which will demonstrably improve monitoring efforts from aerial imagery.