{"title":"基于改进三元丢失的行人重新识别","authors":"Zheng-guang Xu, Yunfei Wang","doi":"10.12783/dtetr/mcaee2020/35016","DOIUrl":null,"url":null,"abstract":"Person re-identification technology is an important foundation for security, pedestrian tracking and other fields, and is the key to building a safe and smart city. In recent years, a large number of researchers have trained pedestrian re-identification networks through triplet loss, especially the triplet loss with batch hard mining (BHTri loss) has greatly improved person re-identification networks on accuracy. However, triplet loss with batch hard mining for an anchor sample only select the hardest positive sample and the hardest negative sample to calculate the loss, ignoring the influence of other samples on network parameters. In response to the above issues, this paper proposes a variant of triplet loss with batch hard mining, which is called adaptive weight triplet loss with batch hard mining. After the training dataset extracts features from the backbone network, in the phase of calculating loss, it takes the average of the sum of the distances between an anchor sample and all corresponding positive samples as a threshold, and both positive samples with an anchor point distance greater than the threshold and negative samples smaller than the threshold are retained, then based on The distance of the anchor sample is given the corresponding sample weight for calculating the loss. Compared with BHTri, mAP have improved 1.79%, 2.04%, and 1.25% respectively on the Market1501, DukeMTMC-reID and CUHK03 datasets, indicating that the proposed algorithm is effective.","PeriodicalId":11264,"journal":{"name":"DEStech Transactions on Engineering and Technology Research","volume":"2 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2020-10-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Pedestrian Re-ID Based on Improved Triplet Loss\",\"authors\":\"Zheng-guang Xu, Yunfei Wang\",\"doi\":\"10.12783/dtetr/mcaee2020/35016\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Person re-identification technology is an important foundation for security, pedestrian tracking and other fields, and is the key to building a safe and smart city. In recent years, a large number of researchers have trained pedestrian re-identification networks through triplet loss, especially the triplet loss with batch hard mining (BHTri loss) has greatly improved person re-identification networks on accuracy. However, triplet loss with batch hard mining for an anchor sample only select the hardest positive sample and the hardest negative sample to calculate the loss, ignoring the influence of other samples on network parameters. In response to the above issues, this paper proposes a variant of triplet loss with batch hard mining, which is called adaptive weight triplet loss with batch hard mining. After the training dataset extracts features from the backbone network, in the phase of calculating loss, it takes the average of the sum of the distances between an anchor sample and all corresponding positive samples as a threshold, and both positive samples with an anchor point distance greater than the threshold and negative samples smaller than the threshold are retained, then based on The distance of the anchor sample is given the corresponding sample weight for calculating the loss. Compared with BHTri, mAP have improved 1.79%, 2.04%, and 1.25% respectively on the Market1501, DukeMTMC-reID and CUHK03 datasets, indicating that the proposed algorithm is effective.\",\"PeriodicalId\":11264,\"journal\":{\"name\":\"DEStech Transactions on Engineering and Technology Research\",\"volume\":\"2 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2020-10-06\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"DEStech Transactions on Engineering and Technology Research\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.12783/dtetr/mcaee2020/35016\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"DEStech Transactions on Engineering and Technology Research","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.12783/dtetr/mcaee2020/35016","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Person re-identification technology is an important foundation for security, pedestrian tracking and other fields, and is the key to building a safe and smart city. In recent years, a large number of researchers have trained pedestrian re-identification networks through triplet loss, especially the triplet loss with batch hard mining (BHTri loss) has greatly improved person re-identification networks on accuracy. However, triplet loss with batch hard mining for an anchor sample only select the hardest positive sample and the hardest negative sample to calculate the loss, ignoring the influence of other samples on network parameters. In response to the above issues, this paper proposes a variant of triplet loss with batch hard mining, which is called adaptive weight triplet loss with batch hard mining. After the training dataset extracts features from the backbone network, in the phase of calculating loss, it takes the average of the sum of the distances between an anchor sample and all corresponding positive samples as a threshold, and both positive samples with an anchor point distance greater than the threshold and negative samples smaller than the threshold are retained, then based on The distance of the anchor sample is given the corresponding sample weight for calculating the loss. Compared with BHTri, mAP have improved 1.79%, 2.04%, and 1.25% respectively on the Market1501, DukeMTMC-reID and CUHK03 datasets, indicating that the proposed algorithm is effective.