arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.05329cs.LG
收藏

多远才算过远?定义验证孪生网络的距离阈值

How Far is Too Far? Defining the Distance Threshold for Verification Siamese Networks

Heloísa Dias Viotto, Cauê Samonek, Lucas Garcia Pedroso, Marcos Sunye, André Abed Grégio, Paulo Lisboa de Almeida

AI总结:

针对孪生验证网络阈值依赖标注数据的难题,提出基于距离分布双峰假设的无监督阈值确定方法,无需标注即可在部署环境更新阈值,在4个数据集上平均准确率达94%。

摘要:

孪生验证网络被广泛用于比对人脸、车辆或签名等对象。这类网络经训练后可学习得到一个嵌入空间,在该空间内相似对象的映射位置更近,不相似对象的映射位置更远。当两个对象嵌入向量的距离低于预定义阈值时,就会被判定为属于同一类别,例如两张不同图像中的同一个人。但确定该阈值并非易事,通常需要用到标注数据。本研究假设孪生验证网络生成的距离分布可通过双峰函数近似,基于该假设提出一种无监督方法,通过识别两个峰之间的极小值点确定验证阈值。该方法无需标注样本,可直接在部署环境中更新验证阈值,省去人工标注成本。研究在MNIST、CIFAR-10、LFW和PKLot四个数据集上对该方法开展评估,结果表明该方法的平均验证准确率达94%,性能与等错误率方法相当,且无需依赖标注数据。

英文摘要:

Siamese verification networks are widely used to compare items such as faces, cars, or signatures. In these scenarios, the network is trained to learn an embedding space in which similar objects are mapped closer together, while dissimilar objects are mapped further apart. Two objects are considered to belong to the same class (e.g., the same person in two different images) when the distance between their embeddings falls below a predefined threshold. Defining this threshold, however, is a non-trivial task and typically requires labeled data. In this work, we assume that the distribution of distances produced by a siamese verification network can be approximated by a bimodal function. Based on this assumption, we propose an unsupervised method to determine the verification threshold by identifying the minimum point between the two modes. The proposed approach does not require annotated samples, enabling the verification threshold to be updated directly in the deployment environment without the cost of manual labeling. We evaluate our method on four datasets: MNIST, CIFAR-10, LFW, and PKLot. The results indicate that the proposed approach achieves an average verification accuracy of 94%, comparable to the Equal Error Rate method, while eliminating the need for labeled data.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑