Nearest Neighbor Classifier Generalization through Spatially Constrained Filters

January 2013

Nearest Neighbor Classifier Generalization through Spatially Constrained Filters

Authors:

Simon Lucey and Ahmed Bilal Ashraf

Abstract:

It is widely understood that the performance of the nearest neighbor (NN) rule is dependent on: (i) the way distances are computed between different examples, and (ii) the type of feature representation used. Linear filters are often used in computer vision as a pre-processing step, to extract useful feature representations. In this paper we demonstrate an equivalence between (i) and (ii) for NN tasks involving weighted Euclidean distances. Specifically, we demonstrate how the application of a bank of linear filters can be re-interpreted, in the form of a symmetric weighting matrix, as a manipulation of how distances are computed between di↵erent examples for NN classification. Further, we argue that filters fulfill the role of encoding local spatial constraints into this weighting matrix. We then demonstrate how these constraints can dramatically increase the generalization capability of canonical distance metric learning techniques in the presence of unseen illumination and viewpoint change.
@article{Lucey-2013-17106,
author = {Simon Lucey And Ahmed Bilal Ashraf},
title = {Nearest Neighbor Classifier Generalization through Spatially Constrained Filters},
journal = {Proceedings of Pattern Recognition},
year = {2013},
month = {January},
volume = {46},
number = {1},
pages = {325 - 331},
keywords = {nearest neighbor classification, distance metric learning, filter learning},
}
Copyright notice: This material is presented to ensure timely dissemination of scholarly and technical work. Copyright and all rights therein are retained by authors or by other copyright holders. All persons copying this information are expected to adhere to the terms and constraints invoked by each author's copyright. These works may not be reposted without the explicit permission of the copyright holder.