APPROXIMATE K NEAREST NEIGHBORS ON HARDWARE ACCELERATORS

    公开(公告)号:US20230418797A1

    公开(公告)日:2023-12-28

    申请号:US18341697

    申请日:2023-06-26

    Applicant: Google LLC

    CPC classification number: G06F16/2237 G06F16/285

    Abstract: Methods, systems, and apparatus, including computer programs encoded on computer storage media, for performing a kNN computation using a hardware accelerator. One of the methods includes obtaining a set of one or more query vectors; obtaining a set of database vectors; and performing, on a hardware accelerator and for each query vector in the set, a search for the k most similar database vectors to the query vector, comprising: computing, by circuitry of the hardware accelerator and for each query vector, a respective similarity value between the query vector and each database vector; and for each query vector, identifying, by the hardware accelerator and for each bin, (i) an index of the most similar database vector within the bin and (ii) the respective similarity value for the most similar database vector within the bin.

Patent Agency Ranking