-
公开(公告)号:US10719509B2
公开(公告)日:2020-07-21
申请号:US15290198
申请日:2016-10-11
Applicant: GOOGLE INC.
Inventor: Sanjiv Kumar , David Morris Simcha , Ananda Theertha Suresh , Ruiqi Guo , Xinnan Yu , Daniel Holtmann-Rice
IPC: G06F16/2453 , G06F16/28 , G06F16/22 , G06F16/2457 , G06F17/10 , G06K9/62 , G06F16/33 , G06F16/35
Abstract: Implementations provide an efficient system for calculating inner products between high-dimensionality vectors. An example method includes clustering database items represented as vectors, selecting a cluster center for each cluster, and storing the cluster center as an entry in a first layer codebook. The method also includes, for each database item, calculating a residual based on the cluster center for the cluster the database item is assigned to and projecting the residual into subspaces. The method also includes determining, for each of the subspaces, an entry in a second layer codebook for the subspace, and storing the entry in the first layer codebook and the respective entry in the second layer codebook for each of the subspaces as a quantized vector for the database item. The entry can be used to categorize an item represented by a query vector or to provide database items responsive to a query vector.