Skip to Main content Skip to Navigation
Journal articles

Efficient k-nearest neighbors search in graph space

Abstract : The k-nearest neighbors classier has been widely used to classify graphs in pattern recognition. An unknown graph is classied by comparing it to all the graphs in the training set and then assigning it the class to which the majority of the nearest neighbors belong. When the size of the database is large, the search of k-nearest neighbors can be very time consuming. On this basis, researchers proposed optimization techniques to speed up the search for the nearest neighbors. However, to the best of our knowledge, all the existing works compared the unknown graph to each train graph separately and thus none of them considered nding the k nearest graphs from a query as a single problem. In this paper, we dene a new problem called multi graph edit distance to which k-nearest neighbor belongs. As a rst algorithm to solve this problem, we take advantage of a recent exact branch-and-bound graph edit distance approach in order to speed up the classication stage. We extend this algorithm by considering all the search spaces needed for the dissimilarity computation between the unknown and the training graphs as a single search space. Results showed that this approach drastically outperformed the original approach under limited time constraints. Moreover, the proposed approach outperformed fast graph edit distance algorithms in terms of average execution time especially when the number of graphs is tremendous.
Complete list of metadata

Cited literature [29 references]  Display  Hide  Download
Contributor : Romain Raveaux Connect in order to contact the contributor
Submitted on : Monday, May 14, 2018 - 5:02:02 PM
Last modification on : Tuesday, January 11, 2022 - 5:56:22 PM
Long-term archiving on: : Tuesday, September 25, 2018 - 10:51:27 AM


Files produced by the author(s)



Zeina Abu-Aisheh, Romain Raveaux, Jean-Yves Ramel. Efficient k-nearest neighbors search in graph space. Pattern Recognition Letters, Elsevier, 2018, ⟨10.1016/j.patrec.2018.05.001⟩. ⟨hal-01791560⟩



Record views


Files downloads