An Efficient Algorithm for Learning Distances that Obey the Triangle Inequality

Arijit Biswas and David Jacobs

Abstract

Semi-supervised clustering improves performance using constraints that indicate if two images belong to the same category or not. Success depends on how effectively these constraints can be propagated to the unsupervised data. Many algorithms use these constraints to learn Euclidean distances in a vector space. However, distances between images are often computed using classifiers or combinatorial algorithms that make distance learning difficult. In such a setting, we propose to use the triangle inequality to propagate constraints to unsupervised data. First, we formulate distance learning as a metric nearness problem where a brute-force Quadratic Program (QP) is used to modify the distances such that the total change in distances is minimized but the final distances obey the triangle inequality. Then we propose a much faster version of the QP that enforces only a subset of the inequalities and can be applied to real world clustering datasets. We show experimentally that this efficient QP produces stronger clustering results on face, leaf and video image datasets, outperforming state-of-the-art methods for constrained clustering. To gain insight into the effectiveness of this algorithm, we analyze a special case of the semi-supervised clustering problem, and show that the subset of constraints that we sample still preserves key properties of the distances that would be produced by enforcing all constraints.

Session

Poster 1

Files

PDF iconExtended Abstract (PDF, 126K)
PDF iconPaper (PDF, 297K)

DOI

10.5244/C.29.10
https://dx.doi.org/10.5244/C.29.10

Citation

Arijit Biswas and David Jacobs. An Efficient Algorithm for Learning Distances that Obey the Triangle Inequality. In Xianghua Xie, Mark W. Jones, and Gary K. L. Tam, editors, Proceedings of the British Machine Vision Conference (BMVC), pages 10.1-10.13. BMVA Press, September 2015.

Bibtex

@inproceedings{BMVC2015_10,
	title={An Efficient Algorithm for Learning Distances that Obey the Triangle Inequality},
	author={Arijit Biswas and David Jacobs},
	year={2015},
	month={September},
	pages={10.1-10.13},
	articleno={10},
	numpages={13},
	booktitle={Proceedings of the British Machine Vision Conference (BMVC)},
	publisher={BMVA Press},
	editor={Xianghua Xie, Mark W. Jones, and Gary K. L. Tam},
	doi={10.5244/C.29.10},
	isbn={1-901725-53-7},
	url={https://dx.doi.org/10.5244/C.29.10}
}