11 11 11 learning to route in similarity graphs
play

11 11 11 Learning to Route in Similarity Graphs Dmitry Baranchuk - PowerPoint PPT Presentation

The Budgeted Nearest Neighbor Search Problem Similarity Graphs Learning to Route in Similarity Graphs Evaluation 11 11 11 Learning to Route in Similarity Graphs Dmitry Baranchuk joint work with Dmitry Persiyanov, Anton Sinitsin and Artem


  1. The Budgeted Nearest Neighbor Search Problem Similarity Graphs Learning to Route in Similarity Graphs Evaluation 11 11 11 Learning to Route in Similarity Graphs Dmitry Baranchuk joint work with Dmitry Persiyanov, Anton Sinitsin and Artem Babenko 1 / 8

  2. The Budgeted Nearest Neighbor Search Problem Similarity Graphs Learning to Route in Similarity Graphs Evaluation Overview The Budgeted Nearest Neighbor Search Problem Similarity Graphs Learning to Route in Similarity Graphs Evaluation 2 / 8

  3. The Budgeted Nearest Neighbor Search Problem Similarity Graphs Learning to Route in Similarity Graphs Evaluation The Budgeted Nearest Neighbor Search Problem • { x 1 , ..., x N } ⊂ R D — search database • q ∈ R D — query • DCS — maximal number of distance computations • Recall @1 — a rate of queries for which the actual nearest neighbor is successfully found 3 / 8

  4. The Budgeted Nearest Neighbor Search Problem Similarity Graphs Learning to Route in Similarity Graphs Evaluation Similarity Graphs • Vertices correspond to the database items • Edges connect (mostly) nearest neighbors gt q start • Several state-of-the-art methods exist e.g. HNSW 1 , NSG 2 1 Malkov, Y., Yashunin, D. Efficient and robust approximate nearest neighbor search using hierarchical navigable small world graphs. TPAMI 2018 2 Cong Fu, Chao Xiang, Changxu Wang, and Deng Cai. Fast approximate nearest neighbor search with the navigating spreading-out graph. PVLDB 2019 4 / 8

  5. The Budgeted Nearest Neighbor Search Problem Similarity Graphs Learning to Route in Similarity Graphs Evaluation Routing Algorithms • Greedy routing : Pick the best neighbor of the current vertex • Beam search : Expand the most promising vertex in the candidate pool • Our method : Learn a routing algorithm directly from data 5 / 8

  6. The Budgeted Nearest Neighbor Search Problem Similarity Graphs Learning to Route in Similarity Graphs Evaluation Learning to Route in Similarity Graphs 1. Imitation Learning : Train the agent to imitate expert decisions 2. Agent is a beam search based on learned vertex representations 3. Expert encourages the agent to follow a shortest path to the actual nearest neighbor v ∗ Ross, S., Gordon, G. J., and Bagnell, D. A reduction of imitation learning and structured prediction to no-regret online learning. AISTATS 2011 6 / 8

  7. The Budgeted Nearest Neighbor Search Problem Similarity Graphs Learning to Route in Similarity Graphs Evaluation Model Architecture Graph Convolutional Network learns representations for vertices that account for the underlying structure of the similarity graph Add + Layer ELU Linear Normalization Convolution Graph Convolutional Block v i Conv Conv Conv f θ ( v i ) g θ ( q ) FFN Block Block Block graph query Kipf, T. N. and Welling, M. Semi-supervised classification with graph convolutional networks. ICLR 2017 7 / 8

  8. The Budgeted Nearest Neighbor Search Problem Similarity Graphs Learning to Route in Similarity Graphs Evaluation Evaluation • Datasets with 10 5 points • No additional cost in run-time • PyTorch implementation 3 DCS Vertex SIFT100K DEEP100K GloVe100K budget Representations Recall @1 Recall @1 Recall @1 Original 0.239 0.386 0.198 128 Learned 0.371 0.474 0.305 Original 0.672 0.795 0.400 256 Learned 0.799 0.811 0.526 Original 0.936 0.940 0.582 512 Learned 0.949 0.945 0.676 Search performance Recall @1 for distance computation (DCS) budgets 3 https://github.com/dbaranchuk/learning-to-route 8 / 8

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend