An Improved Bayesian Loss Function for Crowd Counting

Lixuan Zhang, Jun Yu Li, Shuheng Zhang, Ziwen Wang
{"title":"An Improved Bayesian Loss Function for Crowd Counting","authors":"Lixuan Zhang, Jun Yu Li, Shuheng Zhang, Ziwen Wang","doi":"10.1109/ICCSI55536.2022.9970647","DOIUrl":null,"url":null,"abstract":"The annotations of all the crowd counting datasets so far are sparse binary matrices, so they cannot be used to supervise training directly. The mainstream crowd counting algorithm uses a Gaussian function to smooth each head label point, and then train their model by using it as “ground truth” density map. However, such “ground-truth” density maps are not perfect due to heavy occlusion, scale variation, background interference, etc. In this paper, we propose an improved BayesianLoss for the problems existing in the current crowd counting loss function. First of all, average distance to k-nearest neighbors is use to confirm the size of Gaussian likelihood estimation kernel for each labeled point to better distinguish the boundaries between crowds. Secondly, a new background likelihood estimation method is defined to better suppress the posterior probability of the edge background during training. In the evaluation of the mean absolute error metric, our method achieves state-of-the-art results on ShanghaiTech, UCF-CC-50and NWPU datasets. And on the largest dataset NWPU, our method outperforms the best loss-function-improving method DM-Count. At the same time, our loss function combined with other crowd counting models, such as MCNN, CAN, M-SFANet and TransCrowd, achieves better results than the original model.","PeriodicalId":421514,"journal":{"name":"2022 International Conference on Cyber-Physical Social Intelligence (ICCSI)","volume":"94 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 International Conference on Cyber-Physical Social Intelligence (ICCSI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCSI55536.2022.9970647","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

The annotations of all the crowd counting datasets so far are sparse binary matrices, so they cannot be used to supervise training directly. The mainstream crowd counting algorithm uses a Gaussian function to smooth each head label point, and then train their model by using it as “ground truth” density map. However, such “ground-truth” density maps are not perfect due to heavy occlusion, scale variation, background interference, etc. In this paper, we propose an improved BayesianLoss for the problems existing in the current crowd counting loss function. First of all, average distance to k-nearest neighbors is use to confirm the size of Gaussian likelihood estimation kernel for each labeled point to better distinguish the boundaries between crowds. Secondly, a new background likelihood estimation method is defined to better suppress the posterior probability of the edge background during training. In the evaluation of the mean absolute error metric, our method achieves state-of-the-art results on ShanghaiTech, UCF-CC-50and NWPU datasets. And on the largest dataset NWPU, our method outperforms the best loss-function-improving method DM-Count. At the same time, our loss function combined with other crowd counting models, such as MCNN, CAN, M-SFANet and TransCrowd, achieves better results than the original model.
一种改进的贝叶斯损失函数用于人群计数
到目前为止,所有人群计数数据集的注释都是稀疏的二值矩阵,因此不能直接用于监督训练。主流人群计数算法使用高斯函数平滑每个头部标签点,然后将其作为“ground truth”密度图来训练他们的模型。然而,由于严重的遮挡、比例尺变化、背景干扰等原因,这种“ground-truth”密度图并不完美。针对目前人群计数损失函数存在的问题,提出了一种改进的贝叶斯损失算法。首先,使用到k近邻的平均距离来确定每个标记点的高斯似然估计核的大小,以更好地区分人群之间的边界。其次,定义了一种新的背景似然估计方法,以更好地抑制训练过程中边缘背景的后验概率;在平均绝对误差度量的评估中,我们的方法在上海科技、ucf - cc -50和NWPU数据集上取得了最先进的结果。在最大的数据集NWPU上,我们的方法优于最好的损失函数改进方法DM-Count。同时,我们的损失函数结合其他人群计数模型,如MCNN、CAN、M-SFANet和transccrowd,取得了比原模型更好的结果。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信