Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEA] Improve connectivity of CAGRA graph index for search #2217

Open
anaruse opened this issue Mar 7, 2024 · 0 comments · May be fixed by #2218
Open

[FEA] Improve connectivity of CAGRA graph index for search #2217

anaruse opened this issue Mar 7, 2024 · 0 comments · May be fixed by #2218
Labels
feature request New feature or request

Comments

@anaruse
Copy link
Contributor

anaruse commented Mar 7, 2024

It has been empirically shown that the graph indexes generated by CAGRA for search provide comparable search accuracy to other libraries, but reachability from any node to all nodes is not guaranteed. In fact, it has been confirmed that the number of strongly connected components (SCC) of graph indexed created by CAGRA is not 1 in some 100M scale datasets.

This problem can be alleviated by increasing the number of degrees in the search graph, but this would increase the size of the graph index. It is desirable to address this problem without increasing the number of degrees of the search graph.

Prior study has shown that this problem can be solved by using a Minimum Spanning Tree (MST)-like approach, but in general, MST takes a long time. However, what is needed here is not an exact MST, but, for example, an approximate MST in which the total number of edges is not necessarily minimum. Such an approximate MST could be computed quickly on GPUs.

@anaruse anaruse added the feature request New feature or request label Mar 7, 2024
@anaruse anaruse changed the title [FEA] Improve connectivity of graph index for search [FEA] Improve connectivity of CAGRA graph index for search Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant