结合Transformer的扩散模型用于人脸美丽预测OA
Diffusion Model with Transformer for Facial Beauty Prediction
模型过度拟合数据库中的噪声标签,导致人脸美丽预测任务中存在泛化能力较弱、预测准确率降低的问题.针对此问题,提出了一种结合Transformer的扩散模型用于训练过程中的标签去噪和重建.模型学习条件概率分布,以"分类器引导"方式控制生成过程,包含条件信息编码器和去噪网络.首先,迁移Swin Transformer的预训练权重,微调并获取初步预测,作为输出先验;其次,将先验知识作为扩散模型后向过程端点的均值,并调节每一个时间步的去噪转换;最后,提取人脸美丽特征,经扩散模型推理得到预测结果.基于3个人脸美丽数据库进行了实验验证,结果表明,所提模型优于基准扩散模型及人脸美丽预测方法.就准确率而言,所提模型在SCUT-FBP5500、LSAFBD、CelebA数据库上分别取得76.50%、72.65%、81.78%的准确率,分别比基准扩散模型提升了0.73%、1.76%、1.12%,比人脸美丽预测方法提升了1.00%、4.42%、0.37%,较好地解决了噪声标签的问题,提高了预测性能,可广泛应用于其他图像分类任务或相关领域.
Overfitting to noisy labels in the database leads to weak generalization capability and reduced prediction accuracy in facial beauty prediction tasks.To address the issue,a Transformer-integrated diffusion model for label denoising and reconstruction during training is proposed.The model learns conditional probability distributions to control the generation process through"classifier guidance,"comprising a conditional information encoder and a denoising network.First,pre-trained weights of Swin Transformer are transferred and fine-tuned to obtain preliminary predictions as output priors.Second,these priors are utilized as the mean of the endpoint in the reverse process of the diffusion model,regulating denoising transitions at each timestep.Finally,facial beauty features are extracted and fed into the diffusion model for inference to generate prediction results.Experimental validation on three facial beauty databases,SCUT-FBP5500,LSAFBD,and CelebA,demonstrates that the proposed model outperforms baseline diffusion model and existing facial beauty prediction methods.In terms of accuracy,the model achieves 76.50%,72.65%,and 81.78%on the three databases respectively,surpassing the baseline diffusion model by 0.73%,1.76%,and 1.12%,and outperforming existing facial beauty prediction methods by 1.00%,4.42%,and 0.37%.The approach effectively addresses noisy label issues,enhances prediction performance,and can be widely applied to other image classification tasks or related fields.
甘俊英;黎慧聪;陈汉添;庄圳鑫;陈真
五邑大学电子与信息工程学院,广东 江门 529020五邑大学电子与信息工程学院,广东 江门 529020五邑大学电子与信息工程学院,广东 江门 529020五邑大学电子与信息工程学院,广东 江门 529020五邑大学电子与信息工程学院,广东 江门 529020
信息技术与安全科学
人脸美丽预测扩散模型Transformer条件信息编码器
facial beauty predictiondiffusion modelTransformerconditional information encoder
《机电工程技术》 2026 (3)
74-79,6
国家自然科学基金(6177010044)
评论