doi
stringlengths
10
10
chunk-id
int64
0
916
chunk
stringlengths
384
2.02k
id
stringlengths
12
14
title
stringlengths
8
139
summary
stringlengths
236
1.92k
source
stringlengths
31
31
authors
stringclasses
998 values
categories
stringclasses
269 values
comment
stringclasses
577 values
journal_ref
stringclasses
36 values
primary_category
stringclasses
31 values
published
stringclasses
748 values
updated
stringclasses
752 values
references
listlengths
0
269
metadata
dict
embeddings
sequencelengths
1.54k
1.54k
2401.09350
147
What remains is to show that the insertion algorithm maintains the sep- aration property. To that end, suppose p has been inserted into Cℓ−1 and consider its sibling u ∈ Cℓ−1. If u ∈ Q, then it is clear that δ(p, u) > 2ℓ−1 because Line 6 must have evaluated to True. On the other hand, if u /∈ Q, that means that there was some ℓ′ > ℓ where some ancestor of u, u′ ∈ Cℓ′−1, was pruned on Line 5, so that δ(p, u′) > 2ℓ′ . Using the covering invariant, we can deduce that: £ 5(p,u) > 5(p,u') — Ss 2! l=¢'-1 = (pw) — (2 = 2°) > 2” — (2 — 2%) = 28. 4.5 Closing Remarks That concludes the proof that δ(p, Cℓ−1) > 2ℓ−1, showing that Algorithm 2 maintains the separation invariant. # 4.4.4 The Concrete Cover Tree
2401.09350#147
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 147, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "What remains is to show that the insertion algorithm maintains the sep- aration property. To that end, suppose p has been inserted into Cℓ−1 and consider its sibling u ∈ Cℓ−1. If u ∈ Q, then it is clear that δ(p, u) > 2ℓ−1 because Line 6 must have evaluated to True. On the other hand, if u /∈ Q, that means that there was some ℓ′ > ℓ where some ancestor of u, u′ ∈ Cℓ′−1, was pruned on Line 5, so that δ(p, u′) > 2ℓ′ . Using the covering invariant, we can deduce that:\n£ 5(p,u) > 5(p,u') — Ss 2! l=¢'-1 = (pw) — (2 = 2°) > 2” — (2 — 2%) = 28.\n4.5 Closing Remarks\nThat concludes the proof that δ(p, Cℓ−1) > 2ℓ−1, showing that Algorithm 2 maintains the separation invariant.\n# 4.4.4 The Concrete Cover Tree", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.04815532, 0.011221744, 0.008711183, 0.0021184913, 0.02625216, 0.040643405, 0.03985268, 0.005044184, -0.03819215, 0.016657997, 0.05440207, -0.023932694, -0.025777724, 0.0011490262, -0.008665058, -0.033553213, 0.051608164, -0.044913337, 0.016354885, 0.051054653, 0.006487262, 0.03798129, 0.048418894, 0.016144024, 0.031681824, -0.045308698, 0.035714537, -0.0016621756, 0.037770428, -0.011313996, 0.06257292, -0.0048629753, 0.00667506, 0.0046784724, -0.0015139141, 0.060148023, 0.0062533384, 0.038824733, -0.024143552, 0.04728552, 0.002474319, 0.03183997, -0.06847702, -0.06858245, 0.0013854209, 0.08845607, 0.01061552, -0.019992232, -0.043252807, -0.012341942, 0.017923161, 0.046573862, -0.010734129, -0.012579161, -0.037006058, -0.023049714, -0.009508501, -0.011781843, 0.039220095, -0.03576725, 0.028097192, -0.013053597, -0.0012272754, 0.004546684, -0.038798373, 0.018292168, -0.011748896, 0.058988288, 0.050316643, 0.0025533917, -0.05587809, 0.011900452, 0.008902276, -0.005449432, 0.05445478, 0.032920633, 0.002230511, 0.0016654703, -0.016209919, 0.019425545, 0.0117093595, -0.03460752, 0.08376443, 0.01903018, -0.013165616, -0.04433347, -0.022298522, 0.04090698, -0.07527728, -0.019992232, -0.024143552, 0.044386182, 0.031444605, -0.010846148, 0.08133952, -0.010622109, 0.030680235, 0.0005436253, -0.02920421, -0.022891568, -0.0013277637, -0.050896507, 0.02243031, -0.03848208, 0.05593081, -0.01794952, 0.0044577275, 0.028149907, -0.062783785, 0.0076502906, 0.0033062303, -0.0247366, -0.0003801259, 0.073274106, 0.022799317, -0.011808201, -0.025566863, 0.018647995, -0.0013112902, 0.042277575, 0.015682766, -0.01957051, -0.044886976, -0.031866327, 0.005518621, -0.01991316, 0.04298923, -0.056510676, 0.01730376, -0.03357957, -0.01060893, 0.02254892, 0.017277401, 0.04367453, -0.0060128253, 0.0105035, -0.013837735, 0.0269111, 0.024762956, 0.005920574, 0.028597986, -0.013185385, -0.009778666, 0.016170382, -0.015340118, 0.019702299, -0.0036505263, 0.04538777, 0.05645796, 0.036268044, -0.0033177617, -0.0076107546, -0.016605282, 0.011742307, -0.0402744, 0.018885214, 0.001942225, 0.009930222, 0.04267294, -0.01935965, -0.052583393, -0.0101015465, 0.00012293344, 0.01290863, 0.0020888392, 0.014773429, -0.022114018, -0.0062731067, -0.042620223, -0.01750144, 0.008282873, -0.06225663, -0.047997173, -0.021468258, -0.0077359527, -0.0011111372, -0.06394351, -0.052978758, 0.035081953, -0.048946045, 0.00951509, 0.094729185, 0.07058563, -0.0120981345, 0.034818377, 0.019056538, 0.015788198, -0.007828205, -0.02012402, -0.004342413, -0.0015550979, -0.0078677405, 0.04615214, 0.0143253505, -0.0021662645, -0.056405246, 0.03600447, 0.03995811, 0.01816038, -0.0028400305, 0.022957461, 0.04322645, 0.014760251, -0.0020822496, 0.0033391772, -0.032788843, 0.006292875, 0.013053597, -0.022627993, -0.028308053, -0.02505289, -0.0023837145, -0.031629108, 0.004003059, 0.031892683, 0.031681824, -0.03236712, -0.004180973, -0.016552567, 0.04291016, -0.017211506, 0.031655468, 0.031681824, 0.02440713, -0.00259787, 0.042014, 0.013429193, -0.03062752, -0.00119021, -0.011643466, 0.013277637, 0.04757545, 0.006082014, -0.06816073, 0.0062203915, 0.014496675, -0.040933337, -0.033658642, -0.04844525, 0.00017400128, -0.02605448, 0.034449372, 0.021692296, 0.015775017, 0.000668412, 0.02605448, -0.008961581, 0.0105035, -0.01871389, 0.039457314, -0.0048399125, -0.017962698, -0.02384044, -0.044992406, -0.07965264, 0.015010648, 0.058935575, 0.004675178, 0.05210896, -0.014997469, -0.025079248, -0.04586221, -0.038561154, -0.038139433, 0.013877272, 0.015630051, 0.03924645, 0.018779784, 0.029994939, -0.035530034, 0.025975406, 0.03384315, 0.024248984, 0.023510972, 0.004846502, -0.009113137, -0.032973345, 0.036689766, -0.010780254, 0.01335012, -0.07279967, -0.0017709007, 0.047364593, -0.0103321755, 0.04343731, 0.033922218, -0.056405246, 0.022338059, -0.0045137373, 0.005591104, 0.0562471, -0.044280753, 0.012994292, 0.01061552, -0.042593867, -0.0063752425, -0.01454939, -0.013798199, 0.00042213328, 0.003785609, 0.031101957, 0.011610519, 0.028255338, 0.024222625, -0.02078296, -0.024552096, 0.028281694, 0.0018911571, -0.05514008, 0.016763428, -0.03426487, 0.016961109, -0.059093717, -0.0020295344, -0.041302346, -0.027042888, 0.013448961, -0.05100194, -0.059568156, -0.015353297, 0.015630051, -0.027991762, -0.0019916454, 0.0037230097, 0.034317583, 0.073221385, -0.014417603, 0.01892475, 0.035714537, -0.022140376, 0.018437134, -0.056616105, -0.0076766484, -0.0050277105, -0.051186442, 0.009561216, 0.009646879, 0.08666376, -0.0028696826, 0.0052023297, -0.027332822, 0.01433853, 0.05316326, 0.0154719055, -0.022799317, 0.0038976287, 0.0050046477, 0.0260413, 0.0645761, 0.037375063, -0.00058480905, -0.0027280108, 0.054507498, 0.011188798, 0.005245161, 0.023866799, 0.0057064183, -0.016236275, -0.00063340587, 0.022298522, 0.028729774, 0.013047008, -0.002950403, -0.0039009235, -0.0040425956, 0.06194034, -0.044175323, -0.0084871445, 0.008684826, 0.012921809, -0.061202325, 0.02822898, 0.039299168, -0.020163557, -0.058513854, -0.028044477, -0.018503029, -0.000035932808, 0.012934987, 0.005699829, -0.031681824, 0.017053362, -0.0120190615, -0.014997469, 0.015392833, 0.027886331, -0.028914277, 0.02111243, -0.04233029, -0.00995658, 0.017606871, -0.02658163, 0.043490026, 0.033658642, -0.045150552, -0.026805671, 0.051028296, -0.008987938, 0.020506205, 0.04143413, -0.016262634, -0.05129187, -0.012783431, -0.039009236, -0.03861387, 0.004889333, 0.046336643, 0.01904336, 0.042646583, 0.01083297, -0.027438251, 0.02735918, 0.033922218, 0.0018285579, -0.019939518, -0.00036653524, -0.00940966, -0.013086544, 0.01751462, -0.0055746306, 0.012243101, -0.022627993, -0.023155143, -0.022601634, 0.0016819438, -0.021204682, -0.0188325, 0.024038123, 0.0032353944, -0.04844525, 0.03618897, 0.02109925, 0.016565746, 0.022904746, -0.012091544, -0.0039239866, 0.021376006, -0.0052748127, -0.054876503, -0.01127446, -0.039009236, -0.014628463, 0.04507148, -0.029283283, -0.03753321, -0.008737542, 0.010543036, -0.057195973, -0.0143253505, -0.0030607753, -0.048181675, -0.013903629, 0.017659586, 0.042277575, -0.03458116, -0.0041084895, 0.0075975754, 0.0028647406, 0.01935965, -0.0043490026, 0.009903865, 0.014364887, -0.04538777, 0.03313149, 0.019425545, 0.029415071, 0.0013047007, -0.006411484, 0.030838381, -0.0032601045, 0.011089956, -0.054771073, 0.06968947, -0.014747072, 0.012407836, -0.012750485, 0.01214426, -0.04486062, -0.012513266, -0.04728552, 0.016368063, -0.051450018, 0.019755015, 0.0470483, 0.0083355885, 0.08007436, 0.03774407, 0.04066976, 0.04103877, 0.006444431, -0.02569865, -0.028466199, 0.04662658, -0.014773429, 0.034739304, 0.034291226, 0.029388715, -0.030047653, -0.0043193502, 0.006138024, 0.04211943, 0.02602812, 0.05253068, 0.0100224735, 0.013798199, -0.043463666, 0.019109253, -0.005261634, 0.0000013963861, 0.005867859, 0.009725951, 0.014378066, 0.037691355, -0.017369652, 0.01016744, 0.0074657877, 0.002235453, 0.035187382, 0.0076437015, -0.016578924, 0.007670059, -0.032788843, 0.014931575, -0.011907042, 0.00088462664, -0.053611342, -0.05369041, -0.036241688, -0.045809492, -0.03771771, 0.007821615, -0.012196975, -0.0025632756, 0.0069452254, -0.026607988, 0.0021761486, 0.0073010526, 0.016565746, 0.010556215, -0.023326468, -0.011986114, -0.020071305, -0.0032650465, 0.014496675, 0.01585409, -0.02145508, 0.028308053, 0.013613695, 0.005087015, 0.015234687, -0.01585409, 0.030469375, -0.013422603, -0.008823204, -0.010351944, 0.0022832262, -0.004780608, 0.01816038, 0.004615873, 0.0051792664, 0.024552096, -0.0014175442, 0.028650701, 0.022680707, -0.0011753838, 0.03423851, 0.013758662, -0.03537189, 0.045993995, 0.028782489, -0.02722739, 0.00940966, 0.0011210213, -0.013040418, 0.054876503, -0.033632286, -0.010134494, 0.003709831, 0.005604283, -0.019886803, -0.016025415, -0.022509383, -0.024446666, -0.01345555, 0.008678237, -0.0038119666, 0.020506205, 0.0032320996, -0.036689766, -0.012335353, 0.02625216, -0.016025415, -0.011017473, -0.024314879, -0.019227862, 0.019504618, -0.0042864033, 0.04739095, -0.052557036, -0.022258986, -0.023998586, 0.0077359527, 0.031233745, -0.007604165, -0.0039141024, -0.020519385, -0.009633699, -0.004124963, -0.014628463, -0.02287839, -0.0066454075, 0.017422367, -0.011030652, 0.004859681, -0.02275978, -0.0023326469, 0.0030475964, -0.027490968, 0.018147202, -0.011281049, 0.028070834, -0.0041941516, -0.009185621, 0.0073471786, -0.005314349, 0.023972228, 0.04204036, -0.006530093, 0.01751462, 0.007841383, -0.013277637, 0.007999529, 0.00853327, 0.01181479, 0.0031662057, 0.007808436, -0.012124492, 0.02111243, 0.0028812143, -0.03336871, -0.0036604104, 0.0068990993, -0.014351708, -0.026344413, -0.023827262, 0.028756132, -0.0027033004, 0.06552497, -0.032683413, -0.006543272, -0.0505275, -0.021731833, 0.020189915, -0.015682766, 0.029625932, -0.034185797, -0.00678708, 0.00047114195, 0.019768193, -0.0012503383, 0.0014084837, -0.024565274, 0.0076766484, -0.017857268, -0.011439195, 0.013369888, -0.017975876, 0.023128785, 0.028149907, -0.0110240625, 0.007050656, 0.038113076, 0.038692944, 0.005821733, -0.009785255, -0.020005412, -0.013317172, -0.0042962874, -0.020967463, 0.0027560156, -0.027807258, 0.011136082, -0.057143256, 0.011472141, -0.020189915, 0.013066776, -0.024802493, 0.0007676648, -0.013442371, -0.004737777, -0.0319454, 0.012849325, 0.033395067, -0.027411895, 0.003762546, -0.028070834, 0.0043457076, -0.00464882, 0.003413308, -0.041223273, -0.0026077542, 0.0043127607, -0.027939046, -0.0072417483, -0.02996858, -0.044676118, -0.00634559, 0.026845206, 0.028729774, -0.026726598, 0.038824733, 0.019636406, 0.0056240507, 0.0013985997, -0.009264694, 0.010055421, 0.002550097, -0.02812355, -0.0076107546, -0.019267399, 0.004553274, 0.0041084895, -0.016829321, -0.0034297814, -0.03249891, 0.014127669, -0.02331329, 0.019412367, 0.0034923807, -0.0088693295, -0.032340765, 0.008572807, 0.02133647, 0.012091544, 0.015234687, 0.017672764, -0.013560981, 0.023774548, -0.039299168, -0.0016135788, -0.00025760426, -0.026687061, 0.028176265, 0.013626874, 0.010839559, 0.044834264, -0.027121961, 0.021244219, -0.0061775604, 0.044649757, 0.031866327, 0.011241512, -0.0065498613, 0.00034017765, -0.025000175, 0.009172441, -0.005057363, 0.013640054, -0.011676413, 0.010411249, 0.04169771, -0.0055845147, -0.0018269105, -0.019175148, 0.02145508, -0.012137671, -0.029335998, -0.028861562, 0.058250275, 0.0343703, 0.019675942, -0.010806613, 0.029230569, -0.020703888, 0.0054856734, 0.0021860327, -0.006147908, -0.03806036, -0.0302058, -0.017791374, -0.023431899, 0.014206742, -0.016829321, -0.016499853, -0.02548779, 0.009053833, 0.0114787305, 0.033632286, -0.0056174616, -0.009534858, 0.0008413837, -0.024565274, -0.020651173, -0.00033482377, -0.005390127, -0.0066256393, -0.010246513, -0.113864794, -0.02812355, 0.04804989, 0.01685568, 0.020282166, 0.010582573, 0.029230569, -0.03270977, 0.02428852, -0.034818377, 0.015946342, -0.011663234, -0.021705477, -0.021270575, 0.0070045297, 0.017923161, 0.00024298404, -0.013191975, 0.007703006, -0.03613626, -0.0074460194, -0.010015884, 0.049130548, -0.01729058, -0.04354274, 0.0061248452, -0.011538035, -0.03476566, -0.04037983, 0.023603223, 0.00022815789, -0.012664823, 0.024314879, 0.032419838, 0.0065465667, -0.01991316, 0.011037242, -0.011650056, 0.017224686, 0.01214426, 0.0103321755, -0.034633875, -0.016196739, -0.018358063, 0.019438723, -0.03205083, -0.008704594, -0.00240513, 0.0055845147, 0.01661846, -0.020268988, -0.00908019, -0.0017758427, 0.0015732187, -0.002248632, 0.016908394, 0.0067804903, 0.010556215, -0.001871389, -0.009383302, -0.004164499, -0.0010271224, 0.04146049, -0.0025023238, -0.0155509785, -0.003512149, -0.0019669351, 0.04430711, 0.0067541325, 0.011656645, 0.0014208389, -0.020532563, 0.01892475, 0.02867706, -0.008777078, -0.00765688, -0.043832675, -0.0034923807, -0.055192795, -0.0014323703, 0.038561154, 0.039114665, -0.025474612, 0.034502085, -0.010720951, -0.023366004, 0.0010271224, -0.016447136, -0.010015884, -0.027991762, -0.009356945, 0.015300581, -0.015419191, 0.024341235, 0.005327528, -0.01192022, -0.013626874, -0.047417305, 0.027543683, 0.025145141, 0.008368535, 0.029994939, -0.02843984, -0.044228036, -0.03985268, 0.025790902, 0.04652115, -0.027174676, 0.0015270929, 0.009482143, 0.0064048944, -0.009528269, -0.02988951, -0.040775195, 0.031892683, -0.013666411, -0.004164499, 0.0152478665, -0.0049684057, -0.034291226, -0.010378301, 0.045440488, 0.0035747483, 0.00088462664, -0.019082896, -0.021033358, -0.028308053, 0.014628463, 0.0040425956, 0.011999293, -0.0029355767, 0.049420483, -0.00018965111, 0.025448253, 0.034159437, -0.020440312, 0.01991316, 0.0031793844, -0.0017445431, -0.0073933043, -0.0011317291, 0.014496675, -0.009165852, 0.007801847, -0.039879035, 0.009113137, -0.012671412, -0.012724127, -0.030548448, 0.008915455, -0.026766134, 0.00017070658, 0.022469847, -0.016565746, -0.030232158, 0.005732776, -0.020980643, -0.02078296, 0.02298382, 0.018081307, 0.026001763, 0.0059370473, -0.016196739, -0.03729599, 0.009034065, 0.007228569, -0.007782079, 0.0027823732, -0.01794952, 0.020743424, -0.010490322, -0.022417132, 0.011076777, 0.0011737365, 0.008994528, 0.0067014177, 0.029915866, 0.018568924, 0.010773665, -0.010233334, 0.026621167, -0.000579867, -0.008197211, -0.025342824, 0.002762605, -0.030891096, 0.0049156905, -0.009910454, 0.02812355, 0.012948167, 0.045598634, 0.021283755, 0.0011984467, -0.023273753, 0.04256751, 0.010272871, -0.038903803, -0.00010553332, -0.010991115, -0.034554802, 0.013106312, 0.05877743, 0.0030706592, -0.004582926, 0.0019652878, 0.0089484025, 0.0019949402, -0.017765017, -0.02548779, -0.015142436, 0.01520833, -0.01925422, -0.021283755, 0.00045384478, 0.0076173437, 0.02843984, 0.031154672, 0.02909878, 0.045941282, -0.013640054, 0.023827262, -0.016961109, -0.031339176, -0.025461433, -0.014733894, 0.0112481015, 0.005228687, -0.004171089, -0.0011473789, -0.0010427722, 0.0076832375, -0.0067541325, -0.018028593, -0.012592339, -0.0053176438, -0.01827899, -0.012539624, -0.020176737, -0.017527798, -0.0063390005, 0.012928398, -0.0020377713, 0.024156732, -0.010108137, -0.007485556, -0.019267399, -0.00394046, 0.0082565155, 0.007782079, -0.039351884, -0.014812966, 0.0009645231, 0.006437842, -0.006114961, 0.036926985, -0.0010057068, -0.0046685883, 0.015340118, 0.0031826792, -0.0076305224, 0.037111487, -0.016196739, 0.028018119, -0.029915866, -0.020611636, -0.0048432075, 0.008902276, 0.00038094955, 0.0051792664, -0.0047410717, 0.0128032, 0.045809492, -0.0131722065, 0.013317172, -0.012658233, -0.014628463, 0.03895652, 0.019386008, -0.013943166, -0.06974219, -0.031391893, -0.05055386, 0.011195387, 0.034106724, 0.0075448602, -0.0048926277, 0.029546859, 0.0029569922, 0.010246513, 0.0027016532, 0.0033243513, -0.01149191, 0.0048728595, 0.020058127, 0.05134459, -0.0227466, 0.007788668, 0.0138640925, -0.0004211037, -0.030284872, -0.0029108664, 0.024578454, 0.017870447, -0.012355121, 0.03632076, 0.014364887, -0.004395128, 0.0058382065, -0.016842501, -0.04037983, 0.033790432, 0.008875919, 0.006266517, 0.034423012, -0.0025006765, 0.011195387, -0.023445077, 0.0302058, -0.0051232567, -0.015300581, -0.019227862, 0.017356474, 0.020730246, 0.044807903, -0.029810436, 0.02791269, 0.034317583, 0.0065926923, 0.010773665, 0.017883625, -0.040537976, 0.022324879, 0.02154733, -0.0046455255, -0.0034166027, 0.014615284, -0.026515737, -0.009660057, -0.021560509, -0.014694357, 0.02791269, -0.0033902451, -0.00066429365, -0.0043193502, -0.031760897, 0.02385362, 0.030601162, -0.00072483375, -0.025553685, -0.019899981, 0.07163993, -0.012849325, -0.031655468, 0.015234687, -0.0028680353, -0.006114961, 0.00952168, -0.005699829, -0.010918632, -0.009304229, -0.021929516, 0.041302346, -0.0018977466, -0.0034824966, 0.018964287, -0.0039009235, -0.028413484, -0.004988174, 0.007670059, 0.018608458, -0.0013607106, -0.013890451, -0.016117668, 0.033421427, 0.016209919, -0.018937929, 0.029283283, -0.007505324, -0.015353297, -0.010029064, 0.010417838, 0.009238335, -0.027253749, -0.020479849, -0.006045772, 0.020071305, -0.0107143605, 0.027042888, -0.009093368, -0.027991762, -0.017000645, 0.007189033, -0.028650701, 0.040327113, 0.061993055, -0.033342354, -0.0122496905, -0.013343531, 0.023682296, -0.039351884, -0.020321703, -0.004991469, 0.010984526, -0.022627993, -0.008777078, -0.023326468, -0.00059922336, -0.0073339995, 0.017804552, -0.0017989055, -0.04343731, 0.02996858, 0.008039066, 0.003545096, -0.022324879, -0.02843984, -0.04222486, -0.022588456, -0.041539565, 0.008137906, -0.0055845147, 0.022140376, 0.014457138, -0.016605282, 0.03434394, 0.017659586, -0.004750956, 0.0066717654, -0.022021767, 0.023814084, -0.019544154, -0.037243277, -0.01838442, -0.03305242, 0.016552567, -0.014720715, 0.029283283, 0.0035154438, -0.02154733, -0.008236747, -0.023181502, 0.020400776, 0.00492228, -0.04127599, 0.035055596, -0.017936341, -0.010206977, -0.024802493, -0.0050046477, 0.031813614, -0.033315994, -0.016644819, -0.004879449, 0.028097192, -0.022667529, 0.009462375, -0.034844734, -0.011781843, 0.006566335, 0.0036340528, -0.009429428, -0.030047653, 0.01718515, 0.008375124, 0.0021184913, 0.040089894, -0.02395905, -0.014839324, 0.022403952, 0.015300581, 0.034423012, 0.016275812, -0.029388715, 0.020941107, 0.016315348, -0.021125609, -0.030021297, 0.005175972, 0.028281694, -0.000020965095, -0.033553213, -0.021969052, 0.021468258, -0.0114853205, -0.009772077, 0.02757004, 0.0025797493, 0.0048926277, -0.035398245, -0.01903018, -0.00015227686, -0.02602812, 0.023062892, 0.023655938, 0.0000050450076, 0.033658642, -0.0006951815, -0.022166735, -0.039984465, -0.014588927, -0.012269459, -0.0049717007, -0.021718655, 0.003950344, -0.0061610867, -0.018305346, 0.023102429, 0.020651173, 0.048128963, -0.027042888, 0.024235805, 0.012592339, 0.037823144, 0.015037006, 0.008012707, 0.0065861032, -0.009534858, -0.005143025, 0.028650701, -0.029467788, -0.0024496086, -0.007637112, -0.0039437544, 0.0074987346, -0.02033488, -0.022720244, -0.012928398, 0.01826581, -0.03642619, 0.03621533, 0.0025896332, -0.028756132, 0.018094486, 0.0059699942, -0.0063950103, 0.017817732, 0.022891568, -0.010971347, 0.016697533, -0.00089698174, 0.017896805, 0.023682296, 0.017909983, -0.016710714, -0.027780902, -0.01137989, -0.032657057, -0.021692296, 0.023431899, -0.036057185, 0.0138640925, -0.013244689, 0.021850443, -0.006223686, 0.02527693, -0.024011765, 0.042409364, -0.010345355, -0.009198799, 0.044017177, 0.020980643, 0.0057064183, -0.026067657, -0.005073836, -0.024894744, 0.0030377123, 0.0028334411, -0.015037006, -0.004332529, -0.00016267576, -0.0042073303, 0.00443137, -0.0012931693, -0.021191504, -0.010338765, 0.004859681, -0.0054757893, 0.021151967, -0.023445077, 0.027728185, -0.014892039, -0.026647525, -0.024538917, -0.007959993, 0.03771771, -0.008441019, 0.033974934, -0.044597045, -0.058724713, 0.025329646, 0.022021767, 0.026001763, 0.01904336, -0.009930222, -0.009429428, -0.018358063, 0.000113049355, 0.004889333, 0.00090686587, -0.022852032, 0.004223804, 0.021586867, 0.014509854, -0.006490557, 0.029177854, -0.0006391716, -0.00046702358, -0.015669588, 0.031655468, -0.003299641, -0.020229451, 0.02275978, 0.013534623, 0.018015413, -0.021639582, -0.03260434, 0.0043555917, 0.02428852, -0.02033488, 0.0036702945, 0.013653232, 0.0004942048, -0.010813202, -0.0070967814, -0.007973171, 0.016104488, -0.024051301, 0.032551624, -0.021600045, 0.0023606517, 0.057564978, -0.015682766, -0.034291226, -0.027991762, 0.002507266, 0.030759308, -0.048181675, -0.0059699942, 0.023893157, 0.010055421, 0.018582102, 0.0059139845, 0.010259693, -0.003271636, -0.0114853205, -0.020400776, 0.0030558333, -0.01312608, 0.010081778, 0.02121786, -0.010015884, 0.030337587, 0.013705947, 0.0042501613, -0.0015954579, 0.03347414, -0.0143253505, 0.015195151, 0.031339176, -0.02484203, -0.035477318, -0.02319468, 0.01060893, -0.014892039, -0.0302058, -0.0072351587, -0.008559627, 0.018173559, -0.03795493, 0.031470962, 0.019333294, 0.010747308, -0.0075448602, -0.0017198328, -0.0065795137, -0.012282637, 0.020058127, -0.0076634698, -0.0010188856, -0.005439548, 0.0070638345, 0.0060161203, 0.009211978, 0.000002490329, 0.0037559567, 0.036268044, 0.02102018, -0.01892475, -0.005261634, -0.009752309, -0.012526445, 0.03218262, 0.010279461, 0.0063291164, 0.0033128196, 0.016842501, 0.020374417, 0.012341942, -0.0051364354, 0.030100368, -0.006421368, 0.016104488, -0.039589103, 0.00024195445, 0.009343766, -0.027886331, 0.035292815, -0.05152909, -0.0022239217, -0.004546684, 0.005116667, 0.0102531025, -0.011063599, 0.003266694, -0.005320939, 0.00821039, -0.021191504, 0.019781372, -0.005021121, -0.016605282, 0.0001785315, 0.010852738, 0.034502085, 0.025474612, -0.0047970815, -0.027385537, -0.04881426, 0.001643231, 0.03468659, 0.0033441193, 0.028835205, -0.035688177, 0.026871564, -0.03460752, 0.0048497966, 0.07891463, -0.024064481, 0.006615755, -0.010977937 ]
2401.09350
148
# 4.4.4 The Concrete Cover Tree The abstract tree we described earlier has infinite depth. While that repre- sentation is convenient for explaining the data structure and algorithms that operate on it, it is not practical. But it is easy to derive a concrete instance of the data structure, without changing the algorithmic details, to obtain what Beygelzimer et al. [2006] call the explicit representation. One straightforward way of turning the abstract Cover Tree into a concrete one is by turning a node into a (terminal) leaf if it is its only child—recall that, a node in the abstract Cover Tree is its own child, indefinitely. For example, in Figure 4.4, all nodes on level 0 would become leaves and the Cover Tree would end at that depth. We leave it as an exercise to show that the concrete representation of the tree does not affect the correctness of Algorithms 1 and 2.
2401.09350#148
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 148, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "# 4.4.4 The Concrete Cover Tree\nThe abstract tree we described earlier has infinite depth. While that repre- sentation is convenient for explaining the data structure and algorithms that operate on it, it is not practical. But it is easy to derive a concrete instance of the data structure, without changing the algorithmic details, to obtain what Beygelzimer et al. [2006] call the explicit representation.\nOne straightforward way of turning the abstract Cover Tree into a concrete one is by turning a node into a (terminal) leaf if it is its only child—recall that, a node in the abstract Cover Tree is its own child, indefinitely. For example, in Figure 4.4, all nodes on level 0 would become leaves and the Cover Tree would end at that depth. We leave it as an exercise to show that the concrete representation of the tree does not affect the correctness of Algorithms 1 and 2.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.012515266, -0.0012472153, 0.040058706, 0.0031750097, 0.01398113, -0.001114025, 0.045010615, 0.0019770672, -0.006793474, 0.048706066, 0.048114795, -0.026114533, 0.013069585, -0.03052444, 0.013944175, -0.031435985, 0.07592923, -0.051539246, 0.026779715, 0.026927533, -0.029538985, -0.019672127, 0.04747425, 0.009275586, 0.047178615, -0.0019462717, 0.0128848115, 0.00999004, 0.04464107, -0.031633075, 0.03660962, -0.0031626916, -0.007507928, -0.018982308, 0.03707771, 0.002997936, 0.02208649, -0.02464867, 0.0027392544, 0.02235749, 0.026681168, 0.050011795, -0.041684706, -0.00965745, 0.045355525, 0.05321452, -0.018933035, 0.041216616, -0.025695715, 0.027370987, -0.009127769, 0.036560345, 0.0033135894, -0.008992269, -0.04471498, -0.022061853, -0.027223168, 0.0056016906, 0.054446336, -0.02126117, -0.003295112, -0.0060051107, 0.0044622594, 0.055185426, -0.051095795, 0.0110247675, -0.03870371, 0.026040623, -0.0033721006, 0.006793474, -0.03855589, 0.008721269, -0.04084707, -0.014535448, 0.0023681694, 0.03173162, 0.011000131, -0.0370038, -0.027641986, -0.00668261, 0.05375652, 0.015570174, 0.046365615, -0.016235355, 0.0072492464, -0.05400288, 0.0073416326, 0.008678155, -0.05557961, 0.008918359, 0.024685625, -0.01970908, -0.0033936575, 0.009343336, 0.040009435, -0.003633862, -0.02559717, 0.011043245, -0.0015351527, -0.0077912463, 0.01970908, -0.02498126, 0.004884157, -0.059324335, 0.08460123, 0.04262089, 0.02308426, 0.0067010876, -0.0740076, 0.0118377665, -0.07967396, -0.06090106, 0.023047308, -0.006842747, 0.019635173, -0.04119198, -0.05671288, -0.02228358, -0.04158616, -0.020041673, 0.047572795, 0.013833311, -0.02484576, 0.013894903, 0.05725488, -0.021187263, 0.04153689, -0.06410379, -0.012010221, 0.010137859, -0.0017276241, -0.02714926, -0.0180954, -0.012268903, -0.012860175, -0.002221891, -0.0536087, 0.04333534, 0.04363098, -0.058437426, -0.01789831, -0.0035969072, 0.018945355, 0.025424715, -0.011843926, 0.031559166, 0.01735631, 0.05725488, -0.00398493, 0.0315838, 0.025018215, -0.0034952825, 0.004813327, -0.01363622, -0.0038001572, -0.006731883, 0.008604246, 0.022320535, 0.028602805, 0.0026160725, 0.03476189, -0.010224086, 0.02323208, -0.017368628, -0.02519067, 0.028307168, -0.02882453, -0.010119381, -0.050750885, 0.01202254, -0.0040095663, -0.04064998, -0.0022573057, -0.024685625, -0.011603721, -0.00045500262, -0.009294064, -0.0176889, 0.029883895, 0.017196173, 0.011443585, 0.033801075, 0.0018061525, 0.012564539, 0.033111256, 0.00035838192, 0.03417062, -0.012121085, -0.009620495, 0.004200498, -0.05617088, 0.013857948, 0.03875298, -0.007828201, 0.00398185, -0.005826497, 0.008542655, 0.009799109, 0.020103263, 0.03996016, 0.033924256, 0.04942052, 0.05947215, 0.0186374, 0.0054969857, 0.023145853, 0.0125460625, 0.014141266, -0.008671996, -0.028405713, -0.0359198, -0.016518673, -0.013734766, -0.0025421635, -0.015508584, 0.010039314, 0.014375311, -0.004274407, -0.03680671, 0.07932905, -0.04158616, 0.019746035, 0.03424453, -0.00089845696, -0.031509895, 0.01032879, -0.0015374623, -0.05488979, -0.01600131, -0.018686673, 0.060457606, 0.03355471, 0.0009061558, -0.025227625, -0.021963308, 0.00236355, -0.07100196, 0.016789673, -0.0038525094, -0.042694796, -0.03173162, 0.015139038, 0.021211898, 0.012773949, -0.014757175, 0.05557961, -0.032495346, -0.04557725, 0.0040003275, 0.04895243, 0.02781444, -0.032864895, -0.04937125, -0.027740533, -0.04964225, -0.010605949, 0.013402175, -0.00021306594, 0.05272179, -0.04799161, 0.010839995, 0.006516315, -0.029391168, -0.04390198, -0.0076742237, -0.025350805, 0.029194077, 0.044320796, 0.021187263, 0.0036246232, 0.016863583, 0.023675533, 0.039073255, -0.010710654, 0.0027869872, -0.024870398, -0.015644083, -0.017430218, 0.009361814, 0.030154895, 0.032446075, -0.007889791, 0.029588258, -0.04308898, 0.009177041, 0.014831084, -0.03350544, 0.04461643, 0.006941292, -0.019770673, 0.041019525, -0.022850215, 0.016025947, -0.043261435, -0.02781444, -0.010495086, -0.0029517428, -0.015816538, 0.025671078, -0.03680671, 0.009577381, -0.03025344, 0.02552326, 0.03525462, 0.022135762, -0.018317128, 0.009041541, 0.01667881, -0.014227493, -0.038063165, -0.006793474, 0.04037898, 0.0007906729, 0.026952168, -0.0030164132, -0.025129078, 0.05139143, -0.07479596, -0.05227834, -0.00008362887, -0.024402305, -0.03968916, 0.022098808, 0.029662168, 0.043384615, 0.05528397, -0.050282795, 0.022308215, 0.029957803, -0.03017953, -0.009823745, -0.04476425, 0.045330886, 0.005241384, 0.001478951, 0.013599266, -0.0061005764, 0.010008518, -0.008179269, -0.0024128228, -0.012823221, 0.019869218, 0.016038265, 0.0057156337, -0.051292885, 0.023244398, -0.0011579085, 0.03658498, 0.031633075, 0.013081903, 0.004299043, -0.0810536, -0.000014447392, 0.02626235, 0.017319355, 0.019228673, -0.001066292, -0.06085179, -0.014523129, -0.0027022997, 0.024205215, 0.010821518, -0.026952168, 0.02687826, -0.028578168, 0.04003407, -0.05503761, 0.018933035, 0.05321452, 0.008813655, -0.02208649, -0.009220155, 0.0014212095, -0.03801389, -0.060654696, -0.013451448, 0.020374263, -0.0386298, 0.026681168, -0.0035014416, -0.03742262, -0.0092016775, -0.030475168, 0.022320535, 0.0013834852, 0.028996985, -0.027026078, 0.03761971, -0.024008125, -0.016296947, 0.051489975, -0.014116629, 0.0552347, 0.011418949, 0.021914035, -0.032717075, 0.023133535, 0.0014735617, 0.053904336, 0.021051763, -0.0067442013, 0.0129833575, 0.010568995, -0.026631895, -0.00040688473, 0.011603721, 0.060211245, -0.0135253575, -0.01722081, 0.0068304283, -0.026385533, 0.021322763, 0.019967763, -0.009189359, -0.029563623, 0.004231293, 0.013944175, 0.0023004194, -0.018859128, -0.006873542, -0.0028655156, -0.031904075, -0.0064793606, -0.07272651, -0.024451578, 0.02613917, -0.027099987, 0.0326678, -0.03685598, -0.017454855, 0.05961997, 0.024463898, -0.016838945, 0.009226314, 0.009595859, 0.03532853, -0.0075879963, -0.004680907, -0.05617088, 0.024550125, 0.011030926, 0.0156194465, 0.00023712488, -0.0020509763, -0.046365615, -0.041561525, -0.0074093826, -0.052229065, -0.059915606, 0.020632945, -0.02909553, -0.008745905, -0.028652078, 0.04626707, -0.0500857, 0.03606762, 0.03316053, 0.005213668, 0.026631895, -0.021224217, 0.0072738826, 0.0034460097, -0.02990853, 0.035969075, -0.033653256, 0.035205346, 0.030672258, -0.008253178, 0.03471262, -0.024451578, 0.009823745, -0.037570436, 0.041832525, -0.05163779, 0.03584589, 0.008758223, 0.0075572007, -0.009004586, 0.05065234, -0.028750623, -0.022911808, -0.044049796, 0.022653125, -0.010883109, 0.043236796, 0.07573214, 0.021236535, -0.005814179, 0.04151225, 0.0399848, -0.036708165, -0.027099987, 0.0397138, -0.011511335, 0.056565065, 0.006232997, -0.04402516, -0.0530667, 0.005638645, -0.017368628, 0.0007668064, -0.016296947, -0.01749181, 0.024722578, -0.029465076, -0.025301533, 0.0160629, 0.034392346, -0.0011409711, 0.04826261, -0.0500857, -0.0077912463, 0.024266805, 0.0038586685, -0.0095897, -0.009755995, -0.01856349, 0.0326678, 0.02025108, -0.0062175994, -0.01371013, -0.03922107, -0.025695715, 0.029736076, 0.009238631, 0.0050750882, -0.04429616, -0.03577198, -0.0023866466, 0.026385533, 0.017454855, -0.010211768, 0.045059886, 0.010772245, -0.04010798, 0.0072554057, -0.0046685888, 0.05321452, -0.011597563, -0.02559717, -0.0055955313, 0.0121087665, -0.027444895, 0.0007733505, 0.0064300876, -0.012262744, 0.000634771, -0.019388808, -0.0060482244, 0.014202856, 0.028602805, -0.025350805, -0.029194077, -0.052376885, -0.00012135328, 0.040428255, 0.0005281418, 0.00091462454, 0.0032550779, 0.012576858, -0.0035876688, 0.01512672, 0.03362862, 0.03153453, -0.0035753506, 0.04882925, -0.013180448, 0.018193945, 0.030302713, 0.00065863744, -0.016789673, 0.0110617215, 0.0053060544, -0.026927533, -0.00587269, 0.0028147032, 0.027124623, -0.040551435, 0.001465863, -0.017578037, -0.0105874725, -0.016715765, -0.04794234, -0.007797405, -0.028602805, 0.0069104964, 0.016937492, 0.0372748, 0.00756336, -0.030425895, -0.012435199, -0.0027500328, -0.03951671, -0.013919539, -0.029834623, 0.019696763, -0.018391037, 0.02269008, -0.022665443, -0.0018816014, 0.00018842959, 0.027370987, 0.023269035, -0.003606146, -0.009977723, 0.026015988, -0.010156336, 0.010224086, -0.00091000524, -0.005752588, -0.00256526, 0.027740533, -0.013833311, 0.00027677402, -0.01896999, 0.03769362, 0.0007745053, -0.016999083, 0.049666885, 0.0064670425, 0.033061985, 0.008715109, -0.014362993, 0.010107064, 0.011942471, 0.02889844, 0.00029698352, 0.008413314, -0.023983488, 0.017208492, -0.027592713, -0.010070109, 0.011726904, 0.0172824, 0.01371013, -0.023576988, -0.030031713, 0.0069844057, -0.008530336, -0.017479492, 0.008056087, 0.0152129475, 0.011264971, -0.0584867, -0.019696763, 0.03254462, 0.007926746, 0.045207705, -0.010168654, -0.005072009, 0.012416721, 0.00465935, -0.007754292, 0.011338881, 0.022936443, -0.021889398, -0.03118962, -0.029489713, 0.0023034988, 0.0193149, -0.015299174, -0.0078097233, 0.00041766313, 0.0048564407, -0.07272651, 0.0022064932, -0.0010832296, 0.028011533, -0.0035537938, 0.018600445, -0.004699384, 0.042226706, 0.017430218, 0.015693355, 0.03052444, -0.013476084, -0.006861224, -0.02978535, -0.0508987, -0.020472808, -0.032864895, -0.012472153, -0.014362993, -0.046956886, -0.0018723627, 0.02519067, 0.00011471301, 0.022111125, -0.027444895, 0.0025498625, -0.026360895, 0.010907745, 0.0008615024, 0.0078035644, -0.017504128, 0.0002430915, 0.028282532, 0.012847858, 0.02707535, -0.0323968, -0.020472808, 0.0025791181, -0.02052208, -0.008253178, 0.006657974, 0.015471629, -0.011942471, 0.0315838, 0.010144018, -0.06449797, 0.031362075, -0.00025136778, -0.004964225, 0.01621072, -0.024599398, 0.055530336, 0.011893199, 0.0031380553, -0.017516445, -0.027124623, -0.015028174, 0.028011533, 0.00039244938, -0.010957018, -0.0005516233, 0.04557725, -0.0064177695, -0.0077481326, -0.01970908, -0.0051921112, -0.030154895, -0.007212292, 0.010901585, -0.000310649, 0.019068535, -0.00024328397, -0.046069976, -0.030327348, 0.00095927797, 0.004409907, 0.0085057, -0.0019370331, 0.0022757829, 0.014486175, -0.01485572, -0.032643165, -0.03626471, 0.0050350544, -0.025473988, 0.025424715, 0.019906173, 0.009682086, -0.021224217, -0.02282558, 0.010944699, 0.030401258, -0.002944044, 0.0318548, 0.02356467, 0.03417062, -0.023379898, -0.023281353, -0.011252654, -0.00121565, -0.0024697944, -0.004868759, -0.0040280437, -0.013094221, 0.041610796, 0.022985715, 0.009873018, 0.008758223, 0.043803435, 0.0028747544, 0.010495086, 0.02796226, 0.008259336, -0.03552562, -0.045601886, -0.035402436, 0.006738042, 0.002924027, 0.015410038, 0.0125460625, -0.0059188833, 0.0064054513, 0.01181929, 0.04084707, -0.03550098, -0.025942078, -0.026237715, -0.030869348, -0.0329388, -0.017799765, 0.009060019, 0.047498886, -0.029760713, -0.08740977, -0.0060944175, 0.009441881, 0.0150774475, 0.0166049, 0.0044530206, 0.030770803, -0.04262089, 0.07248015, 0.008622723, -0.017639628, 0.005897327, 0.0071260645, -0.0176889, 0.020164853, -0.0005931971, -0.036412526, -0.0375458, -0.024340715, 0.014091993, -0.013205084, -0.00607902, 0.025818896, -0.030598348, -0.02335526, -0.025301533, -0.03323444, -0.0664196, 0.019832263, 0.030056348, -0.016050583, 0.0008468746, -0.009669768, 0.07607705, 0.013057266, -0.027321713, 0.00992845, -0.0020740728, -0.016383173, 0.017380945, -0.00015445838, -0.030204168, -0.010987813, 0.0117700165, -0.0039664526, 0.0013064966, 0.01006395, 0.0113635175, -0.011123313, -0.0026022147, -0.01661722, -0.03759507, -0.008259336, -0.0010239483, 0.016789673, 0.022160398, 0.01545931, -0.023441488, -0.033924256, -0.014818765, -0.010963176, 0.013315948, 0.04340925, 0.02754344, -0.030967893, -0.033135895, -0.018859128, 0.0718396, 0.010365745, 0.031509895, -0.012552221, 0.010421176, 0.05873306, 0.013242039, 0.013611584, -0.013673175, 0.014424584, 0.021310445, -0.029588258, -0.030598348, 0.035427075, 0.022985715, -0.0054076794, 0.0065779057, -0.03766898, -0.02525226, -0.03478653, 0.027050715, 0.0018107719, 0.020177172, 0.013377539, 0.021285808, 0.018822173, -0.0015243742, -0.0140673565, -0.012170358, 0.00032854883, -0.019388808, 0.055875245, -0.011018609, 0.03227362, 0.04572507, -0.023601625, 0.0027500328, -0.042029615, 0.017183855, 0.033998165, 0.0068920194, 0.015274538, 0.006990565, 0.008450269, -0.015915083, -0.009029223, -0.049174156, -0.008203905, 0.019364173, 0.022985715, 0.023034988, -0.0029194076, -0.011591404, -0.025375443, -0.0094726775, -0.01871131, 0.022431398, -0.02653335, 0.00884445, 0.024476215, -0.00036973774, -0.007415542, -0.011351199, -0.0033567029, 0.05592452, -0.0102672, 0.0332098, 0.013599266, -0.0027823679, 0.011191063, -0.00059396704, -0.028060805, -0.054052155, -0.0020509763, -0.03451553, 0.018243218, -0.008129996, -0.006029747, 0.0016059822, -0.010285676, -0.016530992, -0.030278075, 0.00079375244, -0.025572533, 0.0164694, 0.022000263, -0.0006393903, 0.016900538, 0.016999083, -0.026163805, -0.00061821844, 0.016641855, 0.044049796, 0.0018523457, -0.002423601, -0.0076126326, -0.024821125, -0.029686803, -0.001924715, 0.029883895, 0.014473856, -0.032766346, 0.00040072566, -0.0018554252, 0.044074435, 0.04429616, 0.0014912692, 0.016370855, 0.017183855, 0.003720089, 0.009503473, 0.0043113614, -0.02559717, -0.004801009, -0.012946403, 0.0124105625, 0.00011201841, 0.022850215, -0.028381078, 0.0039787707, 0.016395492, 0.0047271, 0.028282532, 0.03444162, 0.014289084, 0.034416985, -0.035353165, 0.036782075, -0.0064855195, -0.03550098, -0.0031996462, 0.030031713, -0.024796488, -0.028996985, 0.018058445, 0.0040465207, -0.0020956297, 0.011215699, 0.030598348, 0.00897995, 0.027912986, -0.0025159875, 0.0193149, 0.009552745, -0.0024020444, -0.03688062, 0.014757175, -0.02525226, -0.005774145, -0.03503289, 0.016149128, -0.00857345, 0.008056087, -0.002134124, -0.036511075, -0.039048616, -0.0011425108, -0.018760582, 0.023601625, 0.042300615, -0.0004653961, 0.015890447, 0.010716813, -0.012847858, 0.01167763, 0.015705675, -0.030622985, -0.00357843, 0.004631634, -0.053657975, -0.010544359, 0.014276765, 0.0074217007, 0.039073255, -0.012502949, 0.01215804, -0.0064424057, -0.008598086, -0.022271262, 0.012835539, 0.019832263, -0.00017919096, -0.0151144015, 0.016432447, 0.01857581, 0.04207889, -0.03219971, 0.004874918, -0.011936313, -0.01924099, 0.028849168, -0.015767265, 0.006571747, 0.02390958, 0.025375443, 0.019733718, -0.04727716, -0.014215175, 0.034885075, 0.01869899, -0.01586581, -0.009817586, 0.004745577, -0.0038987026, 0.060112696, -0.0056971563, 0.007705019, 0.025892805, 0.004138907, 0.015175993, -0.010661381, -0.0031257372, -0.04476425, -0.017331673, -0.04705543, 0.010772245, 0.028750623, 0.04828725, 0.0073416326, -0.015065129, -0.010297995, -0.016506355, 0.0012502949, 0.026188442, 0.01175154, 0.020004718, 0.013919539, 0.03996016, -0.010766085, 0.002052516, 0.0068242694, -0.016099855, -0.033727165, -0.0172824, -0.008715109, 0.020608308, -0.022111125, 0.03633862, 0.010187131, 0.016666492, -0.052918885, -0.016912855, 0.014831084, 0.02092858, 0.00979295, -0.013722448, 0.019795308, -0.002032499, 0.014769493, -0.01377172, 0.004024964, -0.008382519, -0.001775357, -0.008696632, 0.0068119513, 0.012798585, -0.009441881, -0.015779583, 0.023712488, 0.02687826, 0.013894903, -0.020608308, 0.0090477, -0.02410667, 0.028947713, 0.0156194465, -0.017060673, 0.005678679, -0.0018538855, -0.012238108, 0.033530075, -0.024525488, -0.02443926, 0.014202856, -0.012700039, -0.011043245, 0.010538199, -0.027641986, 0.040280435, 0.0014704822, 0.009189359, -0.02633626, 0.0015697975, 0.04853361, -0.0021572206, -0.03870371, -0.0027777487, -0.0101132225, -0.010433495, -0.001572877, 0.02714926, -0.018760582, 0.02147058, -0.03660962, -0.004748657, 0.02511676, -0.01869899, 0.0060359063, -0.006313065, -0.019819945, -0.015003538, 0.006091338, 0.03816171, 0.0121087665, 0.009411086, 0.02166767, 0.01120954, 0.0063315425, -0.022443715, 0.01910549, 0.013562311, 0.0053984406, 0.023047308, -0.020805398, 0.03587053, -0.036979165, 0.0011994824, -0.020349625, 0.027321713, 0.044197615, -0.013722448, -0.008056087, 0.0163339, -0.02321976, 0.024673305, 0.01910549, 0.001850806, -0.0028608963, -0.005105884, -0.0073909056, 0.006109815, 0.0032735553, 0.0033105097, -0.0091832, -0.028602805, -0.004847202, -0.008333246, -0.029662168, -0.026557988, -0.02261617, 0.038038526, 0.0058357357, -0.027937623, 0.02376176, 0.00412043, 0.0022064932, 0.018735945, 0.009004586, -0.022529943, -0.0030872428, -0.01087079, -0.006664133, -0.014560084, 0.01924099, -0.006670292, 0.012650766, -0.008671996, 0.010187131, 0.019413445, -0.01303263, 0.01789831, 0.024365352, 0.021901717, 0.010729131, -0.008856769, -0.020990172, -0.03215044, 0.016432447, 0.009755995, 0.016801992, 0.018588128, -0.009294064, -0.008265496, -0.01566872, 0.0071753375, 0.024821125, -0.005019657, 0.02754344, -0.019524308, 0.009669768, -0.040600706, -0.026631895, 0.0056694406, -0.015508584, -0.012502949, -0.005570895, 0.011659154, -0.04232525, 0.0055616563, -0.024340715, 0.0028054644, 0.004847202, 0.020448172, -0.00938645, -0.032248985, 0.003618464, -0.004037282, -0.001032417, 0.010347268, -0.03909789, -0.03909789, 0.006177565, -0.0028347203, 0.028257895, -0.008887564, -0.00089075806, -0.036708165, 0.030278075, 0.019216355, -0.020953218, 0.004003407, 0.016112175, -0.007908269, 0.01761499, 0.027395623, 0.017183855, -0.00209409, 0.018354082, 0.05272179, -0.049716156, -0.0015620986, -0.025917443, 0.03160844, 0.0193149, 0.026902895, 0.018341763, 0.009361814, 0.030401258, 0.031041803, 0.01499122, -0.016580265, -0.016654173, 0.011172585, -0.019696763, -0.0039264187, 0.00087690016, -0.0039325776, 0.00077681494, -0.0334808, -0.010217926, 0.02490735, 0.0086412, -0.009965404, 0.015915083, 0.025424715, 0.0340228, -0.009780631, -0.005078168, 0.015471629, -0.010501245, -0.008216224, -0.00097082625, -0.028479623, 0.0011363517, 0.02234517, 0.0014866499, -0.0014258289, -0.013586948, -0.036954526, 0.035008255, -0.005142838, -0.0386298, 0.02660726, 0.01485572, -0.010445813, 0.05286961, -0.008518019, -0.018551173, 0.03377644, 0.014732538, -0.020645263, 0.033998165, -0.01842799, 0.009983881, 0.012114926, 0.026656533, -0.013513039, -0.026188442, 0.0038740663, 0.022702398, -0.0077604507, -0.014362993, -0.033456165, 0.04316289, 0.003753964, 0.016777355, -0.016383173, 0.0034922028, -0.018046128, 0.020743808, 0.036831345, 0.02843035, 0.029341895, -0.0053245313, -0.01343913, -0.026755078, -0.014929629, -0.005650963, 0.037989255, 0.007661905, -0.025350805, 0.029391168, -0.03274171, 0.0410688, 0.028036168, 0.01485572, -0.0048903157, -0.033259075, -0.0075572007, 0.03389962, -0.005379963, -0.008382519, 0.011708426, -0.014683265, -0.01390722, 0.019462718, -0.004197418, 0.0117700165, -0.034466255, 0.017565718, -0.013463766, -0.007976019, 0.0024605556, 0.025227625, 0.016962128, -0.002174158, 0.009971564, -0.013217403, -0.021248853, -0.022061853, -0.040206525, -0.018957673, 0.029563623, -0.039615255, -0.009331018, -0.016641855, -0.0391718, 0.0034182938, -0.0021372035, 0.0072492464, 0.0141659025, 0.02403276, 0.012010221, 0.05227834, 0.05488979, 0.014535448, -0.0011448205, -0.012182676, -0.03996016, -0.022924125, 0.03421989, -0.04732643, 0.026927533, 0.020423535, 0.009349495, -0.04841043, -0.029218713, 0.009484995, 0.0013750164, 0.00035953676, 0.022665443, 0.0015713373, -0.009645131, 0.030746168, -0.02235749, -0.01998008, -0.019462718, 0.019598218, 0.034687985, -0.036486436, 0.0115667675, -0.01545931, -0.018144673, 0.0040434413, -0.0057833837, 0.03187944, 0.0066333376, -0.01350072, -0.01957358, -0.0062268376, -0.02808544, 0.04929734, 0.030573713, -0.018329445, 0.040058706, -0.000044460914, 0.0024112829, -0.0011887039, 0.028775258, -0.020312672, 0.026360895, 0.0036831344, -0.043187525, -0.010236404, 0.00398185, -0.009417245, -0.017922945, -0.027247805, -0.0036030663, -0.00078489876, -0.005820338, -0.00012703119, 0.012312016, 0.027666623, -0.019056218, 0.04441934, 0.04584825, -0.013057266, 0.021125672, -0.0006216829, 0.0033505438, -0.0070275194, 0.031559166, 0.008481064, 0.013808675, 0.0029502031, 0.008148474, 0.024796488, -0.0024051238, -0.009706723, -0.017849037, 0.011535971, 0.00789595, 0.0119732665, -0.01093854, -0.012872494, 0.01242288, 0.010839995, 0.018600445, 0.004416066, 0.02282558, -0.01316813, 0.0367328, 0.006356179, 0.027863713, -0.037250165, -0.012053335, 0.018538855, -0.020300353, 0.02275167, -0.03715162, -0.04988861, 0.017528765, 0.0020401978, 0.013180448, -0.00567252, 0.016161447, 0.00082146836, 0.02505517, -0.03949207, -0.0096081775, 0.00985454, 0.027297078, -0.011702267, -0.0021110275, 0.038038526, 0.011000131, -0.04333534, -0.028947713, -0.04321216, -0.018945355, 0.021359717, -0.005678679, 0.02154449, -0.041955706, 0.015483947, -0.044049796, -0.022246625, 0.026360895, 0.0012733914, -0.003969532, 0.029120168 ]
2401.09350
149
The concrete form is not only important for making the data structure practical, it is also necessary for analysis. For example, as Beygelzimer et al. [2006] prove that the space complexity of the concrete Cover Tree is O(m) with m = |X |, whereas the abstract form is infinitely large. The time com- plexity of the insertion and search algorithms also use the concrete form, but they further require assumptions on the data distribution. Beygelzimer et al. [2006] present their analysis for vectors that are drawn from a doubling mea- sure, as we have defined in Definition 3.1. However, their claims have been disputed [Curtin, 2016] by counter-examples [Elkin and Kurlin, 2022], and corrected in a recent work [Elkin and Kurlin, 2023]. # 4.5 Closing Remarks This chapter has only covered algorithms that convey the foundations of a branch-and-bound approach to NN search. Indeed, we left out a number of alternative constructions that are worth mentioning as we close this chapter. # 4.5.1 Alternative Constructions and Extensions The standard k-d Tree itself, as an example, can be instantiated by using a different splitting procedure, such as splitting on the axis along which the data exhibits the greatest spread. PCA Trees [Sproull, 1991], PAC Trees [Mc51 52
2401.09350#149
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 149, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "The concrete form is not only important for making the data structure practical, it is also necessary for analysis. For example, as Beygelzimer et al. [2006] prove that the space complexity of the concrete Cover Tree is O(m) with m = |X |, whereas the abstract form is infinitely large. The time com- plexity of the insertion and search algorithms also use the concrete form, but they further require assumptions on the data distribution. Beygelzimer et al. [2006] present their analysis for vectors that are drawn from a doubling mea- sure, as we have defined in Definition 3.1. However, their claims have been disputed [Curtin, 2016] by counter-examples [Elkin and Kurlin, 2022], and corrected in a recent work [Elkin and Kurlin, 2023].\n# 4.5 Closing Remarks\nThis chapter has only covered algorithms that convey the foundations of a branch-and-bound approach to NN search. Indeed, we left out a number of alternative constructions that are worth mentioning as we close this chapter.\n# 4.5.1 Alternative Constructions and Extensions\nThe standard k-d Tree itself, as an example, can be instantiated by using a different splitting procedure, such as splitting on the axis along which the data exhibits the greatest spread. PCA Trees [Sproull, 1991], PAC Trees [Mc51\n52", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.008764736, 0.033483565, 0.06734095, 0.001364275, 0.053856738, 0.016634976, 0.048142634, 0.018704334, -0.034284607, 0.07871575, 0.036580928, -0.033163145, 0.022175519, 0.011181214, -0.012396128, -0.016608275, 0.032201897, 0.0007630761, 0.03249561, 0.019078154, 0.0030656552, 0.007589875, 0.036313914, -0.0046760836, 0.036207106, -0.022095414, 0.03404429, 0.031267345, 0.04272225, -0.033777278, 0.020853799, -0.007536472, -0.021561386, 0.027983073, 0.015980791, 0.05868969, -0.013016935, 0.0031057072, 0.014378707, 0.0142452, 0.028623907, 0.026688056, -0.08005082, 0.0054237233, 0.01879779, 0.003788262, -0.030092485, -0.00116318, -0.01918496, 0.013203845, -0.047929026, 0.05449757, -0.013344028, -0.059704345, -0.039144263, 0.022562688, -0.061253026, -0.00019431532, 0.08320158, 0.003491209, 0.0052067745, -0.026127325, 0.0018907933, 0.05027875, -0.042882457, 0.0227763, -0.02335038, 0.022843054, -0.0016705068, 0.0008794776, -0.007236081, -0.010613809, -0.021040708, -0.0011898815, 0.02335038, 0.014712475, -0.0045759534, 0.03132075, -0.0141517455, -0.008804789, 0.061626844, 0.008063825, 0.030813422, -0.011855424, 0.010426899, -0.05033215, -0.012416154, 0.020960605, -0.08672617, -0.021374475, -0.036340613, 0.007576524, 0.018504074, 0.024952464, 0.053376112, 0.024324981, -0.023964513, 0.0028320178, -0.01130137, -0.020226315, -0.006805521, -0.013183819, 0.03169457, -0.041093465, 0.09462979, 0.0089449715, 0.009011725, 0.009952949, -0.066539906, -0.0033526954, -0.07123935, -0.03553957, -0.014378707, 0.020453278, 0.003262578, -0.037702385, -0.051987637, 0.02260274, -0.003025603, 0.021294372, 0.043363083, 0.006114622, -0.02393781, 0.028303491, 0.03682124, -0.028036477, 0.04194791, -0.04045263, -0.0142452, 0.026714757, -0.0065852343, 0.011054383, 0.012936831, -0.013524262, -0.04250864, -0.0068689366, -0.064243585, 0.045846313, 0.015206451, -0.051560417, -0.016688379, -0.015139697, 0.034631725, 0.026461093, -0.056767188, 0.043549992, -0.028063178, 0.07759429, 0.014165096, 0.030706618, 0.03174797, -0.01025334, -0.019225013, -0.00959248, -0.01727581, -0.0199326, 0.02033312, 0.021387827, 0.043015964, -0.03911756, 0.033536967, -0.0011081083, 0.03778249, 0.015299906, -0.0065084677, 0.0033243252, -0.035966795, 0.006742105, -0.058796495, 0.0051934235, 0.022803001, -0.05868969, 0.016421365, -0.0066653388, 0.0342045, 0.0027352253, -0.040639542, -0.009232012, 0.0140182385, -0.011107785, -0.023617394, 0.016781833, 0.005587269, 0.011027681, -0.0029955641, -0.0056540226, 0.015353309, -0.018690985, 0.008177306, 0.010126509, -0.042989265, 0.03260242, 0.053215902, 0.044724856, 0.005250164, -0.021668192, 0.013791276, -0.008317488, 0.017209057, 0.017516123, 0.06152004, -0.0051633846, -0.031240646, -0.01481928, 0.0010630498, -0.013050312, 0.014325305, 0.013884732, -0.03572648, -0.059704345, -0.042268325, -0.027769463, 0.014939437, 0.024752203, -0.01615435, 0.010273366, -0.026087275, 0.042802352, -0.025753506, 0.068889625, -0.0072093797, 0.038263116, 0.019465325, 0.01016656, -0.038102906, 0.009912897, 0.04993163, -0.083415195, 0.023951162, -0.047581907, 0.048703365, 0.032522313, 0.0059010107, -0.010193262, -0.047768816, -0.027983073, -0.05225465, -0.031374153, -0.024445137, -0.008738035, -0.0010905856, 0.0008461008, -0.0022028661, 0.016314559, -0.027956372, 0.05580594, -0.021401176, -0.008417618, 0.0072828084, 0.016221104, -0.008711333, -0.035966795, -0.0341511, -0.03740867, -0.06798178, -0.038610235, -0.008063825, 0.004332303, 0.056446772, -0.015233153, -0.014659072, -0.017689683, 0.0043923813, -0.031000333, -0.06515143, -0.014084992, 0.005827582, 0.01802345, 0.007870239, -0.03567308, 0.014231849, -0.005353632, 0.01747607, -0.016781833, -0.0021461255, -0.022362428, -0.013951485, 0.048943676, -0.0013776256, -0.019879198, 0.011421527, -0.016755132, 0.07460373, -0.039037455, 0.03185478, 0.022816353, -0.02961186, -0.00081355846, -0.012716545, -0.03567308, 0.03727516, -0.019051453, 0.00008427631, -0.002234574, -0.014952787, -0.034658425, -0.034818634, -0.018931298, 0.015206451, -0.010607134, 0.012269296, 0.0050565787, 0.02889092, 0.01958548, -0.010380171, -0.03396419, 0.017169004, 0.040906556, 0.010747316, 0.007896941, -0.014165096, 0.036954746, -0.0025516532, 0.0323087, -0.049157288, -0.0017656304, 0.079463385, -0.061947264, -0.027048524, 0.007102574, -0.056126356, -0.07155977, 0.02889092, -0.013123741, 0.040399227, 0.046033226, -0.052388158, 0.042268325, 0.006164687, -0.027609253, -0.018477373, -0.035032246, 0.057995453, 0.00026284196, -0.02774276, -0.026127325, 0.009906222, 0.017302511, -0.050545763, 0.014926086, -0.02639434, 0.026741458, 0.016314559, 0.036527526, -0.006658663, 0.042481937, -0.004662733, 0.057247814, -0.004292251, 0.018303813, -0.034818634, -0.05241486, -0.011701891, 0.019291766, 0.017716384, 0.0074363416, 0.003634729, -0.042882457, 0.008537775, 0.005550555, 0.027275486, 0.0030222654, -0.0096325325, 0.0047328244, 0.017636279, 0.03970499, -0.09799416, 0.024445137, 0.019278415, 0.0072828084, -0.02165484, 0.005907686, -0.0032458897, -0.016367963, -0.047021177, -0.007730057, 0.034017593, 0.003471183, 0.075992204, 0.0017189031, -0.010199937, -0.011922178, -0.03719506, -0.021534685, 0.021721594, 0.038396623, 0.008724685, 0.024952464, -0.062748305, -0.00057449745, 0.02998568, 0.009125206, 0.0455793, 0.003728184, -0.018530777, -0.022175519, 0.04066624, 0.018343866, 0.047421698, 0.016007492, -0.045712806, 0.009412246, -0.021040708, -0.014779229, -0.011127811, 0.012202542, 0.05294889, -0.017889943, -0.00043348063, 0.011995607, 0.0064183506, -0.008237384, 0.025393037, -0.025726805, 0.0011122804, 0.01728916, -0.026995122, 0.048062533, -0.0141517455, 0.021387827, 0.00014007807, 0.00069298496, -0.019972652, -0.055538926, -0.026527848, 0.064403795, -0.024365034, 0.0069156643, -0.013724523, -0.046006523, 0.08346859, 0.06296191, -0.027048524, 0.034524918, -0.0012908462, -0.001569542, 0.02487236, 0.0023430483, -0.01918496, 0.020052755, -0.013831329, 0.01630121, 0.004005211, 0.015406711, -0.024164774, -0.0104001975, -0.02715533, -0.023123417, 0.012022308, 0.0058309194, -0.015767181, -0.01746272, 0.011054383, 0.013938135, -0.014725826, -0.002852044, 0.08619214, -0.0005152537, 0.0436568, 0.008838166, 0.031534363, 0.010006352, -0.045098674, 0.038236413, -0.015793882, 0.004642707, -0.0084443195, -0.012082387, 0.04400392, -0.027222084, 0.030466305, -0.03933117, 0.044270933, -0.06467081, 0.0045859665, 0.007002444, 0.017329212, -0.010293392, 0.0038950676, -0.006855586, 0.006248129, -0.024551943, 0.03174797, 0.013611042, 0.022856403, 0.053028993, 0.01958548, 0.050412256, 0.040719643, 0.014512214, -0.0380228, -0.033163145, 0.06686032, -0.01461902, 0.041146867, -0.00021121229, -0.058422677, -0.027689358, 0.009839469, -0.029478353, -0.007830188, -0.014659072, -0.013016935, -0.00027181196, -0.003192487, 0.0045759534, -0.00931879, 0.00008714463, -0.0005035718, 0.057408024, -0.006164687, 0.018317165, 0.05564573, 0.014565617, -0.0035846638, 0.036580928, -0.01650147, 0.012008958, -0.0043122773, 0.00864458, 0.015072944, -0.009252037, -0.067714766, -0.0036580926, -0.026260832, -0.017996747, -0.049397603, -0.07935658, -0.034070995, -0.014886034, -0.015233153, -0.019425273, 0.033109743, 0.0078368625, -0.038583532, -0.022255622, -0.0069557163, 0.036100302, -0.011047707, -0.014578968, 0.0045092, -0.0048029153, -0.009138556, -0.0017339225, -0.00071467983, -0.017809838, 0.030679915, -0.012456206, 0.012316024, 0.011581735, 0.009065127, -0.012122438, -0.023283627, -0.024538592, -0.015099646, 0.045686107, 0.005730789, -0.018877894, -0.00023572335, -0.022803001, -0.019198311, 0.01802345, 0.020493329, 0.03324325, 0.004415745, 0.009332142, -0.011955555, -0.0073028347, 0.017355913, 0.015273204, -0.04712798, -0.011721917, 0.013477535, -0.032976236, -0.006168025, -0.017783137, -0.013564315, -0.03572648, -0.015019541, -0.02505927, -0.019772392, -0.008030448, -0.06488442, -0.008511073, -0.032575715, 0.01728916, 0.033670474, 0.03644742, -0.018277112, -0.026995122, 0.0012599726, -0.019305117, -0.014458812, -0.014886034, -0.011021005, -0.0038349894, -0.030439604, -0.0011756963, -0.010733966, -0.01016656, -0.0027168682, 0.030866826, 0.028517103, -0.0360736, -0.0069757425, 0.022816353, -0.006011154, 0.010033053, 0.0067821573, 0.01917161, 0.0025766857, 0.015353309, -0.006054544, -0.015500166, -0.02583361, 0.02050668, -0.0004443281, -0.013310651, 0.027115278, -0.036020197, 0.010206613, 0.003908418, -0.017542824, 0.011661839, 0.019451974, 0.009799416, 0.029585158, -0.01842397, 0.0041720946, 0.004529226, -0.032335404, 0.007042496, 0.020159561, 0.03687464, -0.004602655, -0.01044025, -0.0037081577, -0.031988285, -0.025660051, -0.0013767913, -0.0052368133, 0.036313914, 0.050972983, -0.015807232, -0.02297656, 0.020533381, -0.019799093, 0.02811658, -0.027368942, -0.005777517, -0.0057574906, -0.0019475338, 0.0064283637, -0.0043089394, 0.017889943, -0.010940901, -0.022322375, -0.041493986, 0.007863564, 0.01784989, -0.026234131, -0.035245858, -0.020359822, 0.010800719, -0.040506035, 0.020626836, 0.0121157635, 0.023230223, 0.009292089, 0.03156106, 0.012449531, 0.07294824, 0.01480593, 0.017128952, 0.0065051303, -0.025967117, -0.011074408, -0.032415505, -0.028517103, -0.018450672, -0.03396419, -0.001318382, -0.023470536, -0.0028453686, 0.016434716, 0.025032569, 0.018624231, 0.01128802, -0.017970046, 0.00475285, 0.011975581, 0.011221266, 0.02771606, -0.011121136, -0.008898243, -0.0009921241, -0.009458973, 0.03396419, -0.015433413, -0.091532424, 0.0031073762, 0.033937488, -0.021668192, -0.01973234, 0.0077367323, 0.003758223, -0.015620323, 0.045659404, 0.028517103, -0.042989265, 0.036527526, -0.009599156, -0.0070958985, 0.03473853, -0.03340346, 0.019945951, 0.022522636, -0.0024882373, -0.03289613, -0.020653538, -0.03321655, 0.002151132, 0.0015344964, 0.0032091753, 0.012522959, 0.0076165763, -0.050412256, -0.0046894345, -0.001214914, -0.003079006, -0.022135466, 0.03132075, 0.012776623, 0.022162167, -0.0018724361, 0.025326284, -0.025166076, 0.010753991, -0.028143283, -0.011247967, 0.008083851, -0.04197461, -0.009338817, -0.008450995, -0.018370567, -0.020853799, -0.014338655, -0.009458973, -0.007082548, 0.0209072, 0.0066352994, 0.012322699, -0.038636934, -0.0069623915, -0.0036280535, 0.0109275505, -0.010520354, 0.011081084, 0.021134162, 0.014512214, -0.024271578, 0.009812767, -0.029691964, -0.005417048, 0.039037455, -0.02165484, 0.017769786, -0.026661355, 0.013103715, 0.007443017, -0.0051400205, -0.0032508962, 0.02923804, -0.023110067, 0.042134818, 0.030840125, 0.005180073, -0.026741458, -0.038396623, -0.0018590854, 0.0077100312, -0.009719312, 0.011621787, -0.0016905328, -0.013978186, -0.0070958985, -0.009652559, 0.023256924, -0.012122438, -0.0012950182, 0.002049333, 0.009685935, -0.023029963, 0.013070338, 0.006982418, 0.03433801, -0.03380398, -0.10397527, -0.04632694, 0.017743085, 0.020666888, 0.025700103, -0.008010422, 0.039785095, -0.028730713, 0.046620656, -0.011695216, -0.023817655, 0.023951162, -0.0011306377, 0.019598832, -0.011755294, 0.022175519, -0.0060378555, -0.030466305, -0.027662657, 0.008511073, 0.006114622, 0.020266367, 0.0059243743, 0.012329374, -0.02376425, -0.018156957, -0.0059911283, -0.051213298, 0.0011523325, 0.02125432, -0.0134374825, -0.010593783, 0.0041754325, 0.07807491, -0.007516446, -0.013911433, 0.004846305, -0.0052935537, -0.008063825, -0.025473142, 0.013657769, -0.03663433, 0.0011289688, -0.013010261, -0.0018207021, 0.0052067745, 0.024965815, -0.011308045, 0.011254643, 0.0016029188, 0.0067053908, -0.062000666, -0.017743085, -0.02145458, 0.011802021, 0.026794862, 0.009325466, -0.010086456, -0.013357379, 0.035806585, -0.028223386, 0.0066853645, 0.008858192, 0.012923481, -0.024578644, -0.030813422, 0.020253018, 0.027315538, 0.0066419747, 0.015153048, -0.01025334, 0.02543309, -0.011154513, 0.013183819, 0.014592319, -0.021374475, -0.01724911, 0.025366336, -0.041493986, -0.025272882, 0.034658425, -0.021601439, -0.018103553, 0.017729733, -0.013964836, -0.012629765, -0.0083108125, -0.0012290991, -0.005136683, 0.01243618, 0.0043623424, 0.006855586, 0.01444546, 0.0155268675, 0.012349401, -0.0059410627, -0.0022112103, -0.01786324, 0.014845982, 0.00060537097, 0.043736905, 0.04136048, -0.023016613, 0.013430808, -0.03647412, 0.029478353, 0.0038149634, -0.01480593, 0.015072944, 0.00017720972, 0.013424132, -0.0042555365, 0.00018451089, -0.05863629, 0.021988608, 0.012629765, 0.030519707, 0.044911765, 0.0012115763, -0.017622929, 0.00493976, -0.004656058, -0.018717686, 0.009358843, -0.013183819, -0.007276133, 0.016781833, 0.0127499215, -0.018357217, -0.0012424499, 0.0035312609, 0.034872036, 0.0014669085, 0.01783654, -0.024725502, 0.006381636, 0.025913715, 0.00077267195, -0.004559265, -0.0170889, 0.0048196036, -0.026928369, -0.020386524, 0.026941719, 0.039411277, -0.0055205156, -0.024258228, -0.022682844, -0.010500328, -0.02050668, -0.033109743, 0.0035646379, 0.020413226, 0.0095524285, -0.011795347, 0.012376102, -0.035779886, 0.00078560546, 0.045712806, 0.043790307, -0.012229244, 0.016314559, -0.018277112, -0.03249561, 0.017382616, 0.012796649, 0.0041353805, 0.0072093797, -0.01443211, 0.02712863, -0.024725502, -0.004612668, 0.018771088, 0.026688056, 0.027609253, 0.016448066, 0.019051453, 0.019852495, -0.007422991, 0.0010905856, -0.00026638826, -0.02886422, 0.0041120164, 0.011067733, 0.017169004, -0.0006992431, -0.006715404, -0.026087275, 0.032629117, 0.034658425, 0.043790307, -0.003284273, 0.037862595, -0.004893033, 0.04389711, 0.025740156, -0.034471516, 0.013110391, 0.024164774, -0.020026054, -0.026060572, 0.016861938, -0.009298765, -0.011635138, 0.030973632, 0.040292423, 0.033857383, 0.03967829, -0.021534685, 0.015299906, -0.0061413236, 0.024391735, -0.046433747, -0.0040753023, -0.0025583284, 0.02808988, -0.009098504, 0.03497884, -0.013510912, -0.0058909976, -0.039010756, -0.039251067, -0.044564646, 0.026154028, 0.0034645074, 0.020853799, 0.038610235, 0.03567308, 0.020439927, -0.0062681553, -0.03855683, -0.002565004, 0.008137253, -0.027929671, -0.020733641, -0.012990234, -0.029211339, 0.009519052, 0.018837841, -0.0007000775, 0.0016254481, -0.014285252, 0.011021005, -0.011328071, -0.028250087, -0.03572648, 0.024618696, 0.0051400205, -0.019411922, -0.0055438797, 0.0017456044, 0.002439841, 0.029131234, -0.012970208, -0.0021160864, -0.01784989, -0.029718665, 0.053830035, 0.00854445, 0.008537775, 0.017209057, 0.024551943, 0.008150605, -0.03132075, 0.0059444006, -0.008417618, 0.013424132, -0.030866826, 0.0061813756, 0.012476232, -0.023590693, 0.04079975, -0.02640769, 0.0199326, -0.00588766, 0.0048296168, -0.013537613, -0.003447819, 0.025473142, -0.034257904, -0.028971026, -0.03698145, -0.021107461, 0.02827679, 0.03497884, -0.027288837, 0.0008794776, -0.00094539666, 0.013103715, -0.021534685, 0.01935852, -0.0035045596, 0.027475746, 0.005223463, 0.0154734645, -0.015086294, 0.004642707, -0.0007655794, 0.0043990565, -0.032335404, -0.00940557, -0.002358068, 0.021868452, -0.014392058, 0.02886422, 0.0070958985, -0.008584502, -0.051880833, -0.030439604, -0.010173236, 0.024431787, -0.00959248, -0.007629927, 0.00903175, -0.017729733, 0.014872683, -0.027315538, -0.026220782, -0.0055672433, 0.000020834397, -0.012129114, 0.021761646, 0.022816353, -0.019598832, -0.010753991, 0.015540219, 0.028810818, -0.0013192163, 0.005814231, 0.028196685, -0.02391111, 0.013263924, -0.0010822414, 0.007950344, -0.007870239, 0.017743085, -0.024752203, 0.006051206, -0.018717686, 0.011715242, 0.018891245, -0.012162491, -0.002955512, -0.017329212, -0.035619676, 0.036420718, 0.035165753, 0.043202877, -0.007549823, 0.007536472, 0.05177403, -0.006061219, -0.030439604, -0.011521657, 0.004622681, 0.010774017, -0.010126509, 0.013557639, -0.0064183506, 0.018624231, -0.009672584, 0.016247805, -0.010046404, -0.03647412, 0.0063082073, 0.0041687572, -0.02070694, -0.012896779, 0.0077767847, 0.0180368, 0.01167519, 0.026821563, 0.004809591, 0.0040919906, 0.028036477, -0.0022278987, 0.037301864, 0.0044724857, -0.025206128, 0.004716136, -0.017115602, -0.01538001, -0.020586785, -0.0022095414, -0.015353309, 0.011715242, -0.0061112843, 0.007803486, 0.0008677957, -0.0060311803, 0.016234456, 0.027395643, -0.005303567, -0.0020226315, 0.004559265, -0.007349562, 0.0038750416, -0.0044991868, 0.018917946, -0.008210682, -0.018557478, -0.020119509, 0.013210521, -0.008277436, -0.02508597, -0.015246503, 0.021895153, 0.02449854, 0.0029688627, -0.01499284, -0.022135466, -0.0020777031, 0.007923642, 0.03529926, -0.020853799, -0.037488773, -0.02126767, -0.016755132, 0.0069957683, -0.0037415347, -0.0046694083, -0.0047695385, 0.008424293, -0.012442855, 0.00374821, 0.03727516, 0.007216055, 0.018477373, 0.026848264, 0.027983073, 0.020720292, -0.017556174, -0.05062587, -0.023657447, 0.015246503, 0.01081407, 0.012496258, 0.026340937, -0.0028904271, 0.0017856566, -0.020319771, 0.025339635, 0.020426575, 0.008177306, -0.009766039, -0.022015309, -0.0018774426, -0.042882457, -0.008537775, -0.0070892232, -0.01118789, 0.01556692, -0.014872683, 0.015326607, -0.035753183, 0.0024598672, -0.027555851, 0.005921037, 0.047955725, 0.02336373, -0.019572131, 0.017128952, -0.0015812239, 0.011521657, 0.015820583, 0.032949537, -0.036607627, 0.0020026055, -0.017796487, -0.009058452, 0.033376757, -0.0035345987, -0.022923157, -0.012916805, 0.027075225, -0.010820745, -0.04026572, -0.019091506, 0.019091506, 0.011942204, -0.004692772, 0.03962489, -0.016087597, 0.023457186, 0.0007993734, 0.033670474, -0.029451651, -0.018891245, -0.040719643, 0.0035980146, 0.016928691, 0.036714435, 0.017889943, 0.013170469, 0.016074246, 0.0109008495, 0.007950344, -0.019518727, 0.0015153048, 0.021588087, -0.020052755, 0.008798113, 0.0042221597, 0.00094789994, 0.010794044, -0.021494633, -0.004539239, -0.0066987155, 0.024284929, -0.01128802, 0.019038104, 0.0065952474, 0.03564638, -0.028784117, 0.015673725, 0.0052134497, -0.021000655, -0.0036480797, -0.01480593, -0.021307722, 0.00436568, 0.021414528, 0.017395966, 0.015513517, -0.022322375, -0.035032246, 0.010780693, -0.011214591, -0.017315863, 0.041867804, -0.014258551, 0.0062214276, 0.015233153, -0.015326607, -0.023817655, 0.03893065, 0.03962489, -0.00018972601, 0.026861615, -0.014926086, 0.0033526954, 0.016995445, 0.024431787, -0.008137253, -0.013390755, 0.005320255, -0.018998051, -0.018944647, -0.010547056, -0.014578968, 0.05981115, -0.011421527, 0.00046810904, -0.0048563182, 0.039785095, 0.00044265925, 0.014659072, 0.043523293, 0.004332303, 0.06253469, 0.013237222, -0.01652817, 0.02352394, -0.0153933605, -0.023043314, 0.005220125, 0.03166787, -0.019518727, 0.0133306775, -0.03116054, 0.010373496, 0.019225013, -0.0015536881, -0.006628624, -0.02771606, -0.023657447, -0.012629765, 0.005967764, 0.0060879206, 0.035913393, -0.010633835, -0.021948555, -0.0021578074, 0.016474769, 0.019638885, -0.044377737, 0.009852819, 0.007950344, -0.011581735, -0.0022546, 0.0059978035, 0.018664284, 0.024765555, -0.0006107947, 0.0028169984, 0.008190656, -0.020012705, -0.007549823, -0.01595409, 0.015980791, -0.03513905, 0.009131881, -0.033563666, -0.0070157945, 0.028330192, -0.011935528, -0.000020260735, -0.00066127704, 0.025486492, -0.0033910787, 0.041707598, 0.038102906, 0.033083044, 0.026915018, -0.008150605, -0.008604528, 0.0062848437, 0.029585158, -0.062000666, 0.02355064, 0.019425273, 0.029344846, -0.02108076, -0.02336373, 0.014899385, -0.02790297, -0.002678485, 0.027115278, 0.0020443264, -0.008477696, 0.00043139458, -0.026327586, -0.0128567275, -0.017262459, 0.0455793, 0.012028984, -0.04803583, 0.021347774, 0.0019341831, -0.011134487, 0.005280203, -0.02220222, 0.030599812, -0.0027402318, -0.007256107, -0.03682124, -0.03116054, -0.0027352253, 0.0005961923, 0.020560082, -0.016314559, 0.038209714, -0.0025099323, 0.01405829, -0.010660537, 0.037702385, -0.02068024, 0.031027034, 0.011334747, -0.0056139706, -0.021908503, 0.0033510264, 0.018156957, -0.010567081, -0.04026572, 0.012850052, -0.0083909165, 0.0032742599, 0.0020042744, 0.019104857, 0.028383594, -0.00218284, 0.010947577, 0.021334423, -0.0076165763, -0.019078154, -0.001071394, -0.005180073, 0.0006124635, 0.0032742599, 0.05257507, -0.009211985, -0.0012207549, 0.005156709, 0.009932923, 0.011948879, -0.016207753, 0.0073028347, 0.00011066481, -0.012923481, 0.015019541, 0.011882125, -0.0037915998, -0.000096114636, -0.016114298, 0.024778904, -0.017302511, 0.011995607, -0.002913791, 0.0322553, 0.0042221597, 0.0071693277, -0.053616423, -0.01214914, 0.0041854456, -0.032121792, 0.027101927, -0.010567081, -0.026688056, 0.012182517, -0.013210521, 0.0122225685, -0.015967442, 0.019265065, -0.016114298, 0.00007514986, -0.024471838, -0.0122225685, -0.011341422, -0.011882125, -0.004145393, 0.01480593, 0.015940739, 0.020720292, -0.025166076, -0.011227941, -0.055325314, 0.023804303, 0.029585158, -0.003925107, 0.021601439, -0.024378384, 0.025179425, -0.020760342, -0.027849566, 0.051239997, 0.004479161, 0.0027519136, 0.000044354583 ]
2401.09350
150
52 4 Branch-and-Bound Algorithms Names, 2001], and Max-Margin Trees [Ram et al., 2012] offer other ways of choosing the axis or direction along which the algorithm partitions the data. Vantage-point Trees [Yianilos, 1993], as another example, follow the same iterative procedure as k-d Trees, but partition the space using hyperspheres rather than hyperplanes. There are also various other randomized constructions of tree index struc- tures for NN search. Panigrahy [2008], for instance, construct a standard k-d Tree over the original data points but, during search, perturb the query point. Repeating the perturb-then-search scheme reduces the failure probability of a defeatist search over the k-d Tree. Sinha [2014] proposes a different variant of the RP Tree where, instead of a random projection, they choose the principal direction corresponding to the largest eigenvalue of the covariance of the vectors that fall into a node. This is equivalent to the PAC Tree [McNames, 2001] with the exception that the splitting threshold (i.e., the β-fractile point) is chosen randomly, rather than setting it to the median point. Sinha [2014] shows that, with the modified algorithm, a smaller ensemble of trees is necessary to reach high retrieval accuracy, as compared with the original RP Tree construction.
2401.09350#150
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 150, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "52\n4 Branch-and-Bound Algorithms\nNames, 2001], and Max-Margin Trees [Ram et al., 2012] offer other ways of choosing the axis or direction along which the algorithm partitions the data. Vantage-point Trees [Yianilos, 1993], as another example, follow the same iterative procedure as k-d Trees, but partition the space using hyperspheres rather than hyperplanes.\nThere are also various other randomized constructions of tree index struc- tures for NN search. Panigrahy [2008], for instance, construct a standard k-d Tree over the original data points but, during search, perturb the query point. Repeating the perturb-then-search scheme reduces the failure probability of a defeatist search over the k-d Tree.\nSinha [2014] proposes a different variant of the RP Tree where, instead of a random projection, they choose the principal direction corresponding to the largest eigenvalue of the covariance of the vectors that fall into a node. This is equivalent to the PAC Tree [McNames, 2001] with the exception that the splitting threshold (i.e., the β-fractile point) is chosen randomly, rather than setting it to the median point. Sinha [2014] shows that, with the modified algorithm, a smaller ensemble of trees is necessary to reach high retrieval accuracy, as compared with the original RP Tree construction.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.018691584, -0.009518036, 0.097681075, 0.0098497635, 0.032943122, -0.010277182, -0.02461165, 0.014685334, -0.050728835, 0.06379381, 0.013154283, -0.013205318, 0.015080855, 0.007999743, 0.02161334, -0.041032176, 0.018615032, -0.01814296, -0.01297566, 0.04685017, -0.028273415, 0.0050205723, 0.008822683, 0.002996714, 0.022825424, -0.008771649, 0.042205982, 0.001966444, 0.03717903, -0.047972944, -0.008414403, -0.009556312, -0.023246463, 0.017326398, -0.0006602659, 0.022672318, -0.0426653, 0.026066149, -0.025466487, 0.017530538, 0.030748615, 0.0033810716, -0.06445726, 0.0027542976, 0.019941943, -0.0056266137, -0.024649927, -0.046824653, 0.0062868795, 0.021511272, -0.049274337, 0.07956363, -0.027788581, -0.048126046, -0.03725558, 0.029983088, -0.050805386, 0.02091161, 0.07757327, 0.03758731, 0.0073490464, -0.04840674, 0.022123693, 0.042920474, -0.0057191146, -0.020146083, -0.025415452, 0.03347899, 0.013007557, -0.008541991, -0.011163916, 0.022850942, 0.01451947, 0.002975981, 0.03633695, 0.0132691115, 0.010666325, 0.030110676, -0.005345921, 0.02988102, 0.07844086, 0.0132691115, 0.028656177, -0.006510158, -0.01297566, -0.04559981, 0.016726736, 0.009760452, -0.077675335, -0.025173036, -0.03368313, -0.015119132, 0.000849255, 0.02625753, 0.034040377, 0.046416372, 0.0035692635, -0.01111926, 0.02903894, -0.0033427954, -0.02070747, -0.023055082, 0.019967461, -0.013320147, 0.06864213, 0.00053546927, 0.0039615952, 0.018500203, -0.024726478, 0.016012246, -0.04501291, -0.032841053, -0.03501004, 0.009033203, 0.033938304, -0.06384484, -0.024126817, 0.016025005, -0.0021036007, 0.014187742, -0.0022088606, -0.0059711, 0.017760195, 0.024496822, -0.00453255, -0.023590948, 0.024637168, -0.059353758, 0.025160277, 0.037102476, 0.04108321, 0.045778435, -0.018461928, -0.015616723, -0.052361954, 0.009001306, -0.024165094, 0.025874767, -0.0073809433, -0.013932567, -0.01626742, -0.01616535, -0.0030876203, -0.01564224, -0.0036904716, 0.027456854, -0.012618415, 0.025810974, -0.005715925, 0.03493349, -0.0046027233, -0.020324707, 0.01770916, 0.007610601, -0.0228637, -0.005645752, 0.039501123, 0.005109884, -0.004995055, -0.036796268, 0.01885745, -0.0012878374, 0.048355706, 0.025913043, -0.010219768, 0.0052980757, -0.04838122, -0.003255079, -0.045242567, -0.013741186, 0.03120793, -0.105234265, -0.0003299336, -0.0020972213, 0.059200652, 0.01369015, -0.025109243, 0.01814296, 0.005170488, -0.029166527, -0.064865544, -0.0060380837, 0.007942329, 0.021383684, 0.0076488773, 0.040139064, -0.0037989211, 0.010404769, -0.03677075, -0.0007120984, 0.028758248, 0.057720635, 0.027125126, 0.048432257, -0.01080667, -0.013052213, 0.025058206, 0.018831931, -0.0049854857, -0.020209877, 0.019941943, 0.010187871, -0.04241012, -0.04687569, -0.04276737, 0.0130904885, -0.0021753688, 0.0302893, -0.017160533, -0.0487895, 0.013383941, 0.016675701, 0.018615032, 0.02842652, -0.025007172, -0.004695224, -0.033938304, 0.043941174, -0.0014409426, 0.030034123, 0.00026215267, 0.017951576, -0.026334083, 0.038659047, -0.03534177, 0.031769317, 0.06986698, -0.06828489, 0.050856423, -0.034116928, 0.05055021, 0.016407767, 0.017977094, 0.0048260014, -0.037944555, 0.015297755, -0.055066813, -0.066702805, -0.056699935, -0.040241133, 0.0063060177, 0.022621283, 0.009179928, -0.014021878, -0.021077473, 0.031463105, 0.0041115107, 0.007572325, -0.041057695, 0.010238905, -0.026410636, -0.0013061782, -0.053790938, -0.031973455, -0.03809766, -0.0008444705, -0.0016650184, 0.03674523, 0.013830497, -0.0084462995, -0.018985037, 0.010392011, 0.03179483, 0.0017112688, -0.05282127, -0.017670885, 0.006845075, 0.0025581317, -0.012203755, -0.07287804, -0.055679232, -0.038837668, 0.016675701, -0.022225762, 0.044221867, -0.0078275, 0.023973713, 0.027431337, -0.034167964, -0.029906536, 0.008433541, 0.002143472, 0.066702805, -0.038276285, 0.03100379, 0.012210134, -0.04243564, 0.0015533791, 0.014608782, -0.03687282, -0.0066090384, -0.05889444, -0.017147776, 0.0018819172, 0.0015477972, -0.016713977, -0.025721662, -0.0016538544, 0.02709961, -0.023399567, 0.042537708, -0.0018101493, 0.0566489, 0.020069532, 0.00504928, -0.031437587, 0.008363368, 0.03871008, 0.023960954, 0.03822525, -0.022417143, 0.026129942, -0.0037574552, 0.0047972943, -0.03263691, -0.024535097, 0.10028386, -0.04975917, 0.04049631, 0.017658126, -0.053382657, -0.07604222, 0.039373536, 0.017441226, 0.019431593, 0.007010939, -0.019329524, 0.0017032946, 0.02553028, -0.007042836, -0.0074000815, -0.03266243, 0.037434205, 0.03768938, -0.042027358, -0.032713465, 0.027916169, 0.0055883373, -0.03036585, -0.016828805, -0.027278231, -0.005830754, 0.03263691, -0.015501895, -0.0015063313, 0.019597458, -0.003626678, 0.041950807, -0.018308822, 0.021192303, -0.023233704, -0.032943122, 0.012758761, 0.017645366, 0.007986984, -0.00054424093, -0.010659945, -0.025262346, -0.053586796, 0.00050357234, 0.0065069683, -0.017543297, 0.0038084902, -0.01946987, 0.027482372, -0.0008085865, -0.06818282, -0.016050521, 0.0087588895, 0.003160983, -0.0003317278, 0.023973713, -0.048661914, -0.002141877, -0.023769572, 0.030621028, 0.01616535, 0.019916426, 0.059200652, 0.04651844, -0.020796781, -0.02873273, -0.06108895, -0.010372872, 0.009320275, 0.016050521, 0.061956543, -0.005349111, -0.025070965, 0.026972022, -0.009237343, 0.0075085307, 0.029345151, 0.017135017, -0.00007007351, -0.020732988, 0.012618415, 0.018934002, 0.042282533, 0.0362604, -0.052974377, 0.012286687, -0.04603361, -0.035137627, 0.005945583, 0.04149149, 0.01112564, 0.023641985, 0.0288348, -0.024241647, 0.03853146, -0.030901719, 0.03490797, -0.052055746, 0.03758731, 0.016025005, 0.021957828, 0.002483174, -0.035673495, 0.027763065, -0.004972727, 0.02503269, -0.046416372, -0.049988825, -0.027507888, 0.059711, 0.014238778, 0.02924308, 0.01657363, -0.030340334, 0.07823672, 0.065222785, -0.0011060251, -0.011872027, -0.007387323, -0.015540171, 0.031080343, 0.026895469, -0.016101556, -0.035392802, -0.013664633, 0.019635733, -0.029906536, 0.0216261, -0.009913557, -0.03595419, -0.0065771416, 0.0072023207, 0.00020473824, -0.0029424892, 0.017798472, 0.0034065892, 0.01935504, -0.009588209, -0.026385117, -0.029498255, 0.053637832, 0.013486011, 0.033606578, 0.009537174, 0.052719202, 0.009613726, -0.021345407, 0.010589772, -0.00046928317, 0.02596408, 0.005345921, -0.0028404193, 0.016675701, -0.03388727, 0.00875251, -0.033351403, 0.018819172, -0.032458287, -0.008248539, 0.023820607, 0.016803289, -0.031488623, 0.009090617, 0.0056872177, 0.020439535, -0.023769572, 0.0030461543, 0.026436154, 0.042563226, 0.072775975, 0.05705718, 0.040292166, -0.0013444545, 0.022315074, -0.064712435, 0.00095291995, 0.06762143, -0.01287359, 0.010800291, 0.009964593, -0.0035373666, 0.0061720507, -0.038582493, -0.0082357805, 0.062466893, 0.04799846, 0.01390705, 0.019712286, 0.001936142, 0.026742363, -0.013958084, 0.030391369, 0.0054703187, 0.07838983, 0.020554364, 0.036030743, 0.013856014, -0.006570762, 0.022327833, 0.025224071, -0.019508146, -0.0067430055, -0.014698093, 0.008631302, 0.01833434, -0.0045740157, -0.047539145, -0.004800484, -0.003285381, -0.038046625, -0.047564663, -0.079359494, -0.066192456, -0.007463875, -0.006006187, -0.01677777, 0.010168733, 0.024228888, -0.048585363, -0.0039998717, 0.019342283, 0.012395136, -0.01400912, -0.006114636, 0.010940637, -0.030059641, -0.029804466, 0.01811744, -0.01677777, -0.034372102, 0.027354784, 0.006762143, 0.0062390342, 0.02296577, 0.0036936614, -0.026767882, -0.012841693, 0.007361805, -0.009607347, 0.008229401, 0.007342667, -0.018806415, -0.002100411, 0.011348918, -0.01153392, 0.034627277, 0.011655129, 0.0137922205, -0.013779462, -0.009077858, -0.012509965, 0.0031689573, -0.0030892151, 0.008439921, -0.025810974, -0.014544988, 0.00022626866, -0.02988102, 0.01101719, 0.00040529002, -0.035699014, -0.070581466, 0.048942607, -0.048866056, -0.015706034, 0.0065580034, -0.01606328, 0.015744312, -0.01638225, -0.0068642134, 0.0034257274, 0.008880097, -0.0068259374, 0.016012246, 0.021396443, -0.026844433, 0.0048036734, -0.027074091, -0.015387066, -0.0029680068, -0.009830626, -0.017772954, 0.012222894, 0.0071002506, 0.0017989853, 0.013983603, 0.007712671, -0.016101556, -0.0011785906, -0.003996682, 0.0057956674, 0.026385117, 0.023565432, -0.0030030934, 0.005983859, -0.0075531867, -0.001771873, -0.004857898, 0.003821249, 0.016458802, -0.0055022156, 0.0042072013, 0.0288348, -0.010538736, -0.024292681, -0.011189434, -0.040649414, 0.022302315, -0.013600839, 0.005725494, 0.045548778, -0.026283048, -0.003149819, -0.010073042, -0.01307773, 0.014889474, 0.041236315, 0.05715925, -0.010289941, 0.008822683, 0.030263782, -0.012943763, 0.011221331, 0.0047622076, 0.030238263, 0.04975917, 0.0181302, -0.030238263, 0.0075149103, -0.017556055, -0.016752254, 0.024637168, -0.017071223, -0.012114444, -0.01421326, 0.006363432, 0.028783765, 0.035290733, -0.0027463234, 0.008229401, 0.011265986, -0.02584925, -0.0064431746, 0.008541991, -0.02152403, -0.0014178173, -0.0026011923, -0.020962644, 0.009096997, 0.020796781, -0.010800291, 0.055066813, 0.045650847, 0.00607636, 0.027074091, 0.050754353, 0.007138527, 0.017351916, -0.027839616, -0.030672062, -0.020796781, -0.014340848, -0.042869437, 0.019240212, 0.020146083, 0.010302699, -0.03263691, 0.0044687563, 0.015884658, -0.009288378, 0.02040126, -0.011808233, -0.017517779, -0.0027319698, 0.01606328, -0.00035385627, 0.010443046, -0.0072980113, 0.01626742, -0.0008675958, -0.01741571, 0.035239697, -0.022825424, -0.05118815, -0.0012272333, 0.03738317, -0.010289941, 0.018091923, -0.009467001, 0.00033352198, 0.004644189, 0.03220311, 0.048968125, -0.06221172, 0.029192045, -0.028579624, 0.01060253, 0.011852889, -0.044043243, 0.019444352, 0.035163146, 0.007853017, -0.04769225, -0.014812922, -0.035571426, 0.014749127, 0.007776465, 0.022901976, 0.011999615, -0.0013237215, -0.059455827, -0.050805386, -0.020158842, 0.017964335, 0.0069471453, -0.00025956106, 0.005192816, 0.00071807904, -0.025492005, 0.005840323, -0.01862779, 0.01421326, -0.031233447, 0.0216261, -0.002924946, -0.044783253, -0.006223086, -0.005508595, -0.024484063, -0.01080667, -0.0179133, -0.012701347, -0.011757199, 0.009773211, -0.00782112, 0.010793912, -0.0007312365, 0.019890908, 0.00452936, 0.0028372295, -0.018410893, -0.0028085222, -0.0036872819, 0.0158719, 0.0036904716, 0.0035756428, -0.030314816, -0.011138398, 0.03965423, -0.037357654, -0.010041145, -0.022085415, -0.024126817, 0.012114444, 0.019597458, 0.034218997, 0.037638344, 0.0014728395, 0.055066813, 0.007329908, 0.014302571, -0.024841309, -0.018245028, 0.0020988162, -0.028962389, -0.030391369, -0.0039903023, -0.013562563, -0.014404641, -0.031386554, -0.005269368, -0.011425471, 0.0071640443, -0.024573375, 0.009594589, 0.00865044, 0.020235395, 0.02553028, 0.0064527434, 0.012452551, -0.037536275, -0.1112564, -0.04192529, -0.01358808, 0.015348789, 0.05098401, -0.008318712, 0.041950807, 0.0018994606, 0.030416887, 0.013498769, -0.000005220626, 0.02193231, 0.0027638667, -0.004235909, 0.03677075, -0.0056042857, 0.01111926, 0.0074830134, -0.02459889, -0.041032176, 0.0011108096, 0.036617644, 0.019929186, 0.01842365, -0.050830904, 0.008497335, -0.017122258, -0.049606062, -0.020311948, 0.02842652, 0.0015852761, -0.021179544, -0.00001694523, 0.063385524, -0.014277054, 0.004127459, -0.006325156, 0.00052191305, -0.009792349, -0.032943122, -0.022940252, -0.031029306, -0.028860318, -0.034244515, -0.010124077, 0.0001977608, 0.009907178, -0.003081241, -0.0047143623, 0.019444352, 0.010315458, -0.03677075, -0.034270033, 0.01864055, 0.014812922, 0.003451245, 0.00039831258, 0.02131989, -0.0034863316, 0.021345407, -0.02027367, 0.008663199, 0.025351658, 0.006082739, -0.02625753, -0.02822238, 0.008809924, -0.0065069683, 0.017186051, -0.01721157, -0.01358808, -0.0003303323, -0.027967205, 0.02047781, 0.008867339, -0.030544475, -0.00049599685, 0.026410636, -0.021064715, -0.022378867, 0.047972944, -0.041568045, -0.01482568, -0.0151956845, 0.0077254297, -0.003275812, -0.017377432, 0.013511528, -0.0273803, 0.029166527, 0.017313639, 0.015693277, 0.0132691115, 0.009588209, -0.001158655, -0.034167964, 0.012133582, -0.0127460025, 0.0069343867, 0.018245028, 0.03871008, 0.024522338, -0.04100666, 0.006928007, -0.011878407, 0.036796268, 0.021256097, -0.0053650592, 0.0124334125, -0.008356988, 0.028758248, -0.0077828444, -0.01163599, -0.03368313, 0.002100411, 0.03442314, 0.04491084, 0.026767882, 0.0014720421, -0.00607955, 0.012108064, -0.03789352, -0.02596408, 0.017951576, 0.0026905038, 0.0066792113, -0.007227838, -0.011495644, -0.020860575, -0.007023698, 0.007438358, 0.008108193, 0.015603965, 0.021358166, -0.017390192, 0.027584441, 0.047437076, -0.00040828035, -0.0243182, 0.008797166, -0.003409779, -0.0034671933, 0.0017734678, 0.034627277, 0.022098174, 0.016152592, -0.015744312, -0.004130649, 0.04830467, 0.009256481, 0.00071927515, -0.011610473, 0.0027893842, 0.037000407, -0.03483142, 0.053127483, -0.0099390745, 0.026742363, 0.02040126, 0.02553028, -0.002677745, 0.027967205, -0.007776465, -0.030136194, 0.030621028, 0.021039197, -0.01606328, -0.015463619, -0.01421326, 0.03490797, -0.021230578, -0.026997538, -0.017951576, 0.0447067, 0.027252713, 0.014800163, 0.019827114, -0.024139576, -0.011808233, 0.032407254, 0.009843384, -0.004066855, -0.00288348, 0.022685077, 0.017020188, 0.0055468716, -0.046646032, -0.030467922, 0.04026665, 0.033096228, 0.007355426, -0.006806799, 0.030723097, 0.015808105, 0.01862779, 0.04633982, -0.015680518, -0.0043411683, 0.010474943, -0.0056042857, -0.014187742, 0.038863186, 0.010213388, 0.0012575354, 0.0073490464, -0.0009122514, 0.037485242, -0.02203438, -0.0012431818, 0.036490057, -0.02255749, 0.038914222, -0.01636949, -0.035903152, 0.040853553, 0.02112851, 0.022366108, -0.00018131395, -0.017122258, -0.020643676, -0.028809283, -0.07241873, -0.03541832, 0.034856934, 0.018806415, -0.005511785, 0.015986728, 0.023093358, -0.01266945, -0.0119103035, -0.02368026, 0.022174727, -0.018257787, -0.015463619, -0.035265215, 0.030876203, -0.024790272, 0.026180977, 0.018296063, -0.020158842, 0.021256097, -0.020146083, -0.0022184297, 0.007948708, -0.043022543, -0.029217564, -0.0042709955, 0.0057127355, -0.035979707, -0.019176418, -0.03460176, -0.02008229, 0.0716532, 0.00587222, -0.03449969, 0.008631302, -0.026793398, 0.044349454, 0.010423908, 0.017581573, -0.016675701, -0.0045580673, 0.021549547, -0.037434205, 0.0013181395, 0.0076233596, 0.006028515, -0.013524286, -0.0006395329, 0.012312205, -0.037638344, 0.011310642, -0.010474943, 0.017377432, 0.008012502, 0.00031458322, -0.015808105, -0.0051130736, 0.01009856, -0.015808105, -0.0046505686, -0.016918117, -0.043686, 0.0151956845, 0.011623232, -0.05435232, 0.0098497635, 0.008663199, 0.03419348, 0.011916683, 0.010902361, -0.006768523, 0.005428853, -0.0075914627, 0.005157729, -0.0070300773, -0.0016745874, -0.0042454777, 0.011463746, -0.033912785, 0.010060283, -0.012943763, 0.0079231905, 0.0045740157, 0.011323401, -0.0027335645, -0.02564511, -0.027533406, -0.04047079, -0.013511528, 0.011833751, -0.003419348, -0.015667759, 0.023948194, -0.0053076446, -0.021294372, -0.029294116, -0.025823733, -0.0015796941, -0.019291246, -0.017594332, 0.038148697, 0.0019265729, -0.015718793, -0.007195941, 0.020426776, -0.005215144, -0.01616535, -0.015221202, 0.036643162, -0.025122, 0.026078908, -0.0054926467, -0.011221331, -0.022710595, -0.023909919, 0.03707696, -0.008809924, 0.02089885, 0.009256481, 0.029676879, -0.0063666217, 0.02686995, -0.032815535, -0.01307773, 0.02730375, 0.044426005, 0.046288785, 0.015629482, -0.0064208466, 0.037944555, -0.017594332, -0.035699014, -0.0014074509, 0.0034065892, 0.019597458, -0.017109498, 0.011699784, -0.0022375677, 0.009734935, 0.005377818, 0.007055595, -0.020171601, -0.008197504, 0.011591335, -0.001730407, -0.040445272, -0.008069917, -0.01585914, -0.00679404, 0.018717103, 0.0075085307, 0.01821951, -0.0033459852, 0.007904053, -0.01862779, 0.0029217564, 0.0060731703, 0.00026932947, 0.013639116, 0.01811744, -0.053127483, -0.00854837, 0.015259478, 0.002554942, 0.0029488686, -0.016050521, 0.001966444, 0.021779206, -0.023080599, 0.036643162, 0.01935504, 0.0051258323, -0.00085643184, -0.016624665, -0.01698191, 0.0377149, 0.009307516, 0.021970587, -0.012471689, -0.009154411, 0.02532614, 0.0032821912, -0.011795474, -0.027763065, -0.0013867179, 0.0040349583, 0.045344636, 0.009135273, -0.013613598, -0.026767882, -0.001915409, -0.0073809433, 0.016930876, 0.004459187, -0.0467481, -0.021396443, 0.020579882, 0.020873332, -0.014481194, -0.03802111, 0.0069152485, -0.00006140154, -0.04039424, 0.017058464, 0.038837668, 0.0119103035, 0.01821951, -0.013958084, 0.039092842, 0.022621283, 0.007795603, -0.024279922, 0.01709674, -0.0044017727, -0.0078019826, 0.005218333, -0.015004303, -0.039679747, 0.038046625, -0.0366942, 0.036183845, 0.019304005, 0.0041753044, -0.035188664, -0.00090268237, -0.016471561, -0.00710663, -0.0090651, 0.011068225, -0.0241013, 0.0050652283, -0.0032566737, 0.014021878, -0.012726864, 0.020324707, -0.02337405, 0.008848201, 0.043430824, -0.0001293818, -0.0009768426, 0.027482372, 0.01843641, 0.023973713, -0.004487894, 0.051341254, -0.03337692, 0.014174984, -0.018053647, 0.015068097, 0.023718538, 0.013728427, -0.011470126, -0.023922676, 0.032381736, -0.0008636087, -0.019278487, -0.009001306, 0.000998373, 0.022608524, -0.026206495, 0.01904883, 0.009384069, 0.029778948, 0.024050266, 0.019737804, -0.0050939354, -0.008931133, -0.027048573, -0.022825424, 0.00068937184, 0.011667887, 0.010430288, -0.030340334, 0.013779462, -0.029676879, 0.028401002, 0.004832381, 0.033121742, 0.0035469355, -0.02686995, 0.014034637, 0.012561, -0.0011857674, 0.011687025, 0.021256097, 0.00443048, -0.050907455, 0.010985293, 0.0042454777, -0.0052023847, -0.035265215, 0.010258044, -0.03212656, 0.03636247, -0.019533664, -0.01679053, 0.014902233, -0.009607347, -0.010430288, -0.005594717, 0.02481579, 0.0193678, -0.01926573, -0.020860575, -0.015616723, -0.016254662, -0.022697836, 0.012835314, 0.01596121, -0.007125768, 0.011068225, 0.0065037785, -0.038914222, 0.0019520904, 0.0089375125, 0.000104263, 0.0030318005, 0.009020444, -0.021102991, 0.0056680795, 0.0023157152, 0.050499175, 0.013345664, -0.009728556, 0.053944044, -0.0069981804, 0.008911994, 0.0014991545, 0.027839616, 0.039883886, 0.03398934, 0.000033093038, 0.0068578343, 0.04271633, -0.00452936, 0.025785455, 0.022276796, 0.029523773, 0.02327198, 0.0278141, -0.024586132, 0.009384069, 0.027865134, -0.02419061, 0.0032949501, 0.008484576, -0.0100283865, -0.013205318, 0.01864055, 0.03531625, 0.010462184, -0.008586646, -0.0107046, -0.0153743075, -0.032075524, -0.021013679, -0.005435232, 0.008299574, 0.012446172, -0.020209877, -0.03552039, 0.002470415, -0.0019536852, -0.008969409, -0.018040888, 0.0075914627, 0.0014784215, -0.020669194, 0.00443048, -0.027941687, -0.008146469, 0.029523773, -0.0061242054, 0.026793398, 0.0120889265, 0.019099865, -0.015948452, -0.0027271851, 0.026946504, -0.017594332, 0.005814805, -0.01750502, 0.0018340719, 0.032585874, -0.02368026, -0.005489457, -0.004934451, 0.016407767, 0.015157408, 0.016560871, -0.01009856, 0.015297755, 0.022889217, -0.008478196, 0.010615289, -0.0010199035, 0.039296985, -0.023552673, -0.005486267, 0.0026123563, 0.034346584, 0.006108257, 0.0046091024, 0.007272494, -0.025122, -0.004551688, 0.03222863, -0.010296321, -0.0066473144, -0.017083982, 0.018321581, -0.011476506, -0.020732988, 0.028145827, 0.0041051316, -0.021294372, 0.02491786, 0.005406525, -0.014034637, 0.027125126, -0.01112564, 0.008178366, -0.017607091, -0.031258963, -0.034627277, -0.036719713, -0.0144174, -0.007042836, 0.026232013, 0.0021578255, 0.014468435, 0.010793912, -0.0073362878, 0.011029949, 0.01709674, -0.008216642, 0.030391369, -0.016012246, 0.0021036007, 0.020681951, 0.0044113416, 0.029549291, -0.021855759, -0.02018436, 0.018742621, -0.0068578343, 0.033019673, -0.0087588895, 0.0076871538, 0.00049719296, 0.00076751923, -0.009390448, 0.015463619, 0.017109498, -0.017862266, -0.019342283, 0.00473669, -0.0049185026, 0.005428853, 0.05613855, 0.0031322758, 0.023425085, 0.018155716, -0.0022630852, -0.012797037, 0.016241902, 0.0035596944, 0.0062135165, -0.009868902, 0.002481579, 0.0030477492, -0.031973455, -0.02069471, -0.01451947, 0.028401002, -0.009135273, -0.0024496822, 0.002934515, 0.012069788, 0.015782587, 0.0067812814, -0.035673495, -0.0053682486, 0.014123948, -0.016739495, 0.022850942, 0.001447322, -0.03575005, 0.008452679, -0.004746259, 0.011782716, -0.005757391, 0.019457111, -0.009313895, -0.033198297, -0.027967205, 0.0035054695, -0.021013679, -0.028349968, 0.00076153857, 0.04677362, 0.01894676, 0.016407767, -0.019699527, 0.0108194295, -0.025657868, 0.030774131, 0.035137627, 0.0009840195, -0.0035820222, 0.007476634, -0.01358808, -0.009728556, 0.0062358445, 0.010653566, 0.006602659, -0.002905808, -0.044732217 ]
2401.09350
151
Sinha and Keivani [2017] improve the space complexity of RP Trees by replacing the d-dimensional dense random direction with a sparse random projection using Fast Johnson-Lindenstrauss Transform [Ailon and Chazelle, 2009]. The result is that, every internal node of the tree has to store a sparse vector whose number of non-zero coordinates is far less than d. This space- efficient variant of the RP Tree offers virtually the same theoretical guarantees as the original RP Tree structure. Ram and Sinha [2019] improve the running time of the NN search over an RP Tree (which is O(d log m) for m = |X |) by first randomly rotating the vectors in a pre-processing step, then applying the standard k-d Tree to the rotated vectors. They show that, such a construction leads to a search time complexity of O(d log d + log m) and offers the same guarantees on the failure probability as the RP Tree.
2401.09350#151
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 151, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Sinha and Keivani [2017] improve the space complexity of RP Trees by replacing the d-dimensional dense random direction with a sparse random projection using Fast Johnson-Lindenstrauss Transform [Ailon and Chazelle, 2009]. The result is that, every internal node of the tree has to store a sparse vector whose number of non-zero coordinates is far less than d. This space- efficient variant of the RP Tree offers virtually the same theoretical guarantees as the original RP Tree structure.\nRam and Sinha [2019] improve the running time of the NN search over an RP Tree (which is O(d log m) for m = |X |) by first randomly rotating the vectors in a pre-processing step, then applying the standard k-d Tree to the rotated vectors. They show that, such a construction leads to a search time complexity of O(d log d + log m) and offers the same guarantees on the failure probability as the RP Tree.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.025633894, 0.02491249, 0.057616144, 0.016159452, 0.022363529, 0.005227174, 0.03628663, 0.03025088, -0.037609205, 0.05540384, 0.008578697, 0.021077024, 0.0037933835, 0.01678467, -0.008945411, -0.060982697, 0.009029576, -0.03643091, -0.009865202, 0.035541177, -0.015281744, -0.027269077, 0.03883559, -0.035493083, 0.037272546, 0.008825177, 0.04787719, 0.011812993, 0.05622143, -0.053432, 0.0023430604, -0.03198225, -0.0095886635, -0.0006485123, 0.02890426, 0.019862661, -0.012293929, 0.02250781, -0.010406255, 0.023553845, 0.030082554, 0.035829738, -0.062521696, -0.006781199, 0.02972185, 0.018888766, -0.03671947, -0.016977044, 0.016087312, 0.0026090783, -0.04845431, 0.056942835, -0.036190443, -0.022339482, -0.029986365, 0.007382369, -0.013730725, -0.041120037, 0.04054291, 0.0368878, 0.021978779, -0.06276216, 0.015474119, 0.030491348, -0.028351182, -0.00066504447, -0.026764093, 0.041432645, 0.03438693, 0.036238536, -0.023950618, 0.033304825, 0.054441966, -0.028615698, 0.02573008, 0.021209283, 0.010881179, 0.044438496, -0.0013639047, 0.030515395, 0.062040757, 0.03234295, 0.030876098, -0.032391045, -0.008578697, -0.056942835, 0.02343361, -0.02137761, -0.0504502, 0.0051820865, 0.0024693063, 0.018023081, 0.012384105, 0.013141579, 0.03717636, 0.03558927, -0.026595766, 0.040158164, 0.050690666, 0.018347712, -0.03234295, -0.009853179, 0.022195201, -0.004424612, 0.03650305, 0.01678467, -0.028399276, 0.006672988, -0.041504785, 0.015305791, -0.027798107, -0.04071124, -0.00462901, 0.035036195, 0.027653826, -0.06521493, -0.022111038, 0.019093163, -0.01720549, 0.037561107, -0.024395483, 0.008999516, -0.019141257, -0.00207554, 0.026547672, -0.02904854, 0.02912068, -0.08546235, 0.018564133, 0.043139968, 0.024527742, 0.031020379, 0.0035288685, -0.0072561232, -0.039556995, -0.0021176217, -0.045809165, 0.021221306, 0.016063266, -0.012901111, -0.022147108, 0.015943032, -0.021197258, 0.0020394695, -0.021750335, 0.03191011, 0.007707001, 0.018179385, -0.008320195, -0.0072320765, -0.005891467, -0.022952676, 0.00567204, -0.003964717, -0.022303412, -0.036767565, 0.018840672, 0.033256732, 0.022111038, -0.034675494, -0.0013586445, 0.021545937, 0.03212653, 0.0023701133, 0.027076703, -0.00415108, -0.023493728, -0.0015915979, -0.021569984, -0.017650355, 0.026740046, -0.05516337, -0.05170063, -0.023986688, 0.045472506, 0.0026722013, -0.036046162, -0.008987493, -0.0024512713, -0.028856166, -0.06492637, 0.017229537, -0.017121324, 0.023722174, 0.01964624, 0.0018801596, 0.012564455, 0.005533771, 0.020800486, 0.010213881, 0.03763325, 0.06574397, 0.0150533, 0.0006285985, -0.0002878102, -0.0060026837, 0.032150578, 0.059107047, 0.009450395, 0.01169877, 0.015846845, -0.00064099766, -0.045737024, -0.05319153, -0.023866454, 0.007081784, -0.006835304, 0.015630424, -0.028447371, -0.015943032, 0.021004884, 0.01081505, 0.025273193, -0.00233254, 0.00010651983, 0.020764416, -0.0004354726, 0.02257995, 0.012768853, -0.010748922, -0.004767279, 0.015438049, -0.018804602, 0.028639745, -0.048478357, 0.02919282, 0.055211462, -0.021810452, 0.05713521, -0.023409564, 0.02724503, 0.03320864, 0.014283802, 0.019742427, 0.017289653, -0.0015540248, -0.03003446, -0.026812188, -0.055355746, -0.023878478, 0.00012023402, 0.021461774, 0.030395161, 0.00074545096, 0.013442164, 0.0009385769, -0.012215777, 0.020644182, 0.00073267607, -0.02762978, -0.012233812, -0.041600972, -0.026138877, -0.03477168, -0.053720564, 0.0010189833, -0.050161634, 0.04191358, 0.009516523, 0.025922455, -0.0069314917, -0.007875329, 0.032391045, -0.014151544, -0.06877386, -0.02520105, 0.024720116, 0.01869639, 0.0075206384, -0.030323021, 0.012540408, -0.02117321, -0.026860282, -0.020896673, -0.018311642, 0.030611582, 0.022591973, 0.007021667, -0.020560019, -0.02678814, 0.024227155, 0.021509867, 0.081951514, -0.0040488807, 0.0002938219, -0.0059816428, -0.012528385, -0.0016712529, -0.029264962, -0.054970995, 0.013081462, -0.045256086, -0.002556476, 0.021089047, -0.007628849, -0.050209727, -0.02972185, -0.036238536, 0.00422322, -0.010784992, 0.04787719, 0.01862425, 0.04958451, -0.006985597, 0.01707323, 0.019970872, 0.010171798, 0.027750013, 0.0015465101, 0.061271258, -0.01971838, 0.031068472, -0.0008897318, -0.005978637, -0.04802147, 0.0011745361, 0.06391641, -0.03282389, 0.022086991, -0.024563812, -0.05607715, -0.095177256, 0.03407432, -0.01077898, 0.016411945, -0.029096633, -0.016027195, 0.018960906, 0.01685681, 0.019694334, -0.019946825, -0.02664386, 0.03455526, -0.0061920523, -0.01689288, -0.044799197, -0.0022062943, -0.016688483, -0.008795119, 0.0014375481, -0.01261255, -0.008915353, -0.0045418404, 0.0074124276, -0.007442486, 0.051941097, -0.025681987, 0.058770392, 0.005533771, 0.059107047, -0.003336494, -0.037272546, 0.04275522, -0.01042429, 0.037296593, 0.007821224, 0.010580594, -0.008753037, -0.065695874, -0.01971838, -0.01911721, -0.00982312, 0.014428083, -0.02254388, 0.00809175, 0.016375873, -0.048983343, 0.04982498, 0.029962318, -0.025345333, 0.007881341, 0.05929942, -0.028735932, 0.013081462, -0.032318905, 0.041721206, -0.011602583, 0.023277307, 0.050209727, 0.024371436, -0.028591651, -0.0016802705, -0.045737024, -0.02141368, 0.0071899947, 0.008067703, 0.030924192, -0.022628043, -0.027485497, 0.00869292, 0.017698448, -0.020620136, -0.021882592, 0.021978779, -0.030371115, -0.0046710917, 0.020620136, 0.02031955, 0.053432, -0.0005662271, -0.039869603, 0.0025384407, -0.026355298, -0.027750013, -0.026211018, 0.04227428, 0.029842084, 0.01625564, -0.022784347, 0.013309906, 0.026162924, -0.005049829, 0.014211662, -0.04410184, 0.051796816, 0.02367408, 0.01671253, -0.0051580397, -0.031645596, 0.0459294, 0.012017391, 0.02551366, -0.024371436, -0.056942835, -0.02731717, 0.059539888, 0.0053233616, 0.017722495, -0.011536455, -0.026619812, 0.036046162, 0.07358322, 0.035901878, 0.0037182372, -0.015858868, -0.031934157, 0.052999157, 0.01904507, -0.038811542, -0.023445634, 0.0368878, 0.01558233, -0.029409243, 0.024575835, 0.004830402, -0.04650652, -0.021654148, 0.015726611, 0.0048183785, 0.013430141, 0.026379345, 0.010195845, -0.0038504945, 0.0043043783, -0.021918662, -0.026547672, 0.033328872, 0.029144727, 0.009041599, 0.0011512408, 0.037609205, 0.0003670895, -0.024587858, -0.026980516, 0.030852051, 0.00160813, -0.008632803, -0.008747025, 0.027413357, -0.008957434, -0.0015164516, -0.028230948, 0.04357281, -0.049488325, 0.018576156, 0.028254995, 0.032559372, -0.0346274, -0.00047267, -0.022339482, 0.033256732, 0.0037272547, 0.012197741, 0.02972185, 0.052037288, 0.03936462, 0.061607912, 0.047612675, 0.0042532785, 0.030803956, -0.0511716, 0.0052993144, 0.03597402, -0.010730887, 0.027052656, -0.0012714748, -0.027870247, 0.037008032, 0.01749405, 0.001955306, 0.048261937, 0.007899376, -0.0012564455, 0.03643091, -0.0055247536, 0.026523625, -0.019273514, 0.032607466, 0.010923261, 0.08161485, 0.018564133, 0.03469954, 0.002860067, -0.024587858, 0.023157073, 0.011897157, -0.025561754, 0.000010579185, -0.0046380274, -0.0077550947, 0.05102732, -0.0032703655, -0.010803027, 0.0012241326, -0.003766331, -0.03703208, -0.03621449, -0.058000892, -0.040735286, -0.033232685, 0.005578859, 0.003703208, 0.040230304, 0.028182855, -0.06261788, 0.011398185, 0.01102546, 0.028663792, -0.017854752, 0.007220053, 0.027605731, -0.015486143, -0.01968231, 0.0000024980263, -0.0060237246, -0.009883237, 0.04455873, -0.0069375033, 0.02092072, 0.020187292, 0.030515395, -0.021125117, -0.040831476, -0.023914548, 0.017409887, -0.011680735, -0.008819166, 0.010803027, 0.01264862, 0.008885294, 0.0009753985, 0.031862017, -0.016207546, 0.015101394, -0.013057415, 0.0039977813, -0.019165304, -0.019429818, 0.0052211625, 0.0020169257, -0.010448337, -0.0053023207, -0.0028525523, -0.029553523, 0.058193266, 0.004647045, -0.02791834, -0.051123507, 0.03830656, -0.031669643, -0.005149022, -0.0039046, 0.0038775473, 0.018299619, -0.012101554, -0.014271779, -0.020307526, 0.011428244, 0.009787049, 0.02099286, 0.037969906, -0.0130934855, 0.0085546505, -0.03974937, -0.014668551, -0.0024272243, -0.030876098, -0.03205439, -0.0039346586, -0.014500223, -0.016868833, 0.051363975, 0.013754772, -0.009558605, 0.00526625, 0.01286504, -0.032487232, -0.008019609, 0.0066128713, -0.01569054, -0.020187292, 0.015979102, 0.0036971963, -0.006679, -0.024515718, 0.014392013, 0.010364173, 0.0041390564, 0.023012793, 0.013562398, -0.012161671, -0.033737667, -0.033665527, 0.036551144, 0.003537886, 0.018287595, 0.01272076, -0.022195201, -0.012179706, -0.03077991, -0.019057093, -0.011151706, 0.02777406, 0.05155635, -0.008747025, 0.0012917643, 0.011927215, -0.0076348605, 0.013634538, -0.030876098, 0.037344687, 0.044390403, 0.020572042, -0.036983985, 0.008398347, -0.0019868673, -0.030226834, 0.04491943, -0.011464315, -0.01862425, -0.012017391, 0.0026180958, 0.030948238, 0.02919282, -0.0031411138, -0.009594675, -0.0007484568, -0.015979102, 0.00929409, 0.00809175, -0.024275249, -0.0060658064, -0.026403392, -0.012089531, -0.013153602, 0.027365264, -0.009961389, 0.03922034, 0.027413357, -0.0065287077, 0.038018, 0.028038574, -0.0014548317, -0.0004054141, -0.0135143045, -0.047829095, -0.026523625, -0.009714909, -0.023517774, 0.010442325, 0.0064866254, -0.0012113578, -0.02544152, 0.024094898, -0.0016742587, -0.00088221714, -0.009955377, -0.030298974, -0.0428995, -0.0085546505, -0.011831028, 0.0016201534, 0.05679855, 0.01689288, 0.03342506, -0.016989067, -0.036767565, 0.0278462, -0.0057231397, -0.05208538, 0.0139231, 0.05275869, 0.009943354, -0.009480453, -0.0054646363, 0.00007707189, 0.015245674, -0.0026015637, 0.06449353, -0.03686375, 0.034266695, -0.03912415, -0.012564455, 0.019249467, -0.03296817, 0.022279365, 0.02123333, 0.017722495, -0.031212753, 0.013406094, -0.02268816, 0.023914548, -0.008061691, -0.00019275017, 0.0045959456, -0.008704944, -0.05357628, -0.012227801, -0.022183178, 0.030298974, 0.007484568, -0.01862425, 0.01961017, -0.017999033, 0.0049987296, 0.005046823, -0.021618078, 0.027437404, -0.030419208, 0.013345976, -0.004003793, -0.041432645, -0.023229213, 0.004388542, -0.011259916, 0.0068473276, 0.0014871446, -0.010911237, 0.01395917, 0.03664733, -0.007003632, 0.008662862, -0.021942709, -0.011885134, 0.004078939, 0.03356934, 0.023096956, -0.002597055, -0.0050197705, 0.04621796, 0.019550052, -0.0025264174, -0.016231593, -0.0071899947, 0.03311245, -0.042442612, 0.015257698, -0.016279686, -0.0014646007, 0.013153602, 0.02035562, 0.029890178, 0.015281744, 0.037056126, 0.028254995, 0.018948883, -0.01692895, -0.030058507, -0.0024197097, -0.02148582, -0.022207225, -0.041047897, 0.00639645, -0.020535972, -0.012804924, -0.032222718, 0.0011918198, -0.012119589, -0.0013188169, -0.0080556795, -0.015197581, -0.0013158111, 0.026403392, 0.019057093, 0.00010717736, 0.026066737, -0.014548317, -0.07853687, -0.03558927, -0.01445213, -0.015810775, 0.059539888, -0.008626792, 0.05982845, -0.0046320157, 0.04559274, 0.026691953, 0.034507167, 0.03356934, -0.0049806945, -0.008290136, 0.030395161, -0.043837324, -0.008115796, -0.007202018, -0.013069439, -0.030443255, -0.0030283944, 0.028808072, 0.010147751, 0.030371115, -0.023445634, 0.0013608988, 0.006709059, -0.046746988, -0.012348034, 0.038955823, -0.0031862017, -0.021798428, 0.021077024, 0.06939908, -0.013153602, -0.03621449, 0.0027308152, 0.0028194878, -0.014043334, -0.010273998, -0.003058453, -0.047612675, 0.01261255, -0.029216869, 0.014259756, -0.008031633, 0.013273836, -0.05684665, 0.0006612871, 0.025970548, 0.012901111, 0.00982312, -0.00957664, 0.008524592, 0.0098171085, 0.017181441, 0.009666815, 0.024070852, 0.028399276, 0.038402747, -0.01847997, 0.008103773, 0.003561933, 0.0039707287, -0.022351505, -0.010418278, -0.028663792, 0.004827396, 0.019477911, -0.021666171, -0.015377931, 0.0076889656, -0.017482027, -0.0015420014, 0.009528547, -0.019826591, 0.01636385, 0.0154500725, -0.0193697, -0.0082660895, 0.061992664, -0.05525956, -0.019574098, 0.0041931616, 0.010117693, 0.011692759, -0.025898408, 0.0012556941, 0.0012586999, 0.023457658, 0.016267663, -0.013490258, 0.012263871, 0.014824855, -0.0041721207, -0.029914225, -0.008626792, -0.026932422, 0.009179868, 0.02268816, 0.06295454, 0.03116466, -0.02155796, -0.009835144, -0.0149330655, 0.02979399, 0.030323021, 0.024551788, 0.020980837, 0.0038474887, 0.035324756, -0.008698932, -0.030948238, -0.02972185, 0.0004892022, 0.01971838, 0.016952997, -0.00007570986, 0.008013598, 0.005891467, -0.011368127, -0.03912415, 0.01456034, 0.030130647, 0.0077190246, -0.022856489, -0.016099336, -0.01339407, -0.012071496, 0.0029382189, -0.00039639656, 0.011921204, 0.0031892075, 0.028447371, -0.028279042, 0.0372485, 0.042562846, 0.013177649, -0.01975445, 0.020295503, -0.00699762, 0.006823281, -0.015401978, 0.008759049, 0.016075289, 0.014957112, 0.007220053, -0.0022363528, 0.027196936, 0.026451485, -0.007508615, -0.026980516, 0.0042953603, 0.032006297, 0.0018350718, 0.009035587, -0.012095543, 0.047829095, -0.027148843, 0.047540534, 0.041047897, 0.05011354, -0.00070487196, -0.0067511406, 0.047372207, -0.0029141721, -0.007869317, -0.0005342899, -0.026932422, -0.0033515235, -0.018756507, -0.009775026, -0.020187292, 0.05155635, 0.019009, 0.01395917, -0.0023520782, 0.008981481, 0.008193948, 0.035276663, 0.0021161188, 0.005575853, -0.011897157, 0.025561754, 0.014692598, 0.013899053, -0.052518222, -0.01685681, 0.034290742, 0.049728792, -0.012468268, -0.015317814, 0.037609205, 0.026836235, 0.058962766, 0.007310229, -0.038066093, 0.0005177578, 0.023613963, -0.025152957, 0.0013962176, 0.034940008, -0.016087312, 0.012432198, 0.0032944123, 0.010550535, 0.025946502, 0.0005846379, 0.02318112, 0.022267342, 0.025994595, 0.044077795, -0.012732783, -0.032559372, 0.004668086, -0.0024016746, 0.011951262, 0.012149648, -0.034651447, -0.021990802, -0.018720437, -0.044294216, -0.0056780516, 0.029289009, 0.00321626, 0.0052752676, -0.018287595, 0.03243914, -0.04710769, -0.0013766796, -0.03183797, 0.003823442, 0.004950636, -0.028230948, -0.03227081, 0.01840783, -0.03296817, 0.00039977813, -0.008722979, -0.025561754, -0.0013631532, -0.06194457, -0.021353563, -0.003077991, -0.017013114, -0.042226188, 0.009949366, -0.015786728, -0.01727763, -0.022435669, -0.0327277, 0.0037122255, 0.027437404, -0.0007135138, -0.00014728669, 0.040278398, -0.008326206, 0.045111805, 0.0095105115, -0.0030103594, -0.024816303, 0.006414485, 0.02257995, -0.04364495, 0.0376573, -0.024407508, 0.023974665, -0.005290297, 0.013778819, 0.014692598, -0.030852051, 0.008205973, -0.021750335, 0.011277951, 0.022291388, 0.006492637, -0.0027683885, -0.008043656, -0.008560662, 0.02374622, 0.014259756, -0.015726611, -0.031813923, 0.0048183785, -0.009889249, -0.031573456, 0.028808072, 0.005614929, 0.032318905, 0.031741783, 0.008891306, 0.024130968, 0.0117528755, -0.00017058202, 0.025994595, -0.010153763, 0.03279984, -0.0041600973, 0.040278398, -0.04138455, 0.020151222, -0.017614285, -0.0055638296, -0.018948883, 0.011434256, 0.008103773, -0.008716967, -0.038402747, -0.035132382, -0.017686425, -0.0031741783, -0.014620458, -0.0018455923, 0.02095679, 0.012768853, -0.008596732, -0.022303412, -0.046097726, 0.02144975, -0.01738584, -0.033064358, 0.023349447, 0.028952353, 0.014067381, 0.0049446244, 0.035709504, 0.0023475692, -0.004626004, -0.011794957, 0.044390403, -0.025537707, 0.030395161, -0.025152957, -0.00011835537, -0.029962318, -0.020608112, 0.03710422, -0.018540086, -0.0016351828, 0.01869639, 0.030298974, 0.0018035104, -0.0058764378, 0.012840994, -0.021004884, 0.024118945, 0.030948238, 0.026764093, 0.0012098548, 0.011897157, 0.039773416, -0.01696502, -0.03304031, 0.0069014328, 0.0072320765, 0.027220983, -0.053095344, 0.006092859, -0.015714588, 0.01689288, -0.000093698, -0.0037693367, -0.01130801, 0.004785314, -0.020523949, -0.0060838414, -0.02678814, -0.001955306, -0.027004562, 0.0011760391, 0.010069599, 0.015233651, 0.013490258, -0.00872899, 0.0005820078, -0.019309584, -0.003080997, 0.00047417294, 0.019393748, -0.0037753484, 0.026066737, -0.024491671, -0.00068721257, 0.0006120663, 0.013033369, 0.014211662, 0.016423969, 0.01724156, 0.021077024, -0.016832763, 0.029962318, 0.026908375, -0.0040699216, -0.007478556, -0.007731048, -0.027148843, -0.008037644, -0.01558233, 0.02438346, -0.0034958043, 0.008464475, 0.005957596, -0.0043584835, -0.0022468732, -0.009985436, 0.00049070513, 0.038811542, 0.053624377, -0.008512569, -0.020163245, -0.028375229, -0.007141901, -0.003925641, 0.010983378, -0.033809807, -0.059539888, 0.0018801596, 0.02746145, 0.020151222, 0.010604641, -0.035637364, -0.006174017, -0.0032583422, -0.029553523, 0.009047611, 0.044534683, 0.013971194, 0.014175591, -0.002814979, 0.03506024, -0.01629171, -0.018684367, -0.022375552, 0.005488683, -0.00024497684, -0.003982752, 0.0051670573, -0.025249146, -0.009167844, 0.037849672, -0.013490258, 0.03607021, 0.013273836, -0.0017133348, -0.018347712, -0.015269721, 0.005792274, -0.019129233, -0.013826913, 0.0030930203, -0.052710596, 0.017482027, 0.024118945, 0.014704621, -0.030154694, 0.018275572, -0.023589915, -0.0059816428, 0.04138455, 0.0011737846, -0.0048514428, 0.028784025, 0.008494534, 0.055788588, -0.036623284, 0.034531213, -0.058914673, 0.035204522, 0.005088905, 0.0082660895, 0.03679161, 0.00042420067, -0.038354654, 0.0053474084, 0.0132858595, -0.0105084535, 0.0031651608, -0.009390277, 0.0075807553, 0.018540086, 0.0019432824, 0.0034056287, 0.009270043, 0.028230948, 0.020475855, 0.016977044, -0.0007029933, 0.008819166, -0.029553523, -0.024599882, -0.005593888, 0.007713013, 0.029914225, -0.005413537, 0.012077508, -0.01918935, 0.028832119, -0.001348124, 0.030395161, -0.01014174, -0.031116566, 0.012937181, 0.01873246, -0.0047041564, 0.0035709506, 0.0076889656, -0.008284125, -0.026740046, 0.011145694, 0.00482439, -0.007003632, -0.02381836, 0.03989365, -0.03809014, 0.027220983, -0.0252251, -0.009829132, 0.012017391, 0.007075772, -0.007682954, -0.0029397218, 0.018083198, 0.00060906046, -0.04328425, -0.0058584027, -0.021437727, -0.013838937, -0.022772323, -0.0010505448, 0.046554614, -0.01915328, 0.008855236, 0.024323342, -0.04102385, 0.02077644, 0.0022709202, 0.0025264174, 0.0023280312, -0.018383782, -0.017999033, 0.0068112575, 0.026884329, 0.02529724, 0.018528063, -0.002331037, 0.05304725, 0.006636918, 0.007905387, -0.012516362, -0.005557818, 0.03116466, 0.019165304, -0.030010413, 0.010682793, 0.030828005, -0.007749083, 0.029216869, 0.019694334, 0.047372207, -0.012245836, 0.030371115, -0.017974986, 0.0021657154, 0.0058193267, -0.025609847, -0.0072501116, 0.02113714, 0.002512891, 0.006056789, -0.0057081105, 0.0022468732, -0.006306275, -0.03621449, -0.028952353, -0.008290136, -0.02664386, -0.01971838, -0.005870426, -0.009264031, 0.016989067, -0.007238088, 0.0050768815, 0.015197581, -0.009408313, 0.0021191246, -0.0010700828, 0.0071539246, -0.011199799, -0.05025782, 0.013502281, -0.04657866, -0.0372485, 0.038258467, 0.0014330393, 0.0150533, 0.01151842, 0.020499902, 0.0062221107, -0.0010603138, 0.024503695, -0.029697804, -0.008013598, -0.014884972, 0.009107728, 0.016123382, -0.02964971, -0.012540408, -0.0041540856, 0.0006263441, 0.037416827, 0.020127175, -0.014584387, 0.031669643, 0.010809039, -0.004003793, -0.0067571523, 0.013622515, 0.024575835, -0.022123061, 0.012360058, 0.0038745415, 0.026764093, 0.020018965, 0.008440428, -0.00070111465, -0.0023415575, -0.0099132955, 0.025249146, 0.0030389149, 0.00050949166, -0.0057892683, -0.006679, -0.028327135, -0.030731816, 0.027196936, 0.0229647, -0.01187311, 0.008891306, 0.012035426, -0.013790842, 0.0048213843, -0.020187292, -0.004863466, -0.024179062, -0.015810775, -0.0033274766, 0.006456567, -0.027293123, -0.034579307, 0.05232585, -0.0037272547, 0.03671947, -0.0031260846, 0.02717289, -0.012149648, 0.03530071, -0.032463185, 0.03544499, -0.011861087, -0.0057111164, 0.023806337, 0.008103773, 0.029216869, -0.013754772, -0.04297164, 0.034651447, -0.007328264, 0.0127929, -0.017962962, 0.036767565, 0.033978134, 0.004845431, 0.03025088, 0.020572042, 0.010292033, -0.009396289, 0.030635629, 0.019321607, 0.004770285, 0.010682793, 0.06353166, 0.005191104, -0.000623714, 0.0019147268, -0.029625664, -0.015894938, 0.039076056, 0.018996976, 0.034723587, -0.0064685903, -0.0070336903, 0.021582007, -0.019958848, -0.008831189, -0.024672022, -0.01456034, 0.005431572, 0.00041217727, 0.015906962, 0.028832119, 0.007875329, 0.026451485, -0.02314505, 0.033809807, 0.007105831, -0.020944767, 0.0064445436, -0.021509867, -0.051075414, 0.02505677, -0.008753037, -0.007568732, -0.0058794436, 0.007682954, 0.007977528, -0.050642572, -0.024335366, 0.016075289, -0.0017569197, -0.052710596, 0.033905994, 0.03251128, 0.016628366, 0.034290742, -0.0346274, -0.020896673, -0.0455206, -0.0026872305, 0.048646685, -0.016267663, 0.0058223326, -0.0117528755, -0.019814568, -0.014981159, -0.034531213, 0.0022634056, 0.011398185, 0.0066429297, -0.015389955 ]
2401.09350
152
Cover Trees too have been the center of much research. As we have al- ready mentioned, many subsequent works [Elkin and Kurlin, 2022, 2023, Curtin, 2016] investigated the theoretical results presented in the original paper [Beygelzimer et al., 2006] and corrected or improved the time com- plexity bounds on the insertion and search algorithms. Izbicki and Shelton [2015] simplified the structure of the concrete Cover Tree to make its imple- mentation more efficient and cache-aware. Gu et al. [2022] proposed parallel insertion and deletion algorithms for the Cover Tree to scale the algorithm to real-world vector collections. We should also note that the Cover Tree itself is an extension (or, rather, a simplification) of Navigating Nets [Krauthgamer and Lee, 2004], which itself has garnered much research. It is also possible to extend the framework to MIPS. That may be surpris- ing. After all, the machinery of the branch-and-bound framework rests on the 4.5 Closing Remarks assumption that the distance function has all the nice properties we expect from a metric space. In particular, we take for granted that the distance is non-negative and that distances obey the triangle inequality. As we know, however, none of these properties holds when the distance function is inner product.
2401.09350#152
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 152, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Cover Trees too have been the center of much research. As we have al- ready mentioned, many subsequent works [Elkin and Kurlin, 2022, 2023, Curtin, 2016] investigated the theoretical results presented in the original paper [Beygelzimer et al., 2006] and corrected or improved the time com- plexity bounds on the insertion and search algorithms. Izbicki and Shelton [2015] simplified the structure of the concrete Cover Tree to make its imple- mentation more efficient and cache-aware. Gu et al. [2022] proposed parallel insertion and deletion algorithms for the Cover Tree to scale the algorithm to real-world vector collections. We should also note that the Cover Tree itself is an extension (or, rather, a simplification) of Navigating Nets [Krauthgamer and Lee, 2004], which itself has garnered much research.\nIt is also possible to extend the framework to MIPS. That may be surpris- ing. After all, the machinery of the branch-and-bound framework rests on the\n4.5 Closing Remarks\nassumption that the distance function has all the nice properties we expect from a metric space. In particular, we take for granted that the distance is non-negative and that distances obey the triangle inequality. As we know, however, none of these properties holds when the distance function is inner product.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.0052197436, 0.033417262, 0.042248577, 0.0049233222, 0.03535252, 0.0025127684, 0.026303148, 0.014650716, -0.029901091, 0.057076465, 0.029982863, -0.011938631, 0.0006213778, -0.012715459, 0.04742744, -0.05827578, 0.056640353, -0.057676125, 0.05503218, 0.039604634, 0.006003387, 0.0034752863, 0.013090245, 0.017362803, 0.01749909, -0.047809035, 0.03219069, 0.03706972, 0.061873723, -0.051570524, 0.047236636, -0.006725701, -0.035625093, 0.0074616442, 0.005822808, 0.05094361, 0.012476959, 0.00014693306, 0.0028194112, 0.048790295, -0.006603044, 0.053205952, -0.06765224, -0.0031243504, 0.0071004867, 0.042221323, -0.016436059, -0.008061301, -0.026957318, 0.039223034, -0.040367834, 0.043311607, -0.03238149, -0.053914636, -0.025390033, 0.016190745, -0.04279372, 0.026684748, 0.05137972, -0.017526345, 0.012347488, -0.012204388, 0.019461604, 0.00081175193, -0.033771604, 0.03614298, 0.0074752728, 0.028620005, -0.0044497293, -0.007529787, -0.041131034, 0.0080953725, -0.02549906, -0.033008404, 0.061001495, 0.027584232, 0.014596202, 0.024245232, 0.006555344, 0.02102889, 0.04909012, -0.018235032, 0.0819895, -0.033090178, -0.021887489, -0.023100432, 0.012306602, 0.03363532, -0.1083199, -0.020742688, -0.0036456434, -0.0041430863, 0.02416346, 0.012620059, 0.03355355, 0.0011533181, -0.023850003, 0.0001479978, 0.041240063, -0.03257229, 0.0028245219, -0.030664291, 0.010841531, -0.056149725, 0.11742379, 0.027066348, 0.03764212, 0.018984603, -0.04213955, 0.027161747, -0.07070504, -0.056531325, -0.018316804, 0.027829548, -0.0045008366, -0.021805719, -0.024217976, 0.0023407075, 0.017608117, 0.0023679647, 0.0115161445, 0.0006746144, -0.018752918, 0.03001012, 0.046364408, -0.03974092, 0.005959094, -0.06220081, -0.007482087, -0.0057410365, 0.00883813, 0.005137972, 0.016108975, 0.009594516, -0.06383624, -0.010439487, -0.06143761, 0.043829493, 0.015209489, -0.044129323, -0.008667773, -0.0022163468, 0.031945378, 0.02236449, -0.04516509, 0.021751203, 0.022078289, 0.061219554, 0.021042518, 0.047291152, -0.0016090234, -0.021642175, -0.024122575, 0.00095314835, -0.05514121, -0.03878692, -0.00050851615, 0.042984523, 0.031972636, -0.040449608, 0.011325344, 0.024994804, -0.017281031, 0.030827833, 0.029083377, 0.02856549, -0.05388738, 0.025199233, -0.06945121, -0.02588066, 0.030500747, -0.09741704, -0.012817673, 0.024790376, -0.0011379858, 0.00012617078, -0.064653955, 0.0006081751, 0.0054071364, -0.016381545, -0.027938576, 0.049635265, 0.0100374445, -0.0037921506, -0.0013296377, 0.0020425825, 0.022568919, -0.009798945, -0.03020092, 0.039468348, -0.025580833, 0.047454692, 0.04516509, 0.044074807, -0.007952273, -0.027597861, 0.0022776753, -0.0031567183, -0.023672832, 0.021287832, 0.06029281, -0.00020815516, 0.049444467, -0.011563845, -0.005959094, -0.023468403, -0.005168637, 0.043884005, -0.030637033, -0.022528032, -0.050425723, -0.002967622, -0.017894316, 0.00826573, -0.0006022126, 0.01519586, -0.0021260574, 0.025090205, -0.024667718, 0.07691967, 0.00004173751, 0.03268132, 0.029492233, 0.0039182147, -0.008988044, 0.027175376, 0.013328745, -0.03145475, 0.025430918, -0.04129458, 0.053342238, 0.043802235, -0.020701803, -0.045519438, -0.014105573, 0.021165175, -0.032545034, -0.035025433, -0.017621746, -0.06536264, 0.026016947, 0.014459916, 0.0051822653, -0.0049335435, -0.044211093, 0.052415494, -0.0008688216, -0.03573412, -0.00031090184, 0.008810873, 0.006040865, 0.0060919723, -0.01575463, -0.040095262, -0.059475094, -0.031645548, 0.0028500755, 0.029410463, 0.044538178, 0.010936931, -0.0048347367, -0.031345718, -0.0036558649, -0.04587378, -0.012626873, -0.007843244, 0.014827888, 0.035979435, 0.0032504147, -0.03461658, 0.049635265, 0.030855091, 0.026834661, -0.016558718, -0.020592775, -0.010200988, -0.024327004, 0.044129323, 0.017907945, -0.026248632, -0.0020340646, 0.005815994, 0.06192824, -0.024395147, 0.017948832, 0.018003346, -0.034562062, 0.021151546, -0.020701803, -0.010337274, 0.010310016, -0.012695016, -0.009819387, -0.027884062, 0.016040832, -0.025662605, -0.015114089, -0.021928376, 0.0016822771, -0.025144719, 0.007843244, -0.00774103, 0.043148063, 0.030909605, 0.0031669398, -0.01843946, -0.008872202, -0.0070050866, -0.023618318, 0.015713746, -0.022010146, 0.02417709, -0.04126732, 0.00893353, -0.032408748, -0.022337232, 0.06846996, -0.05072555, -0.018357689, 0.011897745, -0.044156577, -0.025103834, 0.06885155, 0.061110523, 0.083243325, 0.05410544, 0.004272558, 0.037941948, 0.023345746, -0.035025433, 0.009587701, -0.057567094, 0.030555261, -0.0015664342, -0.027257148, 0.00093526085, 0.012960774, 0.0084360875, -0.020047631, -0.022800604, -0.014364516, 0.0029131076, 0.015550203, 0.024831261, -0.025240118, 0.049362693, -0.0023764826, 0.021246945, 0.037178747, -0.001539177, -0.03543429, -0.04865401, 0.044156577, 0.024899404, -0.008381573, 0.04366595, -0.037015207, -0.06192824, 0.01255873, 0.0148142595, 0.006003387, -0.01529126, -0.011734202, 0.007666073, 0.014732488, 0.04159441, -0.052878864, 0.034044176, 0.007870501, 0.008708659, 0.010582588, 0.029001605, -0.028429205, -0.040694922, -0.05838481, -0.009281059, 0.010691616, -0.016449688, 0.03259955, 0.03881418, -0.040967494, 0.0057410365, -0.039114006, 0.0055911224, 0.012620059, 0.025362775, 0.00690628, -0.0050221295, -0.06454492, 0.0029625113, 0.02627589, -0.016749516, -0.01909363, 0.018603003, 0.0048585865, -0.03382612, 0.066670984, 0.010814273, 0.07288561, 0.017076602, -0.037614863, -0.0132810455, -0.02293689, 0.005557051, -0.028647263, 0.024640461, 0.061655667, 0.0147461165, -0.012831302, -0.0074343868, 0.0035093578, 0.0077546583, 0.028074862, -0.028320177, -0.0063883937, 0.0025229896, -0.033226464, 0.01863026, -0.019802317, 0.030146405, 0.016354289, 0.0017299771, -0.014664345, -0.05484138, -0.0678703, 0.034916405, -0.0071890727, -0.000008684223, -0.024517804, -0.06372721, 0.019693289, 0.044456407, 0.020919861, 0.044565435, -0.005897765, -0.011345788, 0.008306616, 0.07332173, -0.04701858, 0.02762512, -0.0055229794, -0.017471831, -0.0040715365, 0.035216235, 0.008858573, -0.033771604, -0.0037819291, -0.024122575, -0.013485474, 0.0015562128, 0.00926743, -0.03259955, -0.0056660795, 0.023236718, -0.06961475, 0.03802372, 0.028429205, -0.009417345, 0.0069676084, -0.011134544, -0.0036933434, 0.036388293, -0.05247001, 0.004797258, 0.0018074895, 0.043420635, 0.032872118, -0.0059045795, 0.03001012, 0.008892644, 0.035897665, -0.03813275, 0.029410463, -0.078500584, 0.009989744, 0.0046405294, -0.017281031, 0.0131038735, 0.026752891, -0.03897772, -0.011154988, -0.015618346, 0.039441094, 0.023931775, 0.018180517, 0.056585837, 0.007768287, 0.032490518, 0.03385338, -0.0014190752, -0.04249389, -0.012374745, 0.062418867, -0.015468431, 0.025403662, 0.005587715, -0.03096412, 0.0054480224, -0.028620005, 0.002470179, -0.002640536, 0.010371344, 0.030909605, -0.018425832, 0.0009199287, 0.021928376, -0.025144719, 0.011618359, -0.011291273, 0.042984523, -0.026453061, -0.0032844862, 0.059584126, 0.02856549, 0.025022062, 0.035979435, -0.013839817, 0.035625093, -0.0057819225, 0.00052001525, 0.0033168541, -0.021942003, -0.025390033, 0.007413944, 0.006916501, -0.029955605, -0.06639841, -0.020742688, -0.033308234, -0.015509317, -0.017989717, -0.005887544, 0.030718805, 0.0082180295, -0.042630177, -0.015550203, -0.023441147, 0.0037410434, -0.0052640364, -0.010855159, -0.011243573, 0.014514431, -0.010500816, 0.03783292, -0.00021976075, -0.020579146, 0.015304889, -0.0009139662, 0.012579174, 0.0150459455, 0.01824866, -0.014827888, -0.0077069583, 0.017635373, -0.011959073, 0.008660958, 0.011373045, -0.022187319, -0.0064735725, 0.0036286078, -0.032654062, 0.010085144, 0.004299815, 0.021710318, 0.020183917, 0.023945404, -0.019843204, 0.026344033, 0.029710291, 0.016599603, -0.022064662, -0.02781592, 0.012865374, -0.0068926513, 0.04243938, -0.012422445, 0.00964903, -0.048054352, -0.03199989, 0.015332146, -0.027107233, -0.01987046, -0.02799309, 0.0008573225, -0.033390004, 0.04091298, 0.016218003, 0.02044286, 0.015454803, 0.003945472, -0.0015834699, -0.019611517, 0.010848344, -0.01958426, -0.030827833, -0.0050698295, -0.00695398, -0.0149232885, -0.022964146, -0.002568986, -0.02789769, -0.001324527, 0.029083377, 0.0035263933, -0.0036865291, 0.019720547, -0.0054582437, -0.0053355866, 0.02932869, 0.008040858, 0.006088565, 0.002124354, 0.016899431, -0.0149232885, -0.0012129431, 0.01050763, -0.0033986256, -0.028347433, 0.032899376, -0.027720518, -0.004896065, -0.00006622635, -0.01910726, -0.0025570611, 0.003925029, 0.01890283, 0.014037431, -0.02637129, 0.018371318, 0.020919861, -0.019611517, -0.0040136147, 0.021151546, 0.046446178, -0.008149887, -0.02513109, -0.025976062, 0.013758045, -0.005512758, -0.03199989, 0.0067120725, 0.0058841365, 0.023863632, -0.04363869, -0.026125975, 0.018085117, -0.028647263, 0.033117436, -0.026970947, 0.012115802, -0.013301488, -0.015141346, 0.038350806, 0.016054459, 0.0131038735, -0.0024889184, -0.029628519, -0.017512716, 0.012974402, -0.005465058, -0.006040865, -0.013424145, -0.015727375, 0.011264016, -0.036442805, 0.014173716, -0.0030187292, 0.050671037, 0.045928292, 0.0148415165, -0.013315116, 0.058330294, 0.037887435, 0.02064729, 0.0009318537, -0.017281031, 0.008511044, -0.008756358, -0.018384947, 0.019856831, -0.038350806, 0.014664345, -0.029546747, -0.0026303148, 0.016640488, 0.013642202, -0.021260574, 0.014037431, 0.00002000366, -0.013539988, -0.0030221362, 0.018889204, 0.035407033, -0.0038500722, -0.00338159, 0.014064688, 0.034344006, 0.003989765, 0.0047427434, -0.06078344, -0.0028620004, 0.03096412, -0.020483747, -0.03096412, 0.005103901, -0.03848709, 0.0149778025, 0.032408748, 0.027747776, -0.047536466, 0.0011660948, 0.01108003, -0.0038637007, 0.016490575, -0.025090205, 0.019475231, 0.024953919, -0.014596202, -0.022296347, -0.029246919, -0.020851718, 0.014677973, -0.026766518, 0.0015536573, -0.0058807298, 0.03742406, -0.021955632, 0.022200946, 0.004466765, -0.011154988, -0.030228177, -0.0034650648, -0.0037819291, 0.0057580722, 0.0066848155, 0.00091907696, -0.03183635, -0.035216235, -0.0024906218, -0.0014105574, -0.026984576, -0.016422432, -0.0076865153, 0.016327031, -0.024395147, -0.0011643913, -0.012953959, -0.000089597226, 0.00888583, 0.023304861, 0.007345801, 0.01265413, -0.015209489, -0.015454803, -0.029819319, 0.002589429, -0.03199989, 0.019066375, 0.027161747, 0.029955605, -0.009526373, -0.0049233222, -0.019557003, -0.0014028914, 0.026970947, 0.0031567183, -0.019625146, -0.029274177, 0.030555261, 0.025662605, 0.032735836, 0.0073935012, 0.036824405, -0.01788069, 0.0057240007, 0.011005073, 0.001686536, -0.031591035, -0.013574059, -0.02026569, -0.009342387, -0.010882416, -0.0059965723, -0.015413917, -0.007843244, -0.0065485295, -0.022909632, 0.010950559, -0.021301461, -0.03965915, -0.020892603, -0.035625093, -0.028701777, -0.022282718, 0.01185686, -0.0041090148, -0.021151546, -0.0858055, -0.02549906, 0.041458122, 0.026671119, 0.0019080003, 0.0098466445, 0.01710386, -0.014160088, 0.026957318, -0.011563845, 0.016422432, -0.004483801, 0.0043168506, 0.0039011792, 0.016108975, -0.0029710291, 0.015413917, -0.008926716, -0.017567232, -0.006156708, 0.017594488, 0.033689834, 0.009683101, 0.0023441147, -0.031127661, -0.013049359, -0.013137945, -0.06656195, -0.028156633, 0.018221403, -0.0132946735, 0.022473518, 0.013274231, 0.056040693, 0.0073594297, 0.002291304, 0.018589374, 0.014337259, -0.01381256, -0.009798945, -0.02141049, -0.018984603, 0.010228245, -0.040313322, 0.027502462, -0.0038398507, 0.013567245, -0.018235032, 0.0010281055, -0.009785316, -0.0024633647, -0.01710386, -0.017035717, -0.005318551, 0.0062282584, 0.0057580722, 0.018357689, -0.0047563724, 0.0074343868, 0.0053526224, -0.00690628, 0.036742635, 0.043611437, 0.022841489, -0.015141346, -0.020497374, -0.00071507425, 0.04576475, 0.014514431, 0.022105547, 0.0031652362, 0.0148551455, 0.012667759, 0.031318463, 0.027788661, -0.005471872, -0.013219716, 0.0073526157, -0.039604634, -0.033390004, 0.027189005, -0.0015298073, 0.010235059, 0.012102174, 0.012170317, -0.0037955577, -0.016490575, -0.011427559, 0.012483774, 0.0016942021, 0.03183635, 0.017621746, 0.02340026, -0.005982944, -0.0022129396, -0.018875575, -0.01274953, -0.024095317, 0.032926634, 0.016408803, 0.044565435, 0.042303093, -0.046609722, 0.0016584271, -0.043747723, 0.054814123, 0.023740975, 0.031345718, 0.008061301, 0.0081907725, 0.012395188, -0.01031683, -0.007134558, -0.0667255, 0.015781889, -0.0057342225, 0.008292987, 0.016449688, 0.014582573, -0.004807479, -0.0050459793, -0.0064292797, -0.011393487, 0.0098330155, -0.017076602, -0.0149505455, 0.028129376, 0.004844958, 0.010057887, 0.007570673, -0.016667746, 0.027884062, 0.0019335538, 0.022228204, -0.0054105436, 0.028974347, 0.023005033, 0.02436789, -0.00983983, 0.016790403, 0.0099556735, 0.00021166878, -0.037396807, 0.009880716, 0.011093659, -0.0029250325, -0.05541378, -0.03145475, -0.019829575, -0.004752965, -0.0075366013, 0.023114061, 0.04213955, 0.03742406, -0.025676234, 0.0039965794, -0.028674519, -0.0014701824, 0.027120862, 0.033880632, -0.012013588, 0.029546747, -0.03535252, -0.031591035, 0.01796246, 0.012865374, 0.0013781895, 0.016367918, -0.005253815, 0.017839802, -0.010439487, -0.002103911, 0.019693289, 0.029655777, 0.006766587, 0.029355947, 0.015114089, 0.016790403, 0.023345746, -0.020579146, 0.007666073, -0.011482073, -0.01088923, 0.00004450581, 0.02427249, -0.015236746, -0.029219663, -0.025444547, -0.0071958867, 0.015563831, 0.04004075, 0.011781902, 0.037969206, 0.019625146, 0.023168575, 0.0029880647, -0.06258241, 0.0019829574, 0.0039795437, -0.014827888, -0.03450755, 0.00090118946, 0.004664379, -0.00025851702, -0.011025516, 0.010119216, 0.02607146, 0.018780174, -0.0016286145, 0.027066348, 0.034098692, 0.0030681326, -0.049171895, 0.013321931, -0.0022129396, 0.03180909, -0.02216006, 0.015931802, -0.014323631, -0.0059965723, -0.041403607, -0.029464977, 0.012960774, 0.009526373, -0.02389089, 0.022146432, 0.016504202, 0.019379832, 0.004848365, -0.016258888, -0.020388346, -0.014732488, 0.007413944, -0.040449608, 0.016558718, 0.018166889, -0.009437787, -0.012817673, 0.011788717, 0.015563831, 0.02703909, -0.03507995, 0.025240118, -0.0016899431, -0.0058262153, -0.027543347, 0.03096412, 0.0014292967, -0.014528059, -0.038459834, 0.006848358, 0.026044205, 0.048681267, -0.005465058, -0.00082325103, 0.010153287, 0.0007644778, 0.05713098, 0.019420717, -0.011809159, 0.03423498, 0.0072572157, -0.00831343, -0.05091635, 0.0017078306, 0.011189059, 0.0076865153, -0.011972702, 0.0061192294, -0.011161801, -0.014132831, 0.07037795, -0.032899376, 0.028265662, -0.01613623, -0.0037478579, 0.017349174, -0.0066166725, 0.0061873724, -0.05323321, 0.00034071435, -0.033989664, 0.0046439366, 0.014037431, 0.012701831, -0.009035745, 0.018943718, -0.017090231, -0.021369604, -0.02389089, 0.02360469, 0.018861946, 0.023168575, -0.017853431, 0.018562118, -0.008756358, 0.015154974, 0.01303573, 0.034480292, -0.012265717, 0.00960133, 0.002255529, 0.012695016, -0.02722989, 0.032408748, 0.031291205, -0.029792063, -0.046200864, -0.047536466, 0.0030187292, 0.014214602, -0.021260574, -0.023631947, 0.012742717, -0.011550216, -0.00042780946, -0.022078289, -0.0082725445, -0.0012163502, -0.013655831, -0.007482087, 0.023836376, 0.022528032, -0.0027819327, -0.021764832, 0.014432659, 0.035706863, 0.015918175, 0.018180517, -0.019175403, -0.029546747, 0.026575718, 0.0074207583, -0.027148118, -0.029982863, 0.015413917, 0.008545116, 0.02713449, -0.023277603, -0.0070459726, -0.004674601, 0.0044974294, 0.0071141156, -0.005982944, -0.016994832, 0.002366261, 0.01538666, 0.01901186, -0.0022827862, 0.010017002, 0.05914801, -0.0035025433, -0.03298115, 0.014405402, 0.0018483753, 0.016286146, -0.04004075, -0.00079769746, -0.011264016, 0.021437746, -0.029655777, 0.022814233, -0.0029761398, -0.022718832, 0.014514431, 0.00888583, -0.025839776, 0.011522959, -0.021315088, 0.03619749, 0.034044176, 0.01236793, 0.014759745, 0.028810805, 0.0006609858, 0.0002951438, 0.04824515, 0.00026873843, -0.019311689, 0.01805786, -0.014677973, 0.014514431, -0.06427235, 0.020292947, 0.013274231, 0.005604751, 0.019039117, 0.020769946, 0.00032751166, -0.0044054366, -0.010882416, 0.008974416, -0.02789769, 0.006623487, -0.00005142657, -0.013022102, 0.0039045864, 0.020592775, 0.024395147, -0.019066375, -0.016640488, -0.026439432, 0.02379549, -0.024763118, -0.041131034, 0.0029761398, 0.03775115, 0.017812546, 0.003822815, -0.02894709, -0.0064258724, 0.008177144, -0.020538261, 0.0055059437, -0.0010306609, -0.041512635, -0.039931722, -0.017049346, -0.0061601154, -0.00076703314, -0.010146474, -0.009948859, 0.031591035, -0.007897759, 0.0036183863, 0.038459834, 0.0077342154, 0.026521204, 0.011993145, -0.019189032, 0.0083952015, 0.0032793756, -0.0052640364, -0.018425832, -0.019243546, 0.012102174, -0.0066405227, 0.009819387, -0.03546155, 0.0048858435, -0.0068994653, 0.022064662, 0.028265662, 0.0014250377, -0.009989744, -0.006790437, -0.009492301, -0.03660635, 0.0060647153, -0.014459916, -0.03096412, 0.0022367896, 0.003003397, 0.02359106, -0.032081664, -0.003846665, -0.04213955, 0.011114102, 0.0016660931, 0.023631947, -0.013880703, -0.012804045, 0.029464977, -0.00041950453, 0.005345808, 0.020742688, -0.030037377, -0.013390074, -0.009403716, -0.013860259, 0.032326978, -0.0034361042, 0.0019352575, -0.0073798727, 0.028592747, -0.0022896004, -0.0049914652, -0.004439508, -0.013649017, 0.03352629, 0.017649002, 0.026889175, -0.017703516, 0.004824515, 0.0046916367, 0.032108918, -0.0039556934, 0.005604751, 0.0060238293, 0.0025826148, 0.0034361042, 0.032708578, 0.0024514396, 0.0062657367, 0.009056187, 0.007011901, 0.028129376, -0.03886869, 0.010759759, 0.0022282717, -0.028156633, -0.0041226437, -0.0032487113, 0.004442915, -0.0116115445, -0.015373031, 0.010241874, -0.011352601, 0.023345746, -0.0049573937, 0.0058739153, 0.005080051, 0.018657517, -0.013390074, 0.012804045, -0.014582573, -0.0064940155, 0.009335573, -0.0040953862, -0.012395188, 0.019734174, 0.009676287, 0.0037683006, -0.0019454788, -0.034071434, -0.010759759, 0.02083809, -0.005158415, -0.054323494, 0.002437811, 0.0020119182, 0.006848358, 0.03390789, -0.02799309, -0.0115706595, 0.023182204, 0.035625093, -0.021287832, 0.018752918, 0.025853405, -0.004558758, 0.011645616, -0.01843946, 0.0033696648, -0.013192459, -0.017839802, 0.003846665, 0.009103887, 0.005959094, -0.0041907863, 0.055195723, -0.017403688, 0.0015264002, -0.017989717, 0.031972636, -0.0023815932, 0.015141346, 0.05454155, 0.021233318, 0.02588066, 0.017512716, -0.038705148, -0.012783602, 0.015713746, 0.018166889, 0.019257175, -0.0115297735, -0.020660918, 0.010780202, -0.016776774, 0.0054480224, -0.0020068074, -0.0038091864, -0.008047673, -0.029219663, -0.0062282584, 0.0053253653, -0.0048585865, -0.021178804, 0.013478659, -0.008844945, -0.020483747, 0.0049539865, 0.0009608144, 0.012388374, -0.030119147, 0.02397266, -0.0148551455, -0.004207822, 0.016585974, 0.01170013, 0.01768989, 0.001344118, 0.005195894, -0.02083809, -0.0036558649, 0.0073866867, -0.017567232, -0.011338973, -0.022309976, -0.03766938, -0.000011026634, -0.047645494, -0.031700063, 0.036442805, -0.014555316, 0.018875575, 0.00338159, 0.015645603, 0.0033270756, -0.0041737505, 0.04671875, -0.0064292797, 0.015345774, 0.008211216, 0.0073117297, -0.019952232, 0.010119216, -0.04271195, 0.019175403, 0.034098692, 0.005509351, -0.021437746, -0.02254166, 0.010044259, -0.018848317, -0.0014829591, 0.015863659, 0.007856873, -0.00081473315, 0.038623378, 0.0004744447, 0.0014241859, -0.024068061, 0.010166916, 0.013049359, -0.037887435, 0.006933537, -0.004988058, 0.0072572157, -0.005386694, -0.0016814253, 0.025253747, 0.012347488, -0.02799309, -0.048054352, -0.039631892, -0.008102187, 0.021669433, 0.026016947, -0.02549906, 0.04979881, 0.04549218, -0.0023066362, 0.0021175395, 0.030119147, -0.016422432, 0.024899404, -0.0046200864, -0.014759745, -0.017635373, 0.001415668, 0.012252088, -0.010814273, -0.029355947, -0.022378119, 0.003432697, 0.022609804, -0.011407116, 0.019516118, 0.02370009, -0.010057887, 0.0070187156, 0.016354289, 0.032872118, -0.032708578, -0.02216006, -0.006674594, 0.012054473, 0.021001631, 0.012756345, -0.0013977806, 0.019652404, 0.033771604, -0.005795551, -0.0057921438, 0.037587605, 0.015863659, 0.012735902, -0.010643916, 0.028892577, -0.0055945297, -0.009342387, 0.020797204, -0.015413917, 0.03576138, -0.01594543, 0.02427249, -0.02474949, 0.01749909, 0.008422459, 0.010596216, -0.011713759, -0.029655777, 0.01069843, 0.0061635226, 0.032354236, -0.024122575, 0.00033837193, 0.012865374, 0.001066436, 0.010930116, -0.02494029, 0.0011729092, -0.027638748, 0.026221376, -0.04287549, 0.012143059, -0.039468348, -0.024108946, -0.004674601, 0.017144745, 0.018780174, 0.02713449, -0.025144719, -0.038350806, -0.03374435, 0.021437746, -0.0003345389, -0.016190745, 0.013090245, -0.016585974, 0.014364516, -0.03145475, 0.004255522, 0.02722989, -0.01189093, 0.016177118, -0.010712059 ]
2401.09350
153
As Bachrach et al. [2014] show, however, it is possible to apply a rank- preserving transformation to vectors such that solving MIPS over the original space is equivalent to solving NN over the transformed space. Ram and Gray [2012] take a different approach and derive bounds on the inner product between an arbitrary query point and vectors that are contained in a ball associated with an internal node of the tree index. This bound allows the certification process to proceed as usual. Nonetheless, these methods face the same challenges as k-d Trees and their variants. # 4.5.2 Future Directions The literature on branch-and-bound algorithms for top-k retrieval is rather mature and stable at the time of this writing. While publications on this fasci- nating class of algorithms continue to date, most recent works either improve the theoretical analysis of existing algorithms (e.g., [Elkin and Kurlin, 2023]), improve their implementation (e.g., [Ram and Sinha, 2019]), or adapt their implementation to other computing paradigms such as distributed systems (e.g., [Gu et al., 2022]).
2401.09350#153
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 153, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "As Bachrach et al. [2014] show, however, it is possible to apply a rank- preserving transformation to vectors such that solving MIPS over the original space is equivalent to solving NN over the transformed space. Ram and Gray [2012] take a different approach and derive bounds on the inner product between an arbitrary query point and vectors that are contained in a ball associated with an internal node of the tree index. This bound allows the certification process to proceed as usual. Nonetheless, these methods face the same challenges as k-d Trees and their variants.\n# 4.5.2 Future Directions\nThe literature on branch-and-bound algorithms for top-k retrieval is rather mature and stable at the time of this writing. While publications on this fasci- nating class of algorithms continue to date, most recent works either improve the theoretical analysis of existing algorithms (e.g., [Elkin and Kurlin, 2023]), improve their implementation (e.g., [Ram and Sinha, 2019]), or adapt their implementation to other computing paradigms such as distributed systems (e.g., [Gu et al., 2022]).", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.0014990292, 0.04364091, 0.052348483, -0.013628123, -0.01686126, -0.03506215, -0.008308261, 0.050467853, -0.06883619, 0.034392335, 0.026921341, 0.0045856447, -0.018342579, -0.008829942, 0.031094793, -0.033748284, 0.038411215, -0.045676112, -0.00515563, 0.015354181, 0.010562439, -0.006743216, 0.044594105, 0.0053005414, 0.029111115, -0.011683089, 0.0130549185, 0.008572321, 0.06162282, -0.03985389, 0.036015343, -0.0074709943, -0.049720753, -0.006807621, 0.033284567, 0.039055265, -0.019669324, 0.011902066, 0.024886139, 0.020854378, 0.0246414, 0.029033829, -0.06960905, 0.007696412, -0.000031422656, 0.011039038, -0.004228196, -0.048947893, -0.009094003, 0.042352807, -0.020158803, 0.050776996, -0.017312096, -0.013782696, -0.019849658, 0.05719175, -0.02100895, 0.0072648977, 0.055233832, 0.030965982, 0.012243413, -0.0754828, -0.0089845145, -0.0011609023, -0.046242878, 0.024808852, -0.019295774, 0.007644888, 0.03920984, 0.0013903455, -0.031713083, 0.019733729, 0.041193515, -0.00040414213, 0.0027565393, 0.0039834566, 0.009448231, 0.02375261, 0.036298726, 0.025182402, 0.04111623, 0.007696412, 0.04729912, 0.003922272, -0.021099119, -0.021846216, 0.013473552, -0.016320258, -0.109128036, -0.037045825, -0.032125276, 0.051240716, 0.013087121, 0.026225766, 0.042816523, 0.044465296, 0.0063793273, 0.0058866283, -0.00968009, 0.0047080144, -0.034263525, -0.04410463, 0.042584665, -0.030837173, 0.09671073, 0.022850936, 0.0075160777, 0.011547838, -0.004212095, 0.0026808633, -0.07883187, -0.035628915, -0.036813967, 0.04590797, 0.004753098, -0.06296245, -0.039802365, 0.022606198, -0.009699412, 0.03936441, -0.014877583, 0.0074516726, -0.015083679, 0.005645109, 0.004109047, -0.028260967, 0.024151921, -0.0520651, 0.025246808, -0.022528911, 0.020442186, -0.0017437687, 0.048329603, -0.0015392824, -0.04461987, -0.00515563, -0.055955168, 0.026766768, 0.026895579, -0.02867316, -0.02916264, -0.0264061, 0.007445232, -0.01747955, -0.03987965, 0.040214557, -0.003081785, 0.062138062, 0.025852216, 0.024834614, 0.009229254, -0.033542186, -0.018716129, 0.01898663, -0.06698132, -0.005725615, 0.029909737, 0.02551731, 0.017930387, -0.023044152, -0.001660042, 0.026766768, 0.018213768, 0.0034424537, -0.0071167657, 0.0047885207, -0.036169916, 0.017015833, -0.04590797, -0.05268339, 0.022722127, -0.085993715, 0.005777139, 0.01786598, 0.021833336, -0.0014579709, -0.045753397, -0.00879774, 0.013473552, -0.015057918, -0.040420655, 0.024345135, 0.0065822033, 0.05015871, 0.0001405843, 0.05157562, -0.034675717, 0.017389383, -0.012101722, 0.010343462, -0.022284172, 0.060077097, 0.042301282, 0.03209951, 0.03055379, 0.0015682647, -0.006198993, 0.023559393, -0.009957031, -0.02438378, 0.03410895, -0.040446416, -0.02136962, -0.018175125, 0.001094887, 0.0034392334, -0.0060379803, 0.015869422, -0.038540024, -0.0036775323, 0.010214652, 0.023147201, 0.027436582, 0.041708756, 0.0081923315, 0.006955753, -0.039287124, 0.036169916, -0.00060299295, 0.028260967, -0.004714455, 0.028467063, -0.0063600056, 0.019192725, 0.0031880534, 0.055027734, 0.02515664, -0.038797647, 0.04954042, -0.040343367, 0.033129994, 0.0066723707, -0.00064445374, -0.015817897, 0.00033490662, 0.030605314, -0.033748284, -0.031352412, -0.05193629, -0.062241107, 0.028956542, 0.014066079, 0.017376501, -0.022078076, -0.023675323, 0.023250248, -0.026972864, -0.0049881767, 0.014813178, -0.0018709687, -0.03658211, -0.007245576, -0.053997252, -0.059664905, -0.03835969, -0.031532746, -0.01822665, 0.068114854, 0.018394103, 0.00028217494, -0.025105117, 0.00024333059, -0.009403148, -0.055800598, -0.037251923, -0.0015328419, 0.02175605, -0.009280778, 0.020815736, -0.03457267, 0.0013613632, 0.0067238947, -0.010910228, -0.06455969, 0.0016012724, -0.037303448, 0.009493315, 0.016668046, -0.023417702, -0.0033748283, -0.00028680405, 0.012694249, 0.067857236, -0.045547303, 0.015959589, -0.012906786, -0.02364956, -0.0071489685, -0.0147358915, -0.04552154, 0.030090073, -0.00956416, -0.015418586, -0.002341126, 0.027178962, 0.007007277, -0.011341742, -0.014916226, 0.029033829, -0.0030012787, 0.034005903, 0.012410867, 0.020558115, 0.017376501, -0.02567188, 0.012758655, 0.049643468, 0.039673556, -0.030373456, 0.045727637, -0.01144479, 0.029652117, -0.02326313, 0.017943267, -0.057758514, -0.04691269, 0.062086537, -0.03284661, 0.035397053, -0.00892655, -0.013215931, -0.067342, 0.022722127, 0.0043312446, 0.029652117, 0.017183287, -0.013525075, 0.011354622, 0.035422817, -0.028750446, -0.016655164, -0.0108715845, 0.013512194, -0.018046316, -0.06404445, -0.020313375, 0.031506985, -0.0012212821, -0.034495384, -0.0025584935, -0.024744447, -0.0021978247, 0.010214652, 0.024551231, 0.01673245, 0.03748378, -0.034212, 0.047608264, 0.013254574, -0.0020593537, -0.008256736, -0.056521934, 0.020738449, -0.007206933, 0.027307771, -0.0018419864, -0.011419028, -0.03632449, -0.025916621, -0.014787416, -0.031275127, -0.011753934, 0.012417307, 0.018844938, 0.009216373, 0.034263525, -0.0583768, 0.003410251, -0.016371781, 0.011328861, -0.0027726404, 0.033671, -0.039776605, -0.031841893, -0.028982304, -0.014310818, 0.004302262, 0.017621242, 0.06038624, 0.062344156, 0.0008127121, -0.014349461, -0.06739352, -0.0038546466, 0.008095724, 0.050210234, 0.0141433645, -0.011283778, -0.056264315, 0.06404445, -0.017337859, 0.01195359, -0.012294938, -0.01407896, -0.006807621, 0.0046597105, 0.037329208, 0.0027098455, 0.056624983, 0.027926061, -0.043202955, 0.017440908, -0.05621279, 0.0020303715, 0.011251574, 0.024190564, 0.05196205, -0.014504033, -0.010935989, -0.0130484775, -0.0049624145, -0.012236973, 0.027823012, -0.03155851, 0.044233438, -0.003043142, -0.0007559551, 0.017518193, -0.037380733, 0.037509542, -0.0043376847, 0.0051105465, -0.040034223, -0.03305271, -0.016925666, 0.045856446, 0.033413377, -0.01621721, 0.039441697, -0.040961657, -0.010002116, 0.053018294, 0.0017421586, -0.03318152, -0.011303099, -0.010697691, 0.052606102, 0.048999418, -0.0072713383, -0.04049794, -0.026238646, -0.03483029, -0.052013576, 0.0012695859, -0.0019675766, 0.024190564, -0.02504071, 0.0019224929, 0.017724289, -0.040034223, 0.015160966, -0.03696854, -0.004176672, -0.03936441, -0.014671487, -0.030167358, 0.070897155, -0.028029108, 0.003093056, -0.02352075, 0.029214162, 0.0009370945, -0.034031667, -0.026509147, 0.018909344, 0.029265687, -0.008778418, -0.0026937441, 0.0306826, -0.04655202, 0.058531374, -0.020532353, 0.0028402659, -0.029317211, -0.00061225117, 0.033413377, 0.037148874, -0.030837173, 0.015508753, -0.013628123, 0.0119600305, -0.04727336, 0.0077543766, 0.018651724, 0.046217114, 0.07295812, 0.03359371, 0.044181913, 0.01509656, 0.030476503, -0.07744072, -0.028956542, 0.067342, -0.013589481, 0.013859982, -0.0038031223, 0.0009886186, -0.0038965098, -0.013061359, -0.017002951, 0.014413866, 0.039441697, 0.008971633, -0.0036356691, 0.008546559, 0.01422065, -0.0077801384, 0.016410425, 0.018716129, 0.046964213, 0.019076796, 0.009370945, 0.015508753, 0.006276279, 0.02954907, 0.011753934, -0.0030206002, 0.04817503, -0.01144479, -0.0035004183, 0.01897375, 0.0056386683, -0.06100453, 0.0077157337, 0.007245576, -0.045083586, -0.06723895, -0.05296677, -0.06682675, -0.04039489, 0.007103885, -0.0015948318, 0.0037773603, 0.0120630795, -0.027771488, -0.0063084816, 0.008102165, 0.02352075, -0.010356343, 0.029342974, 0.0030125496, -0.011580041, -0.01822665, 0.037174635, 0.0016310597, -0.0122562945, 0.048973653, 0.00729066, 0.0062440764, 0.030528028, 0.006955753, -0.009087563, -0.026637958, 0.010916668, -0.01044651, -0.022181123, 0.012674928, 0.0029239925, -0.021575715, 0.015045037, 0.0061184866, 0.030528028, 0.007194052, 0.006453393, -0.01571485, -0.0077801384, 0.011122764, -0.015586039, 0.000022529213, -0.008546559, -0.010362784, -0.0063600056, -0.0011085732, -0.0049269916, 0.034933336, 0.004730556, -0.005799681, -0.018162245, 0.028879257, -0.0015900014, -0.016796855, -0.023778372, -0.040188797, -0.02152419, -0.021833336, 0.011348182, 0.021485548, 0.0186002, 0.004814283, 0.013872863, 0.011090562, -0.034392335, 0.008160129, -0.037251923, -0.0020303715, -0.016178567, -0.02413904, -0.030270407, -0.012591201, -0.0004339295, 0.0020609638, 0.01950187, 0.030708361, -0.008115045, -0.0037161754, -0.008134367, -0.0168355, 0.02880197, 0.034031667, -0.0046210676, -0.010839382, -0.026187122, 0.014903345, 0.0056161266, -0.0103692245, -0.0036163474, -0.006366446, -0.0034166917, 0.012919667, -0.0074516726, -0.005191053, -0.008958752, -0.01220477, 0.034005903, 0.012185449, 0.025581714, 0.03910679, -0.058016133, 0.0035068588, 0.012977632, 0.0048883487, -0.023211606, 0.022181123, 0.020197446, 0.013157967, -0.027230484, 0.023958705, -0.012771536, 0.019385941, -0.012159687, 0.04668083, 0.025002068, -0.0059317118, -0.013499313, -0.008965193, -0.021794694, -0.036427535, 0.021356737, -0.033155758, -0.017453788, -0.048870604, -0.0031977142, -0.008256736, 0.005290881, 0.01997847, 0.007245576, 0.00830182, 0.007026599, 0.010839382, 0.007361505, -0.021846216, -0.0056805317, -0.035165194, -0.0023089235, 0.0022090958, 0.027359296, -0.0019063916, 0.029755166, 0.041837566, -0.019965587, 0.02753963, 0.0075676017, 0.042043664, -0.0130549185, -0.0054164706, -0.042558905, -0.047144547, 0.01923137, -0.037277684, 0.01948899, -0.017440908, 0.009319421, -0.052116625, -0.023198724, -0.0071618496, 0.0051105465, -0.0077801384, -0.013525075, -0.0014684368, -0.024821734, -0.009796019, -0.0028692482, 0.015405705, -0.029136878, -0.027333533, 0.018445626, -0.025233926, 0.028724683, -0.022425864, -0.062550254, 0.028879257, 0.051008854, -0.020558115, -0.026637958, 0.011683089, -0.048509937, 0.026766768, 0.039441697, 0.061674345, -0.047221836, 0.021704527, -0.029755166, 0.029317211, 0.029214162, -0.03784445, 0.002753319, 0.023559393, 0.011077681, -0.028853495, 0.0075676017, -0.040961657, 0.021678764, -0.0291884, -0.0010779807, 0.0011802239, 0.020777091, -0.024512589, 0.030167358, 0.010845822, 0.0022718906, 0.0089780735, 0.02466716, -0.0034327928, -0.035113674, 0.0061571295, 0.004518019, -0.03521672, 0.0022541792, -0.043099906, -0.01219189, -0.022155361, -0.056367364, -0.0029722964, -0.007954032, -0.008475714, -0.008881466, -0.0027484884, 0.0019224929, 0.0015859761, 0.015895184, -0.007458113, 0.010955311, 0.002088336, -0.0019707966, 0.029883977, -0.017041596, -0.02300551, -0.013087121, 0.013022715, 0.022194006, -0.03408319, 0.02666372, -0.02100895, -0.007954032, 0.0477886, -0.013409146, 0.021099119, -0.00829538, -0.0008002336, 0.014800297, 0.019888302, 0.020532353, 0.058016133, -0.010774977, 0.058170706, 0.013666767, -0.0018822397, -0.01634602, -0.0053391843, 0.02023609, -0.035139434, -0.026019668, -0.0060895043, -0.0038385452, -0.005645109, 0.0015787305, -0.021975027, -0.0031027168, -0.021227928, -0.039544743, -0.01911544, 0.014426747, -0.00968009, -0.027591154, -0.020841498, 0.022541793, -0.022309935, -0.088879064, -0.018677484, 0.014607081, 0.024551231, 0.033129994, 0.013190169, 0.027282009, -0.0062956004, 0.016449068, -0.014349461, 0.00015537736, 0.011573601, -0.011985793, 0.025903739, 0.03369676, -0.033928618, -0.0011375555, 0.009113325, -0.018561555, -0.03359371, 0.014916226, 0.010826501, 0.009841102, 0.020223208, -0.0004540561, -0.005558162, 0.03019312, -0.04655202, -0.012121044, 0.0023427363, -0.029317211, 0.02062252, -0.00073864625, 0.06899077, 0.0069621936, -0.013254574, 0.022322815, -0.0005321473, -0.0008984514, -0.029523307, -0.028956542, -0.04516087, -0.008218094, -0.049798038, -0.00061184866, -0.0155345155, 0.033774044, -0.033542186, 0.0329239, -0.029033829, -0.004498698, -0.047865886, -0.024808852, 0.008166569, 0.013100002, -0.0019530853, 0.009924829, 0.010916668, -0.0038932895, 0.022425864, 0.0036292286, 0.00119552, 0.026637958, -0.01723481, -0.031635795, -0.024061752, 0.015457229, 0.00031397498, 0.027848775, 0.0025987467, -0.010253295, 0.01897375, -0.015070798, 0.031764604, 0.012301378, -0.018999511, -0.0047208956, 0.020777091, -0.026947103, -0.0083855465, 0.020712687, -0.016062638, 0.015586039, 0.0021720626, -0.0067625376, -0.016577879, -0.016719569, -0.012436629, 0.008958752, 0.00010324946, 0.03838545, 0.007831663, 0.006601525, 0.012945429, 0.018780533, -0.016925666, 0.01547011, -0.013138644, 0.011245134, 0.0049269916, 0.029961262, 0.024370898, -0.026998626, 0.0039963378, -0.059819475, 0.02541426, 0.013434908, 0.0014893684, 0.018574437, -0.010111604, 0.010002116, -0.024989188, -0.027977584, -0.051859003, 0.004617847, 0.023598036, -0.015766373, -0.005876967, 0.009963472, -0.0131515255, 0.0069815153, -0.009094003, -0.037664115, 0.024087515, -0.005976795, 0.020029992, 0.016423305, 0.0010208212, 0.015251133, -0.004224976, -0.013975911, 0.025427142, 0.007928271, 0.007941151, -0.024254968, -0.00020378183, 0.02099607, 0.009873305, 0.010884466, 0.0357062, 0.021021832, -0.006398649, -0.014813178, 0.04325448, 0.011161407, 0.0015231811, -0.029523307, -0.010774977, -0.005239357, 0.021807574, -0.005332744, -0.012385105, 0.01370541, 0.05291525, -0.027848775, 0.036633633, -0.010388546, 0.033026945, 0.015908064, 0.061571296, 0.014645725, -0.00035382563, -0.005355286, -0.02339194, -0.011683089, 0.005934932, -0.015328418, 0.021768931, 0.007593364, 0.0656417, -0.012990513, -0.0038514263, 0.0033555068, 0.04121928, 0.028312491, 0.027848775, 0.022297053, -0.016423305, 0.029497545, -0.0074001485, 0.0067625376, 0.0053971494, -0.01559892, 0.026264409, 0.0126556065, -0.008875025, -0.0181236, -0.00086544384, 0.027565392, 0.0030093293, 0.033877093, 0.035165194, 0.008958752, 0.020210328, 0.03168732, -0.019785253, -0.029961262, 0.0039544743, -0.0030093293, -0.011966472, -0.010478714, 0.01911544, 0.006756097, -0.010787858, -0.017930387, 0.010510916, -0.015032155, -0.024589876, -0.00892655, 0.043434814, 0.003410251, 0.049798038, -0.039184075, -0.024615638, 0.01634602, 0.0049495334, -0.0020657943, 0.0070652417, 0.010774977, -0.002579425, -0.041425373, -0.014297937, 0.0020174903, 0.04121928, 0.0057900203, -0.00703948, 0.059561856, 0.010362784, -0.0029127216, -0.008842823, -0.022451626, -0.007786579, -0.02402311, -0.035319768, -0.01861308, 0.02905959, -0.046448972, -0.010523797, -0.00031216358, 0.0018162244, 0.014014554, -0.01936018, 0.035397053, 0.0040961658, -0.009789579, -0.033774044, 0.015328418, 0.027926061, -0.037458017, -0.02867316, 0.0066788113, -0.0030769547, 0.027024388, 0.0030898356, 0.0006424411, 0.013293217, 0.010324141, 0.047968935, 0.031713083, -0.022606198, 0.027771488, -0.015032155, -0.013145085, -0.042352807, 0.005944593, -0.005609686, 0.02514376, -0.02603255, 0.0064469525, 0.0073872674, -0.027230484, 0.031764604, -0.0203649, 0.030965982, -0.021176403, 0.012481713, -0.009351623, 0.005207154, -0.0021334197, -0.02854435, 0.007844544, -0.0120630795, 0.0002350787, 0.006826943, 0.017415145, -0.025736287, 0.011708851, -0.0114641115, -0.004952754, -0.03349066, 0.026174242, 0.019463228, 0.016655164, 0.002275111, 0.01773717, -0.009113325, -0.0029239925, -0.0038449857, 0.010266176, -0.042455856, 0.0049141105, 0.012159687, 0.028235205, -0.00201105, 0.038050547, -0.005625787, -0.028389778, -0.031610034, -0.039184075, 0.0035777045, 0.012011555, 0.0046114065, 0.000628755, 0.010633285, -0.009229254, 0.02013304, -0.03446962, -0.0017389383, 0.024035992, -0.026612196, -0.0021092677, 0.02251603, -0.015083679, -0.0030254305, 0.00042829406, 0.032898135, -0.0011584872, 0.0026261187, -0.024216326, 0.02890502, -0.0039802366, 0.04441377, -0.0024055312, -0.03771564, -0.0271532, -0.0206354, 0.017956147, -0.012732892, -0.023778372, -0.002023931, 0.035371292, 0.015856542, 0.020648282, -0.021704527, -0.012230532, 0.009531958, 0.013280336, 0.034366574, -0.0058673066, -0.018960867, 0.051240716, -0.010459391, -0.023044152, -0.0021704526, -0.011580041, 0.025942383, -0.015276895, -0.015998231, -0.012816619, 0.036401775, -0.009100444, 0.029858215, -0.012340021, -0.00031155976, -0.0012027656, 0.028595874, -0.02024897, 0.035860773, -0.014117602, 0.020004231, 0.025877977, 0.011869864, -0.0072842194, 0.015508753, 0.0006738386, -0.015959589, 0.0056998534, 0.024847496, 0.004601746, 0.014954869, -0.019772371, -0.026367456, -0.031841893, 0.008675369, 0.026509147, 0.01811072, -0.01924425, 0.01848427, 0.024164801, -0.019630682, 0.026818292, 0.023224486, -0.014555558, 0.01747955, 0.015779255, -0.044980537, 0.011354622, -0.011741053, 0.01370541, -0.009944151, -0.03256323, 0.009119765, 0.035010625, -0.004714455, -0.027771488, -0.032125276, 0.008379106, 0.009119765, -0.009222813, -0.02401023, -0.019926945, -0.008546559, -0.0032878814, 0.001748599, -0.018419866, -0.03547434, -0.021215048, 0.026187122, -0.006337464, 0.0001527609, -0.006591864, -0.009789579, 0.006350345, -0.0196178, 0.022580435, 0.035912294, 0.04866451, 0.022773651, -0.0034231322, 0.011515636, -0.00035785095, -0.001898341, -0.01182478, 0.009132646, -0.0072648977, 0.008346904, 0.012159687, -0.017814457, -0.013499313, 0.040317606, -0.02326313, 0.052554578, 0.012610523, -0.0099763535, -0.025259688, -0.025349855, -0.018316817, -0.013924387, 0.006012218, 0.019656442, -0.038694598, 0.0006613601, -0.0148389395, 0.0022332475, -0.018149363, 0.00022280146, -0.037509542, 0.01660364, 0.0026148479, 0.029909737, -0.005445453, -0.0017083458, 0.0023201944, 0.030785648, -0.006134588, 0.030862935, -0.0369943, 0.020210328, -0.030141596, 0.018535795, -0.0024103615, 0.016796855, -0.011631565, 0.025233926, 0.030528028, -0.008037759, 0.005490537, -0.018059196, 0.013357623, 0.018265292, -0.0030093293, 0.0052135945, 0.0064920364, 0.041811805, 0.056624983, -0.00014460963, 0.010085842, 0.0028434861, -0.017788695, -0.013782696, -0.0054261317, 0.02679253, 0.0039673555, -0.005773919, 0.018329697, -0.012803738, 0.012623404, 0.027359296, -0.012101722, 0.0028450962, -0.03920984, 0.00085095264, -0.0071747303, 0.014671487, 0.010163128, 0.039467458, 0.012088841, -0.03735497, 0.026947103, 0.012088841, -0.012488153, -0.0046951333, 0.01472301, -0.02578781, 0.021318095, -0.021047594, 0.0020255412, 0.023069914, 0.013718291, -0.010291939, -0.011032597, 0.053172868, 0.0006291575, -0.02099607, -0.02375261, -0.018097838, -0.0018258851, 0.006115266, -0.0314297, 0.009699412, -0.030476503, 0.003696854, 0.020197446, -0.03722616, -0.028570112, 0.013872863, 0.025865097, 0.0013702189, 0.00377414, 0.018394103, -0.013177288, 0.02126657, 0.00616679, 0.012249854, 0.0032733902, 0.0028386556, 0.001069125, 0.035680436, 0.006385768, 0.02274789, 0.001283272, 0.0072133737, -0.022541793, -0.022696365, 0.061056055, 0.017312096, 0.039261363, 0.029523307, 0.016655164, 0.017273454, -0.0030850053, -0.0054035895, 0.008121486, 0.028260967, -0.015676206, 0.008990955, 0.0016455508, 0.00541003, -0.019218488, -0.024989188, 0.005342405, -0.0011375555, -0.013473552, -0.008746215, -0.032022227, -0.0024135818, 0.0012848822, -0.0034134714, 0.024074635, 0.002062574, 0.0049108905, -0.0055807037, -0.007058801, 0.00036630413, 0.029471783, -0.016036876, 0.015019274, 0.007277779, -0.009763816, 0.014774535, 0.0047724196, -0.016036876, 0.027771488, -0.00603476, 0.0369943, 0.0026406099, 0.036917016, -0.0116637675, 0.0061571295, 0.0067110136, -0.027977584, 0.008327582, -0.01747955, 0.008404869, 0.020828616, -0.019398823, -0.013093561, 0.02515664, 0.018922225, 0.008359784, 0.0050847842, 0.013769815, 0.019914063, 0.031275127, 0.0129518695, 0.012224092, 0.0061700107, 0.043409053, -0.038076308, -0.015895184, 0.017015833, 0.01711888, -0.0004854536, -0.009087563, -0.004939873, -0.012146805, -0.014903345, -0.0138471015, -0.013525075, 0.011741053, -0.0015191558, 0.0062730587, -0.008218094, -0.009667208, 0.011676649, 0.00025399768, -0.021318095, 0.016178567, 0.013228812, -0.009712292, 0.025092235, -0.02779725, 0.00009353837, 0.0128488215, -0.04539273, -0.034521144, -0.028286729, -0.013267455, -0.010762095, 0.01572773, -0.015367062, 0.043099906, 0.023868538, -0.010794299, 0.0015666545, 0.05291525, -0.01219189, 0.0372004, 0.017904624, -0.014993512, 0.0037709197, 0.01747955, 0.022541793, -0.0030994965, -0.03431505, 0.002991618, -0.024860376, 0.047762837, -0.018136483, 0.0271532, 0.021549953, -0.014104721, 0.03168732, 0.025543071, 0.02541426, -0.030888695, -0.02426785, 0.00039689656, -0.02413904, 0.024358017, 0.030038549, 0.019076796, 0.022284172, 0.013808458, -0.01472301, 0.0069879554, 0.04212095, 0.033928618, -0.005368167, -0.028724683, 0.00053335493, -0.0028386556, -0.023494989, -0.021330977, -0.038900692, 0.033413377, -0.0020094397, 0.017505312, 0.012720011, 0.011573601, 0.01119361, 0.027513867, -0.02540138, 0.009139087, 0.019849658, 0.01145123, 0.008849263, -0.012275616, -0.011580041, -0.011122764, -0.033001184, -0.000067122215, 0.00037214084, 0.015354181, -0.005571043, 0.006102385, -0.045057822, 0.037689876, -0.041605707, -0.02439666, 0.001157682, 0.028132157, -0.004965635, 0.032382894, -0.028595874, 0.004076844, -0.037380733, 0.027823012, 0.0072520166, 0.017093118, 0.016011113, 0.011979353, -0.0073679457, -0.028209442, -0.018020554, 0.044053104, 0.00023850022, 0.030888695, -0.003809563 ]
2401.09350
154
Indeed, such research is essential. Tree indices are—as the reader will un- doubtedly learn after reading this monograph—among the few retrieval al- gorithms that rest on a sound theoretical foundation. Crucially, their imple- mentations too reflect those theoretical principles: There is little to no gap between theoretical tree indices and their concrete forms. Improving their the- oretical guarantees and modernizing their implementation, therefore, makes a great deal of sense, especially so because works like [Ram and Sinha, 2019] show how competitive tree indices can be in practice.
2401.09350#154
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 154, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Indeed, such research is essential. Tree indices are—as the reader will un- doubtedly learn after reading this monograph—among the few retrieval al- gorithms that rest on a sound theoretical foundation. Crucially, their imple- mentations too reflect those theoretical principles: There is little to no gap between theoretical tree indices and their concrete forms. Improving their the- oretical guarantees and modernizing their implementation, therefore, makes a great deal of sense, especially so because works like [Ram and Sinha, 2019] show how competitive tree indices can be in practice.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.0058678244, 0.009300423, 0.030405713, -0.017707301, 0.04029764, 0.0016911291, 0.027284598, 0.026756022, -0.017455598, 0.018361729, 0.058898486, -0.015605582, -0.036597606, -0.06212028, 0.032494847, -0.028417261, 0.024364844, -0.06438561, 0.017015118, 0.048503153, 0.031135652, 0.017870909, 0.014913399, -0.008507559, 0.037453394, -0.037705097, 0.016813755, 0.032243144, 0.05733793, -0.065996505, 0.02748596, -0.005641292, -0.012358613, 0.025522677, 0.028719304, 0.0360942, -0.037302375, -0.019003572, 0.025522677, -0.0024556767, 0.041455474, 0.050340585, -0.06091211, 0.011207073, -0.008551607, -0.02100461, -0.009646514, -0.035817325, -0.051448077, 0.029147198, -0.035087388, -0.0026365882, -0.036698285, -0.01892806, -0.022993062, 0.021231143, -0.06509038, 0.023420958, 0.03435745, 0.030002989, -0.029071689, -0.014284141, -0.012188714, 0.01939371, -0.0351629, 0.015077005, 0.021155631, 0.048503153, -0.0074378215, -0.01232715, 0.00397376, -0.02242673, 0.018852549, -0.011546872, 0.009803829, 0.026604999, -0.006173014, 0.032973085, 0.0009572577, -0.013944342, 0.0703258, -0.003967467, 0.046187486, -0.01983419, -0.00096119056, 0.0036433998, -0.03619488, 0.01288719, -0.051951483, -0.002249595, -0.00814259, -0.010206554, 0.01503925, 0.03873708, 0.015341293, -0.020828417, -0.01592021, 0.004883037, -0.027712492, -0.0027703054, -0.03944185, -0.034835685, 0.028694134, -0.03883776, 0.07264146, -0.008306197, 0.015555241, -0.050114054, -0.03189076, -0.009287838, -0.08839807, -0.066751614, 0.0013253732, 0.018777039, 0.029424071, -0.045231014, -0.058646783, 0.023181839, -0.02445294, 0.012622902, 0.016776, 0.0065505686, -0.026126765, 0.03166423, 0.036446583, -0.045986123, 0.044777952, -0.045105163, -0.007242752, -0.019746095, 0.03103497, 0.022489656, 0.046841916, 0.030556735, -0.039467018, -0.034181256, -0.032796893, 0.04296569, -0.018386899, -0.036622778, -0.007343433, -0.022615507, -0.021155631, 0.02445294, 0.0033728192, 0.025497507, -0.02364749, 0.034583982, 0.029071689, 0.017493354, 0.028064877, -0.038107824, -0.008325074, -0.017870909, -0.017455598, -0.0019601365, 0.022942722, 0.004772917, 0.026881872, -0.035414603, -0.0054210518, 0.023244765, -0.022691019, 0.014523259, 0.0007771328, 0.03533909, -0.055424985, -0.04122894, -0.035062216, 0.022514828, -0.0016455079, -0.053763743, -0.015152516, 0.0060786256, 0.0127928015, 0.0023880315, -0.01944405, 0.0566835, -0.0018720406, 0.00841317, -0.008268441, 0.050290246, 0.024490695, 0.054619536, 0.037252035, -0.011974767, 0.0036150834, -0.0024902858, -0.052505232, 0.00789718, -0.021734547, 0.09615052, 0.03106014, 0.07123193, 0.0004743027, 0.0017587742, -0.0043324367, 0.05411613, -0.036622778, 0.027058065, 0.046892256, 0.013805905, -0.013113722, 0.018198121, -0.013805905, 0.011282584, -0.0004687967, 0.01685151, -0.030053329, -0.05235421, -0.027007723, -0.009841585, 0.008513851, 0.0471943, -0.010615571, 0.029373731, -0.04550789, 0.02751113, -0.018412068, 0.004700552, 0.0053392486, -0.009363349, 0.022011422, 0.015165102, 0.03259553, 0.058848143, 0.030531565, -0.070174776, 0.01014992, -0.06101279, 0.05245489, 0.008520144, -0.0016392153, -0.019871946, -0.02540941, 0.0023219595, -0.02652949, -0.03455881, -0.023043403, -0.052203186, -0.010647034, 0.028165558, -0.034533642, -0.037528906, -0.031689398, 0.025610773, -0.024780152, -0.019720925, 0.01418346, 0.026277786, -0.026378468, 0.011647553, -0.0062390864, -0.025208049, -0.028190728, -0.058244057, -0.033023424, 0.034609154, 0.004105904, -0.018374315, -0.007846839, -0.02416348, -0.006264257, -0.018009344, -0.027737662, -0.024817908, -0.00013765004, 0.03184042, 0.026579829, -0.06453663, -0.01545456, 0.00990451, 0.05154876, -0.027209086, 0.00026114177, -0.004445703, -0.022917552, 0.041858196, -0.016612394, 0.010829519, 0.011074929, 0.041732345, 0.06493936, 0.01851275, 0.022477072, 0.006254818, -0.0123019805, -0.015756603, 0.03511256, -0.008601948, 0.03856089, -0.0490569, 0.033073764, -0.016511712, -0.015404219, -0.01031982, 0.015202857, -0.03523841, 0.0037252032, -0.005181934, 0.031362183, 0.00009891138, 0.047999747, 0.021168217, -0.031488035, -0.022061761, -0.02017399, 0.012962701, -0.009029843, 0.025875062, 0.00083219283, 0.010326113, 0.0042034388, 0.012408954, -0.047798388, -0.053914767, 0.07098023, -0.04409835, -0.019255273, 0.020702565, -0.018084856, -0.06373118, 0.045004483, 0.022275709, 0.011276291, -0.006201331, -0.04996303, -0.025484921, 0.01628518, -0.029298222, 0.014070193, -0.015957966, 0.01636069, 0.03783095, -0.026781192, 0.004118489, 0.007978983, 0.013591958, -0.011899256, 0.006909245, -0.04470244, -0.012604024, 0.002724684, 0.014561014, -0.0010768166, 0.0034986706, -0.014712036, 0.04205956, -0.007160948, -0.007167241, 0.008627118, -0.012150959, 0.045960955, -0.017493354, -0.03780578, 0.02413831, -0.025396826, -0.04029764, -0.041606493, -0.014787547, 0.00007492095, -0.01685151, 0.01576919, 0.0326207, 0.019595074, 0.018147781, -0.07832995, 0.042588137, 0.037000332, 0.022451902, -0.003262699, 0.05270659, -0.005940189, -0.05225353, -0.012257933, 0.022502242, -0.0071420707, -0.01506442, 0.026277786, 0.05154876, 0.0046879672, -0.007890887, -0.027284598, 0.004087026, 0.03611937, 0.005798606, 0.04638885, -0.042613305, -0.042537794, 0.032243144, -0.012144666, 0.017959004, 0.0046974057, 0.02650432, -0.01381849, -0.016247423, 0.0030109964, 0.027762832, 0.061415516, 0.00311797, -0.016989948, 0.009155694, -0.029323392, -0.0144980885, -0.013642299, 0.033979896, 0.026806362, 0.013780735, 0.0027530007, -0.011024588, -0.026026083, 0.0052952003, 0.03780578, -0.040826216, 0.032041784, -0.03604386, -0.046665724, 0.034055404, -0.019582488, 0.014007268, 0.013315085, 0.0011074928, -0.022577753, -0.06428493, 0.001724165, 0.046741232, 0.007802791, -0.044501077, 0.0036056445, -0.08588104, 0.029600265, 0.03954253, 0.02579955, 0.016272595, -0.0027325498, -0.019028742, 0.034181256, 0.042638477, 0.0017697862, -0.04205956, 0.017933834, 0.011257414, -0.028442431, -0.02286721, 0.0039611747, 0.014246386, -0.017807983, 0.0098604625, -0.014233801, -0.030732928, 0.017531108, -0.018663771, -0.004782356, -0.043720797, -0.035892837, -0.03282206, 0.01846241, -0.000557286, -0.004127928, 0.008098542, 0.0067896866, -0.0113203395, -0.022363804, 0.017078044, 0.05587805, 0.018688943, 0.043242563, 0.023483884, 0.04452625, -0.021344408, 0.030305032, -0.06936932, -0.020992024, -0.07873268, 0.006264257, 0.051850803, 0.026252616, -0.0051536174, 0.008721506, 0.0007448834, -0.031185992, -0.054518852, 0.035615966, 0.01054006, 0.029549923, 0.03808265, 0.012113203, -0.019305615, 0.030279862, -0.007016219, -0.03611937, -0.04457659, 0.061163813, -0.012811679, 0.045835104, 0.0016549467, -0.02325735, -0.0018861988, -0.022967892, 0.0101121655, 0.03269621, 0.058646783, -0.028543113, 0.0205893, 0.016662734, -0.004140513, -0.025094781, 0.0310098, 0.03267104, 0.047546685, -0.0052731764, 0.012578853, 0.056935202, 0.02053896, 0.050441265, 0.000031167903, -0.009803829, 0.028115217, -0.006072333, 0.004247487, 0.018814795, -0.011446191, -0.02357198, -0.052605912, 0.016171914, -0.05006371, -0.016272595, -0.004348168, -0.026328126, 0.02144509, 0.005842654, -0.04140513, 0.0050875456, 0.0075259176, -0.017946418, -0.023345446, 0.0055343183, 0.012484465, -0.016637564, -0.011521702, 0.010068117, 0.019607658, -0.023798512, -0.004420533, -0.016197084, 0.008564192, -0.03627039, -0.011962182, -0.033224788, 0.014699451, 0.034709834, -0.015907625, 0.0051127155, 0.015253197, -0.0115657495, -0.004917646, 0.03440779, -0.0014567306, -0.03694999, 0.033375807, -0.03528875, 0.006402693, -0.012220177, 0.02538424, 0.0048358426, 0.030707758, -0.015932795, -0.023219595, -0.0026696243, 0.005336102, 0.012899775, -0.021696793, 0.011628675, -0.041379962, -0.006619787, 0.016549468, -0.023194425, -0.032041784, 0.015643338, 0.016146744, -0.024767568, -0.01073513, -0.029424071, 0.0060566016, -0.049283434, 0.022502242, 0.044123523, 0.03098463, 0.015278367, -0.008130005, 0.024541035, -0.018424654, 0.007884595, -0.047068447, 0.008482388, -0.018789623, -0.006928123, 0.010772886, -0.016121572, 0.020576714, -0.0067015905, 0.03627039, 0.020790663, -0.015806943, -0.021218557, 0.032847233, -0.028140387, 0.0068148565, 0.015844699, 0.0015275221, 0.006245379, -0.00843834, 0.016939607, -0.019544732, -0.03710101, 0.016687904, 0.03533909, 0.009325594, -0.008130005, -0.0060345777, -0.021407334, -0.022162443, -0.034860857, -0.034030236, -0.009917095, 0.014095364, 0.02582472, -0.031915933, -0.009199742, 0.02652949, -0.0025012977, -0.0025421996, 0.041455474, 0.039517358, -0.021243727, -0.009262668, -0.0034955244, -0.0180471, -0.0039800527, -0.018525336, 0.038409866, 0.0246543, -0.004612456, -0.0101121655, -0.003951736, -0.018336559, 0.00071696006, 0.038258847, -0.011943304, -0.0035049634, -0.005874117, 0.0078090834, 0.060811426, 0.032192804, 0.0029779603, 0.006094357, -0.01462394, -0.01244671, -0.010005191, -0.005314078, -0.006232794, 0.004238048, 0.011710479, -0.0015070713, -0.043544605, 0.038409866, 0.015190272, 0.040851384, 0.045281358, 0.012975286, -0.029625434, 0.01978385, 0.025208049, 0.0037126183, 0.01325216, -0.0108546885, 0.00087309454, -0.007865717, -0.033854045, 0.0113392165, 0.006619787, 0.03171457, -0.04646436, -0.024692057, 0.0036968868, 0.016637564, 0.0110812215, 0.011962182, -0.014435163, -0.026932213, 0.008394293, -0.0042002928, 0.026957383, -0.03357717, 0.015379049, -0.03944185, -0.027334938, -0.004643919, 0.0004597511, 0.012421539, -0.00029221136, 0.027334938, -0.03697516, -0.019494392, -0.009029843, -0.0016628124, 0.008614533, 0.004338729, 0.039844573, -0.054468513, 0.022653263, 0.019909702, 0.013088552, 0.048452813, 0.006726761, -0.0029732408, 0.017921248, 0.014007268, -0.0072175814, -0.02237639, -0.01968317, 0.01379332, -0.020060724, -0.011716771, 0.009457737, 0.017354917, -0.04374597, -0.0030047037, -0.017254235, 0.021810059, -0.021810059, 0.021709377, 0.0027183916, 0.011282584, 0.024742398, 0.006213916, -0.02763698, 0.018550506, -0.0073182625, 0.0071169003, -0.03538943, -0.014963739, -0.042361602, -0.011855208, -0.013554202, -0.003920273, -0.01685151, 0.027838344, -0.0074504064, 0.016989948, -0.01765696, 0.009980021, 0.021143045, -0.0068022716, 0.04029764, -0.012773924, -0.0076014283, -0.009690562, -0.03601869, 0.034206428, -0.015618167, -0.00073347805, -0.028492771, 0.00075314235, 0.01675083, -0.005959067, 0.0044394103, -0.015190272, 0.025258388, -0.005852093, 0.03352683, 0.022489656, 0.042311262, -0.034005065, 0.025371656, 0.011779697, 0.01581953, -0.015316123, -0.018210707, -0.018701527, -0.024301918, -0.046942595, -0.02584989, -0.0042537795, 0.023093743, -0.011068637, -0.041908536, 0.024238992, 0.008954331, -0.050919503, -0.017040288, -0.011131562, -0.021860398, 0.025736624, -0.022577753, 0.0068337345, -0.05084399, -0.06373118, -0.020362766, 0.032973085, 0.04729498, 0.05758963, 0.0017587742, 0.021508016, -0.014271556, 0.038409866, -0.014435163, -0.026479147, 0.0036276684, -0.003555304, -0.0039926376, 0.018525336, 0.02834175, 0.009451445, -0.023156669, -0.026026083, 0.016889267, -0.037000332, 0.024314502, -0.0060786256, -0.005741973, 0.0070854374, -0.029147198, -0.008664873, -0.020891342, -0.025623359, 0.008318782, -0.021558356, -0.030279862, -0.021784889, 0.074000664, 0.00044165997, -0.00921862, -0.0016455079, -0.008935454, 0.008476096, -0.02281687, -0.028090047, -0.023609735, 0.016108988, 0.011679016, 0.044224203, -0.030430883, 0.007412651, -0.0044425568, -0.013013042, -0.0067141755, 0.0036371073, -0.0108546885, -0.019947456, 0.009696855, -0.0063964007, -0.003797568, 0.04112826, 0.005276323, 0.015668508, -0.029927477, -0.021835228, 0.009168279, 0.0025091635, 0.005288908, -0.0108421035, -0.015265782, 0.00046132426, 0.039341167, 0.0145106735, -0.013302499, -0.025686285, -0.008488681, -0.004423679, 0.03186559, 0.05235421, 0.014774961, -0.024339672, -0.0034766467, -0.028618623, -0.018210707, 0.013503862, -0.015706263, 0.052052166, 0.0086522885, -0.028643792, -0.010338698, -0.02019916, -0.0142589705, 0.0007185332, 0.0066386648, 0.045910615, 0.022112101, 0.017002532, 0.037981972, -0.00010707207, -0.031613886, 0.0023534223, -0.009715733, 0.017266821, 0.022892382, 0.009998899, 0.024717227, -0.026856702, -0.025510091, -0.013088552, -0.021042366, 0.03015401, 0.00094781886, 0.013579373, 0.022628093, -0.010974248, 0.011389557, 0.0058332155, -0.09458996, 0.02670568, -0.0046250415, 0.0058048987, 0.03435745, -0.014963739, -0.026378468, 0.006909245, 0.014384822, -0.038208503, -0.0075888433, -0.036698285, 0.009514371, 0.0073497253, -0.035590794, 0.012874605, -0.013994683, 0.02673085, 0.027183916, -0.0029732408, 0.003885664, 0.00022790914, -0.021231143, 0.02494376, 0.026151935, -0.004216024, 0.021558356, 0.023886608, 0.004105904, -0.0050214734, -0.00408388, 0.0123145655, -0.026781192, -0.009495493, -0.022200199, 0.028870326, -0.014321896, -0.0030330203, 0.04218541, 0.031613886, 0.06801013, -0.04641402, 0.023509054, 0.0041877073, 0.04895622, 0.04643919, 0.029474413, 0.0084194625, -0.007821669, 0.003964321, -0.01009958, -0.009300423, -0.024792738, -0.020727737, 0.010080703, -0.031739738, 0.008155175, 0.01887772, 0.015077005, -0.008746677, 0.040096276, -0.02442777, 0.010684789, -0.009923388, 0.021067536, 0.014435163, -0.009331886, -0.02242673, -0.012150959, 0.020488618, 0.04492897, 0.028819986, -0.016838925, -0.026101593, 0.010225431, 0.014472919, 0.034886025, -0.002150487, -0.022904966, 0.021633867, 0.006292573, -0.023886608, -0.022590337, 0.01944405, 0.017090628, 0.0006945428, 0.0024289333, -0.09227429, 0.04208473, -0.0077084024, 0.0011460349, 0.00007251208, 0.0053109317, -0.007330848, 0.009885632, 0.00072443247, 0.03012884, 0.011999937, 0.0471943, -0.019821605, -0.009237497, -0.013340255, 0.006232794, -0.007903472, 0.0056570233, -0.003020435, -0.005949628, -0.057992354, -0.029524753, -0.038107824, 0.015416805, -0.015605582, 0.015744017, 0.056935202, 0.027712492, -0.026126765, -0.024780152, -0.013239574, 0.030531565, 0.013164063, -0.019129423, -0.03171457, 0.034961537, -0.027662152, 0.023899194, 0.011955889, -0.016461372, 0.034659494, 0.00042199568, 0.013315085, -0.0067015905, -0.02276653, -0.02012365, 0.028845156, 0.04065002, 0.020916514, -0.009791244, -0.0039360044, 0.017594034, 0.035892837, -0.017417843, 0.0032784306, -0.02328252, -0.004851574, 0.02538424, -0.0010878285, 0.012962701, 0.024327088, 0.010275772, 0.030305032, -0.06186858, -0.017782811, 0.03785612, -0.013566787, 0.009344472, 0.0189784, -0.010747715, 0.0047477465, 0.026076423, -0.02102978, -0.0014936996, -0.016423617, -0.04404801, 0.023848852, -0.017065458, -0.020866172, -0.023395788, -0.02922271, -0.020463448, 0.004017808, 0.032016613, -0.016348105, -0.01553007, -0.0017587742, -0.012975286, -0.012880897, 0.023886608, 0.026227444, 0.009319301, 0.0149763245, -0.012100618, 0.006213916, -0.015618167, -0.0033067472, 0.012704705, 0.03199144, -0.0007460632, -0.006588324, 0.028971007, 0.020815833, -0.014133119, -0.0049711326, -0.002820646, -0.021143045, -0.047571853, -0.042562965, -0.0019805874, 0.022753945, 0.019569902, 0.018739283, 0.037176523, -0.009061306, -0.015290953, 0.0049239383, -0.034735005, 0.008929161, -0.029147198, -0.0032595529, 0.014863058, 0.012899775, -0.010181383, -0.01941888, 0.04616232, 0.027309768, -0.0016675319, -0.03015401, 0.02450328, -0.03252002, 0.018915474, -0.019972628, -0.019129423, -0.004876744, 0.0031871884, 0.029499583, 0.0022700457, -0.0067015905, -0.00061234605, 0.0013906587, 0.024276748, 0.019972628, -0.01599572, -0.024767568, 0.008708921, 0.024289332, 0.0054399297, -0.008148883, -0.019167177, 0.055072602, -0.0074189436, -0.025057027, 0.0006634732, 0.0108421035, -0.0013041358, -0.04996303, -0.0031321284, -0.0027640127, 0.018802209, -0.042210583, 0.021646451, 0.0020576715, -0.020702565, -0.017468182, -0.014296726, -0.023974704, 0.03357717, -0.0068903677, -0.027284598, 0.003926566, 0.008507559, -0.005729388, 0.023874022, 0.0036496925, -0.024679473, 0.013692639, -0.012490758, -0.017291991, 0.010061825, 0.012962701, -0.0029826798, -0.029147198, -0.00460931, -0.002150487, -0.0127928015, -0.00833766, -0.008023031, 0.0020057578, -0.007771328, 0.037403055, 0.037403055, 0.008633411, 0.0155049, 0.00058324286, -0.0014260544, 0.021105291, -0.0074189436, -0.0016455079, 0.001070524, -0.031311844, -0.018764453, 0.011345509, -0.0060566016, -0.00538015, -0.023433542, 0.0149763245, 0.036824137, -0.002724684, -0.004338729, 0.0044425568, -0.019016156, -0.011244828, 0.009224912, 0.00968427, -0.03531392, -0.017178725, 0.0050875456, 0.009325594, -0.024352258, 0.000998946, 0.011012003, 0.0038699326, -0.006245379, 0.00833766, 0.045432378, 0.007632891, 0.002052952, -0.0018814794, -0.022263125, 0.03878742, 0.00096669653, -0.013831076, 0.0063712304, -0.044375226, 0.017128384, 0.014900813, -0.014397408, 0.0014842607, 0.03591801, -0.0024210676, 0.01581953, 0.027687322, 0.013113722, -0.014963739, -0.0105966935, -0.029726116, -0.016549468, 0.018688943, 0.014774961, -0.021772303, -0.019456636, 0.013214404, 0.005015181, -0.030707758, -0.0062705493, -0.015177687, -0.0030754951, 0.026932213, 0.0021709378, 0.035792157, 0.018009344, -0.0072930926, 0.045155507, 0.0073686033, 0.06307676, -0.049560305, -0.026403638, -0.012729876, -0.0064089857, 0.023433542, -0.0016376422, -0.03707584, -0.013063382, 0.026328126, -0.009432567, 0.006544276, -0.008325074, -0.0035962055, -0.013994683, -0.007444114, -0.004127928, 0.023144085, 0.044400398, 0.012207592, 0.020664811, -0.0031101042, 0.013919172, 0.003633961, -0.009407397, 0.00527003, 0.023269936, -0.03526358, -0.0043198513, 0.013075967, 0.0101184575, -0.023420958, 0.009237497, 0.012641779, 0.00689666, 0.002965375, 0.015706263, 0.010665911, 0.014460334, 0.031915933, 0.01848758, 0.017858323, -0.025233218, 0.008230686, 0.017304577, -0.016977362, 0.01968317, 0.0033161861, -0.0048924754, 0.023395788, -0.013805905, -0.019595074, 0.027913855, -0.0058048987, -0.035137728, 0.019595074, 0.014573599, 0.034130916, -0.008375415, -0.03095946, -0.04827662, -0.007192411, -0.016473956, 0.0147372065, 0.032066952, -0.008866236, 0.014435163, 0.024327088, -0.01222647, -0.030481225, -0.023118913, -0.019204933, -0.0027278305, 0.03090912, -0.00645618, 0.02763698, 0.010231724, 0.02758664, 0.009111646, -0.019406296, 0.033224788, 0.012207592, 0.012937531, -0.04052417, 0.008236978, 0.025119953, 0.017480768, -0.004741454, 0.0054934165, 0.030380543, -0.009080183, 0.03098463, 0.039970424, -0.014523259, 0.02758664, 0.0046502114, -0.04127928, 0.0033885506, 0.010332406, -0.0044488492, 0.046262998, -0.019985212, -0.020903928, 0.019607658, -0.0240628, 0.007551088, -0.008130005, -0.013566787, -0.021432504, -0.016738245, -0.01939371, 0.019066498, -0.001426841, 0.018852549, -0.014359652, 0.023660075, -0.015139931, -0.011741942, 0.015580411, 0.011622382, -0.02829141, 0.016297765, -0.0125410985, -0.01970834, -0.012289396, -0.01553007, -0.020073308, 0.035188068, 0.0028741327, 0.02829141, 0.041430302, 0.026982553, -0.022602923, 0.0017682131, -0.02102978, -0.009306716, -0.0079160575, 0.015379049, -0.011509117, 0.047521513, -0.008098542, 0.015077005, 0.019242689, 0.011244828, -0.014384822, 0.00009950131, 0.03878742, -0.011937011, 0.020413108, 0.008067079, 0.0039894916, -0.006720468, 0.039894912, -0.06801013, 0.012050278, 0.0054619536, 0.0127990935, -0.0017619205, -0.048754856, 0.03254519, 0.010011484, 0.000073200325, 0.008520144, 0.009357057, -0.009432567, -0.010571523, -0.0018012491, -0.018059686, -0.036773797, 0.02240156, 0.025900232, -0.019330785, 0.014850473, -0.012383784, 0.008979502, 0.043594945, 0.0022102664, 0.015706263, -0.0053518335, -0.0107603, -0.022716189, -0.025950572, -0.0018264194, -0.0014897668, 0.018827379, -0.006213916, 0.025031855, 0.024201237, -0.02535907, 0.0007916844, 0.0020246354, -0.025258388, 0.033199616, 0.005411613, -0.027108405, 0.022640679, -0.0113203395, 0.025472336, -0.0014402127, 0.0031903347, 0.019305615, -0.03949219, 0.043569777, 0.0037031793, 0.02188557, 0.033954725, 0.0067015905, 0.018412068, -0.00058953546, 0.026277786, -0.004260072, 0.013843661, -0.0018972108, -0.037277203, 0.028870326, 0.023219595, 0.008721506, -0.015077005, 0.04475278, -0.0025343338, -0.025711454, -0.011018296, 0.011131562, 0.013881416, 0.014233801, -0.010389038, 0.0017760788, -0.004461434, -0.0047477465, -0.027032895, 0.047773216, 0.004030393, 0.005830069, 0.004741454, 0.016008306, 0.014422578, 0.010798056, 0.0013969513, -0.0010508597, 0.019997798, -0.023118913, 0.026856702, -0.019557318, -0.0035332798, 0.010703667, -0.0038793713, 0.021369578, 0.00085500337, 0.016587224, 0.021394748, 0.0004900341, -0.017770227, 0.02829141, -0.007991568, 0.014472919, -0.004039832, 0.046011295, 0.0014008841, 0.03015401, -0.029021347, -0.019469222, -0.025950572, 0.003986345, 0.0012978432, -0.02748596, 0.033124104, 0.009262668, 0.018210707, -0.03158872, 0.00960876, 0.04148064, 0.02325735, 0.011710479, 0.02017399 ]
2401.09350
155
An example area that has received little attention concerns the data struc- ture that materializes a tree index. In most works, trees appear in their na¨ıve form and are processed trivially. That is, a tree is simply a collection of if-else blocks, and is evaluated from root to leaf, one node at a time. The vectors in the leaf of a tree, too, are simply searched exhaustively. Importantly, the knowledge that one tree is often insufficient and that a forest of trees is often necessary to reach an acceptable retrieval accuracy, is not taken advantage of. This insight was key in improving forest traversal in the learning-to-rank literature [Lucchese et al., 2015, Ye et al., 2018], in particular when a batch of queries is to be processed simultaneously. It remains to be seen if a more efficient tree traversal algorithm can unlock the power of tree indices. 53 54 4 Branch-and-Bound Algorithms Perhaps more importantly, the algorithms we studied in this chapter give us an arsenal of theoretical tools that may be of independent interest. The concepts such as partitioning, spillage, and ϵ-nets that are so critical in the development of many of the algorithms we saw earlier, are useful not only in the context of trees, but also in other classes of retrieval algorithms. We will say more on that in future chapters. # References
2401.09350#155
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 155, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "An example area that has received little attention concerns the data struc- ture that materializes a tree index. In most works, trees appear in their na¨ıve form and are processed trivially. That is, a tree is simply a collection of if-else blocks, and is evaluated from root to leaf, one node at a time. The vectors in the leaf of a tree, too, are simply searched exhaustively. Importantly, the knowledge that one tree is often insufficient and that a forest of trees is often necessary to reach an acceptable retrieval accuracy, is not taken advantage of. This insight was key in improving forest traversal in the learning-to-rank literature [Lucchese et al., 2015, Ye et al., 2018], in particular when a batch of queries is to be processed simultaneously. It remains to be seen if a more efficient tree traversal algorithm can unlock the power of tree indices.\n53\n54\n4 Branch-and-Bound Algorithms\nPerhaps more importantly, the algorithms we studied in this chapter give us an arsenal of theoretical tools that may be of independent interest. The concepts such as partitioning, spillage, and ϵ-nets that are so critical in the development of many of the algorithms we saw earlier, are useful not only in the context of trees, but also in other classes of retrieval algorithms. We will say more on that in future chapters.\n# References", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.0038969659, 0.033358026, 0.048945893, -0.008924052, 0.041905373, -0.016458185, 0.011898736, 0.017315518, -0.04200929, 0.051647786, 0.056324147, -0.010145101, -0.0015441728, -0.031383567, 0.023160966, -0.041281857, 0.053466372, -0.036761377, 0.007774447, 0.03631972, 0.0251744, -0.008040739, 0.035878066, -0.008216103, 0.0131652495, -0.02733072, 0.024615834, 0.056272186, 0.04206125, -0.040398546, 0.0364756, -0.01951081, -0.010339949, 0.006059782, 0.03964513, 0.04912775, -0.021719089, -0.00798878, 0.021550221, 0.013379583, 0.03868388, 0.019030184, -0.036007963, 0.018471617, 0.050816435, 0.007930325, 0.0074886694, -0.044763148, 0.0125872, 0.04668565, -0.05128407, 0.016821902, -0.032526676, -0.01600354, -0.03413742, 0.020498041, -0.04915373, 0.0075666085, 0.07736776, 0.02392737, -0.001173961, -0.038372125, 0.008157648, 0.03785253, -0.020809798, 0.034345258, -0.0066832965, 0.009183849, 0.006114989, -0.018419659, -0.013600411, 0.021900948, 0.01601653, -0.0014548673, 0.045256764, 0.014600632, -0.014587642, 0.003003911, -0.0021108566, -0.010099636, 0.07638053, 0.0026548079, 0.058038812, -0.01488641, 0.009105911, -0.03195512, -0.012996381, 0.014691561, -0.064481795, -0.016510146, -0.024005309, 0.00091659883, -0.004744556, 0.04120392, 0.04216517, 0.013340613, -0.008930547, -0.00967097, 0.033513907, -0.0037703144, -0.028395891, -0.05460948, 0.033825662, -0.049283627, 0.09638496, -0.045074906, 0.023719532, -0.028733628, -0.028993426, -0.0070275282, -0.082719594, -0.047646903, -0.02977282, 0.02743464, 0.017549336, -0.03668344, -0.06427395, 0.010703666, 0.010378919, 0.018718425, 0.00095313287, 0.0037638196, -0.009359213, 0.02274529, 0.00861879, -0.031435523, 0.042554867, -0.03881378, 0.016094469, -0.01250926, 0.06058483, 0.034657016, 0.03985297, -0.028006194, -0.042918585, -0.013587421, -0.058714285, 0.034942795, 0.0037443347, -0.014275885, -0.018198831, -0.039255437, 0.013314634, 0.015224147, -0.024940582, 0.0140550565, 0.0021303413, 0.05367421, 0.050868396, 0.021745069, -0.001928998, -0.043879837, -0.04897187, -0.006417004, -0.046815548, -0.003780057, 0.0121455435, 0.013366593, 0.017588306, -0.038008407, 0.0075016594, -0.0009320243, 0.0029454567, 0.029928697, -0.024576865, -0.0028253002, -0.07575702, -0.0009247175, -0.05793489, -0.010658202, 0.020381132, -0.08677244, 0.016627055, 0.007767952, 0.018939255, -0.023225917, -0.057259418, 0.01480847, 0.034553096, -0.031357586, -0.008508376, 0.02165414, 0.0056181257, 0.03307225, 0.032630593, -0.010911505, 0.008397961, -0.0025719975, -0.045568522, 0.040710304, -0.022953128, 0.052842855, 0.02408325, 0.056739822, -0.003877481, -0.011619453, 0.010378919, 0.017757174, -0.015938591, -0.015535904, 0.04663369, -0.0015441728, -0.00542003, -0.0096060205, 0.012294928, 0.016640045, -0.0039586676, 0.0238884, -0.011327181, -0.062143616, -0.025512137, 0.0033140448, 0.017393457, -0.012821018, -0.040528446, 0.009417667, -0.040424526, 0.05027086, -0.018978223, 0.039385334, 0.019458849, 0.008047234, 0.004338622, 0.030084576, 0.011106352, 0.035644248, 0.023576643, -0.09737219, 0.016432205, -0.06406612, 0.058454487, 0.0408402, 0.017016752, -0.0062513826, -0.03328009, -0.008820132, -0.022940138, -0.015535904, -0.026317509, -0.04684153, -0.008937041, 0.016523136, -0.0015734, -0.011931211, -0.025927812, 0.064377874, -0.004215218, -0.018549558, 0.022771271, 0.035956006, -0.011171302, -0.022966119, -0.05731138, -0.05156985, -0.033825662, -0.02977282, -0.01586065, 0.044347472, 0.02501852, -0.017315518, -0.028421871, 0.0030136537, 0.000897114, -0.019264001, -0.025577085, -0.00028983684, 0.021290423, 0.025719974, -0.00055409985, -0.05245316, -0.0051764697, 0.035514347, 0.056583945, -0.03200708, 0.0032474715, -0.051985525, -0.0160555, 0.015042288, -0.018965233, -0.001130932, 0.039697092, 0.009924273, 0.07643249, -0.0076575377, -0.0033773703, 0.021939918, -0.025745954, 0.0018965234, -0.0031289388, 0.0011276845, -0.014899399, 0.009976232, 0.027694438, -0.00094420236, 0.00798878, 0.0029454567, 0.009216324, 0.001191822, 0.027200822, -0.024044279, 0.029435081, -0.016445195, 0.045022946, 0.031435523, 0.019082142, -0.028759608, -0.016964791, 0.017484387, -0.0092228195, 0.033487927, -0.0031175727, 0.015665803, -0.019887516, 0.017016752, -0.04881599, -0.047283184, 0.08573325, -0.073574714, 0.012418332, -0.005296626, -0.041957334, -0.05001106, 0.026460398, 0.034319278, 0.022524463, -0.008352497, -0.04232105, 0.009755405, 0.013457522, -0.025629045, 0.045152843, -0.012606684, 0.010599747, 0.0077809417, -0.036787357, -0.033981543, 0.019757617, 0.015315075, -0.022121776, 0.011924716, -0.035826106, -0.0071314475, 0.0011146946, 0.028395891, -0.01827677, 0.04338622, 0.0075925887, 0.02738268, -0.018003982, 0.008430436, -0.011164807, -0.01954978, 0.037021175, -0.0172116, -0.006322827, 0.0046049147, -0.044321492, -0.04458129, 0.0048647122, 0.01596457, 0.0053420905, -0.009943758, 0.013756289, 0.020485051, 0.025434198, 0.028110113, -0.041489698, 0.0032166205, 0.019822566, 0.006735256, -0.0068781446, 0.037073135, -0.020108344, -0.0634426, -0.020679899, 0.02169311, -0.0037962943, 0.0155878635, 0.048400316, 0.08885082, -0.011554504, 0.008742194, -0.06474159, -0.015107238, -0.0058422014, 0.011535019, 0.01022304, -0.02052402, -0.04364602, 0.010456858, -0.012762563, 0.00628061, -0.0011885746, 0.025966782, 0.0007152556, -0.016886853, 0.004725071, -0.005296626, 0.077004045, 0.012665139, -0.01370433, 0.020134324, -0.03541043, 0.012762563, -0.00067588, 0.059805434, 0.042710744, 0.0049134246, -0.02166713, -0.033799686, 0.0037151075, -0.034319278, 0.016847882, -0.041931354, -0.004539965, -0.019445859, -0.02497955, -0.015444974, -0.017458407, 0.041281857, 0.015341056, -0.0074561946, -0.018835334, -0.036085904, -0.041567635, 0.03307225, 0.01019706, -0.010866039, 0.0069301045, -0.08235588, 0.026967004, 0.03569621, 0.01588663, 0.020355152, -0.02405727, -0.031253666, 0.064533755, 0.046555754, 0.011859766, -0.038086347, 0.012743078, 0.002648313, -0.048919912, 0.0066280896, -0.011651928, 0.007553619, -0.014236915, -0.008105689, 0.00003176433, -0.0319811, 0.016419217, -0.030110557, -0.0025573839, 0.006728761, -0.029513022, -0.0016261714, 0.0800177, -0.012366371, 0.014042067, -0.008066719, 0.017809134, 0.019173073, -0.046399873, 0.016653035, 0.021394342, 0.026655246, -0.0080797095, -0.021732079, 0.06245537, -0.028110113, 0.050920352, -0.025603065, -0.0038807285, -0.08651264, -0.0009255294, 0.018497597, -0.010177576, -0.024836663, 0.0066832965, -0.024044279, 0.023186946, -0.03312421, 0.024563875, 0.0042509404, 0.03782655, 0.024888622, 0.040346585, 0.02040711, 0.032708533, 0.0043840865, -0.062039696, -0.03205904, 0.09087724, -0.01366536, 0.01197018, 0.004173001, -0.0344232, -0.018094912, -0.0066703064, -0.0039294404, 0.013990107, 0.030422313, -0.003526754, -0.016237358, -0.0040203696, -0.027720418, -0.029201264, 0.022784261, 0.011788322, 0.036865298, -0.005978595, 0.0066215945, 0.028629709, 0.03748881, 0.015302086, 0.01601653, -0.019679677, 0.028188054, -0.024940582, 0.0033903604, -0.0050530657, -0.008475901, -0.032526676, 0.0056635905, 0.0071704173, -0.045880277, -0.032448735, -0.039151516, -0.055388875, -0.0024469697, -0.0020816294, -0.021160524, 0.019744627, 0.011197282, -0.032136977, 0.0030022874, 0.000399439, 0.019900506, -0.050946333, -0.0011455456, 0.0006673554, 0.026629267, -0.015393015, 0.032708533, -0.033929583, -0.03164336, -0.012197503, -0.011236251, 0.004510738, 0.03751479, 0.025732964, -0.015691783, -0.0026889064, -0.006017565, -0.012216988, 0.016250348, 0.022082806, -0.037047155, -0.011898736, 0.014535682, -0.025901834, -0.0030526232, 0.00025655027, 0.008248578, -0.020121334, 0.034786914, -0.005329101, -0.014120006, 0.0032685802, 0.01584766, 0.009164365, -0.020056384, 0.000005476937, 0.01604251, -0.000048432994, -0.013873198, -0.025265329, -0.061987735, -0.0051017776, 0.02746062, -0.02834393, -0.017757174, -0.06494943, -0.0006413756, -0.024018299, 0.003202007, 0.03881378, 0.019199051, 0.012074099, -0.020277211, 0.019653698, -0.023472724, -0.009515092, -0.052583057, -0.028733628, -0.0018429401, -0.0015758355, -0.020653918, -0.003637168, 0.029461062, 0.01583467, 0.025356257, -0.0023771492, -0.016081478, -0.030734072, 0.018731415, -0.020121334, 0.0296689, 0.02834393, -0.009495607, -0.0114311, -0.0070210337, -0.0058844183, -0.021965897, -0.012139048, 0.016730973, 0.00905395, -0.018029962, 0.010885525, -0.022290645, 0.011697393, -0.0170817, -0.016717983, 0.0035722186, 0.0054654945, -0.003140305, 0.026863085, -0.029902717, 0.028863527, 0.0065469025, -0.042814665, -0.0021287175, 0.043671995, 0.033851642, -0.017536346, -0.03624178, 0.0075016594, -0.006348807, -0.0064007663, 0.023381796, 0.031851202, 0.035124652, 0.022199715, -0.0076055783, -0.016497156, -0.00917086, -0.0072093867, 0.034033503, -0.031253666, 0.004338622, -0.022368584, 0.0010911505, 0.04536068, 0.035176612, 0.03208502, 0.01704273, -0.016458185, -0.0434122, 0.007313306, -0.009138385, -0.03325411, -0.0016627054, -0.022446522, -0.008326517, -0.043100443, 0.010177576, -0.016873863, 0.05006302, 0.035930026, 0.011093363, -0.014210936, 0.027616497, 0.046347912, 0.005338843, -0.012866482, -0.025927812, -0.009060445, -0.026681226, -0.030656131, 0.020160303, -0.017276548, 0.029045386, -0.031877182, -0.041022062, 0.03450114, 0.008268063, 0.017848104, -0.013821239, 0.0049004345, 0.007443205, 0.019653698, 0.003526754, 0.026941024, -0.008833122, -0.0054232776, 0.00457244, 0.0009921025, 0.03870986, -0.0319811, -0.06988559, 0.010125617, 0.0061961757, -0.0071249525, -0.021264443, 0.0056116306, -0.023862422, 0.012249462, 0.06593666, 0.043853857, -0.06271517, 0.023251897, 0.0024356036, 0.00041567636, 0.021719089, -0.030110557, 0.025317289, 0.021965897, -0.008475901, -0.025590075, -0.018588526, -0.038112327, -0.0003121632, 0.0044035716, -0.016562104, -0.01319123, 0.016068488, -0.0408402, -0.015548894, 0.01587364, 0.03205904, -0.015730752, 0.03447516, 0.010534798, -0.022017857, 0.016315296, 0.008118679, -0.023316845, 0.008579819, -0.019147092, -0.0075925887, -0.008735699, -0.041411757, -0.0033871129, 0.01373031, -0.031123767, -0.020835778, -0.014665581, 0.019289982, -0.026109671, 0.022420544, -0.0020540257, 0.01090501, -0.0016456562, -0.0020442833, 0.034605056, -0.018575538, -0.027096903, 0.011606463, 0.01723758, 0.0062676203, -0.004085319, 0.0020377883, -0.018367698, 0.017913053, 0.015912611, -0.009937263, 0.002833419, -0.022329614, 0.0005033581, 0.011664918, -0.003109454, 0.020485051, 0.061156385, -0.0274866, 0.043126423, 0.026018742, 0.03541043, -0.019458849, -0.03899564, -0.01137914, -0.017926043, -0.021874968, -0.020835778, -0.021589192, -0.011125837, -0.0029828027, -0.021368362, 0.005397298, -0.022004867, -0.058090772, -0.010307475, -0.022316625, -0.042658787, -0.0101191215, -0.005296626, -0.0018884047, -0.029227244, -0.10007408, -0.011684403, 0.016769944, 0.008930547, 0.012652149, -0.009625506, 0.043957774, 0.019731637, 0.0454646, -0.028915487, -0.016938811, 0.011060888, 0.015535904, -0.020030405, 0.017692225, 0.0061344737, 0.010489333, 0.008625285, -0.04239899, -0.031097788, 0.002458336, 0.025797915, 0.00037954823, -0.008436931, -0.007839397, -0.010859544, -0.0066150995, -0.061364222, -0.001112259, 0.019952465, -0.028421871, 0.003841759, -0.02060196, 0.047672883, 0.01371732, 0.003096464, 0.002476197, -0.0044133137, -0.012769058, -0.015470955, -0.040970102, -0.02268034, -0.0017893568, 0.009307253, 0.03325411, -0.011203777, 0.010612737, -0.022290645, -0.00022630817, -0.011905231, 0.008670749, -0.041541655, -0.015639823, 0.005523949, 0.009995718, -0.008320022, 0.018874304, -0.014613622, 0.0047770306, 0.011859766, -0.007644548, 0.02288818, 0.023420764, -0.0038709862, -0.0063325693, -0.02409624, -0.0033448958, 0.028188054, 0.0054557524, 0.013561442, -0.014704552, 0.0072418614, 0.0036728904, 0.04663369, 0.03998287, 0.0035624763, -0.008008265, 0.012366371, -0.036033943, -0.032188937, 0.025395228, -0.03761871, -0.006114989, 0.015600854, -0.022459513, -0.0067092762, -0.032786474, -0.014107016, -0.02057598, 0.009502102, 0.038917698, 0.05032282, 0.029201264, 0.03078603, -0.0023138234, -0.047698863, 0.011307696, 0.00020164768, 0.030344374, 0.00970994, 0.032552656, 0.036761377, -0.031071808, -0.0021530737, -0.035098672, 0.012236473, 0.0148214605, -0.012353382, -0.0011138828, -0.015912611, -0.010158091, 0.009138385, -0.0034942795, -0.05450556, 0.006696286, 0.01365237, 0.020030405, 0.028941466, -0.010580262, -0.04081422, 0.020796807, -0.021485271, -0.024628824, 0.013230199, -0.00026507486, 0.0062059183, 0.016925821, -0.020666908, 0.008449921, 0.0032361054, 0.006053287, 0.041671555, 0.007514649, 0.014145986, -0.00006449276, 0.01832873, 0.023836441, 0.028811568, 0.0024875633, 0.002297586, 0.012652149, -0.008274557, -0.010541293, 0.013795259, 0.047724843, -0.0022521215, -0.034890834, -0.028421871, 0.000282733, 0.012333897, 0.006572882, 0.021978887, 0.041567635, 0.04551656, -0.051881604, 0.021952908, 0.005066056, -0.00743671, 0.027226802, -0.0022569927, 0.0024307324, -0.00012817365, -0.015055278, -0.031851202, -0.010528303, -0.011034909, 0.004432799, 0.0059428727, -0.006316332, 0.056376107, -0.0068911347, -0.023173956, 0.02733072, 0.048400316, 0.014470733, 0.0087162135, 0.02395335, -0.013158754, 0.0061896807, -0.0010822199, 0.0117688365, -0.020056384, 0.024732742, 0.025564097, 0.00905395, -0.01257421, -0.040710304, -0.0047478033, 0.018900285, 0.038216244, 0.024278097, -0.0012072475, 0.0066638114, 0.01199616, 0.03439722, 0.0006162077, -0.014964349, 0.004890692, 0.0005171598, 0.009807364, -0.023576643, 0.032682553, 0.0040106275, -0.011658423, -0.0062643727, 0.0136783505, 0.013184735, -0.019679677, -0.011807807, 0.04356808, 0.018913275, 0.030448293, -0.027902275, 0.008482396, 0.0072418614, 0.025460176, -0.008495386, 0.022979109, 0.009502102, -0.011450585, -0.038138304, -0.043775916, -0.034033503, 0.015496934, 0.007280831, 0.0014045314, 0.048582174, 0.032786474, -0.002244003, -0.01712067, -0.022056827, 0.014691561, -0.019822566, -0.012665139, -0.0125872, 0.019445859, -0.02047206, 0.019705657, 0.023381796, -0.010710161, 0.01817285, -0.013204219, 0.010554283, -0.023290865, 0.004793268, -0.036787357, 0.040684324, -0.012028635, -0.02496656, -0.030162515, -0.013496492, 0.019069152, 0.04125588, 0.005014096, -0.032214917, -0.026941024, -0.011606463, 0.05234924, 0.019614728, 0.021589192, 0.03315019, -0.009437152, 0.020653918, -0.03663148, 0.0007521956, 0.016990772, 0.012859987, -0.011320686, 0.021173514, -0.012879472, -0.027928255, 0.04226909, -0.014145986, 0.00060930685, -0.024135208, 0.011463574, 0.004773783, -0.019043174, -0.0034325775, -0.033332046, -0.015263116, -0.029227244, -0.009976232, 0.023823451, -0.0072353664, -0.018692447, 0.001204812, -0.02039412, -0.0121520385, -0.0140550565, 0.021030625, -0.0051407474, 0.014678571, -0.017432427, 0.008742194, -0.018744405, -0.0085863145, 0.00625463, 0.021991877, -0.01832873, 0.0024193663, 0.017315518, 0.022173736, -0.01704273, 0.011911726, 0.01828976, -0.0031873933, -0.041437738, -0.03535847, -0.020238243, 0.021186505, 0.027902275, -0.01601653, 0.019121112, -0.005683075, -0.014665581, -0.012691119, -0.0047542984, -0.0046049147, -0.019822566, 0.0077809417, 0.008281052, 0.0055207014, -0.00016998484, -0.012028635, 0.0071574273, 0.032630593, -0.0065306653, -0.01597756, 0.011203777, -0.0047997627, -0.0025346514, -0.007800427, 0.002882131, -0.017016752, 0.0041340315, 0.013834229, -0.0009125395, -0.010768616, 0.009833344, 0.022199715, 0.008495386, 0.03304627, -0.02047206, 0.00047616052, 0.038424082, 0.039229456, 0.032630593, -0.0054167826, -0.013483502, 0.04359406, -0.00029998517, -0.044373453, -0.007404235, 0.006988559, 0.0057545197, -0.055700634, -0.015639823, -0.017159639, 0.02636947, -0.007053508, 0.018939255, 0.005991585, -0.036969215, 0.0250445, -0.013496492, -0.015626833, 0.03909956, -0.0070924778, 0.008008265, 0.010437373, 0.0341634, 0.005397298, 0.0071314475, 0.0031922646, -0.0132951485, 0.02047206, -0.0057675093, -0.0047607934, 0.034968775, 0.00038198385, -0.032500695, -0.027122883, 0.011580483, -0.03899564, 0.012957412, -0.0022845962, 0.029980658, 0.023472724, -0.0009580041, 0.017861094, 0.040424526, -0.010060667, 0.013405562, 0.0102425255, -0.007754962, 0.024797693, -0.006186433, -0.009515092, 0.010443868, -0.03774861, -0.010612737, 0.033981543, -0.015717762, -0.029850759, -0.025966782, 0.00568957, 0.052193362, 0.01203513, -0.012366371, -0.017770164, -0.0023885153, -0.02055, 0.0018104654, 0.016834892, -0.07461391, 0.010599747, 0.0092293145, 0.015211157, -0.019861536, -0.011560999, -0.004380839, -0.011606463, -0.002494058, 0.0047705355, 0.033513907, 0.018094912, 0.011612958, 0.020121334, 0.0051472425, 0.004471768, 0.0015474202, -0.022771271, -0.025473166, 0.009255294, 0.008599305, 0.006007822, -0.0045204805, -0.01830275, 0.01249627, -0.007865376, 0.0319811, 0.049309608, 0.024252117, -0.022667352, -0.02052402, -0.019173073, -0.02516141, -0.0035235067, -0.015068268, -0.018939255, -0.018354708, -0.016107459, 0.008021255, -0.03535847, -0.018354708, -0.043516118, 0.0025265329, 0.038060367, 0.019147092, -0.0031338101, -0.0008938665, 0.03190316, 0.020926706, 0.023433754, 0.06988559, -0.026499368, -0.004981621, -0.030006638, -0.012294928, 0.028110113, -0.006209166, -0.0141849555, -0.030058596, 0.01936792, 0.006001327, -0.020290202, 0.0030574945, -0.0031289388, 0.00685866, -0.010547788, 0.015925601, -0.007352276, 0.024641814, 0.01362639, 0.03772263, -0.0071379426, 0.007897851, -0.026408438, -0.014016087, 0.0017065463, 0.029850759, -0.01948483, -0.01312628, 0.008859103, 0.006624842, 0.007202892, -0.029279204, 0.018861314, -0.0024973056, -0.017432427, 0.011937706, 0.007839397, 0.014990329, 0.020705879, 0.0019793338, 0.021485271, -0.016302306, 0.014691561, -0.009807364, 0.0066638114, 0.0035494864, 0.014470733, -0.010463353, 0.014016087, 0.0073262956, -0.023732523, 0.014717541, 0.00039537967, -0.024810683, 0.019173073, 0.015691783, 0.029227244, 0.00969695, -0.048322376, -0.032760493, 0.007098973, -0.008164143, -0.015743742, 0.032292858, 0.0020556494, 0.0038677386, 0.02160218, -0.0063520544, -0.02977282, 0.0075925887, 0.018406669, -0.018666467, 0.036735397, -0.0011268726, 0.030266434, -0.009619011, 0.019432869, -0.0039132033, 0.0034682995, 0.02287519, -0.016159419, 0.018497597, -0.0039651627, 0.0025119192, 0.032682553, -0.015470955, -0.012424826, 0.00048021987, 0.03881378, 0.010028192, 0.019926485, 0.04442541, 0.018796366, 0.03076005, -0.014912389, -0.011067383, 0.022771271, 0.024420986, -0.013256179, 0.009878809, -0.0140550565, -0.004449036, -0.011034909, -0.028110113, 0.008599305, 0.006163701, -0.0069236094, -0.01596457, -0.018952243, 0.0037280973, 0.017861094, -0.00036676132, 0.020744849, 0.006634584, 0.013282158, -0.019004203, 0.0038547488, 0.008371982, 0.021874968, -0.015782712, 0.0064852005, 0.005874676, 0.00066207827, 0.0048712073, 0.00968396, -0.007111963, 0.010729646, 0.016795922, 0.018588526, 0.0250445, 0.0110089285, -0.035956006, 0.0045919246, 0.0006162077, -0.018640487, 0.01831574, -0.019445859, -0.041619595, 0.026018742, -0.0012364748, 0.0007233743, 0.017562326, 0.0003042475, -0.016211377, -0.002710015, 0.024732742, -0.01586065, 0.0032182443, 0.00800177, 0.020952687, -0.00859281, 0.039775033, -0.051855624, 0.025382238, 0.01371732, 0.003926193, 0.01483445, -0.052089445, -0.018029962, -0.01825079, -0.003932688, 0.023498705, -0.0019306218, -0.005575909, 0.005241419, -0.011483059, -0.010638717, -0.02959096, 0.029539, 0.02287519, -0.057415295, 0.0045691924, -0.00042014162, -0.010002213, 0.04941353, 0.020861758, 0.0047413083, 0.0010262011, -0.022368584, -0.035124652, -0.043048482, -0.0051862122, -0.0035364965, 0.0021417076, -0.0131003, -0.004595172, 0.05032282, -0.01203513, 0.0122819375, 0.02062794, -0.019783597, 0.023121998, 0.0018055942, -0.021861978, 0.0018624249, -0.0063390643, 0.012028635, -0.015354046, -0.01949782, -0.00077452196, -0.019043174, 0.047231227, 0.0039781528, 0.020069374, 0.020316182, -0.013756289, -0.0018851572, 0.011775332, 0.011671413, -0.023186946, -0.0075795986, -0.008521365, -0.0344232, 0.017471397, 0.01484744, 0.009703445, 0.009690455, 0.036189824, 0.008255073, -0.0075731035, 0.006446231, 0.018874304, 0.002008561, -0.014223926, 0.0007964424, -0.0055466816, -0.021887958, 0.0056343633, -0.001001845, 0.03995689, 0.00030648013, 0.017289538, -0.010054172, 0.0122819375, -0.0025914824, 0.0262006, -0.03096789, -0.008963021, 0.003961915, -0.010794596, 0.03748881, -0.0085863145, 0.02162816, 0.0074951644, -0.01022304, 0.02738268, -0.025940802, 0.027070923, -0.033539888, -0.011924716, -0.007930325, 0.017315518, -0.031539444, -0.0042509404, -0.012515755, 0.032370795, 0.0038450062, 0.04450335, -0.026992984, -0.00022854081, -0.042710744, 0.03450114, 0.014145986, 0.007300316, 0.0364756, -0.010703666, 0.0040106275, -0.007319801, 0.008865598, 0.043048482, -0.0057415296, 0.027850317, 0.0110024335 ]
2401.09350
156
# References N. Ailon and B. Chazelle. The fast johnson–lindenstrauss transform and approximate nearest neighbors. SIAM Journal on Computing, 39(1):302– 322, 2009. Y. Bachrach, Y. Finkelstein, R. Gilad-Bachrach, L. Katzir, N. Koenigstein, N. Nice, and U. Paquet. Speeding up the xbox recommender system using a euclidean transformation for inner-product spaces. In Proceedings of the 8th ACM Conference on Recommender Systems, page 257–264, 2014. J. L. Bentley. Multidimensional binary search trees used for associative searching. Communications of the ACM, 18(9):509–517, 9 1975. A. Beygelzimer, S. Kakade, and J. Langford. Cover trees for nearest neighbor. In Proceedings of the 23rd International Conference on Machine Learning, page 97–104, 2006. P. Ciaccia, M. Patella, and P. Zezula. M-tree: An efficient access method for similarity search in metric spaces. In Proceedings of the 23rd International Conference on Very Large Data Bases, page 426–435, 1997.
2401.09350#156
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 156, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "# References\nN. Ailon and B. Chazelle. The fast johnson–lindenstrauss transform and approximate nearest neighbors. SIAM Journal on Computing, 39(1):302– 322, 2009.\nY. Bachrach, Y. Finkelstein, R. Gilad-Bachrach, L. Katzir, N. Koenigstein, N. Nice, and U. Paquet. Speeding up the xbox recommender system using a euclidean transformation for inner-product spaces. In Proceedings of the 8th ACM Conference on Recommender Systems, page 257–264, 2014.\nJ. L. Bentley. Multidimensional binary search trees used for associative searching. Communications of the ACM, 18(9):509–517, 9 1975.\nA. Beygelzimer, S. Kakade, and J. Langford. Cover trees for nearest neighbor. In Proceedings of the 23rd International Conference on Machine Learning, page 97–104, 2006.\nP. Ciaccia, M. Patella, and P. Zezula. M-tree: An efficient access method for similarity search in metric spaces. In Proceedings of the 23rd International Conference on Very Large Data Bases, page 426–435, 1997.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.050561965, 0.01843352, 0.0361048, 0.004509924, 0.03297961, -0.015791086, 0.03905213, 0.038213667, -0.076986305, 0.058895797, 0.01130657, -0.03559664, -0.0038239073, 0.0006800616, 0.013885484, 0.02299426, 0.07358163, -0.026068632, -0.0026297304, 0.0135678835, 0.0050561964, 0.015460782, 0.0032172909, 0.011008025, 0.0107221855, -0.013529772, 0.028050456, 0.0077812066, 0.015727567, -0.074089795, 0.017252047, -0.003442787, -0.0066060857, 0.0020786938, -0.030972378, 0.03968733, -0.008797527, 0.049393196, 0.0048783403, 0.03506307, -0.03160758, 0.055541936, -0.007082486, -0.020415345, 0.021584114, -0.027084952, -0.0009131008, -0.022536915, 0.0012918392, 0.05361093, -0.04883422, 0.02340079, -0.042202726, -0.025522359, -0.013694924, -0.00446546, -0.020402642, -0.013847372, 0.08242362, 0.007825671, -0.027415255, -0.041542117, -0.028202904, 0.052086446, -0.01688363, 0.003684163, -0.017340975, 0.014978029, 0.02030101, -0.013351915, -0.02736444, 0.030362586, 0.020605905, -0.009750328, 0.02049157, 0.004713188, -0.0010401409, 0.06865247, -0.021685747, -0.0063742376, 0.052086446, 0.019869072, 0.036536735, -0.016731182, -0.05549112, -0.028355353, 0.0074445503, 0.009083368, -0.06626412, 0.0053865006, -0.018928977, 0.02134274, -0.0143301245, 0.0065933815, 0.017772911, 0.015587822, 0.0012576971, -0.030464219, 0.029346265, 0.0016404054, -0.029727386, 0.0066759577, 0.02929545, -0.04164375, 0.06733126, -0.022511508, 0.012646843, -0.004805292, -0.0014863693, 0.043955877, -0.09959944, 0.010048873, -0.013453548, 0.01966581, 0.010938154, -0.031963293, -0.036435105, -0.036765408, -0.010455401, 0.02254962, -0.0067839418, -0.012348299, 0.0049958522, -0.02929545, 0.032446045, -0.061030068, 0.022308243, -0.056050096, 0.008727656, -0.00004674679, 0.035672862, 0.014088748, 0.023045076, 0.0055103647, -0.06036946, 0.0028456985, -0.019869072, -0.026424343, -0.0049386844, -0.020847281, -0.034885213, -0.050282475, 0.005910541, 0.005799381, -0.010658666, 0.01976744, -0.0082957195, 0.019094128, 0.009553417, 0.0004486104, -0.0004676664, -0.05599928, 0.0031855307, -0.035164703, -0.057218865, -0.04083069, 0.0025169821, -0.003684163, 0.0009464488, -0.05615173, 0.0005756505, -0.01796347, 0.02401058, 0.030591259, 0.017595055, 0.034250014, -0.035444193, -0.00042359935, -0.058794163, -0.01137009, 0.0026360822, -0.09182459, 0.008410055, -0.014177676, 0.009655048, 0.003426907, -0.022638548, -0.04776708, -0.021787379, -0.015892718, 0.00029596375, 0.005821613, 0.006980854, -0.015752973, -0.0072412863, 0.023134004, -0.0075334786, 0.03430083, 0.0066060857, 0.029905243, 0.0012997792, 0.04278711, -0.012240315, 0.04456567, -0.029651161, -0.024404405, 0.0117321545, -0.02099973, 0.003573003, 0.021101363, 0.03442787, 0.014431757, -0.0110334335, -0.0072349343, -0.043117415, -0.018636784, -0.023832725, -0.0036460513, -0.055796016, 0.007984471, 0.0014212612, 0.0016991615, 0.037298977, -0.008378295, -0.012462635, -0.008537095, -0.012926331, 0.013097836, -0.0024344062, 0.052899502, -0.03597776, 0.041516706, 0.0016237315, 0.034122974, -0.04662372, 0.017938064, 0.023095893, -0.064688824, 0.050536554, -0.04199946, 0.070075326, -0.0010012349, 0.010633257, -0.0064631654, -0.01662955, 0.015625933, -0.03470736, -0.014266605, -0.059403956, -0.021457074, -0.016235726, -0.013326508, 0.016654959, 0.008530743, 0.014114156, 0.03366563, -0.032547675, -0.025280982, 0.016362766, -0.012272075, -0.04675076, 0.0076795747, -0.014698541, -0.04174538, -0.00041288036, -0.04855473, -0.029905243, 0.03620643, 0.030387994, 0.052442156, -0.017429903, -0.008384647, 0.0065997336, -0.005399205, -0.06458719, 0.032039516, 0.015473485, 0.023261044, 0.009763032, 0.008429111, 0.023680277, 0.026094038, 0.03056585, 0.0066696056, -0.03323369, -0.039560292, -0.024467925, 0.021330034, 0.021253811, -0.02150789, 0.023273747, 0.013580588, 0.03920458, -0.03879805, 0.016095983, 0.012684955, 0.007050726, -0.00668231, -0.08323668, -0.034758173, -0.0028044104, -0.060826804, -0.0043352437, -0.04776708, -0.015321038, -0.017785616, 0.011351034, -0.05589765, -0.0035539472, 0.005561181, 0.029625753, -0.012748475, 0.006771238, 0.029346265, -0.024099508, 0.030972378, -0.04253303, 0.013440844, 0.028685657, -0.010658666, 0.009235816, 0.027211992, 0.023870837, 0.010563385, -0.074089795, -0.047589224, 0.0763257, -0.06692473, -0.016210318, 0.0060820454, -0.010677721, -0.07266694, 0.023019668, 0.018077808, 0.028914329, 0.015765678, -0.026271895, 0.012697659, 0.012367355, -0.06890655, 0.030286362, -0.011395498, 0.030083098, 0.00220097, -0.023908949, -0.027135767, 0.010118744, 0.02305778, -0.05381419, 0.032064922, -0.028304536, -0.03132809, -0.034529503, -0.0071714143, 0.026856279, -0.0016451695, -0.0067394776, 0.06331679, 0.014241196, 0.01605787, -0.019513361, -0.06758534, 0.005529421, 0.03043881, 0.009229464, 0.013733036, 0.0041351556, -0.0414913, -0.0039763553, 0.021380851, 0.0014593733, -0.03252227, 0.033309918, -0.021787379, 0.0019532416, 0.029244633, -0.033208285, 0.010480809, -0.00658703, -0.0031664746, -0.04639505, 0.00007587669, -0.021050546, -0.014088748, -0.04286333, 0.015333741, 0.010290249, 0.012951739, 0.057218865, 0.07337837, 0.021723859, -0.011439962, -0.04779249, -0.017048784, 0.0228037, -0.021876307, -0.009477193, -0.038086627, -0.030769115, 0.010442697, -0.026881687, -0.025738327, -0.03338614, 0.021927124, 0.011630522, -0.011281162, 0.063367605, 0.008556152, 0.0348344, 0.04314282, -0.036638368, 0.039839778, 0.016477102, -0.018446224, -0.045302503, 0.038569376, -0.017213935, 0.06275781, 0.0028631664, 0.012665899, 0.012081514, -0.021977939, 0.021609522, -0.0065012774, 0.013834668, 0.022587731, 0.007622407, 0.037603874, -0.0033729149, 0.03966192, 0.015854606, 0.050816044, -0.02916841, -0.046420455, -0.05305195, 0.012627787, 0.034377053, -0.016832815, 0.040754467, -0.0129453875, -0.007038022, 0.058743346, 0.047182698, -0.0055484767, -0.0234389, -0.03224278, 0.05345848, 0.05564357, 0.022282835, -0.047614634, -0.024810934, -0.0026853103, -0.04563281, 0.010753945, 0.001121129, -0.010334713, 0.023070484, -0.0016499334, -0.0039890595, 0.032471452, 0.015435373, -0.025026903, 0.027720151, 0.009077016, -0.00658703, 0.0060375812, 0.025662102, -0.009686808, 0.026983319, 0.019386321, -0.0076097026, 0.011198586, -0.009832905, -0.002331186, 0.0102711925, 0.005389677, 0.008022583, 0.006580678, 0.038467746, -0.049545642, 0.033945117, -0.049571052, 0.012265722, -0.041847013, -0.004897396, 0.039738145, -0.00086228474, -0.027466072, -0.010677721, -0.01419038, 0.025700215, -0.046928618, 0.015664045, 0.039763555, -0.0022374939, 0.05523704, 0.04987595, 0.014787469, -0.029193817, 0.039001312, -0.063113526, -0.015397262, 0.067636155, -0.012596027, -0.021152178, 0.007825671, -0.026907096, -0.015537006, 0.01947525, -0.010880985, -0.021901716, -0.00086307875, -0.027898008, 0.050231658, -0.02055509, -0.008162327, -0.016350063, 0.006094749, -0.022727476, 0.051476654, 0.025331797, 0.027339032, 0.0029457426, 0.023654869, 0.03661296, 0.05096849, -0.04070365, 0.0130851315, -0.0074699586, 0.035139296, -0.00015889939, 0.0064314054, -0.00693639, -0.039763555, 0.02647516, -0.016095983, -0.03620643, -0.07078675, -0.041592933, -0.032954205, 0.0033729149, 0.014266605, 0.02587807, 0.016997967, -0.03313206, 0.013415435, -0.014114156, -0.02182549, -0.00988372, 0.014673132, 0.004716364, 0.014660428, 0.0021676219, 0.044464037, 0.015397262, -0.012500747, 0.008054343, -0.00009339433, -0.0016912215, 0.022778291, 0.0037190993, -0.04060202, -0.009864665, 0.03305584, -0.007692279, 0.009712216, 0.020732947, -0.0037063952, 0.008505335, -0.0051546525, -0.036663774, -0.0014736652, 0.014457164, 0.03559664, -0.006955446, 0.0074826623, 0.028812697, 0.0077494467, 0.00232007, -0.0061677974, -0.011662282, -0.02182549, -0.00063003955, -0.01171945, 0.00005215592, -0.017061487, -0.014978029, -0.041567523, 0.0033379789, 0.00826396, -0.024594964, 0.012373706, -0.012767531, 0.017747503, -0.008314775, 0.015562413, -0.031632986, 0.020771058, 0.0065425658, 0.014482573, 0.04164375, -0.026983319, 0.015346445, -0.046699945, 0.00696815, 0.005878781, 0.010252137, -0.040678244, -0.017125007, 0.009007144, -0.0052721645, 0.0006915746, -0.002162858, -0.023794612, 0.0029282745, 0.016616846, 0.018141327, 0.021622228, 0.018179439, 0.02229554, -0.0074509024, -0.008753063, 0.009871016, -0.027643928, 0.012951739, 0.008124215, 0.007971767, -0.020085042, 0.021330034, -0.0039350674, -0.013478955, -0.019818258, 0.0049545644, 0.06153823, 0.01713771, 0.028812697, 0.020644018, -0.0373752, -0.003411027, -0.018903568, -0.02575103, 0.0091214795, 0.052340526, 0.06047109, 0.015600526, 0.0329288, 0.010525273, 0.010995322, 0.019043313, 0.0098202005, 0.013123243, 0.057168048, 0.026373526, -0.011700395, -0.014939917, -0.0021183938, -0.019691218, 0.013491659, -0.048529323, -0.004633788, -0.0143301245, -0.019195762, 0.03597776, -0.0031632988, 0.017874543, -0.0112049375, -0.0029012784, -0.024747413, 0.0064123496, -0.030870747, 0.0037635632, -0.015791086, -0.0146096125, -0.017086895, -0.02093621, 0.008098807, -0.0059677092, 0.038874272, 0.022447988, 0.035266336, 0.058895797, 0.013644108, 0.008937271, 0.005710453, 0.0063964697, -0.030972378, -0.012684955, -0.035622045, -0.014825581, -0.0019262456, -0.007965415, 0.011281162, -0.022778291, -0.01796347, 0.02672924, -0.0025662102, 0.011776619, 0.006155093, 0.010067929, -0.0039985874, -0.00062289357, -0.0025805023, 0.037070304, -0.013555179, 0.017887248, -0.01241817, -0.01146537, 0.04987595, -0.030108506, -0.081508934, 0.003468195, 0.01438094, -0.018179439, -0.020516979, -0.00658703, -0.024213845, 0.007793911, -0.004541684, 0.060979255, -0.0395857, 0.0024201141, -0.011490778, -0.02176197, 0.018967088, -0.030870747, 0.007812967, 0.02489986, 0.014596908, -0.004935508, -0.020720242, -0.011821082, 0.028228313, -0.024112213, 0.0039541232, 0.0112049375, -0.0130851315, -0.032090332, -0.018382704, -0.014368236, -0.0053102765, 0.028609432, 0.017023375, 0.019551473, 0.016311951, 0.005513541, 0.015829198, -0.03417379, -0.0026074983, -0.024150325, 0.027008727, -0.016743887, -0.032344412, -0.006974502, 0.015892718, -0.0012449931, 0.011281162, -0.015422669, -0.018154033, -0.01070313, 0.028939737, -0.033335324, 0.010429993, 0.0007030876, -0.0082322, -0.011065193, -0.035367966, -0.00039481683, 0.0073429183, 0.012786587, 0.046776168, 0.008244903, 0.023781909, -0.035749085, 0.020288305, 0.0332591, -0.021685747, -0.02556047, -0.014520684, -0.022041459, -0.00008039257, -0.007692279, 0.0048148204, 0.02293074, -0.034351647, 0.049164522, 0.01380926, 0.008651432, -0.004843404, -0.0037762672, -0.0030187906, -0.069262266, -0.0062694293, 0.0075017186, -0.06865247, -0.001198941, -0.022155795, -0.018547855, 0.011065193, 0.023006964, -0.03709571, -0.022155795, 0.042482212, 0.010125097, -0.025890775, -0.03043881, 0.011979883, -0.008200439, -0.08532014, -0.021190291, 0.025509654, -0.018954385, 0.026246486, 0.0042844275, 0.01130657, 0.015956238, 0.045048423, 0.0018801936, -0.017518831, -0.013097836, 0.014088748, 0.017696688, -0.014596908, 0.003477723, 0.03005769, -0.013605996, 0.024506038, -0.012297482, -0.0063011893, 0.033691037, 0.02568751, 0.02182549, -0.019399025, 0.042482212, 0.004697308, -0.009979, -0.013021612, 0.012653195, -0.022447988, 0.000071608934, -0.008308423, 0.04804657, 0.015397262, -0.021101363, 0.0064187017, 0.01837, -0.04906289, -0.015333741, -0.024251956, -0.035367966, -0.023642164, -0.010480809, 0.05340766, -0.0036460513, -0.017290158, -0.0052880445, 0.001175121, 0.01070313, 0.010709481, -0.012087867, -0.012202202, -0.03285257, 0.0006558446, 0.0051546525, 0.031378906, -0.006790294, 0.002173974, -0.008498983, -0.025217462, 0.021876307, -0.011389146, 0.0037159233, -0.025344502, -0.033284508, -0.025293685, 0.021101363, 0.012367355, 0.0030013225, -0.0075080707, 0.017518831, 0.018065104, 0.019462544, 0.02340079, -0.0113446815, -0.0037381554, 0.024518741, -0.0028218785, -0.020847281, 0.009553417, -0.012259371, 0.009826552, 0.031302683, 0.002119982, -0.028304536, -0.011649578, -0.015473485, -0.018458929, 0.016616846, 0.037019487, 0.031048603, 0.019399025, 0.025611287, 0.008289367, 0.0016340534, -0.008003527, -0.00013547637, 0.012507099, 0.000100838086, 0.038772643, 0.011668634, -0.008187735, 0.00722223, -0.013898188, 0.02916841, 0.041592933, -0.001130657, 0.0032506387, 0.029473305, 0.0272374, -0.021253811, -0.02967657, -0.0146096125, -0.017595055, 0.007978119, 0.0065298616, 0.008892808, 0.008664136, 0.0055262446, 0.0059962934, -0.030159323, -0.002315306, -0.001229907, -0.004627436, -0.0073619746, 0.04253303, -0.013580588, -0.025725622, 0.0029711507, 0.035012253, 0.0408561, 0.020593202, -0.028736472, -0.0006177325, 0.05752376, -0.006047109, 0.022498803, -0.049113706, 0.005916893, -0.0037318033, 0.00013636962, -0.031531356, 0.005821613, 0.013898188, 0.021558708, -0.049698092, -0.012811995, 0.013771148, -0.0074890144, -0.0101632085, -0.0134281395, 0.0030060867, 0.03971274, -0.0061677974, 0.021012435, -0.005739037, -0.020707538, 0.027110359, 0.05269624, 0.0373752, 0.014952621, 0.015105069, -0.017849136, 0.018585969, 0.0074191424, -0.031302683, 0.0038048513, 0.0016753415, 0.050028395, 0.02042805, -0.008168679, 0.00048711943, 0.02980361, 0.0038239073, 0.030032283, 0.03493603, -0.022409875, -0.002316894, 0.0028187025, -0.009299336, -0.0060121734, -0.031760026, -0.008384647, -0.0048370524, -0.016400877, -0.0146096125, -0.0029695625, 0.0041256277, 0.028711066, 0.029193817, 0.004827524, 0.029244633, 0.04880881, 0.019805552, -0.010658666, -0.047716264, 0.0072793984, 0.028609432, -0.007825671, 0.014863693, -0.0013434491, 0.009096072, -0.00658703, -0.038594786, 0.0075715906, 0.008848344, -0.009331096, 0.0021295098, 0.015155885, -0.014266605, 0.047360554, -0.023540532, -0.021228403, 0.009979, 0.0026392583, -0.0063583576, 0.027516888, -0.012862811, -0.01121129, -0.0095026, -0.043117415, -0.005764445, 0.062859446, -0.014838285, 0.00661879, 0.020034226, -0.000023423021, -0.03607939, 0.0016308774, -0.016604142, 0.027847191, -0.013097836, -0.01399982, -0.024175733, 0.006701366, -0.010309305, -0.0040335236, 0.0039287154, 0.00083687674, 0.015498893, -0.022702068, 0.023324564, -0.00022251869, -0.0052118204, -0.050689004, 0.04766545, -0.0027027784, -0.010601497, -0.014685837, -0.019144945, -0.005691397, 0.029956058, 0.0016753415, -0.019716626, -0.008689543, -0.025738327, 0.06128415, 0.0532044, 0.019056017, 0.029117594, 0.0101632085, -0.006695014, -0.023489716, 0.0043066596, -0.020453459, -0.0011187469, -0.014406349, -0.0027154824, 0.028838105, -0.03480899, 0.03275094, 0.006891926, 0.004643316, -0.0062789572, 0.009362856, 0.012291131, -0.00052880443, 0.010969914, -0.008746712, -0.007184118, -0.033589404, -0.028660249, 0.013580588, 0.015308334, -0.04121181, 0.040297125, -0.018281072, 0.020339122, -0.029574938, 0.0038651954, -0.011929066, -0.0032442869, -0.010169561, 0.010620553, -0.020834578, -0.01248169, 0.023908949, 0.033741854, -0.045404136, -0.009127832, 0.021685747, 0.021558708, -0.0011362149, 0.04979972, 0.0039064833, -0.019691218, -0.036485918, -0.027593112, -0.014774765, 0.013656812, -0.00991548, 0.0065044537, 0.012748475, -0.02967657, 0.022765588, -0.006062989, 0.015752973, -0.0057962053, 0.0051165405, -0.02176197, 0.010283897, 0.028736472, 0.0153718535, -0.008283015, 0.02331186, 0.039966818, -0.008441815, -0.0060185255, 0.012087867, -0.041847013, 0.020326417, 0.0063805897, -0.011439962, -0.028584024, -0.0031093068, -0.004764004, 0.023807317, -0.0074064382, -0.029574938, 0.020669427, 0.020885395, 0.02916841, -0.017849136, -0.014114156, 0.005097484, 0.016832815, 0.033157468, 0.022079572, -0.01323758, 0.041008547, 0.00018539916, -0.04481975, -0.013961708, 0.016045166, 0.02030101, -0.027669337, 0.022587731, -0.0047513, 0.014825581, 0.016794702, 0.021330034, -0.010404585, -0.023324564, 0.022905331, 0.011058842, -0.01140185, 0.009324744, -0.04507383, 0.021901716, 0.027161175, 0.021202995, 0.025598582, 0.01431742, 0.020059634, -0.018484335, 0.021939827, 0.0072158785, -0.016680367, 0.021685747, -0.008937271, -0.009191352, -0.035418782, 0.029778201, -0.035698272, 0.040881507, -0.026881687, -0.005399205, 0.022778291, 0.0049545644, 0.044235367, -0.02441711, -0.0037445072, 0.021495186, -0.009108776, -0.022752883, 0.027948825, -0.003557123, 0.0031283628, -0.02362946, -0.026297303, 0.0030600787, 0.021787379, -0.017976176, -0.027694743, -0.0026996024, 0.0025630342, 0.02159682, 0.031505946, -0.0059518293, -0.027034136, 0.013021612, -0.020415345, 0.015587822, -0.016477102, -0.04959646, -0.03920458, 0.010023464, 0.0077430946, -0.005681869, -0.025662102, 0.009127832, -0.005351565, -0.010950858, 0.011630522, 0.013466252, 0.012024347, 0.031099418, 0.017264752, -0.015092365, 0.015727567, 0.034580316, -0.045531176, 0.021584114, 0.010728537, -0.031937882, 0.028329944, -0.023045076, -0.0062122615, 0.013059723, -0.032191966, 0.013351915, 0.055033777, 0.012951739, -0.0052531087, -0.014622317, -0.0076033506, -0.015765678, 0.02827913, -0.016172206, -0.018979793, -0.025725622, 0.0087784715, 0.018573264, -0.019335505, 0.03287798, -0.03930621, 0.010474457, 0.038721826, 0.012183147, -0.006008997, 0.032064922, 0.053865008, -0.0016308774, 0.0215333, 0.017785616, -0.03971274, 0.024035988, -0.006085221, 0.029651161, 0.015905421, 0.004503572, 0.00991548, 0.008816584, 0.03765469, -0.011795674, 0.024302773, -0.0020723417, -0.0072539905, 0.04332068, -0.03638429, -0.016261134, -0.010950858, 0.04776708, 0.026500568, 0.03778173, -0.0050403164, 0.009362856, -0.0007090426, -0.026653016, -0.01244993, 0.010042521, -0.036562145, -0.0089182155, 0.010518922, -0.012272075, 0.011998938, -0.0031188347, 0.033945117, -0.023324564, -0.00030370525, 0.036409695, 0.025725622, -0.021965235, 0.005875605, -0.0016928095, 0.011636874, -0.037400607, 0.004821172, 0.0018531976, -0.008365591, 0.008016231, 0.029498713, -0.022790996, 0.027643928, 0.003420555, -0.026881687, -0.03287798, -0.009724921, -0.037680097, -0.02840617, 0.034783583, 0.004741772, 0.0063615334, -0.0111731775, -0.025649399, 0.005592941, -0.01989448, 0.025331797, 0.016197614, -0.0073492704, -0.006758534, 0.021380851, -0.014533388, -0.0009250108, -0.023908949, 0.04299037, 0.0039668274, 0.012278426, -0.038620193, 0.0018420815, 0.005932773, -0.016540622, 0.021863602, 0.011420906, 0.012373706, -0.0040843394, -0.006612438, 0.045327913, -0.0075715906, 0.04431159, -0.0093692085, -0.025408022, 0.00003247959, 0.042202726, -0.006879222, 0.0047385963, 0.053966638, 0.025319094, 0.026068632, 0.015422669, -0.0024201141, -0.009731272, 0.020694833, -0.013262987, 0.011897306, 0.014304716, -0.005859725, -0.00020882218, 0.02080917, 0.014546093, -0.0063107177, -0.030235546, -0.020415345, -0.00015413538, -0.03094697, 0.0048084683, -0.026068632, -0.009292984, 0.0048529324, -0.012951739, 0.008714952, 0.003461843, -0.020859987, 0.012316539, 0.003595235, 0.0030251427, -0.010804761, 0.016388174, 0.034199197, 0.012500747, -0.0037318033, 0.008416408, 0.0180524, -0.0016372295, 0.03186166, 0.051019307, 0.0086069675, 0.0059264214, 0.008511688, -0.03907754, 0.037959587, -0.025649399, -0.019183056, 0.018928977, 0.007825671, 0.008219495, 0.009655048, 0.008130567, 0.025293685, -0.0051578283, -0.0044368757, 0.0025042782, -0.00947084, 0.0059581813, 0.013898188, -0.004570268, 0.03945866, -0.029397082, 0.009197704, 0.007057078, 0.014533388, -0.008244903, 0.013186763, -0.013415435, -0.015066957, -0.018014288, 0.012507099, 0.0031505947, -0.028863514, 0.014927213, 0.009890073, 0.016451694, -0.017772911, 0.030591259, 0.017086895, -0.043625575, 0.020326417, 0.014050636, 0.017747503, 0.0009670928, 0.016934447, 0.010601497, -0.010144153, -0.054627247, -0.037451424, -0.03275094, -0.009381912, -0.009038904, 0.017772911, 0.00931204, 0.004789412, 0.025026903, -0.0029187466, 0.018662192, 0.044336997, -0.013694924, 0.057625394, 0.0029775025, 0.0018738416, 0.02483634, 0.020148562, -0.01121129, 0.012519803, -0.009286632, 0.01953877, 0.002285134, 0.024493333, -0.011649578, 0.026856279, -0.008524392, -0.015282925, 0.037934177, 0.0050498443, -0.014393644, -0.015486189, -0.004201852, 0.025522359, 0.020072337, 0.020212082, 0.04883422, -0.0020374057, -0.0051768846, 0.0016626375, -0.011827434, 0.0042304355, 0.024874454, 0.025827255, 0.017899951, -0.027110359, -0.014025228, 0.011459018, -0.018166736, -0.0043130117, 0.016489806, 0.026043223, 0.0025249221, 0.006974502, 0.023553237, -0.008759416, 0.014939917, 0.016019758, -0.018636784, -0.031709213, 0.023680277, 0.021380851, 0.01798888, -0.019919889, -0.04753841, 0.028202904, -0.021037843, -0.009604232, 0.016870927, 0.00018043666, 0.0008837228, 0.021266514, -0.038213667, 0.025839958, -0.046928618, -0.040754467, 0.002135862, 0.058489267, 0.020034226, 0.031099418, -0.040652834, -0.024099508, -0.0077176867, 0.02049157, 0.002285134, -0.014558797, 0.019780146, -0.016616846, -0.040271714, -0.0075398306, 0.027770968, 0.03658755, -0.012869163, 0.020694833, -0.023718389 ]
2401.09350
157
K. L. Clarkson. Nearest neighbor queries in metric spaces. In Proceedings of the Twenty-Ninth Annual ACM Symposium on Theory of Computing, pages 609–617, 1997. R. R. Curtin. Improving dual-tree algorithms. PhD thesis, Georgia Institute of Technology, Atlanta, GA, USA, 2016. S. Dasgupta and K. Sinha. Randomized partition trees for nearest neighbor search. Algorithmica, 72(1):237–263, 5 2015. Y. Elkin and V. Kurlin. Counterexamples expose gaps in the proof of time complexity for cover trees introduced in 2006. In 2022 Topological Data Analysis and Visualization, pages 9–17, Los Alamitos, CA, 10 2022. Y. Elkin and V. Kurlin. A new near-linear time algorithm for k-nearest neighbor search using a compressed cover tree. In Proceedings of the 40th International Conference on Machine Learning, 2023. J. H. Friedman, J. L. Bentley, and R. A. Finkel. An algorithm for finding best matches in logarithmic expected time. ACM Transactions on Mathematical Software, 3(3):209–226, 9 1977.
2401.09350#157
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 157, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "K. L. Clarkson. Nearest neighbor queries in metric spaces. In Proceedings of the Twenty-Ninth Annual ACM Symposium on Theory of Computing, pages 609–617, 1997.\nR. R. Curtin. Improving dual-tree algorithms. PhD thesis, Georgia Institute of Technology, Atlanta, GA, USA, 2016.\nS. Dasgupta and K. Sinha. Randomized partition trees for nearest neighbor search. Algorithmica, 72(1):237–263, 5 2015.\nY. Elkin and V. Kurlin. Counterexamples expose gaps in the proof of time complexity for cover trees introduced in 2006. In 2022 Topological Data Analysis and Visualization, pages 9–17, Los Alamitos, CA, 10 2022.\nY. Elkin and V. Kurlin. A new near-linear time algorithm for k-nearest neighbor search using a compressed cover tree. In Proceedings of the 40th International Conference on Machine Learning, 2023.\nJ. H. Friedman, J. L. Bentley, and R. A. Finkel. An algorithm for finding best matches in logarithmic expected time. ACM Transactions on Mathematical Software, 3(3):209–226, 9 1977.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.08869317, 0.016528286, 0.048586506, 0.004384741, 0.033968646, -0.0026992504, 0.030936612, -0.0007233436, -0.08790435, 0.05916165, 0.02352908, -0.016663864, 0.017082926, 0.03776485, 0.028594797, -0.019819153, 0.07020516, -0.020213563, 0.02059565, 0.030862661, -0.01919056, 0.0058668638, 0.015727138, -0.002834829, 0.02977803, -0.0072041634, 0.045307964, -0.0024111453, 0.033845395, -0.08080495, 0.021606328, 0.0012325344, -0.01328672, -0.000419832, -0.0095274905, 0.06798659, 0.004769908, 0.031380326, -0.028298989, 0.025131376, -0.028816653, 0.033229128, -0.04370567, 0.015468306, 0.0044895066, -0.008288793, -0.0053153043, -0.030640805, 0.0060024424, 0.017169204, -0.07059957, 0.019165909, -0.03921924, -0.052851073, -0.03522583, 0.031700782, -0.027510166, 0.0005966237, 0.07577621, -0.014999943, 0.009034477, -0.05452732, -0.013866012, 0.048512552, 0.0018349355, 0.005678902, 0.003706847, 0.026622742, 0.012134301, 0.021298194, -0.07607202, 0.052210156, 0.0076170624, -0.016996648, 0.031404976, 0.019165909, 0.0010553575, 0.039515052, 0.0064831306, 0.0011431756, 0.056548677, 0.025858572, 0.06566943, 0.032366354, -0.055266842, -0.022641657, -0.03118312, 0.00005204569, -0.06133091, -0.011912445, -0.01776082, 0.023787914, 0.00841821, 0.012707429, 0.032119844, 0.020225888, 0.04195547, 0.00042175784, 0.018216858, -0.03522583, -0.03517653, -0.009059127, 0.017773146, -0.06729638, 0.045727026, 0.0117214015, -0.008368908, -0.0077834544, 0.011585823, 0.021347495, -0.07025446, 0.016848745, -0.06271135, 0.022444451, -0.014642508, -0.031355675, -0.055464048, -0.023381177, 0.0018364761, 0.0052074576, -0.035644893, -0.034634214, 0.008066937, 0.032366354, 0.04202942, -0.055217538, 0.030838009, -0.07577621, 0.008886573, 0.012103488, 0.026105078, 0.0016562181, -0.0052413526, 0.053245485, -0.045357265, -0.010088294, -0.0046836305, -0.027140407, 0.007752641, -0.048192095, -0.05166784, 0.000613571, -0.0062119733, 0.01665154, -0.04449449, 0.04710746, 0.0025621308, 0.013952289, -0.0071795126, 0.025957173, 0.009613768, -0.031676132, 0.016614564, 0.011524197, -0.033598885, -0.034461662, 0.045431215, -0.010766188, 0.022925138, -0.04153641, 0.0031614506, -0.0011316206, 0.030591503, 0.057189595, 0.03734579, 0.0017748495, -0.01667619, 0.022666307, -0.056400772, -0.025365558, 0.01649131, -0.07996683, -0.0017856342, 0.006778939, 0.015751788, 0.030369647, -0.035940703, -0.025057424, -0.015838066, -0.027534818, -0.026080428, 0.012621152, 0.026154378, 0.006476968, -0.003025872, 0.037197888, 0.045406565, 0.013742758, 0.012904635, 0.020188913, -0.014223446, 0.030911962, 0.008720181, 0.026474837, -0.023775589, -0.020694252, 0.016626889, 0.0040303874, -0.011949421, 0.013151142, -0.0025898628, -0.0036883592, -0.0049239746, -0.016725492, -0.023257924, -0.027534818, 0.001609998, 0.0015514527, -0.013742758, -0.0020228971, -0.0012995534, -0.00057466916, 0.013126491, 0.035694197, -0.024120698, 0.011598148, -0.04594888, -0.009114591, -0.01649131, 0.05881654, -0.016873395, 0.06246484, -0.009576792, 0.02135982, -0.001999787, 0.0140385665, 0.011314666, -0.047945585, 0.06138021, -0.040279225, 0.060147677, 0.0061411024, -0.019461717, -0.010137595, -0.015677838, -0.005386175, -0.029925935, -0.01261499, -0.06202113, -0.017995002, -0.01638038, -0.014568556, -0.012060349, 0.0044463677, 0.009582954, 0.04116665, -0.025587413, -0.04708281, -0.009404237, 0.017008973, -0.0304929, 0.0058853514, -0.033105873, -0.04316335, 0.0008928171, -0.031355675, 0.017440362, -0.0009952715, 0.063648075, 0.054231513, -0.049671136, -0.027707372, 0.03189799, -0.021125639, -0.06271135, -0.0073335795, 0.011308502, 0.00502874, -0.018759172, -0.027337613, 0.010735374, -0.0067358003, 0.029704079, -0.021655628, -0.03771555, -0.018414063, -0.0037869618, 0.010168408, -0.00043254253, -0.034363057, 0.024897194, 0.021064011, 0.028644098, -0.014999943, 0.027066454, 0.02940827, 0.01049503, 0.013336021, -0.03300727, -0.019954732, 0.012855333, -0.04629399, -0.0054878592, -0.038602978, -0.026277633, -0.03157753, 0.019769851, -0.03157753, -0.0034911535, -0.010236198, -0.01810593, 0.004430961, 0.024884868, 0.03628581, -0.023738611, 0.016971998, 0.0073643927, 0.038972735, 0.013681131, -0.00897285, -0.031848688, 0.024367204, 0.0020290597, -0.0075554354, -0.01363183, -0.04735397, 0.053639896, -0.03406725, 0.0006501619, -0.0053522806, -0.02408372, -0.102744065, 0.041856866, 0.021852834, 0.009675395, 0.05063251, -0.033204477, 0.038257867, 0.052555267, -0.048611157, 0.017243156, -0.027485516, 0.0502381, -0.010137595, 0.0013658021, -0.001990543, 0.031799387, 0.038183916, -0.028644098, 0.036926728, -0.031651482, -0.0132250935, -0.01638038, 0.009311797, 0.03332773, 0.046910256, -0.0033833068, 0.06497921, 0.005934653, 0.015566909, -0.048537202, -0.047773033, 0.030936612, 0.03369749, 0.012658128, 0.026376236, -0.005953141, -0.027189707, -0.002096849, 0.026967851, 0.013434624, -0.0062427865, -0.0068652164, -0.040846188, 0.0031445033, 0.014913666, -0.044617742, -0.034437012, 0.0023526, 0.01776082, -0.03268681, -0.020657277, 0.0077095022, -0.050016243, -0.059703965, 0.028200386, -0.008196354, 0.001540668, 0.0502381, 0.069317736, 0.0025575089, -0.024453482, -0.022370499, -0.022641657, 0.03722254, 0.017354084, -0.01990543, -0.00015069658, -0.033179823, -0.0014397542, -0.014827388, -0.0048222905, -0.012818357, 0.00018815407, -0.0016993567, -0.032810066, 0.038331818, 0.0102300355, 0.026819948, 0.033155173, -0.04952323, 0.027608769, 0.0034695843, -0.012522549, -0.018857775, 0.04052573, -0.0042245113, 0.056154266, -0.020016357, 0.03862763, 0.028915256, -0.022123992, 0.0030797953, -0.040353175, 0.015172498, -0.005429314, 0.0012671994, 0.05413291, -0.024835568, 0.01683642, 0.022444451, 0.035965353, -0.008128564, -0.017304782, -0.07242372, 0.009484352, 0.055759855, -0.004193698, 0.0010091375, -0.045702375, 0.02096541, 0.029137112, 0.057929114, 0.004264569, -0.0017394142, 0.0018719116, 0.034017947, 0.04163501, -0.020201238, -0.029704079, -0.016503636, 0.000112083595, -0.05354129, 0.007777292, -0.0024712314, -0.01450693, 0.021791207, -0.047427922, 0.010926417, 0.034930024, 0.030591503, -0.047822334, 0.01326207, 0.023467455, -0.034215152, -0.011573497, 0.046022832, -0.019067306, 0.04375497, -0.0052783284, -0.0061041266, 0.0049301377, -0.057731908, -0.017317107, -0.020213563, 0.024884868, 0.007740316, 0.0076602013, 0.024613712, -0.0041598035, 0.016935023, -0.040796887, -0.0075431103, -0.05240736, 0.017723843, 0.05985187, -0.01490134, -0.009453539, -0.013816711, -0.032021243, 0.022333523, -0.01559156, 0.035990003, 0.021064011, 0.01040259, 0.017107576, 0.034461662, 0.051865045, 0.027732024, 0.025883222, -0.032933317, -0.01344695, 0.071240485, -0.012177439, -0.00062628154, 0.030320344, -0.03727184, 0.0038855646, -0.017255481, -0.006064069, -0.044962853, 0.0037191724, -0.004914731, 0.014432977, -0.01813058, 0.024256276, -0.020977736, -0.0102300355, -0.011080484, 0.05413291, -0.010458054, 0.045973532, 0.026770646, 0.0075061345, 0.017612915, 0.019289162, -0.016639214, 0.003925622, -0.017970352, -0.0057035526, 0.0188208, -0.009817136, -0.051815744, -0.013878337, 0.012399295, 0.0074260198, -0.055365443, -0.046367943, -0.035817448, -0.015566909, -0.0139276385, -0.027830627, 0.029556174, 0.022678632, -0.006390691, 0.0050811227, 0.004070445, -0.006245868, -0.005666577, -0.026006475, -0.0033802255, 0.036778826, -0.0067111496, 0.02657344, -0.007524622, -0.02025054, 0.010137595, -0.002733145, 0.0026237576, 0.0049547884, 0.01580109, -0.019658923, -0.0304929, 0.010384102, 0.006969982, 0.0017471175, 0.028545495, 0.014285074, 0.019437067, 0.030394297, -0.020053335, -0.0032970295, -0.0054200697, 0.020225888, 0.01762524, -0.01580109, 0.010082131, 0.025907872, 0.02546416, -0.003247728, 0.030344997, -0.017218506, -0.021754231, -0.04316335, 0.010630609, -0.0069576567, 0.00881262, -0.03271146, 0.005395419, -0.022247246, -0.03160218, 0.026400886, -0.032440305, 0.023196297, -0.005219783, -0.02477394, -0.0072041634, 0.002871805, -0.008350421, -0.014211121, 0.025562763, -0.031454276, 0.020188913, -0.029112462, -0.0138043845, 0.01688572, -0.018463364, -0.05344269, -0.035028625, 0.019449392, -0.0013265151, 0.03904669, 0.034461662, -0.01291696, 0.013126491, 0.016589912, 0.017341759, 0.01762524, 0.010821652, 0.031503577, -0.010914092, -0.016602239, 0.015948994, -0.02726366, 0.017785471, 0.0017255481, 0.015209474, -0.0250944, 0.04446984, -0.0051150178, 0.0071795126, -0.0011139029, -0.021187266, 0.032144494, 0.025710667, 0.018007327, 0.019141259, -0.017465012, -0.014087868, -0.024502784, -0.009989691, 0.01651596, 0.041462455, 0.07365625, 0.0044186357, 0.0015291129, 0.01638038, 0.02834829, 0.019683573, 0.025612064, 0.023282574, 0.05990117, 0.007752641, -0.019794501, -0.0125472, -0.0030736325, -0.026351584, -0.009619931, -0.033894695, 0.00440631, -0.00583605, -0.04557912, -0.0013049458, 0.017970352, 0.0010037451, 0.011807679, 0.004905487, -0.022407474, 0.007623225, -0.02903851, -0.0016562181, -0.026992502, -0.0025189922, -0.020176588, -0.016947348, -0.008436698, 0.018697547, 0.051815744, 0.026129728, 0.05201295, 0.017748496, 0.02456441, 0.009151568, 0.006889867, 0.016688515, -0.026154378, 0.0053214673, -0.028570147, -0.014235772, -0.007641713, -0.038923435, 0.010390265, -0.02977803, -0.0037006845, 0.015209474, -0.0070747472, 0.026474837, -0.01363183, -0.00067288673, -0.01688572, -0.0048931614, -0.0038301006, 0.041881517, -0.014630183, -0.02209934, 0.0014921369, 0.0018595862, 0.030049188, -0.026869249, -0.03416585, 0.015751788, 0.021322845, -0.037099283, -0.0110311825, 0.0020752798, 0.018956378, 0.010476542, 0.0013534768, 0.04592423, -0.01813058, 0.0074075316, -0.011998722, -0.0038855646, 0.0031429627, -0.045406565, 0.0068775415, 0.023073044, 0.0016084573, -0.00959528, -0.03189799, -0.018204533, 0.034609564, -0.016035272, 0.01935079, 0.0025744562, 0.033894695, -0.046022832, -0.018068954, -0.025587413, -0.04814279, 0.02834829, 0.013496251, 0.027312962, 0.00034838353, -0.009422725, 0.015936669, -0.038109962, 0.01792105, -0.019831479, 0.023948142, -0.016935023, -0.006236624, -0.015073895, 0.02152005, -0.012966261, -0.003651383, -0.03877553, -0.041733615, -0.018068954, 0.028890606, 0.0014436059, 0.009059127, -0.013730433, -0.013175792, -0.02617903, -0.025180677, -0.00074375747, 0.0013357591, 0.0060979635, 0.048660457, 0.012140463, -0.0023341118, -0.02977803, 0.02223492, 0.011807679, 0.0013812088, -0.057584006, -0.038183916, -0.024096048, -0.016935023, 0.012695104, -0.004378578, 0.01847569, -0.009626093, 0.032933317, 0.014765762, 0.0048407787, 0.010852465, -0.022530729, 0.003971842, -0.03189799, -0.028175736, 0.000033581746, -0.04052573, -0.012214416, -0.0147287855, 0.00664336, 0.00048569558, -0.015505282, -0.030985914, -0.024342554, -0.00006509322, -0.006384528, 0.00698847, -0.021322845, 0.023381177, -0.009459701, -0.07449438, -0.031651482, 0.008738669, 0.0322924, 0.014790412, -0.004239918, 0.015431331, -0.017884074, -0.0021276625, 0.008159378, -0.0358421, -0.020287516, 0.014174145, 0.022123992, -0.0019242943, 0.020472396, 0.010532006, 0.021951437, 0.017082926, -0.051224127, -0.00033066585, 0.031084517, 0.031478927, 0.017871749, -0.0043261955, 0.040722936, -0.025082074, -0.039416447, -0.026129728, 0.006834403, -0.00076108996, -0.025907872, -0.001164745, 0.034658868, -0.020546347, -0.018907078, 0.008405885, 0.0061226143, -0.03152823, -0.046491195, -0.04419868, -0.042892195, -0.01471646, -0.020262865, 0.04126525, -0.034979325, -0.0013550174, -0.033278428, -0.027805975, 0.010895603, 0.0048931614, -0.025106724, -0.016059922, -0.014543906, 0.022543054, 0.042842895, 0.012904635, 0.0035527803, 0.00422143, 0.015973646, -0.025156027, 0.04055038, 0.031503577, 0.014889015, -0.060837895, -0.017452687, -0.02327025, 0.020077985, 0.049005568, 0.035299785, 0.009730859, 0.015184823, -0.00093133375, 0.0074321823, 0.00664336, 0.008134726, -0.0116659375, 0.018981028, -0.021027036, -0.01559156, 0.0053923377, 0.007025446, 0.0025744562, 0.026080428, 0.0024280928, -0.0073335795, 0.027633421, -0.012011047, -0.004138234, 0.021729581, 0.04518471, 0.015998296, 0.00422143, 0.041758265, 0.033845395, 0.013188118, 0.009792485, -0.020657277, 0.021347495, 0.0039841672, 0.031971943, 0.021051686, 0.0023911167, -0.0054231514, -0.000113913135, 0.0139276385, 0.04942463, 0.026302284, 0.01683642, 0.0024434994, 0.03221845, 0.003266216, -0.026351584, -0.035053276, 0.006174997, 0.01130234, -0.012417784, -0.0043693343, 0.016022947, -0.0001667773, 0.018155232, -0.0086585535, -0.017933374, -0.0035990004, -0.03335238, -0.033919346, 0.025612064, 0.013594854, -0.031848688, 0.005657333, 0.038405772, 0.034363057, 0.014802738, -0.004135153, -0.0012918501, 0.022567704, 0.0095274905, 0.021372145, -0.016799442, 0.020681927, -0.010729211, 0.0100513175, -0.0134592755, 0.024663012, -0.0024388775, 0.013126491, -0.01739106, -0.008116239, 0.018512666, -0.008017636, 0.0066125467, -0.02225957, 0.011887794, 0.0304929, -0.0153080765, 0.006476968, 0.010550494, -0.00009581029, 0.028471544, 0.063401565, 0.0032692973, 0.033253778, 0.012399295, -0.020213563, 0.04193082, 0.005740529, -0.0341412, 0.0022293464, -0.0098726, 0.044395886, 0.003132178, 0.0018287728, -0.01580109, 0.030838009, 0.047920935, 0.013336021, 0.0074260198, -0.0055618114, 0.021421447, 0.007586249, -0.0179457, -0.03362354, 0.0021954519, -0.0017810122, -0.0017856342, 0.00061665237, -0.039958764, -0.008449023, 0.004862348, 0.02546416, 0.04377962, 0.02025054, 0.026425537, 0.03554629, 0.018672895, 0.004239918, -0.04656515, 0.011074321, 0.034264456, -0.0028009342, 0.026992502, 0.04446984, 0.022925138, 0.007869732, -0.004135153, 0.027756674, 0.021113314, -0.0058884327, -0.02802783, 0.032464955, -0.009509003, 0.047945585, -0.029925935, -0.036039304, 0.02654879, -0.006208892, -0.007931358, 0.038183916, -0.019301489, 0.006304413, -0.014815063, -0.024046745, -0.0058576195, 0.039638307, -0.017773146, -0.010599796, 0.028175736, -0.0116721, -0.019819153, -0.0030304939, 0.0010838599, 0.01326207, -0.012596501, -0.0040303874, -0.016109224, 0.02225957, -0.004689793, -0.0058945958, 0.00655092, 0.021088663, 0.036063954, -0.053294785, 0.048980914, 0.024897194, -0.021027036, -0.016429683, 0.022912813, 0.0064523173, -0.021717256, -0.019868454, -0.0051674005, -0.0028779677, 0.0287427, 0.04370567, -0.030838009, 0.0075924117, 0.0005064946, 0.048660457, 0.0304436, 0.012966261, -0.00394411, 0.0017024381, -0.009262496, -0.0112653645, 0.015517607, -0.0170213, 0.00004826624, -0.01683642, 0.0153080765, -0.0019319976, -0.023146994, 0.041117348, -0.00041675067, -0.0011662856, -0.005771342, -0.0154190045, 0.01326207, 0.0013087974, 0.039317846, -0.030764058, -0.0060609877, -0.011376292, -0.021384472, 0.015345053, 0.03618721, -0.035053276, 0.051273428, -0.005001008, -0.004615841, -0.013989265, 0.008861922, -0.0009860275, 0.0012464004, 0.0147287855, -0.00664336, -0.022703283, 0.0072164885, -0.008455186, -0.004927056, -0.04010667, 0.024576735, -0.0054169884, 0.02522998, 0.0071610245, 0.035324436, 0.025143702, -0.025957173, -0.010075969, -0.055217538, -0.006439992, 0.0117337275, -0.0022524565, 0.00007814075, 0.021039361, -0.03125707, 0.020262865, 0.012818357, 0.0069391686, 0.019658923, 0.00966307, -0.036014654, 0.016614564, 0.03416585, -0.019708224, -0.0027916904, 0.039564352, 0.024108373, -0.0027115757, 0.015369703, 0.011561172, -0.048685107, 0.020472396, -0.009656907, -0.027362263, -0.03337703, 0.010458054, 0.024638362, 0.014211121, 0.0015722517, -0.002565212, 0.006476968, 0.011795354, 0.008393559, -0.014186471, -0.01559156, -0.00043215737, 0.0047082813, 0.04523401, 0.00021318992, 0.0004725999, 0.057731908, 0.0012101947, -0.045406565, -0.016552936, 0.011006532, 0.03628581, -0.038183916, 0.021902137, 0.029679427, 0.009903413, 0.013656481, 0.009028315, 0.0011085105, -0.0061996477, 0.0043416023, 0.018019652, -0.03776485, -0.013188118, -0.047378622, 0.002636083, 0.024330229, 0.0014759599, 0.010815489, 0.009971203, 0.025045099, -0.013040214, 0.032144494, 0.031429626, -0.019449392, -0.0019782176, -0.0049794386, -0.011037345, -0.042941496, 0.019202886, -0.023368852, 0.000027322783, -0.02458906, 0.01762524, -0.012485573, 0.0044278796, 0.025057424, -0.019449392, -0.030936612, 0.000823487, -0.004190617, -0.012516387, 0.013249745, -0.002871805, -0.00020972342, -0.0023911167, -0.03330308, -0.017452687, 0.04089549, -0.03522583, -0.011216063, 0.005429314, 0.029630126, 0.015135522, 0.035053276, -0.0073459046, -0.012313019, -0.004357009, -0.046170738, -0.006027093, -0.009231682, -0.029457571, -0.05807702, 0.0047360132, 0.013249745, 0.0027084942, -0.025587413, 0.0024835567, -0.0009359558, -0.017058276, 0.003953354, 0.026326934, -0.019276837, 0.037518345, 0.0018210695, -0.028249688, 0.0041690473, 0.0161462, -0.024354879, 0.015024594, 0.015209474, 0.0024912602, 0.0015576154, -0.012978586, -0.006587896, 0.012356157, -0.014802738, 0.0026684368, 0.014260422, -0.003910215, -0.02276491, -0.01863592, 0.005586462, 0.0020706577, -0.023689311, -0.016158525, -0.024810916, -0.023701636, 0.0074198567, 0.019289162, -0.003697603, 0.021236567, -0.03668022, 0.005749773, 0.020928433, -0.02004101, 0.026795298, 0.011203737, 0.035990003, 0.0072164885, 0.0043816594, 0.058668636, -0.017699193, 0.012744405, -0.022333523, 0.006606384, 0.035965353, 0.007117886, -0.022123992, 0.00422143, 0.042842895, -0.0009960418, 0.024096048, -0.013089515, -0.0014258882, 0.046318643, -0.03298262, -0.0017640648, -0.0007233436, 0.020287516, 0.048561852, 0.0375923, -0.014248097, -0.005475534, -0.015024594, -0.027140407, 0.016059922, 0.030862661, -0.026647393, 0.03695138, -0.0023032986, -0.002830207, 0.010784675, -0.011585823, 0.0609858, -0.04055038, -0.021655628, 0.038134612, 0.005980873, 0.000042344294, -0.015012269, 0.013151142, 0.018229183, -0.045283314, 0.008584602, 0.0082025165, 0.0012186683, -0.0005030281, 0.02128587, -0.011856981, 0.028767353, -0.00026422457, -0.026450187, -0.014556231, -0.014297399, -0.0012972425, -0.0077033397, 0.03012314, 0.015603885, -0.0011709076, -0.029186415, -0.018093605, -0.0009898791, -0.022912813, -0.0031337186, 0.02980268, -0.018031977, -0.013767409, 0.0049486253, -0.021557026, 0.0063167387, -0.0132250935, 0.028520845, -0.012781382, 0.03014779, -0.0034819096, 0.02011496, 0.0023402746, -0.012158952, 0.034930024, -0.009946552, -0.04059968, 0.01328672, 0.007826593, 0.031848688, 0.005155075, 0.049350675, -0.029679427, -0.015603885, -0.018586619, 0.04444519, -0.021273542, 0.018697547, 0.041413154, 0.018229183, -0.002347978, 0.0054046633, -0.0117337275, -0.0040149805, 0.020238215, 0.009798648, -0.0064276666, 0.012978586, 0.013693457, -0.018771498, 0.0010792379, -0.0033740627, -0.004378578, -0.014802738, -0.0031799388, 0.00013191969, -0.05635147, 0.018882426, -0.021261217, -0.011111298, 0.0052321083, -0.02075588, -0.012682779, 0.033845395, -0.009810974, 0.023233272, -0.016084574, 0.003910215, 0.020792855, -0.009915739, 0.004393985, 0.0041598035, 0.011314666, -0.007321254, 0.021384472, 0.0015553043, 0.014383676, 0.035423037, 0.02654879, 0.0034110388, -0.01326207, -0.051470634, 0.021248892, -0.055069637, -0.025020447, 0.016565261, -0.00013634912, 0.009860275, 0.02551346, 0.008116239, 0.0138043845, -0.00070177426, -0.0042892196, -0.008843434, 0.032933317, -0.009194707, 0.005386175, -0.004366253, 0.02387419, -0.03756765, 0.01956032, 0.017810121, 0.012442434, -0.017908724, 0.037542995, -0.0035250483, -0.037099283, 0.0030012212, 0.029605476, 0.029235715, -0.023837214, 0.033845395, 0.01471646, 0.0052259457, -0.0322924, 0.011770703, 0.0052814097, -0.017267806, 0.026450187, -0.018537316, 0.013311371, 0.0013288261, 0.011678264, 0.009213194, -0.013878337, -0.051273428, -0.040032715, -0.020287516, -0.014642508, 0.0057282033, 0.036384415, -0.0045018317, 0.0077588037, 0.01990543, -0.00089512806, 0.02522998, 0.02472464, -0.0066741738, 0.038405772, 0.0037561485, 0.023455128, 0.00092594145, 0.0160969, -0.0047360132, 0.010137595, -0.009644581, -0.004292301, 0.0077711293, 0.032538906, 0.010562819, 0.012282205, -0.0065385946, -0.010322475, 0.009952715, -0.011314666, -0.01760059, -0.015727138, 0.011216063, -0.003623651, 0.017637568, 0.017834771, 0.0465898, -0.0044740997, 0.010045155, 0.012491736, 0.01114211, -0.0022848106, 0.042473134, -0.00040057366, 0.0037191724, -0.019153584, 0.005943897, 0.010260848, -0.01681177, -0.0016500554, -0.027805975, 0.0122452285, 0.005090367, 0.0014397542, 0.039564352, 0.015566909, -0.004292301, 0.01739106, -0.033820745, -0.033401683, 0.030714756, 0.008578439, 0.009342611, -0.002862561, -0.030862661, 0.024108373, -0.012497898, 0.016774792, 0.0052413526, 0.009496678, -0.011887794, 0.00717335, -0.0465898, 0.002862561, -0.031478927, -0.020792855, 0.020053335, 0.021939112, 0.0009005204, 0.033475634, -0.011061996, -0.007882058, 0.010704561, 0.013089515, 0.008473674, -0.0036082442, -0.007382881, -0.009465864, -0.013915313, -0.026154378, 0.0026114322, 0.042152677, -0.016454333, 0.02474929, -0.037123933 ]
2401.09350
158
Y. Gu, Z. Napier, Y. Sun, and L. Wang. Parallel cover trees and their ap- plications. In Proceedings of the 34th ACM Symposium on Parallelism in Algorithms and Architectures, pages 259–272, 2022. References M. Izbicki and C. Shelton. Faster cover trees. In Proceedings of the 32nd International Conference on Machine Learning, volume 37 of Proceedings of Machine Learning Research, pages 1162–1170, Lille, France, 07–09 Jul 2015. D. R. Karger and M. Ruhl. Finding nearest neighbors in growth-restricted metrics. In Proceedings of the 34th Annual ACM Symposium on Theory of Computing, pages 741–750, 2002. R. Krauthgamer and J. R. Lee. Navigating nets: Simple algorithms for prox- imity search. In Proceedings of the 15th Annual ACM-SIAM Symposium on Discrete Algorithms, pages 798–807, 2004. T. Liu, A. W. Moore, A. Gray, and K. Yang. An investigation of practical approximate nearest neighbor algorithms. In Proceedings of the 17th In- ternational Conference on Neural Information Processing Systems, pages 825–832, 2004.
2401.09350#158
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 158, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Y. Gu, Z. Napier, Y. Sun, and L. Wang. Parallel cover trees and their ap- plications. In Proceedings of the 34th ACM Symposium on Parallelism in Algorithms and Architectures, pages 259–272, 2022.\nReferences\nM. Izbicki and C. Shelton. Faster cover trees. In Proceedings of the 32nd International Conference on Machine Learning, volume 37 of Proceedings of Machine Learning Research, pages 1162–1170, Lille, France, 07–09 Jul 2015.\nD. R. Karger and M. Ruhl. Finding nearest neighbors in growth-restricted metrics. In Proceedings of the 34th Annual ACM Symposium on Theory of Computing, pages 741–750, 2002.\nR. Krauthgamer and J. R. Lee. Navigating nets: Simple algorithms for prox- imity search. In Proceedings of the 15th Annual ACM-SIAM Symposium on Discrete Algorithms, pages 798–807, 2004.\nT. Liu, A. W. Moore, A. Gray, and K. Yang. An investigation of practical approximate nearest neighbor algorithms. In Proceedings of the 17th In- ternational Conference on Neural Information Processing Systems, pages 825–832, 2004.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.036810707, 0.023344574, 0.047008604, 0.019302277, 0.017016966, -0.023713173, -0.0122251855, -0.020076334, -0.08463023, 0.045755368, 0.023430582, 0.0011795154, -0.021280423, 0.018110476, 0.034746557, -0.04091444, 0.06103992, -0.047328055, 0.050203122, 0.018479073, -0.0026800185, 0.006253889, 0.009608136, 0.0115862815, 0.007298251, -0.02023606, 0.043445483, 0.052488435, 0.01973231, -0.0522427, 0.029438738, 0.008176745, -0.03226466, 0.005095875, -0.008330327, 0.037793636, 0.01635349, 0.008668209, -0.008152171, 0.03956291, -0.010922804, 0.055830393, -0.032362953, 0.0017600581, 0.00033749806, 0.016918674, -0.017287273, -0.042659137, 0.008471623, 0.040275536, -0.041971087, 0.009141244, -0.06511908, -0.038751993, -0.03393564, 0.032141794, -0.030274227, -0.012108463, 0.06998458, -0.022324786, -0.00467813, -0.014178758, 0.0069357962, 0.057452228, -0.02612135, 0.025310434, -0.019068832, 0.0029134643, 0.0056579877, -0.011451128, -0.06644603, 0.027276292, 0.0070586624, -0.043691214, 0.01940057, 0.029438738, -0.010001307, 0.06074504, -0.024904976, -0.01279037, 0.040767, 0.002853567, 0.042634565, -0.0012793441, -0.0627109, -0.049441352, -0.01685724, -0.011113246, -0.06551225, 0.03285442, 0.0007141597, 0.018294774, 0.019523436, -0.0026815545, 0.0044876873, 0.020543225, 0.02830837, -0.007894153, 0.059712965, -0.005249458, -0.027300866, -0.019179411, -0.009694142, -0.031281732, 0.08797219, 0.015321413, 0.00339725, 0.0033849634, 0.012507778, 0.039734922, -0.082566075, -0.02550702, 0.003987008, 0.009479126, 0.019130265, -0.03963663, -0.0460011, -0.050670013, 0.01739785, 0.002853567, -0.010720074, -0.013281834, 0.0070770923, -0.0031883775, 0.06118736, -0.030053068, 0.04745092, -0.07170471, -0.00275681, 0.027988916, 0.019744596, 0.01743471, 0.009497556, 0.021280423, -0.04676287, -0.022152772, -0.025949338, -0.0031607326, 0.001351528, -0.0655614, -0.018405354, 0.014068178, 0.035434607, 0.010339189, -0.024536377, 0.029537031, 0.037670773, 0.027153427, 0.0059590098, 0.031871486, 0.009491413, -0.020997832, 0.00068344316, -0.0023206351, -0.054749172, -0.036835283, 0.0036061225, 0.011782867, 0.002064152, -0.03523802, -0.01739785, -0.00030255798, 0.0155057125, 0.05627271, -0.0034402532, 0.021526156, -0.038825713, -0.0031607326, -0.07922412, -0.0026631246, -0.00027452913, -0.07018116, -0.0017001608, 0.044428412, 0.026219644, -0.011297545, -0.04017724, -0.0041590203, -0.026833974, -0.036073513, -0.008096881, 0.020518653, 0.030618252, -0.009350116, 0.0017508431, 0.024229212, 0.07696338, 0.03469741, -0.031085145, 0.023184849, 0.0004749546, -0.007851149, -0.0010197894, 0.03735132, -0.018122762, -0.036909003, 0.0145104965, 0.007943299, -0.026244218, 0.008232035, -0.011629284, -0.0064504747, 0.010038167, -0.0050098686, 0.00423274, 0.008705069, 0.005203383, -0.018565081, -0.0040330826, -0.014657936, 0.010646354, 0.041184746, 0.017864743, 0.002472682, 0.0047825663, -0.008778789, -0.012925522, 0.014301624, -0.0077958596, 0.089938045, -0.045976527, 0.05548637, -0.0045399056, 0.04971166, -0.003593836, 0.020444933, 0.01791389, -0.06570884, 0.048876166, -0.036147233, 0.04541134, 0.011875017, -0.018012183, -0.0058023557, 0.007709853, -0.0065671974, -0.026367083, -0.010339189, -0.051898677, -0.023750033, 0.017864743, 0.008815649, -0.008213605, -0.0068805064, -0.0002852799, 0.027620317, -0.027178, -0.04614854, 0.0048409277, -0.0070586624, -0.03376363, 0.0037320603, -0.0013492242, -0.018282488, 0.00069304206, -0.042880297, 0.007974016, 0.00503137, 0.029905628, 0.031478316, -0.01442449, 0.014449064, 0.0083118975, -0.041504197, -0.0145104965, 0.017938463, 0.018405354, 0.02288997, -0.013429274, 0.01980603, 0.048237264, 0.014154185, 0.03051996, -0.020358928, -0.041479625, 0.005157308, -0.029782763, 0.044428412, 0.014092751, -0.042265967, 0.036122657, -0.005897577, 0.067330666, -0.017250413, 0.038285103, 0.03334588, -0.015530285, 0.0040115807, -0.040201817, 0.010578779, -0.027988916, -0.046713725, -0.010738504, -0.04030011, 0.006751497, -0.02565446, 0.02634251, -0.04836013, 0.0009913765, -0.04032468, 0.009601993, 0.017778737, -0.011660001, 0.024339791, -0.011616997, -0.0039808643, -0.037130162, -0.000054857832, -0.03255954, -0.040791575, -0.008987661, 0.012298905, 0.009687998, -0.0151739735, -0.027350012, -0.028898127, 0.059270646, -0.066544324, -0.0055627665, -0.0023774607, -0.024990981, -0.05062087, 0.06438188, 0.047819518, 0.004954579, 0.03332131, -0.010142604, 0.017533004, 0.032166366, -0.026883122, 0.03376363, -0.041725356, 0.014252477, -0.008637493, -0.014080465, 0.029193005, 0.025777325, -0.010449769, -0.022975976, 0.03818681, -0.044428412, -0.016525501, -0.012391055, 0.007206102, 0.013134395, 0.020567799, -0.0002463083, 0.06580713, 0.0064074714, 0.0289227, -0.010713931, -0.022496799, 0.029487884, 0.04919562, 0.0033665334, 0.03833425, 0.0022392361, -0.04691031, 0.042782005, 0.04091444, -0.003584621, -0.041651636, -0.008121455, -0.037695345, 0.007402688, 0.018233342, -0.018368494, -0.005227956, 0.0042173816, 0.008821792, -0.02626879, -0.0066470606, -0.010842941, -0.059123207, -0.058484305, 0.045141038, -0.01736099, 0.00046573963, 0.054798316, 0.0766685, -0.016869526, -0.014031318, -0.030274227, -0.0005402273, 0.024978695, 0.004054584, -0.0011088673, -0.017668158, -0.04093901, 0.00501294, 0.012962382, -0.025482446, -0.029709043, -0.0200149, 0.012212899, -0.039513763, 0.04904818, -0.018626513, 0.04123389, 0.033591613, -0.036810707, 0.00762999, 0.026809402, -0.016832666, -0.03371448, 0.037228454, -0.00093071134, 0.04450213, -0.00021309603, 0.007494837, 0.0033603902, -0.033444174, 0.012489348, -0.015382846, 0.03273155, -0.01446135, -0.02300055, 0.048630435, -0.012384911, 0.03403393, 0.01969545, -0.009178104, -0.020948684, -0.031109719, -0.07401459, -0.022803964, 0.034427106, 0.01613233, 0.009135101, -0.08335242, -0.0074825506, 0.030962279, 0.037474185, -0.029979348, -0.018073617, -0.008244321, 0.039587483, 0.050964892, 0.004017724, -0.021636736, -0.013969885, -0.015247693, -0.049687084, 0.02361488, 0.015960317, -0.041577917, 0.017373279, -0.042978592, -0.01442449, 0.029070139, 0.012520065, -0.04595195, 0.029782763, 0.039980657, -0.013834733, 0.022570519, 0.034672838, -0.014473637, 0.032461245, 0.0047457065, 0.015751446, 0.025113847, -0.050203122, 0.0011342084, -0.007746713, 0.030028496, 0.022902256, -0.0020610802, 0.036220953, 0.004515332, -0.007187672, -0.05794369, -0.020211488, -0.04167621, 0.002615514, 0.034820277, -0.010468199, 0.00034920874, 0.013613573, -0.0059774397, -0.02641623, -0.03255954, 0.049220193, 0.022435365, 0.036048938, 0.0122313285, 0.01936371, 0.031969782, 0.012839517, 0.039120592, -0.07892924, 0.009995164, 0.091805615, -0.01186273, 0.0026708036, -0.009608136, -0.018479073, 0.018945966, -0.02223878, -0.007371971, -0.026096778, -0.0035109012, -0.033960212, 0.018601941, 0.012937809, -0.02478211, -0.022975976, 0.027718611, -0.01776645, 0.06143309, -0.011279115, 0.011107103, 0.038432542, 0.00998902, 0.028283795, 0.041283038, -0.026956841, 0.030790266, -0.014793089, 0.016648367, 0.0011319048, -0.01264293, -0.05101404, -0.0019090333, 0.030397095, -0.015198547, -0.042954016, -0.057648815, -0.018282488, 0.008913942, -0.0030455454, 0.00053485186, 0.02528586, 0.01424019, -0.014694796, 0.009399263, -0.025875619, -0.010032024, -0.03255954, -0.032510392, -0.020641519, -0.015087968, -0.0041559488, 0.019990329, -0.011875017, -0.05558466, 0.020727525, -0.020862678, -0.0070033725, 0.015198547, 0.02801349, -0.012102319, 0.006094163, 0.015124828, -0.003486328, -0.0038979298, -0.0099644475, -0.0044508274, 0.023098843, 0.024573237, -0.035508327, 0.01653779, 0.00768528, -0.017606724, 0.025101561, 0.024536377, 0.007814289, 0.015198547, 0.015026534, 0.0138593055, 0.0058269287, -0.014338484, -0.01761901, -0.04160249, 0.010339189, -0.010056597, -0.0061156643, -0.035115156, 0.0035262594, 0.029266724, -0.03248582, 0.0200149, -0.024302932, 0.01605861, -0.008121455, -0.0013991387, -0.028111784, 0.028332941, 0.024573237, -0.00104897, 0.018921392, -0.027694037, 0.0015719192, -0.043470055, -0.0022791678, -0.015014248, -0.0042726714, -0.03499229, -0.037253026, 0.021735027, -0.009976734, -0.0059467233, -0.006321465, -0.027620317, 0.016304342, 0.0041559488, 0.02626879, 0.017778737, 0.01366272, 0.008029305, -0.025826473, -0.020580085, -0.004410896, -0.020211488, 0.010965807, 0.018982826, 0.013675006, -0.013257261, 0.03386192, -0.00547676, 0.0032467388, 0.0027091994, -0.024266072, 0.038678274, 0.0063153217, 0.0015757588, 0.028406661, -0.01011803, -0.025113847, -0.015616292, -0.020567799, -0.026735682, 0.019031972, 0.060056992, 0.015935743, -0.012028599, -0.015886597, 0.002934966, 0.031724047, -0.01761901, 0.023836039, 0.04364207, 0.0023359933, -0.023836039, -0.008207461, -0.0045122607, -0.011776724, 0.0066470606, -0.024990981, 0.0168941, -0.0070402324, -0.033591613, 0.0011334405, 0.019105691, -0.0015696154, -0.019916609, 0.00937469, -0.019093405, -0.015272266, -0.012538494, -0.029365018, -0.023627168, -0.0006446635, 0.0013592072, -0.04007895, -0.01362586, 0.0037996368, 0.042585418, 0.043691214, 0.032756124, 0.03926803, 0.026293363, 0.011481845, 0.01711526, -0.0042757434, -0.029340444, 0.0030824053, -0.04993282, -0.011021096, -0.003593836, -0.031453744, 0.040644135, -0.048237264, 0.022865396, 0.027595745, 0.015431993, 0.020186914, 0.019191697, 0.015517999, -0.033272162, 0.0067207804, 0.019990329, 0.024990981, -0.02270567, 0.008674352, 0.0068620765, 0.01013646, 0.023492014, -0.018773952, -0.06118736, 0.0016448711, 0.00852077, -0.017496144, -0.0063337516, -0.010806081, 0.0015696154, 0.016304342, -0.001138048, 0.053962827, -0.007224532, 0.03383735, -0.003486328, -0.021710455, 0.00021885539, -0.05563381, 0.008115311, 0.01177058, 0.0032037357, 0.0010674, -0.016304342, -0.029070139, 0.027767757, -0.01544428, 0.0064873346, -0.0022530586, 0.03432881, -0.036048938, -0.016832666, -0.027718611, -0.035901498, 0.011408125, -0.00090383436, 0.013466134, 0.008956945, -0.007249105, -0.0018629585, -0.029193005, -0.01657465, -0.016685227, 0.011125533, 0.0038887148, -0.023467442, 0.015665438, 0.0400298, -0.002392819, 0.015874311, -0.02801349, -0.016722087, -0.014301624, 0.019855175, -0.0077651427, 0.009159674, -0.010904374, -0.0024127846, -0.026833974, -0.006991086, -0.018417642, 0.014657936, 0.01650093, 0.05661674, 0.009817008, 0.0047794944, -0.013183542, 0.012280475, 0.039513763, 0.0075869868, -0.055977833, -0.031748623, -0.01438763, 0.022730244, -0.011180823, 0.013330981, 0.047647506, -0.010111887, 0.032141794, -0.004073014, -0.007863436, -0.012483205, 0.0054675452, -0.005323177, -0.05145636, -0.0151616875, 0.0020902609, -0.011942593, -0.0015220048, -0.01178901, 0.0128886625, -0.005688704, -0.0001253619, -0.024155492, -0.026145924, 0.0017354848, -0.006339895, -0.002773704, 0.0077958596, 0.035655767, -0.012593783, -0.073768854, -0.015530285, 0.010584922, 0.025261287, 0.0064750477, -0.022582805, 0.016992394, -0.022029907, -0.0021701239, -0.00030390182, -0.017533004, -0.0014575002, 0.015075681, 0.011610854, -0.004693488, 0.00049914385, 0.00556891, -0.011856587, 0.040767, -0.023737747, -0.0028981061, 0.030691972, 0.034205947, 0.015690012, -0.014670222, 0.022828536, 0.0012939345, -0.04523933, -0.0016863383, 0.006978799, -0.020555513, -0.016685227, 0.010492772, 0.05283246, -0.0030824053, -0.00033212264, 0.008993804, 0.0491219, -0.041700784, -0.030298801, -0.05533893, -0.019277705, -0.0023267784, -0.01758215, 0.02216506, -0.000996752, -0.008109168, -0.017029254, -0.02626879, 0.020039475, 0.0078020026, -0.043519203, 0.0086436365, -0.007034089, 0.020297494, 0.00942998, 0.021587588, 0.0012156073, 0.00072990195, 0.022570519, -0.019302277, 0.043543775, 0.030053068, 0.021452436, -0.03582778, -0.014805376, -0.021661308, 0.030790266, 0.02300055, 0.025384154, -0.005154236, 0.029094713, 0.006800643, 0.035434607, 0.020469505, 0.0006458154, -0.005022155, 0.007009516, -0.018798526, -0.0341568, 0.008545343, 0.008293468, 0.0024527162, 0.0151616875, 0.008275038, -0.03995608, 0.021440148, -0.008569917, -0.012378768, 0.009104384, 0.030470813, 0.01366272, 0.013023815, 0.043592922, -0.007433404, -0.010978093, -0.0021286567, -0.02045722, 0.03531174, 0.010412909, 0.052439287, 0.014756229, -0.010111887, -0.0043126033, 0.012913236, 0.033665333, 0.07219617, 0.026907694, 0.012526208, -0.000027500908, -0.00091996056, -0.0037873501, -0.019302277, -0.046566285, 0.0028228506, 0.012802657, -0.0067084935, 0.00046036424, 0.010683214, 0.013343267, 0.01943743, -0.015124828, -0.023836039, 0.012206756, -0.00021021636, -0.020248348, 0.035041437, 0.007562414, -0.01110096, 0.011469558, 0.030790266, 0.003851855, 0.009503699, 0.0037658485, 0.010296186, 0.009872298, -0.00040622632, 0.02263195, -0.014682509, -0.0044784723, -0.020174628, -0.008115311, 0.0010697037, 0.027964344, 0.025949338, 0.015825164, -0.036220953, -0.036564976, 0.020788958, -0.0154811395, 0.0037105589, -0.021415576, 0.010142604, 0.021378716, -0.01650093, 0.013158969, -0.01282723, 0.010984237, 0.047131468, 0.042339686, -0.002641623, 0.027399158, -0.0014874487, -0.02005176, -0.004874716, 0.0035416177, -0.011143963, -0.0006857469, -0.0011887304, 0.012329621, 0.009995164, 0.009608136, 0.003940933, 0.032092646, 0.006002013, 0.028947273, 0.013502994, -0.0037320603, 0.004757993, -0.0031699475, -0.009663425, -0.030175935, -0.008053878, 0.010947377, 0.025777325, -0.029807337, -0.024954122, -0.028799834, -0.00079171895, -0.005221813, 0.026907694, 0.034820277, 0.024315218, 0.06688835, 0.03907145, -0.020960972, -0.073179096, 0.009049094, 0.012317335, -0.0077958596, 0.013969885, 0.013711866, 0.023958907, -0.0077958596, -0.02270567, 0.028824408, 0.015677726, -0.010326902, -0.016906386, 0.030077642, -0.017127546, 0.058435157, -0.031846914, -0.0049300054, 0.032903563, 0.010842941, 0.005071302, 0.036761563, -0.023676313, 0.005381539, 0.020186914, -0.030003922, 0.0019382141, 0.010689358, -0.01722584, 0.011653857, 0.005249458, -0.007562414, -0.021673596, -0.005519763, -0.007955586, 0.02862782, -0.019855175, 0.023946619, -0.013023815, 0.01965859, -0.0034709696, -0.009141244, -0.0042480985, 0.0070832353, 0.035901498, -0.03339503, 0.004776423, 0.011365122, -0.0064504747, -0.02877526, 0.036663268, 0.011961023, -0.02474525, -0.016451782, -0.0061832406, -0.014731656, 0.053471364, 0.012305048, -0.01704154, -0.005452187, -0.014879094, 0.060302723, 0.031846914, 0.011285259, -0.0044538993, 0.006874363, -0.019007398, -0.008987661, 0.024008052, 0.0024911119, -0.0020103978, -0.0036491256, -0.014743942, 0.008238178, -0.026784828, 0.039587483, -0.031748623, 0.01182587, -0.017066114, -0.007937156, 0.030249655, -0.0030977638, 0.029979348, -0.016869526, 0.014227904, -0.020395787, -0.009417693, 0.018552793, 0.0053477506, -0.0077405698, 0.02801349, -0.00056672026, -0.00761156, 0.0047426345, 0.017754164, 0.022300212, -0.00073450943, -0.0031300161, 0.0013369377, -0.010781508, 0.0075869868, 0.016070897, 0.035901498, -0.02870154, 0.018540507, -0.012851803, 0.018896818, -0.035631195, 0.06089248, 0.017176693, -0.040201817, -0.060548455, -0.026686534, 0.008496197, -0.000091957656, 0.0033327453, -0.018024469, 0.022607379, -0.029905628, 0.03538546, -0.003922503, -0.017324133, -0.0062876767, 0.03051996, -0.023184849, 0.039292607, 0.0064504747, -0.017274985, -0.03971035, 0.014731656, 0.02732544, 0.002801349, 0.026219644, -0.0047180615, -0.03629467, 0.012409485, 0.0026201215, -0.009675712, -0.032657832, 0.0034709696, 0.0053846105, 0.042069383, 0.0035907642, -0.013810159, 0.020248348, -0.012182182, 0.0059774397, 0.009190391, -0.020862678, 0.019449716, 0.016439496, 0.037670773, 0.0042665284, -0.0011418876, 0.06035187, 0.006278462, -0.022029907, -0.007924869, 0.0043033883, 0.03285442, -0.029881056, 0.010253183, 0.0015273802, 0.00506823, 0.026293363, -0.0007940227, -0.0072552483, -0.011580138, 0.018909106, 0.0011257614, -0.017324133, -0.020322068, -0.04592738, 0.030470813, 0.044674143, 0.017250413, 0.037031867, 0.008815649, 0.021464722, -0.03334588, 0.02801349, 0.016046323, -0.0069235093, 0.028652394, -0.036319245, 0.008827935, -0.074112885, 0.025261287, 0.0059897266, 0.012403341, -0.00052986044, 0.0011349764, -0.00030639756, 0.009442266, 0.03371448, -0.017410139, -0.013675006, 0.005983583, -0.03044624, -0.022300212, 0.0043279612, 0.02634251, -0.00014417579, -0.010271613, -0.019179411, 0.0011057956, 0.00846548, -0.037793636, -0.018872246, 0.016611507, 0.0148545215, 0.03826053, 0.020567799, -0.029487884, -0.0038088516, -0.015038821, -0.030790266, 0.004315675, 0.008060021, -0.05632186, -0.03310015, -0.0027168784, 0.007814289, -0.015874311, -0.029070139, 0.015112541, 0.009380833, 0.0063460385, 0.023946619, 0.015001961, -0.016046323, 0.038309675, 0.006413615, -0.036098085, 0.018466787, -0.0012348051, -0.009995164, -0.037744492, 0.0051603797, -0.03051996, 0.020752098, -0.0021455507, -0.019670876, 0.0057224925, -0.039759498, -0.012157609, 0.017889317, 0.0014743942, -0.010222467, -0.019130265, 0.003904073, -0.00030102214, 0.007150812, 0.014031318, -0.02597391, -0.003113122, -0.007052519, 0.024769822, -0.010105744, 0.019093405, -0.037842784, 0.02725172, 0.0050098686, -0.0070033725, -0.0128763765, 0.020543225, 0.063300654, -0.012581497, -0.012194469, 0.030691972, -0.015653152, -0.007986302, 0.006038873, -0.009030664, 0.03334588, 0.022545945, 0.0071262387, -0.01780331, 0.054110266, 0.003477113, 0.04130761, -0.023184849, -0.0036952004, 0.0522427, -0.019425144, -0.012501635, -0.004847071, 0.0071078087, 0.011236113, 0.06246517, -0.020150054, 0.007906439, -0.0042696, -0.014055892, 0.0099398745, 0.032068074, -0.022214206, 0.023995766, -0.019375997, -0.0074211177, 0.009503699, -0.026809402, 0.048777875, -0.025236715, -0.030225081, 0.042216823, 0.009749432, -0.02521214, -0.033812772, 0.006751497, 0.019130265, -0.027153427, 0.00005735355, -0.002666196, -0.0016709801, -0.008385617, 0.03749876, -0.007967872, 0.021968475, -0.026711108, -0.034353387, -0.0041713067, 0.0014912883, -0.010683214, 0.010314616, 0.01275351, -0.019793741, -0.013711866, -0.025310434, -0.010873658, 0.0057224925, -0.036614124, -0.0010758471, 0.024278358, -0.0138593055, 0.009743288, 0.015100254, -0.027890624, 0.007906439, 0.006020443, 0.01267979, -0.016488642, 0.032461245, -0.0053661806, 0.023369148, 0.0047426345, 0.0023820682, 0.027571172, -0.018282488, 0.008422477, 0.020801244, -0.01984289, 0.030544532, -0.0031638043, 0.036761563, -0.0074149743, -0.01438763, -0.0031008353, 0.030225081, -0.0039102165, 0.023934333, 0.04858129, 0.015431993, 0.0014275515, -0.00761156, -0.038899433, -0.008926229, 0.012999242, 0.008096881, 0.0045399056, -0.012071603, 0.0032190941, -0.012446345, -0.0017631297, 0.027669465, -0.010124174, -0.015677726, -0.03270698, -0.029979348, -0.04349463, -0.00070763245, -0.014301624, -0.047328055, 0.01279037, 0.004490759, -0.024843542, 0.00215323, -0.038088515, -0.007568557, -0.022791676, 0.019228557, 0.004063799, -0.004278815, 0.020027189, 0.019117977, 0.010947377, -0.0014544284, 0.0072859647, -0.032461245, -0.02300055, 0.035999794, 0.019265417, 0.0040422976, -0.013294121, -0.014485923, 0.029266724, -0.042290542, -0.03651583, 0.0044723293, 0.0170784, 0.009497556, 0.003987008, -0.0083118975, 0.011518705, 0.007513267, 0.006616344, -0.0034310382, 0.028578674, -0.0039440044, 0.027079707, -0.013736439, 0.025076987, -0.013281834, -0.01004431, 0.029438738, 0.0066102007, -0.005682561, 0.019056546, -0.012765797, -0.040201817, -0.013318694, 0.04371579, 0.028578674, -0.017741878, 0.0386537, 0.011303689, -0.0029180718, -0.020039475, 0.01743471, -0.0020318995, -0.021956187, 0.0011756758, -0.008858652, 0.009147387, -0.00553205, 0.026809402, 0.014178758, -0.011322119, -0.042978592, -0.048310984, -0.030691972, -0.01613233, 0.021341857, 0.032534964, 0.014043605, 0.03531174, 0.04433012, 0.002515685, 0.023860613, 0.017717304, 0.0018429927, 0.03560662, -0.0034924713, 0.00031638044, 0.023848327, 0.017815597, 0.0066900635, 0.025076987, 0.009208821, -0.007771286, 0.01282723, 0.03862913, -0.00040430654, 0.0062600323, -0.0010551134, -0.013109822, 0.038530834, 0.009141244, 0.018233342, 0.0065119076, 0.0049760803, 0.03826053, 0.019117977, -0.0053016758, 0.05199697, -0.010474342, 0.031281732, 0.025027841, -0.015567145, 0.011930306, 0.040717855, 0.012814943, 0.014670222, -0.0039071445, -0.010818368, 0.016476355, -0.022545945, -0.009841581, -0.017213553, 0.04511646, -0.0096204225, 0.023295429, 0.0142033305, 0.024990981, 0.020064048, 0.002517221, -0.002597084, 0.005522835, 0.03499229, -0.004819426, 0.032362953, -0.029512458, -0.04519018, 0.01667294, -0.007617703, -0.0013392414, -0.004945364, -0.0002418928, -0.012458631, 0.011506418, -0.05700991, 0.0132204015, -0.028111784, -0.013810159, 0.029193005, 0.015763732, 0.009067524, 0.017533004, -0.03120801, -0.028283795, -0.009018378, -0.00010894775, 0.0079985885, -0.005805427, -0.0021209775, -0.0022377004, 0.005332392, -0.020395787, 0.011776724, 0.045902807, -0.021821035, 0.0043279612, -0.011561708 ]
2401.09350
159
C. Lucchese, F. M. Nardini, S. Orlando, R. Perego, N. Tonellotto, and R. Ven- turini. Quickscorer: A fast algorithm to rank documents with additive en- sembles of regression trees. In Proceedings of the 38th International ACM SIGIR Conference on Research and Development in Information Retrieval, pages 73–82, 2015. J. McNames. A fast nearest-neighbor algorithm based on a principal axis search tree. IEEE Transactions on Pattern Analysis and Machine Intelli- gence, 23(9):964–976, 2001. R. Panigrahy. An improved algorithm finding nearest neighbor using kd-trees. In LATIN 2008: Theoretical Informatics, pages 387–398, 2008. P. Ram and A. G. Gray. Maximum inner-product search using cone trees. In Proceedings of the 18th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, page 931–939, 2012. P. Ram and K. Sinha. Revisiting kd-tree for nearest neighbor search. In Pro- ceedings of the 25th ACM SIGKDD International Conference on Knowl- edge Discovery and Data Mining, pages 1378–1388, 2019.
2401.09350#159
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 159, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "C. Lucchese, F. M. Nardini, S. Orlando, R. Perego, N. Tonellotto, and R. Ven- turini. Quickscorer: A fast algorithm to rank documents with additive en- sembles of regression trees. In Proceedings of the 38th International ACM SIGIR Conference on Research and Development in Information Retrieval, pages 73–82, 2015.\nJ. McNames. A fast nearest-neighbor algorithm based on a principal axis search tree. IEEE Transactions on Pattern Analysis and Machine Intelli- gence, 23(9):964–976, 2001.\nR. Panigrahy. An improved algorithm finding nearest neighbor using kd-trees. In LATIN 2008: Theoretical Informatics, pages 387–398, 2008.\nP. Ram and A. G. Gray. Maximum inner-product search using cone trees. In Proceedings of the 18th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, page 931–939, 2012.\nP. Ram and K. Sinha. Revisiting kd-tree for nearest neighbor search. In Pro- ceedings of the 25th ACM SIGKDD International Conference on Knowl- edge Discovery and Data Mining, pages 1378–1388, 2019.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.047353942, 0.012517352, 0.08794303, -0.022569345, 0.027345233, -0.0262257, -0.00009197641, 0.034205362, -0.0650283, 0.022343056, -0.024201008, -0.023438772, -0.014315753, 0.020592295, 0.026273338, -0.012529262, 0.09480316, -0.032942906, 0.0012170475, 0.0030936082, 0.018627154, 0.029107906, 0.0069554076, -0.0076164096, 0.031442255, -0.0068541733, -0.0067410287, 0.013124759, 0.042208843, -0.044876672, -0.0012646873, 0.0018073341, -0.014684962, -0.0029358014, -0.0128865605, 0.038159464, 0.0010019242, 0.04135133, -0.017066952, -0.0018192441, -0.01965141, 0.011260853, -0.031132596, -0.0036533757, 0.011522871, -0.03158517, 0.04964065, -0.048830774, 0.013077119, 0.01753144, -0.03463412, 0.002746731, -0.050688725, -0.0049456046, -0.025463462, 0.012255333, 0.0022182271, -0.009176613, 0.07617601, 0.025177624, 0.004942627, -0.02801219, -0.008444151, 0.03684937, -0.016959762, 0.009426721, -0.016590552, 0.020830493, 0.0072591114, -0.023557872, -0.046448786, 0.03863586, 0.026320977, -0.03258561, 0.012564992, 0.0148040615, -0.0052999253, 0.061693516, -0.016245164, 0.017781548, 0.071840785, 0.037968904, 0.027464332, 0.0012371455, -0.04744922, -0.035682194, 0.001993427, -0.0065683345, -0.052165557, -0.017626718, -0.04073201, 0.026201878, 0.015947416, -0.0024787572, 0.019937247, -0.0013026502, -0.01524473, -0.039612476, 0.024486847, 0.0055738543, -0.03511052, -0.028464768, 0.008962234, -0.037278127, 0.03244269, 0.010456932, -0.021283071, -0.024915604, -0.009462452, 0.014982711, -0.08308378, -0.008229772, -0.024379658, 0.030441819, -0.0020678642, -0.06450426, -0.05564326, -0.009164702, -0.04280434, 0.015780676, -0.019996798, -0.007128102, 0.009301667, 0.00010923653, 0.04578183, -0.02370079, 0.018460415, -0.047735058, 0.014232384, -0.009778065, 0.053213634, 0.03048946, 0.009212342, 0.022235867, -0.04137515, -0.0025249084, -0.040517632, -0.009027738, 0.027273774, -0.0037516325, -0.01922265, -0.025773121, -0.027416693, 0.0074139405, -0.04116077, 0.013291499, 0.010254462, 0.02153318, 0.005267173, 0.021092512, 0.00962919, -0.03949338, 0.00752113, -0.010558167, -0.044352636, -0.014482493, 0.010695131, -0.03282381, 0.001408351, -0.044138256, -0.020699484, -0.03001306, 0.048473474, 0.018781982, 0.0041178633, 0.043900058, -0.039922137, 0.0013063721, -0.0476636, -0.0173647, 0.01506608, -0.097423345, 0.0121600535, 0.01713841, 0.025868401, -0.0034092218, -0.028774427, 0.008694259, -0.0013830423, -0.04385242, -0.028774427, 0.015947416, 0.009599416, 0.001957697, 0.0214379, 0.0432331, 0.018710524, 0.010915465, -0.02591604, 0.037873626, 0.039683934, 0.043590397, -0.004097021, 0.033728965, -0.020913864, 0.0051153214, 0.020234996, 0.008426286, -0.02193812, -0.035253435, 0.01516136, -0.0076342747, -0.044066794, -0.024701225, -0.020246906, -0.0053564976, -0.02364124, -0.004180391, -0.014661142, -0.015316189, 0.003977922, 0.014434854, 0.03256179, 0.024677405, -0.0348485, 0.029846322, -0.021259252, 0.026368618, 0.019782418, 0.037992723, -0.031108776, 0.013815536, -0.014542042, 0.052737236, -0.04523397, 0.031728093, 0.033228748, -0.04473375, 0.047163382, -0.03694465, 0.046615522, 0.010308057, 0.018246036, 0.022712264, 0.0062348563, 0.029822502, -0.01946085, -0.015733037, -0.048568755, -0.02770253, -0.004305445, 0.0021527226, 0.013684527, 0.0027779946, 0.010200867, 0.03465794, -0.03227595, -0.002023202, -0.013553517, 0.011772981, -0.026082778, -0.031894833, -0.02165228, -0.021390261, -0.008521565, -0.03491996, 0.010558167, 0.003963034, 0.033824243, 0.059073325, -0.027154675, -0.023438772, 0.008068987, -0.01511372, -0.05145096, -0.012410163, 0.013720256, -0.0052701505, -0.01292229, -0.009134928, -0.01944894, -0.0033347846, 0.022771815, 0.002265867, -0.017650539, 0.0039034844, 0.010385472, -0.0091468375, 0.013970365, -0.03199011, 0.024248648, 0.008533476, 0.04954537, -0.018829623, 0.0061931713, 0.009069423, -0.030822936, -0.0037039928, -0.036015674, -0.028155109, -0.03406244, -0.06621929, 0.0017105659, -0.043566577, -0.0059371074, -0.016840663, -0.00097438233, -0.045067232, 0.025534922, -0.0061455313, 0.042566143, 0.0014827881, 0.005541102, 0.042542323, -0.031918652, 0.021557, -0.017019311, 0.0036355106, 0.0067469836, -0.0036087134, -0.0030519234, 0.03665881, 0.034824677, 0.029631943, -0.03232359, -0.06531414, 0.10528391, -0.029274644, 0.0020425555, -0.01280319, -0.0034985463, -0.08794303, 0.064218424, -0.008884819, -0.018758163, 0.011647926, -0.03263325, 0.0021259252, 0.037111387, -0.05168916, 0.01954422, -0.01180871, 0.011499052, 0.0020008706, -0.033562224, -0.0130533, 0.039636295, -0.022914734, -0.049211893, 0.02782163, -0.035682194, 0.012231513, -0.0017820254, -0.036253873, 0.033919524, 0.018639063, -0.016733473, 0.0564055, -0.0017835143, 0.035682194, -0.028155109, -0.028155109, 0.011576466, 0.033824243, -0.0012899959, 0.014851701, -0.018162666, -0.031323154, 0.012243424, 0.004138706, -0.00022331146, -0.020246906, -0.0004972402, -0.038111825, -0.001715032, 0.005627449, -0.03682555, -0.015875956, 0.0213188, 0.018912992, -0.08427477, 0.021187792, -0.046663165, -0.008664485, -0.066076376, 0.044352636, -0.010248507, 0.024725046, 0.0726983, 0.08070178, 0.020151626, -0.0262257, -0.042065926, -0.020568475, 0.051546242, -0.023200573, 0.01716223, -0.011177483, -0.015685398, 0.012207693, -0.04035089, -0.0111536635, -0.018674793, 0.027369054, -0.007122147, 0.0045883064, 0.03258561, 0.010081768, 0.036873188, 0.05226084, -0.037611607, 0.0095577305, 0.01311285, -0.021997668, -0.023581691, 0.019913428, 0.010975014, 0.072984144, 0.039421916, -0.007729554, 0.025392001, -0.033824243, 0.016912121, -0.02183093, -0.008860999, 0.008170222, 0.00754495, 0.04089875, -0.016590552, 0.02770253, 0.010159183, -0.0034628164, -0.014827881, -0.05430935, -0.035158157, -0.0013815536, 0.03177573, -0.016328534, 0.015363829, -0.03201393, 0.009230208, 0.026344799, 0.05869221, -0.04054145, -0.014208565, -0.0035670286, 0.01190399, 0.07512793, 0.00049277395, -0.040684372, -0.024284378, -0.003894552, -0.020639934, 0.0054190247, -0.0007987107, 0.0049456046, -0.0042101657, 0.0033228747, -0.0009795929, 0.027416693, 0.02153318, 0.004281625, 0.018865352, 0.0058388505, -0.020127807, 0.006663614, 0.06831545, -0.0078248335, 0.015542478, 0.04139897, 0.03432446, 0.024653586, -0.044567015, -0.012088594, -0.027869271, -0.0020916841, -0.017757727, 0.024463026, 0.039588656, -0.032728527, -0.003025126, -0.052594315, -0.035944212, -0.03699229, 0.014256204, 0.0018936812, 0.0006345768, -0.046448786, -0.015697308, -0.016304715, 0.019687138, -0.041637167, 0.029512843, 0.017471889, -0.006377775, 0.017090771, 0.044829033, 0.026559178, 0.011237033, 0.044590835, -0.033276387, -0.013029479, 0.0692206, -0.011016699, -0.020663755, -0.0017626719, -0.019949157, -0.011999269, -0.04070819, -0.04116077, -0.002005337, 0.033681326, -0.016126065, 0.03225213, -0.026725916, 0.0040523587, -0.011505007, 0.0063956403, 0.00851561, 0.040327072, 0.022914734, 0.035420176, 0.020830493, 0.009134928, 0.07122147, 0.014137104, -0.005996657, -0.012767461, -0.023962809, -0.010576031, -0.0010376539, -0.026749736, -0.041708626, -0.019913428, 0.021235432, -0.027297594, -0.01924647, -0.04540071, -0.0471872, -0.010165138, 0.015602028, -0.021676099, 0.0063658655, 0.044781394, -0.03241887, 0.001051797, -0.00095428433, -0.023010014, -0.013696437, -0.025868401, -0.014958891, 0.027583431, 0.009343352, 0.005049817, -0.008319097, -0.012130279, 0.020377915, -0.009563685, -0.008753809, 0.022128677, 0.014851701, -0.030370358, -0.00024378169, 0.028607687, -0.015828317, -0.004850325, 0.022843273, -0.0031769779, -0.004793753, -0.02164037, -0.021485541, -0.004826505, -0.00006103847, 0.017710088, -0.009373127, -0.013398688, 0.018912992, -0.01950849, 0.018674793, 0.015018441, -0.016066516, -0.046949003, -0.023045743, -0.048497297, 0.01196354, -0.0196395, -0.016840663, -0.022890914, 0.005996657, -0.013124759, -0.018639063, 0.009081333, -0.035586916, 0.03632533, -0.022640806, 0.0028524317, -0.012672181, 0.026559178, 0.003980899, 0.015328099, 0.0474254, -0.02142599, 0.0194013, -0.054881025, 0.00591031, -0.0065861996, -0.011600287, -0.03430064, -0.025368182, 0.025534922, -0.02813129, -0.0111536635, -0.0007439994, -0.01715032, 0.006097892, -0.004701451, 0.039445736, 0.018222215, 0.0019502535, -0.015518658, -0.007348436, -0.018793892, 0.012564992, -0.01306521, 0.0011485653, -0.010957149, -0.013446327, 0.019198831, 0.011510962, -0.019937247, -0.030060701, -0.033324026, 0.0103318775, 0.037706885, 0.0117015205, -0.0054041375, 0.040517632, -0.03696847, -0.016554823, -0.024343926, -0.008890774, 0.02362933, 0.031561352, 0.02171183, 0.0019279224, 0.00974829, 0.024629766, -0.016316624, 0.016757293, 0.014613503, 0.01732897, 0.07774812, 0.005823963, -0.0012669204, 0.012672181, -0.000008013625, -0.025868401, -0.0015810452, -0.035563096, 0.010593896, -0.030584738, -0.03673027, 0.011719386, 0.016638193, 0.011082204, 0.008128538, 0.016161796, -0.014208565, 0.016983582, -0.008295276, -0.015471018, -0.013493967, -0.015625848, 0.0046448787, -0.02589222, 0.024177188, -0.0123863425, 0.053070713, 0.01715032, 0.015209, 0.03239505, 0.008473925, -0.016638193, 0.012624541, -0.0051957136, -0.0261066, -0.0061574415, -0.03875496, -0.013636887, -0.017602898, -0.018686704, 0.012636451, -0.03487232, 0.0038290473, 0.024939425, -0.011242988, 0.03703993, 0.0031442253, -0.0017835143, -0.0038558447, 0.0064671002, -0.023307761, 0.03010834, -0.013779806, -0.008283366, -0.0065742894, -0.0074556256, 0.033252567, -0.03246651, -0.044185895, 0.021128243, 0.020056346, -0.030918216, 0.0040374715, -0.02803601, 0.013100939, -0.00061373436, 0.0034509066, 0.053165995, -0.029203184, 0.01921074, -0.01510181, -0.012058819, 0.016685832, -0.06321799, 0.013029479, 0.021032963, 0.02591604, -0.006633839, -0.03246651, -0.044090617, 0.037825983, -0.0007681914, 0.02159273, 0.008992008, 0.018246036, -0.021688009, -0.028750606, -0.026725916, 0.028917346, -0.0100579485, 0.022926643, 0.009575596, 0.035301078, -0.043733317, 0.012576901, -0.04549599, 0.0068720384, -0.043804776, 0.0032663024, -0.012207693, -0.024212917, -0.025320543, 0.03468176, -0.027488153, -0.0063480004, -0.008450106, 0.0049753794, -0.018103115, 0.0029238914, -0.013958455, 0.0078248335, -0.018770073, 0.016483363, 0.020580385, -0.020449376, -0.0039273044, -0.0012393786, 0.011784891, 0.057405934, 0.017876828, 0.005740593, -0.0123863425, -0.00861089, 0.042518504, 0.0088252695, -0.013601157, -0.0038082048, -0.013767896, 0.033776604, 0.004641901, -0.0057376157, -0.0063420455, -0.019067822, 0.052737236, 0.013529697, 0.0061336216, -0.010820185, 0.0015482928, 0.030608559, -0.055500343, -0.029227005, 0.005621494, -0.03263325, 0.008521565, -0.03506288, -0.0150779905, 0.016638193, -0.00011723852, -0.0034002892, -0.019579949, 0.021473631, -0.008027303, 0.0001765091, 0.002886673, 0.01082614, -0.029703403, -0.06669569, -0.05564326, -0.0060562068, 0.021473631, 0.035872754, -0.005017064, 0.024510667, -0.019949157, 0.023272032, 0.0196395, -0.05769177, 0.0021527226, 0.0069494527, -0.0048473477, 0.0024847123, 0.00972447, 0.015840227, -0.01299375, 0.010051994, -0.03227595, -0.042161204, 0.013946545, 0.008045168, -0.030942036, -0.053451832, 0.014422943, -0.016030787, -0.010838049, 0.0015259617, 0.04118459, -0.011379953, -0.014315753, -0.023200573, 0.061121836, -0.000058526213, -0.007777194, 0.017614808, 0.0034211318, -0.022450246, -0.03022744, -0.007318661, -0.046806082, -0.012267243, 0.0065445146, 0.020675665, -0.01286274, -0.00986739, -0.025487281, -0.009337396, 0.027249955, 0.0010183003, -0.026201878, -0.0063896854, 0.013898905, 0.0003740467, -0.013613067, 0.010296147, 0.020270726, 0.0028762517, 0.002249491, -0.018889172, 0.008491791, -0.014387214, 0.001147821, -0.018365135, -0.024081908, 0.0035848934, -0.0032990547, 0.033657502, -0.0054487996, 0.0058507603, 0.02184284, -0.03203775, 0.03889788, 0.010564121, -0.00852752, -0.004641901, -0.0048413924, -0.004933695, -0.00756877, 0.02361742, -0.01176107, -0.0021140152, 0.02810747, -0.010522436, -0.015018441, 0.0019591858, -0.011576466, -0.022307327, 0.02392708, 0.06488538, -0.0070804623, 0.020901954, 0.048139997, 0.0054726196, 0.009396946, -0.013279589, -0.008134493, 0.037135206, 0.009938849, 0.028774427, 0.011421637, -0.02153318, 0.0070804623, 0.0074913553, 0.015959326, 0.03615859, 0.014446763, 0.00297302, 0.018365135, 0.01913928, 0.0025115097, -0.009789974, -0.037254307, -0.014887431, 0.01494698, 0.015387649, 0.020770945, 0.031918652, 0.0010867824, 0.0030281034, -0.0009051558, -0.004496004, 0.009301667, -0.028536228, 0.003772475, 0.035706013, -0.0006014522, -0.018317495, 0.0085096555, 0.035753656, 0.007378211, 0.0066457493, -0.0041595483, -0.0063896854, -0.00082327495, 0.014887431, 0.01961568, -0.0522132, 0.010069858, -0.013946545, 0.016495274, 0.019770509, 0.030418, 0.01285083, 0.018805804, -0.039826855, -0.0061336216, 0.024141459, -0.014125194, -0.0150899, 0.008063032, 0.0036593305, 0.031871013, -0.030680018, 0.020234996, -0.00755686, -0.01301757, 0.0117015205, 0.059406806, 0.003215685, -0.0027556636, 0.03218067, -0.014553953, 0.024379658, 0.004659766, -0.01944894, 0.00041014873, -0.006907768, 0.029465204, 0.00011035308, -0.005395205, -0.0255111, 0.05540506, 0.020818584, 0.01500653, 0.01189208, -0.02789309, -0.009379081, 0.016566733, -0.042566143, -0.004960492, -0.01092142, 0.009885254, 0.010111543, -0.016399994, -0.022795634, -0.0030757433, 0.048759315, 0.035586916, 0.021271162, -0.012088594, 0.012124324, 0.018555693, 0.012827011, -0.020723304, -0.030465638, 0.020973412, 0.017924467, -0.0065147397, 0.0023403042, 0.035158157, 0.009474361, -0.0041595483, 0.0063122706, -0.026201878, 0.00970065, -0.03637297, -0.012338703, 0.023462592, -0.032680888, 0.051260404, -0.03620623, -0.052641954, 0.04573419, 0.0058745802, -0.0035432086, 0.033157285, -0.041613348, -0.012279153, -0.00536543, -0.017483799, -0.020735214, 0.05449991, 0.0075866347, -0.008473925, 0.007771239, 0.002885184, -0.03010834, -0.0057584583, -0.004073201, 0.029917782, -0.015625848, -0.0065981094, -0.016912121, -0.0011708965, -0.020699484, 0.011409727, 0.01096906, 0.022890914, 0.0032335501, -0.009265937, -0.014553953, -0.000031728836, -0.01930602, -0.019008271, 0.015292369, 0.003041502, -0.012707911, -0.009021783, -0.012636451, -0.040303253, 0.06293215, 0.01745998, -0.019806238, 0.007920113, -0.022652715, 0.035539277, 0.043352198, 0.009230208, 0.027154675, -0.0103795165, -0.020556565, 0.002063398, 0.0039034844, -0.016411904, -0.0027437536, -0.014565863, 0.0032484375, 0.05635786, 0.0018385977, 0.035848934, -0.00078605633, -0.012094549, 0.010581986, -0.0134820575, 0.020949593, 0.015768766, 0.017853007, -0.020985322, -0.006270586, -0.031394616, -0.024308197, 0.01946085, 0.026606817, -0.051546242, 0.046949003, -0.003980899, 0.028798247, -0.0071042823, -0.017674359, 0.013565427, -0.0073603457, 0.019079732, -0.00036027582, -0.025106164, -0.0028464769, -0.0028345669, 0.041756265, -0.03889788, -0.007818879, 0.012255333, -0.011832531, -0.010450977, 0.046282046, -0.0012639429, -0.032728527, -0.059406806, -0.024463026, -0.03179955, 0.0074020308, 0.01720987, -0.0038290473, 0.0063480004, -0.024391567, 0.0097423345, -0.020461285, -0.013767896, -0.021021053, -0.012148144, -0.02603514, 0.020342186, 0.010415247, 0.0024534487, -0.0150779905, 0.01082614, 0.016233254, -0.02817893, 0.0000011107419, 0.031323154, -0.027607253, -0.008860999, 0.0072769765, 0.02169992, -0.01956804, -0.029465204, -0.011302537, 0.014196654, -0.0093314415, -0.0040374715, 0.035706013, 0.0048771226, 0.020497015, -0.029084085, -0.024701225, 0.008021348, 0.029489024, 0.045853287, 0.024653586, -0.040303253, 0.05145096, -0.0040940437, -0.053165995, -0.015923597, 0.03453884, 0.05016469, -0.0036920828, -0.01500653, 0.021271162, 0.009039648, 0.022974284, -0.0018073341, -0.003945169, -0.0069792275, -0.015387649, -0.009093243, -0.020961503, -0.0025115097, -0.044852853, -0.0022092948, 0.036277693, -0.0007227848, 0.00856325, 0.0029238914, 0.0070149577, -0.010403337, -0.0007302285, 0.01932984, 0.019865789, 0.018424684, 0.0036265783, -0.03653971, -0.020211177, 0.027249955, -0.020759033, 0.018996362, -0.022331147, -0.029250825, -0.0025814804, 0.00038446792, 0.044257354, 0.0013614555, 0.0023671016, 0.00050654483, 0.00643137, -0.035420176, 0.030799117, 0.00438286, -0.0010294658, -0.022307327, -0.022950463, 0.014411033, 0.010427156, -0.024701225, 0.013589247, -0.0063360906, 0.0030906308, 0.015459108, 0.03179955, 0.0024728023, -0.022545526, -0.00036027582, -0.042494684, 0.013767896, 0.0087359445, -0.035348717, -0.037825983, 0.024582125, 0.023569781, -0.010153228, -0.017864916, 0.006883948, -0.018043566, -0.01723369, 0.029631943, 0.065361775, 0.00034371356, 0.047735058, 0.0053475653, 0.0021586774, 0.0041446607, 0.03456266, -0.015602028, 0.011415682, -0.0038320248, -0.010087723, 0.037301946, -0.010224688, -0.0059936796, 0.019996798, -0.044876672, 0.00852752, 0.03720667, 0.0025174646, -0.040184155, -0.0027601297, -0.008771675, -0.017936377, -0.0011448434, 0.003915394, -0.029298464, -0.001025744, 0.0013584781, 0.03220449, -0.013934636, 0.017614808, -0.03456266, -0.008938414, 0.010945239, 0.012767461, 0.024915604, 0.035563096, 0.06660041, 0.014184744, 0.003141248, 0.04328074, -0.034777038, 0.033276387, 0.004305445, 0.011451412, 0.022235867, 0.017507618, -0.020508924, 0.0055202595, 0.05016469, -0.010486706, 0.029655762, -0.008795494, -0.0066040643, 0.015911687, -0.028512407, -0.0018415753, -0.022664625, 0.057834692, 0.018615244, 0.03634915, -0.0005567899, -0.012696001, 0.010427156, -0.04139897, 0.011814665, 0.014387214, -0.030584738, -0.016352354, -0.00009039462, -0.021890478, 0.01705504, 0.026416257, 0.042327944, -0.040184155, -0.006633839, 0.051736802, 0.026582997, 0.00016841406, -0.022664625, 0.020056346, 0.016245164, -0.05588146, -0.00028714133, 0.004415612, -0.024189098, -0.014911251, -0.00214379, -0.018400865, 0.046710804, -0.008051123, -0.03258561, 0.0081880875, -0.0063599106, -0.021973848, -0.020937683, 0.024296287, 0.004073201, -0.0054726196, -0.037087567, -0.037849806, -0.022998104, -0.009944804, 0.035825115, 0.031608995, -0.020842403, 0.021914298, -0.005570877, -0.023403041, 0.002839033, -0.021211611, 0.024725046, -0.009087288, 0.010760635, -0.0061931713, 0.0071757417, 0.03430064, 0.024915604, 0.013851265, -0.004874145, 0.030251259, 0.004415612, -0.00083890674, 0.0428758, 0.0055768318, 0.03677791, -0.0067648487, -0.038159464, 0.021759469, 0.068029605, -0.005553012, 0.009486271, 0.033133466, -0.0043381974, 0.024653586, 0.006889903, 0.004960492, 0.00029923738, 0.037635427, -0.0195204, -0.0013115826, -0.009855479, -0.0007346947, -0.0076819146, 0.007062597, 0.026320977, -0.006967318, -0.011111978, -0.005648291, -0.018853443, -0.050736364, 0.017507618, 0.0066040643, -0.018150756, -0.011653881, -0.01726942, -0.018115027, 0.01073086, -0.018198395, 0.017995927, -0.0057376157, 0.0053922273, 0.013815536, 0.0045049367, 0.012243424, -0.017507618, 0.0009781042, 0.010188958, 0.024189098, 0.006473055, 0.023045743, 0.046258226, 0.027440513, 0.018698614, 0.0021452787, -0.030370358, 0.032728527, -0.02152127, -0.037945084, 0.035301078, -0.0036831505, 0.0001987472, 0.018746253, -0.009516045, 0.01931793, -0.017900648, -0.013815536, -0.004415612, 0.030894397, 0.013136669, 0.010254462, 0.009450541, 0.028893527, 0.0019681184, 0.0030668108, 0.01961568, 0.02370079, 0.010010309, 0.021676099, -0.0072591114, -0.04763978, -0.015566298, 0.018924903, -0.0048473477, -0.018246036, 0.0060859816, 0.011052429, -0.008277412, -0.033204924, 0.0021973848, 0.0039660116, -0.033705145, 0.017495709, 0.017960196, 0.0038856196, 0.014744512, 0.035205796, 0.015340009, -0.02789309, -0.08151166, -0.04080347, -0.044304993, -0.024558306, -0.02829803, 0.020068256, 0.016388085, 0.035253435, 0.02353405, -0.007920113, 0.026987934, 0.033204924, -0.0006327158, 0.015959326, -0.008146402, 0.01510181, 0.008194042, 0.0066159745, -0.008986053, -0.008342916, -0.013732166, 0.022378786, 0.0036533757, 0.017924467, -0.011356132, 0.031680454, 0.0071578766, -0.0049158297, 0.024296287, 0.004233985, -0.0015721127, 0.0010994368, 0.005076614, 0.019687138, 0.0047431355, 0.02160464, 0.065695256, -0.0011686634, 0.006907768, 0.008890774, -0.011260853, 0.010373562, 0.049068972, 0.014149015, 0.02820275, 0.0007562815, 0.0067410287, 0.04349512, -0.025558742, -0.02152127, -0.006377775, 0.0042994902, -0.007723599, 0.0016867459, 0.026749736, 0.017781548, 0.012767461, 0.0045049367, -0.0301798, -0.031728093, 0.0139822755, -0.0017879804, 0.014315753, -0.014637322, -0.050450526, 0.019663319, -0.025320543, 0.009903119, 0.01742425, 0.021485541, -0.016268985, -0.03696847, -0.05187972, 0.013791716, -0.021961939, -0.0035610734, 0.001408351, 0.045877106, 0.009462452, 0.008122582, -0.023248212, 0.017614808, -0.004817573, 0.017590988, -0.015363829, -0.00052143226, -0.008628755, -0.03239505, -0.03237123, 0.0035134337, 0.026178058, 0.04540071, -0.0070804623, 0.01291038, -0.0061812615 ]
2401.09350
160
P. Ram, D. Lee, and A. G. Gray. Nearest-neighbor search on a time bud- get via max-margin trees. In Proceedings of the 2012 SIAM International Conference on Data Mining, pages 1011–1022, 2012. K. Sinha. Lsh vs randomized partition trees: Which one to use for nearest neighbor search? In Proceedings of the 13th International Conference on Machine Learning and Applications, pages 41–46, 2014. K. Sinha and O. Keivani. Sparse Randomized Partition Trees for Nearest Neighbor Search. In Proceedings of the 20th International Conference on Artificial Intelligence and Statistics, volume 54 of Proceedings of Machine Learning Research, pages 681–689, 20–22 Apr 2017. R. F. Sproull. Refinements to nearest-neighbor searching ink-dimensional trees. Algorithmica, 6(1):579–589, 6 1991. T. Ye, H. Zhou, W. Y. Zou, B. Gao, and R. Zhang. Rapidscorer: Fast tree ensemble evaluation by maximizing compactness in data level paralleliza55 56 4 Branch-and-Bound Algorithms tion. In Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 941–950, 2018.
2401.09350#160
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 160, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "P. Ram, D. Lee, and A. G. Gray. Nearest-neighbor search on a time bud- get via max-margin trees. In Proceedings of the 2012 SIAM International Conference on Data Mining, pages 1011–1022, 2012.\nK. Sinha. Lsh vs randomized partition trees: Which one to use for nearest neighbor search? In Proceedings of the 13th International Conference on Machine Learning and Applications, pages 41–46, 2014.\nK. Sinha and O. Keivani. Sparse Randomized Partition Trees for Nearest Neighbor Search. In Proceedings of the 20th International Conference on Artificial Intelligence and Statistics, volume 54 of Proceedings of Machine Learning Research, pages 681–689, 20–22 Apr 2017.\nR. F. Sproull. Refinements to nearest-neighbor searching ink-dimensional trees. Algorithmica, 6(1):579–589, 6 1991.\nT. Ye, H. Zhou, W. Y. Zou, B. Gao, and R. Zhang. Rapidscorer: Fast tree ensemble evaluation by maximizing compactness in data level paralleliza55\n56\n4 Branch-and-Bound Algorithms\ntion. In Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 941–950, 2018.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.060183194, 0.024181608, 0.06331272, 0.004919976, 0.02152151, -0.018139215, 0.0047966004, 0.04275414, -0.066201515, 0.043909658, 0.022568697, 0.005934063, -0.004676234, 0.043067094, 0.0100084655, -0.016526304, 0.080886215, -0.008979333, 0.00798631, 0.026504679, -0.03148785, 0.017308686, 0.005142654, -0.024939915, 0.017958665, 0.003806587, 0.065286726, 0.0128310565, 0.042248603, -0.05214272, 0.007119672, 0.0004107503, -0.007932145, 0.0052810754, -0.004540822, 0.04650957, -0.0041917595, 0.017994775, -0.014227307, -0.014768956, -0.024566779, 0.02739539, -0.030524915, -0.010526041, 0.022424258, -0.020570615, 0.014299527, -0.064468235, 0.022544624, 0.029923083, -0.058498066, 0.021882609, -0.03343778, -0.05772772, -0.042489335, 0.01987249, -0.0037704771, 0.015996693, 0.089263715, 0.019114183, -0.0034906252, -0.01428749, -0.012397738, 0.07327906, -0.01772997, 0.0059761913, -0.03136748, 0.034497008, 0.02915274, 0.012265335, -0.07640858, 0.013541219, 0.026384313, -0.020426176, 0.026625045, 0.01127833, 0.013950464, 0.06933104, -0.03358222, 0.009653384, 0.055127807, 0.009502926, 0.04383744, 0.0159004, -0.051950134, -0.04935022, -0.024639, 0.019186402, -0.029489765, -0.008491849, -0.04451149, 0.013324559, 0.024518633, 0.015924472, 0.038396876, -0.014672663, -0.010586224, -0.057342548, 0.03225819, 0.0146846995, -0.03026011, -0.037241362, -9.844418e-7, -0.07544565, 0.043211535, -0.03319705, -0.034785885, -0.005386396, -0.020077113, 0.03820429, -0.06986065, -0.021966865, -0.030573063, 0.011115836, 0.0026555834, -0.053587116, -0.056668494, -0.023110347, 0.023555702, 0.02413346, -0.015081909, -0.010471876, 0.018199397, 0.006800701, 0.027491683, -0.029249033, 0.05748699, -0.060423926, 0.031704508, 0.029465692, 0.04357263, 0.045305908, 0.007137727, 0.018283654, -0.05156496, -0.012734764, -0.04614847, -0.02944162, 0.010116795, -0.044270758, -0.049831685, 0.0073062396, -0.016417975, 0.00014368737, -0.040707912, 0.038083926, 0.013360669, 0.014371747, -0.013781952, 0.013842135, 0.034039613, -0.05840177, 0.009533018, -0.0139263915, -0.025878774, -0.03334149, 0.019041963, -0.000217976, -0.018572534, -0.032354485, 0.008383519, -0.013661585, 0.046798453, 0.024085315, 0.015443007, 0.020462286, -0.035748817, 0.03709692, -0.06706815, 0.0016655698, 0.05002427, -0.10390027, 0.008696471, -0.006951159, 0.019728051, 0.015816143, -0.039046858, -0.003710294, -0.020678945, -0.01697166, -0.030236037, 0.0010238666, -0.027563903, 0.004992196, 0.016875368, 0.05382785, 0.05214272, 0.03533957, -0.005184782, -0.0011321963, 0.015238385, 0.03379888, 0.028454615, 0.036663603, -0.010929268, -0.003827651, 0.027925001, 0.034497008, -0.012903277, -0.03276373, -0.0064757117, -0.03165636, -0.031704508, -0.04978354, -0.0060393834, 0.00093660096, -0.029056447, 0.0024103369, 0.014227307, -0.005612083, 0.0073724412, -0.0014925433, 0.03685619, -0.019306768, -0.037819117, -0.0009554082, -0.0051546907, 0.02710651, 0.0107065905, 0.04723177, -0.008943222, 0.037650608, -0.016646672, 0.05156496, -0.043789294, 0.013902318, 0.03731358, -0.07351979, 0.078093715, -0.01726054, 0.03545994, 0.007589101, 0.001600873, -0.012987534, -0.008190933, 0.021184484, -0.03928759, -0.021593729, -0.06201276, -0.044704076, -0.019511392, -0.008431666, 0.04325968, -0.0011359578, 0.0022177508, 0.02034192, -0.021148374, -0.033365563, -0.011013525, 0.010014484, -0.032282267, -0.012746801, -0.031969313, -0.042368967, -0.018079031, -0.034352567, -0.011025561, 0.010104759, 0.04833914, 0.017465163, -0.033895176, -0.0029835817, 0.0107667735, 0.0039841277, -0.043307826, -0.010297344, 0.005612083, 0.0035297442, -0.009569128, -0.030693429, -0.019595647, -0.013950464, -0.004862802, -0.021365033, -0.029634204, -0.038685758, -0.0054435697, 0.012445885, -0.012903277, -0.038396876, 0.022628881, -0.002041715, 0.07785298, -0.005160709, 0.02302609, 0.0178383, 0.002742849, -0.0050403425, 0.012518104, -0.0066201515, -0.0230622, -0.067260735, 0.003674184, -0.038902417, -0.004558877, 0.00030731043, 0.012421811, -0.03187302, 0.015202275, -0.033534076, 0.03996164, 0.002760904, -0.0052058464, 0.015093945, 0.007745577, 0.014937469, -0.039696835, 0.017645713, -0.0066442247, -0.004471611, -0.028286101, 0.026239872, 0.02997123, 0.0009847475, -0.014732846, -0.046341058, 0.082956515, -0.06191647, 0.027010217, -0.029730497, -0.035821036, -0.04222453, 0.047713235, 0.017826263, -0.014443967, -0.0035718726, 0.0014082867, 0.009605237, 0.014480077, -0.018355874, 0.019595647, -0.019788234, 0.012578287, 0.00855805, -0.024085315, -0.007763632, 0.035026617, -0.0031626269, -0.019535465, 0.04699104, -0.049831685, -0.009557092, 0.0054194964, -0.00870249, 0.018091068, 0.032426704, -0.0050553884, 0.06750147, 0.0074867895, 0.014263417, -0.026119506, -0.031295262, 0.0356766, -0.0033431763, 0.0093103405, 0.0005668505, -0.013493072, -0.03649509, 0.008527959, 0.028936079, 0.0037343672, -0.0025607948, -0.011212129, -0.060086902, 0.020317847, -0.0046250783, -0.045354053, -0.015358751, 0.034328494, 0.018488277, -0.03649509, 0.018620681, -0.040756058, -0.026119506, -0.05686108, 0.049181707, -0.013866208, 0.032715585, 0.046389207, 0.08786746, -0.005654211, -0.022231672, -0.019102145, -0.03172858, 0.024506597, -0.0069210674, 0.011182037, 0.0022689064, 0.0008651334, -0.0037403854, -0.01880123, -0.018897522, 0.004309117, 0.0039480175, -0.009340432, -0.0016836248, 0.030597135, -0.011043616, 0.030645283, 0.023591813, -0.043380044, 0.011440825, -0.005970173, -0.02886386, -0.022965906, 0.05686108, 0.0036440925, 0.053587116, 0.014997652, 0.014263417, 0.029321251, -0.045402203, -0.00096744485, -0.031993385, 0.021352997, -0.009400615, -0.007853907, 0.04708733, -0.008973314, 0.021726133, 0.04930207, 0.010255217, -0.00211243, -0.040491253, -0.033871103, 0.011428788, 0.050987203, -0.01887345, 0.0065419134, -0.022123342, 0.036759894, 0.036109917, 0.044920735, -0.02016137, -0.0067946827, 0.0069451407, 0.019294731, 0.041550476, 0.0066743162, -0.038733903, -0.016730929, 0.0029700405, -0.034256276, 0.012518104, 0.0038757976, -0.031247115, -0.0049500675, 0.00006648362, -0.003240865, 0.0037584405, 0.044270758, -0.05349082, 0.028478688, 0.033148903, -0.021762243, 0.012006547, 0.053298235, -0.019824345, 0.022315929, -0.007956218, 0.03225819, 0.020787274, -0.019920638, 0.014841176, -0.013673621, 0.0100385565, -0.025180649, -0.0050192783, 0.05397229, 0.006638206, 0.033847027, -0.0416227, -0.020534506, -0.037554312, -0.0035839092, 0.023351079, -0.018524388, -0.018500313, -0.016189279, -0.031608213, 0.007516881, -0.024963988, 0.031295262, 0.03011567, 0.035387717, 0.009069608, 0.06403492, 0.055175953, -0.008582124, 0.034930326, -0.07091988, 0.009334413, 0.060857244, -0.011230184, -0.00009182639, -0.004140604, -0.02081135, 0.033871103, -0.033100758, -0.0214854, -0.005103535, 0.004393373, -0.011296386, 0.019475281, -0.007896035, -0.0060032737, -0.020642836, 0.013300486, 0.010652426, 0.04061162, -0.00422486, 0.043139312, 0.017922556, 0.011555173, 0.03986535, 0.030982308, 0.006872921, -0.006180814, -0.025301015, 0.009099699, 0.019559538, -0.005867861, -0.03928759, -0.02406124, 0.019198438, -0.026119506, -0.024097351, -0.060568366, -0.031824872, -0.021003935, -0.009159883, -0.029128665, 0.0038126053, 0.034208126, -0.016345756, 0.008329354, 0.0030633246, -0.006427565, -0.026769485, -0.02331497, -0.0127106905, 0.020955788, -0.023940874, 0.017958665, -0.019968783, -0.044270758, 0.022195563, 0.0055338447, 0.002449456, -0.0087626735, 0.0029083528, -0.03430442, 0.008377501, 0.007119672, -0.012187097, 0.0064396015, 0.009942263, 0.005804669, 0.0029941138, -0.00046905276, -0.025662113, 0.0012457921, 0.016622597, 0.0019709996, -0.0094908895, -0.026384313, 0.00727013, 0.011170001, 0.00218465, 0.0063734003, -0.007631229, -0.0013947455, 0.0037403854, -0.04508925, 0.013673621, -0.033606295, -0.0006988773, -0.047279917, 0.032330412, -0.01829569, -0.014082868, 0.0022162462, -0.028671274, 0.02989901, -0.025180649, -0.01689944, -0.017104063, 0.019908601, -0.0031204985, 0.0060724844, 0.010116795, -0.029874938, 0.036037695, -0.052383453, -0.019451208, 0.004597996, -0.020558579, -0.050650176, -0.0015158642, 0.017392943, 0.006277107, 0.0049801595, 0.01765775, -0.013962501, -0.006656261, 0.008377501, 0.0009050048, 0.0115311, 0.017248504, 0.014094904, -0.0010517013, 0.011212129, 0.012385702, -0.01092325, -0.0044024005, 0.0069993054, 0.0020462286, -0.006253034, 0.033461858, -0.02395291, -0.010092721, -0.028213881, -0.020847458, 0.030380476, 0.019848417, 0.020666908, 0.029369399, -0.0035387718, 0.0069812504, -0.02191872, -0.0349544, 0.009761714, 0.042128235, 0.045859594, -0.008521941, -0.009725604, 0.024374194, 0.017717931, 0.009906154, 0.027347242, 0.024699183, 0.075830825, 0.025252867, -0.028550908, 0.008046493, -0.005804669, -0.032498926, 0.0111038, -0.024963988, 0.0056662476, -0.0056963395, -0.023736252, 0.020739129, 0.0126505075, 0.017055918, 0.0010479399, 0.021762243, -0.035532158, 0.00074852846, -0.004670216, -0.017104063, 0.004161668, -0.010297344, -0.0019063026, -0.010941304, -0.006198869, 0.011380642, 0.03483403, 0.040346812, 0.021064118, 0.0139263915, 0.0409005, 0.006487748, 0.0073062396, -0.017392943, -0.02997123, -0.023856618, -0.040587544, -0.01099547, -0.004748454, -0.014118977, 0.022640917, -0.044535562, 0.0030016368, 0.028021295, -0.0009997933, 0.033774808, -0.026528751, -0.00059769436, -0.0010622334, 0.019318806, -0.006824774, 0.048555803, -0.022580734, 0.022749247, -0.011771833, -0.021954829, 0.031247115, -0.03601362, -0.07573453, 0.00023057686, 0.014468039, -0.0024750337, 0.008768692, -0.012445885, -0.0059792004, 0.002298998, 0.020715056, 0.048724312, -0.043187458, 0.017501272, -0.02871942, -0.009827916, 0.012229225, -0.061483152, 0.008720545, 0.038276512, 0.009791805, -0.020727092, -0.036037695, -0.06206091, 0.02599914, 0.012229225, 0.023254786, -0.0027097482, 0.017814225, -0.018199397, -0.055127807, -0.012445885, 0.00031295262, 0.011537118, 0.026023213, -0.0051938095, 0.010459839, -0.017669786, 0.013541219, -0.042031944, 0.003911908, -0.02460289, 0.005789623, 0.012265335, -0.026576899, -0.019258622, 0.013950464, -0.021437254, 0.0042820345, -0.032282267, -0.026721338, -0.026649117, 0.01682722, -0.01600873, 0.008606196, -0.015057835, 0.014143051, 0.0027744453, -0.028623126, -0.022652954, 0.02489177, -0.007366423, 0.06234979, 0.0088529475, -0.00073160196, -0.025373235, -0.0012450399, 0.03870983, -0.009003405, -0.03430442, -0.036976553, -0.0552241, 0.0010050593, -0.0014007639, 0.005103535, 0.0105561325, 0.0082150055, 0.07164207, 0.026191726, 0.012307463, -0.00093660096, 0.0076974304, 0.0052118646, -0.04217638, -0.008961278, 0.0009493899, -0.02173817, -0.023555702, -0.020402102, -0.011501009, 0.004859793, -0.013517145, -0.020329883, -0.021966865, 0.013890281, -0.006240997, 0.011964419, -0.0014030207, 0.019138256, -0.020257663, -0.08401574, -0.024723256, 0.027973149, 0.012096822, 0.005708376, -0.0040082005, 0.033461858, -0.012144969, 0.025758406, 0.021280777, -0.037193213, -0.009129791, 0.024590854, 0.013806025, 0.007065507, 0.0112542575, 0.0146846995, 0.01156721, 0.0011231689, -0.046365134, -0.021714097, 0.031102674, 0.011368605, -0.0071858736, -0.041117158, 0.027587976, -0.003716312, -0.04280229, -0.01726054, 0.02338719, 0.0027774544, -0.012433847, -0.009876062, 0.022857577, -0.034111835, -0.0071858736, 0.009123772, 0.022472404, -0.014443967, -0.016165206, -0.041381963, -0.025060281, -0.019138256, -0.021653913, 0.011675539, -0.026432458, -0.016562415, -0.03430442, -0.023194604, 0.024554743, 0.008696471, -0.021858536, 0.0064576566, 0.0022658973, 0.016730929, -0.0022854568, 0.026263947, 0.00034059928, 0.013601402, 0.009851988, -0.035026617, 0.034352567, 0.009659403, -0.021882609, -0.03892649, -0.023928838, -0.0019679905, -0.0059942463, 0.026239872, -0.0065118214, -0.023507556, 0.0082150055, -0.01740498, 0.044848517, 0.009412652, -0.0004299337, -0.0016971661, 0.020390065, 0.003204755, -0.029032372, 0.015635593, -0.027130583, -0.012746801, 0.014672663, -0.015960583, -0.0053412584, 0.011807943, -0.0009411147, -0.01689944, 0.031030456, 0.05209457, 0.033221122, 0.016105022, 0.034400713, 0.010694553, -0.021930756, 0.012163023, -0.015695777, 0.035845112, 0.004877848, 0.039576467, 0.010628352, 0.012626434, -0.0044024005, 0.015358751, 0.014780993, 0.036182135, 0.0065298765, 0.004236897, -0.0075289174, 0.03452108, 0.0069631957, -0.019896563, -0.024410304, -0.004751463, 0.012626434, 0.0004442272, -0.013493072, 0.014239344, -0.012794947, 0.0073724412, -0.02237611, 0.009448761, -0.0057775867, -0.011579246, -0.013553255, 0.024771404, -0.00016465745, -0.053779703, 0.013083827, 0.033534076, 0.017429054, 0.0214854, -0.023916801, -0.018199397, 0.02424179, 0.021304851, 0.015057835, -0.03401554, 0.0068669026, -0.018741047, -0.0029023346, -0.008263152, 0.029249033, 0.021533547, 0.012421811, -0.019848417, -0.031776726, -0.0031325351, 0.011561192, -0.015045798, -0.023339042, 0.0041887504, 0.020197479, -0.026937997, 0.027130583, -0.02081135, 0.007571046, 0.0141069405, 0.020077113, 0.010929268, 0.024590854, 0.009900135, -0.0031566084, 0.00030260862, 0.011398697, -0.04436705, -0.0022297874, -0.009797824, 0.02725095, -0.010652426, -0.008925168, 0.006878939, 0.034184054, 0.03298039, 0.008281208, 0.00633729, -0.03601362, -0.003716312, 0.018716974, -0.007354386, -0.027925001, -0.015382824, 0.007691412, -0.0147448825, -0.009388578, -0.023736252, 0.0052810754, 0.041670844, 0.029850865, 0.016851295, 0.013493072, 0.012734764, 0.045354053, 0.040731985, 0.006271089, -0.041020866, 0.017874409, 0.021389106, -0.007799742, 0.021389106, 0.05743884, 0.014660626, -0.004913958, -0.013842135, 0.0057625407, 0.018885486, -0.030958235, -0.001097591, 0.03798763, -0.034761813, 0.05854621, -0.029465692, -0.045931812, 0.025517674, 0.0127708735, 0.0126505075, 0.025445454, -0.01726054, 0.014841176, -0.01697166, -0.033510003, 0.022352038, 0.037963558, 0.008395555, 0.003710294, 0.0021079164, 0.002750372, -0.03158414, 0.008160841, -0.0010396647, 0.0030452695, -0.014480077, -0.007571046, -0.037337653, -0.0003808468, -0.003370259, 0.026384313, 0.018343838, 0.019451208, 0.018753083, -0.022677027, 0.012879203, 0.00066239125, 0.004676234, -0.009653384, 0.024362156, -0.0073784594, -0.035821036, -0.025373235, -0.020353956, -0.0051396447, 0.061964616, 0.009280249, -0.016947588, 0.020534506, -0.02761205, 0.04217638, 0.037843194, 0.022135379, -0.014600443, -0.008991369, -0.0020041002, -0.0100686485, 0.01847624, 0.00003573377, -0.0022508514, -0.011922291, 0.0074687344, 0.031054528, -0.026480606, 0.02879164, -0.010574187, 0.0056812936, -0.00039720908, 0.005897953, 0.019607684, 0.018488277, 0.013613438, -0.017585529, -0.000055434364, -0.018331802, -0.034689594, 0.0070775435, 0.019836381, -0.046461426, 0.055801857, -0.013216229, 0.03305261, 0.0025999139, 0.011958401, -0.005690321, 0.002979068, 0.0060423925, -0.014118977, -0.018668827, -0.0016761019, 0.0121329315, 0.016995734, -0.042248603, 0.006180814, -0.0063011805, 0.013252339, -0.019824345, 0.030163817, -0.003445488, -0.035652526, -0.029465692, -0.049494658, -0.010225125, 0.02406124, 0.027660197, 0.005001223, 0.011019543, -0.02116041, 0.018452168, 0.0056090737, -0.0059460998, 0.008786746, -0.0072340197, -0.033293344, 0.02481955, 0.012150987, -0.005804669, -0.019655831, 0.030789722, 0.03620621, -0.009075626, 0.0009531513, 0.02843054, -0.041430112, 0.00018572157, -0.008064548, -0.0023967957, -0.032571144, -0.0067886645, 0.005016269, -0.0038577428, -0.0013533696, -0.0008967296, 0.028695347, 0.011302404, -0.012614397, -0.02070302, -0.024963988, -0.0066923713, 0.017669786, 0.059509143, 0.024518633, -0.027130583, 0.053875994, 0.011663503, -0.048579875, 0.014034721, 0.016887404, 0.041333817, -0.05464634, 0.0076252106, 0.010243179, 0.006120631, 0.029393472, -0.0037915413, -0.02746761, -0.020883568, 0.011976455, -0.012265335, -0.024229754, -0.006824774, -0.02097986, 0.0072400384, 0.019174365, 0.025204722, 0.039841276, -0.002675143, 0.008786746, -0.030019376, 0.020739129, 0.016369829, -0.0005062911, 0.029730497, -0.0076011373, -0.020137297, -0.028334247, 0.0034063687, -0.0206308, 0.0037193215, -0.016249463, 0.009737641, 0.01160332, -0.012975496, 0.04677438, -0.006018319, -0.014022684, 0.0011803429, 0.0032529016, -0.0036591382, 0.033726662, -0.012469958, 0.016887404, 0.00408343, -0.020955788, 0.0021395124, 0.022219636, -0.038878344, -0.0035267351, 0.010014484, 0.025252867, 0.032474853, 0.050265003, -0.000114442104, -0.012903277, -0.012163023, -0.007119672, 0.0020507423, -0.022652954, -0.05435746, -0.038757976, 0.018572534, 0.025445454, 0.005461625, -0.04443927, -0.0100987395, -0.029995304, -0.01561152, 0.03480996, 0.017356833, -0.005232929, 0.036759894, 0.014094904, -0.0024118414, 0.017874409, 0.028237954, -0.03842095, 0.008654343, 0.003279984, -0.00576555, 0.01568374, -0.0048357197, -0.008377501, 0.016875368, -0.027949076, 0.007462716, 0.03083787, -0.0003547047, -0.039769053, -0.008997387, -0.025108429, 0.01081492, -0.0024073278, -0.019848417, -0.015515228, -0.00784187, -0.00813075, 0.018753083, -0.014648589, 0.012018584, -0.033606295, 0.007354386, 0.025156574, 0.0044144373, 0.0014812589, 0.029561985, 0.05551298, 0.008864985, 0.014636553, 0.077371515, -0.021581693, 0.010568169, -0.007890017, -0.018066995, 0.026167654, 0.02534916, -0.013914354, -0.003391323, 0.020221554, -0.019186402, 0.0036079825, -0.008311299, 0.0034545152, 0.0258547, -0.028767567, -0.001455681, 0.00015939142, 0.032330412, 0.019788234, 0.04193565, -0.016490195, 0.009460798, -0.008913131, -0.0349544, -0.0023215667, 0.026937997, -0.030741576, -0.0034815979, -0.018343838, -0.0063553452, 0.015924472, 0.008979333, 0.059364703, -0.028286101, -0.019222513, 0.032956317, 0.011928309, 0.019523429, -0.026047286, 0.014696736, 0.023964947, -0.04650957, 0.011880162, -0.0026149598, -0.0023441354, -0.017802188, -0.00034417264, -0.014383784, 0.026239872, -0.022905724, -0.030717501, 0.0003635441, -0.00090801396, 0.008690453, -0.0035086803, 0.0026616016, 0.013204193, -0.0027067391, -0.03974498, -0.02395291, -0.01876512, -0.036832113, 0.009557092, 0.009364505, -0.022713138, -0.014829139, -0.0055067623, -0.037650608, 0.017934592, -0.014937469, 0.025950992, -0.017826263, 0.020991897, -0.02703429, 0.01883734, -0.0139865745, -0.0061567407, 0.012782911, -0.007781687, 0.006650243, 0.00659006, 0.009514963, 0.021714097, 0.020317847, 0.017982738, -0.004877848, -0.02406124, 0.0072460566, 0.059894316, -0.014780993, -0.0058167055, 0.036422867, 0.0050644157, 0.0066863527, 0.011615356, -0.020474322, 0.012205152, 0.024073277, 0.0016068913, -0.026793558, -0.010050593, 0.0023983002, -0.022424258, 0.010652426, 0.017356833, -0.019294731, 0.0066020964, 0.022412222, -0.021076154, -0.049590953, 0.020715056, -0.018151252, -0.019222513, 0.005257002, -0.0032559107, -0.02012526, 0.012235243, -0.016165206, 0.022400185, -0.0027413445, 0.027636122, 0.00007833219, 0.00844972, 0.015154128, 0.0048838663, 0.0048327106, -0.0114047155, 0.012024602, 0.01203062, 0.018319765, 0.026793558, 0.022580734, 0.0036561291, 0.0003998421, -0.03545994, 0.03341371, -0.022821467, -0.0429708, 0.022279818, -0.007534936, 0.008816838, 0.007294203, -0.011284349, 0.024699183, 0.013047717, -0.013866208, 0.004233888, 0.027732415, -0.0034545152, 0.0075590094, -0.026865778, 0.02843054, 0.0025833636, 0.012554214, 0.013420852, 0.027973149, -0.0008478307, 0.022123342, -0.023627922, -0.03709692, -0.005554909, 0.027299097, 0.010562151, -0.0234233, 0.01994471, 0.009870044, -0.012614397, -0.034208126, 0.0070594884, 0.013830098, -0.03627843, 0.025902847, 0.020113224, -0.0034755794, -0.0063553452, 0.010574187, 0.025613967, -0.03033233, -0.04508925, -0.047400285, -0.026047286, -0.02746761, -0.028093515, 0.0077034486, 0.016586488, -0.015226348, 0.024398267, -0.009858008, 0.024867695, 0.024747329, 0.0115250815, 0.040707912, 0.0029595084, 0.019499354, 0.010646407, 0.015743924, -0.00286472, 0.002423878, -0.0074867895, 0.0230622, 0.010869085, 0.026167654, -0.02607136, 0.0107667735, -0.0202697, -0.0030783704, 0.016610561, 0.009454779, 0.0040774113, -0.05310565, 0.0005739972, 0.009779769, -0.007252075, 0.017525347, 0.06596078, -0.0019529447, 0.006596078, 0.026865778, -0.010562151, 0.014118977, 0.04157455, 0.010447802, 0.005940081, -0.014022684, 0.006818756, 0.023519592, -0.023327006, -0.01772997, -0.023122383, 0.015551337, 0.001922853, 0.011302404, 0.026817631, 0.015924472, 0.025493601, 0.015154128, -0.032595217, -0.020751165, 0.011922291, -0.0134088155, 0.025806554, -0.016032802, -0.038517244, 0.01267458, -0.014034721, 0.006572005, 0.014564333, 0.020991897, -0.031897094, -0.008810819, -0.046822526, 0.009045534, -0.021112265, -0.025589895, 0.0072099464, 0.03606177, 0.000773354, 0.008564069, -0.0069030123, 0.0063071987, -0.006650243, 0.022869613, 0.0036049732, 0.009460798, -0.0057324492, -0.0045919777, -0.02030581, 0.0051125623, 0.013541219, 0.039311662, -0.030067524, 0.006728481, -0.023158493 ]
2401.09350
161
56 4 Branch-and-Bound Algorithms tion. In Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 941–950, 2018. P. N. Yianilos. Data structures and algorithms for nearest neighbor search In Proceedings of the 4th Annual ACM-SIAM in general metric spaces. Symposium on Discrete Algorithms, pages 311–321, 1993. Chapter 5 Locality Sensitive Hashing Abstract In the preceding chapter, we delved into algorithms that inferred the geometrical shape of a collection of vectors and condensed it into a navi- gable structure. In many cases, the algorithms were designed for exact top-k retrieval, but could be modified to provide guarantees on approximate search. This section, instead, explores an entirely different idea that is probabilistic in nature and, as such, is designed specifically for approximate top-k retrieval from the ground up. # 5.1 Intuition
2401.09350#161
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 161, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "56\n4 Branch-and-Bound Algorithms\ntion. In Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 941–950, 2018.\nP. N. Yianilos. Data structures and algorithms for nearest neighbor search In Proceedings of the 4th Annual ACM-SIAM in general metric spaces. Symposium on Discrete Algorithms, pages 311–321, 1993.\nChapter 5 Locality Sensitive Hashing\nAbstract In the preceding chapter, we delved into algorithms that inferred the geometrical shape of a collection of vectors and condensed it into a navi- gable structure. In many cases, the algorithms were designed for exact top-k retrieval, but could be modified to provide guarantees on approximate search. This section, instead, explores an entirely different idea that is probabilistic in nature and, as such, is designed specifically for approximate top-k retrieval from the ground up.\n# 5.1 Intuition", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.050526835, 0.033021856, 0.06434655, 0.013625759, 0.024390593, -0.015504755, 0.01614725, 0.0064916313, -0.08345171, 0.03896191, 0.01855964, -0.034815997, 0.0045520216, 0.0060946173, 0.029263861, 0.02139632, 0.072395936, -0.0074250684, 0.025821054, -0.011031531, 0.016292723, 0.008667631, 0.0051005674, 0.014886505, 0.035058446, -0.00086600543, 0.03833154, 0.031494413, 0.042525943, -0.016486684, 0.0029912419, -0.014886505, -0.02064472, -0.0057309405, -0.0125832185, 0.053484738, 0.008837347, 0.031882335, 0.029215371, 0.013746984, -0.011546739, 0.02049925, 0.0035064507, -0.0037701165, -0.0035761555, -0.018729357, 0.031179227, -0.052999835, -0.0147895245, 0.02902141, -0.011183063, 0.012655954, -0.00871006, -0.014013681, 0.003815576, 0.025287662, 0.014498583, -0.0038761888, 0.09179203, -0.0025578605, -0.019808264, -0.034379583, -0.008103932, 0.06138865, -0.0029215373, 0.0017304956, -0.048465997, 0.0056854812, -0.0025957434, -0.015710838, -0.042186514, 0.0322945, 0.045556583, 0.01381972, 0.013080243, -0.00747962, -0.022317635, 0.058624703, -0.0155896135, 0.0033882558, 0.024390593, 0.013795475, 0.056151703, -0.0066492246, -0.030500364, -0.03130045, -0.015916923, -0.009310127, -0.06391014, -0.0036822278, -0.021408442, 0.0011698272, 0.022475228, -0.010607241, 0.032536954, -0.016935218, 0.030742815, -0.021711506, 0.0123771345, -0.011255798, -0.035882782, -0.048659958, 0.02688784, -0.041580383, 0.06929256, -0.016232109, -0.0027290916, 0.013650004, 0.022111552, 0.028851695, -0.056345664, -0.008419119, -0.044101875, 0.026184732, -0.013734861, -0.020790191, -0.03896191, -0.00889796, 0.011158817, 0.041531894, -0.011795252, 0.005746094, 0.016389703, 0.015262304, 0.012728689, -0.025869545, 0.052320972, -0.040974256, 0.013419675, -0.014850137, 0.048635714, 0.017868655, -0.011989213, -0.028560754, -0.020184064, -0.004555052, -0.057121508, -0.04766591, 0.0036094924, -0.015650226, -0.021469055, -0.050138913, 0.033482514, 0.015650226, -0.030742815, 0.018620254, -0.013940945, 0.05731547, 0.06822577, 0.037701163, 0.00042239547, -0.019226382, 0.02494823, 0.02182061, -0.062455434, -0.02139632, 0.0071462495, -0.00416713, -0.0059764227, 0.013201469, 0.029215371, 0.001299387, 0.04519291, 0.032342993, -0.00558547, -0.018086862, -0.0278334, -0.03937408, -0.05731547, -0.05547284, 0.027542459, -0.09707747, -0.0019820386, 0.02097203, 0.018523274, 0.016207865, -0.01595329, -0.015371407, -0.0051823948, -0.012910527, -0.009134349, -0.0044126124, 0.04766591, -0.00828577, 0.017080689, 0.015674472, 0.05784886, 0.013286327, 0.002712423, 0.03757994, -0.01666852, -0.019893123, 0.0030518547, 0.03231875, -0.022547964, -0.0059764227, -0.010855753, 0.026669635, -0.018535396, -0.07297782, 0.009140411, -0.008261525, -0.010201135, -0.00388225, -0.013431798, -0.001535777, 0.0010228411, -0.007049269, 0.019396098, -0.032827895, -0.020014348, -0.005921871, 0.04899939, 0.024269367, -0.013516655, -0.010292054, -0.044271592, 0.036222212, -0.008322138, 0.07375366, -0.010795141, 0.03190658, 0.016086638, 0.026160486, -0.048005342, 0.008370629, 0.01221348, -0.094992384, 0.035713065, -0.027906135, 0.05978847, 0.008400935, 0.02082656, -0.028633488, -0.0119286, -0.01159523, -0.025142191, -0.017517101, -0.041168217, -0.027469723, -0.022305513, -0.042525943, 0.0052824058, 0.029991215, 0.011655842, 0.028172832, -0.02182061, 0.01851115, 0.026766615, -0.012486238, -0.039131626, -0.028124342, -0.031591393, -0.061340157, -0.000984958, -0.014062171, -0.021420565, 0.01443797, 0.027857644, 0.022657067, -0.028512264, -0.032027807, 0.007916032, 0.021032643, -0.066625595, 0.021638772, -0.027809154, 0.0035761555, -0.03294912, -0.05426058, -0.011819497, -0.008419119, 0.020426515, -0.040877275, -0.013904577, -0.028439527, -0.016316967, 0.022123674, 0.005652144, -0.017783796, -0.0015638104, -0.006467386, 0.038258802, -0.025239171, 0.04344726, 0.032367237, -0.035882782, -0.028003115, -0.017383752, -0.027106047, 0.008643386, -0.053387757, -0.023954181, -0.022729801, -0.012643831, 0.013346939, 0.012237726, -0.045702055, 0.010801202, -0.005215732, 0.051060226, 0.0095586395, 0.011764945, 0.0073644556, -0.008625202, -0.0011311865, 0.009649559, 0.03270667, 0.012037703, 0.0026609022, 0.009528333, 0.0009887464, -0.020220432, 0.010158706, -0.029263861, -0.015759328, 0.07772986, -0.034573544, -0.0029200218, -0.013601514, -0.005373325, -0.0370223, 0.055327367, -0.021796364, 0.0061309854, -0.005558194, -0.005806707, 0.0049732807, 0.034597788, -0.054115113, 0.027421232, -0.036464665, 0.0015486572, -0.02343291, -0.02296013, -0.025869545, 0.0012410472, 0.021190237, -0.026087752, 0.005215732, -0.030160932, -0.015722962, 0.005770339, -0.014995608, 0.027663684, 0.052708894, -0.014753156, 0.043010846, -0.03425836, -0.014692544, -0.042235002, -0.08432453, -0.02263282, -0.0011167909, 0.009049492, -0.007570539, -0.0036155537, -0.051351167, 0.02991848, 0.016280599, -0.0015547185, 0.00067810575, 0.0370223, -0.0015744176, 0.0101526445, -0.0040610577, -0.04056209, -0.061049215, -0.011849803, 0.021093257, -0.04955703, 0.026499918, -0.030136686, -0.01860813, -0.03886493, 0.03510694, 0.009219208, 0.024923986, 0.08136663, 0.088058285, 0.03166413, -0.028512264, -0.03326431, -0.030354893, 0.05610321, 0.0027351528, -0.037385978, -0.028706225, -0.06129167, 0.010867876, -0.033094592, 0.0083524445, 0.0016713981, 0.017020077, -0.0036458601, -0.029894235, 0.028584998, 0.0010061725, 0.016583664, 0.04536262, -0.03484024, 0.013553023, 0.024487574, -0.023093479, -0.019674916, 0.051351167, 0.007018963, 0.05009042, 0.031542905, 0.0057854922, -0.0038610357, -0.024633044, 0.023820832, -0.008728244, -0.00030476876, -0.0006246907, -0.0008250918, 0.024148142, -0.03564033, 0.022644944, 0.045605075, 0.014922872, -0.035034202, -0.028512264, -0.03990747, -0.0014539496, 0.048296284, -0.0155896135, 0.008528221, -0.06914709, -0.0037004116, 0.039883226, 0.0353009, -0.013298449, 0.0059279324, -0.006243119, 0.02574832, 0.017965635, 0.01282567, -0.046623368, -0.022075184, -0.022717679, -0.08844621, 0.005897626, -0.036100987, 0.005703665, 0.012189235, -0.019056667, 0.023069233, 0.011061837, 0.0043035094, -0.014668299, 0.044586778, 0.049484294, 0.019105157, -0.02972452, 0.02703331, -0.04558083, 0.041168217, 0.010401158, 0.004618696, 0.0060976483, -0.026111996, -0.010037481, 0.0011084566, -0.004364122, -0.029409332, -0.02892443, 0.033724964, -0.028366793, 0.07443252, -0.026960576, 0.038355783, -0.03324006, -0.00979503, 0.033676475, -0.005306651, -0.04841751, -0.010892121, 0.0038489131, 0.012680199, -0.035858534, 0.008631264, 0.023590503, 0.0034640217, 0.0028351638, 0.04119246, 0.07186254, 0.058770176, 0.000118763215, -0.073074795, -0.024208754, 0.07351121, -0.011819497, -0.02594228, 0.01784441, -0.009443475, -0.0070795757, 0.008740366, -0.0029230525, 0.013068121, -0.022014571, -0.0048763, 0.026354447, 0.007812991, 0.014886505, -0.00034852364, -0.006637102, -0.005970361, 0.03498571, 0.014098538, 0.04548385, 0.0074674976, 0.006273425, 0.016607909, 0.025918035, -0.0056309295, 0.008322138, -0.026451427, 0.027300008, -0.0037761778, 0.01784441, -0.046138465, -0.015916923, -0.007855419, -0.013843965, -0.03517967, -0.06158261, -0.032246012, -0.023723852, -0.0066189184, -0.0083524445, 0.00088494696, 0.050866265, -0.0050399546, -0.0390104, 0.011577046, -0.039858982, 0.0034337153, 0.0014675875, -0.0061703837, 0.02157816, -0.019711284, 0.027542459, -0.0038276985, -0.023687484, 0.005558194, 0.0039701387, 0.021844855, 0.023311684, -0.004470194, -0.013310572, -0.02366324, 0.0076857037, -0.015007731, 0.013456043, 0.010910305, -0.00086221716, 0.014825892, 0.0033337043, -0.0060885563, -0.015759328, -0.0003492813, 0.03711928, 0.010619364, 0.014086416, 0.03918012, -0.017056443, 0.010861815, -0.03115498, -0.015601736, -0.041677363, 0.011413391, -0.041992553, -0.010298115, -0.013322694, -0.058964137, -0.028948676, 0.011777068, 0.029239617, -0.028657734, 0.007303843, -0.04562932, 0.017153423, 0.0022275206, -0.03324006, 0.0044762557, 0.033967417, 0.011389146, 0.006079464, 0.017577713, -0.017711062, 0.010613302, -0.019553691, 0.0009652589, -0.017941391, -0.0020047685, -0.03270667, -0.01297114, 0.0017820165, 0.0039792308, -0.002627565, 0.029385088, -0.01983251, -0.025990771, 0.0065401215, 0.010831508, 0.02281466, 0.016074516, -0.018535396, -0.0139894355, -0.0048005343, 0.022572208, -0.018850582, 0.0011470973, 0.008988879, -0.0051278435, -0.03399166, 0.024026915, -0.01448646, -0.0050399546, -0.01908091, 0.014983485, 0.039325587, 0.018438416, 0.008164545, 0.027760664, -0.038186066, -0.021481179, -0.029094147, -0.023081357, -0.002906384, 0.016547296, 0.011395208, 0.014328867, 0.007328088, -0.0052763447, 0.030282157, 0.0133833075, 0.019517323, -0.0066492246, 0.05561831, 0.022220654, -0.013807597, 0.0081524225, -0.0111770015, -0.018159596, 0.015844187, -0.02902141, -0.014692544, -0.026960576, -0.020487128, -0.0045823283, -0.012461993, 0.01619574, 0.001147855, 0.034234114, -0.009019186, 0.0318096, -0.020862928, -0.006352222, -0.009346494, -0.020487128, -0.0099586835, -0.011577046, -0.015056221, 0.024172386, 0.0075584166, 0.028997166, 0.033409778, 0.009504088, 0.032367237, 0.052805874, 0.00018183842, -0.021978203, -0.028027361, -0.009504088, -0.036634378, -0.024293613, -0.0051793642, -0.010261748, 0.018244455, -0.054600015, -0.0030594314, 0.048490245, -0.005364233, 0.060515825, -0.0025684675, 0.011958906, 0.005752155, 0.004424735, -0.008134238, 0.006740144, -0.01898393, 0.024402715, 0.009194963, 0.01605027, 0.048465997, -0.031785354, -0.033215817, 0.016353335, 0.018195964, -0.014413725, -0.014195519, -0.013286327, -0.023748096, -0.028803205, 0.017395874, 0.049193352, -0.006873492, 0.0031973254, -0.019396098, -0.007370517, 0.016401825, -0.02683935, -0.00572791, 0.018377803, -0.0015107741, -0.01287416, -0.031058, -0.060224883, 0.008297893, 0.0008705514, 0.012898405, -0.0119770905, 0.03896191, -0.034306847, -0.027372742, -0.0015410805, -0.020050716, 0.017517101, 0.027203027, 0.01595329, -0.0010531475, -0.0074493135, 0.009067676, -0.029263861, 0.02366324, -0.017929267, 0.00037409464, 0.012268032, -0.0019729468, 0.024596676, 0.014983485, 0.008540344, 0.013055998, -0.0030306403, -0.03110649, -0.008194852, -0.004758105, -0.024499696, 0.008625202, -0.005146027, -0.0059885453, 0.043010846, -0.022875272, -0.018596008, 0.009134349, 0.006655286, 0.020996276, 0.0029139605, 0.016971586, -0.03673136, 0.028221322, 0.05353323, -0.015516878, -0.028488018, -0.020935662, -0.024451206, 0.016983708, 0.0079463385, 0.022923762, 0.018814215, 0.010619364, 0.062116, -0.010043542, 0.040634826, -0.004509593, -0.039786246, 0.012310461, -0.012195297, -0.027663684, 0.025481623, -0.01069816, 0.0032670302, -0.015201692, -0.005458183, 0.007497804, 0.009988991, -0.0337977, -0.012558973, 0.00009328689, -0.007673581, -0.03816182, -0.008316077, 0.04128944, 0.000030140664, -0.070262365, -0.0055218264, 0.051108718, 0.023129847, 0.024002671, 0.001874451, 0.022160042, 0.00046633976, -0.0077220714, -0.017311018, -0.030354893, 0.008964634, 0.009679865, 0.02962754, 0.004773258, 0.013298449, 0.009807152, -0.010310238, -0.018705111, -0.00070841215, 0.013104488, 0.022002447, 0.04109548, 0.012692321, -0.02698482, 0.012631709, -0.021008398, -0.054212093, -0.009522271, -0.0081402995, -0.021117501, -0.008752489, -0.02333593, 0.030791305, -0.033215817, -0.014947117, 0.033021856, 0.011237614, -0.023263194, 0.0006519665, 0.009237392, -0.05353323, -0.019844633, -0.034573544, 0.024657289, -0.0025684675, 0.014801647, -0.021553913, -0.012037703, 0.013710616, -0.005115721, -0.062164493, 0.005006618, 0.0019199105, 0.020038594, -0.0002928356, 0.008025135, 0.00828577, -0.0115588615, -0.0015228967, -0.021881223, 0.022547964, 0.024208754, 0.00013969357, -0.039204363, -0.0290699, -0.004918729, 0.030597344, 0.020705335, 0.039446812, 0.011649781, 0.004482317, -0.004506562, 0.041725855, 0.021590281, 0.0003634874, -0.010019297, 0.015710838, -0.027469723, -0.019493079, 0.02703331, -0.0153835295, -0.003621615, 0.041968305, -0.0047793197, -0.0145955635, 0.018814215, 0.010067787, -0.04056209, -0.0027457601, 0.028536508, 0.03130045, 0.0050854143, 0.036464665, -0.011958906, -0.036804095, 0.026596898, -0.0023411696, 0.02793038, 0.015807819, 0.026596898, -0.005612746, 0.00463991, 0.001974462, -0.002859409, 0.023032866, 0.007218985, -0.019383974, 0.018256577, -0.000075197764, 0.0064007123, -0.003233693, -0.023820832, -0.022160042, -0.0030654927, 0.03871946, -0.004094395, 0.023796586, 0.014716789, -0.045847524, 0.014353112, -0.0037216262, 0.021214481, 0.029312352, 0.017117057, 0.000017414342, 0.025336152, 0.024329979, -0.02882745, 0.0020532587, 0.049096372, 0.040586334, 0.01865662, 0.013759106, 0.011474004, 0.0045823283, 0.015238059, 0.017965635, -0.04657488, 0.01600178, 0.009116166, 0.00643708, -0.0057582166, 0.033312798, 0.030063951, 0.036367685, -0.04592026, -0.02967603, 0.0029912419, -0.013116611, -0.010255687, -0.025990771, 0.046744596, 0.030694325, -0.031179227, 0.017771674, 0.02962754, -0.000987231, 0.07676005, 0.07588723, -0.012898405, -0.0013668188, -0.00029113088, 0.011758884, 0.0151895685, -0.0019577935, 0.0016668522, 0.020668967, 0.010498138, 0.052902855, 0.0015228967, -0.030573098, -0.013456043, 0.06148563, 0.042331982, 0.028221322, 0.032173276, -0.0290699, -0.023723852, 0.0017820165, 0.0137833515, -0.018098984, -0.007788745, -0.0127771795, 0.022838905, -0.006825002, -0.052805874, -0.03408864, 0.011637659, 0.015274427, 0.027324252, 0.029991215, -0.0073402105, 0.013637881, 0.01841417, -0.017929267, -0.021990325, 0.03731324, -0.0021850916, -0.006303732, -0.0028472864, 0.03205205, 0.012522605, 0.0034155315, 0.014171273, 0.0075826617, 0.0013569691, 0.00034151526, -0.013904577, 0.029748764, -0.038283046, 0.03806484, -0.043932162, -0.0038367906, 0.036901075, 0.023396542, -0.00007803899, 0.050769284, -0.016365457, 0.0016032087, -0.016923096, -0.026548408, -0.00017596655, 0.038743705, -0.012140744, -0.015929045, 0.033215817, -0.015916923, -0.044659514, 0.018850582, 0.0018017156, 0.029845744, -0.015941167, -0.007376578, -0.04710827, 0.007176556, -0.014983485, -0.022269145, -0.002585136, 0.005618807, 0.003167019, -0.042089533, 0.018147474, 0.012995386, -0.026693879, -0.028948676, 0.014656176, -0.0027806123, -0.039955962, -0.015407775, 0.0062128124, -0.010661792, 0.038743705, 0.03214903, -0.04720525, -0.018147474, -0.027493969, 0.064249575, 0.05620019, 0.0008637325, 0.030282157, -0.009988991, 0.0037185955, 0.01292265, 0.016535174, -0.03316733, 0.000017047352, -0.0026396876, -0.016110884, 0.013880332, -0.019965857, 0.01704432, -0.01874148, 0.0033670412, -0.032633934, 0.014086416, 0.015795697, 0.004888423, 0.0037246568, -0.015613859, 0.012225603, -0.020899296, -0.014716789, 0.0012440778, 0.018486906, -0.033385534, 0.01051026, -0.011607352, 0.024281489, -0.010285993, 0.014280377, -0.0070977593, 0.020668967, 0.0062976703, -0.015735084, -0.020681089, -0.00041936483, 0.016438194, 0.011346717, -0.030936776, 0.009376801, -0.0022047907, 0.026596898, 0.0029185065, 0.045508094, 0.005458183, -0.027227271, -0.031445924, -0.026184732, -0.03176111, 0.037070792, -0.01282567, 0.025433132, 0.00024453478, -0.045750543, 0.026451427, -0.0011895263, 0.0035579717, -0.00079402776, -0.0060976483, -0.02594228, 0.021420565, 0.012946895, -0.014195519, -0.013795475, -0.0041822838, 0.0298215, -0.009079798, -0.0018198994, 0.010031419, -0.048126567, -0.00160927, -0.01978402, -0.0026518102, -0.04010143, -0.019250628, -0.033846192, -0.009304065, -0.016219987, 0.020765947, 0.04592026, 0.010613302, 0.018814215, 0.00743113, -0.025384642, 0.0004023175, -0.00009025625, 0.043010846, 0.037652675, -0.030039705, 0.047932606, -0.0007909971, -0.052854367, -0.03593127, -0.022511596, 0.011613414, -0.010958795, 0.0054884893, 0.002235097, 0.010952733, 0.022972252, 0.0033731025, 0.005249069, -0.011280043, 0.014692544, 0.020329535, 0.0015138048, 0.018547518, -0.024827005, 0.009976868, 0.01609876, 0.009340433, 0.014316744, -0.00019509747, 0.014013681, -0.020741701, 0.009079798, 0.022475228, -0.03210054, 0.028003115, -0.010267809, -0.026645388, -0.047544684, 0.015153201, -0.024317857, 0.004430796, -0.018329313, 0.007152311, 0.016438194, -0.0121771125, 0.00989201, -0.016644277, 0.0036610134, 0.005643052, -0.0029624507, 0.0009622283, 0.03096102, -0.00842518, 0.0070310854, 0.0050429855, -0.000499298, 0.016438194, 0.047908362, -0.02328744, -0.013856087, -0.020984152, -0.006746205, 0.00023146515, 0.0075523555, -0.009813213, 0.0013615151, -0.0071704946, -0.04388367, 0.00064742053, -0.014510705, -0.036319192, -0.033482514, 0.0012857491, 0.015735084, -0.0113649005, -0.0022941947, -0.0019911306, -0.032246012, 0.015977535, 0.023966303, 0.021214481, -0.0027230303, 0.04170161, -0.018753601, 0.017201914, 0.02688784, 0.04070756, -0.023542013, -0.005946116, 0.030282157, -0.004206529, 0.028512264, 0.0076917647, 0.028851695, 0.019820387, -0.045241397, 0.031833846, 0.021517545, 0.006879553, -0.031373188, -0.021129623, -0.032270256, -0.016874606, -0.009449536, -0.018135352, -0.013953067, -0.0053763557, 0.008752489, 0.020608354, -0.006352222, 0.00043186624, -0.045120172, 0.005667297, 0.029797254, -0.021735752, -0.0017668633, 0.010504199, 0.028027361, 0.0014122784, 0.00012084678, 0.043810934, -0.060709786, 0.0011061837, -0.026475674, 0.013674249, 0.019844633, 0.0032730915, -0.024136018, 0.011092143, 0.032585446, -0.0046035424, 0.0087585505, 0.009298004, 0.01841417, 0.03370072, -0.03573731, -0.005415754, 0.0077948067, 0.03408864, 0.04526564, 0.021796364, -0.0041247015, -0.005658205, 0.0024169355, -0.008206974, -0.0077645, 0.017529223, -0.012765056, 0.017626204, 0.006164322, 0.038137577, 0.0038792195, 0.0068189404, 0.018729357, -0.030451873, -0.013734861, 0.0345493, -0.010431464, 0.007322027, -0.022026693, 0.023699606, 0.012346828, -0.031882335, 0.0133711845, 0.015347162, 0.013710616, -0.026645388, -0.0025366459, -0.02319046, 0.032924876, 0.010158706, -0.022378247, -0.028657734, -0.010952733, 0.017020077, -0.017214037, 0.021372074, 0.0061915983, -0.011516433, -0.04274415, -0.006788634, -0.019626426, -0.026815105, 0.006740144, 0.0117710065, -0.027178781, -0.027809154, 0.01685036, -0.0012721112, -0.0033064284, 0.021614525, 0.03658589, -0.020281045, 0.008740366, -0.01249836, 0.015868433, 0.011492188, 0.01027387, 0.012310461, -0.021432688, -0.017880777, -0.010631486, 0.006358283, 0.027518213, 0.022705557, 0.02092354, 0.004339877, -0.0031973254, -0.025675584, 0.046526387, -0.012261971, 0.019480955, 0.02323895, 0.0019305178, 0.038210314, 0.010352667, 0.005855197, 0.02343291, 0.008316077, -0.03389468, 0.0045520216, -0.008176668, 0.014316744, -0.0029806346, 0.0072553526, 0.0033337043, -0.014365234, -0.00009925347, 0.0046520326, -0.0037428406, -0.011716455, 0.022147918, -0.013262082, 0.002456334, 0.020899296, 0.00096071296, -0.015807819, 0.017820165, -0.018499028, -0.005418785, -0.01292265, -0.01126792, 0.010995163, 0.027009066, 0.02713029, 0.0064310185, -0.016110884, 0.0016653368, -0.0073402105, 0.02253584, 0.019917367, 0.033943173, 0.012558973, 0.013152978, -0.0023851139, -0.024681535, 0.038452763, -0.051254187, -0.03316733, 0.036004007, 0.009007063, -0.0059279324, 0.029579049, 0.0021456934, 0.008940388, -0.010552689, -0.004067119, -0.007043208, 0.031518657, 0.01140733, 0.0038640662, -0.01769894, 0.05794584, -0.035422124, -0.02059623, -0.012092254, -0.006740144, 0.016789747, 0.0051490576, -0.008031197, -0.042477455, -0.007049269, 0.00019509747, 0.017953513, -0.018305067, 0.0016577602, -0.016862482, -0.022511596, -0.0054127234, 0.017250404, 0.019117279, -0.02793038, 0.026039261, 0.024172386, 0.021699384, 0.034403827, 0.0014077324, 0.01495924, 0.023202581, -0.052805874, -0.048029587, -0.028415283, 0.001528958, -0.032124788, 0.007837236, 0.0025745288, -0.014922872, 0.023784464, 0.011710394, 0.011461881, 0.026330203, 0.008685815, 0.028657734, 0.02087505, 0.0079463385, 0.006831063, -0.0019396098, -0.003554941, 0.012946895, -0.017250404, 0.000797816, 0.022547964, 0.036004007, -0.007673581, 0.011098204, -0.012486238, -0.035761554, 0.00937074, 0.00965562, -0.013274204, -0.017905023, -0.03488873, 0.00067204447, -0.008588835, 0.018438416, 0.04213802, 0.033870436, 0.017783796, 0.022050938, 0.004594451, 0.031736866, 0.029942725, 0.017589835, 0.008182729, -0.030936776, -0.018208086, 0.008455486, -0.020014348, -0.019844633, 0.0069947178, 0.016232109, -0.017347384, 0.02268131, 0.013419675, 0.028003115, 0.0178929, 0.011516433, -0.0178929, -0.003918618, 0.030597344, 0.007855419, 0.026378693, 0.0058673196, -0.0016289691, 0.0008031197, -0.01973553, -0.008825225, -0.025821054, 0.010431464, -0.036173724, -0.014062171, -0.04776289, 0.01657154, -0.041143972, -0.007855419, 0.0063158544, 0.05324229, -0.017541345, 0.0353009, 0.016232109, -0.017456489, 0.0036155537, -0.004624757, 0.005264222, -0.017989881, 0.014134906, -0.03110649, -0.016365457, 0.0043762447, 0.018256577, 0.020620476, -0.030160932, 0.018862706, -0.015565368 ]
2401.09350
162
# 5.1 Intuition Let us consider the intuition behind what is known as Locality Sensitive Hashing (LSH) [Indyk and Motwani, 1998] first. Define b separate “buckets.” Now, suppose there exists a mapping h(·) from vectors in Rd to these buckets, such that every vector is placed into a single bucket: h : Rd → [b]. Crucially, assume that vectors that are closer to each other according to the distance function δ(·, ·), are more likely to be placed into the same bucket. In other words, the probability that two vectors collide increases as δ decreases. Considering the setup above, indexing is simply a matter of applying h to all vectors in the collection X and making note of the resulting placements. Retrieval for a query q is also straightforward: Perform exact search over the data points that are in the bucket h(q). The reason this procedure works with high probability is because it is more likely for the mapping h to place q in a bucket that contains its nearest neighbors, so that an exact search over the h(q) bucket yields the correct top-k vectors with high likelihood. This is visualized in Figure 5.1(a).
2401.09350#162
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 162, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "# 5.1 Intuition\nLet us consider the intuition behind what is known as Locality Sensitive Hashing (LSH) [Indyk and Motwani, 1998] first. Define b separate “buckets.” Now, suppose there exists a mapping h(·) from vectors in Rd to these buckets, such that every vector is placed into a single bucket: h : Rd → [b]. Crucially, assume that vectors that are closer to each other according to the distance function δ(·, ·), are more likely to be placed into the same bucket. In other words, the probability that two vectors collide increases as δ decreases.\nConsidering the setup above, indexing is simply a matter of applying h to all vectors in the collection X and making note of the resulting placements. Retrieval for a query q is also straightforward: Perform exact search over the data points that are in the bucket h(q). The reason this procedure works with high probability is because it is more likely for the mapping h to place q in a bucket that contains its nearest neighbors, so that an exact search over the h(q) bucket yields the correct top-k vectors with high likelihood. This is visualized in Figure 5.1(a).", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.03157907, -0.009121392, 0.03254471, 0.026111454, 0.015763436, -0.042984072, 0.0073140776, 0.039982755, -0.06435867, 0.010765592, 0.027116241, 0.0016866094, 0.0048543033, 0.0077773244, -0.000010736282, 0.015437206, 0.02698575, -0.00988477, -0.013753858, -0.023266727, -0.0038951868, 0.0017420684, 0.019652098, 0.017629473, 0.0018627736, -0.030561231, 0.031840052, 0.02925631, 0.05097018, -0.0342933, 0.0064560925, -0.013238415, -0.0031905298, -0.008188374, -0.019717345, 0.04937818, 0.0126773, 0.046194173, 0.0052588284, 0.024402007, -0.02909972, 0.032153234, -0.028995326, -0.05018723, 0.00940195, 0.0056731408, 0.028525556, -0.05099628, -0.037503406, 0.054336876, 0.0017975275, -0.004332335, -0.028551653, 0.01038064, 0.012129233, -0.029856574, -0.0033569073, 0.019090982, 0.055850584, -0.012853464, -0.042462103, -0.03779049, -0.031944446, 0.034580383, -0.010113131, -0.013610317, -0.01749898, 0.006870405, 0.012781694, -0.0038397277, -0.03207494, 0.016781274, 0.046194173, 0.028969228, 0.0139887445, 0.0055785337, -0.04008715, 0.053423434, -0.016298452, 0.01667688, 0.023449415, 0.0010871616, 0.059243377, -0.019508557, -0.03841685, -0.022614267, -0.0110591985, -0.007183586, -0.06263617, -0.014667303, -0.0075293896, 0.04608978, 0.0043094987, 0.000923231, 0.0017649046, -0.0065409127, 0.031422477, -0.0052490416, -0.024806533, -0.005112025, -0.05201412, -0.03956518, 0.060443904, -0.06404548, 0.047968864, -0.026359389, -0.019260623, 0.03732072, -0.0075946357, 0.0017110766, -0.0408962, -0.023462465, -0.043036267, 0.02616365, 0.018073145, -0.0010382271, -0.037659995, -0.0060189446, -0.025550338, 0.03024805, 0.0017779538, -0.023945285, 0.021492036, -0.004710762, -0.020069672, -0.04347994, 0.050082836, -0.059608754, 0.012305398, -0.041653052, 0.033118874, 0.01259248, -0.008840835, -0.031761758, -0.031448577, -0.020343706, -0.009819524, 0.007751226, -0.030770019, -0.020082721, -0.024049679, -0.04186184, 0.0053566974, 0.011039625, -0.021661675, 0.01242284, -0.055641796, 0.042749185, 0.075737566, 0.0077577503, -0.012951333, -0.039017115, -0.0034906615, 0.0068899784, -0.019182326, -0.02928241, 0.009923918, 0.011254936, -0.019156229, 0.008279718, 0.0036211535, 0.010145755, 0.050004542, -0.011039625, 0.027090143, -0.008410211, -0.04595929, -0.03888662, -0.036537766, -0.05705111, -0.03186615, -0.057625275, -0.011405002, -0.0055524353, 0.042044528, -0.008638572, -0.014732549, -0.043949712, 0.027559914, -0.016924815, -0.01945636, 0.00792739, 0.027116241, -0.010661198, 0.029647786, 0.03288399, 0.029882673, 0.005614419, -0.01813839, 0.0013799531, -0.022457676, 0.054650057, 0.025902666, 0.030039262, 0.014314975, 0.0017649046, -0.0014680352, 0.042514298, 0.027716504, -0.06816903, 0.008057882, 0.037033636, 0.021831315, -0.0066061583, -0.029308507, 0.018360227, 0.021544233, 0.03776439, -0.012736021, -0.038364653, -0.030326346, -0.0029703246, 0.032283727, 0.023958335, 0.011294085, -0.030717822, -0.053710517, 0.031344183, -0.03382353, 0.02585047, -0.022105347, 0.012540283, 0.016220158, 0.010948281, -0.058095045, 0.02761211, 0.03220543, -0.09933052, 0.04496755, -0.032805692, 0.035519928, 0.015515501, 0.032675203, -0.0670729, 0.0067464374, 0.022692563, -0.025472041, -0.019051835, -0.013401531, -0.037242424, -0.0204481, -0.036224585, -0.023788694, 0.008716867, 0.000445304, 0.0065506995, -0.036955338, 0.051909726, 0.042070627, -0.04512414, -0.038991015, -0.043767024, 0.0005403185, -0.04640296, -0.030352443, -0.016050518, -0.020187115, 0.03679875, 0.008397161, 0.0060124197, -0.018464621, -0.015985273, 0.007803423, 0.012383693, -0.03546773, -0.031083198, -0.031109298, 0.003464563, -0.0604961, 0.0052914512, -0.027925292, 0.005425206, 0.0015993428, -0.030978804, -0.018569015, -0.022875251, 0.004329073, 0.0135581205, -0.014784746, 0.016076617, -0.037712194, -0.0062701413, 0.02598096, -0.010843887, 0.037973177, -0.009486769, -0.054023694, -0.0072031594, -0.009356278, -0.046637848, 0.0092388345, -0.053162448, -0.0074837175, -0.03481527, -0.030561231, 0.0474469, -0.025615584, -0.044523876, 0.020970067, -0.0034254156, 0.06628995, 0.016428946, 0.0063256007, 0.0017110766, -0.02813408, 0.00416922, 0.04316676, 0.016455043, -0.0050500412, 0.018999638, 0.008318867, -0.0054023694, -0.031239789, 0.044993646, -0.04133987, -0.021165805, 0.055693995, -0.00445304, -0.044419482, -0.008625522, 0.0041659577, -0.020474197, 0.03157907, -0.032179333, 0.029699983, -0.0059765344, -0.028890934, -0.019652098, -0.003973482, -0.041078888, 0.056163765, -0.009454147, -0.013505924, -0.00933018, -0.034397695, -0.04191404, -0.008879982, 0.028995326, -0.043949712, -0.008371063, -0.030039262, 0.008051357, -0.0019508557, -0.011561593, 0.017120553, 0.048856214, 0.010282771, 0.043871418, -0.005862354, 0.0010292558, -0.021178855, -0.039486885, -0.029647786, -0.013701662, -0.00011713697, 0.0056405175, -0.0023749548, -0.06963054, -0.03332766, -0.0054219435, -0.009049621, -0.010817789, 0.042279415, 0.012983955, 0.000098531666, 0.009206212, -0.024793483, -0.046533454, -0.010008737, 0.030587329, -0.018020948, 0.020395903, -0.030039262, -0.022483775, -0.010106607, 0.025289353, 0.013323235, 0.022927448, 0.030195853, 0.06425427, 0.0055295993, -0.013453728, -0.023919187, -0.055537403, 0.07996551, 0.01652029, -0.0040093674, -0.038312458, -0.04595929, -0.028342867, -0.02763821, -0.0036407274, -0.013440678, 0.025589485, -0.0001165253, -0.019678196, 0.037842687, 0.02223584, 0.03776439, 0.016298452, -0.018699506, -0.019991377, -0.018125342, -0.06002633, -0.01666383, 0.042279415, -0.00850808, 0.0441846, 0.027742604, 0.00907572, -0.0064887158, 0.0171597, 0.028969228, -0.018908294, 0.006987848, 0.0064104204, 0.041157182, 0.02029151, -0.0059112883, 0.030065361, 0.02763821, -0.027507717, -0.06848221, -0.015802583, -0.0023162332, 0.0061331247, 0.048777916, -0.036668256, 0.028212374, -0.06498502, -0.013845203, 0.047655687, 0.013610317, 0.014993533, -0.0044138925, -0.011241888, 0.06002633, 0.009082245, -0.015006582, -0.035519928, 0.009467196, 0.004322548, -0.051805332, -0.010315394, -0.07041349, -0.0050761397, 0.014784746, -0.041078888, 0.01717275, 0.010935231, -0.014536811, 0.010191427, 0.0408962, 0.037451208, 0.017133603, -0.043036267, -0.0047401227, -0.017381538, 0.01700311, 0.01896049, -0.041757446, 0.012997005, -0.001172797, 0.0025380698, 0.04916939, 0.015450255, 0.004733598, -0.051309463, 0.034736976, -0.019665148, 0.021661675, -0.048334245, 0.076572716, -0.021544233, -0.025928764, -0.0036113667, 0.012050938, -0.046298567, 0.006257092, -0.029386804, 0.051727038, -0.05872141, -0.054858845, -0.022496823, 0.008547227, 0.045854896, 0.047994964, 0.045541715, 0.014575958, 0.009434573, -0.06086148, -0.046663947, 0.043793123, -0.014145335, -0.015880879, 0.021244101, 0.010987428, -0.020800428, 0.03531114, 0.02307099, 0.038025375, -0.015711239, -0.0036244157, 0.046846636, -0.000075134856, 0.062218595, 0.03943469, -0.0045411224, -0.014354122, 0.017838258, 0.034606483, 0.02748162, -0.003038833, -0.005330599, -0.008860408, -0.0043682205, -0.018451571, 0.02990877, -0.028342867, 0.002854513, -0.0043029743, 0.015058779, -0.026424633, -0.026202798, 0.0015455148, -0.002063405, -0.051074576, -0.045045845, -0.02254902, -0.041992333, -0.0007996714, -0.03400622, -0.025263255, 0.03630288, 0.010204476, -0.0023374383, 0.0030013165, -0.03792098, 0.00931713, 0.01946941, -0.017955702, 0.03384963, 0.008162276, 0.03679875, -0.003996318, -0.0012502767, 0.0045639584, 0.0062799286, 0.0220923, 0.02192266, -0.027690407, -0.02108751, -0.0029279147, -0.0024728237, 0.00441063, 0.014328023, 0.022301085, 0.024767386, -0.016950913, 0.0030486197, -0.008403686, -0.008573325, 0.009082245, 0.04593319, 0.003823416, 0.032675203, 0.03536334, -0.033432055, 0.029491195, -0.05003064, -0.015293664, -0.026959652, 0.05376271, -0.024636893, -0.0005015787, -0.0018415686, -0.0685866, -0.040478624, 0.018203637, 0.021322396, -0.019195376, 0.0041431217, -0.030717822, -0.0014101294, -0.0023276515, -0.017107503, 0.013179694, 0.05023943, 0.00051340455, 0.011235363, 0.0033014482, -0.015606846, 0.007177061, 0.0005439886, -0.011718184, 0.017929604, -0.009826049, -0.010132705, -0.02810798, 0.0052816644, -0.002769693, 0.00028708245, 0.039199803, -0.03465868, -0.045385126, -0.00050361763, -0.005353435, 0.029021425, 0.011222314, -0.006612683, -0.011737757, -0.014784746, 0.023579909, -0.019900033, 0.031787857, 0.01815144, -0.022314135, -0.022653414, 0.018490719, -0.0113462815, 0.012912185, -0.012520709, 0.015632944, 0.02664647, 0.0107721165, 0.013975696, 0.010974379, -0.06326253, -0.015006582, -0.04040033, -0.0028039473, 0.0030779806, 0.009943492, -0.010321919, 0.025915716, 0.037738293, -0.023279777, 0.03353645, 0.021713872, 0.00074217335, -0.013023104, 0.029543392, 0.021961806, -0.036041897, 0.009199687, -0.02060469, -0.009519393, 0.01782521, -0.0060058953, -0.026398536, -0.015893929, -0.014197532, 0.024610795, -0.01274907, 0.025876567, -0.028812638, 0.030978804, 0.0022754546, 0.03705973, -0.0044204174, -0.0035004483, -0.032179333, 0.001036596, -0.02990877, 0.004364958, 0.001564273, 0.0110591985, 0.0013293874, 0.02043505, 0.036015797, -0.011137494, 0.030456837, 0.05981754, -0.0047596963, -0.012194479, -0.0044432534, -0.0092845075, -0.0037646948, -0.04676834, -0.0051511726, 0.0005851751, -0.02322758, -0.025119714, -0.044236794, 0.0032851365, 0.011992216, 0.036015797, -0.008481981, -0.020187115, -0.012762119, -0.005679665, -0.016729077, 0.03906931, -0.01454986, 0.027533816, -0.00133999, -0.017042257, 0.031944446, -0.021218002, -0.04689883, -0.0035232846, 0.027325029, -0.001911708, -0.03403232, -0.022888301, -0.04916939, -0.021452889, 0.006593109, 0.040191542, -0.009852148, 0.0018595112, -0.0035298092, 0.027011847, -0.0073336517, -0.028421162, 0.022209741, -0.0017110766, 0.017042257, -0.0073532253, -0.010726444, -0.047812276, -0.0027093405, -0.03223153, -0.0030893986, -0.020304559, 0.012585956, -0.037425112, -0.03220543, 0.028029686, -0.011861725, 0.0066028964, 0.03288399, 0.045802698, -0.0067007653, 0.018973539, 0.022261938, -0.03249251, 0.013936548, -0.021231052, -0.00825362, -0.009799951, -0.0073206024, 0.017251045, 0.036381174, 0.03304058, 0.018007899, 0.019508557, 0.0034286778, -0.009917393, -0.004886926, -0.0027272832, 0.010993953, 0.003506973, 0.0056470423, 0.02484568, 0.0043910565, 0.009193162, -0.013251465, -0.008025259, 0.006876929, -0.01120274, 0.020408953, -0.055015434, -0.0006055645, 0.02862995, -0.027116241, -0.031944446, -0.02468909, -0.0041985805, -0.014863041, 0.021857413, 0.024101876, 0.033771336, -0.013049202, 0.043714825, 0.0043453844, 0.019704295, -0.004103974, -0.04689883, -0.008971326, -0.036250684, -0.04006105, -0.0068965033, -0.021387642, 0.0004196134, 0.031422477, -0.009062671, -0.001911708, 0.022274988, -0.059138983, -0.009271458, 0.0028789802, -0.0122597255, -0.028342867, -0.0253285, 0.032179333, 0.004221417, -0.11545934, -0.000071107956, 0.032335922, -0.00073646434, 0.02270561, 0.017903505, 0.034136713, 0.0021743232, 0.0058884523, -0.027533816, -0.002671824, -0.014171434, -0.011307133, 0.014184482, 0.005702501, -0.0113984775, 0.012377168, 0.0118552, -0.032179333, 0.012579431, -0.010700346, 0.032101035, 0.039826166, 0.038312458, -0.009689032, 0.009310606, -0.02549814, -0.023279777, -0.0015267567, 0.011254936, -0.014080089, -0.018412424, -0.015802583, 0.020891773, -0.019104032, -0.021818265, 0.014406319, 0.019730393, -0.003960433, 0.01832108, 0.014093138, -0.055119827, -0.010041361, -0.045045845, 0.039173704, -0.037503406, 0.002237938, -0.018908294, 0.0031628003, 0.01235107, -0.009349753, -0.016233208, 0.011457199, 0.012031364, 0.006217945, 0.0022754546, 0.016742125, 0.007229258, -0.023501612, -0.0012078667, -0.030195853, -0.01979564, 0.017029209, -0.019365016, 0.00082454644, -0.0018611425, -0.019482458, 0.030013165, 0.00082454644, 0.0106285745, 0.013068776, -0.024127975, -0.009030048, 0.044576075, 0.06185322, 0.0130753005, -0.00998264, 0.0055720094, -0.008912605, 0.008690769, 0.017838258, -0.007457619, -0.013466776, 0.04102669, 0.020382853, -0.008051357, 0.030352443, 0.000055815923, -0.03810367, 0.023814794, -0.007933915, 0.013845203, -0.0025136026, 0.06028731, -0.0074641434, -0.03173566, -0.0050337296, -0.0114441505, 0.043923613, 0.012605529, 0.02928241, -0.016937865, 0.030274149, -0.028395064, -0.016924815, 0.0063777976, 0.0187778, -0.0106285745, 0.032257628, 0.009323655, 0.037425112, -0.006159223, -0.026724765, -0.008645096, 0.00727493, 0.03645947, -0.00081027386, 0.018738654, 0.028995326, -0.040504724, 0.010530706, -0.018060096, 0.014040941, 0.005082664, -0.010511132, -0.0046324665, 0.027820898, 0.023018792, -0.0040550395, -0.017198848, 0.012964382, 0.062583975, 0.011607265, 0.0204481, -0.01748593, 0.008103554, 0.004081138, 0.015398058, -0.058825802, 0.02925631, 0.027325029, 0.01585478, 0.02076128, 0.013936548, -0.030221952, 0.038025375, -0.017459832, -0.0015601952, -0.030274149, -0.0035559076, -0.026685618, -0.008116604, 0.025876567, 0.04645516, -0.034188908, 0.03943469, 0.03893882, -0.009793426, 0.05475445, 0.06028731, 0.013806055, 0.0043682205, -0.011639888, -0.00605483, 0.044288993, -0.0004975008, 0.018033996, 0.022131447, -0.01243589, 0.038860522, 0.0021123395, -0.030169755, -0.034919664, 0.0685866, 0.026281092, 0.011894347, 0.020578591, 0.007699029, -0.021204954, -0.02748162, 0.0048543033, 0.0081818495, -0.028838737, 0.00384299, 0.03961738, 0.030717822, -0.042749185, -0.02585047, 0.0026669307, 0.020669935, 0.018412424, -0.00040248633, 0.01649419, 0.03170956, -0.013819105, -0.009832574, -0.0187778, 0.011215789, -0.012859988, -0.013623367, -0.024428107, 0.03906931, -0.0034384646, -0.010028312, -0.010941756, -0.0064691417, -0.005128336, -0.022823054, 0.009552016, 0.019730393, -0.009493294, 0.010034836, -0.039695673, -0.0023814794, 0.005330599, 0.008984376, 0.0063256007, 0.0115876915, 0.01216838, -0.019508557, 0.009689032, -0.043949712, -0.00175838, 0.026150601, -0.03387573, -0.01357117, 0.05248389, 0.0017746915, -0.07328432, -0.004550909, 0.003908236, 0.032936186, 0.01913013, -0.0041072364, -0.049064998, 0.0310571, -0.0055295993, -0.042566497, 0.014849992, -0.023149284, 0.0011409896, -0.04170525, -0.0027550128, -0.0015561173, -0.031944446, -0.0441324, 0.016911766, -0.010256672, -0.024284564, -0.0016221789, 0.001134465, -0.0006977245, 0.041157182, 0.0014639574, -0.006276666, -0.023671253, 0.015424157, 0.062375184, 0.049299885, -0.003322653, 0.022144496, -0.016376749, 0.02518496, -0.00016158582, -0.009636835, -0.02829067, 0.008481981, 0.02483263, -0.033927925, -0.0058460427, -0.027429422, 0.0087560145, 0.0028855049, -0.0018252571, -0.028160177, 0.01650724, -0.0018790851, 0.027533816, 0.01699006, -0.022901349, 0.015672091, -0.015841732, -0.027429422, -0.02598096, -0.0038266785, -0.028969228, 0.006361486, -0.017773014, 0.03202274, -0.01406704, 0.015424157, 0.029517295, 0.022170594, 0.013871302, 0.031683464, -0.0073140776, -0.011189691, 0.022183644, 0.0058134194, -0.032936186, 0.0072162086, 0.008201423, 0.030509034, 0.00399958, 0.030039262, -0.02320148, -0.061696626, -0.01521537, -0.033405956, -0.053031955, 0.03857344, -0.0002809656, 0.037216324, 0.012579431, -0.023684302, 0.02583742, 0.015084878, 0.011470249, -0.0046977126, -0.021492036, -0.015424157, 0.025289353, -0.004851041, 0.006831257, -0.005624206, -0.009441097, 0.011809528, -0.0034906615, -0.022118397, 0.01996528, -0.017616423, 0.023240628, -0.029412901, -0.0002954421, -0.046350766, -0.012716447, 0.0051544346, -0.029021425, -0.015110976, -0.0024614057, 0.04282748, -0.0022933972, 0.02829067, -0.0016694823, -0.009871721, -0.005523075, -0.00024446865, 0.012324971, 0.02240548, -0.045828797, 0.044993646, -0.017068356, -0.050291624, -0.011737757, -0.016977012, 0.024950074, 0.033745237, 0.009806476, -0.01666383, -0.0031106034, -0.009891295, 0.00066020805, -0.014902188, -0.0020943969, 0.018869147, 0.024793483, -0.008344965, 0.039721772, -0.02977828, 0.0017273881, 0.009519393, -0.013819105, 0.0022297823, -0.013701662, 0.0006459355, -0.016415896, -0.011209264, 0.022966595, -0.019978328, -0.004873877, 0.0047857948, -0.02990877, -0.031657364, -0.0050435164, -0.034136713, 0.01585478, -0.01993918, 0.0075098155, 0.023945285, -0.021948759, 0.017968751, -0.0057351245, -0.012442414, -0.00094932946, 0.0019590114, -0.0011197847, 0.021766068, -0.010237099, -0.0040680887, 0.004596581, -0.0068638804, 0.032779597, 0.040452525, -0.012031364, -0.03202274, -0.0026179962, 0.021713872, 0.005859092, -0.005092451, -0.008227522, -0.0039897934, 0.014575958, -0.03580701, -0.004335597, -0.014471565, -0.017407635, -0.038860522, 0.031344183, -0.023292825, -0.028525556, 0.008925654, -0.006987848, 0.009349753, 0.023488563, 0.01832108, 0.023292825, 0.0013905555, 0.037529506, -0.043245055, 0.008168801, 0.007548963, 0.022810005, -0.047603488, 0.020656887, 0.013936548, -0.005689452, 0.025093615, -0.015959173, 0.029465098, 0.027064044, -0.031109298, 0.0277948, 0.047551293, -0.00018482971, -0.021635577, -0.033118874, -0.019038785, -0.013975696, -0.005014156, -0.016546387, -0.043871418, 0.008129653, 0.0106285745, 0.009362802, -0.007098766, 0.02027846, -0.041496463, -0.0049293363, 0.028160177, -0.019652098, -0.011248412, 0.0010056042, 0.023175383, 0.011124444, -0.0107721165, 0.005852567, -0.05444127, -0.002378217, -0.0072227335, 0.0055850586, 0.003908236, -0.00023223502, -0.0147064505, 0.015541599, 0.033614744, 0.0051544346, 0.0006907921, 0.006570273, -0.00799916, 0.03157907, 0.00016688705, -0.009362802, 0.027064044, 0.026568174, 0.024545548, 0.009114867, 0.0020209951, -0.0058786655, 0.0044432534, 0.024584696, -0.00826667, -0.004831467, -0.010439361, -0.0053012385, 0.018060096, 0.041235477, 0.011411527, 0.016324552, 0.035415534, -0.01218143, 0.000026378757, 0.010413263, -0.019665148, 0.009180114, 0.02157033, 0.051570445, 0.019560754, -0.022966595, 0.024402007, 0.008364539, 0.02468909, -0.0014027893, -0.0008783744, -0.0017322815, 0.02714234, -0.0016866094, -0.017303241, -0.044497777, 0.006589847, -0.0073336517, -0.017720817, 0.021165805, -0.0015814002, -0.0101000825, -0.034423795, -0.017381538, -0.021452889, -0.02256207, -0.018451571, 0.020904822, -0.021766068, -0.00964336, 0.020748232, 0.015776485, -0.008390637, -0.0015960805, 0.010191427, -0.003670088, 0.015306714, -0.002929546, 0.008240571, 0.008847359, 0.022653414, 0.011431101, -0.005904764, 0.027742604, 0.00088000554, 0.00494891, 0.023123186, -0.00005826265, 0.015241467, -0.012383693, -0.0062473053, -0.03664216, 0.03536334, -0.039147604, 0.015972223, 0.016898716, 0.0023814794, 0.00051666686, 0.014615106, -0.0042703515, 0.007875193, 0.025054468, -0.041496463, 0.045750502, -0.00964336, -0.0023798482, 0.006276666, -0.019534655, 0.0098586725, -0.01177038, -0.020200165, 0.0020943969, 0.011267986, 0.010047886, 0.03635508, -0.008547227, 0.02763821, 0.008279718, -0.005633993, -0.010654673, 0.016311502, -0.0106742475, 0.022392431, -0.0076794554, -0.037346818, -0.00449545, -0.014223631, 0.024180172, 0.008899556, -0.006309289, 0.012892611, 0.00429645, 0.03139638, 0.014902188, 0.030378543, -0.021139707, 0.017929604, -0.0030959232, -0.012690349, 0.042566497, -0.019900033, -0.036407273, 0.020970067, 0.009421524, -0.019143179, 0.014119237, -0.00024446865, 0.010759067, -0.019247573, -0.0011091821, -0.00006407362, 0.013205793, 0.0056698783, -0.005350173, -0.0033373334, 0.056894522, -0.020852625, 0.0020764542, -0.027037947, 0.005144648, 0.03285789, -0.018203637, -0.02141374, 0.000089407426, -0.012044413, -0.018856097, 0.0019247573, 0.0016050518, -0.02436286, -0.013147071, 0.0059145507, -0.009506344, 0.019247573, 0.036250684, -0.0130753005, 0.028917031, 0.020239312, 0.03090051, 0.0050794017, -0.006182059, 0.003595055, 0.015385009, -0.04838644, -0.02600706, -0.002768062, 0.014484614, -0.02273171, 0.038730033, 0.0074771927, 0.013871302, -0.0020862413, -0.0018138391, 0.017851308, 0.027090143, 0.004319286, 0.0066811913, 0.008540703, -0.009114867, -0.006482191, -0.016859569, -0.0056078946, 0.01619406, -0.030978804, -0.0027925293, 0.011757331, 0.02321453, -0.0046748766, 0.015750386, 0.014797795, -0.03531114, 0.007196635, 0.022927448, -0.008625522, -0.022901349, -0.006257092, -0.012585956, 0.0014688508, 0.006876929, 0.042462103, 0.02977828, 0.0063777976, 0.0113006085, -0.0064006336, 0.039486885, 0.0179818, 0.020891773, -0.009134442, -0.016755175, -0.003539596, 0.017251045, -0.028029686, -0.014836943, 0.005297976, 0.01863426, 0.0053403857, 0.002877349, 0.018216686, 0.008879982, 0.016063567, 0.027064044, -0.0098586725, 0.0024793483, 0.010569854, 0.0037842686, 0.017277144, -0.00849503, -0.015750386, 0.014602057, -0.030535132, -0.011900872, -0.016050518, -0.0015455148, 0.005875403, -0.011737757, -0.0506831, -0.0059667476, -0.02240548, -0.023592956, 0.005464353, 0.06853441, 0.016833471, 0.02925631, 0.017759964, -0.02077433, 0.0002489543, -0.038808327, 0.012729497, -0.039773967, 0.05102238, -0.015124025, 0.0035461206, -0.025889616, 0.017394586, 0.0007772431, -0.013806055, -0.0005207447, -0.009356278 ]
2401.09350
163
It is easy to extend this setup to “multi-dimensional” buckets in the fol- lowing sense. If hi’s are independent functions that have the desired prop- erty above (i.e., increased chance of collision with smaller δ), we may define a bucket in [b]ℓ as the vector mapping g(·) = [h1(·), h2(·), . . . , hℓ(·)]. Fig57 58 5 Locality Sensitive Hashing C7 w (0) Pe SX Oo Yo | \ @/ iO | 8 @e® lo | J ig | / e \ 2| | ‘up| OS PS 7 HE (a) (b)
2401.09350#163
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 163, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "It is easy to extend this setup to “multi-dimensional” buckets in the fol- lowing sense. If hi’s are independent functions that have the desired prop- erty above (i.e., increased chance of collision with smaller δ), we may define a bucket in [b]ℓ as the vector mapping g(·) = [h1(·), h2(·), . . . , hℓ(·)]. Fig57\n58\n5 Locality Sensitive Hashing\nC7\nw (0) Pe SX Oo Yo | \\ @/ iO | 8 @e® lo | J ig | / e \\ 2| | ‘up| OS PS 7 HE\n(a) (b)", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.0013376425, -0.027894031, 0.046740614, 0.029793724, -0.022823632, -0.041219205, 0.041273873, 0.0071819276, -0.034303784, -0.014158852, 0.045783933, 0.02651368, 0.009484791, 0.0020329433, -0.034385785, 0.03982519, -0.0011206813, -0.0022123207, 0.007919937, -0.013680512, -0.021101609, -0.0087536145, 0.03843117, 0.06456218, 0.02850904, -0.0077217678, 0.011944823, 0.03873184, 0.05351937, -0.017452562, 0.028372372, -0.031133074, -0.0031143324, -0.027702697, -0.026882686, 0.03755649, -0.0061808308, 0.0836411, 0.015265866, 0.06073546, -0.0026974936, 0.03241776, -0.020705272, -0.041957214, 0.0076261, 0.039879855, -0.025611669, -0.022987634, -0.017356893, 0.07839303, 0.0053574033, 0.015006197, 0.013783013, -0.0124368295, -0.004636477, -0.025762005, -0.0016289172, 0.004202555, 0.020746272, -0.021743951, -0.036326475, -0.046166606, -0.029219717, 0.038021166, 0.011452816, 0.022509295, -0.026623016, -0.020910274, 0.025420332, 0.017684897, -0.02894638, 0.07237961, 0.035014458, -0.016741887, 0.026199343, 0.011425483, -0.023124304, 0.029356385, -0.014500523, 0.021825952, 0.013140672, -0.010837808, 0.04102787, -0.038021166, -0.0022601546, -0.010817308, -0.02205829, -0.026582016, -0.06592886, -0.021798618, 0.014281854, 0.015990209, 0.015539204, 0.0012923711, 0.012792167, -0.034713786, 0.027607027, -0.013687346, -0.019420588, -0.01836824, 0.00086955307, -0.02707402, 0.038977843, -0.0407272, 0.08424243, -0.015716873, -0.021470614, 0.04236722, -0.021443281, 0.008493945, -0.03323777, -0.03258176, -0.013318341, 0.016796554, 0.020431934, 0.00015866353, -0.012115658, 0.0113844825, 0.00032287923, -0.0107831415, 0.0048243967, -0.0035772969, 0.026021674, -0.056143403, -0.020267932, -0.035479132, 0.030859737, -0.041055202, 0.0037447158, -0.04633061, -0.007093093, 0.00070298836, -0.011678319, -0.0043358067, -0.007981438, 0.019816926, -0.033511106, 0.018518576, 0.0036251307, 0.002439532, 0.028673042, -0.028345037, 0.010318468, -0.016359214, -0.014035851, 0.042011883, -0.072598286, 0.02820837, 0.016700886, 0.0202406, -0.021730285, -0.020021928, -0.022495627, -0.018955914, -0.010304801, -0.0382125, -0.0025847421, 0.03744716, -0.003871134, 0.03184375, -0.022782631, -0.019926261, 0.033811778, -0.000036783033, 0.04769729, -0.021251945, -0.016919555, -0.011015478, -0.041875213, -0.047505956, -0.004499809, -0.04821663, -0.040973205, 0.0023250722, 0.041601878, 0.00356363, -0.043433234, -0.035588466, -0.015457203, -0.000019232348, 0.002147403, 0.023862312, 0.03465912, -0.00052275683, -0.0060339123, 0.013468676, 0.05212535, -0.01197899, 0.045237258, -0.01573054, -0.023684643, 0.044444583, 0.025707336, 0.036162473, 0.022044621, -0.04406191, 0.037201155, 0.041601878, 0.026759684, -0.03323777, 0.025789337, 0.021743951, 0.03687315, -0.01858691, -0.05412071, 0.009785461, 0.016058544, 0.028864378, -0.018696245, -0.066912875, -0.02461399, 0.0039394684, 0.03504179, 0.04020786, -0.016741887, -0.045428596, -0.05947811, 0.02188062, -0.036627147, 0.0143911885, -0.07571433, 0.019215586, 0.004475892, 0.022973968, -0.066256866, 0.030477066, -0.010865143, -0.07013825, 0.043706574, 0.0043392233, 0.036244474, -0.00024344069, -0.0020636937, -0.061500806, -0.02595334, 0.016331881, -0.042995896, -0.025023995, 0.0056546573, -0.0357798, -0.04903664, 0.004708228, 0.0015452077, 0.009846962, -0.013865015, 0.0109334765, -0.0072639287, 0.04236722, 0.014090518, -0.036490478, -0.023301972, -0.061227467, -0.022194957, -0.05576073, -0.031133074, -0.006652337, -0.008452944, 0.054776717, -0.013427676, -0.017725898, -0.016974222, -0.035342462, -0.02603534, 0.029411051, -0.029383719, 0.0033244602, -0.0059245774, 0.017835233, -0.030723069, -0.017739566, 0.01193799, 0.015238533, 0.015183865, -0.0064712516, 0.037037153, 0.0005052462, 0.030613733, 0.01581254, -0.040535863, -0.0011035978, -0.009238788, -0.021634616, 0.021306612, -0.018518576, 0.029356385, -0.019789593, -0.02781203, 0.0045066425, -0.002386573, -0.042039216, 0.02703302, -0.021156278, -0.034112446, -0.033565775, -0.04627594, 0.06724088, -0.022905633, -0.03241776, 0.020049263, -0.00662842, 0.030859737, 0.05043066, -0.03791183, 0.017766898, -0.019338587, 0.004537393, 0.0331011, 0.004287973, -0.0006543002, 0.0008332505, -0.021087943, -0.010284301, -0.04687728, 0.0456746, -0.034003112, -0.0358618, 0.050321326, -0.007831102, -0.028044367, -0.023629976, 0.027607027, -0.034795787, -0.012183993, -0.061118133, 0.032663763, 0.0012078075, -0.015539204, 0.00714776, 0.006724088, -0.0380485, 0.018600577, -0.017958235, -0.0037447158, 0.011575818, -0.024299651, -0.06631154, 0.0054154876, 0.029985059, -0.014555191, -0.036408477, -0.036818482, -0.00043819324, -0.006249165, -0.035561133, -0.0038164665, 0.0142408535, 0.03889584, 0.04969265, 0.034713786, -0.023206305, -0.003683215, -0.034030445, -0.030039726, 0.0098811295, 0.029739056, -0.031789083, -0.014213519, -0.07697167, -0.06330483, 0.027443025, -0.025570668, 0.028973714, 0.039879855, -0.014650859, -0.023233637, 0.015416202, -0.032035086, -0.03249976, -0.00994263, 0.04633061, -0.0047936463, 0.06286749, -0.067623556, -0.015826207, -0.012758001, 0.037419822, 0.014486857, 0.023520641, 0.02361631, 0.00970346, -0.012395829, 0.016304547, -0.027279023, 0.010803642, 0.032390423, 0.015170199, 0.0012829751, 0.0114596505, -0.021716617, -0.045045923, -0.003915551, 0.0020859023, 0.03613514, 0.035752468, -0.011568985, -0.031980418, 0.045045923, 0.009102119, 0.0053915707, 0.012108825, -0.030914405, -0.020336267, -0.015935542, -0.036217142, -0.009546292, 0.04633061, 0.003491879, 0.050157323, 0.039442517, -0.031980418, -0.0025710752, 0.005336903, 0.014500523, -0.022591297, 0.013742013, 0.02829037, -0.034030445, 0.023670977, -0.0053164028, 0.04561993, -0.022208624, -0.019434255, -0.06674887, -0.015511869, -0.017192893, 0.0063960836, 0.00267016, -0.01872358, 0.0087536145, -0.042941228, 0.0022071956, 0.03523313, 0.0035192128, 0.028399706, 0.009696627, -0.028454373, 0.03258176, 0.024873659, -0.0031279994, -0.02309697, -0.025010327, 0.023971647, -0.049473982, -0.013420843, -0.073800966, -0.018914914, 0.026500015, -0.031953085, 0.03184375, 0.02443632, 0.0095052915, 0.017315894, 0.006502002, 0.04706862, 0.047451288, -0.0010335553, 0.03695515, 0.0010198883, 0.0058801603, -0.019967262, 0.0033705859, -0.0080771055, -0.015183865, 0.010250134, 0.027005687, 0.027320024, 0.0002026537, -0.06248482, 0.014104185, 0.011568985, 0.042339887, 0.02391698, 0.07319962, 0.006262832, 0.0015170198, -0.0128126675, 0.0022567378, -0.0610088, -0.005555573, 0.006983758, 0.029575054, -0.07205161, -0.06161014, 0.00048175632, 0.010817308, 0.045182593, 0.0717236, 0.04242189, 0.02309697, -0.020404601, -0.051360007, -0.0143911885, 0.032007754, -0.015921876, -0.0116851535, 0.00037541115, -0.006590836, -0.035533797, 0.06259415, 0.0178489, 0.05351937, -0.029165048, -0.018873913, 0.03241776, 0.017165558, 0.003847217, -0.006167164, -0.008726281, -0.005210485, 0.032855097, 0.01447319, 0.008589612, -0.019857926, -0.015498203, 0.008692114, -0.023219971, -0.027197022, -0.0143911885, -0.0041478877, 0.010291135, -0.026240343, 0.04266789, -0.054831386, -0.02785303, 0.006662587, -0.024736991, -0.0053608203, -0.105836056, -0.008487111, -0.043050565, 0.018614244, -0.015047197, -0.024490988, 0.017766898, 0.0043187235, -0.009669294, 0.0021012775, -0.0152522, 0.048052628, 0.0038164665, 0.0057605756, 0.00033355644, 0.0014982279, 0.0142408535, -0.0031843751, -0.020855606, 0.03389378, 0.029930392, 0.030668402, 0.02092394, -0.024272317, -0.0015486245, 0.009710294, 0.012546164, 0.0029759556, 0.015716873, 0.03140641, 0.034604453, -0.0112341475, 0.0007871249, 0.036900483, -0.013393509, 0.019215586, 0.02872771, 0.009887963, 0.03512379, 0.028563708, -0.03280043, 0.0035807136, -0.044417247, -0.020677937, 0.017671231, 0.025174329, -0.033866443, 0.004216222, -0.0017596064, -0.03378444, -0.024736991, 0.0067753387, -0.022222292, -0.013414009, -0.010509804, -0.00406247, -0.034112446, 0.011883322, -0.031269744, 0.037228487, 0.03512379, 0.0021439865, 0.0038369668, -0.019762259, 0.0041034706, 0.02565267, 0.008391444, 0.0020961524, 0.020308932, -0.009758128, -0.010400469, -0.02669135, -0.0025813254, 0.021743951, -0.014719193, 0.025762005, -0.03146108, -0.05442138, -0.0058323266, -0.022632297, 0.0433239, 0.0072160945, -0.018928582, -0.025912339, 0.020349933, 0.011678319, 0.004615977, 0.0027111606, 0.017179225, -0.027292691, -0.020828273, 0.0405632, -0.007304929, 0.017657565, 0.00968296, 0.02703302, 0.028673042, -0.00097120024, 0.057674088, 0.009935797, -0.050102655, -0.024231317, -0.018135903, -0.027784698, -0.024340652, 0.006204748, 0.0047936463, 0.021251945, 0.048079964, -0.021853287, 0.0016306256, -0.017356893, -0.025557002, 0.012669166, 0.03512379, 0.013530177, -0.058767438, 0.0073254295, 0.0067309216, -0.0003030196, 0.016714552, -0.023848645, -0.037228487, 0.028864378, -0.0063072494, -0.0026069507, -0.0038984676, 0.00812494, -0.0482713, 0.0034303782, -0.01122048, -0.0050293994, -0.019748593, -0.010154466, -0.016823888, -0.0068641733, -0.022222292, 0.004691145, 0.030887071, -0.036025804, -0.000931908, -0.009450624, 0.015525537, 0.0017852318, -0.0025471584, 0.0433239, 0.005258319, 0.002232821, -0.017616564, -0.013653179, -0.020199599, -0.06707688, 0.025502333, -0.0060817464, 0.0012590581, -0.02196262, -0.016386548, 0.013591678, 0.008357276, 0.0043699737, -0.0026137843, -0.01607221, -0.037228487, -0.02755236, 0.005220735, 0.043050565, 0.005196818, 0.041219205, -0.00066241494, -0.0012624749, 0.03725582, -0.03148841, -0.036763813, 0.016427549, 0.017356893, -0.015388868, -0.017220225, -0.007981438, -0.04766996, -0.0331011, 0.03452245, 0.00011029572, -0.033347104, -0.0013598511, -0.007612433, 0.006286749, 0.0057605756, 0.007708101, 0.022071956, -0.006679671, -0.0107079735, 0.0021046943, -0.010209134, -0.014869528, -0.0079267705, -0.020295266, 0.016632551, -0.03487779, 0.029520387, -0.0052993195, -0.031215075, 0.012874168, -0.013803514, 0.018313574, 0.045127925, 0.010625972, 0.0015341034, 0.013400342, 0.019256586, -0.01581254, 0.01758923, -0.02669135, -0.00047876668, 0.027976032, -0.014336521, -0.019092584, 0.033948444, 0.014377521, 0.0117603205, -0.0034782123, 0.000571445, 0.0029947476, 0.020459268, -0.0042913896, 0.012614499, 0.0036661313, -0.0058084093, 0.022960301, 0.022591297, -0.0029383719, 0.020199599, 0.007947271, 0.0077969353, 0.022290625, 0.027593361, -0.06565553, -0.024463654, 0.015183865, -0.036244474, -0.029903058, -0.018204238, 0.02244096, 0.014363855, 0.036107805, -0.008090773, 0.027648028, -0.026377013, 0.053218696, -0.026623016, -0.001661376, -0.028044367, -0.06494485, 0.00034359304, -0.0061159134, -0.030668402, -0.0021696116, -0.0007670517, -0.014008516, 0.014186186, -0.0059963283, 0.008459778, 0.04094587, -0.07084893, 0.0016118336, -0.024463654, 0.0041718045, -0.031980418, 0.004680895, -0.0015947501, 0.009081619, -0.11370815, -0.010878809, 0.041301206, -0.009894797, -0.011821821, 0.016700886, 0.024121983, -0.00014051226, -0.00025518565, 0.0050704, 0.016646218, -0.0006705296, -0.0016912721, -0.008364109, -0.015921876, -0.012546164, 0.002530075, -0.0033398354, -0.028044367, -0.02491466, -0.009744461, -0.0022516127, 0.05212535, 0.026896352, -0.023998981, 0.025461333, -0.033456437, -0.029274384, -0.010079299, -0.02244096, 0.0048278132, -0.008350443, -0.007612433, 0.005138734, -0.014322855, -0.017507229, 0.008862949, 0.023452308, 0.03378444, 0.009587293, -0.00043499007, -0.0690449, -0.0039394684, -0.03903251, 0.015785206, -0.036299143, 0.004130804, 0.0017092099, -0.005473572, 0.0018945665, -0.003385961, 0.0023114053, 0.0032492925, 0.035752468, -0.0094301235, -0.016673552, 0.023930646, -0.011288814, -0.026418013, 0.010851475, -0.010947144, -0.0042572226, 0.029684389, -0.021306612, -0.006570336, -0.030695735, -0.021347612, 0.039114513, -0.007824269, -0.017944569, 0.012573498, -0.022632297, -0.007947271, 0.015388868, 0.05494072, -0.0062423316, -0.018108571, 0.0132636735, -0.031269744, 0.021648284, 0.029875726, -0.022864632, -0.0019287335, 0.04318723, 0.0017365436, -0.04392524, 0.017507229, 0.0036968817, -0.023848645, 0.019898927, -0.03605314, 0.007058926, 0.005336903, 0.03378444, -0.008227441, -0.036763813, -0.019898927, -0.014404856, 0.02894638, 0.0029605804, 0.0064575844, 0.006283332, 0.020295266, -0.04829863, -0.01659155, -0.002444657, 0.021456948, -0.024504654, 0.0049303146, 0.015648538, 0.012819502, -0.017739566, -0.044471916, -0.0058562434, 0.005230985, 0.02946572, 0.015580204, 0.0024429488, 0.012908336, -0.04428058, -0.0012795584, -0.009498457, 0.02932905, -0.013127006, -0.022823632, -0.0012308703, -0.010899309, 0.027306357, -0.02343864, -0.0145415235, -0.016263546, 0.05975145, 0.014937863, 0.028837044, -0.0051421504, 0.006249165, -0.0011155562, -0.019830594, -0.04977465, 0.050457995, -0.008336776, -0.0012974961, 0.051879346, -0.008090773, -0.028181035, 0.027921366, -0.013783013, 0.021429613, -0.024053648, 0.009758128, -0.018887581, -0.020226931, -0.011951656, 0.024272317, -0.03154308, 0.041137204, -0.0058186594, -0.026240343, 0.044471916, 0.044335246, -0.011890155, 0.029930392, 0.0028546625, -0.020554936, 0.032745764, -0.023862312, 0.01247783, 0.017452562, 0.015580204, 0.037146486, 0.0045510596, -0.045209926, -0.0116099855, 0.01798557, 0.01832724, 0.0064507513, 0.018231573, -0.004178638, -0.028755043, -0.0065430026, -0.001411956, 0.0030494148, -0.020718938, -0.0119858235, 0.034139782, -0.0027692446, -0.015511869, -0.030121727, 0.022714298, 0.034768455, 0.021757618, -0.003884801, 0.0032697928, 0.0052070683, -0.019283919, 0.010489304, -0.00788577, -0.008487111, -0.008008772, -0.014609858, 0.0305044, 0.025187997, -0.031953085, -0.0054428214, -0.035151128, -0.0053915707, -0.01676922, -0.012628165, -0.029711723, 0.05360137, -0.0025437416, 0.0028461206, -0.025133329, 0.022891967, -0.020390933, -0.00076662464, 0.013366175, 0.00862378, 0.0113844825, -0.030859737, 0.03826717, -0.037720494, -0.0331011, 0.012723833, -0.015716873, 0.015320534, 0.03687315, -0.024422653, -0.06817023, -0.014637192, -0.0019919428, 0.008883449, 0.013181672, -0.006778755, -0.024012648, 0.032035086, -0.026705017, -0.03895051, -0.00790627, -0.020226931, 0.022782631, -0.013154339, -0.017438894, 0.016263546, -0.012641832, -0.038595174, -0.003727632, -0.008159107, 0.007065759, -0.0021918204, 0.0043392233, -0.014951529, 0.05218002, 0.008767282, 0.0059963283, -0.0018313574, -0.010017798, 0.0357798, 0.012723833, 0.01676922, 0.01685122, -0.0019270253, 0.05740075, 0.0026394096, -0.017466228, -0.03353844, 0.027716363, 0.034823123, -0.011247814, -0.0028512457, -0.0060441624, 0.011883322, 0.008111273, 0.008575946, -0.029711723, 0.008739947, 0.011623653, 0.01902425, -0.004192305, -0.03495979, 0.002277238, -0.013086005, -0.008220607, -0.03452245, 0.0023250722, -0.013318341, -0.018969582, -0.008056605, 0.053792704, 0.029383719, 0.018532243, -0.0131133385, 0.032691095, 0.011527984, 0.0009020118, -0.0068026725, -0.0017783983, 0.0043187235, 0.010263801, -0.034413118, -0.017616564, 0.0017280017, 0.017616564, -0.015744206, 0.010195467, 0.020691603, -0.027620696, -0.005671741, -0.009621459, -0.019516256, 0.027484026, 0.008692114, 0.046002604, 0.018942248, 0.019611923, -0.0030289146, 0.014883195, 0.022317959, -0.005753742, -0.013919682, -0.017315894, 0.03241776, -0.008774115, 0.01629088, 0.008193274, -0.01451419, 0.009061119, -0.008999618, -0.037037153, 0.022112956, -0.0228373, 0.018190572, 0.010810475, -0.011302481, -0.049883988, 0.025187997, 0.0053676534, -0.008938117, 0.0021200695, -0.009368623, 0.04337857, 0.004465642, 0.022153957, -0.011124812, -0.013947016, 0.028454373, 0.00085161533, -0.0019458171, 0.02088294, -0.03916918, 0.06439818, -0.0012436829, -0.048189297, -0.0021149444, -0.008036105, 0.03148841, 0.04766996, -0.0013991434, -0.011521151, -0.016495883, 0.013612178, -0.014760193, -0.027648028, -0.002598409, 0.02902838, 0.031925753, -0.027183356, 0.030340398, -0.007058926, -0.00992213, 0.009245621, -0.021593615, 0.017397894, -0.019721258, -0.016304547, -0.034741122, 0.000595362, 0.01866891, -0.0052002347, 0.004205972, -0.041574545, -0.016864888, -0.0054325713, -0.013332008, -0.021333946, 0.004615977, -0.019119916, 0.024026314, 0.027238023, -0.0010540555, 0.006426834, -0.0060783294, -0.0030528316, 0.014131518, -0.0058084093, -0.013284174, 0.04471792, 0.011186313, -0.008165941, 0.0036763814, 0.0007807186, 0.035069127, 0.009026951, -0.013769347, -0.0431599, -0.0024668656, 0.0041820547, 0.01503353, -0.004250389, 0.02829037, 0.00033270227, 0.0015537495, -0.010079299, -0.030422399, -0.0044519748, -0.012518831, -0.019283919, 0.016263546, -0.011896989, 0.007339096, 0.0053608203, 0.006334583, 0.0075099315, 0.011076978, 0.025939673, 0.0026086592, 0.0039394684, 0.012580331, -0.016605217, 0.039415184, 0.014568858, -0.004130804, -0.030613733, 0.023233637, 0.010994977, -0.00662842, 0.03288243, 0.013072338, 0.0071682604, 0.021265611, -0.005138734, 0.012354828, 0.022604963, 0.01884658, -0.0045408094, -0.03176175, 0.0032100005, -0.015361534, -0.009006451, -0.024039982, -0.031078408, -0.014404856, 0.0031929167, 0.016277213, 0.006416584, -0.0028392873, -0.028235704, 0.0101408, 0.010496138, -0.01607221, 0.019830594, 0.01914725, 0.024832658, 0.015074531, 0.011944823, 0.007919937, -0.055050053, -0.0018245239, 0.0065327524, -0.0089791175, 0.017069891, -0.015279533, 0.003497004, -0.0050464827, -0.0030032892, 0.03963385, -0.01984426, 0.012129325, 0.0028546625, 0.005220735, -0.0095052915, 0.019160917, 0.03280043, 0.03791183, 0.013400342, 0.030750403, 0.025119662, -0.019434255, 0.0075850994, 0.016058544, -0.039114513, -0.008227441, -0.020035597, -0.008610113, 0.020609602, 0.01950259, -0.0052344017, 0.023301972, 0.020527601, -0.01245733, 0.0040829703, 0.022071956, -0.02353431, 0.024080982, 0.018573243, 0.036217142, 0.017042557, 0.0029332468, 0.009081619, -0.0117603205, 0.036381144, 0.003731049, -0.009368623, -0.0013846223, 0.024928326, 0.0102569675, 0.002214029, -0.027443025, 0.0056512407, -0.027374692, -0.004626227, 0.037037153, 0.015060863, -0.025037661, -0.039661188, -0.017616564, 0.0006602795, -0.003356919, 0.0010156175, 0.023684643, -0.036080472, -0.022891967, 0.024709657, 0.01728856, -0.021839619, -0.016864888, 0.037037153, -0.008569112, 0.014678192, -0.009047451, 0.022891967, -0.005077233, 0.035205793, -0.01373518, -0.008698947, 0.005576073, -0.0036422145, -0.0010318469, 0.014281854, 0.0037925497, 0.0019338586, -0.020855606, 0.021415947, 0.018873913, 0.040781867, -0.062320817, 0.007448431, -0.007974604, -0.032609094, 0.016003877, 0.04094587, -0.01225916, -0.0057605756, 0.01876458, -0.027675362, 0.05207068, 0.009894797, 0.0042640558, -0.0039838855, -0.015935542, 0.012354828, -0.013106505, 0.029520387, 0.0028222036, -0.014937863, -0.0047868127, 0.017179225, -0.021907954, 0.020336267, 0.026254011, -0.0051797344, -0.035807136, 0.02244096, 0.025010327, 0.011117979, -0.0016827304, -0.03028573, -0.029192382, -0.024600321, 0.033511106, -0.0061979145, -0.022263292, 0.000025398445, -0.020554936, 0.012443663, 0.015211199, -0.0038677172, -0.014855862, 0.0036490478, -0.015935542, -0.023643643, 0.058330096, 0.012423162, -0.022495627, 0.004879064, 0.012429996, 0.02136128, 0.00058041385, -0.017780567, 0.0054769884, -0.035424463, 0.03331977, 0.021743951, -0.02451832, -0.030559067, -0.013660012, 0.004817563, 0.062047478, -0.027880365, -0.00990163, -0.0057844925, 0.010755807, 0.019994596, -0.030777736, -0.023547975, 0.01141865, -0.00013175694, -0.013871849, 0.0148421945, -0.011480151, 0.025598003, -0.019830594, -0.0143911885, -0.010024631, 0.024354318, 0.03583447, -0.011657819, 0.02162095, 0.04384324, 0.022714298, 0.014924196, -0.030859737, 0.0027316608, -0.00083196926, -0.0019287335, -0.023110636, 0.004817563, 0.029083047, 0.006355083, 0.026951019, -0.006536169, 0.029657055, -0.016482215, -0.037857164, 0.017411562, 0.06281282, 0.011644153, 0.006382417, 0.004035136, -0.016318213, -0.0039121346, -0.01702889, -0.014965196, 0.014582524, -0.029383719, -0.006498585, -0.009300289, 0.0008097606, 0.0053164028, 0.015867207, 0.025980674, -0.0357798, -0.014104185, 0.013297841, 0.02703302, -0.015675873, 0.013051838, -0.025228998, 0.00613983, 0.029055715, 0.036927816, 0.041601878, 0.0055931564, -0.008090773, -0.002367781, 0.042230554, 0.008179607, 0.022973968, -0.02864571, -0.034932457, -0.0027880366, 0.012840002, -0.01936592, -0.007988271, 0.01958459, 0.0073459297, 0.02716969, 0.0030425815, 0.023561642, 0.017821567, -0.0007755935, 0.011678319, 0.01227966, -0.002309697, 0.023151636, 0.0051797344, 0.022536628, -0.021484282, -0.023411307, -0.0033073768, 0.00357388, -0.021935288, -0.02343864, -0.01763023, -0.0024241568, 0.003611464, -0.015716873, 0.009792295, -0.0001949661, -0.009867462, 0.007913103, 0.044471916, 0.007872103, -0.014500523, 0.019201918, 0.0064678346, -0.030422399, -0.035424463, 0.008787782, -0.02343864, 0.030832404, -0.033210434, -0.011425483, -0.0063311663, 0.018149571, 0.035369795, -0.06685821, 0.0024668656, 0.005456488 ]
2401.09350
164
(a) (b) Fig. 5.1: Illustration of Locality Sensitive Hashing. In (a), a function h : R2 → {1, 2, 3, 4} maps vectors to four buckets. Ideally, when two points are closer to each other, they are more likely to be placed in the same bucket. But, as the dashed arrows show, some vectors end up in less-than-ideal buckets. When retrieving the top-k vectors for a query q, we search through the data vectors that are in the bucket h(q). Figure (b) depicts an extension of the framework where each bucket is the vector [h1(·), h2(·)] obtained from two independent mappings h1 and h2. ure 5.1(b) illustrates this extension for ℓ = 2. The indexing and search proce- dures work in much the same way. But now, there are presumably fewer data points in each bucket, and spurious collisions (i.e., vectors that were mapped to the same bucket but that are far from each other according to δ) are less likely to occur. In this way, we are likely to reduce the overall search time and increase the accuracy of the algorithm.
2401.09350#164
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 164, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "(a) (b) \nFig. 5.1: Illustration of Locality Sensitive Hashing. In (a), a function h : R2 → {1, 2, 3, 4} maps vectors to four buckets. Ideally, when two points are closer to each other, they are more likely to be placed in the same bucket. But, as the dashed arrows show, some vectors end up in less-than-ideal buckets. When retrieving the top-k vectors for a query q, we search through the data vectors that are in the bucket h(q). Figure (b) depicts an extension of the framework where each bucket is the vector [h1(·), h2(·)] obtained from two independent mappings h1 and h2.\nure 5.1(b) illustrates this extension for ℓ = 2. The indexing and search proce- dures work in much the same way. But now, there are presumably fewer data points in each bucket, and spurious collisions (i.e., vectors that were mapped to the same bucket but that are far from each other according to δ) are less likely to occur. In this way, we are likely to reduce the overall search time and increase the accuracy of the algorithm.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.025993766, -0.0022434718, 0.04827595, 0.017973196, 0.0043566567, -0.029896008, 0.029590948, 0.023388034, -0.055470314, 0.0079443045, 0.039149534, 0.008668825, -0.009647564, 0.012869773, 0.004369368, 0.010607236, -0.0021417846, 0.00045997524, 0.0075375563, -0.023362612, -0.0013624483, -0.0076773763, 0.02992143, 0.04082737, 0.011560553, -0.022510983, 0.028294437, 0.043801717, 0.053589102, -0.026743708, 0.00651433, -0.027048768, -0.0106898565, -0.019155309, -0.036302295, 0.02821817, -0.008052347, 0.060808886, 0.003587648, 0.05465682, -0.016358912, 0.044437263, -0.027252143, -0.06726602, 0.0157615, 0.004057951, -0.004753872, -0.050462224, -0.031014565, 0.04336955, 0.0029155598, 0.00060138386, -0.016676685, 0.01532933, 0.016231803, 0.01618096, -0.013168479, 0.010384795, 0.04367461, -0.015240354, -0.009247171, -0.035565063, -0.026260694, 0.030480709, 0.016409757, 0.009348858, -0.018646872, 0.00091121177, -0.000030957963, 0.027302988, -0.028243592, 0.03838688, 0.067825295, 0.010569103, 0.032463606, 0.013549807, -0.027582627, 0.036353137, -0.022409296, 0.021417845, 0.017769821, -0.0067812586, 0.055216096, -0.0001640499, -0.04110701, -0.03162469, -0.017833376, -0.011509709, -0.050055478, -0.03968339, -0.0034764279, 0.05699562, 0.02534551, -0.020540794, 0.025409065, -0.0066986377, 0.02562515, -0.009545877, -0.047386188, -0.015431018, -0.0031364115, -0.037903868, 0.05857177, -0.037700493, 0.07402821, -0.021011097, -0.012723599, 0.046699803, -0.008166745, -0.00043217017, -0.009647564, 0.00051439373, -0.02248556, 0.016384335, 0.002788451, -0.00039185284, -0.037598807, -0.025561595, 0.0011225303, 0.023794781, 0.012621911, -0.0039181313, 0.025968343, -0.0015221288, -0.013206612, -0.020972965, 0.06324938, -0.063046, 0.008815001, -0.028014796, 0.011827481, 0.00537035, -0.0021401958, -0.026947083, -0.022599958, 0.022256764, -0.04352208, 0.0031014567, -0.024544725, -0.01446499, -0.004947713, -0.04608968, 0.0037751338, 0.004000752, -0.02061706, 0.016371623, -0.039988454, 0.050335117, 0.06589324, 0.02347701, -0.0075884, -0.032183968, 0.00043773119, 0.031039989, -0.02548533, -0.011973657, 0.007937949, 0.03693784, -0.02220592, 0.048199687, -0.02804022, -0.0052082865, 0.049038604, -0.030963723, 0.0303536, -0.04263232, -0.02748094, -0.03065866, -0.043064486, -0.09400973, -0.013155769, -0.09299286, -0.04181882, 0.020795012, 0.053080667, 0.0010708923, -0.018812114, -0.042403523, 0.019549346, 0.006704993, -0.0064348867, 0.019511214, 0.05969033, 0.022650803, 0.020934831, 0.031421315, 0.023349902, 0.012348628, 0.019053621, -0.007257917, -0.032006014, 0.05053849, 0.009183616, 0.029692633, 0.016409757, -0.02449388, -0.0138675785, 0.04723366, 0.020311998, -0.062944315, 0.029692633, 0.0076519544, 0.02646407, -0.016905481, -0.037014104, -0.0024166575, 0.023121106, 0.017553736, -0.022993997, -0.050513066, -0.03449735, 0.0056277458, 0.04581004, 0.035437956, -0.013409986, -0.020540794, -0.063757814, 0.05257223, -0.029336728, 0.034954943, -0.039480016, 0.03276867, 0.0053639947, 0.001978132, -0.05394501, 0.03449735, 0.004674429, -0.09812805, 0.05780912, -0.023565985, 0.05602959, 0.011681306, 0.037014104, -0.057656586, -0.01616825, 0.007829906, -0.022549115, -0.017935062, -0.023553275, -0.06309684, -0.040725686, -0.026718287, -0.0011129971, 0.025548885, -0.00052273524, -0.0005449793, -0.019790852, 0.058368396, 0.038590256, -0.049318243, -0.036302295, -0.049216557, -0.029845165, -0.053894166, -0.027048768, -0.0021529067, -0.0078108404, 0.04321702, -0.0013298766, -0.01403282, -0.018113015, -0.024735387, 0.005106599, 0.008789578, -0.04181882, -0.015253065, -0.0036035366, 0.0064507755, -0.047360767, -0.011096605, 0.0034541837, 0.003198377, -0.013054082, -0.012564712, -0.010588169, -0.010194132, 0.004239081, 0.010429284, -0.026108164, -0.011668595, -0.034624457, -0.0113826, 0.028167328, -0.010505549, 0.02748094, -0.008573494, -0.040318936, -0.00027447572, 0.009622142, -0.036403984, 0.03660736, -0.04479317, -0.037827604, -0.017668134, -0.038615678, 0.070520006, -0.01295875, -0.024176108, 0.013587939, -0.012704533, 0.05816502, 0.021710197, -0.015418307, -0.0059614065, -0.030379022, 0.004410678, 0.049852103, 0.016587708, -0.034192286, -0.0017731688, -0.0037846668, 0.007848973, -0.03907327, 0.03836146, -0.034954943, -0.015100535, 0.037064947, 0.00096046645, -0.011503354, -0.0019940205, 0.025675993, -0.04865728, 0.034726147, -0.038488567, 0.02548533, -0.01987983, -0.024544725, -0.017998617, 0.007442225, -0.030023117, 0.043293282, -0.013155769, -0.017998617, 0.004057951, -0.022218632, -0.03449735, -0.02005778, 0.04151376, -0.024366772, -0.015697947, -0.048072577, -0.0035685818, 0.0036035366, -0.042784847, 0.022104234, 0.026336959, 0.012177031, 0.044742323, 0.00029056295, -0.020845857, -0.0047284504, -0.03663278, -0.03693784, -0.0111220265, 0.019917961, -0.00994627, 0.008637048, -0.058215868, -0.04621679, -0.007562978, -0.0044901213, 0.023883758, 0.032183968, -0.014693786, 0.001027993, 0.01446499, -0.02905709, -0.05394501, -0.008840422, 0.022396585, -0.021811884, 0.031090831, -0.031370472, -0.01862145, -0.008344698, 0.043776296, 0.013994687, 0.025243822, 0.052165482, 0.0435475, 0.0013465597, -0.028675763, -0.03536169, -0.043572925, 0.05928358, 0.03508205, -0.007232495, 0.0030553797, -0.06055467, -0.014070952, -0.047894627, 0.005071644, 0.0065079746, 0.040471468, 0.009425123, -0.03251445, 0.04405594, 0.021938993, 0.03622603, 0.018545186, -0.0022577716, -0.018685006, -0.018697716, -0.039124113, -0.015087823, 0.04166629, 0.0053195064, 0.034624457, 0.042911958, 0.018113015, -0.008065058, 0.018812114, 0.025383644, -0.020311998, 0.0022593604, 0.0075248457, 0.003336608, 0.018723138, -0.0062442236, 0.030531552, 0.016829215, -0.018354522, -0.046038836, 0.0031395892, 0.0052845515, -0.009564943, 0.03447193, -0.0048746252, 0.003234921, -0.03592097, -0.029692633, 0.043140754, -0.008274788, 0.015685236, -0.011033051, -0.014617521, 0.056944776, -0.014681076, 0.0015276899, -0.015443728, -0.009952625, -0.0093933465, -0.048403062, -0.008071414, -0.052877292, -0.019079043, 0.032387342, 0.0033207193, 0.028879138, 0.038844474, -0.018939223, 0.026794551, 0.014426857, 0.0346753, 0.032844935, -0.042200148, 0.008217589, -0.015481861, 0.02418882, -0.0005862897, -0.017579157, 0.007963371, -0.016524155, 0.019587478, 0.035590485, 0.016574997, 0.026413225, -0.06482553, 0.016435178, -0.030455288, 0.039251223, -0.016358912, 0.073113024, 0.003141178, -0.009463256, -0.018214703, 0.03266698, -0.052012954, 0.008757802, -0.011363533, 0.05282645, -0.052063797, -0.04110701, -0.0028043396, 0.0039340197, 0.062740944, 0.075807735, 0.05826671, 0.03226023, 0.01775711, -0.0725029, -0.026133586, 0.03978508, -0.012901551, -0.0024595568, 0.01615554, -0.016587708, -0.011490642, 0.040979903, 0.012577424, 0.046064258, 0.0046680737, 0.007397737, 0.01845621, 0.0032984754, 0.04964873, -0.010435639, -0.012291429, 0.0017922352, 0.014236194, 0.029311307, 0.019396815, -0.018723138, -0.019981515, -0.018951934, -0.00030367106, -0.0074104476, 0.0051701535, -0.019371392, 0.008687892, 0.001463341, 0.01760458, -0.035692174, -0.034268554, -0.0047475165, -0.0053195064, -0.02806564, -0.05882599, -0.018227413, -0.074994236, 0.007302405, -0.021011097, -0.023820203, 0.026031898, -0.0019256995, -0.005065289, 0.0032396875, -0.017096143, 0.04095448, 0.0011415966, -0.007232495, 0.017083433, -0.0029362151, 0.021354292, 0.0037624228, -0.008325632, -0.0011813181, 0.029158777, 0.021672064, 0.016091984, -0.027023347, -0.0062092687, -0.0038037333, 0.0069909883, 0.0023483366, 0.012844352, 0.020362843, 0.023731228, -0.02948926, -0.0071053864, 0.008535361, 0.013791313, 0.026413225, 0.03693784, -0.0047157393, 0.04283569, 0.035132892, -0.03823435, 0.0034033402, -0.039022427, 0.0063014226, -0.017528314, 0.04080195, -0.016867349, 0.0039499085, 0.0052273525, -0.042988222, -0.043140754, 0.019600188, 0.014159929, -0.004957246, 0.017375784, -0.01845621, -0.008808645, 0.017350363, -0.028879138, 0.017680844, 0.041640867, -0.0068321023, -0.0035622262, 0.009310725, -0.007505779, 0.025294667, 0.00461723, -0.021125495, 0.010734345, -0.020350132, -0.016905481, -0.03307373, 0.005418016, 0.004194593, 0.0045060096, 0.0170453, -0.03551422, -0.067062646, 0.0046807844, -0.018405365, 0.038158085, 0.03337879, -0.021405134, 0.0029965919, -0.021583088, 0.023019418, 0.013587939, 0.016091984, 0.0041977707, -0.01703259, -0.037420854, 0.028396124, -0.006044027, 0.005214642, -0.0064189984, 0.022282187, 0.030531552, 0.0201976, 0.042784847, 0.017693555, -0.059029363, -0.011681306, -0.029540103, -0.008300209, 0.007041832, -0.003930842, -0.008433674, 0.030048538, 0.049038604, -0.02134158, 0.04225099, 0.0112554915, -0.008630693, -0.0061202925, 0.041717134, 0.023260925, -0.04423389, 0.006571529, -0.0077917743, -0.0061679585, 0.015189511, -0.013066793, -0.03833604, 0.012723599, -0.020629771, 0.0031697776, -0.019282417, 0.02432864, -0.014770051, 0.034116022, 0.0026819974, 0.018392654, -0.02676913, 0.004855559, -0.006902012, -0.015850477, -0.0417934, 0.005462504, 0.005783454, 0.014617521, 0.010206843, 0.0014720797, 0.008827711, 0.005265485, 0.02449388, 0.062944315, -0.0022609492, -0.010200487, -0.02534551, -0.01948579, -0.009641209, -0.036048077, 0.006711349, -0.009380635, -0.015354753, -0.034700725, -0.02948926, 0.0069782776, 0.008217589, 0.008916688, -0.0134354085, -0.028294437, -0.0088722, -0.021659352, -0.007073609, 0.06182576, -0.021417845, 0.019740008, 0.016358912, -0.0039689746, 0.020362843, -0.012482092, -0.013270167, 0.002879016, 0.039556284, 0.012068988, -0.047716673, -0.017375784, -0.051199455, -0.024048999, 0.009672985, 0.019981515, -0.020515373, 0.017083433, -0.024099844, 0.013981977, 0.012704533, 0.0020623414, 0.02392189, 0.0038132663, 0.00425497, -0.007060898, -0.008344698, -0.033607587, 0.00101131, -0.0143760145, 0.0034764279, -0.03376012, 0.02392189, -0.03523458, -0.0072070733, 0.00644442, -0.015100535, 0.02289231, 0.04652185, 0.031192519, 0.011058472, 0.019295128, 0.007620177, -0.011261847, 0.028853714, -0.024137976, 0.008560783, 0.019587478, 0.00626329, 0.007842618, 0.019854406, 0.021837305, 0.026845396, 0.011585974, -0.021417845, 0.0017096144, -0.005246419, 0.0023848803, 0.010384795, 0.007391381, -0.0032508096, 0.038132664, 0.011109316, 0.007976082, 0.010613591, -0.0060313162, -0.009361569, -0.0028742496, 0.021710197, -0.045352448, -0.004394789, 0.038920738, -0.010867809, -0.03050613, -0.0001279033, 0.004865092, 0.01418535, 0.031370472, 0.0071117417, 0.02247285, -0.013295589, 0.06553734, -0.019701876, 0.015443728, -0.009857293, -0.04423389, 0.01675295, -0.017096143, -0.041590024, -0.001005749, -0.011236425, -0.007130808, 0.03825977, -0.008331987, -0.002264127, 0.045225337, -0.059944548, 0.0021656174, -0.015253065, -0.01375318, -0.013676915, -0.01532933, 0.027252143, 0.0018573785, -0.11480474, -0.025815813, 0.043801717, 0.0027916287, 0.0067367707, 0.012405827, 0.025968343, -0.003816444, 0.021722907, -0.024239663, 0.010524615, -0.011922813, -0.016104694, 0.031243362, 0.00023515143, 0.00041826765, -0.008236655, 0.016574997, -0.029972274, -0.0046362965, -0.005386239, 0.009850938, 0.049013183, 0.0190282, -0.017693555, -0.0031284674, -0.044894855, -0.040700264, -0.012609201, -0.024366772, -0.02692166, 0.004950891, -0.012634623, 0.026794551, -0.018113015, -0.043166175, 0.025434487, 0.029667212, 0.009278948, 0.009711118, 0.0055069923, -0.061469853, -0.017286807, -0.032590717, 0.046776067, -0.019231573, 0.027150456, -0.02307026, 0.00079601933, -0.0019161663, -0.013664205, -0.0102958195, 0.0033334303, 0.014287038, 0.0052273525, -0.006971922, 0.0130032385, -0.011249135, -0.037573386, -0.012577424, -0.035310846, 0.001263939, 0.042734005, -0.024315929, -0.01360065, -0.032692403, -0.026997926, 0.029184198, 0.008084125, 0.015240354, 0.0077091535, -0.019523924, 0.0044710548, 0.026387803, 0.044513527, 0.010333952, 0.007861684, 0.009139128, -0.03581928, -0.0072197844, 0.018507052, -0.022866888, -0.018176569, 0.030531552, 0.017388495, -0.019803563, 0.02361683, -0.0008730791, -0.03205686, 0.02205339, -0.020833146, 0.010441994, -0.0033779184, 0.050563913, 0.013549807, -0.02948926, -0.0017016701, -0.0056182123, 0.03897158, 0.012374049, 0.03020107, -0.012424893, 0.036149766, -0.03165011, -0.012412182, 0.033582166, 0.041971352, -0.0029552814, 0.034904096, 0.0007848973, 0.032031436, -0.022396585, -0.030760348, -0.022269476, -0.013715048, 0.047691252, 0.0034700723, 0.016371623, 0.026184428, -0.052877292, 0.010937719, -0.007359604, 0.019841695, 0.0063617993, -0.0066160173, 0.0034446507, 0.011223714, 0.03879363, -0.0041183275, 0.010035246, 0.009266237, 0.053334884, 0.018685006, 0.031268783, 0.003463717, -0.017973196, -0.0031808997, -0.003463717, -0.058215868, 0.035844702, 0.012977816, 0.019117175, 0.024964184, 0.037192058, 0.002902849, 0.046979442, -0.016714817, -0.0084527405, -0.03063324, 0.0002998975, -0.02520569, -0.02118905, 0.003381096, 0.029718056, -0.020134047, 0.015062402, 0.028141905, -0.014439569, 0.05526694, 0.057300683, -0.007937949, 0.027404673, -0.0075947554, 0.002651809, 0.039937608, -0.0015968053, 0.014935293, 0.027786002, 0.011013985, 0.05572453, 0.01947308, -0.030887457, -0.039200377, 0.059436113, 0.032997463, 0.012723599, 0.013969266, -0.010486483, -0.01904091, -0.015189511, -0.018735848, 0.006355444, -0.03691242, 0.011484287, 0.0234643, -0.0006061505, -0.048403062, -0.05252139, 0.014757341, 0.012310495, 0.030887457, 0.016282648, 0.0053639947, 0.018163858, -0.015914032, 0.0074104476, -0.022218632, -0.022828754, 0.00006102219, 0.005383061, -0.022460138, 0.03307373, 0.0015848888, 0.013270167, -0.015113246, -0.00003982083, -0.015164089, -0.024735387, -0.012443959, 0.020235734, -0.0071689407, 0.019536635, -0.02605732, -0.008249366, -0.014909871, 0.0054593263, 0.012996883, 0.018748559, -0.015786923, -0.020591639, -0.0076011107, -0.04438642, -0.015189511, 0.019447658, -0.033912648, -0.0025469442, 0.0532332, -0.027175877, -0.07041832, -0.0056277458, -0.0069528557, 0.026794551, 0.017528314, -0.025409065, -0.04009014, 0.03421771, -0.014528545, -0.04713197, 0.004274036, -0.015481861, 0.015659813, -0.03121794, 0.00097079406, 0.008605271, -0.018545186, -0.041361228, 0.0084908735, -0.017693555, -0.0045314315, -0.011249135, 0.002478623, -0.0057389657, 0.027430097, 0.012901551, -0.0080205705, -0.01124278, 0.0058914963, 0.045479555, 0.028091062, 0.0053067957, 0.0129841715, -0.02449388, 0.0512503, 0.00309669, -0.006870235, -0.046064258, 0.010505549, 0.022930441, -0.028955402, -0.0055069923, -0.028396124, 0.018443499, 0.016231803, 0.01733765, -0.03734459, 0.01760458, 0.00039522917, 0.013066793, 0.013511674, -0.03536169, 0.01446499, 0.005564191, -0.0024865675, -0.027608048, -0.0021767395, -0.025993766, 0.004750694, 0.0032174434, 0.024392193, 0.0052940845, 0.024239663, -0.008134969, 0.024976894, 0.0065842397, 0.022307608, -0.015469151, -0.0062188017, 0.024659121, 0.0050525777, -0.044157624, 0.021430558, -0.002662931, 0.040446047, -0.002982292, 0.029845165, -0.011026695, -0.045199916, -0.017274097, -0.018786693, -0.0469286, 0.03437024, -0.0035844704, 0.029285885, 0.025955632, -0.006628728, 0.029565524, 0.0028726605, -0.0033906293, -0.013168479, -0.016130116, -0.0075121345, 0.03266698, 0.0005819203, 0.002367403, -0.0021687953, -0.017490182, 0.00074597023, -0.0077091535, -0.04067484, 0.023489721, -0.017452048, 0.016587708, 0.01102034, -0.01044835, -0.06279179, -0.01860874, 0.01615554, -0.029946852, -0.0022943153, 0.010047956, 0.027125034, 0.00895482, 0.021112785, -0.019778142, -0.0082303, 0.00012810192, 0.0012329561, 0.013295589, 0.01360065, -0.049191136, 0.038819052, 0.004378901, -0.03622603, -0.01531662, -0.0064253537, 0.018163858, 0.030429866, 0.015202221, -0.019981515, 0.00034736472, -0.0036956905, 0.0021322514, -0.025815813, 0.0164606, 0.023515143, 0.044640638, -0.019930672, 0.04967415, -0.017998617, 0.002559655, -0.0011026695, -0.018964645, 0.008382831, -0.012907906, -0.0028647163, -0.011147449, -0.0075884, 0.021532243, -0.02106194, 0.0034605393, -0.009564943, -0.02005778, -0.018163858, -0.007531201, -0.029946852, -0.0020416863, -0.02060435, 0.003098279, 0.028269015, -0.021583088, 0.009958981, 0.006787614, -0.008312921, -0.011560553, -0.022955863, 0.009571299, 0.030302756, -0.0053989496, -0.0021322514, -0.0034700723, 0.0051351986, 0.0323365, 0.016498731, -0.014210773, -0.016702106, -0.007721864, -0.00007055536, -0.0051288432, -0.0024865675, -0.005770743, -0.010905942, -0.0030490241, -0.027302988, -0.023972735, 0.00097635505, -0.026997926, -0.038488567, 0.018430788, -0.012914262, -0.016053852, 0.0027487294, 0.013346432, 0.0038323326, 0.020134047, 0.041742556, 0.015545416, -0.0028440612, 0.025701415, -0.044183046, 0.03510747, 0.023451587, 0.006272823, -0.032158546, 0.004239081, 0.008433674, -0.0014808184, 0.021850016, 0.016282648, 0.025599727, 0.033455055, -0.03579386, 0.027709736, 0.018151147, -0.00088181783, -0.03322626, -0.023578696, -0.01023862, -0.012837997, 0.0046680737, -0.0027614404, -0.022803333, 0.0019971982, 0.010594525, 0.020883989, 0.008808645, 0.0057326104, -0.044310156, -0.019079043, 0.04865728, -0.018634161, -0.0016778372, 0.0039943964, 0.0040102853, 0.016536865, -0.011808415, 0.020642482, -0.06670674, -0.003428762, 0.004458344, -0.0017922352, 0.0067812586, -0.014948004, -0.014388725, 0.0098827155, 0.031116253, 0.0079824375, -0.021405134, -0.00436619, 0.0018033572, 0.016841926, -0.0017906463, 0.003921309, 0.029667212, 0.03492952, 0.023082972, 0.026286116, 0.002089352, -0.010302175, 0.018379943, 0.029565524, -0.021087363, -0.000017030603, -0.009545877, 0.004661718, 0.0016158716, 0.032844935, 0.0073532485, 0.022447428, 0.022993997, -0.025574306, 0.0043153465, 0.01701988, -0.018507052, 0.0134735415, 0.006571529, 0.045759197, 0.009704763, -0.01016871, 0.023845626, 0.01417264, 0.019511214, 0.011541486, -0.011744861, -0.0037560672, 0.019828985, 0.0021751507, -0.0093742795, -0.034293976, 0.002958459, 0.0050271563, -0.009653919, 0.027125034, 0.014007398, -0.014541255, -0.029006246, -0.007003699, -0.017439337, -0.001216273, -0.009793739, 0.022561826, -0.017477471, -0.024290506, 0.02047724, 0.008973887, -0.0018081238, 0.011611396, 0.0034224065, 0.0021417846, -0.00062164187, -0.0029441593, 0.008675181, -0.0023689917, 0.032031436, -0.0035940036, -0.008096836, 0.0098827155, 0.0034827832, 0.0002812284, 0.010289463, 0.007823551, 0.007340538, -0.009558587, 0.011128382, -0.030023117, 0.026896238, -0.053741634, -0.0076837316, 0.017490182, -0.008033281, 0.019600188, 0.031777218, -0.0037211124, 0.010486483, 0.034319397, -0.04964873, 0.05501272, -0.0010295819, 0.0007527229, 0.019142598, -0.028955402, 0.0033683854, -0.018189281, -0.0023340369, -0.0034986718, 0.006342733, 0.010569103, 0.018214703, -0.0077663525, 0.014299748, 0.015659813, -0.010645368, -0.025294667, 0.009939915, 0.00085083506, 0.019740008, 0.0027693848, -0.03808182, 0.0017429804, 0.00012184578, 0.03518374, -0.0034478283, -0.0050208005, 0.030429866, 0.010778833, 0.021570377, 0.021684775, 0.03894616, -0.024938762, -0.00004987534, -0.00958401, -0.014401436, 0.03833604, -0.015786923, -0.042911958, 0.015507283, 0.007397737, 0.0089421095, 0.0065651736, -0.0019940205, 0.004102439, -0.0060853376, -0.013193902, 0.0012091232, -0.0018351345, -0.0020543972, -0.015685236, 0.00051717425, 0.055877063, -0.030582396, 0.008395541, -0.02021031, 0.008865844, 0.019994227, -0.022523694, -0.0059232735, -0.012437603, -0.016829215, -0.017388495, 0.0006577884, 0.003199966, 0.008617982, -0.01332101, -0.012736309, -0.012075343, 0.010327596, 0.038920738, -0.019244283, 0.033277106, 0.030760348, 0.025002316, 0.019867118, -0.010696212, 0.0007531201, 0.014871739, -0.039632548, -0.027150456, -0.013486252, 0.02819275, -0.015125956, 0.019066332, -0.01252658, 0.004321702, -0.017426627, -0.012405827, 0.021748329, 0.01904091, 0.005379883, 0.017731689, 0.018163858, 0.007029121, -0.0013529151, -0.03464988, -0.007823551, 0.0037211124, -0.027150456, 0.010696212, 0.011134738, 0.016269937, -0.0029616368, 0.03223481, 0.012177031, -0.038412303, -0.005224175, 0.0033207193, 0.015863188, -0.011668595, -0.013232035, -0.018646872, -0.005783454, 0.0056881225, 0.03492952, 0.02732841, 0.0068829455, 0.0042581474, -0.0015690002, 0.03365843, 0.024265084, 0.02763347, -0.010581814, -0.027684314, -0.012863418, 0.017985906, -0.026565755, -0.010365729, 0.017350363, 0.017515603, 0.0072388505, 0.005967762, 0.022256764, -0.0011701961, 0.022409296, 0.03538711, -0.007874395, 0.026082741, 0.01445228, 0.007067254, 0.0036861575, -0.010969496, -0.015049691, 0.009189972, -0.016549576, -0.019384105, -0.029235043, -0.0053099734, 0.00397533, -0.005678589, -0.045555823, 0.010855098, -0.020070491, -0.008726024, 0.0076392437, 0.0492674, 0.009367924, 0.01560897, 0.026896238, -0.020985676, 0.007562978, -0.040242672, -0.0013640372, -0.036022656, 0.031853486, -0.018748559, -0.0077345753, -0.017846087, 0.0032984754, 0.0071244524, -0.0340906, -0.0022323497, 0.0046903174 ]
2401.09350
165
Extending the framework even further, we can repeat the process above L times by constructing independent mappings g1(·) through gL(·) from indi- vidual mappings hij(·) (1 ≤ i ≤ L and 1 ≤ j ≤ ℓ), all of which possessing the property of interest. Because the mappings are independent, repeating the procedure many times increases the probability of obtaining a high retrieval accuracy. That is the essence of the LSH approach to top-k retrieval. Its key ingredi- ent is the family H of functions hij’s that have the stated property for a given distance function, δ. This is the detail that is studied in the remainder of this section. But before we proceed to define H for different distance functions, we will first give a more rigorous description of the algorithm. 5.2 Top-k Retrieval with LSH # 5.2 Top-k Retrieval with LSH Earlier, we described informally the class of mappings that are at the core of LSH, as hash functions that preserve the distance between points. That is, the likelihood that such a hash function places two points in the same bucket is a function of their distance. Let us formalize that notion first in the following definition, due to Indyk and Motwani [1998].
2401.09350#165
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 165, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Extending the framework even further, we can repeat the process above L times by constructing independent mappings g1(·) through gL(·) from indi- vidual mappings hij(·) (1 ≤ i ≤ L and 1 ≤ j ≤ ℓ), all of which possessing the property of interest. Because the mappings are independent, repeating the procedure many times increases the probability of obtaining a high retrieval accuracy.\nThat is the essence of the LSH approach to top-k retrieval. Its key ingredi- ent is the family H of functions hij’s that have the stated property for a given distance function, δ. This is the detail that is studied in the remainder of this section. But before we proceed to define H for different distance functions, we will first give a more rigorous description of the algorithm.\n5.2 Top-k Retrieval with LSH\n# 5.2 Top-k Retrieval with LSH\nEarlier, we described informally the class of mappings that are at the core of LSH, as hash functions that preserve the distance between points. That is, the likelihood that such a hash function places two points in the same bucket is a function of their distance. Let us formalize that notion first in the following definition, due to Indyk and Motwani [1998].", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.016932989, -0.015105419, 0.056393564, -0.005998654, 0.030708136, -0.038490847, 0.0068564927, 0.008497575, -0.055200048, 0.027500564, 0.016671907, -0.0274757, -0.021135153, -0.032025974, 0.027351376, -0.0042177066, 0.04202166, -0.023087047, -0.031379487, 0.033940572, 0.018685963, -0.018661099, 0.016932989, 0.01623677, 0.0022285155, -0.04279247, 0.05107248, -0.007919466, 0.025188131, -0.03694922, 0.007310277, -0.02717732, -0.010455685, 0.0082737915, 0.0019177044, 0.05534924, -0.014918932, 0.054653022, -0.007770277, 0.0446822, -0.019394612, 0.012270822, -0.05977519, -0.05798492, -0.013911904, 0.011910281, -0.009025954, -0.018860016, -0.030409757, 0.035183813, -0.02436759, 0.012525687, -0.015055689, -0.01882272, 0.01261893, -0.010635955, 0.019046504, -0.00037005945, 0.048511393, 0.0075775743, -0.027251916, -0.011127037, -0.025449213, 0.012053254, -0.02147083, 0.0014476026, -0.025101103, 0.030210838, -0.008559737, 0.033294085, -0.035109222, 0.0153789325, 0.027003268, -0.0022875697, 0.029241107, 0.025834618, -0.024292994, 0.02844543, 0.038391385, 0.026680024, 0.025275158, -0.024529211, 0.05902924, 0.0022207452, -0.02183137, -0.024902184, -0.04716869, 0.003642706, -0.0749925, -0.029738406, -0.020476235, 0.021707047, 0.020078396, 0.027848674, 0.021483263, -0.020041099, 0.03612868, -0.020563262, -0.018648665, 0.017915152, 0.020451369, -0.018424882, 0.015304338, -0.048983827, 0.051122207, 0.0009316562, -0.037769765, 0.0023777047, -0.030509217, -0.010325144, -0.058283295, -0.0251384, -0.051967613, 0.020426504, 0.0377449, -0.024889752, -0.016100014, 0.02899246, -0.026630294, 0.022204343, -0.015963258, -0.02727678, 0.044433553, 0.007117574, -0.03389084, -0.08145737, 0.04779031, -0.045552474, 0.0064835194, -0.044508148, 0.006088789, -0.00964136, -0.022850832, 0.016920555, -0.025561104, 0.014918932, -0.04172328, -0.0265557, 0.0070243306, -0.0024010157, -0.029340567, -0.062908165, 0.00027662187, 0.016932989, 0.008814602, 0.036402196, -0.047342744, 0.013352444, 0.02645624, 0.021197315, -0.02116002, -0.034363274, -0.009417576, 0.035581652, -0.053409778, -0.032200027, -0.01892218, -0.012917309, -0.0013660147, 0.055747077, 0.0065643303, 0.014458932, 0.015167581, 0.023770832, -0.01089082, 0.0060670325, -0.020438937, -0.025859483, -0.055747077, -0.03185192, -0.025163265, -0.09543144, -0.00783244, 0.011127037, 0.0024989212, -0.017778395, -0.016771367, -0.0016146636, -0.0054236534, -0.021048127, -0.0069746007, 0.017542178, -0.022726506, -0.013874607, -0.0041897334, 0.012538119, 0.006452438, -0.015528122, 0.028768674, 0.01663461, 0.0049978425, 0.06295789, 0.015988123, 0.029788135, -0.0079754125, 0.017517313, 0.01602542, 0.02447948, -0.008926494, -0.033791382, 0.024143806, 0.018785423, 0.004099598, -0.03486057, -0.028768674, 0.015018391, 0.022962723, 0.015279473, -0.005401897, -0.027649755, -0.037421655, -0.032125436, 0.03210057, 0.04406058, 0.006020411, -0.00030187526, -0.024802724, 0.035855167, -0.017877854, 0.043588147, -0.037595708, 0.0022487182, 0.026978403, 0.0061540594, -0.042195715, 0.047069233, 0.013538931, -0.061068162, 0.01913353, -0.01322812, 0.034114625, 0.012494606, 0.023920022, -0.0526141, 0.01933245, 0.009057035, -0.054006536, -0.01094055, -0.006800547, -0.052166533, -0.029365432, -0.0001621074, 0.026132997, -0.0014351702, 0.012730822, 0.018412448, -0.0118108215, 0.019581098, 0.022465425, -0.03647679, -0.027401105, -0.0460995, -0.00038579426, -0.06171465, -0.03247354, 0.013576228, -0.004286085, 0.027028132, 0.026083266, -0.008628116, 0.0001351057, -0.009858928, -0.013986499, 0.021445965, -0.016187042, -0.0038074357, 0.00611987, 0.025983807, 0.010169739, -0.031628136, -0.03272219, 0.04950599, 0.003226219, -0.045676798, 0.0062690596, -0.038018413, 0.018971909, -0.0095791975, -0.039137334, 0.0118419025, -0.009740819, -0.002415002, 0.014744878, 0.00923109, 0.051171936, 0.0057624374, -0.046870314, 0.0020575693, -0.045751393, -0.05286275, 0.0072170333, -0.0446822, -0.015528122, -0.019817315, -0.027823808, 0.05007788, -0.05947681, -0.005529329, 0.0028485835, 0.018996773, 0.04614923, -0.005302437, 0.0009844941, 0.013078931, -0.032001108, 0.009989468, 0.058084376, -0.021048127, 0.005209194, 0.039709225, 0.035034627, 0.010729198, -0.025610834, 0.056592483, -0.028296242, -0.050376263, 0.052514642, -0.016448123, -0.024143806, -0.025212996, -0.0046870313, -0.042071387, 0.007894602, -0.025188131, 0.046074636, 0.019867044, -0.03806814, -0.045204364, -0.012904876, -0.023882724, 0.05684113, -0.025635699, -0.004960545, -0.008708927, -0.024852455, -0.015005959, -0.029788135, 0.02477786, -0.042469226, 0.0077516288, -0.014794608, 0.027774079, 0.009691089, -0.0079132505, 0.045055177, 0.060918972, 0.009647576, 0.017716233, -0.03346814, 0.00398149, -0.012587849, -0.02436759, -0.003620949, 0.014570824, 0.008404332, 0.000287306, -0.007826223, -0.042767607, -0.031802192, 0.009927306, -0.04925734, 0.0070554116, 0.016249204, -0.009541901, -0.037521113, 0.057835728, -0.009019738, -0.046845447, -0.02742597, 0.04416004, 0.031454083, 0.015851365, -0.008845683, -0.002433651, -0.014508662, 0.012214876, 0.013340012, 0.02395732, 0.026680024, 0.03988328, -0.0043327063, -0.02249029, -0.045254093, -0.033244353, 0.018748125, -0.0104121715, -0.04679572, -0.009802981, -0.035730843, -0.020650288, 0.002153921, 0.00235284, 0.022428129, 0.02717732, 0.007428385, -0.041300576, 0.034263816, 0.026431374, 0.04416004, 0.01373785, -0.029141648, -0.04065409, -0.044582743, -0.037595708, -0.019058935, 0.021968128, -0.009939739, 0.06619033, 0.045577336, 0.034214083, 0.028022727, 0.018424882, 0.022763804, -0.05271356, -0.009038387, 0.019556234, 0.053956807, 0.007645953, -0.008093521, -0.016709205, 0.047193557, 0.0067694653, -0.037173007, -0.03321949, 0.008224062, 0.009691089, 0.044334095, -0.010561361, 0.017741097, -0.041996796, -0.049058422, 0.05718924, 0.02630705, 0.00679433, -0.010213252, -0.025424346, 0.031727597, 0.020264883, -0.034935165, -0.062311407, 0.03851571, 0.008945143, -0.06265952, -0.033144895, -0.01750488, -0.0042674365, -0.0023372993, -0.019655693, 0.012650011, 0.04018166, -0.035531923, -0.013427039, 0.03806814, 0.033592463, -0.024255697, -0.034263816, 0.02966381, -0.055200048, 0.033393543, 0.0002702114, -0.035134085, 0.023372993, -0.024342725, -0.030558946, 0.039211925, 0.029440027, 0.00044795647, -0.0014887851, 0.020575695, -0.010064063, 0.056592483, -0.02859462, 0.04448328, -0.027600024, -0.012488389, 0.051171936, 0.0069932495, -0.045825988, -0.006421357, -0.009106765, 0.013054065, -0.009939739, -0.04279247, 0.008963792, 0.03423895, 0.043836795, 0.06822925, 0.058084376, 0.021545425, -0.0054764915, -0.0554487, -0.03520868, 0.03155354, -0.012202444, -0.041126523, -0.0064959517, 0.030882189, -0.036451925, -0.009417576, 0.012463525, 0.021433532, -0.013265417, -0.0053490587, 0.03769517, -0.025983807, 0.058034647, 0.021968128, -0.033194624, -0.013824877, 0.025784887, -0.0026760835, 0.049133018, 0.01622434, 0.019245423, 0.011935146, -0.0125692, 0.0038043277, 0.014061093, -0.007652169, -0.011605686, -0.013663256, 0.0377449, -0.054056264, -0.009218656, 0.022614615, -0.03346814, -0.033368677, -0.057786, 0.0032977057, -0.007708115, -0.016510285, -0.02010326, -0.009367846, 0.04122598, 0.018698394, -0.03729733, 0.0026683132, -0.041449767, 0.029788135, -0.0015897987, -0.005849465, 0.03478598, 0.017691366, 0.029390296, 0.0028718945, -0.02395732, 0.044781663, 0.0048921667, 0.020314613, -0.017330825, -0.001121251, -0.040082198, -0.016087582, 0.018002179, -0.022975156, 0.0031018946, 0.01806434, 0.04448328, -0.021769209, -0.024740562, 0.016560014, 0.016609745, -0.01104001, 0.038242195, -0.016796231, 0.017281096, 0.039162196, 0.007739196, 0.029216243, -0.0051687886, -0.0035743276, -0.027997863, 0.033865977, -0.02198056, 0.0012385822, -0.012880011, -0.024665968, -0.018225962, 0.04396112, 0.016298933, -0.017517313, -0.037173007, -0.03326922, -0.015341635, -0.031081108, -0.008168115, -0.025884347, 0.035681114, 0.007297844, 0.028420566, 0.011555957, -0.02976327, 0.0218811, -0.016808664, -0.0050568962, 0.008118385, 0.0076024393, -0.0040716254, -0.021582723, -0.027699484, -0.01030028, 0.026804348, -0.015851365, -0.021694614, -0.025660563, -0.027251916, -0.00796298, 0.008795953, 0.031105973, -0.0032448678, -0.005414329, -0.019158395, 0.0155032575, -0.018611368, -0.015702177, 0.022452993, -0.00015307446, -0.02971354, 0.03637733, -0.012917309, -0.035830304, -0.011711362, -0.0025719618, 0.018860016, 0.028520025, -0.007366223, -0.00213061, -0.03871463, -0.043364365, -0.036501653, 0.0043016253, 0.009554333, 0.007764061, 0.0001907603, 0.016870826, 0.052166533, 0.0040001385, 0.039361116, 0.051171936, 0.0026838537, -0.0031298676, 0.02610813, 0.025076238, -0.044557877, 0.014620554, -0.0002801185, -0.01994164, 0.012413795, -0.002129056, -0.021856235, -0.011835686, -0.03287138, 0.030459486, 0.00936163, 0.033766516, -0.014284878, 0.024417318, -0.001120474, 0.031628136, -0.021620018, 0.005019599, -0.0057624374, -0.019083802, -0.029191377, 0.01551569, -0.00020513532, 0.0035028409, -0.013489202, 0.03515895, 0.02869408, -0.0023062183, 0.021632452, 0.040156793, -0.03784436, -0.04833734, -0.009479738, -0.034313545, -0.023161642, -0.045154635, -0.013862175, 0.010175955, -0.019730289, -0.033965435, -0.03326922, -0.001402535, 0.007981629, 0.016149744, -0.016671907, -0.0061043296, 0.0149065, -0.016162176, -0.00842298, 0.00037083647, -0.044184905, 0.021818938, 0.01903407, -0.031155704, 0.0064400057, -0.013041633, -0.02040164, -0.0060981135, 0.036451925, -0.02380813, -0.027600024, -0.01740542, -0.035109222, -0.01964326, 0.03672544, 0.020463802, -0.04391139, -0.003900679, -0.010461901, 0.00386649, 0.01429731, 0.00020571808, 0.008435413, -0.0055324375, -0.027301647, -0.0082737915, -0.018350286, -0.019954072, 0.01531677, -0.030335162, 0.018027043, -0.030558946, 0.02076218, -0.034338407, 0.006110546, 0.012650011, -0.020264883, 0.0125692, 0.05276329, 0.019618396, -0.012991903, 0.025710294, -0.0079443315, -0.04876004, 0.013824877, -0.006694871, 0.004715004, 0.020513533, -0.009025954, -0.00857217, 0.04542815, 0.018275691, 0.007938115, 0.049331937, 0.0057562212, 0.00114767, 0.00796298, -0.007235682, 0.009504603, -0.01317839, 0.0058960863, 0.05947681, -0.00806244, -0.011624334, -0.0123392, 0.0052060857, -0.008895413, 0.0073040607, 0.016485421, -0.036675707, -0.013066499, 0.040305983, -0.0151427165, -0.045527607, -0.03597949, 0.010057847, -0.01373785, 0.033493, 0.010343793, 0.026481105, -0.0031220973, 0.035631385, -0.011226497, -0.007092709, 0.0015455082, -0.007994061, -0.014421634, -0.04289193, -0.037670303, 0.0040001385, -0.0011259131, -0.010561361, -0.0046559502, -0.05281302, 0.007820007, 0.024790293, -0.05485194, 0.011730011, -0.0052247345, -0.021856235, -0.026854077, -0.018449746, 0.049580585, -0.009436225, -0.094387114, -0.015005959, 0.03861517, 0.021532992, 0.033294085, 0.04172328, -0.0025626374, -0.011406767, -0.010928118, -0.036899492, -0.008994873, -0.015279473, -0.0022533804, 0.010611091, -0.024541644, 0.009585414, 0.0011686496, 0.003031962, -0.012967039, -0.022975156, -0.0060546, 0.012090552, 0.008360818, 0.011201631, -0.0088519, -0.022179479, -0.0021787856, -0.033517867, -0.009405144, 0.018698394, 0.007235682, 0.023783265, 0.0049512205, 0.0050227074, -0.028718945, -0.038590305, 0.01633623, 0.011630551, -0.012842714, -0.030111378, -0.0129421735, -0.038640033, -0.0120781185, -0.02086164, 0.048610855, -0.034064896, 0.005697167, 0.009883792, 0.02396975, -0.002244056, 0.0014996635, -0.008354602, 0.032548137, 0.028818404, -0.01541623, 0.024491914, 0.039510306, 0.01867353, -0.041797876, 0.0053552752, -0.01429731, 0.014023797, 0.04018166, 0.0011251362, -0.023895156, -0.03068327, -0.04791464, 0.050301667, 0.004419734, 0.02457894, 0.010959199, -0.02757516, 0.002105745, 0.050351396, 0.05316113, 0.013340012, -0.010070279, 0.04115139, -0.014272445, 0.022888128, 0.01984218, 0.0065767625, 0.00060763565, 0.015627582, 0.014048661, -0.025076238, 0.017243799, -0.0001143202, -0.046497338, 0.009019738, 0.00358676, 0.024703266, 0.024976779, 0.040082198, 0.008292439, -0.022104885, -0.024243265, -0.005485816, 0.029042188, -0.0033101381, 0.0029868945, 0.016149744, 0.0031500703, -0.029837864, -0.0010427712, -0.00946109, 0.031155704, 0.010828658, 0.045104906, 0.019257855, 0.0031003405, -0.018337853, -0.01826326, -0.05316113, 0.005597708, 0.01989191, 0.007092709, 0.028370837, 0.005799735, -0.033493, 0.02941516, 0.012090552, 0.01887245, 0.0051656803, -0.01979245, 0.0056536538, -0.0012409133, 0.039162196, -0.016609745, 0.027351376, 0.0125816325, 0.069124386, 0.008435413, 0.0055262214, -0.037222736, 0.03443787, 0.030310297, 0.015267041, -0.025076238, 0.034064896, 0.040579494, 0.030509217, 0.02503894, 0.01541623, 0.0019689882, 0.025809752, -0.023944886, -0.01597569, -0.035681114, -0.013066499, -0.013899472, -0.0010248995, 0.016920555, 0.021508127, -0.036998954, -0.0004794261, 0.02263948, -0.0109467665, 0.06638925, 0.02971354, -0.0018772989, 0.0025144618, -0.005119059, 0.018487044, 0.051321127, 0.022055155, 0.007900818, 0.023534616, 0.010691902, 0.04508004, 0.008565954, -0.011102172, 0.00093787245, 0.03244868, 0.033915706, 0.018499477, 0.0036364896, -0.007366223, -0.025014076, -0.01099028, -0.031802192, 0.010729198, -0.0003306253, -0.004941896, 0.032597866, -0.005016491, -0.0068254117, -0.03361733, 0.0063778437, 0.04721842, 0.025461644, 0.016584879, -0.0013939877, -0.01801461, -0.0021803398, -0.031304892, -0.0090446025, 0.024765428, -0.03963463, 0.00992109, -0.043190308, 0.06604114, -0.0034375705, 0.0057779783, 0.0073040607, 0.02767462, -0.016597312, -0.006775682, 0.0006779567, 0.028768674, -0.005973789, -0.007919466, 0.00036131789, 0.011313523, 0.02752543, -0.019481638, 0.007254331, 0.005218518, -0.008584602, -0.043836795, 0.0090819, -0.010026766, -0.003056827, 0.040480036, -0.02273894, -0.009541901, 0.043985985, -0.026033537, -0.042145982, 0.008609467, 0.008708927, 0.0014701365, -0.011531091, 0.008317305, -0.029116783, 0.034413002, -0.016037852, -0.018623801, 0.0084478455, -0.019581098, 0.04251896, -0.02249029, 0.014036229, 0.025859483, -0.03478598, -0.017753528, 0.029887594, -0.008354602, -0.021893533, -0.031404354, -0.0020668937, 0.024653535, 0.0057344646, -0.029091917, -0.05649302, -0.0041524363, -0.008323521, 0.051619504, 0.053310316, -0.012929741, 0.02502651, 0.010592442, 0.009019738, -0.004037436, -0.008087304, -0.022403263, 0.023136778, 0.0006938857, -0.0009339873, 0.00085939263, -0.03612868, 0.026878944, -0.005694059, 0.024292994, -0.017318394, 0.0043886527, -0.0017172312, 0.025001643, 0.014409202, -0.030857325, -0.009243522, -0.0018306773, -0.022179479, -0.016012987, 0.013712985, -0.02742597, 0.016796231, -0.009740819, 0.02193083, -0.014570824, 0.027052997, 0.049033556, -0.00012422731, 0.020799479, 0.0074656825, -0.0064089247, 0.0056723026, 0.021135153, -0.011655415, -0.017591907, -0.0152048785, 0.012152714, 0.037272464, -0.008970008, 0.030185973, 0.0018928396, -0.017430285, -0.0054516266, -0.022701642, -0.041250847, 0.02630705, -0.000072457835, 0.013725418, 0.0042145983, -0.00842298, 0.01485677, -0.002158583, 0.009498387, -0.002909192, -0.020078396, -0.018897314, 0.010343793, 0.024852455, -0.005662978, -0.013078931, -0.004143112, 0.029265972, 0.0059396, -0.019804882, 0.013501634, -0.013514066, 0.028296242, -0.020240018, -0.020488666, -0.07121304, -0.006918655, 0.0039721658, -0.042618416, -0.016187042, -0.032125436, 0.016821096, -0.00069194316, 0.02543678, -0.031230299, -0.027227052, -0.0030848, -0.0030102055, -0.009672441, -0.0082116285, -0.04838707, 0.04779031, 0.0036054086, -0.044632472, -0.02553624, -0.007900818, 0.02492705, 0.010194603, -0.024230832, -0.0237584, 0.016385961, -0.004012571, 0.011506227, 0.006800547, 0.0041368958, -0.015105419, 0.037421655, -0.015453528, 0.039808683, -0.030036783, 0.019581098, 0.03103138, -0.0046994635, -0.00086405483, -0.022291372, -0.02081191, -0.0037141924, 0.0005575174, 0.04547788, -0.014533526, 0.0025439886, -0.013340012, -0.016696772, -0.023994615, -0.00089902105, -0.04580112, 0.0053179776, 0.011717578, 0.017119475, 0.006365411, -0.01266866, -0.00030498338, 0.014570824, -0.009224873, 0.028147053, -0.0011880754, -0.011350821, 0.037123278, -0.00018376706, -0.009355414, -0.015640015, -0.024889752, -0.009890009, 0.031081108, -0.0023745967, -0.008037575, -0.02268921, 0.0061820326, -0.0004370781, -0.0027071645, -0.00071136886, -0.024081644, -0.011910281, -0.034885436, -0.020364342, -0.0073600067, -0.025324887, -0.03998274, 0.038093008, 0.0036364896, 0.0058090594, -0.0009052373, 0.00852244, -0.02290056, 0.013340012, 0.017877854, 0.0060110865, 0.002994665, 0.046745986, -0.060819514, 0.01989191, 0.01243866, 0.04696977, -0.013712985, -0.009274603, 0.008416764, 0.011313523, 0.014993527, -0.0017731773, 0.031230299, 0.0367503, -0.021644885, 0.016249204, 0.06459898, -0.027774079, -0.009709738, -0.0003657858, -0.020675154, -0.020675154, -0.017691366, -0.005892978, -0.007907034, 0.0013838863, 0.028271377, 0.012991903, 0.0044135177, 0.0045316257, -0.04135031, 0.030310297, 0.016410826, -0.009398927, 0.015814068, -0.014197851, 0.03575571, 0.007801358, -0.0069870334, 0.026779484, -0.05321086, 0.0051097344, -0.01699515, -0.00017007194, 0.0037887872, 0.001794934, 0.006875141, 0.024740562, 0.012183795, 0.020836776, -0.021383803, -0.013712985, 0.030907055, 0.03113084, -0.03210057, -0.013849742, 0.009038387, 0.012382714, 0.043190308, 0.0016146636, 0.029464891, -0.025424346, 0.013526498, -0.0140113635, 0.008174332, 0.028122187, -0.04473193, -0.009883792, 0.023832994, 0.043065984, 0.018325422, 0.012817849, 0.011711362, -0.024007048, -0.023783265, 0.0012378051, -0.016883258, 0.023447588, -0.000105481515, 0.02996219, 0.0088083865, -0.005439194, 0.017629204, 0.036824897, 0.012258389, 0.005234059, 0.0028004078, 0.002470948, 0.031056244, -0.0064897356, -0.032622732, -0.034487598, -0.0018011503, 0.006446222, -0.0209611, -0.003841625, 0.029489756, -0.025735158, -0.038913548, -0.020538397, -0.0134767685, 0.025275158, 0.010604874, 0.0035401382, -0.027251916, -0.044383824, 0.02319894, 0.004320274, -0.009952171, 0.011624334, 0.010194603, 0.0014794607, 0.02752543, 0.00064065936, -0.0018027043, 0.023795696, 0.0056474376, -0.0090446025, -0.023671372, -0.008889197, -0.012929741, 0.03764544, 0.022875696, 0.016286502, 0.04542815, -0.010281631, -0.010474334, -0.023646507, 0.057736266, -0.03515895, 0.025983807, -0.022042722, -0.019320017, 0.020476235, 0.005408113, 0.0010179064, -0.017156772, 0.002244056, -0.025175698, 0.02640651, 0.00454095, 0.0041710846, 0.022117317, -0.015242176, -0.022042722, -0.0006962168, -0.015963258, -0.026182726, -0.0070243306, -0.010362442, 0.021358937, -0.008124602, 0.01373785, 0.02081191, 0.0151427165, -0.009150279, 0.02010326, 0.0015338528, 0.009852711, 0.008037575, -0.014148121, 0.015080554, -0.0070118983, 0.014570824, -0.0062379786, -0.01266866, 0.02772435, -0.027699484, 0.030907055, 0.026033537, 0.0479395, 0.010897037, -0.0096102785, -0.027500564, -0.0065767625, 0.011388118, -0.004093382, -0.04876004, 0.037570845, -0.0068254117, 0.014869203, 0.02650597, 0.0101137925, 0.023895156, -0.0022766911, 0.026132997, -0.004659058, -0.013016769, 0.008721359, -0.014682716, -0.049779505, 0.045950312, -0.056244373, -0.010766496, 0.0020948667, -0.0058463565, -0.01837515, -0.02446705, -0.009666225, 0.0055106804, -0.03826706, -0.020215154, 0.006365411, -0.0060390593, -0.00997082, -0.0010886159, 0.006719736, 0.0039939224, 0.01887245, 0.0043358146, 0.008385683, 0.03083246, -0.00403122, 0.004006355, 0.013389742, -0.010362442, 0.0014452715, 0.017082177, -0.03185192, -0.046646528, -0.01918326, -0.0060918974, -0.0140113635, 0.044905987, -0.008124602, 0.018636232, 0.015863799, 0.014123255, 0.007204601, 0.051271398, -0.0047212206, 0.008708927, -0.04508004, -0.0060359514, -0.013750282, -0.013911904, -0.014148121, 0.030185973, -0.0070616277, -0.009144062, 0.0015206432, 0.01480704, 0.0065643303, 0.034562193, -0.021620018, -0.030757865, -0.0027242592, 0.009535684, 0.0032417597, -0.025275158, -0.009827847, -0.014956229, -0.0017809476, 0.0056691943, 0.020588126, 0.036402196, 0.0023497317, 0.02477786, 0.003645814, 0.0251384, 0.03321949, 0.00095652114, -0.0020544613, -0.021433532, 0.0026558808, 0.0104432525, -0.01030028, 0.0035650032, 0.006775682, -0.0062814923, 0.01485677, 0.002242502, -0.000101013604, -0.00852244, 0.017554611, 0.038540576, -0.008292439, -0.0031500703, 0.00013452292, -0.013800012, 0.001122805, -0.02125948, -0.022353534, 0.011002713, -0.026928673, -0.0066513573, 0.016883258, 0.045353554, -0.0070491955, -0.0022207452, -0.060819514, -0.0032417597, -0.032349218, 0.0022083127, 0.005075545, 0.037173007, -0.0012510146, 0.0033691921, 0.0021523668, -0.011456497, 0.0046621663, -0.022937858, -0.00028983134, -0.014993527, 0.02127191, -0.024280563, -0.00987136, -0.021905966, 0.013427039, 0.01836272, -0.009498387, 0.0028920972, -0.015180013 ]
2401.09350
166
Definition 5.1 ((r, (1 + ϵ)r, p1, p2)-Sensitive Family) A family of hash functions H = {h : Rd → [b]} is called (r, (1 + ϵ)r, p1, p2)-sensitive for a distance function δ(·, ·), where ϵ > 0 and 0 < p1, p2 < 1, if for any two points u, v ∈ Rd: • δ(u, v) ≤ r =⇒ PH • δ(u, v) > (1 + ϵ)r =⇒ PH © S(u,v) <r => Py [A(u) = h(v)] > pi; and, © S(u,v) >(1+e)r => Px [h(u) = h(v)] < pr. It is clear that such a family is useful only when p; > po. We will see examples of H for different distance functions later in this section. For the time being, however, suppose such a family of functions exists for any 6 of interest.
2401.09350#166
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 166, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Definition 5.1 ((r, (1 + ϵ)r, p1, p2)-Sensitive Family) A family of hash functions H = {h : Rd → [b]} is called (r, (1 + ϵ)r, p1, p2)-sensitive for a distance function δ(·, ·), where ϵ > 0 and 0 < p1, p2 < 1, if for any two points u, v ∈ Rd: • δ(u, v) ≤ r =⇒ PH • δ(u, v) > (1 + ϵ)r =⇒ PH\n© S(u,v) <r => Py [A(u) = h(v)] > pi; and, © S(u,v) >(1+e)r => Px [h(u) = h(v)] < pr. It is clear that such a family is useful only when p; > po. We will see examples of H for different distance functions later in this section. For the time being, however, suppose such a family of functions exists for any 6 of interest.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.04030967, -0.01412465, -0.001898508, 0.0075064567, -0.0041066576, -0.038207866, 0.031927463, 0.025997361, -0.007925567, 0.007656586, 0.0017280489, -0.025184162, -0.021793745, -0.0142372465, 0.013086257, -0.0050950074, 0.053295843, -0.0035155239, -0.0007447813, 0.012767232, 0.022381753, 0.01744, -0.0037375898, -0.040684994, 0.043937795, -0.023745425, 0.040710017, 0.025171652, 0.060351912, -0.030451193, 0.01791541, -0.023732914, 0.00240363, -0.06065217, -0.039984394, 0.02105561, -0.004935495, 0.06130273, -0.010121206, 0.08372202, -0.019178998, 0.023482699, -0.061602987, -0.07616551, -0.028999945, 0.019479256, 0.021643616, 0.01010244, 0.015901178, 0.019354148, -0.028574578, 0.025546974, -0.020993058, -0.01117211, -0.009839714, 0.01677693, 0.0022112771, 0.016726887, 0.026397707, -0.028849816, 0.031477075, -0.046590075, -0.040484823, 0.011184621, -0.018928781, 0.019191507, -0.029450333, 0.016839484, -0.025872255, 0.029049987, 0.0006353121, 0.028574578, 0.046414923, 0.019779513, 0.05404649, 0.0057486948, -0.017477533, -0.0054484364, -0.01413716, 0.03763237, 0.04914227, 0.016664334, 0.02497148, 0.007956844, -0.03585584, -0.038508125, -0.045714322, -0.01759013, -0.058600407, -0.019341636, 0.011447347, 0.013549155, 0.027848955, 0.016726887, -0.02794904, -0.06430531, 0.022932226, 0.03432953, -0.06085234, -0.013711794, -0.016977103, -0.025697103, 0.013173832, -0.040710017, 0.09643295, -0.0038157823, -0.021881321, 0.026347663, -0.0305763, 0.04058491, 0.010909384, -0.013886945, 0.0040441034, 0.06620695, -0.023307549, 0.0050105597, -0.029500375, -0.035230305, 0.009833458, -0.00943937, -0.012435697, -0.018053029, 0.06875914, -0.036256187, 0.0040972745, 0.006999771, -0.021505998, -0.043612514, 0.011084534, -0.0143248215, 0.019028869, 0.020680288, 0.019116443, 0.013924478, 0.013886945, 0.043812685, 0.009489412, -0.0266229, -0.009489412, 0.0035468007, -0.00042458397, -0.00013976866, 0.016889527, 0.059601266, 0.017389959, 0.020117303, -0.06555639, 0.012316844, 0.018215667, 0.017289871, -0.014587548, -0.03172729, 0.011766371, 0.022331709, -0.02349521, -0.027548697, -0.005967633, 0.06715777, -0.012416931, 0.024546113, -0.0397592, 0.035380434, -0.024133258, 0.012179226, 0.021593574, -0.01676442, -0.025509441, -0.006618193, -0.03040115, -0.014825252, -0.04323719, -0.051844593, -0.040209588, 0.028049126, 0.007087346, -0.011603731, -0.025584506, -0.018303243, -0.028974922, -0.02154353, 0.021305826, 0.07006026, 0.00020877333, -0.048216473, 0.052545197, -0.007662841, 0.0070060263, -0.018991336, 0.03748224, -0.020117303, -0.00092657824, 0.037982672, 0.025897276, 0.022469327, 0.015200575, -0.05111897, 0.0021627978, 0.053445973, -0.03600597, -0.045138825, 0.016464163, -0.0016826973, 0.03498009, -0.024908926, -0.044988696, -0.044788525, 0.006505596, 0.048741926, 0.017790303, 0.02250686, -0.025259227, 0.0026804307, 0.0647557, 0.033478796, 0.014099628, -0.014199714, 0.022857161, -0.005901952, 0.014825252, 0.06600678, -0.06991013, 0.008932684, 0.037857562, 0.022707032, -0.01810307, 0.028824793, -0.029400289, -0.0852233, -0.0058425255, -0.030826516, 0.008763788, 0.015863646, -0.013561665, -0.05374623, -0.005160689, 0.018440861, -0.0611526, -0.00057940464, -0.037882585, -0.08362193, -0.0358058, -0.010559082, -0.005445309, 0.0036719085, 0.008694979, 0.006705768, 0.02051765, 0.017002124, 0.028224276, -0.049867895, -0.007218709, -0.02709831, -0.025847232, -0.047816128, -0.025697103, 0.0076315645, 0.000083421364, 0.0017734003, -0.01010244, -0.0056705023, -0.033578884, -0.013987031, 0.0061646774, 0.008801321, -0.0026397705, -0.03355386, -0.00567363, 0.022556903, 0.011597476, -0.008563616, 0.04501372, 0.04073504, 0.0021940747, -0.0123231, -0.021418422, -0.008582382, 0.01580109, -0.0028931135, -0.040860146, 0.00723122, -0.018803675, -0.017615153, 0.035430476, 0.011222153, 0.030701408, 0.018090561, -0.0030276042, -0.01676442, -0.035555582, -0.041360576, 0.018428352, -0.04651501, -0.013273918, -0.046965398, -0.027748868, 0.024471048, -0.015913688, -0.043487407, -0.030451193, 0.010027375, 0.01859099, 0.03072643, 0.00847604, 0.006349211, -0.005880058, 0.024270877, -0.012610847, -0.013348983, -0.0061990824, -0.0034310762, 0.01446244, 0.010828064, -0.010465252, -0.0026788667, -0.060401954, -0.03745722, 0.029975783, -0.026172513, -0.012948638, -0.016138881, 0.021606084, -0.027398568, 0.02892488, -0.034154378, 0.008469786, -0.0009813128, -0.048241496, -0.012429441, 0.015338194, -0.025009012, 0.021943875, 0.0003100323, -0.02482135, 0.03630623, -0.030025827, 0.008807576, -0.01939168, 0.054797135, -0.016651822, -0.018378308, -0.022131536, -0.028799772, -0.0064117652, -0.020955525, 0.008325911, 0.007325051, 0.010727977, 0.037932627, 0.025396844, 0.008926428, 0.0011681924, -0.0064117652, -0.027398568, 0.02105561, 0.02792402, -0.01157871, -0.021243272, -0.043362297, -0.064005055, 0.025434377, -0.028524535, -0.018303243, -0.017540088, -0.017940432, -0.007869269, 0.029600462, -0.0040941467, -0.035730734, -0.022994779, -0.025722126, -0.047240634, 0.07526474, -0.017252339, 0.023094865, -0.025922297, 0.0076190536, -0.032502957, 0.0020642756, 0.037732456, 0.018703587, 0.018991336, 0.03585584, -0.02709831, -0.01872861, 0.027523674, -0.0077003734, -0.025872255, -0.01890376, -0.0022300433, -0.027323503, 0.05029326, -0.00468528, -0.009501923, 0.044638395, -0.032928325, -0.03287828, 0.005410904, 0.033929184, 0.018641034, 0.0124044195, -0.03945894, -0.04866686, -0.04636488, 0.0011619369, -0.061202645, 0.030100891, 0.035580605, 0.06655725, 0.040009413, 0.02942531, -0.019792024, 0.03305343, 0.015638452, 0.013936988, 0.0058738026, -0.0064993403, 0.050243217, -0.011403559, 0.002879039, -0.0055078627, -0.008400976, -0.013736816, -0.047916215, -0.009314261, -0.0064180205, -0.009445624, 0.010759255, -0.011228408, 0.013524133, -0.02709831, 0.02402066, 0.0870749, 0.030000806, 0.01314881, -0.017064678, -0.015738538, 0.042686716, -0.0010829627, -0.032127634, -0.024958968, 0.03420442, -0.017177274, -0.01675191, -0.031026687, -0.012836041, -0.023782957, 0.022068983, -0.049667723, -0.0022378624, 0.008682468, -0.047515873, 0.02364534, 0.0028837305, 0.019691939, 0.017465023, -0.009839714, 0.03748224, -0.021893833, -0.009964821, -0.032953344, -0.004588322, -0.000636094, -0.018928781, -0.026072426, 0.0037344622, -0.031126773, 0.005232626, -0.022131536, -0.03665653, 0.009564477, 0.04241148, -0.0149003165, 0.06425527, 0.011678795, 0.028224276, -0.022732053, 0.010734233, -0.03125188, 0.0305763, 0.014274779, 0.037056874, -0.024421006, -0.041460663, 0.015926199, -0.01092815, 0.038808383, 0.051068928, 0.03745722, 0.012154205, 0.040509846, -0.031276904, -0.0460396, 0.020492626, -0.012285568, 0.015238107, 0.009595754, -0.0010383932, -0.0032340318, -0.00093283365, 0.018340776, 0.03503013, 0.020780375, -0.0124044195, 0.011685051, -0.028774751, 0.011178365, 0.03978422, -0.020467605, -0.026447749, -0.0025991106, 0.007062325, -0.009545711, -0.0007604197, -0.007888035, 0.015600919, -0.00436, 0.024195813, 0.006693257, -0.012479484, -0.007300029, 0.00065798784, 0.006505596, -0.026072426, 0.004797877, 0.03663151, -0.03135197, -0.012717188, -0.043962814, 0.0018859972, -0.07691616, 0.0122042475, -0.000939089, -0.020317476, 0.026472772, 0.012166715, -0.020017218, 0.0047759833, -0.0322027, 0.05669877, 0.041460663, -0.042236328, -0.033779055, 0.009182898, 0.04318715, 0.007869269, 0.033954207, 0.026873115, 0.02694818, 0.011553688, -0.00091954094, -0.021268293, -0.0014113702, -0.029975783, 0.020617735, -0.036806658, -0.005170072, 0.004444448, 0.03858319, -0.015588408, 0.022556903, -0.007493946, -0.0052357535, -0.0029666142, 0.020355009, -0.003978422, 0.06655725, 0.031452052, -0.026773028, -0.03125188, -0.020555181, 0.0059707607, 0.018128093, 0.025334291, -0.06670738, 0.027823932, -0.014412397, -0.0132864285, -0.011178365, 0.019842068, 0.013323961, -0.018528437, 0.012110417, -0.009470646, -0.042686716, -0.0018750504, -0.0069059404, 0.022932226, 0.0031527118, -0.014750187, 0.010502784, -0.0134866005, 0.02203145, 0.019616874, 0.0016889528, -0.005473458, -0.008701234, -0.037682414, -0.008738766, -0.04633986, -0.009120345, 0.006605682, -0.013999542, 0.020329988, -0.014962871, -0.048366603, -0.013236386, -0.029825654, -0.001322231, 0.012416931, -0.023933087, -0.02269452, 0.006352339, 0.028474493, 0.022782097, -0.017077189, 0.004119168, 0.008344677, -0.024133258, 0.029725568, -0.014937849, 0.0024114493, -0.025597017, 0.02892488, 0.00009940191, 0.0064180205, 0.059951566, 0.03232781, 0.0012041607, -0.009551967, -0.0088701295, 0.003928379, 0.0007201507, -0.005567289, -0.0074001155, -0.0022159687, 0.026222555, 0.0055391397, 0.0040847636, -0.015988752, -0.035205282, 0.027623761, 0.058250103, 0.023595296, -0.04308706, 0.0033090964, 0.021743704, -0.026447749, 0.008532339, -0.0076002874, -0.02729848, 0.027723847, -0.026547836, -0.011359771, -0.030851537, 0.015263129, -0.00067010766, 0.0009961694, -0.008313401, 0.0033247347, -0.032603044, 0.008444764, 0.002847762, 0.0025099714, -0.048842013, 0.0358058, 0.005445309, 0.013361493, 0.018178135, 0.021505998, -0.010721723, 0.016138881, 0.008795065, 0.048791967, 0.0000653394, -0.03320356, -0.047941238, -0.01954181, 0.006712023, -0.038883448, -0.0010837447, 0.001566191, 0.003593716, -0.0073813493, -0.020192368, 0.011985309, 0.006149039, 0.0012502942, -0.020505138, -0.0038658252, -0.011516156, -0.011528666, -0.007687863, 0.056148298, -0.01907891, 0.07871771, -0.005523501, 0.012836041, 0.020117303, 0.015438279, -0.029875698, 0.012379399, 0.03745722, -0.025672082, -0.018378308, -0.040509846, -0.045414064, -0.036456358, 0.0140370745, 0.022369241, -0.013298939, 0.009820947, 0.033128496, -0.012698422, 0.028849816, 0.02234422, -0.03040115, 0.02794904, 0.013599197, -0.0064492975, -0.033603903, -0.020567691, 0.005301435, -0.06410514, 0.03843306, -0.0087137455, -0.011097046, -0.012923616, 0.008795065, -0.0026757391, -0.025647061, 0.01010244, 0.04226135, -0.004966772, 0.03232781, 0.0033841608, 0.008532339, -0.018978825, 0.030626344, -0.027423589, -0.015200575, -0.006380488, 0.0046696416, -0.011441091, 0.006855897, -0.016714377, 0.036581464, 0.021230761, -0.005342095, 0.013999542, 0.013073745, 0.00015413649, 0.010139972, -0.028024105, 0.0047009187, 0.020993058, 0.0035217793, -0.021593574, 0.03620614, -0.046615098, -0.013298939, 0.0249965, 0.012229269, -0.0687091, 0.018002985, 0.029725568, 0.0065181064, -0.025822211, -0.012129183, 0.0141496705, -0.0131112775, 0.024771307, 0.037432197, 0.004150445, 0.01956683, 0.057349328, -0.004122296, -0.02777389, -0.0065306174, -0.013749327, 0.0067933435, 0.016176414, -0.045414064, -0.017127233, -0.0022738308, -0.001029792, 0.024883904, 0.0048729414, -0.017064678, 0.04108534, -0.050243217, 0.023545252, 0.00480726, -0.0070310477, -0.023945596, -0.010139972, -0.00529518, 0.010515295, -0.11589969, 0.007906801, 0.04468844, -0.008526084, 0.00847604, 0.010308867, -0.0018218796, 0.0056986515, -0.011929011, -0.044613376, 0.035080176, 0.002183128, -0.01068419, 0.009408092, -0.008988982, -0.019804535, 0.008820087, -0.02450858, 0.017189786, -0.009545711, -0.0007455632, 0.01125343, 0.08282124, 0.03663151, -0.018928781, 0.039684135, -0.011315984, -0.025997361, -0.013461579, -0.010033631, 0.035555582, -0.0044194264, -0.026222555, -0.0068746633, -0.006130273, -0.03007587, 0.01872861, 0.0127297, 0.020267433, 0.050043046, 0.01298617, -0.06060213, -0.00739386, -0.027023245, 0.036806658, -0.055747952, 0.018540949, 0.0117851375, -0.0104589965, -0.006330445, -0.022219112, -0.013849413, 0.011447347, -0.016701866, -0.026247578, 0.028499514, 0.0047822385, 0.025346803, -0.04358749, -0.033478796, -0.026047405, 0.021968897, 0.04191105, -0.0155633865, -0.037507262, -0.02316993, -0.028774751, 0.0077441614, 0.005767461, 0.040634952, 0.014537505, -0.025597017, -0.035755757, 0.032653086, 0.0131988535, 0.0028039743, 0.008569871, -0.023695381, -0.038257908, -0.017152254, 0.026097449, -0.002594419, -0.039358854, 0.035580605, 0.018853717, 0.0058018654, 0.015037935, 0.030751452, 0.015375726, 0.006371105, 0.00037708215, 0.026347663, 0.024045683, 0.01857848, -0.020017218, -0.010996959, -0.0008304018, -0.01363673, 0.024095725, 0.018528437, 0.011215897, 0.042686716, 0.006755811, -0.035580605, -0.013786859, -0.008682468, 0.038483102, 0.016839484, 0.01364924, -0.005908207, -0.017540088, -0.011059513, -0.04949257, -0.016276501, -0.013374004, -0.023908064, 0.009745883, -0.0067745773, -0.021468466, -0.012998681, 0.0037344622, 0.03765739, 0.032277763, 0.06250376, -0.0052670306, -0.014675123, -0.04025963, 0.009170388, -0.012848551, 0.0128235305, -0.0034529702, 0.02727346, 0.012542038, 0.0246462, 0.012097906, 0.0034654809, 0.040835124, -0.0061146347, -0.046615098, -0.0022284794, 0.025059056, 0.023883043, 0.058950707, 0.017977964, -0.055197477, 0.019767003, -0.018816184, -0.035080176, -0.010909384, 0.0045288955, -0.025171652, -0.009226686, 0.019341636, 0.0065368726, -0.011559944, -0.01413716, 0.027898997, -0.001443429, 0.028724708, 0.016163904, 0.0013949499, 0.02103059, -0.00022128409, 0.036256187, 0.03435455, -0.008932684, -0.0065306174, 0.0077629276, 0.016226457, 0.0023567146, 0.026222555, -0.032302786, -0.03635627, -0.009570733, -0.0139494985, -0.00077879487, 0.02399564, -0.014387376, -0.016489184, -0.02513412, 0.044588353, 0.019854577, 0.035780776, 0.015213085, 0.059651308, -0.018991336, -0.013461579, -0.03435455, 0.033628926, 0.029600462, 0.025121609, 0.03337871, -0.0030322957, 0.0068121096, 0.016351566, 0.0050043045, -0.008782554, -0.0122042475, -0.015863646, 0.015788581, -0.004572683, 0.07461418, -0.005410904, -0.020042239, -0.0025037162, 0.021080632, 0.020830417, -0.023757936, 0.015738538, 0.06655725, -0.012191737, 0.004829154, 0.0067933435, 0.00028970232, -0.008694979, -0.004222382, 0.02086795, -0.006849642, 0.004100402, 0.016038796, 0.008795065, -0.037982672, -0.0034967577, 0.016013775, -0.011547432, -0.02744861, 0.014975381, -0.0026945053, -0.035080176, -0.000707249, -0.006170933, 0.02118072, 0.022631967, -0.024145769, 0.002616313, 0.009483157, 0.009677074, -0.011603731, -0.0011095481, -0.04030967, 0.016814463, -0.013236386, -0.015538366, -0.002625696, -0.014775209, -0.049242355, 0.00012256636, -0.031977504, 0.038708296, -0.028799772, -0.024946459, -0.000018656185, 0.026472772, 0.011015725, -0.03663151, -0.026647922, -0.01159122, 0.029500375, 0.04518887, -0.004350617, 0.0066307033, -0.020242412, 0.027323503, 0.017352426, 0.015000403, -0.015525855, 0.050693605, 0.04271174, 0.015263129, -0.029200116, 0.0018171881, 0.028474493, -0.016151393, 0.010408954, -0.016401608, 0.03190244, 0.007625309, 0.052945543, 0.027673803, -0.028524535, -0.009677074, -0.024008151, -0.019429212, -0.011378537, 0.0009781851, -0.01887874, 0.028974922, 0.011866457, 0.020993058, 0.03518026, 0.045939516, -0.0025772168, 0.008901407, -0.008588637, 0.011597476, -0.023244994, 0.005310818, 0.030276041, 0.008188293, -0.027223416, 0.028874837, -0.0032465425, 0.03122686, -0.009595754, 0.047866173, -0.009989843, -0.02088046, -0.025584506, -0.03170227, -0.026898136, 0.026898136, -0.029950762, 0.03172729, 0.039859284, -0.004122296, 0.008945194, -0.018928781, 0.020680288, -0.011772626, -0.032077592, -0.020117303, 0.051994722, 0.0029212628, 0.016989613, -0.010365166, 0.017452512, 0.010477763, -0.011128322, -0.041210447, 0.022244133, -0.018378308, 0.012373143, -0.010371421, 0.009351794, -0.0093330275, -0.0007279699, -0.020304965, -0.048116386, -0.0041035297, -0.012635869, 0.017277362, -0.01478772, 0.002999455, -0.018115582, 0.010884362, 0.006955983, 0.026497792, -0.0016138882, -0.021443445, -0.03160218, 0.049742788, 0.007988121, 0.000616155, 0.033478796, 0.0013409972, 0.028899858, 0.001696772, 0.018190647, -0.0067620664, -0.03503013, -0.0014973817, 0.016163904, -0.026372684, 0.020605223, 0.0072562415, 0.014012053, -0.021893833, 0.012479484, -0.018941293, 0.01824069, 0.017027145, -0.028849816, 0.016126372, 0.012861063, 0.024521092, -0.010771765, 0.015663473, -0.0012979915, -0.0254594, -0.02151851, -0.012341866, -0.0060833576, -0.0026882498, -0.0053295842, -0.017189786, 0.01692706, 0.024345942, -0.0035624392, 0.009645797, -0.020092282, -0.010646658, -0.022244133, -0.060902387, 0.026022384, 0.03860821, -0.014937849, 0.025847232, 0.018140603, 0.009232942, -0.003987805, 0.00042341108, 0.0266229, 0.02316993, -0.014412397, 0.016326543, -0.017227318, -0.004119168, -0.02138089, 0.013799369, 0.018666055, -0.015150532, 0.0074564135, 0.014337332, -0.011547432, -0.0025068438, -0.03385412, -0.0024599284, 0.011422325, -0.028399428, 0.033678968, 0.0043162126, 0.011003215, 0.038082756, -0.00047071738, 0.038032714, 0.014850274, -0.016964592, 0.015338194, -0.00872, 0.02316993, -0.0020955524, 0.02399564, -0.047065485, 0.016589269, -0.011284706, -0.010233803, 0.035880864, 0.0124482075, -0.0078004594, 0.007343817, -0.0041066576, 0.055097394, -0.009064047, -0.008513573, -0.01792792, -0.022269156, 0.035280347, -0.015425769, 0.0034467147, 0.032302786, -0.0026726113, -0.0179029, 0.03467983, 0.008282124, -0.0029228267, 0.02169366, -0.024883904, 0.0019907749, 0.021631107, -0.024383474, -0.00027934185, -0.009833458, 0.024383474, -0.003987805, 0.027148351, 0.02612247, -0.047966257, -0.0056016934, -0.0025740892, 0.024258366, 0.034129355, 0.0008069441, 0.007837992, 0.014587548, -0.004841665, 0.01126594, -0.026197534, 0.035105195, 0.006511851, 0.04093521, -0.008019398, 0.02251937, 0.03287828, -0.009720862, 0.030476214, -0.013511622, 0.03305343, -0.01989211, -0.0056923963, -0.0033153517, -0.025109097, -0.003906485, -0.023320058, -0.0059551224, -0.027623761, 0.029300204, -0.021993918, 0.033578884, -0.011803904, 0.007669097, -0.02367036, 0.015150532, -0.03287828, 0.01611386, -0.005980144, 0.03598095, 0.023107376, 0.004704046, 0.00043201222, -0.0011994692, -0.0058738026, 0.022757074, 0.0030322957, 0.015763558, -0.012154205, 0.018090561, 0.006605682, -0.022431795, -0.020355009, 0.011728839, 0.007531478, 0.002616313, 0.022156559, -0.03155214, -0.012304334, -0.040910188, -0.020079771, -0.02154353, 0.00090859405, 0.0117851375, -0.02417079, -0.031126773, 0.05504735, 0.013724305, 0.0109907035, -0.0027742614, 0.020617735, -0.016326543, 0.0031370735, -0.0028852944, 0.004507002, -0.02712333, 0.012861063, -0.0072374754, 0.011015725, 0.035080176, -0.0056016934, -0.018703587, 0.04308706, -0.0012487303, 0.0054922244, -0.018278223, 0.019804535, -0.013424046, -0.012585826, -0.069009356, 0.004150445, -0.0075815213, -0.0222066, -0.0066307033, 0.016376587, -0.033078454, -0.02021739, -0.017715238, -0.038508125, 0.04959266, -0.004988666, -0.0068308758, 0.01478772, 0.012435697, -0.0044319374, -0.023983128, 0.0069247065, -0.005645481, -0.0027304736, -0.009151622, 0.00919541, -0.003474864, 0.016188925, 0.05209481, -0.009852224, 0.0030150935, 0.0002846198, -0.021906342, -0.006837131, -0.024283387, -0.011885223, 0.00968333, -0.022957247, 0.0305763, -0.0068746633, -0.019191507, 0.017127233, -0.035755757, -0.025334291, -0.002707016, 0.038858425, -0.020630246, -0.025747146, -0.018315755, -0.03335369, 0.031577162, 0.008157017, -0.025059056, 0.026823072, -0.013811881, 0.029800633, -0.01759013, 0.01256706, 0.0282493, -0.010308867, -0.005764333, -0.006981005, -0.0045570447, -0.006593171, -0.03140201, -0.006008293, 0.04646497, -0.039308812, 0.008138251, 0.010371421, -0.011985309, -0.0075690104, -0.005048092, -0.00033466285, 0.039508983, -0.0058237594, -0.022807118, -0.006342956, 0.0070936014, -0.009602009, 0.0058300146, -0.010878107, 0.007925567, 0.01052155, 0.04343736, 0.014600058, 0.019191507, -0.0045507895, 0.005120029, 0.01561343, -0.010815553, 0.025922297, -0.0014567218, 0.02070531, 0.0058331424, -0.0027586229, -0.0058738026, 0.029850677, 0.014837762, 0.023795469, -0.0019782642, 0.0048103877, 0.015475811, 0.038533144, 0.053946402, -0.015087978, 0.0045789387, 0.0102838455, -0.008519828, 0.022281665, -0.0055985656, 0.004253659, -0.002707016, -0.012273056, 0.013736816, 0.016464163, 0.025897276, 0.015926199, 0.031026687, 0.010577848, -0.025609529, 0.014650102, 0.0067433002, 0.06250376, -0.024958968, 0.024846371, -0.021218251, 0.017852856, -0.0007514276, -0.0048917076, 0.022857161, 0.018991336, 0.008357189, -0.001564627, 0.024933947, -0.009114089, 0.011866457, 0.023144908, -0.012354377, -0.02975059, 0.0101274615, 0.019604363, -0.02054267, 0.024408495, -0.0012526399, 0.02402066, 0.015012913, -0.0079193115, -0.026322642, 0.0002453282, 0.041835986, 0.00074282644, -0.016201437, 0.0033184795, -0.02070531, -0.017565109, -0.03763237, -0.020780375, 0.02251937, -0.011897734, 0.007925567, -0.025521953, -0.0059582503, 0.0022269154, -0.01676442, -0.020605223, -0.0111220665, -0.0065618944, -0.018503416, 0.010158738, -0.014499973, -0.011735094, -0.028549558, 0.0014903444, -0.022394262, 0.015913688, -0.026247578, 0.010890618, 0.0041754665, 0.009107834, 0.0026413344, -0.007525223, -0.029024966, 0.022068983, 0.0059645055, -0.019829556, 0.008400976, -0.01117211 ]
2401.09350
167
The indexing algorithm remains as described before. Fix parameters ¢ and L to be determined later in this section. Then define the vector function g() = [hi(), ha(-),---, he(-)] where h; € H. Now, construct L such functions g, through g,, and process the data points in collection ¥ by evaluating g;’s and placing them in the corresponding multi-dimensional bucket. In the end, we have effectively built L tables, each mapping buckets to a list of data points that fall into them. Note that, each of the L tables holds a copy of the collection, but where each table organizes the data points differently. # 5.2.1 The Point Location in Equal Balls Problem Our intuitive description of retrieval using LSH ignored a minor technicality that we must elaborate in this section. In particular, as is clear from Defi- nition 5.1, a family H has a dependency on the distance r. That means any instance of the family provides guarantees only with respect to a specific r. Consequently, any index obtained from a family H, too, is only useful in the context of a fixed r.
2401.09350#167
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 167, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "The indexing algorithm remains as described before. Fix parameters ¢ and L to be determined later in this section. Then define the vector function g() = [hi(), ha(-),---, he(-)] where h; € H. Now, construct L such functions g, through g,, and process the data points in collection ¥ by evaluating g;’s and placing them in the corresponding multi-dimensional bucket.\nIn the end, we have effectively built L tables, each mapping buckets to a list of data points that fall into them. Note that, each of the L tables holds a copy of the collection, but where each table organizes the data points differently.\n# 5.2.1 The Point Location in Equal Balls Problem\nOur intuitive description of retrieval using LSH ignored a minor technicality that we must elaborate in this section. In particular, as is clear from Defi- nition 5.1, a family H has a dependency on the distance r. That means any instance of the family provides guarantees only with respect to a specific r. Consequently, any index obtained from a family H, too, is only useful in the context of a fixed r.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.01798282, -0.03432603, 0.059819326, 0.0052262573, 0.0012396246, -0.03789615, -0.000744188, -0.005870862, -0.04252408, 0.0004582479, 0.040620018, -0.009804605, -0.00050824607, -0.039720878, -0.011728502, -0.0020247202, 0.039006855, -0.032712866, -0.015774636, 0.031866618, 0.0076823668, 0.0110277, 0.03660033, -0.0033238467, 0.011311987, 0.0017949764, 0.053313773, -0.00253214, 0.04424303, -0.03144349, 0.029671654, -0.008746792, -0.018458838, 0.0014850702, 0.0077683143, 0.07060902, 0.016766336, 0.038901072, 0.012720201, 0.03009478, -0.013473893, 0.016422547, -0.07314777, -0.054953385, 0.020574464, 0.019080302, -0.015721746, -0.05675167, -0.014690378, 0.022914873, -0.016012644, 0.041043144, 0.0008561674, 0.00603284, 0.0130111, -0.047522247, -0.011120259, 0.029195638, 0.07425847, 0.011635943, -0.017506804, -0.016753113, -0.03451115, 0.0042543914, -0.00014844505, 0.0176787, -0.0486594, 0.039403535, 0.012006178, 0.01708368, -0.046940453, 0.018260498, 0.030729467, -0.018445615, 0.021751279, 0.0060658962, -0.029830327, 0.032289743, -0.015285398, 0.012343355, 0.015629187, -0.0037221794, 0.032316186, -0.011391324, -0.0035172282, -0.049294084, 0.018115047, -0.005596492, -0.052017953, -0.038610175, -0.011649165, 0.020389345, -0.01549696, 0.037023455, 0.041413378, -0.03964154, 0.050722133, 0.0074377474, -0.018419169, -0.013401168, 0.0024577624, -0.026603997, 0.06426214, -0.08684645, 0.059290417, -0.003142035, -0.0149416085, 0.035886306, -0.051594827, 0.0050841137, -0.06262253, 0.014412702, -0.031231929, 0.02274298, 0.02393302, 0.0210637, -0.030703021, -0.00056692166, -0.010188062, 0.01465071, -0.024898274, 0.02016456, 0.027080012, -0.045433067, 0.0038709345, -0.041043144, 0.07066191, -0.08446637, 0.015377956, -0.014796159, 0.04429592, 0.025056945, -0.016197762, -0.020706689, -0.0193712, 0.0054212916, 0.019027412, 0.014333366, 0.0048527173, 0.009156694, 0.018564617, -0.005269231, 0.002472638, -0.011629332, 0.0099302195, 0.032607086, -0.05426581, 0.036944117, 0.06193495, 0.024025578, 0.0036858171, -0.049981665, 0.031205483, 0.034458257, 0.006052674, -0.05616987, -0.002866012, -0.0014040815, -0.020680243, 0.034246694, 0.0016825838, -0.005632854, 0.047760256, 0.010697134, 0.00998311, 0.022227295, -0.033902906, -0.028349388, -0.025215616, -0.06309854, -0.011682223, -0.07320066, -0.009117026, -0.008356723, 0.015100281, -0.004822966, -0.025916418, -0.03456404, -0.010895474, -0.03144349, -0.03665322, 0.030174116, 0.015060613, -0.009652544, -0.00069129735, 0.04289432, -0.00040886953, -0.0034940885, 0.014227585, 0.011417769, -0.023166105, 0.04151916, 0.03297732, 0.049346976, 0.008310444, -0.00052146876, 0.02220085, 0.0071600717, 0.043899238, -0.017837372, 0.024990832, 0.025810637, 0.029460091, -0.012488805, -0.041254707, 0.004945276, 0.0038477948, 0.037473027, -0.01962243, -0.027952708, -0.031866618, -0.023747902, 0.016554773, 0.007345189, -0.026762668, 0.008449282, -0.08272097, 0.018829072, -0.062252294, 0.01897452, -0.034246694, 0.026339544, 0.011543384, 0.023377666, -0.015549851, 0.025268508, 0.018895185, -0.08499528, 0.031126147, -0.016501883, 0.034378923, -0.0035899528, 0.013791237, -0.042471193, 0.016779559, 0.007246019, -0.05923753, -0.02448837, -0.030200562, -0.031073257, -0.031020366, -0.020825693, -0.015206061, 0.0013140021, 0.0069617317, -0.020270342, -0.004373396, 0.009989722, 0.06489683, -0.029327866, -0.032554194, -0.08166316, -0.009050912, -0.050986588, -0.04252408, 0.012197906, -0.014690378, 0.02364212, -0.00610887, -0.008707123, -0.014478816, 0.0033288053, 0.0018528255, 0.007074124, -0.019913329, -0.02274298, 0.010571519, 0.025400734, -0.029222084, -0.00938809, -0.02165872, 0.056645885, -0.0071005695, -0.018300164, 0.016687, -0.0220554, -0.020032333, -0.007880706, -0.033294663, 0.0060923416, -0.009024467, -0.042444747, 0.019741435, -0.00330236, 0.03371779, 0.0021106675, -0.04826272, 0.025757747, 0.017996043, -0.015655633, -0.0066377767, -0.05220307, 0.01092853, -0.014505261, -0.044930607, 0.061458934, -0.0277147, -0.033294663, 0.0048031323, 0.007728646, 0.029089857, 0.010214507, 0.007543529, 0.014029245, -0.039271306, 0.0064427424, 0.018167939, 0.028746068, -0.021724835, 0.025559407, 0.008905463, 0.030465014, -0.015867194, 0.018829072, -0.06976277, -0.027926262, 0.049849436, 0.016872117, -0.028957631, -0.0071931286, 0.00068303314, -0.050484125, 0.019781103, -0.012587975, 0.032871537, 0.00060658966, -0.026352767, -0.04474549, -0.00082559, -0.043925684, 0.03213107, -0.03784326, -0.0220554, 0.0353574, -0.01176817, -0.053207994, -0.0014685419, 0.023205772, -0.03427314, 0.01673989, -0.006670833, 0.000030551582, -0.0010057488, 0.026709778, -0.0034676432, 0.03133771, 0.015007722, 0.049532093, 0.009731879, -0.022967765, -0.03133771, -0.042286076, 0.0017255575, -0.0014379645, 0.014571374, -0.036811892, -0.027873373, -0.058073934, -0.05675167, 0.011761558, -0.010439292, 0.0088856295, 0.02413136, -0.027503138, -0.029962553, 0.054001354, -0.0019933165, -0.035092946, -0.0055700466, 0.011873951, 0.014002799, 0.0072989096, -0.0023255358, -0.018194383, 0.030385679, 0.015206061, 0.036044978, 0.02105048, 0.007490638, 0.034749158, -0.008964965, -0.010683911, -0.006079119, -0.03461693, 0.051621273, 0.023959463, -0.0033453335, 0.009844272, -0.013044156, -0.026749445, -0.009163305, -0.007305521, 0.0010214506, 0.017414246, 0.016567996, -0.038530838, 0.037367243, 0.043740567, 0.050061, -0.019714989, -0.01216485, -0.059925105, -0.023906574, -0.039747324, -0.010300454, 0.012647477, -0.01022773, 0.055112056, 0.031258374, 0.0019057163, -0.0018991049, 0.032104623, 0.04191584, -0.04916186, -0.00048014792, 0.02562552, 0.018247275, 0.022319853, -0.03273931, 0.035886306, 0.007107181, -0.004932053, -0.025810637, -0.027238684, -0.022954542, -0.00387424, 0.036335878, 0.016726667, 0.022015734, -0.02269009, -0.014227585, 0.013401168, 0.014042468, 0.031893063, 0.00025494947, -0.026789114, 0.032448415, -0.006029534, -0.038795292, -0.048712287, 0.048712287, 0.03771103, -0.011351655, -0.006217957, -0.041492715, -0.028428724, 0.011206206, -0.013434225, 0.015430847, 0.038160603, -0.033585563, -0.0015189534, 0.031258374, 0.020481905, -0.020032333, -0.026299875, 0.019662099, -0.061564717, 0.036759, -0.00024399944, -0.002867665, 0.02025712, -0.026551107, -0.013725123, 0.03332111, 0.03054435, 0.021830617, -0.016977899, 0.019490205, -0.012343355, 0.022306632, -0.025810637, 0.05865573, 0.002044554, 0.0075567514, 0.038425058, -0.016991122, -0.025599074, 0.0074840267, -0.016991122, 0.056645885, -0.051674165, -0.026392434, -0.028032044, 0.040540684, 0.0486594, 0.07536918, 0.032395523, 0.025453625, 0.008766625, -0.07505183, -0.033902906, 0.04643799, -0.014571374, 0.004922136, 0.031046811, -0.0059733377, -0.050299007, 0.027899818, 0.029195638, 0.024964387, 0.05244108, -0.0099302195, 0.07092636, -0.028005598, 0.0099302195, 0.007933597, -0.02637921, -0.017387802, 0.02641888, 0.04117537, 0.050246116, -0.0022693395, 0.019252196, 0.030068334, -0.005318816, -0.0045849583, 0.008707123, -0.026894895, -0.0075699743, 0.016858894, 0.022121515, -0.051330376, -0.011695445, -0.0037023455, -0.04331744, -0.028270053, -0.07669144, 0.0013958173, -0.0073385774, -0.0066080256, -0.0139102405, -0.040699355, 0.0220554, 0.01465071, 0.006614637, -0.0274238, -0.01852495, 0.013513561, -0.008502172, -0.015219284, 0.014571374, 0.016647331, 0.032712866, 0.0024445397, -0.025017276, 0.018392723, 0.052917097, 0.0149416085, 0.017996043, -0.004307282, -0.017176239, 0.012303688, 0.008098881, 0.0019338144, 0.01156983, 0.014981276, -0.0054047634, -0.03490783, -0.020111669, -0.012634254, 0.03496072, 0.02463382, 0.022954542, -0.023800792, 0.030808803, 0.03768459, -0.036573883, 0.016422547, -0.03213107, -0.028137825, -0.017387802, 0.037975486, -0.019648876, -0.015708523, 0.006783226, -0.016898563, -0.03194595, 0.03128482, -0.0028197328, -0.023417335, -0.023324776, -0.039905995, -0.023113213, -0.009797993, 0.007629476, 0.021843838, 0.040461347, 0.0062113455, -0.014769714, 0.011814449, -0.0032560807, 0.0017553085, -0.0024875135, -0.024673488, 0.0006842728, 0.0012586322, 0.01857784, -0.0046543772, -0.012574752, 0.011880562, 0.033638455, 0.010597964, -0.008330277, -0.04220674, -0.041545603, -0.010399624, 0.043740567, 0.029830327, -0.0058906963, -0.027767591, -0.0013049114, 0.018696845, -0.03461693, -0.0032874844, 0.014042468, 0.016462214, -0.047310688, 0.01980755, -0.024475148, -0.0330831, -0.00033945055, 0.0028693178, 0.03432603, 0.025493294, 0.027053567, 0.0010801263, -0.048209827, -0.01629032, -0.013949909, -0.021671943, -0.011986343, 0.02075958, 0.0050345287, 0.018696845, 0.039059743, 0.01246897, 0.0370499, 0.008336889, 0.0038940741, 0.02641888, 0.038372166, 0.03162861, -0.055164948, 0.004389924, 0.00031403822, 0.0035073112, 0.009143471, -0.031602163, -0.007424525, -0.010492182, -0.01425403, 0.031655055, -0.012872262, 0.029195638, -0.026445325, 0.01713657, -0.012660699, 0.0370499, -0.017453915, 0.011345045, -0.014002799, 0.012978043, -0.035886306, 0.029274974, 0.0124425255, -0.009011244, -0.013579674, 0.01629032, 0.007027845, -0.012462359, 0.031522825, 0.0548476, 0.0012222698, -0.02085214, -0.0062212627, -0.04707268, -0.019067079, -0.055006277, 0.019331532, -0.008449282, -0.02056124, -0.030359233, -0.030835249, -0.0031502994, -0.0026842004, -0.002332147, 0.014002799, 0.0024775963, -0.0014726741, 0.0014817646, 0.01524573, 0.043343887, -0.027926262, 0.031760834, -0.0065187723, -0.043423224, 0.011583053, 0.009725268, -0.066536434, -0.0035965643, 0.03794904, 0.0014660627, -0.012687145, -0.038901072, -0.04276209, -0.009553374, 0.010406235, 0.04604131, -0.019212529, -0.0055931862, -0.019741435, 0.0072790757, 0.0056890505, -0.018022489, 0.02353634, 0.0108624175, -0.020772802, -0.014068913, -0.014148248, -0.02288843, 0.013725123, -0.024263585, -0.0011520245, -0.021275263, -0.005328733, -0.042338964, 0.0081517715, -0.0102541745, -0.024171026, 0.028984075, 0.04577686, 0.033982243, -0.008330277, 0.008283998, -0.0015668855, -0.021341378, 0.014002799, -0.033188883, 0.0018412557, -0.023866905, -0.03353267, 0.019463759, 0.031311266, 0.01897452, 0.02537429, 0.009242641, 0.010207895, 0.007107181, 0.04077869, -0.017295243, 0.01156983, 0.0008417051, 0.00514031, 0.038372166, 0.01425403, -0.0123698, 0.0069617317, 0.00603284, -0.0206538, -0.0008561674, 0.013619342, -0.0444017, 0.0012454095, 0.03347978, -0.031998843, -0.034299586, -0.02398591, 0.04450748, -0.0230471, 0.019648876, 0.03353267, 0.066589326, -0.03810771, 0.046120647, -0.025453625, 0.028719623, -0.017863818, -0.029936107, -0.019331532, -0.020032333, -0.02185706, -0.01241608, -0.03292443, 0.011662388, 0.027450247, 0.006789837, 0.015787859, 0.0027139515, -0.050087444, 0.0149416085, -0.03009478, -0.0019040634, -0.021037256, 0.0013313568, 0.026590774, 0.018432392, -0.13666944, -0.014584596, 0.029460091, -0.0021569468, 0.018141493, 0.03620365, 0.032210406, 0.016845671, -0.0041651386, -0.024805715, 0.0070542903, -0.021275263, -0.0014412702, -0.0032362465, -0.012376412, 0.004231252, 0.0018296859, 0.02553296, -0.012931764, -0.017096903, -0.030041888, 0.018987743, 0.03247486, 0.014016022, -0.009169917, 0.009500483, -0.016872117, -0.011543384, 0.007920375, 0.0029635292, -0.0072989096, 0.022161182, -0.04405791, 0.04588264, -0.009738491, -0.027106458, 0.0022428941, 0.016581219, -0.018300164, 0.015430847, -0.01256814, -0.021288486, -0.004637849, -0.017916707, 0.03427314, -0.022214074, 0.006198123, 0.023800792, 0.016501883, 0.0037684587, -0.014042468, 0.00005438853, 0.024964387, 0.019000966, 0.006386546, 0.010822749, -0.004211418, -0.011490494, -0.016687, 0.011054146, -0.035436735, 0.0029965858, 0.015920086, -0.038530838, -0.024660265, -0.036547437, -0.049796548, 0.029856771, -0.0112855425, 0.025017276, -0.00893852, -0.025453625, -0.0008801335, 0.042074513, 0.06114159, 0.02598253, -0.011067368, 0.013566452, -0.0316815, 0.0019718294, 0.020746358, -0.000026135418, -0.008184828, 0.013883796, -0.015298621, -0.03273931, 0.04519506, -0.0027932874, -0.060612686, 0.008323666, -0.023880128, 0.019384423, 0.017044012, 0.058549948, 0.03332111, -0.018710067, 0.003173439, 0.000022403632, 0.010373179, 0.004155222, -0.013077213, 0.03332111, 0.012733424, -0.036970563, -0.027450247, 0.0063204328, 0.023999132, -0.016792782, 0.0126540875, 0.006614637, 0.024805715, 0.016409324, -0.04371412, -0.013778014, 0.000017832517, 0.023205772, 0.022015734, 0.027688256, 0.022504972, -0.028693177, -0.0049684155, -0.00064171234, 0.0037915984, 0.0058047487, -0.020243896, -0.0030527823, 0.0053055934, 0.016277097, -0.009943442, 0.000050669656, 0.004300671, 0.065584406, 0.0124425255, 0.010902085, -0.03154927, 0.003679206, 0.0053915405, -0.001927203, -0.032395523, 0.024845382, 0.01186734, 0.017665477, 0.043634787, -0.0015925044, -0.009269087, 0.029671654, -0.022187628, 0.012587975, -0.03575408, 0.018855516, -0.023232218, -0.0023652038, -0.00062807644, 0.03451115, -0.0139102405, 0.012455748, 0.0018759653, -0.016660554, 0.00581136, 0.03332111, 0.007384857, 0.013725123, -0.0065485234, -0.0026627136, 0.043105878, -0.020508349, 0.00844267, 0.004108942, -0.031972397, 0.038610175, 0.0155762965, -0.019781103, -0.022412412, 0.042338964, 0.022557862, 0.007708812, 0.035780523, -0.012092125, -0.04672889, -0.02200251, -0.018458838, 0.008449282, -0.030015444, 0.03858373, 0.027344465, 0.016819227, -0.029486537, -0.053816237, 0.02438259, 0.03223685, 0.007973266, 0.024713157, 0.020600908, 0.014677155, 0.0033155826, 0.0038907684, -0.019847216, 0.004122165, -0.023258664, 0.0028874988, -0.020376123, 0.04887096, -0.0041849725, -0.014333366, -0.00039440722, 0.0040659686, -0.04077869, -0.0176787, -0.01877618, 0.023959463, -0.008753402, -0.010386401, -0.017467137, 0.013764791, -0.010492182, -0.012971432, -0.008482338, 0.027582474, 0.035092946, -0.04588264, 0.00909058, -0.03596564, -0.02890474, 0.054001354, -0.01028062, 0.0019701766, 0.029512983, -0.018696845, -0.055270728, 0.011047535, 0.014637487, 0.023232218, 0.034458257, -0.03665322, -0.033902906, 0.02805849, -0.017401023, -0.0074774157, 0.00008382961, -0.019926552, 0.0370499, -0.010022778, -0.008310444, 0.008310444, -0.019794326, -0.018604286, -0.004508928, 0.008032767, 0.012290465, 0.012250797, 0.0153647335, 0.004727102, 0.0015966365, 0.006723724, -0.011635943, 0.02557263, -0.019635653, 0.06188206, 0.012779703, -0.02924853, -0.004241169, 0.005090725, 0.038081266, -0.02483216, -0.027979154, -0.026048645, 0.023655344, 0.016462214, -0.009361645, -0.01465071, -0.044375256, 0.0038511003, -0.009434369, 0.0062807645, -0.006928675, 0.014412702, 0.0008198051, 0.002976752, 0.028666733, -0.02805849, 0.017163016, -0.027503138, -0.016925007, -0.00082889566, 0.0056427713, -0.014809382, 0.0046510715, -0.007325355, 0.028984075, -0.00203629, 0.018643955, -0.006436131, 0.010069057, 0.014492038, 0.03541029, -0.013328443, -0.0014024286, 0.009738491, 0.013817682, -0.024898274, -0.0151531715, -0.012806148, 0.053049322, -0.009017856, 0.0056295483, 0.004525456, -0.018234052, -0.0060923416, -0.05537651, -0.02329833, 0.05283776, -0.004211418, 0.01330861, -0.0068757846, -0.021328155, 0.017070457, -0.0113847125, -0.0013594549, 0.0065815803, -0.0010346733, 0.009903775, 0.025863528, 0.006049368, -0.010902085, 0.016448991, 0.011397935, 0.02025712, -0.0128656505, -0.022967765, -0.0050246115, 0.010313677, 0.021817394, 0.00056609523, -0.030438568, -0.043370333, 0.0070542903, -0.0043833125, -0.023602452, -0.013725123, -0.014703601, 0.01778448, 0.008978188, 0.022504972, -0.0026825476, -0.013566452, 0.030729467, -0.0033370694, -0.016528329, 0.0029337783, -0.024052022, 0.04868584, 0.0034544205, -0.032659978, -0.014875495, 0.016118426, 0.02533462, 0.01524573, -0.015457292, -0.01360612, -0.0076493104, -0.0050576683, 0.00047642906, 0.0021404184, -0.0029089858, 0.028296497, -0.0019354672, -0.01956954, 0.034246694, -0.011477271, -0.010247563, 0.014505261, -0.014174694, -0.0030626992, -0.014875495, 0.009295532, -0.019833993, 0.011100425, 0.03810771, -0.022716533, 0.013830905, -0.013242496, -0.02766181, -0.007246019, -0.006740252, -0.02726513, 0.02130171, -0.008925297, 0.01549696, 0.022822315, -0.02254464, -0.010822749, -0.014875495, -0.029565873, 0.016792782, -0.008237719, -0.006029534, 0.020442236, 0.002381732, 0.0059435866, -0.030121226, 0.008918686, 0.011464048, 0.016911786, -0.020151338, -0.0243297, -0.016660554, 0.01380446, -0.007365023, -0.0070013995, 0.021592608, -0.05101303, 0.0024180943, -0.048209827, -0.019305088, -0.01728202, -0.03403513, -0.02850806, 0.04802471, -0.0054543484, 0.008059213, -0.015999421, -0.0021106675, -0.000065803404, 0.0009520317, 0.006168372, 0.0034841716, 0.007457582, 0.025453625, -0.02105048, 0.027952708, 0.02105048, 0.0034940885, -0.009176528, -0.005328733, -0.015338289, -0.02146038, 0.002629657, -0.010703745, 0.002054471, 0.026498215, -0.034378923, 0.0404349, 0.051383264, 0.009355034, -0.019450536, -0.0009652544, -0.01092853, -0.016832449, 0.011298765, -0.015867194, -0.036177203, -0.009315366, 0.02681556, 0.022835538, 0.01960921, 0.0010065752, -0.033294663, -0.0023304943, 0.035674743, -0.0067766146, 0.024012355, -0.004991555, 0.009797993, 0.018895185, -0.021619054, 0.024012355, -0.044084355, 0.003728791, 0.018948074, -0.012872262, 0.030041888, 0.0134871155, 0.012627643, 0.024157804, 0.029195638, 0.012349967, -0.008601342, 0.00454529, 0.025585853, 0.029962553, -0.021909952, -0.019146414, 0.014769714, 0.0058576395, 0.017427469, 0.0013007794, 0.018987743, -0.033347555, -0.0049023023, 0.004925442, 0.005150227, 0.024104914, -0.022042178, -0.007920375, 0.008383168, 0.006908841, 0.011199595, -0.0017420858, 0.013963131, -0.040593572, -0.028560951, 0.008072436, -0.015404401, 0.019027412, 0.016977899, 0.025704855, 0.01962243, -0.016356433, 0.031311266, 0.02041579, 0.014068913, -0.016382879, -0.0032974014, 0.0019338144, 0.025109837, 0.023827238, -0.0138970185, -0.02056124, -0.014293698, 0.011040923, -0.015206061, 0.020944698, 0.009143471, -0.0065286895, -0.020098446, -0.027767591, -0.012191295, -0.012806148, 0.0108624175, 0.046252873, -0.012508638, -0.04067291, 0.022438858, 0.0028693178, -0.016792782, -0.02766181, -0.014187917, 0.0032643448, -0.005447737, 0.0030395596, 0.03194595, 0.01941087, 0.01320944, -0.022280186, 0.003745319, 0.00040163836, -0.0024594152, -0.017903484, 0.031998843, -0.006674139, 0.033241775, -0.01589364, -0.008508783, 0.008350112, 0.03281865, -0.050880805, 0.0028395667, 0.0127532575, -0.028984075, 0.009295532, 0.006922064, -0.00070204074, -0.018458838, 0.018405946, -0.01385735, 0.053578228, 0.0043667844, 0.009943442, 0.031602163, -0.030200562, 0.015417624, 0.0035800359, -0.009778159, -0.019635653, -0.00042023274, 0.0015858931, 0.036071423, -0.0042543914, 0.029010521, 0.0026941174, -0.02373468, -0.023668565, -0.0034147527, -0.0078013707, 0.014135026, -0.010201284, -0.0102409525, 0.00003181703, -0.018683622, 0.027291575, 0.0047866036, -0.0021420713, 0.021949619, -0.038768847, 0.011021089, 0.020243896, 0.029460091, -0.00794682, 0.0026643665, -0.011510327, -0.014201139, 0.03411447, 0.0048428, -0.041942284, 0.029645208, 0.022861984, 0.0080526015, 0.02766181, 0.01226402, 0.019873662, -0.020283565, 0.013321833, 0.017691921, -0.013030934, -0.0008991411, -0.014240808, -0.041413378, 0.05220307, -0.037658144, 0.016858894, -0.01018145, 0.016872117, 0.011351655, -0.028957631, -0.010888862, 0.010333511, -0.038451504, -0.03858373, 0.001512342, -0.022875207, -0.006700584, 0.013533395, -0.011007867, -0.010756636, 0.04892385, 0.040355567, -0.011695445, 0.039059743, 0.014135026, 0.0203629, 0.008383168, -0.015549851, 0.02924853, -0.0022875206, -0.012700367, -0.014478816, -0.017837372, 0.020984365, 0.008951742, 0.055852525, -0.02309999, 0.014637487, -0.012085513, 0.0088856295, -0.004426286, 0.02811138, 0.020005887, 0.009996333, -0.02398591, -0.015801081, -0.017414246, -0.0028825405, -0.017771259, 0.02686845, -0.015615964, 0.0015652326, -0.009169917, -0.0062113455, 0.02393302, 0.028322943, 0.005219646, -0.027027123, 0.0019470371, 0.009163305, 0.031311266, 0.002598253, -0.0091963615, -0.026551107, -0.005596492, 0.017771259, 0.020878583, 0.041281153, 0.00301642, 0.020548018, -0.008409614, 0.028137825, 0.021645498, 0.014095359, -0.03377068, 0.0008520353, -0.020997588, 0.009421147, -0.042709198, -0.013632565, 0.010102114, 0.021076923, 0.011437603, -0.01484905, 0.0008388127, 0.019252196, 0.012396246, 0.016554773, -0.02890474, -0.0017024177, 0.026392434, -0.030332787, -0.004032912, -0.023417335, -0.029195638, -0.016977899, -0.03400869, -0.011490494, -0.00020019937, 0.011735113, -0.008297221, 0.0026726306, -0.04858006, -0.0056097144, -0.010809527, 0.002470985, 0.016210984, 0.039429978, 0.00023366924, 0.0068295053, -0.017797703, -0.019556317, -0.015100281, 0.0020676937, 0.018538173, -0.018498505, 0.03223685, -0.0015644062, 0.01196651, -0.033506226, 0.049928773, 0.026537884, 0.0014577985, -0.00007313785, 0.0034973943 ]
2401.09350
168
It appears, then, that the LSH index is not in and of itself sufficient for solving the ϵ-approximate retrieval problem of Definition 1.2 directly. But, it is enough for solving an easier decision problem that is known as Point Location in Equal Balls (PLEB), defined as follows: 59 60 5 Locality Sensitive Hashing Definition 5.2 ((r, (1+ϵ)r)-Point Location in Equal Balls) For a query point q and a collection X , if there is a point u ∈ X such that δ(q, u) ≤ r, return Yes and any point v such that δ(q, v) < (1 + ϵ)r. Return No if there are no such points. The algorithm to solve the (r, (1 + ϵ)r)-PLEB problem for a query point q is fairly straightforward. It involves evaluating gi’s on q and exhaustively searching the corresponding buckets in order. We may terminate early af- ter visiting at most 4L data points. For every examined data point u, the algorithm returns Yes if δ(q, u) ≤ (1 + ϵ)r, and No otherwise. # 5.2.1.1 Proof of Correctness
2401.09350#168
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 168, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "It appears, then, that the LSH index is not in and of itself sufficient for solving the ϵ-approximate retrieval problem of Definition 1.2 directly. But, it is enough for solving an easier decision problem that is known as Point Location in Equal Balls (PLEB), defined as follows:\n59\n60\n5 Locality Sensitive Hashing\nDefinition 5.2 ((r, (1+ϵ)r)-Point Location in Equal Balls) For a query point q and a collection X , if there is a point u ∈ X such that δ(q, u) ≤ r, return Yes and any point v such that δ(q, v) < (1 + ϵ)r. Return No if there are no such points.\nThe algorithm to solve the (r, (1 + ϵ)r)-PLEB problem for a query point q is fairly straightforward. It involves evaluating gi’s on q and exhaustively searching the corresponding buckets in order. We may terminate early af- ter visiting at most 4L data points. For every examined data point u, the algorithm returns Yes if δ(q, u) ≤ (1 + ϵ)r, and No otherwise.\n# 5.2.1.1 Proof of Correctness", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.015975272, 0.0098217875, 0.035681445, 0.015912673, -0.008519728, -0.042191744, 0.0059813373, 0.019430738, -0.03282693, 0.022335334, 0.028520117, -0.0044101016, -0.03207574, 0.0025900349, -0.007267747, 0.0028122612, 0.008062755, -0.051105846, -0.016425984, 0.010266241, 0.051681757, 0.03785989, 0.01666386, -0.0118312165, -0.001578278, -0.0040219873, 0.04780062, -0.0045947684, 0.021296188, -0.03725894, 0.0063882307, -0.0019092703, 0.0021001974, -0.04687415, -0.017878283, 0.048702043, 0.007899997, 0.057390787, 0.02377511, 0.016112989, -0.0047230967, 0.006094015, -0.043168288, -0.03996322, -0.009076859, 0.021671783, 0.011330424, -0.018316476, -0.0065415986, -0.0019452648, -0.03175023, 0.030498246, -0.024964493, -0.015123925, 0.0018435414, -0.05208239, 0.0336282, 0.03425419, 0.049878906, 0.0010172342, -0.015199044, -0.031825345, -0.011261565, -0.015186524, 0.004550949, 0.01481093, -0.0073053064, 0.017690485, 0.015411881, -0.017928362, -0.0321759, 0.011148887, 0.041240238, -0.011061248, 0.007543183, 0.025865918, 0.0005320917, 0.028495077, -0.009809268, 0.019618535, -0.0049015037, -0.0011745143, 0.05032962, 0.0037684615, -0.026842464, -0.04181615, -0.033277642, 0.0103288395, -0.062198393, -0.029196186, -0.052533105, 0.0103288395, 0.02962186, -0.01417242, 0.024163224, -0.053735007, 0.050605055, 0.002391283, 0.006572898, -0.0027778319, -0.056238968, -0.05233279, 0.049753707, -0.07907509, 0.055237383, 0.019881452, -0.0025243058, 0.0488022, -0.007205148, 0.0010579235, 0.007317826, 0.013997142, -0.025365125, 0.051256083, 0.03655783, -0.0054961946, -0.052382868, 0.019230422, -0.03417907, 0.034980338, -0.016613781, 0.021759422, 0.024150705, -0.031950545, 0.0062849424, 0.001320057, 0.05338445, -0.068308055, 0.015787475, -0.009978285, 0.050655134, 0.028495077, 0.017302372, 0.005533754, -0.032726772, 0.010403958, -0.021559104, -0.014397777, 0.0108671915, -0.031249434, 0.0153743215, -0.013646588, -0.030147692, 0.008726304, -0.041365437, 0.0019609146, -0.060195226, 0.0132835135, 0.06234863, 0.023374477, 0.0019718693, -0.08142882, -0.005586963, 0.039687783, -0.036132157, -0.042191744, -0.0022473051, 0.010610535, -0.02120855, 0.018579392, -0.010522896, 0.024225824, 0.01794088, -0.009264656, 0.020232005, 0.027743889, -0.007968856, -0.042266864, -0.047199667, -0.044645626, -0.03287701, -0.029321384, -0.007831139, 0.0047199666, -0.014310137, -0.0166889, 0.025590483, -0.021696823, 0.0005465678, -0.02188462, -0.015236603, 0.05969443, 0.04564721, 0.0120753525, 0.026842464, 0.024826774, 0.012081612, -0.01740253, 0.024588898, -0.0059969868, -0.019530896, 0.04246718, 0.038961634, 0.03866116, -0.01547448, -0.020394763, 0.007931297, 0.039437387, -0.023662433, -0.034404427, 0.025277488, 0.05789158, 0.02897083, -0.01671394, -0.007931297, 0.01735245, 0.036307435, 0.017627886, -0.03355308, -0.017001895, -0.017665446, -0.01865451, 0.041741032, -0.015499519, 0.014848489, 0.02508969, -0.049077637, 0.034354348, -0.045096338, 0.041014884, -0.042241823, 0.036082078, 0.031925503, 0.0449461, -0.034404427, 0.044520427, 0.01156204, -0.063350216, 0.010779552, -0.03202566, 0.029772097, 0.015224083, -0.0062849424, -0.044695705, 0.030973999, 0.004062677, -0.022548169, -0.005586963, -0.06365069, -0.04765038, -0.010403958, -0.006187914, -0.05403548, -0.024889374, -0.0034648562, -0.029696979, 0.007261487, 0.016238188, 0.06500283, -0.024739135, -0.0566396, -0.049378112, -0.028620275, -0.06665544, -0.07837398, -0.00058803963, -0.022635808, 0.02451378, -0.01993153, 0.0112427855, 0.000087980974, 0.012820281, -0.016213149, 0.022710927, -0.006122185, -0.015399361, -0.007530663, 0.010773293, -0.03600696, 0.021496506, -0.05005418, 0.032626614, 0.031249434, -0.03225102, 0.008945401, -0.036257356, -0.029070988, 0.0040032077, -0.05984467, 0.04654864, -0.010310059, -0.030748643, 0.05103073, 0.014410296, 0.033778436, 0.0027480973, -0.021521546, -0.0027903516, -0.008432089, -0.02122107, -0.00043545448, -0.06495275, 0.013433752, 0.002647939, -0.03941235, 0.032676693, -0.014410296, -0.059944827, 0.0025493454, 0.0071863686, 0.060295384, 0.032225978, 0.0029812786, -0.029321384, -0.036032, 0.03422915, 0.0051894593, 0.013421232, -0.013170836, 0.03472994, 0.017139614, 0.0079438165, -0.034955297, 0.040914726, -0.03668303, -0.039537545, 0.051281124, -0.00962147, -0.021396348, -0.042792697, 0.04234198, -0.033803474, 0.0023239888, -0.049077637, 0.012557365, -0.002701148, -0.025264967, -0.053785086, 0.02051996, -0.020382244, 0.061447207, -0.008838982, -0.01677654, 0.007205148, -0.016112989, -0.030999038, -0.03538097, 0.035080496, -0.0058154496, 0.00037931098, 0.008144134, 0.022034857, 0.024626458, -0.008851502, 0.041440558, 0.020194447, 0.0131207565, 0.0040971064, 0.037609495, 0.0013779611, -0.020920595, -0.031124236, 0.012338269, 0.0001452493, 0.02706782, -0.014297618, -0.027768929, -0.051681757, -0.05924372, 0.014973687, -0.007893737, -0.010616795, 0.016112989, -0.005477415, -0.0010164517, 0.03725894, 0.0012433731, -0.030448167, -0.02184706, 0.02636671, -0.019155303, 0.020895556, 0.008238032, -0.016363386, -0.0038873996, 0.024977012, 0.0049390635, 0.036307435, 0.008657445, 0.053134054, -0.0023928478, 0.0058217095, -0.033978753, -0.022435492, 0.030172732, -0.01547448, -0.010065923, 0.0030642224, -0.03911187, -0.022485571, 0.00451339, 0.0033834775, 0.004028247, -0.008976701, -0.0013560514, -0.006942232, 0.00452278, 0.037584458, 0.035631366, -0.006616717, -0.07717208, -0.017803164, -0.042867813, -0.025865918, -0.021383828, -0.0020375983, -0.017114574, 0.04462059, -0.01672646, 0.010798332, -0.010040884, 0.018779708, 0.028044363, -0.034479544, 0.020545, -0.023336917, 0.008657445, 0.030197771, -0.011774877, 0.02701774, 0.024225824, -0.024939453, -0.013208395, 0.009946985, 0.014861009, -0.008832723, 0.040188577, -0.023875268, 0.020206966, -0.044244993, -0.02184706, 0.021571625, 0.020620119, -0.0051769395, -0.01606291, 0.0018717109, 0.027919166, -0.033603158, -0.01862947, -0.05583833, -0.00071949756, 0.0006216866, -0.069660194, -0.011493182, -0.023061482, 0.0012292884, 0.039362267, -0.036032, 0.032977168, 0.025127249, -0.028895712, -0.030348008, 0.053985402, 0.0039812983, 0.039312188, -0.034404427, 0.050880488, -0.030999038, -0.009158238, -0.03154991, -0.001257458, -0.0005273968, -0.007856178, 0.009408634, 0.0045165196, -0.006585418, -0.0043068132, -0.004378802, 0.0031737706, -0.026667185, 0.013483831, -0.039662745, 0.057741344, -0.026091274, 0.01031632, 0.013108237, -0.000109548295, -0.032426298, 0.026867503, 0.023599833, 0.020507442, -0.05528746, -0.0129079195, -0.025815839, 0.0063381516, 0.036282398, 0.08518475, 0.057440866, -0.0063569313, 0.0051550297, -0.06134705, -0.044094756, 0.046673834, -0.012970518, -0.017703004, 0.023962907, 0.033753395, -0.027568612, 0.035155613, 0.04234198, 0.0022723447, 0.029070988, -0.02902091, 0.05488683, -0.0372339, 0.032451335, -0.004770046, -0.036482714, 0.0026682836, 0.0074242447, 0.04359396, 0.04181615, 0.0005954733, -0.00514877, 0.022836125, -0.0026808034, -0.011680978, 0.0074430243, -0.0077434997, 0.028545156, 0.0022629548, 0.018879866, -0.011261565, -0.0066104573, 0.010510377, -0.04244214, -0.047224708, -0.076771446, -0.011543261, -0.015975272, -0.005317787, 0.011292865, -0.03270173, 0.029897295, -0.0055181044, -0.0064602196, -0.035105534, -0.02252313, 0.03725894, -0.007968856, -0.0033052287, -0.012106652, -0.027218057, 0.03295213, 0.0022191356, -0.031900465, 0.02967194, 0.006585418, 0.0022660848, 0.012582405, -0.0102725, 0.0013231869, -0.014698252, 0.014986207, 0.012920439, 0.013008078, 0.0008889062, 0.022548169, -0.02508969, 0.007856178, -0.0074242447, 0.011098808, 0.0032488895, 0.049403153, -0.038410764, 0.021496506, 0.042316943, -0.036883347, 0.015825035, 0.007342866, -0.020432323, -0.009427413, 0.034329306, 0.020056728, 0.00837575, -0.011668459, -0.02244801, -0.01861695, 0.0051112105, 0.003662043, -0.012494766, -0.013721707, -0.037884932, -0.015148965, 0.0043475023, -0.024188263, -0.0034429466, 0.022986364, -0.0064007505, 0.02520237, 0.007887477, -0.017928362, 0.0050830413, -0.025815839, -0.03928715, 0.0049108937, -0.015850075, 0.013183355, -0.041741032, -0.0023521585, 0.011117587, 0.02764373, 0.04444531, 0.0030595274, -0.0018857957, 0.0010391439, 0.00030575713, 0.0438694, 0.057691265, -0.033227563, -0.022673368, 0.0035681445, 0.012983038, -0.006319372, -0.0033083586, 0.0107858125, 0.007549443, -0.052182548, 0.0244011, -0.0005520452, -0.010234941, -0.005658952, 0.019130263, 0.019693654, 0.019455777, 0.011205226, 0.003918699, -0.056539442, -0.014285098, -0.020069249, -0.006297462, 0.004770046, 0.013846905, 0.026617106, 0.028019324, 0.028470038, 0.0020955023, 0.026116313, -0.0079438165, 0.029271305, 0.028820593, 0.050079223, 0.019480817, -0.055638015, -0.0022786045, -0.004125276, -0.0140347015, 0.036282398, -0.026041195, -0.016175589, -0.016200628, -0.027593652, 0.038185406, -0.0044946102, 0.02639175, -0.020883035, -0.0073929452, 0.0040345076, 0.022673368, -0.006137835, -0.0049390635, -0.0040470273, -0.00076840306, -0.022898724, -0.012676303, 0.018604431, 0.011774877, 0.0061628744, 0.0077560195, 0.0031502962, 0.01544944, 0.006100275, 0.05032962, -0.01677654, -0.0076621207, -0.0021127171, -0.03287701, -0.021383828, -0.046698876, -0.009721629, -0.0035086754, -0.022648329, -0.024175745, -0.037709653, -0.007536923, -0.021834541, 0.0066542765, -0.011530741, -0.028470038, 0.0035806643, -0.0017042585, -0.0132835135, 0.048401568, -0.04324341, 0.036958467, -0.028895712, -0.010760773, 0.0047262264, 0.004716837, -0.048777163, -0.007536923, 0.026567027, -0.012488506, -0.024714096, -0.026917582, -0.042316943, -0.040113457, 0.011336684, 0.059594274, -0.012732642, -0.0037622016, -0.022986364, 0.03718382, 0.005333437, 0.011418062, 0.00835071, 0.017152134, 0.005483675, 0.00451965, 0.0035963142, -0.009978285, -0.0089892205, -0.04442027, -0.007637081, -0.004622938, -0.04234198, -0.0089078415, 0.0063287616, 0.028720433, -0.01809112, 0.023261799, 0.03347796, 0.017477648, -0.003408517, 0.021108393, 0.024501259, -0.007781059, 0.0244011, -0.019568456, 0.0066667963, -0.028495077, -0.018178757, 0.01034762, 0.024501259, 0.024676537, 0.051281124, 0.028745474, 0.015587158, -0.015574638, 0.04189127, -0.010823372, 0.009727889, 0.0149486475, 0.020645158, 0.034830097, -0.007536923, 0.0002155754, 0.0012214635, -0.0166889, -0.02894579, -0.00969659, -0.029146107, -0.054285876, -0.0034429466, 0.018166238, -0.009389854, -0.014635652, -0.078273825, 0.05233279, -0.035155613, 0.008507208, 0.053484607, 0.03355308, -0.00836323, 0.031249434, -0.02390031, 0.018278915, -0.013846905, -0.019105224, 0.009921946, -0.018491752, -0.031800307, -0.005064261, -0.02771885, 0.0022175706, 0.02262329, -0.03725894, 0.014635652, -0.012832801, -0.052432947, 0.016651342, 0.024814254, 0.0020516831, -0.04194135, -0.010009585, 0.03407891, -0.009051819, -0.12930456, 0.013809346, 0.021659264, 0.011380503, 0.013621548, 0.025640562, 0.017077014, -0.010497857, -0.0126637835, -0.009928206, 0.030072574, -0.025915997, 0.009408634, 0.007899997, -0.0026244642, 0.007468064, -0.0022269604, 0.03162503, 0.015123925, -0.036207277, 0.0049108937, 0.0060376762, 0.06179776, 0.013734227, -0.0043725423, 0.010447778, -0.015587158, 0.0072364477, -0.009446193, -0.03210078, -0.0053271772, 0.0065165586, -0.008901582, 0.0056965114, -0.026066234, -0.01223185, -0.0025587352, 0.0041910047, -0.03798509, 0.034504585, 0.0061503546, -0.04887732, 0.02051996, -0.029747058, 0.019681133, -0.025152288, 0.025665602, 0.010779552, 0.03087384, -0.009389854, -0.027418373, -0.02000665, 0.030373048, 0.02829476, 0.0011432148, -0.0016933037, 0.032977168, 0.008488428, -0.050029144, 0.016964337, -0.012306969, -0.018804748, 0.021559104, -0.06229855, -0.036758147, 0.00020109938, -0.027268136, 0.03780981, 0.0069171926, 0.024839293, -0.0037089924, -0.01610047, -0.009853087, 0.046398398, 0.040914726, -0.0031847255, -0.0025571703, 0.01608795, -0.030473206, -0.0011698193, -0.0065916777, -0.018103639, -0.0083194105, 0.008751344, -0.03027289, -0.020332165, 0.025427725, -0.014573053, -0.037208863, -0.0010148868, -0.0022676499, 0.007399205, -0.006128445, 0.034504585, 0.006497779, -0.019756254, 0.010760773, -0.036357515, 0.04189127, 0.028745474, 0.0065916777, 0.030448167, 0.0055681835, -0.04574737, 0.0051174704, 0.00834445, 0.004754396, -0.014873529, 0.029722018, 0.018404115, 0.008131614, -0.0022285255, -0.025340086, -0.0033114885, -0.011693498, 0.025465284, -0.005468025, 0.011336684, 0.02134627, -0.036532793, 0.002250435, 0.012031533, -0.0009914121, 0.009076859, 0.0063412813, -0.021083353, -0.0028795553, 0.0030078832, -0.018454194, 0.016964337, 0.008669965, 0.05729063, 0.010147302, 0.009083119, -0.027167978, -0.018804748, -0.0067982543, 0.0048044752, -0.013846905, 0.013408712, 0.031775266, 0.01666386, 0.020219486, 0.0046198084, -0.02829476, 0.0072927866, -0.027218057, 0.0011385198, -0.037684616, 0.006685576, -0.0017872022, -0.02184706, 0.0033177484, 0.013095717, -0.028019324, -0.0022253955, 0.047700457, -0.004028247, 0.00904556, 0.016213149, 0.048151173, 0.023637393, -0.015086366, -0.021559104, 0.0116997585, -0.02378763, -0.022723448, 0.018391594, -0.019831372, 0.070411384, 0.0014898569, -0.015925193, -0.010053404, 0.03588176, 0.030623443, 0.00057434605, 0.030999038, 0.020545, -0.034279227, -0.024889374, -0.018328995, 0.02508969, -0.025640562, 0.008882802, 0.045346737, -0.00066589715, -0.020419803, -0.022122497, 0.03425419, 0.0061691343, 0.013408712, 0.025865918, 0.01989397, 0.009264656, 0.013997142, 0.012125432, -0.03212582, 0.031825345, -0.017840723, -0.008238032, -0.023712512, 0.07607034, 0.01607543, -0.030097613, -0.004000078, 0.038135327, -0.01479841, -0.039562587, -0.008094055, 0.010666874, -0.0077998387, -0.005533754, 0.007530663, 0.02636671, 0.00088499376, -0.0060095065, -0.015048807, 0.02055752, 0.020682719, -0.042792697, 0.016225668, -0.031199355, -0.0053271772, 0.05749095, -0.0062661627, 0.0016385296, 0.07236448, -0.02641679, -0.032977168, -0.00898296, -0.006040806, 0.020319644, 0.0003642481, -0.018303955, -0.031049117, 0.0071112495, -0.020369723, -0.04569729, -0.017152134, -0.017114574, 0.033928674, 0.017051974, -0.009402374, 0.028820593, 0.0036870828, -0.02704278, 0.02317416, -0.023962907, -0.03853596, -0.015624717, 0.0013560514, -0.0062692924, -0.014022182, 0.003658913, 0.008788903, 0.005862399, -0.026642146, 0.038460843, 0.03921203, -0.028444998, -0.007211408, -0.013746747, -0.0023537234, -0.015424401, -0.017527727, -0.019343099, 0.022823606, 0.029521702, -0.006585418, -0.013784306, -0.051331203, -0.0062724226, -0.014209979, 0.006898413, -0.00835697, 0.0006850681, 0.028094444, 0.006106535, 0.034529623, -0.017039455, -0.018504273, 0.003023533, 0.0005270056, -0.0042129145, 0.021433907, -0.013859425, 0.029146107, -0.015261643, 0.039612666, 0.017252292, 0.022948803, 0.009289696, 0.017515209, 0.006297462, 0.030748643, -0.0063381516, 0.0037684615, 0.02185958, -0.010716953, -0.022798566, -0.024313463, -0.014209979, 0.025865918, -0.000022606562, 0.0074430243, 0.000023413504, -0.023737552, 0.020469882, -0.045271616, -0.02829476, 0.042191744, 0.015599677, 0.03550617, -0.008206733, -0.01479841, 0.006673056, -0.008638666, 0.020845477, 0.018479234, 0.0064602196, -0.009220837, 0.0126637835, 0.00833193, -0.00898296, -0.012269409, 0.017640406, 0.016375905, -0.0061347047, -0.015073846, 0.023699991, 0.0103288395, 0.03175023, 0.0050329617, -0.009884386, -0.040063377, -0.0134963505, -0.019105224, -0.028570196, -0.019480817, 0.004065807, 0.01865451, 0.037634537, 0.048526768, -0.008469649, -0.009978285, 0.04717463, 0.01287036, -0.0042880336, 0.0101973815, -0.02445118, 0.04830141, 0.006497779, -0.008043975, -0.021496506, 0.006353801, 0.01865451, 0.01737749, -0.018992545, 0.010466557, 0.01162464, -0.012150471, 0.008738824, -0.014322657, 0.00581232, 0.00902678, -0.00128954, -0.019618535, 0.07126273, -0.012357048, -0.0026056846, 0.025214888, -0.028520117, 0.005217629, 0.016300786, 0.0036996026, -0.0042849034, 0.0043224627, 0.027368294, -0.03728398, -0.002831041, -0.0065916777, 0.0050047925, -0.039061792, 0.008162913, -0.028820593, 0.012995558, 0.0103351, 0.0024757916, 0.045371775, -0.024313463, 0.0101660825, 0.0029124198, -0.041365437, 0.055638015, -0.009408634, 0.013095717, 0.021809502, -0.0051831994, 0.0008646491, -0.0055713137, -0.026016155, 0.0025587352, 0.057390787, 0.0023490286, -0.013396192, -0.023374477, 0.014748331, 0.009627731, 0.011098808, 0.025152288, -0.03207574, 0.009959505, -0.045722328, 0.0001487705, 0.0067293956, -0.004773176, -0.0016150549, 0.029922334, -0.0064727394, 0.01093605, -0.028820593, -0.0037809813, 0.0067857346, -0.00085291173, 0.01613803, -0.0064539597, 0.01737749, 0.031800307, -0.019443259, 0.04371916, 0.008313151, 0.02314912, -0.005978207, -0.017690485, 0.00515816, 0.0025915997, 0.009571391, -0.02701774, 0.0057716304, 0.033828516, -0.047825657, 0.035856724, 0.031274475, -0.01995657, -0.03798509, -0.0140847815, -0.0020172538, -0.010040884, -0.0011979889, 0.0016494844, -0.05208239, -0.0153743215, 0.0373591, -0.0010712259, -0.00062559906, 0.0038811397, -0.027368294, -0.03430427, 0.030172732, 0.005417946, -0.00029108548, 0.00054735027, 0.00042645587, 0.008594846, -0.013696667, 0.0077998387, -0.04457051, 0.02448874, 0.00965277, 0.00043819318, -0.009008, 0.005079911, -0.01352139, 0.029496662, 0.013446271, -0.0076183015, -0.015249123, -0.011511961, 0.03157495, 0.028870672, -0.011198966, -0.0042254343, 0.0067231357, 0.0073679057, 0.029496662, 0.0028826853, 0.031299513, -0.017051974, 0.0062098233, -0.014773371, 0.002064203, -0.005868659, -0.022948803, 0.011286604, -0.017239772, 0.028520117, -0.01610047, -0.009126938, -0.002308339, 0.016889218, -0.020232005, 0.045947686, -0.040989842, 0.016238188, 0.016563702, 0.032501414, 0.025915997, -0.005020442, -0.01096735, 0.00516755, -0.0065353387, -0.0093648145, 0.013947063, 0.0069171926, 0.040138498, 0.02253565, -0.010435258, 0.0068733734, 0.007605782, -0.002449187, -0.02262329, 0.0019577846, -0.00088655873, -0.031925503, -0.027268136, -0.028169563, -0.012313229, -0.017878283, -0.013596509, 0.03488018, -0.0036463933, -0.014936128, 0.018016, 0.018041039, 0.003662043, -0.02382519, 0.020482402, -0.016613781, -0.0019014454, -0.0058060596, 0.03916195, 0.018904906, 0.01929302, -0.010134783, 0.0040157274, 0.016375905, 0.005724681, -0.038335644, 0.055087145, -0.010554196, 0.01479841, -0.024526298, 0.00009918033, 0.005718421, 0.029421544, -0.011956414, 0.010648094, 0.012995558, -0.031224394, -0.009853087, -0.015299202, -0.021045793, -0.016263228, 0.039312188, -0.043343566, 0.042617418, -0.011486921, -0.0007026741, 0.0069109327, -0.0067794747, 0.0009663725, -0.013634068, -0.013746747, -0.032601573, 0.0056182626, -0.015211564, 0.028044363, 0.0080752745, 0.011105067, 0.009333515, -0.024163224, -0.04947827, 0.0018106769, -0.031950545, 0.02317416, -0.01671394, 0.011743577, -0.012513545, -0.0018764059, 0.0244637, 0.010610535, 0.014510455, 0.025665602, -0.023299359, 0.011668459, 0.018980024, 0.033928674, 0.0027981766, 0.005261448, -0.019205382, 0.011317904, 0.038936596, 0.022172576, -0.0488022, 0.032676693, -0.0031878555, 0.0005270056, -0.008150393, 0.03162503, 0.0034617262, -0.003724642, 0.029371465, -0.006804514, 0.029396504, 0.0049265437, -0.01731489, -0.025290007, 0.042942934, -0.022811085, -0.015512039, -0.029471623, 0.0046824072, 0.0400133, -0.0043443725, -0.030523285, 0.006685576, -0.021759422, -0.041565754, 0.002444492, 0.0012214635, 0.0022973842, -0.01616307, -0.0028153912, -0.0032770592, 0.00020051251, 0.04717463, -0.014748331, 0.023474636, 0.024851814, 0.018954985, 0.01671394, -0.023574794, 0.018867347, 0.0007069778, -0.009590171, -0.033102367, -0.017014416, -0.019117743, 0.0012277234, 0.044019636, -0.0087763835, -0.007849918, -0.025315046, 0.005718421, 0.004137796, 0.029421544, -0.0015978402, 0.015624717, -0.00012715427, 0.0018357165, 0.014898568, -0.015361802, -0.022710927, 0.016175589, -0.0038373205, 0.005295878, 0.001669829, 0.0070486506, 0.012701343, 0.020444842, 0.018303955, -0.03430427, -0.012932959, -0.008601107, 0.0361572, -0.009145718, 0.001257458, -0.018454194, 0.0019061404, 0.010310059, 0.030072574, 0.01728985, 0.03094896, 0.021008234, -0.020545, 0.014360216, 0.0012410257, 0.0296469, -0.0016197498, -0.023499675, -0.019205382, -0.010053404, -0.053985402, -0.026316632, -0.01479841, 0.0015516734, -0.014723292, -0.013220915, -0.00013850034, 0.017114574, 0.02508969, 0.026166394, -0.020181926, 0.0056558223, 0.030523285, -0.0019781294, 0.002115847, -0.03400379, -0.0011572995, 0.008726304, -0.049177796, -0.009796748, 0.0007011091, 0.009101898, 0.019380659, -0.008525987, -0.02312408, -0.0008435219, -0.011486921, -0.009158238, 0.0049077636, 0.05408556, 0.00043819318, -0.0072489674, 0.008432089, 0.0016823489, -0.0110299485, -0.0067293956, 0.022372892, -0.024100626, 0.02122107, 0.011956414, 0.012494766, -0.019756254, 0.037559416, 0.029822176, -0.005211369, 0.035205692, 0.01736497 ]
2401.09350
169
# 5.2.1.1 Proof of Correctness Suppose there exits a point u* € ¥ such that 6(g,u*) < r. The algorithm above is correct, in the sense that it returns a point u with d(q,u) < (L+e)r, if we choose ¢ and L such that the following two properties hold with constant probability: e Jie [L] s.t. gi(u*) = gi(q); and, e ya [(*\ Bea (1+e)r yn) 9; Mo, < 4L, where g; '(g,(q)) is the set e ya [(*\ Bea (1+e)r yn) 9; Mo, < 4L, where g; '(g,(q)) is the set of vectors in bucket g;(q). The first property ensures that, as we traverse the L buckets associated with the query point, we are likely to visit either the optimal point u∗, or some other point whose distance to q is at most (1 +ϵ)r. The second property guarantees that with constant probability, there are no more than 4L points in the candidate buckets that are (1 + ϵ)r away from q. As such, we are likely to find a solution before visiting 4L points.
2401.09350#169
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 169, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "# 5.2.1.1 Proof of Correctness\nSuppose there exits a point u* € ¥ such that 6(g,u*) < r. The algorithm above is correct, in the sense that it returns a point u with d(q,u) < (L+e)r, if we choose ¢ and L such that the following two properties hold with constant probability: e Jie [L] s.t. gi(u*) = gi(q); and, e ya [(*\\ Bea (1+e)r yn) 9; Mo, < 4L, where g; '(g,(q)) is the set\ne ya [(*\\ Bea (1+e)r yn) 9; Mo, < 4L, where g; '(g,(q)) is the set of vectors in bucket g;(q).\nThe first property ensures that, as we traverse the L buckets associated with the query point, we are likely to visit either the optimal point u∗, or some other point whose distance to q is at most (1 +ϵ)r. The second property guarantees that with constant probability, there are no more than 4L points in the candidate buckets that are (1 + ϵ)r away from q. As such, we are likely to find a solution before visiting 4L points.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.0016262407, 0.007228445, 0.015718998, 0.03276385, -0.030112145, -0.03034162, -0.0040795454, 0.031794958, -0.034344673, 0.01930135, 0.040081535, -0.008630789, -0.06129517, 0.0043440787, 0.00037189998, 0.017363565, 0.0030835627, -0.030035654, 0.007336808, 0.01930135, -0.0072156964, 0.0068013673, 0.07506364, -0.0016987483, 0.015196308, -0.0386027, 0.040820953, 0.005341655, 0.04102493, -0.041611366, 0.0072475676, -0.025382422, -0.034880113, -0.046532318, 0.0019170677, 0.058286507, 0.016318182, 0.05277912, -0.01912287, -0.00087885524, -0.009924769, 0.026185583, -0.03332479, -0.06986222, -0.008101722, 0.029653197, -0.002650111, -0.026262075, -0.01777152, 0.00592809, -0.018026492, 0.050688352, -0.0077511366, 0.017261578, 0.005912154, -0.028837288, 0.017172337, 0.0012286444, 0.08393665, -0.013844958, 0.008726403, -0.0071073333, -0.02271797, 0.0228837, -0.009370206, -0.040973935, -0.03760831, 0.0009481756, 0.032279406, 0.035492048, -0.051121805, 0.018204972, 0.096481256, -0.028505825, 0.03166747, -0.011645827, 0.043702133, 0.044390555, 0.013131037, 0.026950497, -0.003168022, -0.032355897, 0.068740346, -0.0071965735, -0.014061684, -0.04711875, -0.026950497, -0.0027154475, -0.058388498, -0.028352842, -0.013054546, 0.0013003552, 0.056348722, 0.014023438, 0.045129973, -0.028327344, 0.07389077, 0.035950996, 0.013589987, -0.029500214, -0.014597124, -0.06506875, 0.050662857, -0.08184588, 0.08995398, -0.0031664285, -0.01068331, 0.024031073, -0.031437997, 0.015591513, 0.008579794, 0.024439028, -0.036766905, 0.027307458, 0.036282457, -0.01077255, -0.030265128, -0.0052906605, -0.01849819, 0.0074897907, -0.023125924, 0.010122373, 0.028658807, -0.050484378, 0.019913282, -0.019148367, 0.047093254, -0.058949433, 0.045053482, 0.013538992, 0.008286577, 0.024897976, 0.038041763, 0.019224858, -0.010734304, 0.038653694, -0.003983931, -0.038041763, 0.011505594, 0.030545598, 0.024005575, 0.0017577105, -0.06399787, 0.010154244, -0.021137146, -0.00011115168, -0.03992855, 0.07684844, 0.0475777, 0.040158026, -0.071494035, -0.020308487, -0.018039241, 0.038908664, 0.018434446, -0.020410476, -0.022845455, 0.026415057, -0.0023935458, 0.018702166, -0.025254937, 0.012410742, 0.021302877, 0.0024174494, 0.05081584, -0.010332724, -0.016993856, -0.007368679, -0.040616974, -0.025713885, 0.008547923, -0.006814116, -0.021404866, 0.019008132, 0.020066265, -0.003888317, -0.027179973, -0.013080043, 0.06384489, -0.002624614, -0.01383221, 0.016726136, 0.042529263, -0.014597124, 0.023266159, 0.03796527, 0.011333488, 0.001170479, -0.0042357156, -0.05599176, -0.015132564, 0.039087147, 0.007521662, 0.011868928, -0.016675143, -0.03760831, 0.007228445, 0.0027489124, 0.041891832, 0.0014772417, 0.0014844128, 0.04801115, 0.04584389, -0.0007959895, 0.008541549, -0.019428836, 0.042860724, 0.011690448, -0.04515547, -0.044186577, -0.026899504, 0.014597124, -0.010173366, 0.0224375, 0.003980744, 0.018510938, -0.041050427, 0.028582316, 0.005784668, 0.06022429, -0.048597585, 0.03554304, 0.04191733, -0.019722054, -0.02477049, 0.043345172, 0.052575145, -0.04245277, -0.0028955212, -0.009472195, 0.017299823, 0.017644035, -0.012952557, -0.050968822, 0.047169745, -0.011454599, -0.012181268, -0.016024966, -0.03467614, -0.021494105, -0.013602735, 0.014737358, -0.01974755, -0.051555257, -0.011958168, 0.008853889, -0.02684851, 0.05798054, 0.03788878, 0.029449219, -0.013526243, -0.05017841, -0.006511337, -0.04747571, -0.030137643, -0.010052255, 0.021761825, -0.01695561, -0.013271271, -0.018179474, -0.00080037175, -0.032712854, -0.003518608, 0.030647585, 0.020384979, 0.005497825, -0.0026963246, -0.007974236, -0.013009925, -0.0023043058, -0.0087519, 0.038934164, -0.020359483, -0.02415856, -0.028607814, -0.035313565, -0.011320739, 0.009982138, -0.014571627, -0.0038341354, -0.015017827, -0.007317685, 0.035925496, 0.0475777, 0.014023438, -0.02766442, -0.031259518, -0.007260316, -0.00866266, -0.012391619, 0.032814845, -0.058643468, -0.011524716, 0.017809765, -0.012831446, -0.008414063, -0.0074770423, -0.066292614, 0.0035504794, 0.015604261, 0.05163175, 0.03508409, 0.007738388, -0.0015704657, -0.06654759, 0.0126210945, 0.039954048, -0.010026759, -0.033171806, 0.044747517, 0.0062595527, 0.013742969, -0.036588423, 0.035390057, -0.030418111, -0.06022429, -0.00015198697, -0.024668502, -0.020971414, -0.025803126, 0.051300287, -0.024757743, 0.011167756, -0.010485707, -0.021889312, 0.034880113, -0.026364064, -0.005896218, 0.013908701, -0.03870469, 0.03166747, -0.009121609, -0.008267454, 0.0021991301, -0.02369961, 0.03618047, -0.022947444, 0.036486436, 0.022488495, 0.017848011, -0.026236577, -0.014074432, 0.045104474, -0.016381925, 0.0059663355, 0.014495135, 0.027307458, 0.0025226253, 0.06246804, 0.027817402, -0.0341152, -0.0042962716, -0.0020477406, 0.026491549, 0.013679226, -0.015158062, 0.001956907, -0.03357976, -0.07241193, 0.022042295, 0.01243624, 0.009261843, -0.001364098, 0.0044747517, -0.025905114, 0.06129517, 0.005982271, -0.048699576, -0.018345207, -0.005099432, -0.03204993, 0.068179406, -0.009759038, 0.001039806, -0.015629759, 0.0038787555, -0.01831971, 0.034625143, 0.02638956, 0.0066547585, -0.016012216, 0.0076172766, -0.031743962, -0.013092792, 0.056093752, 0.033452272, -0.0071774507, -0.0037385211, 0.018166726, -0.01823047, -0.035772514, -0.010364596, 0.00067328435, -0.008713654, 0.019683808, 0.034625143, 0.062519036, 0.064711794, 0.030214135, 0.024005575, -0.01499233, -0.02037223, -0.05726662, 0.0087965205, 0.007304936, 0.0053735264, -0.005698615, -0.0029704191, 0.006135254, 0.028505825, -0.00835032, 0.018077487, 0.043957103, -0.059918325, 0.004356827, -0.01768228, 0.020321237, 0.013169283, -0.0111422585, -0.012315128, 0.0067185014, 0.0015648882, -0.04184084, 0.0055998135, -0.0019473456, -0.0036078482, 0.007827628, 0.028225357, 0.02135387, -0.057317615, 0.0048731444, 0.0009991699, 0.018753162, -0.0013967663, -0.027307458, -0.026517047, 0.03556854, -0.05854148, -0.028225357, -0.043345172, -0.04612436, -0.01930135, -0.029321734, -0.018255966, -0.044722017, 0.015757244, -0.000022446962, -0.027817402, 0.036690414, 0.025216691, -0.03635895, -0.02638956, 0.012104777, 0.0064316588, -0.019862287, -0.025165698, 0.042427275, 0.0023250224, -0.0043632016, -0.0019282227, 0.008898509, 0.01821772, -0.029398225, 0.038985156, 0.026211081, 0.025879618, -0.01270396, 0.015387536, -0.025395172, -0.015119816, -0.023482883, -0.06675156, 0.06945426, -0.012939809, 0.015668005, 0.0019441585, -0.011894425, -0.044492543, 0.034064207, -0.007783008, 0.028352842, -0.055226848, 0.004149663, -0.005698615, 0.016993856, 0.047781676, 0.07470668, -0.0025433416, -0.01723608, 0.011543839, -0.06511974, -0.04173885, 0.020486968, -0.013309517, -0.03080057, 0.043294176, 0.063487925, -0.023559375, 0.046302844, 0.049311507, 0.016305434, -0.013666478, -0.0055456324, 0.02540792, -0.0076555223, 0.0078148795, -0.020856677, -0.021621592, 0.030749574, 0.011492845, 0.024490021, -0.008477805, -0.0149540845, -0.014507884, -0.002121045, -0.0046755415, -0.0015322199, 0.000961721, -0.040107034, 0.029653197, 0.009089737, -0.026899504, -0.014890341, 0.003156867, -0.0036652167, -0.008879386, -0.04344716, -0.07368679, -0.025293183, -0.007897745, 0.019722054, -0.019288601, -0.010976527, 0.011225125, 0.013653729, -0.03159098, -0.007961488, -0.035415556, 0.03276385, -0.01199004, -0.013131037, -0.028837288, 0.023737855, 0.003499485, -0.013245774, -0.037735797, 0.021251883, -0.00004569071, 0.0015871982, 0.006839613, -0.008229208, 0.020168254, -0.019938778, 0.037378836, -0.006673882, 0.01383221, 0.009752664, 0.016930114, -0.03401321, -0.010058629, 0.023992827, 0.031794958, 0.0071838247, 0.0058197267, -0.033554263, 0.047016762, 0.033426777, -0.03564503, 0.037710298, 0.027052486, -0.020346733, 0.02002802, 0.00091471063, 0.0041655987, 0.06221307, -0.009013246, 0.0004892268, 0.0011075329, 0.008477805, 0.0127932, -0.02398008, 0.005979084, -0.011722319, 0.01288244, -0.010849042, -0.022781713, 0.01265934, 0.0023043058, 0.0027186347, 0.043829616, -0.013143786, -0.012321503, -0.042274293, -0.0051153675, -0.03482912, 0.03194794, -0.026644532, 0.024719497, -0.0008549516, 0.010154244, 0.035772514, 0.0025847745, 0.05808253, -0.0005465954, -0.035058595, -0.02970419, 0.0056826794, 0.03564503, 0.04059148, -0.03646094, 0.010409215, -0.020448722, -0.035696022, 0.020270241, 0.026287572, 0.0061735, -0.029296236, -0.0048540216, 0.011346236, -0.004133727, -0.0012413929, 0.009631552, 0.030316124, 0.007343182, 0.0051568006, 0.018510938, -0.0071073333, -0.007916868, -0.005561568, -0.041458383, -0.013003551, 0.0075535337, 0.009861027, 0.00055456324, 0.022781713, 0.009848278, 0.003120215, 0.01930135, -0.03069858, -0.022539489, 0.005606188, 0.008076225, -0.0022612794, -0.018153979, -0.010230735, -0.02118814, -0.013921449, 0.011715945, -0.05502287, -0.017656783, -0.047705185, -0.022055043, 0.03465064, -0.038806677, 0.0018612926, -0.032075427, 0.0075726565, 0.019199362, 0.00955506, -0.03561953, -0.02371236, -0.0147118615, 0.014112678, -0.014023438, -0.020856677, 0.03222841, 0.0061480026, 0.029780682, 0.011562962, 0.01108489, -0.021519603, -0.0023935458, 0.005297035, -0.025025463, 0.013347764, -0.022552237, -0.027332956, -0.050050925, -0.045410443, -0.017593041, -0.034166194, -0.007317685, -0.032789346, -0.005105806, -0.030673083, -0.027893893, -0.0048030275, -0.010052255, -0.016139703, -0.0038946911, -0.005348029, -0.00094180135, 0.06715952, -0.0019951528, -0.007986985, 0.0016891868, 0.005073935, -0.0026676403, 0.021774575, -0.06511974, -0.010351847, 0.05680767, -0.011900799, -0.065272726, -0.037123866, -0.028403835, 0.0038436968, 0.015311045, 0.029015768, 0.0013824241, 0.03187145, -0.012296005, 0.02227177, -0.020869425, -0.016024966, 0.024451775, -0.009446697, 0.011715945, -0.011894425, -0.00076810195, -0.02234826, 0.0073941764, -0.042070314, 0.0054468308, -0.022144284, -0.0170576, 0.008669035, 0.0062085586, -0.0140999295, -0.048674077, -0.02046147, 0.005319345, 0.030749574, -0.0015035357, -0.0071710763, 0.014699113, 0.0026070846, 0.020040767, -0.0068714847, -0.011837057, -0.02791939, -0.017669532, -0.013424255, 0.0067631216, 0.028582316, 0.028786294, 0.02046147, -0.012716709, -0.024133062, 0.06715952, 0.026236577, 0.010664187, -0.005230105, -0.00036353373, 0.01063869, -0.021379368, 0.0011656983, 0.0049974434, 0.012468111, -0.03123402, 0.006237243, 0.002235782, -0.022972941, -0.0026341754, 0.027766407, 0.008108097, -0.013437003, -0.02998466, 0.04237628, -0.003805451, -0.0007513694, 0.025892366, 0.014482386, -0.009185351, 0.035950996, -0.008420437, -0.023941834, -0.029551208, -0.04875057, -0.017274326, -0.014533381, -0.049515486, -0.02720547, -0.017695028, -0.016292686, 0.03304432, 0.0044046342, 0.0128696915, 0.014852095, -0.026134588, 0.0341152, -0.040234517, -0.035594035, 0.008139968, 0.014533381, 0.005603001, -0.0129908025, -0.102651566, -0.00058962184, 0.02081843, -0.006198997, 0.021035157, 0.026517047, 0.023776101, -0.009191726, 0.00019660701, -0.04454354, 0.010562198, -0.007164702, -0.019008132, -0.00055974233, 0.035874505, -0.009574183, -0.016764382, 0.046277344, 0.024630256, -0.051733736, 0.01526005, -0.031973436, 0.021698084, 0.014048935, -0.012538228, 0.012366123, -0.012206765, -0.036205966, 0.012531854, -0.010963779, 0.010441087, 0.02343189, 0.03258537, 0.010868165, -0.00082626735, -0.034319177, 0.015489524, -0.031539988, -0.032202914, 0.007859499, 0.014801101, -0.04413558, 0.017886257, -0.03465064, -0.012474486, -0.062366053, 0.029296236, -0.016675143, 0.007859499, -0.0072348192, -0.03365625, -0.0013258524, -0.012984429, 0.0025369674, -0.019492578, -0.015387536, 0.017312571, 0.006090634, -0.049413495, -0.030647585, -0.012825072, 0.007859499, 0.028582316, -0.043141194, -0.032738354, -0.028939277, -0.0041687856, 0.023839844, 0.0013338202, -0.022743467, 0.002388765, -0.015757244, -0.028531322, 0.03536456, 0.014609872, -0.027485939, -0.013258523, 0.014533381, -0.023763353, 0.009504066, 0.01463537, 0.009701669, -0.02540792, 0.03707287, -0.013233026, -0.021468608, 0.01983679, -0.022131534, -0.0074579194, 0.010122373, 0.0036907138, -0.008643537, 0.00019262308, 0.0430902, 0.012340626, -0.02100966, 0.040234517, -0.05594077, 0.0057081766, 0.012225888, 0.0073750536, 0.034421165, -0.020627202, -0.048444603, 0.0045257458, 0.026109092, 0.021621592, -0.02728196, 0.00803798, 0.01707035, 0.026262075, 0.009861027, -0.009631552, -0.0008820424, -0.00301982, 0.040616974, 0.005230105, 0.02262873, 0.026797514, -0.009943892, 0.0051408648, 0.00058762985, -0.013679226, 0.0219913, -0.0152090555, -0.056450713, -0.023304405, 0.030775072, -0.031743962, -0.0075535337, 0.023202416, 0.035339065, -0.028505825, 0.045639917, -0.01893164, -0.01867667, -0.012238637, 0.009778161, -0.00047647816, 0.014558878, 0.00035696023, 0.02980618, 0.035339065, 0.0014589156, -0.028939277, -0.013296769, -0.0072666905, -0.014877593, 0.009586932, 0.0088028945, 0.012557351, -0.027358452, 0.016738886, 0.0127485795, -0.029653197, -0.0030246007, 0.018702166, 0.007872248, 0.012640217, -0.0048030275, 0.054257955, 0.0144696385, -0.03809276, -0.008879386, 0.012818697, -0.02200405, 0.00466598, 0.008669035, 0.0071519534, 0.021570597, 0.02200405, -0.011244248, -0.013296769, 0.022322763, 0.017121343, 0.021226386, 0.00906424, 0.028862786, -0.0059408383, 0.005561568, 0.029296236, 0.015833735, -0.053900994, 0.0046946644, 0.019467082, 0.01876591, -0.010664187, -0.02359762, 0.032814845, 0.020537961, 0.05675668, 0.011250622, 0.010957404, 0.0079423655, 0.017707778, 0.021200888, -0.008343945, 0.052728128, 0.011964542, 0.0055137607, -0.043166693, 0.023227913, -0.009268218, -0.008101722, 0.0067631216, -0.0009330367, 0.009733541, -0.033809233, -0.046812784, 0.00036074498, 0.019964276, -0.024783239, -0.019938778, 0.012876065, -0.011403604, -0.016356427, -0.016292686, 0.03781229, -0.026440555, -0.0058866567, 0.025293183, -0.02710348, -0.028531322, 0.026542543, -0.02029574, 0.0001450151, 0.029500214, -0.02728196, -0.02387809, -0.008445934, -0.013258523, 0.022845455, -0.021685334, -0.019008132, -0.03699638, 0.0024875666, -0.018638425, -0.02487248, 0.0022931509, -0.014112678, 0.00924272, -0.04048949, -0.00424209, 0.007075462, 0.01597397, 0.015247301, -0.0044269445, 0.022666976, -0.022590484, -0.010441087, -0.009325586, 0.012997177, -0.0020126821, -0.0048540216, 0.0013664884, -0.0031409315, 0.018969886, 0.017389063, 0.0004967962, -0.016165199, -0.0016150858, -0.037123866, 0.023227913, -0.0073113106, -0.016942862, -0.029372727, 0.0175038, 0.0466853, 0.0022835894, -0.018204972, -0.0054818895, -0.0037002752, 0.03699638, 0.02970419, -0.010288104, 0.008815643, 0.028939277, 0.016840873, 0.007585405, -0.03391122, -0.023941834, 0.0037002752, 0.0014860063, -0.025446165, 0.0020604893, -0.0074834162, -0.012576474, -0.009338335, 0.01099565, -0.0043026456, 0.019632813, 0.0143421525, -0.0062627397, 0.025458913, 0.060836222, -0.013309517, -0.047348227, 0.015693503, -0.007579031, -0.029296236, 0.03062209, 0.01795, 0.024846982, -0.04033651, 0.04999993, 0.017108595, -0.009886524, 0.03123402, -0.031081038, -0.026593538, 0.03651193, -0.033783738, 0.02899027, 0.011958168, 0.0028684305, -0.008936754, -0.026185583, 0.030112145, -0.009988512, 0.014265661, 0.0010645065, 0.033732742, -0.013347764, 0.0030692206, -0.03959709, 0.024706747, 0.0067121275, 0.00231068, -0.01939059, 0.04533395, -0.018166726, 0.016228942, 0.0016620961, -0.024910726, -0.03888317, 0.005363965, -0.031106535, -0.016063211, -0.021430362, 0.010664187, 0.050586365, 0.005010192, 0.023240661, -0.009873775, -0.015910227, 0.051657245, 0.036001988, -0.021175392, 0.0059440252, -0.021927558, 0.060173295, 0.008892135, -0.017797017, 0.025433417, 0.009287341, 0.03255987, 0.014520632, -0.008286577, 0.016828125, -0.0029433283, -0.021965804, 0.016407423, 0.00395206, 0.014622621, 0.0024764116, 0.006288237, -0.027536932, 0.014227415, -0.011014773, 0.022756215, 0.01207928, -0.025471663, 0.016815377, 0.03426818, 0.032279406, -0.004462003, -0.02568839, -0.011715945, -0.001587995, 0.018536435, 0.012818697, 0.0084395595, -0.026440555, 0.015030576, -0.023011187, -0.003387935, -0.011703196, 0.020703694, 0.0034803622, -0.012448988, -0.00010806414, -0.011792436, -0.01947983, 0.02799588, 0.022220775, 0.004863583, 0.008286577, 0.006269114, -0.015196308, -0.009931143, 0.0052715377, -0.002900302, 0.031769462, -0.023419142, 0.0068714847, -0.03393672, -0.006852362, 0.020627202, 0.022998437, 0.016866371, -0.035670526, 0.037200358, -0.017121343, -0.014163672, -0.015374787, -0.022220775, -0.028760796, 0.025560902, -0.036868893, 0.013704724, 0.015897479, -0.0060205166, 0.015833735, -0.010568573, 0.031361505, -0.0013154941, 0.0042707743, 0.016165199, -0.038271237, 0.016407423, 0.01090641, -0.027179973, -0.009797283, -0.018345207, -0.008018857, 0.008968626, 0.010778924, -0.020499716, -0.006750373, 0.010447461, -0.027001493, 0.021838317, 0.019887784, -0.015833735, -0.015961222, -0.013679226, 0.006756747, 0.0036110352, -0.009943892, 0.030239632, -0.042274293, -0.0037130238, 0.025012713, -0.013806712, 0.020869425, 0.0051408648, -0.015158062, -0.041356392, 0.031183027, -0.0085542975, -0.017707778, -0.011339862, 0.0019138806, 0.018141229, -0.018651173, 0.020079013, -0.009045118, 0.006903356, 0.031106535, 0.018204972, 0.015833735, 0.040540483, -0.019059127, 0.0367924, 0.005536071, 0.005348029, 0.00222144, 0.041254405, -0.0044141957, -0.012353374, -0.010747053, -0.0031249956, -0.010065004, 0.007100959, 0.012672088, 0.027970385, 0.007190199, 0.0068714847, -0.01695561, 0.004920952, 0.0034198065, -0.01292706, -0.019683808, 0.013475249, -0.0077256393, 0.024171308, -0.010179741, -0.004838086, -0.0047201617, 0.014380398, -0.018778658, 0.023151422, -0.015502273, 0.018816903, 0.023482883, 0.028760796, 0.01364098, -0.0045831143, 0.007094585, -0.017121343, 0.0019218484, -0.009612429, 0.007916868, 0.033069815, -0.0023616743, -0.0069734734, 0.007030842, 0.018115733, -0.015566016, 0.0066037644, 0.025841372, 0.030902557, -0.0073495563, 0.0044078217, -0.031973436, -0.00308675, 0.0006418113, -0.0155787645, -0.006724876, 0.05142777, -0.008197336, -0.028582316, 0.020588957, -0.011135885, 0.0012374091, -0.025127452, 0.028123368, 0.00013684804, 0.009395704, 0.0032110487, 0.039622586, -0.003646094, 0.051861223, 0.003693901, -0.005555194, 0.014699113, 0.0026883567, -0.048444603, 0.043319676, 0.00014332193, 0.042529263, -0.02952571, 0.0045576175, 0.00045616014, 0.01723608, -0.024655754, -0.009676172, 0.008713654, -0.016662395, 0.023113176, 0.0020286178, -0.026134588, -0.0067185014, 0.042809732, -0.008197336, 0.042937215, 0.024273297, -0.010447461, 0.003779954, 0.001248564, -0.0007876232, -0.0072666905, -0.012895188, 0.0014310281, -0.0065208985, -0.00047886852, 0.026440555, 0.008567045, 0.008579794, 0.0005155207, -0.029678693, -0.0314125, -0.007674645, 0.002694731, 0.027613424, 0.024018325, -0.025713885, -0.024451775, -0.044186577, 0.020053517, -0.0014262474, 0.013182032, 0.0080634765, -0.023661364, 0.02019375, 0.01625444, 0.03796527, -0.023227913, 0.02459201, -0.021494105, -0.018906144, 0.0063456055, 0.0057719196, -0.016024966, 0.013513494, -0.008369443, 0.00040277545, -0.015043324, 0.007585405, -0.008496928, -0.027179973, 0.0041018557, -0.042478267, 0.010887288, -0.01297168, -0.012818697, 0.00603964, 0.030877061, -0.013653729, -0.016101457, -0.0034835495, 0.013398757, 0.016267188, 0.0012023505, -0.02710348, -0.008356694, -0.01678988, -0.014150924, -0.020588957, 0.009115235, 0.016534908, 0.00668663, 0.0033783736, -0.0106450645, -0.0064507816, 0.046838284, -0.021341123, 0.0043345173, 0.023572125, 0.029194249, 0.0030724078, -0.0021306064, 0.005714551, 0.009306463, -0.0062499912, -0.04138189, -0.012315128, 0.011817934, -0.0097909095, -0.0056444337, -0.04066797, 0.014737358, -0.018077487, -0.007872248, 0.015362039, 0.023533879, -0.0104028415, -0.0087965205, 0.038934164, 0.0034038709, 0.004924139, -0.026517047, -0.0071838247, 0.009306463, 0.0026118653, 0.006992596, -0.0071073333, -0.016394673, -0.0031186214, 0.029372727, 0.012531854, -0.029653197, -0.025050959, -0.051223792, 0.016891869, 0.042886224, 0.002485973, -0.022055043, 0.01670064, -0.0023377708, -0.012978055, 0.00108841, 0.0115119675, -0.010319975, -0.03421719, 0.046226352, 0.00965705, 0.0149668325, -0.00051392714, -0.0035759767, -0.039444108, -0.0091981, -0.0067949933, -0.013602735, -0.011983665, -0.00018594999, 0.008968626, 0.0035855381, 0.059306394, 0.043931607, 0.027154475, 0.021213638, -0.025981605, -0.0069543505, 0.021685334, -0.016547658, -0.002680389, -0.047016762, -0.0073623047, 0.018102983, -0.017835263, 0.0024286045, 0.0133605115, -0.013220278, 0.014495135, -0.00803798, -0.010600444, 0.004069984, -0.019594567, -0.03635895, 0.0109000355, 0.03383473, -0.022832707, -0.016662395, 0.009701669, 0.0046755415, 0.0052046077, -0.014915839, 0.013092792, 0.0061958097, 0.047628693, -0.016738886, 0.031004546, -0.05359503, 0.03699638, 0.02674652, 0.0031042793, 0.013666478, -0.027893893 ]
2401.09350
170
We must therefore prove that for some ℓ and L the above properties hold. The following claim shows one such configuration. Theorem 5.1 Let ρ = ln p1/ ln p2 and m = |X |. Set L = mρ and ℓ = log1/p2 m. The properties above hold with constant probability for a (r, (1 + ϵ)r, p1, p2)-sensitive LSH family. Proof. Consider the first property. We have, from Definition 5.1, that, for any hi ∈ H: P [hi(u') = hi(q)| > pi. That holds simply because u∗ ∈ B(q, r). That implies: P [si(u") = ai(a)| > pi As such: P [3 i € [L] s.t. gi(u*) = ai(a)| >1-(1- pi). 5.2 Top-k Retrieval with LSH Substituting ℓ and L with the expressions given in the theorem gives: : we) Line 1 P[3ie [L] s.t. gi(u )=gila)| 2 1-(Q-7 7) w1- 7, proving that the property of interest holds with constant probability.
2401.09350#170
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 170, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "We must therefore prove that for some ℓ and L the above properties hold. The following claim shows one such configuration.\nTheorem 5.1 Let ρ = ln p1/ ln p2 and m = |X |. Set L = mρ and ℓ = log1/p2 m. The properties above hold with constant probability for a (r, (1 + ϵ)r, p1, p2)-sensitive LSH family.\nProof. Consider the first property. We have, from Definition 5.1, that, for any hi ∈ H:\nP [hi(u') = hi(q)| > pi.\nThat holds simply because u∗ ∈ B(q, r). That implies:\nP [si(u\") = ai(a)| > pi\nAs such:\nP [3 i € [L] s.t. gi(u*) = ai(a)| >1-(1- pi).\n5.2 Top-k Retrieval with LSH\nSubstituting ℓ and L with the expressions given in the theorem gives:\n: we) Line 1 P[3ie [L] s.t. gi(u )=gila)| 2 1-(Q-7 7) w1- 7,\nproving that the property of interest holds with constant probability.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.014202896, -0.01681007, -0.0105528515, -0.018051583, 0.008417451, -0.009267886, 0.008808527, 0.023278348, -0.039355926, -0.012607553, 0.008752659, -0.0066731265, -0.023005215, -0.008684375, -0.0072069764, -0.0045625563, 0.02245895, 0.0073435428, -0.03014391, -0.012775158, -0.0004900092, 0.012775158, 0.01304829, -0.005934427, -0.0053726425, -0.0521435, 0.047723718, -0.018275054, 0.03143508, -0.026568355, 0.044396464, -0.016474864, 0.0035445164, 0.0069276365, -0.02929968, 0.0831813, 0.0028554774, 0.036127996, -0.0023930143, 0.005664398, -0.0034607144, 0.031459913, -0.0815425, -0.04494273, 0.025252352, 0.031286098, 0.0002774003, -0.012315798, -0.03364497, 0.0075608073, -0.041392006, 0.012377874, -0.016325882, -0.007144901, 0.021738874, -0.030764665, 0.029920436, 0.011508815, 0.05437822, -0.009820359, -0.003904555, -0.022558272, -0.0151092, -0.007840147, -0.021987176, -0.009069244, -0.040224984, 0.039455246, 0.037096374, 0.026915979, -0.03371946, -0.005766823, 0.048195492, 0.03232897, 0.013246932, 0.036798414, -0.026444204, 0.016536938, 0.03329735, -0.013172441, 0.009994171, 0.00023879705, 0.06048646, -0.0038517907, -0.011812986, -0.046060093, -0.013842857, 0.031161949, -0.06038714, -0.009447905, -0.005571285, 0.013892518, 0.015779616, 0.0072628446, 0.059145626, -0.034141578, 0.071262784, 0.00018341398, -0.025575144, 0.02037321, 0.00614238, -0.039107624, 0.0036159034, -0.055768713, 0.062025934, 0.03319803, -0.0043018386, 0.022769328, -0.047078133, -0.023129366, -0.02090706, 0.007976714, -0.0366246, 0.09182222, 0.0047146413, -0.0062758424, -0.048369303, 0.0062572197, -0.023675632, 0.01721977, -0.017070789, -0.015357502, 0.035730712, -0.008926471, 0.004674292, -0.039157286, 0.025190277, -0.0777683, 0.014264972, -0.041466497, 0.017008713, 0.016599014, 0.008578847, 0.0012772053, -0.01933034, 0.038313057, 0.009882434, -0.03669909, -0.0016124136, 0.02357631, 0.005934427, -0.043676388, -0.030516362, 0.027611224, -0.03741917, 0.03347116, -0.060238156, -0.014773992, 0.035358258, 0.0055588693, 0.00307119, -0.038039923, -0.016834902, 0.04178929, -0.041913442, -0.057854455, -0.009044414, 0.015096785, 0.018138489, -0.0056457752, 0.027238771, 0.018933056, 0.0074180337, 0.024507444, 0.031161949, 0.030739835, -0.010465945, -0.033123538, -0.044421297, -0.044048842, -0.013271762, -0.006039955, -0.03568105, -0.020993967, -0.004016291, -0.01833713, -0.0089947535, -0.027760206, 0.016238976, -0.05119995, 0.0026428683, 0.05095165, 0.014165651, -0.053682975, 0.017430827, 0.030541193, -0.008311922, -0.0041063004, 0.03150957, -0.050057758, -0.0013703187, 0.018088829, 0.023154197, -0.00019107644, -0.021800948, -0.024134992, 0.019764869, 0.074590035, -0.0123902885, 0.012322006, -0.0010902026, 0.05442788, -0.009416868, -0.033322178, 0.006328607, -0.016114824, 0.00941066, 0.0070145424, -0.029448662, -0.012290968, -0.033942934, -0.034936145, 0.02612141, 0.019938681, -0.0011561579, 0.034613352, -0.062919825, 0.00560853, -0.02314178, 0.059145626, -0.0240605, 0.013234517, 0.043279104, 0.023179026, -0.008162941, 0.060238156, 0.011130154, -0.055917695, 0.01676041, -0.025326842, 0.013433158, 0.006834523, 0.015630635, -0.03980287, 0.047475416, -0.0024131888, -0.03309871, -0.00094199716, -0.022160986, -0.07285192, -0.0046122167, 0.011347419, -0.020398041, 0.00569854, 0.053633314, -0.010621134, -0.0044446127, 0.047922358, 0.015643049, -0.03647562, -0.037394337, -0.034116745, -0.014836067, -0.07836423, -0.040522948, -0.0019041689, -0.0054719634, -0.00008651786, -0.0040100836, 0.0065303524, -0.0086223, -0.022545855, -0.016375542, -0.0032217233, -0.005676813, -0.019975927, 0.005552662, -0.008311922, 0.020633928, -0.025426164, -0.034613352, 0.046755336, -0.0023092122, -0.003130162, 0.008193978, -0.04082091, 0.006412409, -0.02194993, -0.07091516, 0.04509171, -0.040349137, -0.001028903, 0.047500245, 0.032875236, 0.036723923, -0.00732492, -0.024743332, -0.014389123, -0.031708214, -0.04620907, 0.027735375, -0.053980935, 0.037990265, -0.01772879, -0.022769328, 0.015556144, -0.034687843, -0.031137118, -0.022198232, 0.048344474, 0.05105097, 0.016959053, 0.009509981, -0.018523358, 0.003280695, 0.024134992, 0.062075596, 0.0065862206, -0.031161949, 0.03853653, 0.014041499, -0.011136361, -0.025798617, 0.014786406, -0.062373556, -0.048543114, 0.019193774, -0.024842653, -0.04610975, -0.018299885, 0.02721394, -0.026667675, -0.001635692, -0.03741917, 0.020894645, 0.04183895, -0.03126127, -0.027412582, 0.017430827, -0.017418412, 0.060585782, -0.028033338, -0.0080760345, 0.000117846634, -0.024184652, -0.0020934995, -0.0029206567, 0.07012059, -0.039107624, 0.0025668258, -0.030342551, 0.040895402, 0.0064186165, 0.007157316, 0.020745663, 0.0077718645, 0.018995132, 0.021254683, 0.056761924, 0.02721394, -0.017927432, -0.0071262782, 0.017468072, 0.035060294, 0.012489609, -0.017343922, 0.010043832, -0.05825174, -0.035134785, 0.027561564, -0.0032620726, 0.0025932079, 0.013743537, -0.013569725, -0.01142191, 0.052689765, -0.005866144, -0.026717335, 0.001113481, 0.020000756, -0.00532919, 0.034240898, 0.01775362, 0.00069408276, -0.011974382, -0.0002764304, -0.031733043, 0.0027142554, 0.010639757, 0.009541019, 0.00882715, -0.018088829, -0.022583101, -0.009149943, 0.023116952, -0.02597243, -0.046258733, -0.00094665284, -0.013222102, -0.04817066, 0.020137323, -0.02088223, -0.017393582, 0.009280302, -0.007902224, -0.018610263, 0.012762742, 0.05013225, 0.013954594, 0.02182578, -0.027586395, -0.028976887, -0.058202077, -0.0050063967, -0.048518285, 0.021515401, -0.0034327803, 0.041292686, 0.013457989, 0.034017425, -0.009230641, 0.06361507, 0.017815696, -0.031882025, 0.030491533, 0.007877393, 0.055222448, 0.023712877, 0.0219251, -0.0025901042, 0.05537143, -0.01203025, 0.010875644, -0.0034638182, 0.02199959, -0.027735375, 0.034687843, -0.007840147, 0.029821116, -0.084224164, -0.014364293, 0.0021214334, 0.026270391, 0.007076618, 0.0024550897, -0.008237432, 0.020547021, 0.004894661, -0.044247482, -0.07652679, 0.004813962, 0.011974382, -0.033918105, -0.003367601, 0.0073311278, 0.00083258894, 0.0030091144, -0.062025934, 0.016797656, 0.034712672, -0.044222653, -0.027313262, 0.013234517, 0.029970096, -0.026940808, -0.013991839, 0.03458852, -0.019951096, -0.0050529535, -0.03466301, 0.0070083346, 0.0047394717, -0.015121615, -0.023861859, 0.008392621, 0.0065738056, 0.0034576107, -0.022098912, 0.00078137656, 0.016661089, 0.019653134, -0.05020674, 0.040622268, -0.016747996, 0.009627924, 0.023241103, 0.019876605, -0.054924484, 0.05422924, -0.0031208505, 0.042285893, 0.003184478, -0.027710546, 0.03625215, 0.014364293, 0.047723718, 0.102896504, 0.043279104, -0.004708434, -0.0050529535, -0.033595312, -0.050579194, 0.024656426, -0.012340629, -0.015469238, 0.011757118, 0.062373556, -0.06366473, 0.014836067, 0.028927227, 0.015866522, 0.008330544, -0.013035875, 0.030541193, 0.0011313277, 0.017480487, 0.0056892284, -0.028505113, -0.0029423833, 0.045315184, 0.022074081, 0.0098886425, -0.008696791, -0.009733453, -0.0051212367, -0.013755952, -0.021863025, 0.023998424, -0.025239937, 0.018436452, 0.017207354, 0.017691545, -0.033024218, 0.009180981, 0.011595721, -0.030963307, -0.03168338, -0.06887908, 0.01775362, -0.039355926, 0.013271762, -0.02449503, -0.04067193, 0.016375542, 0.019851776, -0.016847316, 0.0176543, -0.031012967, 0.01180057, 0.00022424808, 0.0037431584, -0.009280302, 0.0014261868, -0.0022067875, 0.0035724505, -0.03965389, 0.06599877, -0.0056023225, 0.018411621, -0.009814152, 0.0054595484, 0.011862646, -0.030417042, 0.015754785, -0.014190481, -0.024904728, 0.009261679, 0.057953775, -0.010832191, -0.003142577, 0.022670006, 0.017790865, -0.0017257015, 0.026568355, -0.024855068, 0.03533343, 0.04620907, -0.007939468, 0.031906854, 0.022583101, -0.032924894, -0.00060174527, 0.025599975, 0.0071883537, 0.04275767, -0.04173963, -0.007722204, -0.01045353, 0.0161769, 0.00072085287, -0.011918514, -0.031807534, -0.03150957, -0.029597644, 0.014525689, -0.03756815, -0.004326669, 0.0142773865, 0.00273443, 0.035854865, 0.020869816, -0.05656328, -0.022657592, -0.012582723, -0.012135779, 0.008429865, 0.002861685, 0.010776323, -0.03771713, -0.022881065, -0.0014541209, 0.028629264, 0.023588726, 0.004131131, -0.020559438, -0.0062323897, -0.029895606, 0.024842653, -0.0052081426, -0.0042211404, -0.016462447, -0.0046773963, -0.020025587, -0.013855273, -0.01770396, 0.0009738109, -0.011844023, -0.0446696, 0.03965389, -0.014699501, -0.015891353, 0.004100093, -0.0009257023, 0.032900065, -0.004835689, 0.020062832, -0.011428117, -0.02408533, -0.01312278, -0.027412582, 0.002987388, 0.000520659, 0.03036738, -0.0036841866, 0.010745285, 0.015655465, 0.0007561583, 0.041367177, 0.016524523, -0.0052453876, 0.049859118, 0.030566022, 0.008094657, -0.051348932, -0.004419782, -0.010515606, -0.026419373, 0.022012006, -0.010285926, -0.017815696, -0.021726457, -0.028554773, 0.051895197, -0.005738889, 0.012706874, -0.0219251, -0.014513274, 0.010776323, 0.024991635, -0.029746626, -0.013867687, 0.009696208, 0.016238976, -0.014823652, 0.012489609, 0.027859528, -0.00070145424, 0.009752076, 0.01823781, 0.009907265, 0.0045097917, -0.0047115376, 0.054576863, -0.035780374, -0.025897939, -0.00090863154, -0.033843614, -0.018486112, -0.037195697, -0.014413953, -0.0021726459, -0.01569271, -0.037990265, -0.05561973, -0.019553812, -0.006542768, 0.01777845, -0.020112492, -0.05343467, -0.00026168744, -0.02304246, 0.013718707, 0.04389986, -0.051994517, 0.0062323897, -0.015941013, -0.031161949, 0.015643049, 0.021763703, -0.020534607, -0.012241308, 0.043328766, 0.011434324, -0.0117260795, -0.025339257, -0.02342733, -0.020894645, 0.020286305, 0.050057758, -0.037493657, 0.028554773, 0.0128496485, 0.01040387, 0.0049660476, 0.012216477, 0.016387956, -0.014513274, -0.036748752, 0.00984519, 0.019715209, -0.009559642, 0.00058001885, -0.055123128, 0.01569271, -0.021006381, -0.007778072, -0.014289802, 0.012700667, 0.015258181, -0.031211609, 0.002804265, 0.019951096, 0.023750123, -0.0037090168, 0.009795529, 0.00959068, -0.023787368, 0.029001718, -0.017430827, -0.008187771, 0.009876227, -0.022074081, -0.016450033, 0.029970096, 0.007846355, 0.04101955, 0.03019357, 0.029994927, -0.0053664353, 0.03242829, -0.016313465, 0.009603094, -0.0103231715, 0.007076618, 0.03540792, -0.004438405, -0.021639552, -0.01625139, -0.031882025, -0.0118254, 0.010807361, -0.017579809, -0.03270142, -0.017567392, 0.0020966032, -0.029746626, -0.029895606, -0.05018191, 0.047698885, -0.025947599, 0.009509981, 0.017865356, 0.028753415, 0.0007429673, 0.0355569, 0.018573018, -0.0026723545, -0.0014160995, -0.0026568354, -0.031608894, -0.02815749, -0.031037798, -0.0017179421, -0.025624806, -0.009435491, 0.02185061, -0.023750123, 0.010292133, 0.00222541, -0.033247687, 0.0072628446, -0.002209891, -0.006611051, -0.009373414, -0.0054874825, 0.03861102, 0.0028259915, -0.098824345, -0.036823243, 0.022682423, 0.010087284, 0.0110618705, 0.020211814, 0.036003843, -0.016574183, -0.017430827, -0.03347116, 0.019591058, -0.026171071, -0.018585432, 0.018076412, -0.022024421, -0.0025978636, -0.025699297, 0.01309795, 0.020534607, -0.023737708, -0.016909393, -0.0015604253, 0.02708979, 0.02047253, -0.0011359834, -0.0072814673, -0.0033086292, -0.008976131, -0.0031208505, 0.018722, 0.012166817, 0.015891353, 0.007951884, -0.0008093106, -0.019665549, -0.0395794, 0.024656426, -0.036972225, -0.021937516, 0.014302217, -0.0045687635, -0.032676592, -0.0015604253, -0.042583857, 0.03970355, -0.07612951, -0.009063037, 0.0151092, 0.010391454, 0.004255282, -0.0015557696, -0.017567392, 0.017629469, 0.023849443, -0.016325882, 0.018970301, 0.0136318, 0.011006003, -0.024855068, -0.0100934915, -0.022583101, 0.020062832, 0.047847867, -0.021577477, -0.031807534, -0.022831405, -0.040373966, 0.017443242, 0.014202896, 0.0117260795, -0.00079379167, -0.023638386, -0.023688046, 0.046159413, 0.011887477, 0.021689212, -0.050604023, 0.04568764, -0.031087458, 0.02929968, 0.0072069764, 0.0064993147, -0.000760814, 0.01721977, 0.015382333, -0.023414914, 0.048294812, -0.0054036807, -0.021155363, -0.0041932063, -0.012675837, 0.0014285146, 0.015643049, 0.031733043, 0.0071138632, -0.019715209, -0.011862646, -0.019057207, 0.0027142554, 0.004779821, -0.0016744891, 0.006635881, 0.009702415, -0.021217437, -0.0014874864, -0.022198232, 0.030417042, -0.012632383, 0.037096374, 0.028604435, 0.0068717683, -0.015928598, -0.028952057, -0.0065924283, 0.0072752596, -0.00087914563, 0.011179814, 0.022074081, 0.009311339, -0.045613147, 0.010205228, 0.034911316, 0.025016464, -0.00431115, -0.00565819, -0.03327252, -0.02141608, 0.018324716, -0.020410456, 0.00032318107, 0.025153032, 0.06182729, 0.0065924283, -0.00910649, -0.009472736, 0.0051740007, -0.0017644988, -0.009497566, -0.0008271573, 0.006983504, 0.032055836, 0.033222858, 0.017492903, 0.055222448, -0.059940193, 0.0054998975, -0.009814152, -0.023290763, -0.02042287, -0.004519103, 0.009963133, 0.015655465, 0.023923934, 0.002406981, -0.029374171, -0.022098912, 0.022831405, -0.002563722, 0.030789495, 0.020186983, 0.036003843, 0.006139276, -0.00259476, 0.0105528515, 0.041317515, 0.0016496589, 0.0017567393, -0.0053881616, -0.025748957, 0.035283767, -0.008336753, -0.036972225, -0.00095053256, 0.036127996, 0.0066048433, -0.006822108, 0.04168997, -0.010416285, -0.031733043, -0.02929968, 0.009584472, 0.028455453, -0.028703755, 0.009987963, 0.031633724, -0.003494856, 0.013755952, -0.0055154166, 0.02815749, 0.028529944, 0.012799988, -0.013482819, 0.024805408, 0.0046773963, 0.027809866, -0.028033338, -0.027785037, 0.011403287, -0.03533343, 0.008814734, -0.04628356, 0.053931277, -0.0053478125, -0.005791653, -0.010825983, 0.014426368, -0.017915016, -0.029895606, -0.01175091, -0.007405618, 0.029572813, -0.02284382, -0.0014680878, 0.020075247, 0.0066979565, -0.009907265, 0.004525311, 0.029746626, 0.010521813, -0.027487073, 0.0151464455, -0.01152123, -0.037444, 0.048493456, 0.00054859306, -0.010006586, 0.032006178, -0.03898347, -0.032304138, -0.007368373, 0.0055030016, 0.01775362, -0.0010894267, -0.0013175545, -0.021738874, 0.0086223, -0.043254275, -0.0395794, -0.015059539, -0.017033543, 0.025289597, -0.024929559, -0.004398056, 0.025922768, -0.018684754, -0.009553434, 0.0155809745, -0.01205508, -0.02177612, -0.023625972, -0.011049456, 0.01671075, 0.007678751, -0.007908431, -0.020112492, 0.017232185, 0.020894645, 0.03836272, 0.0219251, -0.016437618, 0.009956925, -0.014004254, 0.00785877, -0.026419373, 0.013160026, -0.015779616, 0.035258938, 0.023452159, 0.0029904917, -0.011974382, -0.030715004, 0.016102409, 0.0029579022, 0.008560224, -0.0229928, 0.014960218, 0.014438783, 0.01879649, -0.0014673119, -0.011670211, -0.052590445, -0.0031736149, -0.017592223, -0.018026752, -0.0032093083, -0.005170897, 0.016189314, -0.006058578, 0.027487073, 0.013135196, 0.034240898, 0.054974146, -0.0030199776, 0.009000961, 0.0054936903, -0.016189314, -0.0027934017, 0.05229248, -0.025500653, -0.016164485, -0.011515023, 0.010763908, 0.028902397, -0.030466702, 0.025475824, 0.009901057, 0.009274093, 0.016338296, -0.019603472, -0.045538656, 0.029423831, -0.019653134, 0.020410456, 0.020360796, 0.014699501, -0.0005326862, 0.0151712755, 0.03436505, 0.00806362, -0.030541193, -0.022533441, 0.00961551, -0.002478368, -0.01787777, -0.027685715, 0.031633724, 0.015643049, 0.017132863, -0.0080263745, 0.021863025, -0.009063037, 0.032204818, 0.010974965, -0.0052205576, -0.03786611, 0.013035875, -0.012657214, -0.04285699, -0.034116745, -0.02034838, 0.023948764, 0.00061222055, 0.035854865, -0.006272739, -0.03441471, 0.049784627, 0.009168565, -0.01414082, -0.01464984, -0.02813266, 0.056017015, -0.015829276, -0.03319803, -0.0004240539, 0.0011646934, 0.016450033, 0.012266138, -0.012514439, -0.018759245, -0.005651983, -0.01928068, 0.031062627, 0.0063379183, -0.009112697, 0.00045198793, -0.0045563485, -0.00984519, 0.012973799, -0.010943927, 0.011564683, 0.029597644, -0.02713945, 0.0023495613, 0.0038424793, 0.0051771044, -0.018063998, -0.015928598, 0.03208067, -0.029101038, 0.0005901061, 0.0046432544, 0.002323179, -0.049362514, 0.0041745836, -0.037071545, -0.0031906855, -0.0019491736, 0.030938476, 0.026419373, -0.008218809, 0.020360796, -0.0030680862, -0.040398795, 0.02810783, 0.036972225, -0.027934017, 0.010776323, 0.024842653, -0.0035103748, -0.0014386019, -0.026742166, -0.015556144, 0.027387753, -0.01406633, 0.0009893298, -0.027586395, 0.0077594495, -0.01663626, -0.01253927, 0.004962944, -0.031733043, 0.011620551, -0.036177658, 0.0009482047, -0.0005439374, -0.015680294, 0.0062199747, 0.047748547, 0.0037121205, 0.0323538, -0.001803296, 0.0119309295, -0.00518952, 0.007864978, 0.012706874, 0.0010591649, 0.022620346, 0.01513403, -0.032875236, 0.04280733, -0.00340795, 0.03242829, -0.016325882, -0.021577477, 0.0035693466, 0.014314632, 0.013023459, -0.023104535, -0.0034451955, 0.015233351, -0.022086497, 0.018051583, 0.06078442, -0.014190481, 0.00253734, -0.0020252164, 0.0009024239, -0.007902224, -0.022372045, 0.014562935, -0.049362514, 0.0007158092, 0.03848687, 0.007312505, -0.013743537, 0.013743537, -0.05219316, -0.008150525, 0.032651763, -0.0066172583, -0.00096294767, -0.024780577, 0.03364497, 0.00228283, -0.009497566, 0.021800948, -0.06435998, -0.006983504, -0.0018622678, -0.009627924, 0.0068593533, 0.02925002, -0.008609885, 0.030888816, -0.014165651, 0.018970301, -0.0044694426, 0.0116764195, 0.021676797, 0.044048842, -0.036897734, -0.009143735, 0.0087154135, -0.008702998, 0.045364846, -0.014327047, 0.01460018, -0.022173403, -0.0044570277, -0.015878936, 0.009503773, 0.009038206, -0.03250278, -0.01676041, -0.0030060105, 0.042261064, -0.0014160995, -0.002563722, -0.006716579, -0.003972838, -0.025500653, 0.0072938823, -0.026295222, 0.025848277, 0.022421705, 0.036152825, 0.02355148, 0.003224827, 0.033173196, 0.01787777, 0.022707252, 0.004270801, 0.009187188, 0.019528981, 0.025239937, 0.0038114416, -0.024234312, 0.0024023254, 0.031012967, -0.017952261, -0.005825795, 0.0050250194, 0.016599014, -0.026742166, -0.027313262, -0.0376923, -0.026742166, -0.0020360795, -0.01358214, 0.012700667, -0.00836779, -0.041168533, 0.02925002, 0.0057482, 0.0077966945, -0.013656631, 0.012626176, -0.01630105, 0.004314254, 0.007765657, 0.026816657, 0.019206189, 0.028033338, -0.02047253, 0.0006661487, 0.0068593533, -0.008554017, -0.025848277, 0.053037386, -0.0117012495, 0.004578075, -0.020646343, -0.0017722582, 0.0015658569, 0.055818375, -0.028728586, 0.030690175, -0.0037214318, -0.030119078, 0.026344882, 0.028753415, 0.000008117111, -0.027884357, 0.004124923, -0.057109546, 0.028753415, 0.01731909, -0.005707851, -0.000944325, 0.015941013, -0.018349545, -0.013644216, -0.021217437, -0.010025209, -0.00785877, -0.018150903, 0.030566022, -0.0035289975, 0.0056675016, 0.0142277265, 0.0017567393, -0.04365156, 0.013929764, 0.012948969, 0.026816657, -0.0037214318, 0.0055433507, -0.008436074, -0.02461918, 0.002099707, -0.012725497, -0.030938476, 0.027660886, -0.02718911, 0.023948764, 0.04824515, 0.039355926, -0.0017070789, -0.023265934, -0.039405588, 0.002762364, -0.01833713, 0.01775362, -0.052789085, 0.040796082, 0.013867687, -0.0006583893, 0.010000378, 0.027487073, 0.014128406, -0.011105324, 0.014513274, -0.006399994, 0.0123654585, -0.015655465, -0.012017835, -0.016599014, 0.028952057, -0.034191236, -0.010329379, -0.025599975, -0.0011522783, -0.008957508, -0.018746829, -0.021080872, 0.0012709978, -0.023315594, -0.023849443, -0.016015504, 0.00991968, -0.014947803, -0.0048915567, -0.004888453, -0.006102031, 0.020596683, 0.035258938, -0.01518369, 0.009963133, 0.004537726, -0.015034709, 0.010608719, -0.025364088, 0.013507649, -0.008007752, -0.023625972, -0.041987933, -0.0011716768, -0.0053043594, 0.0019181359, 0.04067193, -0.010515606, 0.034265727, 0.013855273, 0.028927227, 0.013991839, 0.054626524, -0.008274677, 0.028008508, -0.02263276, -0.019367585, 0.0071262782, -0.024432953, -0.016512109, 0.022496196, -0.014053915, 0.02415982, 0.009094074, 0.0056954357, -0.0011437428, 0.036028676, 0.012464779, -0.05318637, -0.01579203, -0.01882132, 0.041441668, 0.008162941, 0.025426164, 0.0006564494, 0.019578643, -0.03044187, 0.0039604227, -0.010366624, 0.011744702, 0.003951112, -0.013023459, 0.042136915, 0.012191647, 0.021329174, -0.0043763295, -0.020261474, -0.01630105, -0.0017008713, 0.0059499457, -0.010751493, -0.010211435, -0.013023459, 0.005707851, 0.0003916582, 0.0068283156, -0.01460018, 0.024768163, 0.03456369, -0.048518285, -0.016512109, 0.021018796, -0.008200186, 0.010441115, -0.040100835, -0.01981453, -0.0064931074, -0.02243412, 0.009447905, 0.024855068, 0.02352665, 0.0034482994, -0.016834902, -0.038859323, 0.0031906855, -0.017331505, -0.012148194, 0.009100283, 0.019566227, 0.0036655639, 0.011893684, -0.0034017425, 0.018734414, 0.0036966016, -0.024879899, 0.021602307, -0.01721977, 0.011744702, -0.015407163, 0.0026009674, -0.019677963, 0.027958848, 0.01228476, -0.0074739014, 0.029597644, -0.014500859 ]
2401.09350
171
proving that the property of interest holds with constant probability. Next, consider the second property. For any point v such that δ(q, v) > (1 + ϵ)r, Definition 5.1 tells us that: P [hi(v) = hila)] <p2 —> P[gi(v) = gi(a)] < v5 P [gi(w) x(a) <+ m =e v st gi(v) = gig) (4,0) > (1+ Or] [gi] <1 =e v s.t. gi(v) = gi(q) Ad(q,v) > A+ orl] <L, where the last expression follows by the linearity of expectation when applied to all L buckets. By Markov’s inequality, the probability that there are more than 4L points for which δ(q, v) > (1 + ϵ)r but that map to the same bucket ⊓⊔ as q is at most 1/4. That completes the proof. # 5.2.1.2 Space and Time Complexity The algorithm terminates after visiting at most 4L vectors in the candidate buckets. Given the configuration of Theorem 5.1, this means that the time complexity of the algorithm for query processing is O(dmρ), which is sub- linear in m.
2401.09350#171
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 171, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "proving that the property of interest holds with constant probability.\nNext, consider the second property. For any point v such that δ(q, v) > (1 + ϵ)r, Definition 5.1 tells us that:\nP [hi(v) = hila)] <p2 —> P[gi(v) = gi(a)] < v5 P [gi(w) x(a) <+ m =e v st gi(v) = gig) (4,0) > (1+ Or] [gi] <1 =e v s.t. gi(v) = gi(q) Ad(q,v) > A+ orl] <L,\nwhere the last expression follows by the linearity of expectation when applied to all L buckets. By Markov’s inequality, the probability that there are more than 4L points for which δ(q, v) > (1 + ϵ)r but that map to the same bucket ⊓⊔ as q is at most 1/4. That completes the proof.\n# 5.2.1.2 Space and Time Complexity\nThe algorithm terminates after visiting at most 4L vectors in the candidate buckets. Given the configuration of Theorem 5.1, this means that the time complexity of the algorithm for query processing is O(dmρ), which is sub- linear in m.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.016010085, 0.008859886, 0.044875953, 0.02621519, -0.02261027, -0.025791083, 0.03188764, 0.002834567, -0.03432626, 0.02551276, 0.03270935, -0.0007073993, -0.029714083, 0.026639298, -0.013260009, 0.005745341, -0.018090867, 0.0039561344, 0.024995878, 0.015387177, -0.027911624, 0.022809071, 0.013352782, 0.014910055, 0.002856104, -0.034882903, 0.018514976, 0.011981058, 0.020953598, -0.05028333, 0.055929273, -0.02233195, -0.0013435617, -0.03342503, -0.0032785553, 0.069447726, 0.004695011, 0.050680935, -0.013028075, 0.015559471, -0.009555689, 0.03702995, -0.03891193, -0.046572387, 0.026944127, 0.05192675, -0.017918574, -0.030191205, -0.01618238, 0.018276414, -0.022848831, 0.029926138, -0.028097171, 0.018143881, 0.0018488468, -0.022013867, 0.02147048, 0.0028792974, 0.055823248, -0.023697048, 0.015970325, -0.052880995, -0.00821047, -0.005046225, -0.012902168, -0.0013178833, -0.03127798, 0.002070841, 0.04169514, 0.03392866, -0.0521123, 0.03064182, 0.07739975, -0.033902153, -0.0035850399, 0.0026771831, -0.00542726, -0.019137884, -0.0016889779, 0.023856089, 0.01908487, -0.0033729859, 0.073688805, 0.026851352, -0.01696433, -0.026082657, -0.01634142, -0.033212975, -0.061707746, -0.036526322, -0.032152705, 0.050680935, 0.045750674, -0.0038501075, 0.04302048, -0.043312054, 0.076233454, 0.0061926427, -0.041748155, 0.0012358779, -0.037904672, -0.04434582, 0.037719127, -0.02589711, 0.08222398, 0.0040986086, -0.020900585, 0.036102213, -0.060329396, -0.005254966, 0.017680012, 0.0016707545, -0.021775307, 0.07559729, 0.012206365, 0.0038898678, -0.027354982, 0.011179228, -0.0135714635, -0.000049803726, -0.03809022, -0.016712515, 0.022318697, -0.028653812, 0.0064278906, -0.031012915, 0.06282103, -0.075756334, -0.011543696, 0.0069845323, -0.01982706, 0.031649075, 0.044690404, -0.0071700797, -0.028600799, 0.019508978, 0.000760827, 0.011901537, 0.01271662, 0.042225275, 0.020595755, -0.0075014145, -0.02555252, 0.013485316, -0.0015017738, -0.0035022062, -0.04302048, 0.049859226, 0.051502645, 0.0054140068, -0.008760486, -0.035360023, -0.042304795, 0.028733334, 0.036923923, -0.031012915, 0.004304036, 0.054762974, 0.008329751, -0.012941928, -0.045671154, -0.010019557, 0.017322171, -0.033000924, 0.036817897, 0.019548738, -0.025738068, -0.013889545, -0.04972669, -0.060647476, 0.017189637, -0.019522233, -0.044849444, -0.010026184, 0.053861745, 0.009277368, -0.037374537, -0.051423125, 0.041430075, -0.031728595, -0.008674338, 0.035678104, 0.06324514, -0.038222756, 0.017971586, 0.033319004, -0.022994619, 0.0038865544, 0.0125840865, -0.0068586254, 0.0025728128, 0.04031679, 0.015426937, 0.0019979475, -0.015798032, -0.021841574, 0.015188376, 0.030323738, 0.014446187, -0.036287762, 0.025539268, 0.030986408, 0.012782888, -0.038037207, 0.0029521908, 0.0042609624, 0.05335812, 0.020874077, -0.058685977, -0.018143881, -0.014128106, -0.026321217, 0.03310695, 0.0012441613, -0.0011306792, -0.0016898062, -0.072628535, 0.04129754, -0.016116112, 0.071886346, -0.038461316, 0.039442066, -0.0059872153, 0.009277368, -0.03278887, 0.073476754, 0.028786346, -0.050680935, 0.03350455, -0.031649075, 0.029634563, 0.017189637, 0.007342374, -0.0662139, 0.037586592, 0.0014537304, 0.009588822, -0.012093712, -0.04294096, -0.049011007, -0.027726077, 0.018117374, 0.0042410824, -0.020158395, -0.008289991, -0.004161562, -0.016367927, 0.036367282, 0.037056457, -0.026241697, -0.041589115, -0.046307318, -0.036897417, -0.040687885, -0.04341808, 0.00545708, -0.018872816, 0.036791388, -0.009118327, 0.008786992, -0.002885924, -0.011822017, -0.019151138, 0.018196894, -0.001172096, 0.008740606, 0.02229219, -0.016155872, -0.028627306, -0.0039925813, -0.019071616, -0.002206688, -0.027434502, -0.0037142604, -0.013889545, 0.0064974707, 0.009118327, 0.03202017, -0.01724265, 0.014817282, -0.024160916, -0.0079454025, 0.041244525, 0.017269157, 0.02511516, -0.016553475, 0.0049534515, 0.01688481, -0.005453767, -0.04564465, 0.03816974, -0.035943173, 0.009920157, -0.010721986, -0.01716313, 0.014631734, -0.010980427, -0.03970713, -0.0039561344, 0.015851045, 0.06085953, 0.04580369, 0.0069116387, -0.023299446, -0.057466667, 0.034723863, 0.0654187, 0.013226875, -0.047659162, 0.029926138, 0.011623216, 0.013624477, -0.030588806, 0.04694348, -0.059587207, -0.035943173, 0.022186162, -0.03021771, -0.032974415, -0.03080086, 0.033159964, -0.023498246, 0.014644988, -0.019893328, -0.013021448, -0.011331642, -0.019349938, -0.013650984, 0.02769957, -0.02719594, 0.026705565, 0.00039760146, 0.008415897, 0.013014821, -0.0125244465, -0.01912463, -0.021616267, 0.04400123, -0.009741236, 0.006653198, -0.040926445, -0.007011039, 0.003432626, 0.015572724, 0.024001876, 0.036446802, 0.012908794, 0.022199415, 0.044637393, 0.028494772, -0.016500462, -0.011702737, 0.0027699568, 0.036393788, 0.028759839, -0.007295987, 0.0046188035, -0.04418678, -0.09356888, 0.03326599, -0.0055531673, -0.0010370772, 0.022981364, -0.0019929775, -0.03710947, 0.053464144, -0.01676553, -0.04188069, -0.0013874634, 0.0061330027, -0.005655881, 0.04431931, 0.0059607085, -0.018872816, -0.023060884, 0.012034071, -0.03337202, 0.021682534, 0.046068758, 0.015493204, -0.0013145698, -0.016659502, -0.021165652, -0.010364145, 0.0419337, 0.039866176, -0.024399476, -0.019349938, -0.022703044, 0.0007823637, 0.0008540148, -0.011278628, -0.017786039, 0.0014992888, 0.004062162, 0.0032189153, 0.0197873, 0.050813466, 0.023988621, 0.0097213555, -0.019774046, -0.04365664, -0.047553137, -0.033955164, -0.039097477, 0.0047513377, 0.0026142297, 0.012908794, 0.011212361, 0.022517497, -0.0012590713, 0.0067923586, 0.037825152, -0.006991159, -0.0065504843, -0.0034193727, -0.022703044, 0.038355287, 0.01169611, 0.01598358, 0.020171648, 0.00095424353, -0.011749123, 0.034935914, -0.011928044, -0.008535178, 0.031834625, 0.043206025, 0.023458486, -0.04196021, -0.026705565, 0.006752598, -0.0061992696, 0.0072694803, -0.0309599, -0.028229704, 0.048215806, -0.040184256, -0.03366359, -0.050813466, -0.03262983, -0.04127103, -0.036420293, -0.009124953, -0.005082672, 0.0134919435, 0.0033497924, -0.024518758, 0.024889853, 0.02982011, -0.04294096, -0.014976322, 0.0049004382, 0.028812854, -0.018501721, -0.06716814, 0.023087392, 0.01970778, -0.0034790128, -0.030456273, -0.0075610545, -0.029528536, -0.03432626, 0.02511516, 0.019681273, 0.0038236007, 0.0097611165, -0.047447108, 0.00026858808, -0.014300399, -0.0030615313, -0.03284188, 0.07904317, -0.020980105, 0.008329751, -0.004052222, -0.0012574147, -0.051396616, 0.015798032, -0.007368881, 0.0325238, -0.04882546, -0.025101906, 0.021258425, 0.0097809965, 0.070773065, 0.05195326, 0.036102213, -0.0007674537, -0.022835577, -0.04548561, -0.012855781, 0.025168173, -0.014432933, -0.0070905597, 0.012975061, 0.031145448, -0.036791388, 0.044213284, 0.03188764, 0.0013650984, -0.0090123, -0.0047712177, 0.013757011, -0.0068519986, 0.03318647, 0.0010056004, -0.048427857, 0.024439236, 0.057307623, 0.021231918, -0.00821047, -0.019455966, -0.0024071455, 0.0014827221, -0.026241697, 0.007083933, 0.013366036, -0.03236476, 0.01007257, 0.026559778, -0.0079056425, -0.036923923, 0.015824538, 0.011053321, -0.021059625, -0.0489845, -0.058845017, 0.008879766, -0.054550923, 0.011265375, -0.0021139146, -0.04458438, 0.031596065, 0.005964022, -0.026851352, -0.012272632, -0.017361932, 0.035916667, -0.000588533, 0.0074351477, -0.020237915, 0.008627952, 0.0153474165, -0.014008825, -0.019469218, 0.014830534, 0.02449225, 0.02084757, -0.020754797, -0.016951077, 0.03376962, -0.002804747, 0.019442711, -0.0011861777, 0.002354132, 0.018130627, 0.037639607, -0.03064182, -0.0056625074, 0.025009133, 0.01590406, -0.0086942185, 0.0068983855, -0.01551971, 0.047129028, 0.03941556, -0.056141328, 0.016937822, 0.010158718, 0.0033829259, 0.024160916, 0.0027384802, -0.011928044, 0.04906402, -0.02563204, -0.014022078, -0.017507719, 0.0043106624, -0.018276414, -0.020423463, 0.0015274523, -0.0144196795, -0.0037772139, 0.016288407, -0.0037573338, -0.007388761, 0.010357519, 0.013955812, 0.022928352, 0.002819657, -0.03581064, -0.0069381455, -0.012451553, -0.0552401, 0.015532964, -0.030270725, 0.020198155, -0.037348032, 0.0075146677, 0.03130449, 0.008455658, 0.036976937, -0.020198155, -0.024757318, -0.0029356242, -0.023829581, 0.032550305, 0.015082349, -0.028574292, -0.014724508, 0.0069447723, -0.036844403, 0.0037473938, -0.019402951, 0.0032122885, -0.023644034, -0.04005172, 0.05126408, -0.0069182655, -0.0004336341, 0.003710947, 0.014101598, -0.00022965626, 0.00031166157, 0.04596273, -0.00532786, -0.040820416, -0.009131581, -0.028865866, 0.004393496, -0.015201629, -0.0031145448, -0.0042013223, 0.018090867, 0.020092128, -0.0017494465, 0.052324355, -0.015108855, -0.014790774, 0.024386223, 0.026970632, 0.006099869, -0.035466053, -0.0047877845, -0.00090371503, -0.02131144, -0.010370771, -0.047076013, -0.010178598, -0.022676537, -0.043126505, 0.02104637, -0.026626045, 0.024107903, -0.023007872, 0.00043570495, -0.010277998, 0.015506458, -0.010165344, 0.0032271985, -0.029952643, 0.009588822, -0.0072562266, -0.004675131, 0.048215806, 0.028627306, 0.033080444, -0.007448401, 0.0034491927, 0.0153474165, -0.0048076645, 0.030827368, -0.0014711254, 0.002521456, -0.025499508, -0.037719127, -0.06176076, -0.029926138, -0.0015663841, -0.024797078, -0.015745018, -0.03088038, -0.038063712, -0.024995878, -0.0015920625, 0.017825799, -0.008574938, -0.04482294, -0.018766789, -0.029952643, 0.011165975, 0.058261868, -0.014207626, -0.006381504, -0.019349938, -0.015692005, 0.005493527, 0.029555043, -0.0056625074, -0.00135433, 0.051979765, 0.0018124001, -0.056512423, -0.02559228, -0.02699714, 0.01724265, 0.014366667, 0.04980621, -0.008250231, 0.03440578, -0.015095603, 0.014658241, 0.0015647274, -0.016659502, 0.044133764, -0.027567035, -0.009608702, -0.023405474, 0.014167866, -0.0051920125, 0.011788883, -0.048719432, 0.0017875499, -0.008276737, -0.028203197, -0.017693266, 0.009350262, 0.0020542743, -0.035360023, 0.010118958, 0.03342503, 0.03080086, -0.02469105, 0.00544714, 0.01700409, -0.005954082, 0.029024906, -0.016010085, 0.013690744, 0.022954859, -0.025645295, -0.010277998, -0.014300399, 0.010523185, 0.024478998, 0.008415897, 0.005254966, -0.00074301776, 0.058632962, -0.01982706, 0.011921417, -0.0019200838, 0.012650354, 0.022795817, -0.018766789, 0.009270741, -0.010065944, 0.0015837792, -0.04013124, 0.012703367, 0.021881334, -0.0250754, -0.011265375, 0.018846309, 0.0032835254, -0.004420003, -0.008389391, 0.045273554, -0.0019300238, 0.007408641, 0.011272002, 0.037825152, -0.006454397, 0.058632962, 0.015652245, 0.0047413977, -0.0060733627, -0.03326599, -0.003174185, -0.021284932, -0.058951046, -0.026321217, -0.02026442, -0.011497309, 0.0025032326, -0.019933088, 0.016712515, 0.027514022, -0.03350455, -0.0010900907, -0.041085485, -0.004320603, 0.008621325, -0.010861147, 0.006010409, 0.015798032, -0.11069225, -0.00817071, 0.0045591635, 0.012398539, 0.018130627, 0.03376962, 0.042808425, -0.026824845, 0.00545708, -0.008667712, 0.026970632, -0.027275462, -0.024439236, 0.0006088273, -0.0015274523, -0.00055747037, -0.010205104, 0.03522749, 0.010039437, -0.037215497, -0.0002828769, -0.014618481, 0.019111378, 0.00082626555, -0.027487515, 0.015069095, -0.0002696235, -0.032391265, 0.0007877479, -0.0024568457, -0.01544019, -0.008097816, 0.03130449, 0.018355934, -0.025101906, -0.031490035, 0.013611224, 0.01786556, -0.0055299737, -0.00989365, -0.01085452, -0.057519678, 0.008058056, -0.03170209, 0.027328474, -0.076869614, 0.002349162, -0.035360023, 0.021231918, -0.0076737083, -0.047129028, 0.013054581, 0.009390022, 0.028653812, -0.023087392, 0.010516559, 0.0051456257, 0.023882596, -0.029157441, -0.007706842, -0.020463223, 0.00027003768, 0.032576814, -0.04784471, -0.017057102, -0.03702995, -0.010185224, 0.038699877, 0.0074550277, -0.0054305736, -0.0064577106, -0.007322494, -0.02543324, 0.04055535, 0.01169611, -0.020211408, -0.0068983855, 0.0090123, -0.03973364, 0.017189637, 0.008747232, 0.0069050123, -0.018342681, 0.031596065, -0.0065803044, -0.020953598, 0.008767112, -0.03923001, 0.012093712, 0.012531073, 0.01614262, -0.005705581, 0.013346156, 0.035651598, 0.01634142, -0.03162257, -0.016898062, -0.0325238, 0.04556513, 0.019416206, -0.002004574, -0.0006063422, 0.012352153, -0.0552401, -0.015413684, -0.012266005, 0.0027467634, -0.034061193, 0.029846616, 0.017931826, 0.028362239, 0.024876598, -0.01970778, 0.014658241, 0.031649075, 0.04341808, 0.006023662, 0.022000615, 0.021854827, -0.047129028, 0.010224984, 0.0024402791, 0.003189095, 0.0072562266, -0.0036314267, -0.022928352, -0.023909101, 0.037560087, -0.0062821032, -0.009834009, 0.0016707545, 0.037242003, -0.02014514, 0.03088038, -0.0067360317, -0.010881027, 0.008005043, -0.021404212, -0.01704385, 0.018806549, 0.022239175, 0.036022693, 0.007355627, 0.03573112, -0.0415361, 0.00545708, -0.006099869, -0.02249099, -0.014578721, 0.02014514, 0.012173232, -0.02982011, 0.028203197, 0.010523185, -0.04670492, 0.017825799, -0.004287469, -0.036208242, 0.018713776, 0.026586285, 0.02139096, 0.00799179, -0.022557257, -0.040608365, 0.027142927, -0.014896802, -0.010059318, 0.020396955, 0.01065572, 0.06085953, 0.0062721632, -0.031516545, -0.020330688, 0.019760793, 0.025658548, 0.0046254303, 0.02593687, 0.003033368, -0.0010668973, -0.0001061306, -0.005112492, 0.03270935, -0.045512114, -0.00024767258, 0.030085178, 0.016977582, -0.017441452, -0.0012085428, 0.032470785, 0.01351845, 0.025459748, 0.021364452, 0.0015605858, 0.036287762, 0.009741236, 0.009317128, -0.028044157, 0.029634563, 0.011046695, -0.016434195, -0.021258425, 0.031516545, -0.018342681, -0.017534224, -0.018329429, 0.008919526, 0.007388761, -0.029714083, -0.038461316, 0.00034562335, 0.025751323, 0.013253382, -0.03451181, -0.004704951, -0.0040787286, -0.0017444765, -0.008429151, 0.025658548, 0.004042282, -0.012789514, 0.006653198, -0.011278628, -0.020555995, 0.031728595, -0.012855781, -0.008329751, 0.020449968, -0.02801765, -0.061972816, 0.016314914, 0.0072164666, 0.031118942, 0.009409902, -0.02453201, -0.025141666, 0.0035519064, -0.03048278, -0.03302743, 0.017481212, -0.012968435, -0.008515298, -0.029130934, -0.022689791, 0.007826122, -0.004294096, -0.021921095, 0.024439236, 0.012352153, -0.016487207, -0.012338899, -0.014790774, 0.02445249, -0.012246125, 0.010887654, 0.0034856396, -0.013266636, 0.0019515605, 0.011006934, 0.0017411631, -0.028547786, 0.011729243, -0.05423284, 0.0076935883, -0.014830534, 0.000028008124, -0.033902153, 0.025950123, 0.022464482, 0.014883548, -0.009469542, -0.011901537, 0.009217727, -0.0001231115, 0.0088930195, -0.013273262, 0.031092435, 0.008289991, 0.016235393, 0.0058082948, -0.019217404, -0.040184256, -0.0055001536, -0.02265003, -0.03848782, -0.006865252, 0.022464482, 0.021563252, -0.0098605165, 0.029846616, 0.006424577, 0.046519373, 0.018647509, 0.023750061, 0.008680966, 0.021801814, -0.011079827, -0.029024906, 0.025711562, -0.010463545, -0.03522749, 0.008568312, 0.03154305, 0.037560087, -0.04169514, 0.04341808, 0.014326906, -0.007362254, 0.0135118235, -0.047314573, -0.027646555, 0.019880073, -0.023591021, 0.025883855, 0.017534224, 0.012981688, 0.029396001, -0.012040698, 0.028494772, 0.0018206834, 0.0108280135, -0.022623524, 0.020012608, -0.0014636704, -0.0106689725, -0.032815374, 0.0044796434, 0.012670234, 0.022384962, -0.024121156, 0.04044932, -0.017229397, 0.04474342, 0.019681273, -0.008482165, -0.024478998, 0.0035419664, -0.009184594, -0.038037207, -0.0067857318, 0.013226875, 0.02769957, 0.017666759, 0.021364452, -0.013306396, -0.015665498, 0.03923001, 0.04922306, -0.0016533594, -0.03612872, -0.026520018, 0.054869004, -0.006500784, -0.04087343, 0.0068851323, 0.01684505, 0.023206672, 0.015625738, 0.011033441, -0.030668326, -0.007819495, -0.026003135, -0.01167623, -0.0024800391, 0.0012797797, -0.00096169853, 0.03270935, -0.013061209, 0.022769311, 0.0030416513, 0.023021124, 0.0340877, -0.04044932, -0.004738084, 0.021616267, 0.02104637, -0.012683487, -0.026970632, -0.00027666436, -0.012338899, -0.0051986394, -0.008840006, 0.008561685, -0.013690744, -0.014061838, -0.01680529, 0.009144834, -0.006825492, 0.039097477, 0.008442405, -0.005695641, 0.016076352, 0.018687269, -0.046651907, 0.017229397, 0.037295017, -0.003351449, -0.0042079487, -0.0044928966, -0.006722778, -0.035704613, 0.00038579767, -0.0008515298, 0.025830843, -0.023007872, -0.001351845, -0.011543696, 0.019535486, 0.006076676, 0.01567875, 0.013624477, -0.037242003, 0.0066200644, -0.039866176, -0.010311131, -0.008124324, -0.03848782, -0.017149877, 0.022848831, -0.026241697, 0.014446187, -0.006729405, 0.01093404, 0.0014852071, -0.00999305, 0.03581064, 0.00807131, 0.008621325, 0.028441759, -0.03930953, 0.04524705, 0.0008921183, -0.010741866, -0.024995878, 0.0030615313, 0.0075212945, 0.008396017, 0.011967804, -0.013876291, 0.0017842366, 0.02026442, -0.04105898, 0.027832102, 0.007832749, -0.03228524, -0.0027301968, -0.029793603, 0.008535178, -0.006421264, -0.010125584, 0.029873123, -0.046307318, 0.0035850399, 0.01684505, -0.0042112623, -0.0019151138, 0.013326276, -0.026599538, -0.050336346, 0.024783826, -0.00018720403, 0.0050760456, 0.003985955, 0.013889545, 0.014671494, -0.031516545, 0.012504566, -0.017666759, 0.009867143, 0.02597663, -0.030933395, 0.026082657, 0.026665805, -0.030615313, 0.020900585, -0.01091416, 0.017017342, -0.007083933, 0.035360023, 0.013611224, 0.0034293127, -0.0035684733, 0.005513407, 0.00448627, 0.0010379055, 0.017693266, 0.012444926, 0.018249907, -0.004161562, -0.006411324, 0.0116165895, -0.03209969, -0.017136624, -0.016275153, 0.0041284286, 0.011974431, 0.0117557505, -0.012325645, -0.011669603, 0.016089607, 0.014353413, -0.04368315, 0.0340877, -0.036658857, 0.012869034, 0.03589016, 0.0059573953, 0.008773739, 0.007050799, 0.012511193, -0.014287146, 0.015890805, -0.005046225, 0.0036745002, 0.0007778079, 0.013220249, 0.0044630766, 0.0076935883, 0.021496987, 0.025499508, -0.027381487, 0.0029439076, 0.0032934656, 0.0096418355, -0.028892374, -0.030986408, -0.013180489, -0.0016334794, -0.008449031, -0.025618788, 0.04580369, -0.024836838, -0.025645295, 0.025950123, 0.0011406192, 0.0071833334, -0.014353413, 0.0067260917, -0.0023657288, 0.011238868, 0.016288407, 0.029157441, 0.0034193727, 0.037798647, 0.0031774985, -0.00823035, 0.0022663283, 0.0059176353, -0.01974754, 0.03596968, -0.0036479936, 0.014485947, -0.031012915, -0.01642094, -0.0038699876, 0.028335731, -0.025539268, 0.013233502, 0.011537069, -0.03278887, 0.024810331, 0.0088134995, -0.01912463, -0.037427552, 0.029767096, -0.042728905, 0.02645375, 0.029236961, -0.003341509, -0.015002829, -0.002036051, -0.005264906, -0.016871555, -0.024227183, -0.02777909, 0.011331642, -0.0056227474, 0.021841574, -0.0070905597, 0.021775307, 0.0052383994, -0.022119895, -0.050919496, 0.010264745, -0.0034922662, 0.037984192, 0.009741236, -0.0008515298, -0.0029952645, -0.037745632, 0.037825152, -0.030323738, -0.020343943, 0.007097186, -0.017308917, 0.015798032, 0.0072164666, 0.007839375, -0.028282719, -0.00029136732, -0.012802768, -0.004685071, 0.0034094327, 0.0008258514, -0.038302276, 0.028547786, 0.005973962, -0.0078658825, -0.018342681, 0.010390651, 0.021112638, -0.010596079, 0.0017279097, -0.01001293, 0.020290928, -0.010443665, -0.023405474, 0.010251491, 0.03883241, -0.04105898, 0.001179551, 0.003903121, 0.008183964, 0.025605535, -0.02253075, -0.03883241, 0.0017395064, -0.00446639, -0.017613744, -0.019734286, 0.005483587, 0.01630166, -0.005271533, -0.00084573147, -0.031516545, 0.0088134995, 0.026824845, -0.02155, -0.0064378306, 0.043206025, 0.0038865544, 0.028627306, -0.012352153, -0.0049799583, -0.012782888, 0.012159978, -0.025777828, 0.0059408285, 0.0055067805, 0.01924391, 0.017878812, -0.023511501, 0.04956765, -0.01916439, -0.011464176, 0.019840313, 0.039839666, -0.017295664, 0.0052218325, 0.025473, 0.001157186, -0.00033071332, -0.015214883, -0.017388437, -0.003154305, -0.036552828, 0.024942866, -0.0160631, -0.016328167, 0.0127431275, 0.04341808, -0.00071319763, -0.01011233, -0.0035784133, -0.046731427, 0.031330995, 0.010178598, 0.023856089, -0.014737762, 0.0044365698, 0.00050694187, 0.0052085794, 0.004936885, 0.014605227, -0.02213315, -0.016367927, 0.049859226, 0.014432933, 0.028415252, -0.012179858, -0.018369189, -0.006414637, 0.0072164666, -0.014353413, -0.0108280135, -0.014485947, 0.0058977553, 0.002152018, 0.00052847865, 0.021881334, 0.030747848, 0.012040698, 0.043709654, -0.034458794, 0.011543696, 0.05012429, -0.017573984, 0.0116563495, -0.045936223, -0.018621001, 0.0058878153, 0.0002149533, 0.010065944, 0.004718204, 0.018647509, 0.0019018603, 0.00448627, -0.03832878, 0.021337945, -0.018488469, -0.016579982, 0.013134101, 0.03188764, 0.013465436, -0.0031178582, 0.0106756, -0.029449016, -0.010410531, -0.0072363466, 0.017030597, -0.0042907824, 0.04408075, -0.040899936, 0.018992096, -0.015837792, 0.010145464, 0.018660761, -0.01668601, 0.04119151, -0.0087339785 ]
2401.09350
172
As for space complexity of the algorithm, note that the index stores each data point L times. That implies the space required to build an LSH index has complexity O(mL) = O(m1+ρ), which grows super-linearly with m. This growth rate can easily become prohibitive [Gionis et al., 1999, Buhler, 2001], particularly because it is often necessary to increase L to reach a higher accuracy, as the proof of Theorem 5.1 shows. How do we reduce this overhead and still obtain sub-linear query time? That is a question that has led to a flurry of research in the past. One direction to address that question is to modify the search algorithm so that it visits multiple buckets from each of the L tables, instead of examining just a single bucket per table. That is the idea first explored by Panigrahy [2006]. In that work, the search algorithm is the same as in the standard version presented above, but in addition to searching the buckets for query q, it also performs many search operations for perturbed copies of q. While theoretically interesting, their method proves difficult to use in practice. That is because, the amount of noise needed to perturb a query depends on the distance of the nearest neighbor to q—a quantity that is unknown a priori. 61 62 5 Locality Sensitive Hashing
2401.09350#172
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 172, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "As for space complexity of the algorithm, note that the index stores each data point L times. That implies the space required to build an LSH index has complexity O(mL) = O(m1+ρ), which grows super-linearly with m. This growth rate can easily become prohibitive [Gionis et al., 1999, Buhler, 2001], particularly because it is often necessary to increase L to reach a higher accuracy, as the proof of Theorem 5.1 shows. How do we reduce this overhead and still obtain sub-linear query time? That is a question that has led to a flurry of research in the past.\nOne direction to address that question is to modify the search algorithm so that it visits multiple buckets from each of the L tables, instead of examining just a single bucket per table. That is the idea first explored by Panigrahy [2006]. In that work, the search algorithm is the same as in the standard version presented above, but in addition to searching the buckets for query q, it also performs many search operations for perturbed copies of q. While theoretically interesting, their method proves difficult to use in practice. That is because, the amount of noise needed to perturb a query depends on the distance of the nearest neighbor to q—a quantity that is unknown a priori.\n61\n62\n5 Locality Sensitive Hashing", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.005543142, -0.00892065, 0.059177216, 0.011526966, 0.018433074, -0.014114395, 0.011973943, 0.013308578, -0.07348047, -0.0010749478, 0.0359596, -0.00842331, -0.005876801, -0.014064032, -0.043010503, -0.004790836, 0.034776058, -0.030998787, -0.008152606, 0.0011709534, 0.0072397655, -0.0010647177, 0.02357016, 0.0016336689, 0.02035948, 0.014479531, 0.027750336, -0.0024268953, 0.056860488, -0.051169403, 0.035053056, -0.013283396, 0.0028911848, 0.026138702, -0.0059932666, 0.06683248, 0.008750673, 0.031477243, 0.011193307, 0.002234884, -0.026843792, 0.020737207, -0.016116347, -0.03777269, 0.0073216064, 0.0037709735, -0.018621936, -0.02471593, -0.025383247, 0.022839887, -0.0074034473, 0.021051979, -0.013447078, -0.039359145, 0.0021750773, -0.07836574, -0.011476602, 0.010626717, 0.070660114, 0.014957985, -0.01557494, -0.047568407, -0.01994398, 0.016204484, 0.001632095, 0.007869311, -0.01979289, 0.008486264, 0.01391294, 0.014907622, -0.046863317, 0.01145142, 0.064213574, -0.007541947, 0.02315466, 0.015121667, -0.0017627255, 0.053435765, 0.015537167, 0.043060865, 0.016834028, -0.0015069729, 0.063105576, 0.0046082684, -0.009915331, 0.0062136077, -0.041499596, 0.012490169, -0.0757972, -0.037823055, -0.009285786, 0.061695393, 0.007705629, -0.010972966, 0.055953946, -0.03721869, 0.043690413, 0.019427754, -0.0019106686, -0.0074223336, -0.0018067936, -0.031930514, 0.057112306, -0.09498572, 0.049910314, -0.0064308005, -0.016909575, -0.0015415979, -0.01277976, 0.008964718, -0.045025047, 0.008971014, -0.05796849, 0.005886244, 0.009147286, -0.0132204415, -0.0427335, 0.015134258, -0.037823055, 0.03397024, -0.031250607, -0.003081622, 0.024451522, -0.006654289, -0.001517203, -0.0474425, 0.057817396, -0.093777, -0.0022238672, -0.03087288, 0.035632238, 0.030041879, 0.0134596685, 0.014290668, -0.017211756, 0.019427754, -0.02176966, 0.008700309, 0.0019689014, -0.011287739, -0.009185059, -0.009694991, 0.00050599664, 0.0028738722, -0.03945987, 0.03661433, -0.0351286, 0.014580258, 0.049608134, 0.015310531, -0.001734396, -0.071113385, -0.02009507, 0.0291857, 0.01840789, -0.033718422, 0.019566253, 0.0076741516, -0.024325613, -0.0056060967, 0.017048074, 0.00024001396, 0.040341232, 0.012232056, 0.022978386, 0.03915769, -0.043992594, -0.026768247, -0.0556014, -0.048374224, -0.011375875, -0.07735847, 0.013094532, -0.041323323, 0.025118839, -0.019150754, -0.027322246, -0.018760435, 0.009632036, -0.030092243, -0.011879511, 0.017639846, 0.02484184, 0.03359251, 0.0032154003, -0.0032169742, 0.001997231, -0.006059369, 0.010991853, 0.016783666, -0.008744378, 0.037092783, 0.029714515, 0.031426877, -0.005602949, 0.0054990742, 0.02052316, 0.040668596, -0.00023450545, -0.049557768, 0.034171693, 0.041650686, 0.01726212, -0.010853353, -0.0031792014, 0.014618031, -0.010557467, 0.035254512, 0.0007888984, -0.01305676, -0.016053393, 0.012068374, 0.035304874, 0.018496027, 0.022374023, -0.002862855, -0.09780609, -0.012679033, -0.042934958, -0.0045012455, -0.0073404927, 0.048953407, 0.0026157587, 0.04338823, -0.029286426, 0.053939402, 0.012194283, -0.06859521, 0.04353932, 0.0008719196, 0.022273296, 0.008309992, 0.0025354917, -0.020699434, 0.025496567, -0.0062576756, -0.0060908464, -0.031200241, -0.0061443574, -0.057112306, -0.028908698, 0.0029871901, 0.0022065546, -0.017211756, 0.011558443, -0.015839348, -0.032509696, 0.013938122, 0.056608673, -0.015096485, -0.06411285, -0.05605467, -0.0035443373, -0.07640156, -0.044017773, 0.0152601665, -0.043690413, 0.011017035, -0.006616516, 0.033315513, -0.02345684, -0.0022883955, 0.011741011, 0.0070005385, -0.03354215, -0.012458692, -0.005064688, 0.009732763, -0.035204146, -0.02553434, -0.010192331, 0.03681578, 0.017350256, -0.04545314, -0.00065669394, -0.042028412, -0.016191892, 0.01910039, -0.037671965, 0.03089806, -0.014655803, -0.012326488, 0.0071705156, 0.0066039255, 0.04054269, 0.007894492, -0.021782251, 0.0027227814, -0.0043879277, -0.052176677, 0.008303696, -0.045402773, 0.022298478, 0.019415163, -0.048072044, 0.05464449, -0.030067062, -0.030444788, 0.0172873, 0.038528144, 0.05514813, 0.012811237, 0.0064969026, -0.03973687, -0.018659709, 0.024363386, 0.061141394, 0.02936197, -0.03666469, 0.017576892, -0.0107589215, -0.0026834349, -0.0031068039, 0.046384864, -0.03636251, -0.028833153, 0.043035686, -0.0043658935, -0.036740236, -0.059479397, 0.0075482423, -0.060537033, 0.0033617695, -0.037722327, 0.007693038, -0.03608551, 0.021454887, -0.03427242, 0.010217513, -0.040819686, 0.064817935, -0.027271882, 0.011281444, -0.0061821304, -0.019604025, -0.042783868, 0.013963304, 0.043589685, -0.024929976, 0.022197751, -0.03313924, 0.0034971216, -0.0064780163, 0.040366415, 0.0054172333, 0.02822879, 0.0069879475, 0.004299791, -0.002817213, -0.0009781553, -0.042506866, -0.033668056, 0.028354699, -0.00041628652, 0.05207595, 0.010406376, -0.0131952595, -0.058472123, -0.044395503, 0.004051121, 0.011904693, -0.012540533, 0.047241043, -0.015046122, -0.0039409506, 0.0370676, 0.013170077, -0.012187988, -0.0070949704, 0.022411795, -0.007359379, 0.023016158, 0.0058169942, -0.03087288, -0.023419067, 0.011709534, -0.011413648, 0.027498519, 0.017224347, 0.048651226, -0.007315311, 0.0011520671, -0.023104295, -0.018722663, 0.03865405, 0.015499393, -0.028707245, 0.0058358805, -0.029966334, -0.038578507, -0.027322246, 0.0014621179, 0.0034310194, 0.016519256, 0.0075608334, -0.014618031, 0.05038877, 0.06894775, 0.041373685, 0.012754578, -0.0010127802, -0.011929874, -0.011338103, -0.037420146, -0.037420146, 0.01585194, -0.01741321, 0.023759022, -0.004816018, 0.030923242, 0.01726212, 0.06844412, 0.034045786, -0.02148007, 0.012018011, -0.0010906864, -0.005385756, 0.037420146, -0.013245624, 0.020384662, 0.041625503, -0.027976973, -0.016934756, -0.010079013, -0.03172906, 0.005898835, 0.02136675, -0.021920752, -0.01629262, -0.027271882, -0.02316725, 0.017388029, -0.005042654, 0.0031193946, -0.031779423, -0.02933679, 0.029160516, -0.014731349, -0.015033531, -0.043211956, 0.0048474954, 0.008863991, -0.024904793, -0.004309234, -0.043589685, -0.01644371, -0.012634965, -0.00054849096, 0.051345676, 0.015360894, 0.0018209585, -0.032408968, 0.0384526, 0.0054613017, 0.02513143, -0.056507945, 0.027548881, -0.062098302, 0.017161392, 0.022134796, 0.013157487, -0.008051879, -0.014479531, -0.014693577, 0.032056425, 0.019881025, -0.0025040146, -0.030092243, 0.03188015, -0.014529895, 0.005788665, -0.05872394, 0.043866683, -0.022361433, 0.0004906515, 0.026466064, -0.029286426, -0.030721787, -0.015902303, -0.03452424, 0.02218516, -0.027775519, 0.0023482023, -0.0031571672, 0.022764342, 0.028833153, 0.05167304, 0.036161054, 0.010223808, -0.018067937, -0.059177216, -0.03046997, 0.05630649, -0.012729396, -0.026214248, 0.008467378, -0.0015534019, -0.046661865, 0.033718422, 0.018722663, 0.012011715, -0.012855305, -0.023759022, 0.03527969, -0.03339106, 0.018130891, -0.0041235187, -0.01585194, 0.03313924, 0.014907622, 0.0041046324, 0.025521748, 0.011835443, 0.02121566, 0.011860625, 0.005033211, -0.02961379, 0.023041341, -0.009644627, 0.014177349, 0.013069351, 0.03087288, -0.04406814, -0.015134258, 0.006799084, -0.030948425, -0.05268031, -0.0719192, 0.0024630942, -0.030646242, -0.013094532, -0.01769021, -0.018785618, 0.018004982, -0.02163116, -0.0068179704, -0.02064907, -0.027020065, -0.003058014, 0.014555076, 0.002408009, 0.023809386, 0.019264072, 0.04860086, 0.011413648, -0.04054269, 0.046661865, 0.036261782, 0.019969162, 0.0036482124, 0.017186575, -0.0021404524, 0.014416576, 0.011388466, 0.00013131912, -0.020598708, 0.012748283, 0.039283596, -0.0026692702, -0.0056092446, 0.015423848, 0.0049010064, -0.008838809, 0.026138702, -0.022953205, 0.024476703, 0.02626461, -0.037394963, 0.023230204, -0.009273196, -0.018042754, -0.008391833, 0.031779423, 0.013018987, -0.007919674, -0.024036022, -0.02486702, -0.035355236, 0.03412133, -0.011571034, -0.037042417, -0.033214785, -0.02737261, 0.009411695, -0.01672071, -0.002019265, 0.010557467, 0.03381915, -0.027548881, 0.008278514, -0.007120152, -0.013774441, 0.01838271, -0.031099515, -0.009732763, 0.003021815, 0.01221317, -0.008926946, -0.017299892, -0.0084296055, -0.009210241, 0.03414651, 0.024791475, -0.0001618127, -0.045478318, -0.016645165, 0.0011198028, 0.04464732, 0.041348506, -0.010255286, -0.027926609, 0.014580258, -0.006969061, -0.023016158, -0.022122206, 0.014844667, -0.018470846, -0.05207595, 0.0345746, 0.009953104, -0.0032799286, -0.029689334, 0.0042966437, 0.04228023, 0.034725692, 0.037596416, -0.010274172, -0.055399947, -0.03777269, 0.007296425, -0.0022679353, -0.005788665, 0.012521647, 0.0048569385, 0.040970776, 0.07010611, 0.006207312, 0.0373446, 0.0000187265, 0.030797333, 0.016380757, 0.0275237, 0.02261325, -0.043740775, 0.015197212, 0.004378484, -0.0069438796, -0.018735254, -0.020586116, -0.012458692, -0.011098876, -0.008738082, 0.058623213, -0.0020397252, 0.027725155, 0.00091126614, 0.016355574, -0.0054833353, 0.044345137, -0.017665029, -0.023343522, -0.0023906964, -0.013648532, -0.00933615, -0.0032830762, 0.009248014, -0.005181154, 0.0089899, 0.016053393, 0.01795462, 0.0057225623, 0.030369243, 0.062148668, 0.0027605542, -0.016594801, -0.0013078793, -0.026289793, -0.04505023, -0.051244948, 0.0056753466, 0.0037457917, -0.013295987, -0.024791475, -0.04228023, -0.016733302, 0.015814167, 0.035304874, -0.012427215, -0.004897859, 0.0018618789, -0.011602512, -0.0073530837, 0.031980876, -0.032811876, 0.025446203, -0.030318879, -0.024199704, 0.020938661, -0.0025968724, -0.032056425, 0.021517843, 0.046687044, 0.0076867426, -0.03815042, -0.0054959264, -0.030721787, -0.008039287, 0.005307063, 0.053335037, -0.031049151, 0.0041487003, -0.0021829468, 0.02528252, -0.000078447185, -0.038125236, 0.041650686, -0.00878215, -0.019389981, -0.01544903, -0.024338203, -0.04595677, 0.011042217, -0.0021436003, 0.0049010064, 0.012181693, -0.013346351, -0.038276326, -0.0010332405, -0.0012945016, -0.035783328, 0.02076239, 0.048122406, 0.018332345, -0.02933679, 0.010979262, -0.0020727764, -0.030318879, 0.029991515, -0.014240304, 0.0033523263, -0.013472259, -0.023897521, -0.007932265, 0.016619984, 0.03454942, -0.004469768, 0.013358941, 0.022638433, 0.016229665, 0.027070427, -0.0356826, 0.009864967, 0.017639846, -0.033919875, 0.017425802, -0.021681525, 0.00835406, 0.008700309, 0.010513399, 0.0036482124, 0.00508987, 0.02134157, -0.06658066, 0.002866003, 0.021454887, -0.011678057, -0.029865608, -0.0561554, 0.02722152, -0.03339106, -0.001517203, 0.038024507, 0.056105036, -0.0132204415, 0.027422974, -0.015398666, 0.031124696, -0.01544903, 0.005703676, -0.02077498, -0.047392134, -0.052781038, -0.012225761, -0.030117424, -0.014139577, 0.008184083, -0.03145206, -0.0023529239, 0.020611297, -0.0351286, 0.014957985, -0.019692162, 0.02555952, -0.0003783171, 0.012257238, 0.01641853, 0.0007381413, -0.10606571, -0.030621061, 0.023645705, 0.0024599466, 0.0030957868, 0.0016478336, 0.015323121, 0.007523061, 0.014970576, -0.0018162369, 0.02373384, -0.02289025, 0.017942028, 0.036589146, -0.038024507, -0.01713621, -0.019213708, 0.04560423, 0.02275175, -0.01626744, -0.0061538005, 0.008555515, 0.03930878, 0.0012394164, -0.006553562, -0.009021377, -0.01755171, -0.026743064, -0.027624426, -0.013661123, -0.0095942635, 0.013736668, 0.0022962647, 0.015411258, -0.024955157, -0.026617156, 0.029966334, 0.027297065, -0.032484513, -0.010173445, -0.02049798, -0.045478318, 0.00547704, -0.019327026, 0.046661865, -0.022713978, -0.0050615403, -0.010525989, -0.0016494074, 0.00010849812, -0.010393785, 0.021114934, 0.026340155, 0.03621142, -0.009562786, 0.001060783, -0.004145553, 0.0070886747, -0.036009964, 0.019465527, -0.005467597, -0.017173983, 0.0003730053, -0.02976488, -0.012036897, -0.02767479, -0.036186237, 0.03696687, 0.0071012657, 0.024237476, -0.00054022815, -0.030973606, -0.008202969, 0.011652875, 0.06658066, 0.013170077, -0.033365875, 0.015499393, 0.008964718, 0.00015453358, 0.010840762, -0.021996297, 0.0099594, 0.020623889, -0.002740094, -0.032257877, 0.04353932, -0.00976424, -0.014454349, 0.012874192, -0.010614126, 0.001962606, 0.031678695, 0.057817396, 0.02136675, -0.020435026, -0.005713119, -0.0068494477, 0.021832615, 0.0021058274, -0.0025811337, 0.019112982, 0.031074334, -0.039787233, 0.0065976297, 0.02528252, 0.023192432, -0.007869311, 0.03185497, 0.003981871, 0.026163884, 0.008914355, -0.016204484, 0.011873215, 0.0053448356, 0.02063648, 0.0035978488, 0.015537167, 0.008593287, -0.020951252, 0.02302875, -0.017388029, 0.018911527, 0.00020017558, -0.021089751, -0.023280568, 0.011375875, 0.025496567, -0.0055840625, 0.00463345, 0.0059303124, 0.07257393, -0.0074349246, -0.0020255605, -0.04308605, 0.0042777574, 0.010765216, 0.01362335, -0.017992392, 0.054946672, 0.037394963, 0.017400619, 0.014366213, 0.026717883, -0.017765755, 0.048903044, -0.02611352, -0.007806356, -0.0291857, -0.012628669, -0.009109514, -0.03747051, 0.016645165, 0.040970776, -0.036563963, 0.013409305, 0.0044351434, -0.033340696, 0.017677618, 0.018470846, 0.015348303, 0.021656342, 0.0129560325, -0.007844129, 0.05212631, -0.026768247, -0.008857695, 0.019994345, -0.009575377, 0.043438595, 0.02782588, -0.02373384, -0.012313897, 0.036186237, 0.056256127, -0.0116843525, 0.026163884, -0.003092639, -0.017677618, -0.00057800085, -0.0474425, -0.009436877, -0.012357965, 0.006223051, 0.011413648, 0.014957985, -0.03286224, -0.012187988, -0.0041833255, 0.04185214, 0.014126986, 0.012307601, 0.014580258, 0.010223808, 0.0055998014, -0.008756968, -0.00069289276, -0.008807332, -0.021517843, -0.015146849, -0.019755118, 0.053687584, 0.01361076, 0.010123081, -0.008473674, 0.0068494477, -0.04074414, -0.035254512, -0.020674253, 0.0053920513, -0.011029625, -0.011722125, -0.009512423, 0.011999125, 0.0051968927, -0.019037437, -0.0046932567, 0.02991597, -0.012773464, -0.047366954, -0.0025134578, -0.025723202, -0.0068620387, 0.05600431, -0.009493536, 0.003103656, 0.03590924, -0.012043193, -0.06305521, 0.004800279, 0.012993805, 0.0134596685, 0.028883517, -0.04114705, -0.04029087, 0.030419607, -0.019175936, -0.0061663915, 0.007705629, -0.0029415481, 0.039862778, -0.033239968, 0.0065850387, 0.009487241, -0.023142068, -0.011174421, 0.011281444, -0.0008947406, -0.014529895, -0.002486702, 0.020623889, 0.018521208, -0.0039220643, -0.009436877, -0.030545516, 0.0027951791, -0.007995219, 0.035783328, 0.037948962, -0.012527943, 0.025395839, -0.00033818363, 0.011319216, 0.0018335494, -0.0058138464, -0.01923889, 0.017337665, -0.009386513, -0.010330831, 0.00463345, -0.02681861, -0.0003358228, -0.00097500754, -0.008448492, -0.016166711, 0.016166711, -0.0012512204, -0.008605878, 0.01558753, -0.02372125, -0.008272219, 0.01838271, -0.03019297, -0.019981753, 0.012874192, -0.036538783, 0.028984245, -0.009411695, 0.026239429, 0.002568543, 0.015537167, 0.02417452, 0.0095942635, 0.022625841, 0.011199603, -0.003468792, 0.0075797196, 0.03359251, 0.0036639508, -0.03243415, -0.01951589, 0.011571034, 0.04127296, -0.006717243, -0.000599248, -0.009537605, -0.030369243, -0.012729396, -0.035330057, -0.029110152, 0.03696687, 0.0027668495, 0.01179767, -0.009210241, -0.022487342, 0.027145972, -0.002168782, 0.0052094837, -0.0031776275, -0.017879073, -0.0018760436, 0.006786493, -0.0012291863, -0.0046019726, -0.0058138464, 0.0013857855, 0.03329033, -0.021417115, -0.023003569, 0.013044169, 0.009550195, 0.02190816, -0.020044707, -0.013333759, -0.056709398, 0.016368166, 0.01459285, -0.021593388, -0.009273196, -0.0030894913, 0.016506666, 0.010412672, 0.011602512, -0.0009513996, -0.021140115, 0.023482023, -0.0045327228, 0.0118983975, 0.005732006, -0.02414934, 0.046812955, -0.014932804, -0.04283423, -0.029462699, 0.018835982, 0.03384433, 0.00911581, 0.013585578, -0.036312144, 0.002565395, -0.0057666306, -0.01221317, -0.018168664, 0.0152853485, 0.025206976, 0.030545516, -0.01670812, 0.056608673, -0.01088483, -0.0061223237, 0.01081558, -0.0055998014, 0.00061223237, -0.01670812, 0.00064489, -0.0070949704, 0.0011575755, 0.037546054, -0.034700513, 0.015511985, 0.0046712225, -0.024753703, -0.009499831, -0.0029934857, -0.053032856, 0.010903716, -0.015209803, 0.038024507, 0.001654129, -0.0032358605, 0.02471593, 0.017161392, -0.028581336, 0.022008887, -0.00002226769, -0.0040794504, 0.010532285, -0.01243351, 0.008637355, 0.004154996, -0.017425802, -0.034448694, 0.024124159, -0.016922165, 0.00069092546, 0.0046019726, 0.020863116, -0.005798108, -0.0017076404, 0.034322783, -0.06360921, 0.0057225623, -0.054392673, -0.008618468, -0.025081066, -0.031275786, -0.037193507, 0.0691492, -0.02358275, -0.0018162369, -0.02330575, 0.022147387, -0.010538581, 0.021014206, 0.033164423, 0.018093118, 0.013497441, 0.03397024, -0.012345375, 0.020019526, -0.009380218, 0.033466604, -0.021240843, 0.004469768, 0.028405063, -0.022663614, 0.010368603, 0.014366213, 0.021240843, 0.03341624, -0.030293697, 0.022008887, 0.055953946, -0.0010521268, -0.0027227814, -0.026768247, -0.013472259, -0.015814167, 0.015675666, -0.02134157, -0.043866683, 0.00035982422, 0.008070765, -0.0034593488, 0.02709561, 0.00976424, -0.021266025, -0.019616617, 0.03412133, -0.015360894, 0.0134848505, 0.0019122424, 0.0051874495, 0.012666442, -0.02417452, 0.020460207, -0.0544934, 0.0013566691, 0.012307601, -0.024375975, 0.0120306015, -0.007529356, -0.015247576, 0.032912605, 0.0054329718, -0.0070823794, -0.024363386, -0.0056092446, 0.003685985, 0.0039189165, -0.013295987, -0.022638433, 0.033642877, 0.025647657, 0.031225424, 0.00515912, 0.0185338, -0.0024221737, 0.006037335, 0.0017658733, -0.018156072, 0.0189493, -0.027574064, 0.020800162, 0.018609345, 0.014315849, 0.006698357, -0.0013425044, 0.032610424, -0.016078575, -0.021668933, 0.032786693, -0.0018241062, -0.0065094936, 0.021593388, 0.06668139, 0.02611352, -0.0067613116, 0.019692162, 0.0029808949, 0.014718758, -0.029664153, 0.0035789623, -0.013585578, 0.04326232, 0.008190379, -0.034801237, -0.012685329, 0.00095848204, -0.016632574, -0.0014078197, 0.0014550355, 0.017790938, -0.02120307, -0.01741321, -0.0037174623, -0.017929437, -0.011432534, -0.0013094533, 0.028304337, -0.02034689, -0.028379882, 0.0060153008, -0.0042494275, 0.005420381, -0.014920212, 0.008398128, 0.0038748484, 0.0125846015, 0.009783126, -0.0045169843, -0.00033051104, 0.0011937744, -0.005571472, -0.01656962, 0.007724515, 0.00062875793, 0.005732006, 0.019465527, -0.001370047, 0.016078575, -0.0038181895, 0.010601535, -0.00042140158, 0.027448155, -0.018861163, 0.012225761, 0.009739059, 0.000026067091, 0.011942466, 0.012817533, 0.0018917823, -0.012893078, 0.02302875, -0.056558307, 0.029261244, 0.005580915, -0.001222104, 0.009720172, -0.0134848505, -0.0021735036, -0.034045786, -0.026717883, -0.0012929277, -0.0008947406, -0.024098976, 0.033114057, -0.009260604, 0.031779423, 0.019352209, -0.023293158, -0.0062545277, 0.025509156, -0.013472259, 0.016972529, 0.014076622, -0.018244209, -0.032056425, 0.0027699973, 0.049331132, -0.0134848505, -0.00406686, 0.02317984, -0.009789422, 0.02402343, 0.033088878, 0.0356826, 0.016065985, 0.008272219, -0.032383785, -0.0044571776, 0.043791138, -0.007850424, -0.03230824, 0.027498519, 0.004545314, -0.010853353, -0.00449495, 0.022071842, 0.03580851, -0.012402033, 0.006698357, -0.0014479532, 0.00652838, -0.024514476, -0.0015793706, -0.013258214, 0.0345746, -0.050338406, 0.005807551, 0.0030296845, -0.0129308505, 0.03283706, -0.0002671631, -0.017904256, -0.031678695, -0.035455965, -0.026440883, 0.0064654252, 0.004328121, 0.011243671, -0.010324535, 0.01116183, -0.027422974, 0.034801237, 0.02008248, -0.01601562, 0.019125571, 0.0028455427, 0.032056425, -0.010777808, -0.008662537, 0.0049576657, -0.005319654, -0.022222932, -0.038805142, -0.011180717, 0.008926946, -0.019415163, 0.03820078, -0.014403986, 0.004164439, -0.01045674, 0.001426706, -0.008209265, 0.038276326, 0.0064402437, 0.015398666, 0.0142528955, -0.0057603354, -0.007995219, 0.0017139359, -0.03550633, 0.017249528, -0.010374899, 0.023053931, -0.006484312, 0.03565742, 0.010677081, 0.039560597, 0.003560076, -0.027196337, -0.009203945, -0.0035663715, 0.017148802, -0.003001355, 0.0059177214, -0.007705629, -0.024917385, -0.004372189, 0.030772151, 0.010148263, 0.026566792, 0.01782871, -0.003026537, 0.041398868, 0.048928224, 0.024590021, 0.00037438245, -0.022134796, -0.022802114, 0.012716806, -0.03271115, -0.0053479834, -0.023192432, 0.004819166, -0.003147724, -0.013585578, 0.010752626, 0.009789422, 0.02232366, 0.034700513, -0.023293158, 0.017375438, 0.017048074, -0.023897521, 0.003925212, -0.019566253, -0.016242256, 0.011168125, -0.024514476, 0.00004455997, -0.013409305, 0.026491247, -0.015423848, 0.011910988, -0.037143145, -0.009033969, -0.02976488, 0.0042651664, 0.008001515, 0.05212631, 0.004199064, 0.019969162, 0.018269392, -0.0037048713, 0.01712362, 0.0020963843, 0.014089214, -0.009871263, 0.03608551, -0.012062079, 0.032106787, -0.014114395, 0.028833153, 0.020548344, -0.019175936, 0.004860086, -0.0067046527 ]
2401.09350
173
61 62 5 Locality Sensitive Hashing Additionally, it is likely that a single bucket may be visited many times over as we invoke the search procedure on the copies of q. Later, Lv et al. [2007] refined that theoretical result and presented a method that, instead of perturbing queries randomly and performing mul- tiple hash computations and search invocations, utilizes a more efficient ap- proach in deciding which buckets to probe within each table. In particular, their “multi-probe LSH” first finds the bucket associated with q, say gi(q). It then additionally visits other “adjacent” buckets where a bucket is adjacent if it is more likely to hold data points that are close to the vectors in gi(q). The precise way their algorithm arrives at a set of adjacent buckets de- pends on the hash family itself. In their work, Lv et al. [2007] consider only a hash family for the Euclidean distance, and take advantage of the fact that adjacent buckets (which are in [b]ℓ) differ in each coordinate by at most 1— this becomes clearer when we review the LSH family for Euclidean distance in Section 5.3.3. This scheme was shown empirically to reduce by an order of magnitude the total number of hash tables that is required to achieve an accuracy greater than 0.9 on high-dimensional datasets.
2401.09350#173
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 173, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "61\n62\n5 Locality Sensitive Hashing\nAdditionally, it is likely that a single bucket may be visited many times over as we invoke the search procedure on the copies of q.\nLater, Lv et al. [2007] refined that theoretical result and presented a method that, instead of perturbing queries randomly and performing mul- tiple hash computations and search invocations, utilizes a more efficient ap- proach in deciding which buckets to probe within each table. In particular, their “multi-probe LSH” first finds the bucket associated with q, say gi(q). It then additionally visits other “adjacent” buckets where a bucket is adjacent if it is more likely to hold data points that are close to the vectors in gi(q). The precise way their algorithm arrives at a set of adjacent buckets de- pends on the hash family itself. In their work, Lv et al. [2007] consider only a hash family for the Euclidean distance, and take advantage of the fact that adjacent buckets (which are in [b]ℓ) differ in each coordinate by at most 1— this becomes clearer when we review the LSH family for Euclidean distance in Section 5.3.3. This scheme was shown empirically to reduce by an order of magnitude the total number of hash tables that is required to achieve an accuracy greater than 0.9 on high-dimensional datasets.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.025764888, -0.013597042, 0.08213295, 0.02805947, 0.007493452, -0.021936212, 0.00084489817, 0.016075192, -0.08171337, -0.016914353, 0.028557723, -0.006713294, -0.023548976, 0.032150384, -0.014711554, 0.011872827, 0.038155634, -0.015917849, -0.010338735, -0.007991704, 0.023601424, -0.0062183193, 0.027744785, 0.018173097, 0.011145117, -0.008312946, 0.021411736, 0.0042548124, 0.01496068, -0.05412593, 0.029973809, -0.023929222, -0.00047448697, 0.011702373, -0.039152138, 0.042298995, -0.000009693076, 0.024493033, 0.009014432, 0.021844428, -0.035271015, 0.021398624, -0.036215074, -0.06372385, 0.0076901307, -0.015222918, 0.014514876, -0.032517515, -0.018946698, 0.034562975, 0.018723795, 0.025961567, -0.04151228, 0.012646429, 0.0019471175, -0.039309483, -0.0107976515, -0.00016850843, 0.05564691, -0.005769237, -0.011912163, -0.042036757, -0.009197999, 0.05417838, 0.008404729, 0.0031714414, 0.0029124813, 0.011099225, -0.0004091323, 0.008149047, -0.049458094, 0.042430114, 0.064563006, -0.030367166, 0.030393388, 0.0028649506, -0.0067722974, 0.043347947, -0.021057714, 0.025830448, 0.030629404, -0.007526232, 0.05252628, -0.0025732107, -0.037054233, -0.013544595, -0.00484157, 0.0062478213, -0.08270988, -0.0064477776, -0.02592223, 0.04114515, 0.030865418, -0.028269261, 0.033802483, -0.039283257, 0.060681883, -0.011361463, -0.02488639, -0.029764017, -0.0055594463, -0.029659122, 0.045236062, -0.058898665, 0.075104974, -0.032989547, -0.02350964, 0.013610154, 0.006290435, 0.02847905, -0.027534993, 0.010777984, -0.039466824, 0.003082936, -0.014239525, -0.012056394, -0.03550703, -0.031180102, -0.012836552, 0.049326975, -0.022277122, -0.0002841595, 0.016258758, -0.018094424, 0.015760506, -0.040699344, 0.057482578, -0.098181926, -0.00048595987, -0.013426588, 0.008522736, 0.03576927, -0.0043236497, 0.0016775039, -0.0072049904, 0.027692337, -0.023234291, 0.0070410916, -0.02571244, -0.0499039, -0.0241259, -0.04295459, -0.00024666765, 0.0186189, -0.021831317, 0.020729916, -0.024178347, 0.032097936, 0.040699344, 0.026289364, 0.0032435567, -0.06225531, -0.026014013, 0.0073754448, -0.015170471, -0.015590051, 0.0023257236, 0.0035959391, -0.026145132, 0.013977287, -0.01530159, -0.007952369, 0.047937114, -0.012384191, 0.022027995, -0.0055397786, -0.026604049, -0.022368904, -0.06298958, -0.061311252, -0.014016624, -0.06676581, 0.022762261, -0.020939708, 0.037683606, -0.01978586, -0.018815579, -0.039335705, -0.013518371, -0.0020782365, 0.02550265, 0.016743898, 0.034379408, 0.010286287, 0.013544595, 0.016875017, 0.009565133, -0.0033927045, 0.01868446, 0.0003103833, -0.0017061862, 0.048986066, 0.027325204, 0.03868011, 0.026905622, -0.02069058, 0.019825196, 0.056486074, -0.008660411, -0.06508748, 0.022250898, -0.0010858293, 0.012797216, -0.013380696, -0.037972067, 0.0058970777, 0.015367149, 0.009230779, -0.020716805, -0.04515739, -0.035454582, 0.029868912, 0.027115414, 0.03702801, -0.00025363336, -0.001986453, -0.0488025, 0.011571254, -0.025292858, 0.015970297, -0.014016624, 0.016363654, 0.016376765, 0.043531515, -0.050638165, 0.028243037, 0.02198866, -0.07809449, 0.04148606, -0.030734299, 0.042220324, 0.018736908, -0.0034287623, -0.04363641, 0.0014931179, -0.0020979042, -0.040778015, -0.02640737, -0.022513136, -0.047832217, -0.035035003, -0.016284982, 0.0065952865, -0.021359289, 0.0034713761, 0.00069370156, -0.042115428, 0.030550731, 0.04012242, -0.015249142, -0.07227281, -0.05231649, -0.021791982, -0.075681895, -0.029947584, -0.024086565, 0.0033123943, 0.00348121, 0.008771863, -0.010528857, -0.009971602, -0.0042384225, -0.002011038, 0.023260513, -0.037893396, -0.015052464, -0.01279066, 0.012587426, -0.062517546, -0.018959811, -0.013505259, 0.010509189, 0.013026674, -0.028138142, -0.013793721, -0.039466824, 0.0074541164, 0.0039499607, -0.023798103, 0.023798103, -0.01447554, -0.013302024, 0.014842673, -0.0031337445, 0.033881154, -0.000804743, -0.036896892, 0.030524507, 0.0043531517, -0.021097051, 0.006949308, -0.021831317, 0.0016152224, -0.010174836, -0.035533253, 0.06335671, -0.0071984343, -0.03474654, -0.007342665, 0.01096155, 0.05548957, 0.029108422, 0.0051464215, -0.023929222, -0.020192329, -0.0016832404, 0.050979074, 0.016534109, -0.032386396, 0.030944088, 0.0077556903, -0.0101092765, -0.040646896, 0.052237816, -0.018894251, -0.043741304, 0.027692337, 0.005461107, -0.033540245, -0.027403874, 0.029947584, -0.037526265, 0.018632013, -0.023693208, -0.011505694, 0.0015381901, -0.023837438, -0.02729898, -0.015983408, -0.036451086, 0.056905653, -0.02634181, 0.027980799, 0.00034992388, -0.021411736, -0.026132021, 0.0099781575, 0.050847955, -0.0138723925, -0.012010503, -0.04680949, 0.012207181, 0.002125767, -0.032176606, 0.0012669376, 0.024348803, 0.015367149, 0.031468567, -0.0024601207, -0.022368904, -0.01248253, -0.05811195, 0.007834362, -0.019536734, 0.06781476, -0.028741289, 0.01785841, -0.06419587, -0.030000031, 0.017687956, 0.024086565, 0.016691452, 0.061101463, -0.027613666, -0.0048612375, 0.009702807, -0.011164784, -0.055751808, 0.006047865, 0.044082213, -0.027403874, 0.018632013, -0.014147743, -0.023155618, -0.044973824, 0.036451086, 0.004284314, 0.036293745, 0.024007892, 0.07416092, -0.016232535, 0.0074082245, -0.020428343, -0.03957172, 0.055961598, 0.020113658, -0.031468567, 0.020703694, -0.045052495, -0.026879398, -0.015878513, -0.0011251651, 0.011577809, -0.001729132, -0.0059986953, -0.024466809, 0.059265796, 0.043505292, 0.022604918, 0.0063297707, -0.022316458, -0.0071656546, -0.0054086596, -0.044659138, -0.022932716, 0.03826053, -0.021110162, 0.021201946, 0.045026273, 0.013544595, -0.00008609807, 0.06424832, 0.042482562, -0.01936628, 0.02358831, -0.0021241282, 0.0039499607, 0.020598797, -0.000015903302, 0.0036221629, 0.04851404, -0.007086983, -0.03537591, -0.008424397, 0.0011538473, -0.015196694, 0.028662618, -0.032517515, -0.0014627966, -0.05847908, -0.023811214, 0.012541534, 0.015419597, -0.020480791, -0.005405382, -0.035192344, 0.021464184, 0.0047596204, -0.020769253, -0.05790216, -0.013479035, 0.0018061645, -0.043583963, -0.02550265, -0.03962417, -0.00692964, 0.009420902, -0.0047891224, 0.021569079, 0.01931383, -0.016075192, -0.008162159, 0.05659097, 0.014396869, 0.023850549, -0.044449348, 0.02984269, -0.053208098, 0.037736055, -0.006474002, -0.014816449, 0.03962417, -0.00748034, 0.040909134, 0.040096197, 0.016455436, 0.016075192, -0.029659122, 0.03818186, -0.008326057, 0.029055975, -0.04717662, 0.050611943, -0.01978586, -0.0012038365, -0.0065035033, 0.007762246, -0.046232566, -0.0058446303, -0.037893396, 0.03731647, -0.034825213, -0.015367149, 0.0054643853, 0.007231214, 0.03165213, 0.07615393, 0.036687102, 0.040148646, -0.008968541, -0.08601408, -0.031389892, 0.050008792, -0.014147743, -0.011990834, 0.03262241, 0.014344421, -0.027980799, 0.01716348, 0.031022761, 0.019562958, 0.0041925306, -0.02695807, 0.03296332, -0.0062543773, 0.018828692, -0.0024175069, -0.0038450654, 0.026368035, -0.006791965, 0.027062966, 0.0030124595, -0.0070279795, -0.024099676, -0.002292944, 0.0014472262, -0.016442325, -0.0057135113, -0.0076770186, 0.027692337, 0.018435335, 0.025843559, -0.05013991, -0.023771878, -0.0037958957, -0.03212416, -0.031599686, -0.092674926, 0.00038577674, -0.060576987, -0.00081580615, -0.006162594, -0.031180102, 0.019654742, -0.011033665, -0.015812954, -0.0070410916, -0.05171334, 0.024073452, 0.010561637, -0.011695816, 0.015996521, 0.0063559944, 0.027062966, 0.01172204, -0.019431839, 0.022316458, 0.0071918783, 0.005759403, -0.0099191535, -0.013964175, -0.009145551, -0.009722475, 0.031127656, 0.008961985, -0.000099824596, 0.010922214, 0.026066462, -0.0039991303, -0.0072443257, 0.02763989, 0.018212432, 0.0077950256, 0.030236047, 0.0066083986, 0.030000031, 0.033120666, -0.026289364, 0.019707188, -0.023090059, -0.011689261, -0.0071197627, 0.03445808, -0.03445808, -0.01248253, -0.00032697804, -0.027403874, -0.029265765, 0.021975547, -0.0028501996, -0.020244777, -0.021267505, -0.014318197, 0.011531917, -0.018841803, -0.004297426, 0.026250027, 0.048015784, -0.01502624, 0.01985142, -0.025397753, -0.009624136, 0.022290234, -0.020271001, 0.008634187, 0.0049300753, 0.0013259411, -0.021424849, -0.030340942, 0.008666967, 0.0051857573, 0.011997391, 0.030760523, -0.023181843, -0.049405646, -0.0074082245, 0.0031484955, 0.0137543855, 0.03390738, -0.011944943, -0.00430726, -0.0058282404, -0.0074541164, -0.003759838, 0.0045334403, 0.004418711, -0.019798972, -0.030996537, 0.036424864, -0.007100095, 0.017805964, -0.012711989, 0.021673974, 0.013354472, 0.018212432, 0.038785007, 0.00968314, -0.05315565, -0.046311237, -0.0071590985, -0.011853159, -0.015878513, 0.00051996886, 0.0109287705, 0.017360158, 0.060367197, 0.0029862358, 0.027220309, 0.030944088, 0.02571244, 0.023889886, 0.02226401, 0.033959825, -0.034720317, 0.018133761, -0.0013833056, -0.0029862358, -0.0061920956, -0.022945829, -0.019064706, -0.009715919, -0.025423978, 0.025738664, -0.0062150415, 0.028243037, -0.03081297, 0.011669593, 0.0050284145, 0.023116283, -0.010699312, 0.0013538039, -0.027613666, 0.009873263, -0.036293745, -0.0002956324, 0.02164775, 0.009355342, -0.004979245, 0.006572341, 0.0064641675, 0.0021192112, 0.043347947, 0.06524482, 0.00723777, -0.025909118, -0.012607094, -0.027194085, -0.03770983, -0.048828725, -0.0048350138, -0.013020119, -0.0041958084, -0.024571704, -0.021424849, 0.0053398223, 0.0012702155, 0.019523622, -0.032858428, 0.0005560266, 0.005864298, -0.018986033, 0.011394243, 0.048015784, -0.019838307, 0.020349672, -0.010207616, -0.010541969, 0.012659541, -0.012056394, -0.021752646, 0.005172645, 0.031180102, -0.0045334403, -0.029396884, -0.018828692, -0.042010535, -0.02923954, 0.009034101, 0.037867174, -0.008214607, 0.02069058, -0.0022896659, 0.010974662, -0.0009088187, -0.017333934, 0.028033247, -0.022722926, -0.020179218, -0.008358837, -0.031337447, -0.031101432, -0.0147508895, -0.010220728, -0.011092669, -0.013367584, 0.0048579597, -0.014829561, -0.02006121, 0.0018471392, -0.025673104, 0.019549847, 0.047805995, 0.0471504, 0.00090390176, 0.010155168, 0.0034156505, -0.011315571, 0.024899501, -0.020926595, -0.0018127204, -0.0016684895, 0.0055725584, -0.016586555, 0.0070345355, 0.026617162, -0.0011604034, 0.022093555, 0.0031698023, 0.01709792, -0.009715919, 0.006818189, 0.011381131, 0.027797231, -0.010312511, 0.024112787, -0.016993025, 0.0033992606, 0.015013128, 0.0030157375, 0.005644674, 0.01570806, 0.028216813, -0.036503535, 0.0063625504, 0.037264027, -0.016376765, -0.044868927, -0.041879416, -0.0002702281, 0.012416971, 0.01258087, 0.02130684, 0.04405599, 0.013000451, 0.052421384, -0.017333934, 0.02433569, 0.00888987, -0.027115414, -0.005366046, -0.02488639, -0.04253501, 0.012764436, -0.033618916, 0.003199304, 0.013793721, -0.004949743, 0.00025076512, 0.03060318, -0.047622427, 0.0074016685, -0.011833492, 0.008673524, -0.0014800059, -0.017412607, 0.019130265, 0.0014873814, -0.11737774, -0.037132908, 0.025109293, 0.009453681, 0.027587442, 0.011767932, 0.026092686, -0.011597477, 0.016743898, -0.02653849, 0.018068202, -0.020834813, 0.035035003, 0.0043465956, -0.020349672, 0.0012456307, -0.013806833, 0.023562089, 0.01496068, -0.014541099, 0.0013193851, 0.028295485, 0.028295485, 0.003199304, -0.005166089, 0.012541534, -0.04722907, -0.021188833, -0.016639004, -0.029475555, -0.017268375, 0.0017061862, 0.011531917, 0.01854023, -0.03343535, -0.05260495, 0.013170905, 0.02129373, 0.00046055554, -0.022552472, -0.012108842, -0.050480824, -0.0074213366, -0.023706319, 0.030655626, -0.03123255, -0.0013579014, -0.014554211, -0.0041794186, -0.011656481, 0.005064472, -0.020428343, 0.0112369, 0.043374173, -0.0016258758, -0.004507216, 0.024663487, -0.020795476, -0.03272731, -0.004166307, -0.010515746, -0.008417841, 0.0050611943, -0.025083069, -0.0153802615, -0.030209823, -0.036896892, 0.055017542, 0.013741273, 0.018723795, 0.005215259, -0.0072836615, -0.006562507, 0.033120666, 0.044659138, -0.024047228, 0.012646429, -0.0041859746, -0.010614085, -0.03152101, 0.012121953, -0.022919605, -0.0133741405, 0.03831298, -0.0030304883, -0.027272755, 0.03936193, 0.010174836, -0.017556837, 0.0070738713, -0.02288027, 0.0156425, 0.01461977, 0.057482578, 0.017819075, -0.03136367, -0.013662602, -0.01909093, 0.03975529, 0.01258087, -0.00827361, -0.000830557, 0.04046333, -0.049667884, 0.028741289, 0.008142491, 0.034589197, 0.0040679676, 0.021909988, -0.004130249, 0.027456323, -0.011761376, -0.03576927, 0.0052808183, 0.0082211625, 0.02695807, -0.0073295534, 0.010764872, 0.022919605, -0.022618031, 0.012161289, -0.008988209, 0.020218553, 0.009119328, -0.024007892, -0.014173966, 0.017045472, 0.02634181, -0.02371943, 0.0106796445, 0.028190589, 0.062517546, 0.00888987, 0.0014816449, -0.008496513, 0.0052775405, 0.013256133, -0.0012276018, -0.026525378, 0.049956348, 0.02482083, 0.022500023, 0.02639426, 0.039807733, -0.039099693, 0.04576054, -0.017150369, -0.015393373, -0.02729898, -0.0027387484, -0.0056872875, -0.03970284, 0.017202815, 0.035821717, -0.02488639, 0.022840934, 0.044685364, -0.012764436, 0.05832174, 0.046547253, 0.011132005, 0.030996537, 0.019484287, -0.0007195156, 0.03991263, -0.008299834, -0.0037237802, 0.020533238, -0.0028567556, 0.060419645, 0.027482547, -0.024375025, -0.0074541164, 0.06403853, 0.040646896, 0.00073918345, 0.011151672, -0.0044547687, -0.013780609, -0.0066313446, -0.02406034, 0.0019995652, -0.017963305, -0.0026240193, 0.038365424, 0.022329569, -0.02343097, -0.042430114, 0.020507015, 0.01364949, 0.018356662, 0.02336541, 0.010010937, 0.017438829, -0.017268375, 0.0015644138, -0.009178331, -0.020048099, -0.021555968, -0.0031665242, -0.017753515, 0.0744756, 0.0022503303, 0.011663036, 0.0039761844, -0.0071722106, -0.02371943, -0.019903867, 0.0031648853, 0.03681822, -0.016035857, -0.0008948873, -0.010312511, 0.005775793, -0.014737777, -0.014514876, 0.008666967, 0.01764862, -0.016914353, 0.006837857, -0.0141215185, -0.028636394, 0.0073754448, 0.035035003, -0.033750035, -0.0071132067, 0.04413466, -0.014318197, -0.06944063, 0.002953456, 0.012017058, 0.014882009, 0.013964175, -0.018776244, -0.053863693, 0.013354472, -0.008378506, -0.02626314, -0.009316007, -0.0038352313, 0.029554227, -0.032097936, 0.014711554, 0.009932266, -0.013203685, -0.032386396, 0.01730771, -0.0096110245, -0.011813824, -0.021805093, 0.012626762, -0.013308581, 0.008194938, -0.004136805, -0.036136404, -0.0020831535, -0.01206295, 0.056014046, 0.057587475, 0.0114270225, 0.007388557, -0.0033632028, 0.024322579, 0.02992136, -0.002006121, -0.015419597, 0.020520126, 0.026381146, -0.005490609, -0.011794155, -0.017137256, 0.010253508, -0.00027821818, 0.0049825227, -0.036555983, 0.021398624, 0.013597042, 0.017124144, 0.034877658, -0.020323448, 0.0011046778, -0.008037596, -0.036582205, -0.013728161, -0.0054709413, -0.020926595, -0.013610154, -0.0095848, 0.032071713, 0.003989296, 0.017884634, 0.011597477, 0.011066445, 0.018658236, 0.004943187, 0.0129938945, -0.0051070857, 0.027666112, 0.011813824, -0.059580483, 0.0059691933, 0.009230779, 0.04198431, 0.010423962, 0.011158229, -0.016717674, -0.043138158, -0.0070345355, -0.016901242, -0.018120648, 0.052631173, 0.0031730803, 0.017438829, 0.022736037, -0.006785409, 0.040961582, 0.010863211, -0.0026272973, -0.020271001, -0.014868896, -0.025686216, 0.022644255, -0.012626762, -0.0035271016, -0.011833492, -0.014449316, 0.018435335, -0.0071722106, -0.026132021, 0.024558593, -0.0062543773, 0.03304199, -0.018592676, 0.002551904, -0.065821745, -0.0035631594, 0.013715049, -0.016324317, -0.0071656546, 0.0048350138, 0.02716786, -0.0064313877, 0.0077032424, -0.028243037, -0.014016624, 0.015288478, 0.0074016685, -0.0011808907, 0.029003527, -0.039073467, 0.050087467, -0.0039139027, -0.04012242, -0.045393404, 0.001466894, 0.032281503, 0.0077556903, 0.017399494, -0.024099676, 0.012462863, -0.0051234756, -0.002814142, -0.011158229, 0.025541985, 0.0054479954, 0.02164775, -0.01993009, 0.026800727, -0.024309466, 0.0068903044, 0.0070410916, -0.014934456, 0.003763116, -0.006975532, -0.0057954607, -0.010437074, -0.0017274931, 0.037998293, -0.014868896, 0.018907363, -0.0067329616, -0.028924856, -0.024833942, -0.0024502866, -0.052159145, 0.0019503954, -0.0076704626, 0.026931847, 0.01855334, 0.0071197627, 0.040961582, 0.011840047, -0.0094799055, 0.008319502, 0.00021409277, 0.002830532, 0.01016828, -0.008883313, 0.0016947134, 0.013819945, -0.024938837, -0.0020159548, 0.019143376, -0.02268359, -0.012377636, -0.017465053, 0.013066011, 0.013439699, -0.003194387, 0.014973792, -0.040961582, -0.011158229, -0.04833047, -0.015694946, -0.015734283, -0.04956299, -0.029029751, 0.04287592, -0.017333934, 0.000532671, 0.0066313446, 0.0084112855, 0.001997926, 0.010299399, 0.027534993, 0.0085424045, -0.011112337, 0.027430099, -0.019707188, 0.022840934, 0.016429214, 0.013229909, -0.022237785, 0.010482966, 0.041171372, -0.011020553, 0.024283243, 0.023627648, 0.0063756625, 0.036031507, -0.028557723, 0.014593547, 0.03542836, 0.007637683, -0.017963305, -0.020952819, -0.0126136495, -0.0030599902, 0.028164366, -0.022250898, -0.040594447, -0.0006146204, 0.019431839, 0.021097051, 0.024217684, 0.013728161, -0.012882444, -0.026905622, 0.05685321, -0.014541099, 0.008404729, 0.018907363, 0.0023535865, 0.0031157157, 0.005749569, 0.026066462, -0.07305952, -0.019222049, 0.003086214, -0.011800712, 0.010391182, -0.0005236566, -0.029606674, 0.029973809, 0.018723795, -0.008817754, -0.016717674, -0.0056413957, 0.0000062486406, 0.028295485, -0.004700617, -0.004022076, 0.02061191, 0.04253501, 0.023548976, 0.009296338, 0.005333266, -0.010843543, 0.010863211, 0.032438844, -0.019825196, 0.011118893, -0.030393388, 0.0075000077, -0.0007281203, 0.009093104, 0.014409981, 0.005320154, 0.07216791, -0.02427013, -0.02219845, 0.025817335, 0.018487781, 0.0063396045, 0.025187964, 0.055174883, 0.03246507, -0.010010937, 0.013505259, 0.0021847708, 0.0035238236, 0.010777984, -0.009257003, -0.004802234, 0.030865418, 0.005923302, -0.018448446, -0.026604049, -0.014213302, 0.0021634637, 0.012436639, 0.018658236, 0.0069951997, -0.034562975, -0.043479066, -0.017425718, -0.014357532, -0.015367149, -0.010817319, 0.021713309, -0.0063723843, -0.01578673, 0.026630273, -0.0034254843, -0.010876323, -0.016822571, 0.0049825227, -0.002940344, 0.0011136922, 0.0043302057, 0.0052840966, -0.0050185807, 0.035402134, -0.011499138, -0.010253508, 0.0043236497, -0.008771863, 0.009591356, 0.032150384, 0.028190589, 0.0178453, 0.0042384225, -0.011164784, -0.0023765322, 0.03254374, -0.036424864, 0.0030091815, 0.0027141636, -0.03254374, 0.011276236, 0.021844428, -0.0014783669, -0.0028501996, 0.03427451, -0.029029751, 0.02226401, 0.0015578578, -0.0028715066, 0.0031714414, -0.0017914136, 0.022408241, -0.028688842, -0.0070738713, 0.0037303362, 0.012226849, -0.020782365, 0.037867174, -0.006241265, 0.0052808183, -0.0011849882, -0.017976418, -0.027823456, 0.018448446, -0.029055975, -0.009394677, 0.014514876, -0.024112787, -0.027692337, -0.0019258106, 0.04316438, 0.006844413, -0.018173097, 0.0031534124, -0.0037696718, 0.018658236, 0.010030605, 0.044003543, 0.01496068, 0.007958924, -0.031468567, 0.0042253104, 0.049274527, -0.024230795, -0.031127656, 0.028138142, 0.012738213, 0.005611894, -0.016140752, -0.0046973387, 0.0032796145, 0.00320586, -0.004389209, -0.004428545, 0.019261384, -0.0023208067, -0.0070214234, -0.029895136, 0.066713355, -0.038653888, 0.0036254409, -0.007342665, -0.013092234, 0.011997391, 0.0067329616, -0.031547237, -0.004926797, -0.039204586, -0.0062609334, 0.0083522815, 0.006582175, 0.01585229, -0.010437074, 0.010450186, -0.0049989126, -0.0077163544, 0.014895121, -0.0044023213, 0.013951064, 0.02274915, 0.01701925, 0.0007834361, 0.011453247, 0.00034971902, -0.012312076, -0.032045487, -0.03639864, -0.010161724, 0.010266619, -0.023247402, 0.02130684, -0.018710684, -0.0114270225, -0.011164784, -0.0010096164, 0.029003527, 0.029396884, 0.013741273, 0.0035598814, 0.018343551, 0.006280601, -0.008712859, -0.012187513, -0.010233839, -0.006047865, -0.02488639, 0.017976418, -0.00241259, 0.012810328, 0.0017209371, 0.019576069, 0.0008399812, -0.028688842, -0.016311206, -0.014095294, -0.015052464, -0.004182697, -0.009224223, -0.02564688, -0.017701067, -0.009361898, 0.02716786, 0.016979912, 0.00401552, 0.0040810793, -0.013662602, 0.0416434, 0.028924856, 0.009643804, 0.002278193, -0.02495195, -0.02219845, 0.016717674, -0.029213317, -0.020716805, -0.0009801147, 0.008162159, 0.018592676, 0.016704563, 0.01724215, 0.013079123, 0.04447557, 0.035271015, -0.017071696, 0.016770123, 0.01703236, -0.012567758, 0.008201495, -0.020729916, -0.009152108, 0.0033795927, -0.021870652, -0.019143376, -0.028662618, 0.0032894483, -0.007519676, -0.0019159766, -0.041118924, -0.023889886, -0.021831317, -0.019405615, 0.0017094642, 0.037185352, -0.015616275, -0.0026043516, 0.009597912, -0.019759636, 0.017530613, -0.028583946, 0.0033927045, -0.032281503, 0.040305987, -0.009434014, 0.018028865, -0.022001771, 0.006280601, 0.0016766845, -0.03965039, -0.0051300316, -0.0034156505 ]
2401.09350
174
Another direction is to improve the guarantees of the LSH family itself. As Theorem 5.1 indicates, ρ = log p1/ log p2 plays a critical role in the efficiency and effectiveness of the search algorithm, as well as the space complexity of the data structure. It makes sense, then, that improving ρ leads to smaller space overhead. Many works have explored advanced LSH families to do just that [Andoni and Indyk, 2008, Andoni et al., 2014, 2015]. We review some of these methods in more detail later in this chapter. # 5.2.2 Back to the Approximate Retrieval Problem A solution to PLEB of Definition 5.2 is a solution to ϵ-approximate top-k retrieval only if r = δ(q, u∗), where u∗ is the k-th minimizer of δ(q, ·). But we do not know the minimal distance in advance! That begs the question: How does solving the PLEB problem help us solve the ϵ-approximate retrieval problem? Indyk and Motwani [1998] argue that an efficient solution to this decision version of the problem leads directly to an efficient solution to the original problem. In effect, they show that ϵ-approximate retrieval can be reduced to PLEB. Let us review one simple, albeit inefficient reduction.
2401.09350#174
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 174, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Another direction is to improve the guarantees of the LSH family itself. As Theorem 5.1 indicates, ρ = log p1/ log p2 plays a critical role in the efficiency and effectiveness of the search algorithm, as well as the space complexity of the data structure. It makes sense, then, that improving ρ leads to smaller space overhead. Many works have explored advanced LSH families to do just that [Andoni and Indyk, 2008, Andoni et al., 2014, 2015]. We review some of these methods in more detail later in this chapter.\n# 5.2.2 Back to the Approximate Retrieval Problem\nA solution to PLEB of Definition 5.2 is a solution to ϵ-approximate top-k retrieval only if r = δ(q, u∗), where u∗ is the k-th minimizer of δ(q, ·). But we do not know the minimal distance in advance! That begs the question: How does solving the PLEB problem help us solve the ϵ-approximate retrieval problem?\nIndyk and Motwani [1998] argue that an efficient solution to this decision version of the problem leads directly to an efficient solution to the original problem. In effect, they show that ϵ-approximate retrieval can be reduced to PLEB. Let us review one simple, albeit inefficient reduction.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.020165931, 0.0058071134, 0.014637819, 0.016921733, 0.01783011, 0.014274469, 0.023423105, 0.032987, -0.037658643, 0.042408146, 0.035167098, -0.039267763, -0.028730612, -0.008110493, -0.016311824, -0.0043958873, 0.03560831, -0.043602012, -0.00800019, 0.02360478, 0.029638987, 0.0026180672, 0.013327163, 0.0024250376, 0.014482097, -0.023397151, 0.051751435, -0.0018443262, 0.043602012, -0.043757733, 0.028626798, -0.0106020365, -0.0075005842, -0.035478543, -0.0035718612, 0.06612972, -0.0157668, 0.021113236, 0.023124639, 0.020516304, -0.0037438036, -0.0029538416, -0.04676835, -0.026174184, 0.0074162353, 0.015753822, 0.003714606, -0.008798263, 0.0025694042, -0.010121896, -0.018829321, 0.02049035, -0.022670452, -0.04479588, -0.00881124, -0.021839937, 0.038826555, -0.011296295, 0.081857584, 0.026706232, -0.017324014, -0.02836726, -0.020282721, -0.000009542502, 0.00030231863, 0.01783011, 0.013508838, 0.05250409, 0.027588654, 0.0076173753, -0.043835595, 0.010439827, 0.012113833, -0.009434125, 0.020010209, 0.04505541, 0.007837981, 0.034829702, 0.030209966, 0.0056513916, 0.026965769, -0.01378135, 0.07879507, 0.014585911, -0.036983848, -0.022865104, -0.031377878, 0.011452016, -0.068569355, -0.045211133, -0.049519427, -0.0013098447, 0.0024234154, -0.009356265, 0.06192524, 0.03148169, 0.06062756, -0.008006679, 0.038852505, 0.0071177687, -0.07080136, -0.030884758, -0.0024428805, -0.06555874, 0.037502922, -0.0033447675, -0.009323823, -0.0005283986, -0.016778989, -0.022371985, -0.037295293, -0.0076563056, -0.03859297, 0.05169953, 0.024500178, -0.0471317, -0.05860318, 0.026784092, -0.033116765, 0.047754586, -0.019828534, 0.012120321, 0.03830748, 0.0072799786, 0.014780563, -0.042096704, 0.045704253, -0.08689258, 0.029820662, -0.040643305, 0.058810808, 0.03293509, 0.026654325, 0.0071437224, -0.014975214, 0.023500966, -0.031507645, -0.03127406, 0.03994256, -0.026810046, -0.009797476, -0.022371985, -0.02893824, 0.023046779, -0.03968302, 0.034777794, -0.0061250445, 0.0010348989, 0.05424298, 0.009544428, 0.006838768, -0.07292955, -0.016519453, 0.010400897, -0.04458825, -0.025187949, 0.018972065, -0.0063164523, -0.0025028982, -0.010238687, -0.007228072, 0.028159633, -0.014663772, -0.0074357004, 0.04118833, 0.041577633, -0.05590401, -0.036153335, -0.04801412, -0.037918177, -0.04453634, -0.04380964, 0.01164018, 0.015377495, -0.008674984, -0.040228046, -0.01657136, -0.014521027, 0.0063359174, -0.03921586, -0.029664941, 0.04707979, 0.037606735, 0.017427828, 0.003503733, 0.03148169, 0.0009797476, -0.0018118842, -0.01932244, 0.008266215, -0.0018427041, 0.037502922, 0.029742802, 0.014936284, -0.030651176, 0.028834425, 0.016467545, 0.043342475, -0.018362157, -0.033012953, -0.007909353, 0.02800391, 0.0005592185, -0.045808066, 0.020386536, 0.019646859, 0.0022255194, 0.011023782, -0.016999595, 0.01947816, -0.029638987, -0.008467355, 0.06026421, -0.007779585, 0.020788817, 0.018180482, -0.059485603, 0.03508924, -0.051673576, 0.045548532, -0.01871253, -0.008856659, 0.042096704, 0.05403535, -0.03726934, 0.04103261, 0.005346437, -0.060679466, 0.010199756, -0.018115599, 0.024526132, 0.017609503, -0.0071372343, -0.0011768326, 0.013586698, 0.025084134, -0.007825004, -0.017077455, -0.03379156, -0.06919224, -0.0146248415, -0.0014777319, -0.058810808, -0.012360392, -0.017959876, 0.0051809833, -0.008395983, -0.023397151, 0.032441974, -0.035141144, -0.038930368, -0.04417299, -0.04186312, -0.074279144, -0.060887095, -0.002139548, 0.0048403423, 0.025629159, 0.011211946, 0.017207222, -0.009466568, 0.011147062, 0.0035296867, 0.0011711553, -0.020178907, 0.0006030152, 0.0032182438, -0.019114811, -0.023085708, -0.006138021, -0.0013739176, 0.029742802, -0.01184132, -0.008065075, 0.007662794, -0.023228453, -0.010803177, -0.016441593, -0.03859297, 0.034777794, -0.021152167, -0.0073578395, 0.043913454, 0.004674888, 0.06877698, 0.011302783, -0.00010594332, -0.010634479, -0.030910712, -0.029898522, 0.02255366, -0.045496624, 0.03148169, -0.018310249, -0.028808473, 0.0092654275, -0.0050544594, -0.066752605, 0.0051323203, 0.032156482, 0.05496968, -0.009836406, 0.007935307, -0.031351924, -0.02461697, -0.0038573507, 0.029379452, 0.015325588, -0.024655899, 0.025239855, 0.01960793, 0.0037275827, -0.022618543, 0.05250409, -0.05860318, -0.04386155, 0.053931538, -0.03472589, -0.026239067, -0.038567018, 0.0037178502, -0.08590634, 0.008389494, -0.026407767, 0.06753121, 0.009563894, -0.037321247, -0.035530448, 0.0096547315, -0.018621692, 0.033116765, 0.0030479233, -0.0103230355, -0.009155124, -0.014534004, -0.012386345, -0.005174495, 0.021567423, -0.006728465, 0.0034615586, -0.015351541, 0.0471317, 0.017817132, -0.0017372677, 0.03132597, 0.012094367, 0.01689578, 0.024668876, 0.02429255, 0.046690486, -0.013534791, -0.027017675, 0.034803748, 0.0052199136, 0.05387963, 0.011121108, 0.013132511, -0.063222915, -0.05336056, 0.006514348, 0.01770034, -0.031819087, 0.013963025, 0.007857446, -0.014170654, 0.044121083, -0.004645691, -0.017142339, -0.013677536, 0.021126213, -0.010180291, 0.032675557, 0.014858424, -0.00565788, -0.019179694, 0.009713126, -0.02343608, 0.05455442, -0.001627776, 0.07100899, 0.0032977266, -0.023578826, -0.045600437, -0.03957921, 0.03176718, -0.022566637, -0.009816941, -0.0061347773, -0.038411297, 0.009920755, -0.011705064, 0.02437041, 0.006903652, 0.0003773407, 0.022644497, 0.0070139547, -0.032156482, 0.046742395, 0.023319291, -0.0011857541, -0.04336843, -0.016830895, -0.037451014, -0.07334481, -0.06633735, -0.0055767754, 0.009803965, 0.04017614, -0.005125832, 0.024279572, 0.023500966, 0.016324801, 0.04212266, -0.021307888, 0.006988001, -0.019504115, 0.03996851, 0.029794708, 0.01305465, 0.00089783163, 0.046794303, -0.04061735, -0.0013236325, -0.005310751, 0.016104195, -0.004723551, 0.03236411, -0.00602123, 0.029535173, -0.06150998, -0.017920947, 0.032649603, 0.042511962, -0.030080197, -0.033376303, -0.01729806, 0.023812408, 0.0064819064, -0.016104195, -0.06332673, -0.00067479303, -0.01406684, -0.040487584, -0.025771903, 0.020230815, 0.001052742, 0.0050349943, -0.0194003, 0.018310249, 0.008227284, -0.037035756, -0.015455356, 0.043212708, 0.022514729, 0.020101046, -0.034128956, 0.043186754, -0.027536746, 0.013145488, -0.015234751, 0.000043771317, -0.0076173753, -0.017791178, 0.0012092745, 0.016337778, 0.0015255838, -0.0036237685, -0.0036270127, -0.024863528, -0.006572744, 0.029872568, -0.05419107, 0.019672813, -0.047884353, -0.030209966, 0.045496624, 0.01733699, -0.022761289, -0.017920947, -0.0014736766, 0.012503137, -0.038982276, -0.000078823854, 0.012444741, -0.004966866, 0.018764438, 0.061613794, 0.026861954, -0.024876505, -0.0009765034, -0.02603144, -0.049986593, 0.062029053, -0.013327163, -0.0013422866, 0.022670452, -0.0010543641, -0.027458886, 0.04837747, 0.036153335, 0.01798583, 0.017349968, -0.023397151, 0.019919371, -0.023150591, 0.04264173, 0.0017664655, -0.043472245, 0.012360392, 0.026265021, 0.0075330264, 0.03415491, 0.046223324, -0.016337778, 0.020360582, 0.010725317, -0.01718127, 0.02186589, -0.016480522, 0.023345243, -0.018037736, -0.0021135944, 0.0019497626, -0.011127597, 0.012859998, -0.034777794, -0.081390426, -0.08118279, -0.014754609, -0.0032133774, 0.018206436, 0.0013552634, -0.00414284, 0.029924477, -0.015117959, -0.009765034, 0.01636373, -0.017791178, 0.020152954, 0.006112068, 0.008337587, 0.014378282, -0.03758078, 0.022826172, -0.015130936, -0.017207222, 0.047521003, 0.0043310034, 0.0034712912, 0.013353116, 0.008636054, -0.015546193, 0.0074162353, 0.009771522, 0.0004124186, 0.00545674, 0.0054891817, 0.030936666, -0.013145488, 0.001479354, -0.02800391, 0.020178907, 0.0055378447, 0.0395273, -0.043939408, 0.010569595, 0.04207075, -0.029846616, 0.02712149, 0.013301209, -0.025161995, 0.011821855, 0.017168293, 0.02343608, 0.029820662, -0.01984151, 0.004159061, -0.021307888, 0.0150011685, 0.020827746, -0.017726295, -0.02255366, -0.037762456, -0.0008913432, -0.014300422, -0.014728656, -0.00061193673, -0.0041395957, -0.0086101, 0.057201687, 0.02477269, -0.045133274, -0.0070983036, -0.012859998, -0.028393215, 0.01038792, -0.002283915, 0.0038995252, -0.04046163, 0.00089783163, -0.014663772, 0.04149977, 0.0114649935, -0.008953985, -0.011452016, 0.0153904725, 0.0073967697, 0.019283509, 0.015961451, -0.029509218, -0.008032633, -0.017933922, -0.010011593, 0.005129076, -0.03314272, -0.021762075, -0.0063359174, -0.05084306, 0.024668876, -0.01693471, 0.008045609, -0.038203668, -0.004499702, 0.0041363514, 0.022086496, -0.0080261445, 0.0022676939, -0.044666108, -0.011432552, -0.016272893, 0.009245962, -0.0019189427, 0.014637819, 0.03358393, 0.027355071, -0.0007003411, 0.031222155, 0.024785668, 0.0064137783, 0.025538322, 0.011056225, 0.034648027, 0.011348202, -0.04772863, -0.013794327, -0.0074940957, -0.0016058777, 0.03532282, -0.023487989, -0.0037405596, -0.020866677, -0.02631693, 0.058032203, 0.009589847, 0.028730612, -0.010251664, -0.0142355375, 0.019711742, 0.014910331, -0.022774266, -0.018154528, -0.004460771, -0.0044477945, -0.032467928, -0.0028857135, 0.01236688, 0.019283509, 0.019945325, 0.01968579, -0.0052555995, 0.025979532, 0.022307102, 0.05476205, -0.013729443, -0.030235918, -0.016506476, -0.014741633, -0.016947687, -0.042096704, -0.006232103, 0.003863839, -0.0007153455, -0.021554448, -0.040643305, -0.02893824, -0.03124811, 0.017804155, -0.01689578, -0.024175758, 0.005638415, 0.0011403353, -0.013560745, 0.037554827, -0.040072326, 0.021398725, -0.00986236, -0.018595738, 0.015909543, 0.011413086, -0.037321247, -0.00076360296, 0.02570702, -0.015533217, -0.022904033, -0.009946709, -0.04837747, -0.046223324, 0.00848682, 0.05590401, -0.017570572, 0.013937072, -0.012250089, 0.016259916, 0.0014825981, 0.006611674, -0.001397438, -0.009044822, 0.009719615, -0.0010932945, 0.005258844, -0.023916222, 0.0006030152, -0.03488161, 0.0062548122, -0.0077990503, -0.020308675, -0.027329119, 0.0044477945, 0.03366179, -0.011555831, 0.0051193433, 0.034336586, 0.010835619, -0.011912692, 0.0056805895, 0.019231603, -0.032130532, 0.030573316, -0.040565442, 0.011263853, -0.015092006, -0.019698767, 0.009881825, 0.025603205, 0.014040886, 0.036568593, 0.02117812, -0.0034777794, 0.006248324, 0.031793132, -0.040799025, 0.011400109, -0.0023439326, 0.013268767, 0.035919752, -0.020620119, 0.005956346, -0.004460771, -0.01947816, -0.003338279, -0.007169676, -0.02077584, -0.05460633, -0.010031058, 0.0035394193, -0.038099855, -0.0150141455, -0.06763502, 0.04887059, -0.029561127, 0.007007466, 0.040850934, 0.01915374, 0.032130532, 0.02712149, -0.008525751, 0.015662985, -0.0077860737, -0.00986236, 0.0006893919, -0.061821423, -0.014780563, 0.0006711433, -0.024487201, -0.010154338, -0.00011516901, -0.019452207, 0.009194056, -0.011529877, -0.050713293, 0.02800391, 0.010115407, -0.016908756, -0.032156482, -0.019672813, 0.038904414, -0.00083781395, -0.10464483, 0.02740698, 0.0042369217, 0.021801006, 0.024305526, 0.0072150948, 0.022683429, -0.006322941, -0.0114649935, -0.006514348, 0.009148637, -0.037814364, 0.024448272, 0.004522411, -0.011419575, -0.012561532, 0.001660218, 0.012983277, 0.028678704, -0.03721743, -0.015351541, 0.016740058, 0.042174567, 0.0063067195, -0.0051907157, -0.008227284, -0.0091810785, 0.002366642, -0.021839937, -0.018946113, -0.0093627535, 0.009414661, 0.018037736, 0.023046779, -0.026887907, -0.000493929, 0.014131724, -0.013138999, -0.026939815, -0.0017518665, -0.010692874, -0.027744375, 0.0026586198, -0.020010209, 0.010044035, -0.041940983, 0.029509218, 0.01370349, 0.022164356, -0.0022579613, -0.023513943, -0.012911906, 0.014092793, 0.0049571334, -0.007481119, -0.008227284, 0.034699935, 0.0061639748, -0.03163741, 0.0007335941, -0.000018818879, -0.017972853, 0.015040099, -0.028782519, -0.020685002, 0.0054145656, -0.020425467, 0.039137997, 0.006099091, 0.034777794, -0.00953794, 0.012542067, -0.023786455, 0.04518518, 0.036828127, 0.014715679, -0.015701914, 0.029171823, -0.038047947, 0.009382219, 0.0029960163, -0.016623268, 0.0022060543, 0.03329844, -0.013988979, -0.026407767, 0.016169079, -0.0060926024, -0.014871401, 0.003025214, 0.013430977, 0.0068452563, 0.009369242, 0.027977958, 0.014832471, 0.008590635, 0.020607142, -0.0172202, 0.03132597, 0.012100856, 0.021372773, 0.0388006, 0.0039417, -0.049701102, 0.00476897, -0.0032798834, 0.022423891, 0.0012181961, 0.059848953, 0.023293337, 0.013651582, 0.009349776, -0.015130936, 0.0047300397, 0.00013787839, 0.029509218, 0.012710765, 0.011302783, 0.01334014, -0.022462822, 0.015909543, 0.036205243, 0.010199756, 0.0050706803, 0.025797857, -0.032390065, -0.016454568, 0.042901266, -0.012392834, 0.017635457, 0.021437656, 0.080300376, 0.008519262, 0.016714105, -0.017116385, -0.022540683, 0.01766141, 0.020957515, -0.0045645856, 0.028886333, 0.02727721, 0.018972065, -0.002942487, 0.01584466, -0.0015069296, 0.010206245, -0.0050447267, -0.007643329, -0.0395273, -0.00078833994, 0.00545674, -0.0054697166, -0.004454283, 0.021307888, -0.039838742, -0.006968536, 0.035556402, 0.0071956296, 0.0068971636, 0.010329524, 0.054346792, -0.010147849, -0.010971875, -0.020282721, 0.026446696, -0.016636243, -0.02461697, 0.008960473, -0.0172202, 0.041603588, 0.0005640848, -0.016999595, 0.022281148, 0.040876888, 0.03358393, 0.010978363, 0.02081477, 0.024214689, 0.0021135944, 0.010050523, 0.006225615, -0.0052361344, -0.024487201, 0.018660624, 0.030988572, 0.0019919372, -0.024642922, -0.018336203, 0.02490246, 0.0049376683, 0.016545406, 0.024928411, 0.0017226688, 0.008402471, 0.0035231982, -0.01915374, -0.032675557, 0.03329844, -0.013113045, -0.008421936, -0.06680451, 0.06633735, -0.00059125497, 0.00036598602, -0.021489562, 0.028419169, -0.013664559, -0.042667683, -0.00476897, -0.008116982, -0.027536746, 0.0041298633, 0.01180239, 0.014534004, 0.026706232, -0.00044810475, -0.027017675, 0.0062677893, -0.015507263, -0.026368836, -0.01252909, -0.011121108, 0.01010243, 0.048429377, 0.0045353877, -0.013651582, 0.064312965, -0.032987, -0.013833257, 0.008084539, -0.03293509, 0.025239855, -0.005262088, 0.0006597886, -0.03314272, -0.001824861, -0.02777033, -0.0409807, -0.008616588, -0.026654325, 0.043576058, 0.021813983, 0.01689578, 0.02865275, -0.007941795, -0.038463205, 0.023020824, 0.00197085, -0.00990129, -0.03887846, -0.031819087, 0.013950049, 0.0033804537, 0.003928723, -0.0073967697, 0.0044088643, -0.03309081, 0.03960516, 0.034336586, -0.043264616, -0.0036399893, -0.023773478, -0.012224136, -0.011860785, -0.018180482, -0.006572744, 0.02081477, 0.024020037, 0.025304738, -0.0114779705, -0.031948857, 0.022255193, -0.0282894, 0.0060114977, -0.006465685, 0.0047851913, 0.0117569715, 0.016220987, 0.017349968, -0.009771522, -0.0066181626, -0.016753035, -0.0035621286, 0.03617929, 0.012107344, -0.019426253, 0.024435295, 0.015779776, 0.021930775, -0.020152954, 0.02865275, 0.033765607, 0.0017940411, 0.008214308, -0.00087593327, -0.024876505, 0.015040099, 0.03529687, -0.015585124, -0.034855656, -0.030054243, -0.0113676675, 0.021411702, 0.005291286, 0.011069201, -0.003665943, -0.013100069, 0.013794327, -0.03568617, -0.011899716, 0.04271959, 0.014014932, 0.010459292, -0.011452016, -0.008616588, -0.003996851, 0.009031845, 0.024915436, 0.00080821064, -0.02647265, -0.020970492, 0.011873762, 0.009953197, -0.008071563, -0.0115623195, 0.004029293, 0.03540068, 0.010511199, 0.0007145345, 0.026887907, -0.0016002003, 0.01718127, -0.0031128074, -0.029275637, -0.04547067, -0.01180239, -0.009907778, -0.01827132, -0.017246153, -0.009012381, 0.010154338, 0.022436868, 0.034803748, -0.0062872544, -0.028756564, 0.037970085, 0.0073578395, 0.014585911, -0.010530665, -0.013177929, 0.048533194, -0.012516113, -0.019387323, -0.011328737, 0.009077264, 0.016791966, 0.002452613, -0.030235918, 0.009421149, 0.02505818, -0.0011638558, 0.03649073, -0.0012644259, 0.0052036927, -0.007104792, 0.028964194, -0.007740655, 0.059433695, 0.004700842, -0.005472961, 0.008817729, -0.010842107, 0.0036205242, 0.01806369, 0.011205457, -0.00023804298, 0.002090885, 0.020127, -0.027017675, -0.003403163, 0.005427542, -0.008512774, -0.04765077, 0.0015888456, -0.041110467, 0.018141551, 0.014118747, 0.014482097, 0.0025272297, -0.0088891005, 0.016182056, 0.019828534, -0.04030591, 0.04676835, 0.01628587, -0.008499797, 0.013560745, 0.0141447, 0.015079029, 0.00020985902, -0.02813368, -0.014313399, 0.04235624, -0.0041882587, -0.020840723, -0.022333054, -0.00555731, 0.026576465, 0.004587295, 0.018401086, -0.04191503, 0.015896566, -0.034648027, 0.027225304, 0.00043431693, -0.020555234, -0.01984151, 0.025447484, -0.0068322797, 0.0021022398, -0.051829297, 0.00013635767, -0.0060439394, 0.0027089047, 0.025668088, 0.015364518, -0.014287445, 0.03148169, -0.006838768, 0.023228453, -0.01446912, 0.03379156, -0.020243792, -0.02121705, 0.025927626, 0.016623268, 0.016869826, 0.019737696, 0.0075979102, 0.04030591, -0.040072326, 0.02270938, 0.030780945, -0.011808878, -0.0019643614, -0.019776627, 0.0013747286, -0.02429255, -0.0052750646, 0.0029846616, -0.05637117, -0.013833257, 0.031429783, -0.0021671238, -0.009706639, 0.0031614704, -0.056163546, -0.03386942, 0.031741228, 0.021736123, 0.010277617, 0.007344863, 0.0015847904, 0.013366093, 0.010037547, 0.028678704, -0.027744375, 0.0071761645, 0.0019238091, 0.0025466948, 0.0023082464, 0.02534367, -0.013963025, 0.004619737, 0.0026991721, 0.010517688, -0.0126069505, -0.008902078, 0.014521027, 0.02748484, -0.024033014, -0.01947816, 0.01167911, 0.029638987, 0.034803748, 0.00082645926, 0.026861954, -0.015935497, -0.0126913, -0.037139572, 0.007948283, 0.009842895, -0.030002337, 0.021515517, -0.019984255, 0.029535173, -0.017311037, -0.019828534, 0.007896376, -0.009966174, -0.015792752, 0.04749505, -0.007954772, 0.0059985206, 0.021515517, 0.017557597, -0.009907778, -0.0044640154, 0.0054664724, 0.010627991, 0.00048095227, -0.003763269, 0.008078052, 0.025123063, 0.05346437, 0.012756184, -0.018803367, -0.001233606, 0.000015992879, 0.008992915, -0.023332268, -0.0037730015, -0.0067998376, -0.018128574, -0.033402257, -0.03075499, -0.014611864, -0.00561895, -0.009284893, 0.01600038, 0.002631044, 0.0069750245, 0.04134405, -0.0010235442, 0.0076368405, -0.014261492, 0.029457312, -0.012405811, 0.023916222, -0.01446912, 0.018582763, 0.010926456, 0.018219411, -0.01301572, 0.0107902, 0.008188354, -0.01915374, -0.018920159, 0.049986593, -0.021113236, 0.016714105, -0.030391641, 0.003931967, -0.02643372, 0.019776627, 0.014404236, 0.027536746, 0.015494286, -0.012924883, 0.030287826, -0.013229837, -0.034284677, -0.022034587, 0.038826555, -0.03617929, 0.008292168, -0.02222924, -0.0097520575, -0.022242216, -0.0033074592, 0.0130935805, -0.0096547315, -0.022826172, -0.013495861, -0.0035978148, -0.031974807, 0.013418, 0.022891056, 0.009511987, 0.017635457, -0.013223348, -0.030235918, 0.025732974, -0.018167505, 0.017129362, -0.00844789, 0.005184227, 0.004635958, 0.0013033563, 0.036828127, 0.0013195772, 0.008629565, 0.0075070728, -0.024565062, 0.011529877, 0.062392402, 0.03835939, 0.012671835, -0.002400706, -0.027381025, -0.015675962, 0.009803965, -0.0040065837, -0.07241049, 0.042667683, -0.010173803, -0.010095942, 0.012061926, 0.011121108, 0.026187161, 0.0040130722, 0.037658643, -0.034128956, 0.029587079, -0.017090432, 0.0057324967, -0.026628371, 0.052166693, -0.026654325, -0.015831683, -0.01410577, 0.0028467833, 0.0074227233, -0.008188354, -0.034544215, -0.013469907, 0.00058760523, -0.0126199275, -0.0011581784, 0.00973908, 0.024201712, -0.022281148, 0.012470694, -0.014689726, -0.01515689, 0.020503327, -0.033635836, 0.0071956296, 0.007578445, 0.005722764, 0.013833257, -0.0076887477, 0.008577658, 0.010842107, -0.038982276, -0.048792727, -0.031092387, -0.027173396, -0.010984852, 0.041370004, -0.0003503733, 0.0024915435, 0.008240261, 0.013443953, 0.0017680875, 0.028626798, -0.0141447, 0.027692469, -0.008616588, 0.020620119, 0.030235918, -0.024071945, -0.0070788385, 0.007331886, 0.0010251664, 0.021489562, -0.002910045, 0.011568808, -0.0077341665, 0.041006655, 0.011179504, 0.0002842728, -0.018842299, -0.0055637984, 0.040228046, -0.004898738, 0.019023973, -0.01515689, -0.0032263543, 0.0037794898, 0.04009828, 0.018258343, 0.027458886, 0.021346819, -0.013443953, 0.019672813, 0.015027122, 0.011594761, -0.002598602, -0.015182843, -0.02668028, 0.0073708165, -0.0034128956, -0.025174972, -0.033687744, 0.005904439, -0.011270341, 0.0059823, 0.0018589251, -0.0037113617, 0.028964194, 0.037970085, -0.035582356, -0.015403449, 0.014832471, 0.009946709, 0.017648434, -0.04894845, 0.0007599532, 0.013755397, -0.050401848, 0.01806369, 0.0055183796, 0.032753415, -0.0042953175, -0.025161995, -0.033012953, 0.0056157056, -0.026887907, 0.0005324539, 0.007630352, 0.058758903, -0.000032594045, 0.0015969562, -0.033635836, -0.00877231, -0.0080261445, 0.0012628038, 0.025953578, -0.0026878174, 0.006559767, -0.009765034, 0.007565468, -0.028548937, 0.019906394, 0.029509218, 0.005223158, 0.039657068, 0.0042142123 ]
2401.09350
175
Let δ∗ = maxu,v∈X δ(u, v) and δ∗ = minu,v∈X δ(u, v). Denote by ∆ the aspect ratio: ∆ = δ∗/δ∗. Now, define a set of distances R = {(1 + ϵ)0, (1 + ϵ)1, . . . , ∆}, and construct |R| LSH indices for each r ∈ R. Retrieving vectors for query q is a matter of performing binary search over R to find the minimal distance such that PLEB succeeds and returns a point u ∈ X . That point u is the solution to the ϵ-approximate retrieval problem! 5.3 LSH Families It is easy to see that such a reduction adds to the time complexity by a factor of O(log log1+ϵ ∆), and to the space complexity by a factor of O(log1+ϵ ∆). # 5.3 LSH Families
2401.09350#175
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 175, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Let δ∗ = maxu,v∈X δ(u, v) and δ∗ = minu,v∈X δ(u, v). Denote by ∆ the aspect ratio: ∆ = δ∗/δ∗. Now, define a set of distances R = {(1 + ϵ)0, (1 + ϵ)1, . . . , ∆}, and construct |R| LSH indices for each r ∈ R.\nRetrieving vectors for query q is a matter of performing binary search over R to find the minimal distance such that PLEB succeeds and returns a point u ∈ X . That point u is the solution to the ϵ-approximate retrieval problem!\n5.3 LSH Families\nIt is easy to see that such a reduction adds to the time complexity by a factor of O(log log1+ϵ ∆), and to the space complexity by a factor of O(log1+ϵ ∆).\n# 5.3 LSH Families", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.011292389, -0.007822805, 0.014281168, 0.00087226875, 0.005022449, -0.000004403475, -0.005506501, -0.0012377445, -0.04948379, 0.03261668, 0.013332555, -0.017127005, -0.024728902, -0.014294162, -0.015619621, 0.013579454, 0.022026004, -0.035839364, -0.021714132, 0.02793859, 0.015658606, 0.010025405, 0.026288263, -0.004372714, 0.000068932786, -0.01522978, 0.049405824, 0.002171738, 0.077552326, -0.04787245, 0.01990787, -0.012273488, 0.018010644, -0.0016275853, -0.013183116, 0.0541099, -0.04025756, 0.04054344, 0.006533082, 0.038126428, 0.012260493, 0.026041364, -0.042414676, -0.0644017, 0.0111494465, 0.017568825, 0.012754291, 0.0152167855, -0.010766103, 0.020843487, -0.007705853, 0.019933859, -0.049639728, 0.0056949244, 0.0129492115, -0.040855315, 0.026184306, -0.0013514481, 0.08311406, -0.00088445126, 0.0014554056, -0.039503865, -0.014372131, -0.016542245, 0.0075499164, 0.029913783, -0.007478446, 0.021428248, 0.030433571, 0.001215816, -0.044259924, 0.016971068, 0.045039605, -0.017932676, 0.04438987, 0.035293587, 0.0023049337, 0.032850582, 0.012052578, 0.014437104, 0.024053177, -0.013657423, 0.06720855, 0.028094526, -0.03807445, -0.050003577, -0.0384383, 0.039867718, -0.056448948, -0.040699378, -0.051173102, -0.006156236, 0.02223392, -0.018335512, 0.034513906, 0.005577972, 0.063414104, -0.015853526, -0.007926763, 0.000738261, -0.040465474, -0.022506809, 0.02262376, -0.045845278, 0.050523367, 0.016854117, -0.0019037225, 0.016048446, -0.020700546, 0.0021311296, -0.030199666, 0.014567051, -0.020557605, 0.053850006, 0.04267457, -0.026340242, -0.06814417, -0.0091417665, -0.018595405, 0.03758065, -0.025443608, -0.0014456596, 0.054265838, -0.006399886, 0.02245483, -0.045585383, 0.03006972, -0.07942356, -0.0069911447, -0.020505626, 0.047196724, -0.006221209, 0.03339636, -0.00030943612, -0.011129955, 0.015632616, 0.0020726535, -0.004174545, 0.024443017, -0.012059075, 0.017243957, -0.010200834, -0.0020401669, 0.008667461, -0.015788551, 0.058580074, -0.059983503, 0.019128188, 0.02710693, 0.01415122, -0.0017689025, -0.08441353, -0.0087259365, 0.021402258, -0.017295936, -0.04405201, 0.008232138, -0.011968113, -0.02245483, 0.008686952, -0.0013685036, 0.0049964595, 0.007536922, -0.018517438, 0.014307157, 0.026613131, -0.030719453, -0.029471964, -0.04233671, -0.060815163, -0.018712359, -0.058995906, 0.009161258, -0.009349681, 0.0036417628, -0.043012433, -0.021233328, -0.046157148, -0.018582411, -0.033266414, -0.012202017, 0.0452995, 0.018452464, -0.02663912, 0.010096877, 0.041609008, -0.015489674, -0.02605436, 0.018582411, -0.016334329, -0.021467233, 0.06372598, 0.01603545, 0.025794465, 0.0006481103, -0.0008113561, 0.022831675, 0.015333738, -0.0052758455, -0.025105746, 0.00097460195, 0.049795665, 0.012650333, -0.049249887, -0.0005640509, -0.022636754, 0.0005360311, 0.018751342, -0.03513765, 0.014268173, -0.04704079, 0.0019183415, 0.01503486, -0.01503486, 0.00587685, 0.027756665, -0.052732464, 0.039659802, -0.05639697, 0.017932676, -0.037996482, 0.0045124074, 0.060295377, 0.04093328, -0.06590908, 0.026950993, 0.025937406, -0.0744336, 0.017360909, -0.047066778, 0.029471964, 0.01819257, -0.027366823, -0.042154785, 0.020947445, 0.0148529345, -0.0296279, -0.015827537, -0.055149477, -0.046287097, -0.03217486, -0.007829303, -0.024001198, 0.0017916433, 0.009479629, -0.010005914, -0.006399886, 0.007998234, 0.03602129, -0.034176044, -0.057800394, -0.02323451, -0.02262376, -0.057436544, -0.04527351, 0.023845261, -0.027210888, 0.03604728, -0.00071958115, 0.010018908, -0.000046166693, -0.006939166, 0.015047855, 0.0025843196, 0.016022457, 0.0014009903, 0.0020596588, -0.0023569125, -0.03604728, 0.0006716632, -0.02389724, 0.021129372, -0.0041907886, -0.006624045, -0.01503486, -0.0264442, -0.022155952, -0.035397545, -0.026613131, 0.041816924, -0.031603094, 0.011350865, 0.010155353, 0.015463685, 0.047170736, -0.019180167, 0.003401361, -0.0046715923, -0.040439483, -0.01819257, 0.020037817, -0.059775587, 0.016269356, -0.023637347, -0.03602129, 0.0166462, -0.05847612, -0.037814558, 0.0045708832, 0.011051986, 0.050497375, 0.015853526, 0.0313432, -0.018036634, -0.03479979, 0.027756665, 0.034721818, 0.01589251, -0.030147688, 0.031499136, 0.020427657, 0.026457194, 0.0046585975, 0.014502077, -0.069183744, -0.024845853, 0.017165989, -0.019998832, -0.0296279, -0.044181958, 0.040881306, -0.06434972, 0.014385126, -0.04753459, 0.034409948, -0.0046715923, -0.04904197, -0.07339402, -0.020778514, -0.046832874, 0.052628506, -0.026522169, -0.0023520393, 0.0016990561, -0.014021274, -0.02666511, -0.018114602, 0.033214435, -0.022155952, -0.0035930327, -0.01140934, 0.009265216, 0.016594224, 0.0027045205, 0.020869477, 0.021519212, 0.042440668, 0.023598362, 0.019349098, 0.029108113, -0.037944503, -0.019673966, 0.022857664, 0.0038659212, 0.060815163, -0.02184408, 0.022610765, -0.054525733, -0.08176261, 0.0266911, -0.018491449, -0.026067354, 0.020349689, -0.011916134, -0.012474906, 0.023793282, 0.043532223, 0.008362085, -0.023182532, -0.0002860863, -0.004483169, 0.024832858, 0.014476088, 0.0015999716, 0.014190204, -0.003199943, -0.006250447, 0.03804846, -0.011266399, 0.069339685, 0.007673366, -0.01545069, -0.032772616, -0.011565276, 0.0017932677, -0.031265233, -0.01882931, 0.0071535786, -0.021428248, -0.0131571265, -0.0042362697, 0.014164215, 0.0073290067, 0.03513765, -0.016815133, -0.025118742, 0.022311889, 0.07115894, 0.010636156, -0.0067962245, -0.019621987, -0.021662153, -0.024624944, -0.015775558, -0.04093328, -0.0065558227, -0.014995876, 0.05083524, -0.026795058, 0.03181101, 0.025300667, 0.01777674, 0.039036058, -0.042362697, 0.010967521, 0.007367991, 0.028796239, 0.031655073, 0.0090378085, 0.02433906, 0.018010644, -0.0043629683, -0.028770251, 0.013657423, 0.020284716, -0.0059515694, 0.038412314, 0.0044409363, 0.028276453, -0.018283533, -0.025924413, 0.015242775, 0.03300652, -0.009700539, -0.03591733, -0.045507416, 0.020115785, -0.008219143, -0.024741895, -0.05333022, 0.0060652727, 0.007874784, -0.041271146, -0.02012878, 0.026197301, -0.008511524, 0.018114602, -0.0068092193, 0.014359136, 0.046495013, -0.025040774, -0.0093042, 0.014904913, 0.011188431, 0.0075239274, -0.04444185, 0.045611374, -0.014684003, 0.010428241, 0.015931495, 0.0040251063, 0.021675147, -0.025105746, -0.0044474336, 0.018127596, 0.014917907, -0.0072445413, -0.020453647, -0.008375079, 0.0054025436, 0.010304792, -0.0558252, 0.05281043, -0.039088037, -0.0026704094, 0.03269465, 0.029965762, -0.05665686, 0.0073290067, 0.020596588, 0.035241608, -0.05125107, -0.012260493, 0.0023487906, 0.010948028, 0.062374525, 0.09137868, 0.03430599, -0.020557605, -0.0034078583, -0.06008746, -0.037944503, 0.017308932, -0.0139303105, 0.010636156, 0.058216225, 0.0067247534, 0.005269348, 0.025014784, 0.024650933, 0.020232737, 0.022298893, -0.009596581, 0.04324634, -0.0012133794, 0.033110477, 0.017308932, -0.026613131, -0.0026070604, 0.04111521, 0.03724279, 0.028016558, 0.013943305, 0.006214712, 0.019037224, 0.0050581843, -0.012656831, 0.024832858, -0.01819257, 0.025599545, -0.0015260642, -0.020869477, -0.014774966, -0.014606035, 0.017711766, -0.03560546, -0.05260252, -0.06377795, -0.013332555, -0.021402258, -0.0031398428, -0.012104557, -0.037294768, 0.03810044, -0.01315063, -0.004713825, -0.006932669, -0.015879516, 0.031057317, 0.0042525134, -0.02073953, 0.010291797, -0.027210888, 0.04527351, 0.0010590674, -0.024027187, 0.05883997, 0.0151128275, -0.008102191, -0.0013701279, 0.0032308055, -0.008297112, -0.020414663, 0.0011086097, 0.00012294197, 0.014060258, 0.010077384, 0.049951598, -0.017036043, -0.0011354113, -0.02580746, 0.038022473, 0.01990787, 0.014671008, -0.03565744, 0.016685186, 0.042596605, -0.0264442, 0.0032048163, 0.014865928, -0.03212288, -0.013059666, 0.029368006, 0.015619621, 0.020089796, -0.027158909, -0.013254587, -0.018400485, 0.0035118158, 0.000651359, -0.012936217, -0.036463108, -0.011708219, -0.014073253, -0.013553465, -0.022493813, -0.015658606, -0.010155353, -0.011038992, 0.035111662, 0.05002957, -0.02012878, -0.0065785632, -0.014320152, -0.04368816, 0.00401536, -0.004470174, 0.008095694, -0.031551115, -0.029575922, -0.0061952197, 0.022506809, 0.027340835, -0.003117102, -0.00050679303, -0.04306441, 0.013904322, 0.012039583, 0.018114602, 0.002186357, -0.02561254, 0.0034923237, -0.010610167, -0.0011873901, -0.017633798, 0.006952161, 0.010070887, -0.041634995, 0.031447157, -0.012241001, -0.019453056, -0.017919682, -0.0038854133, 0.040803336, 0.04028355, 0.018985247, 0.014658013, -0.03602129, 0.0071340865, -0.035215616, -0.020570599, 0.010701129, 0.01802364, 0.039867718, 0.010454231, 0.02752276, 0.0007967371, 0.02967988, 0.002306558, 0.020973435, 0.01882931, 0.057488523, 0.016815133, -0.071782686, 0.006412881, 0.0027467532, -0.014086247, 0.02093445, -0.03685295, -0.0057436544, -0.033110477, -0.010051395, 0.04400003, 0.021012418, 0.013579454, -0.015125822, 0.0071210917, 0.018920273, 0.014632024, -0.020869477, -0.004385709, -0.00044263172, 0.0012052577, -0.026158316, 0.01121442, 0.0075564138, 0.010044898, 0.019751932, 0.022441834, 0.0039763763, 0.05169289, 0.047560576, 0.056085095, -0.020765519, -0.01927113, -0.020232737, -0.03342235, 0.016906096, -0.014787961, -0.010668643, 0.010759606, -0.006952161, -0.035319574, -0.013111645, -0.03009571, -0.017880697, 0.00096241944, -0.008193154, -0.018322516, 0.0076863607, -0.008966338, 0.010818082, 0.01821856, -0.043714147, 0.02605436, -0.0054220357, -0.03214887, 0.006075019, 0.0156716, -0.054525733, -0.009947438, 0.044701744, -0.025924413, -0.015996467, -0.03396813, -0.054317817, -0.04322035, -0.017088022, 0.04472773, -0.017867703, 0.012572366, -0.0063479077, 0.002673658, -0.008771418, 0.0066987644, 0.01013586, -0.0051588933, 0.00046212377, -0.013813359, -0.010519204, -0.0232605, 0.0028230972, -0.062894315, 0.0077968156, -0.04101125, -0.0394259, -0.025690507, -0.0065883095, 0.018296529, -0.0019102199, 0.006939166, 0.0445718, 0.014086247, -0.0074589537, 0.028692283, 0.0050484384, -0.021064397, 0.03352631, -0.038126428, -0.000103805265, -0.023494406, -0.032408763, -0.011415837, 0.05153695, 0.010610167, 0.054525733, 0.030953359, -0.0025112245, -0.0094991205, 0.048496194, -0.029160092, 0.010597172, 0.012786778, -0.018595405, 0.03854226, -0.0018484951, -0.0009404909, -0.011779689, 0.00013106366, -0.017503852, -0.0028198485, -0.014164215, -0.05795633, -0.012253995, 0.02389724, 0.0037229795, -0.031109296, -0.054473754, 0.034825776, -0.028796239, -0.022077983, 0.03168106, 0.029030144, 0.022974618, 0.025118742, -0.03518963, -0.0014887045, -0.02345542, -0.013553465, -0.004522153, -0.03565744, -0.01966097, -0.008959841, -0.054057922, -0.004028355, 0.025781471, -0.020284716, -0.0007000891, 0.020388674, -0.046702925, 0.019362092, 0.0064193783, -0.01312464, -0.017971661, -0.0013953052, 0.004327233, -0.006445368, -0.08903964, 0.024378045, 0.017360909, -0.016438287, 0.013371539, 0.019063214, -0.002987155, -0.0066792723, -0.0039276457, -0.009901956, 0.012552873, -0.04272655, 0.0043109893, -0.01630834, -0.0060002995, 0.003180451, 0.006315421, 0.021168355, 0.021740122, -0.04563736, -0.02433906, 0.0013660671, 0.04950978, 0.03937392, 0.009421152, -0.0124359215, 0.0067247534, -0.00051166606, 0.009785004, 0.009823988, 0.0024592457, 0.016659196, -0.007777324, 0.045195542, -0.0065980554, -0.020115785, 0.024780879, 0.03136919, -0.029264048, 0.0003725822, -0.005308332, -0.03604728, 0.0099149505, -0.015957482, 0.041193176, -0.029082123, 0.004285, 0.01907621, 0.02608035, -0.0062601934, -0.0031495888, -0.008816899, 0.01628235, 0.015684595, -0.0067572403, 0.011838165, 0.03638514, -0.0037229795, -0.038412314, -0.0028637054, -0.027366823, -0.0037652124, 0.037502684, -0.03246074, -0.03602129, -0.016217377, -0.037294768, 0.02348141, 0.0002663912, 0.01608743, 0.0024966055, 0.0014399744, -0.030589508, 0.04646902, 0.058164246, -0.0049964595, -0.002590817, 0.033162456, -0.025079757, -0.026392221, 0.009992919, 0.0046066185, 0.012059075, 0.009856475, 0.0007264846, -0.03006972, 0.0050549353, -0.004285, -0.028120516, 5.4567556e-7, -0.0037424716, 0.021116376, 0.0017136751, 0.04950978, 0.022532798, -0.016009461, 0.0057696435, -0.036125246, 0.020349689, 0.01929712, 0.025794465, 0.03051154, 0.016022457, -0.04184291, -0.011935625, 0.010194337, 0.044493828, -0.024728902, 0.04319436, 0.014943897, 0.010558188, 0.001114295, -0.023832267, -0.001978442, -0.015281759, 0.027860621, -0.00029908097, 0.020570599, 0.019751932, -0.019621987, 0.014047263, 0.01824455, 0.03503369, 0.0009388666, -0.0029709118, -0.023845261, -0.0028117266, 0.028406398, 0.0028718272, 0.00012466783, 0.008238635, 0.0795795, -0.0062959287, 0.010467225, -0.016633207, 0.0093431845, -0.0030894883, 0.015437695, -0.0151648065, 0.030641487, 0.017399894, 0.037398726, 0.0026687852, 0.0042882487, -0.03674899, 0.04023157, -0.000003163015, 0.015801547, -0.05122508, 0.008518022, -0.0003155274, -0.003768461, -0.008076202, 0.026899014, -0.016815133, -0.012565868, 0.021636164, -0.021714132, 0.018764338, 0.009434147, 0.05462969, 0.006672775, 0.0073420014, 0.015502669, 0.031603094, -0.001858241, -0.03298053, -0.0012905354, -0.007367991, 0.050653312, 0.014008279, -0.031473145, -0.0072120545, 0.03342235, 0.024170129, 0.021506216, 0.033760212, 0.009700539, -0.035397545, -0.023793282, -0.016828127, 0.014943897, -0.042154785, 0.024663927, 0.04072537, 0.019790918, -0.029004155, -0.026847037, 0.029549932, 0.014800956, -0.0067247534, 0.023325473, 0.01645128, -0.0050646816, 0.025131736, 0.024663927, -0.04020558, 0.008173662, -0.012916725, 0.0010550066, -0.018985247, 0.07557713, 0.012325467, -0.0033071493, 0.0012759165, -0.0029660386, -0.004077085, -0.02602837, -0.000042613457, 0.019738939, -0.0026379228, 0.00057826383, 0.005178385, 0.0109935105, 0.0051101632, -0.014515072, 0.0044506826, 0.008147673, -0.012572366, -0.015593631, -0.0049444805, -0.026366232, 0.0054350304, 0.039114024, -0.014489083, -0.015983472, 0.03687894, -0.030407581, -0.04607918, 0.008810402, -0.002147373, 0.008959841, 0.006559071, -0.007627885, -0.024326066, -0.0043337303, -0.01603545, -0.04072537, -0.005834617, -0.015684595, 0.018712359, 0.0035540485, 0.0046521, 0.020193754, -0.0043792115, -0.028276453, 0.015086839, -0.023000607, -0.009265216, -0.029393995, -0.0021814841, 0.01483994, 0.0017201725, 0.016750159, -0.011844663, 0.011162441, -0.002610309, 0.03635915, 0.023936225, -0.025326656, -0.0061010085, -0.0021749868, 0.01608743, -0.013202608, -0.008946846, -0.015320743, 0.035891343, 0.01121442, 0.014917907, 0.006770235, -0.051017165, 0.0032161865, -0.003677498, -0.0005104478, -0.017919682, 0.020219741, 0.034903746, 0.030381592, 0.025209704, -0.008764921, -0.01921915, -0.0068547004, -0.005376554, 0.009115777, 0.009096285, -0.012695815, 0.03420203, -0.01133787, 0.043792114, -0.022506809, 0.021103382, 0.026379228, 0.0015561145, 0.02201301, 0.0127932755, -0.015632616, -0.012260493, 0.019375088, -0.014567051, -0.012643836, -0.014956892, 0.005457771, 0.044545807, -0.014956892, 0.032018922, 0.0047560576, -0.0073290067, 0.011571774, -0.047898438, -0.020674556, 0.032720637, 0.009895459, 0.021805095, 0.026899014, -0.0015853526, 0.024520986, -0.016516255, 0.026418211, -0.001032266, 0.0029221815, -0.023377452, 0.04496164, 0.00901182, -0.014463093, -0.016633207, 0.014138226, 0.022961622, 0.011084473, -0.0021684894, 0.024326066, -0.002291939, 0.023247506, 0.0068157166, -0.012819265, -0.032720637, -0.012819265, 0.0056819296, -0.046702925, -0.03849028, -0.008615482, -0.0031690807, 0.004759306, 0.034435935, -0.010051395, -0.028276453, 0.045585383, 0.021779105, 0.015489674, 0.0053343214, -0.0022903145, 0.039971676, -0.0030862396, -0.01777674, -0.0033883662, 0.023247506, 0.03352631, -0.0031869484, -0.005360311, -0.0013790618, -0.0051361523, -0.015983472, 0.02705495, -0.0010217078, 0.009050803, -0.00089094864, 0.014372131, 0.0077383397, 0.05132904, -0.004437688, 0.007920265, 0.035111662, -0.034098074, 0.02630126, 0.012026588, -0.0015674848, -0.0030017742, 0.0010436362, 0.043038424, -0.010252813, -0.002127881, 0.0016080933, -0.013891327, -0.021194344, -0.016243367, -0.035631448, 0.010681638, 0.01966097, 0.001804638, 0.0011061733, -0.013163624, 0.0073420014, -0.0004954227, -0.03295454, 0.050731283, 0.013943305, -0.017269947, 0.025534572, 0.029497953, 0.0067572403, -0.014346141, -0.013592449, -0.0029010652, 0.037970494, -0.013332555, -0.003700239, -0.029861804, 0.033110477, -0.008673958, -0.006351156, 0.014917907, -0.030433571, 0.012526884, -0.038334344, 0.011013002, -0.0016909344, -0.024806868, -0.024209114, 0.04696282, -0.026236285, 0.011363859, -0.012260493, -0.015749568, 0.0063186693, -0.012968703, 0.01124041, 0.014735982, 0.0072445413, 0.019595997, -0.02262376, 0.03945189, 0.0073225093, 0.016464276, -0.0138263535, -0.01780273, 0.0016633207, -0.0013132761, 0.0065265847, 0.0031252236, 0.01714, 0.033214435, -0.051952783, 0.00646486, 0.052836422, -0.021532206, -0.013488491, -0.001288099, 0.0152167855, -0.024105156, 0.016620213, 0.0066500343, -0.07219852, -0.0074264673, 0.046676937, 0.004535148, 0.0036839955, -0.000060151215, -0.029342016, -0.011760198, 0.041738953, 0.00002834975, 0.012182524, 0.0031252236, 0.025105746, -0.006432373, -0.00015289069, 0.026535163, -0.036463108, 0.0030586259, 0.0016665694, 0.00043897697, 0.00602304, 0.021285307, 0.0047690524, 0.029705869, 0.0057014218, -0.006692267, 0.006282934, -0.007238044, 0.007673366, 0.041531038, -0.013995284, -0.009161258, 0.024157135, 0.02749677, 0.029731857, -0.008654466, 0.014709992, -0.028016558, 0.006692267, -0.02348141, -0.001794892, 0.008836391, -0.030121699, 0.006172479, 0.010961023, 0.017945671, -0.014385126, -0.007095102, 0.030433571, -0.00793326, -0.03635915, 0.017165989, -0.014593041, -0.0009380544, 0.043766126, 0.033682246, 0.003256795, 0.022220924, 0.001765654, 0.0012564244, 0.010506209, -0.0026379228, 0.0071535786, 0.008258128, 0.04059542, -0.0012572366, -0.017321926, 0.0050484384, 0.0058541093, -0.0053927978, -0.021311296, -0.0017331672, 0.010883056, -0.015619621, -0.0296279, -0.019803911, -0.019193161, -0.004762555, -0.012812767, 0.028016558, -0.0034241015, -0.02608035, 0.021181349, 0.012864746, 0.015944488, -0.02428708, 0.014164215, -0.005714416, 0.028120516, -0.014709992, 0.021077393, 0.014008279, 0.0038691699, -0.009336687, 0.015788551, 0.010727119, -0.01902423, -0.030771432, 0.04813234, 0.004259011, 0.0042687566, -0.03009571, 0.007816308, -0.00021014854, 0.038386323, -0.03347433, 0.01354047, 0.030563518, -0.009700539, 0.013787369, 0.017308932, -0.026210295, -0.012370948, 0.037424717, -0.042960454, 0.013306566, 0.00834909, 0.008082699, -0.004356471, 0.013514481, 0.0039893705, 0.0072640334, -0.014372131, -0.028068537, -0.0035605459, -0.023026597, 0.012507392, 0.0024966055, 0.007595398, 0.01092204, -0.03776258, -0.014930902, 0.004863264, -0.023936225, 0.024222108, -0.00037075483, -0.0032421758, -0.017101016, -0.014359136, 0.031187262, 0.017646793, -0.00014314466, 0.025014784, -0.023611357, 0.019089203, 0.04522153, 0.053901985, 0.00051897555, 0.0027808642, -0.03428, 0.0025258434, 0.04438987, 0.01841348, -0.040569432, 0.028068537, 0.00044994123, -0.008459545, 0.0057079187, 0.02242884, 0.025690507, 0.02671709, 0.015086839, -0.0053245756, -0.0024007696, 0.007764329, -0.010447733, -0.02566452, 0.053850006, -0.029757846, 0.007432964, -0.02608035, -0.0041680476, 0.0032243081, 0.0009949062, -0.032408763, 0.0025989385, -0.008940348, -0.03168106, 0.0012003848, 0.0053148293, 0.0054512736, 0.002127881, 0.0021392514, -0.0017721512, -0.0034208528, 0.026327249, -0.018114602, 0.006026289, 0.022545792, 0.015281759, 0.0121760275, 0.014398119, 0.02073953, -0.007822805, -0.019154178, -0.03004373, -0.012513889, -0.0077513345, 0.00087551743, 0.051458985, -0.00073135755, 0.0022594521, -0.0021993518, 0.013436512, -0.015970478, 0.046287097, -0.0025924412, 0.016620213, -0.017698772, 0.030537529, 0.00879091, -0.020947445, -0.018426474, 0.006900182, -0.007179568, 0.006026289, -0.009278211, 0.0018160084, 0.012890736, 0.057384565, 0.0072640334, -0.027626717, -0.0015731701, 0.0025372137, 0.04155703, 0.008271122, 0.01586652, -0.02372831, 0.0067572403, -0.0104802195, 0.028510356, 0.004099826, 0.012682821, 0.016165398, -0.025248688, 0.013066164, 0.028848218, 0.015905505, -0.020570599, -0.022026004, -0.02835442, -0.0048047877, -0.0058898446, -0.028484367, -0.036593057, -0.0026233036, -0.011084473, 0.00047308803, -0.0020710293, -0.009629068, 0.02406617, 0.054369796, -0.016100425, -0.008557006, 0.031473145, -0.012390439, 0.0093431845, -0.043324307, -0.020232737, 0.009986422, -0.06616898, 0.020414663, 0.014580046, 0.034877755, 0.015346732, -0.014580046, -0.039555844, -0.0121760275, -0.025300667, -0.021220334, 0.013066164, 0.03859424, -0.0047885445, -0.012442418, 0.006422627, -0.0296279, 0.005080925, 0.020869477, -0.00401536, -0.014476088, 0.020193754, -0.013475496, 0.0117666945, -0.024637938, 0.034669843, 0.04441586, 0.0011808927, 0.019673966, 0.010382759 ]
2401.09350
176
# 5.3 LSH Families We have studied how LSH solves the PLEB problem of Definition 5.2, ana- lyzed its time and space complexity, and reviewed how a solution to PLEB leads to a solution to the ϵ-approximate top-k retrieval problem of Defini- tion 1.2. Throughout that discussion, we took for granted the existence of an LSH family that satisfies Definition 5.1 for a distance function of interest. In this section, we review example families and unpack their construction to complete the picture. # 5.3.1 Hamming Distance We start with the simpler case of Hamming distance over the space of binary vectors. That is, we assume that X ⊂ {0, 1}d and δ(u, v) = ∥u − v∥1, measur- ing the number of coordinates in which the two vectors u and v differ. For this setup, a hash family that maps a vector to one of its coordinates at random— a technique that is also known as bit sampling—is an LSH family [Indyk and Motwani, 1998], as the claim below shows.
2401.09350#176
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 176, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "# 5.3 LSH Families\nWe have studied how LSH solves the PLEB problem of Definition 5.2, ana- lyzed its time and space complexity, and reviewed how a solution to PLEB leads to a solution to the ϵ-approximate top-k retrieval problem of Defini- tion 1.2. Throughout that discussion, we took for granted the existence of an LSH family that satisfies Definition 5.1 for a distance function of interest. In this section, we review example families and unpack their construction to complete the picture.\n# 5.3.1 Hamming Distance\nWe start with the simpler case of Hamming distance over the space of binary vectors. That is, we assume that X ⊂ {0, 1}d and δ(u, v) = ∥u − v∥1, measur- ing the number of coordinates in which the two vectors u and v differ. For this setup, a hash family that maps a vector to one of its coordinates at random— a technique that is also known as bit sampling—is an LSH family [Indyk and Motwani, 1998], as the claim below shows.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.01192679, -0.00036695154, 0.022870433, -0.00007556014, 0.014796346, -0.028068816, 0.017758073, -0.01456285, -0.030993676, 0.043209266, 0.02016678, -0.014980687, -0.021002455, -0.016025279, -0.006169241, -0.010630266, 0.044462778, -0.002393346, -0.023595503, 0.03332865, 0.025242273, -0.0030999822, 0.007895891, -0.013579704, 0.017340237, -0.021125348, 0.047584265, -0.017143607, 0.034705054, -0.0760955, 0.002534673, -0.02472612, 0.021211375, -0.00088559947, -0.016234199, 0.0643469, -0.010101825, 0.0291257, 0.025758425, 0.018606037, -0.04529845, 0.013776333, -0.04561797, -0.07211376, -0.013346206, 0.014882372, 0.026127104, 0.012203299, -0.023140797, 0.007895891, -0.03912921, 0.030305475, -0.024701543, -0.033918537, 0.0048389216, -0.02529143, 0.009954353, -0.0022136145, 0.06459269, -0.03126404, 0.0103906235, -0.019011585, -0.03458216, 0.012989816, 0.015115869, 0.026790727, -0.013751755, 0.011975947, -0.0010914457, 0.022255966, -0.019699788, 0.026594099, 0.030993676, 0.007969627, 0.006802141, 0.01183462, -0.013333917, 0.009978931, 0.015042134, 0.06562499, 0.043749996, 0.02676615, 0.07393257, 0.0046422924, -0.005296699, -0.005557847, -0.019810392, 0.041709967, -0.08066712, -0.02529143, -0.041193817, -0.011588833, 0.02056004, -0.010433637, 0.033426963, -0.026987357, 0.04674859, -0.033377804, -0.008577948, -0.018864114, -0.03981741, -0.013960673, -0.003293539, -0.037949435, 0.05402387, -0.008737709, 0.001039216, -0.01491924, -0.03237008, 0.019318817, -0.083370775, 0.0027343747, -0.043135528, 0.06223314, 0.018593747, -0.007041783, -0.051762633, -0.019085322, -0.010697857, 0.014083566, -0.032591287, 0.006153879, 0.06252808, -0.03111657, 0.0052905544, -0.037408702, 0.0034901681, -0.08764746, 0.025758425, -0.013309338, 0.032517552, 0.010710146, -0.00892205, 0.019626051, -0.0017988499, 0.049181875, -0.013419942, -0.039940305, 0.0033887813, -0.0051830225, -0.010869907, -0.03364817, 0.023054773, 0.012442941, 0.015484549, 0.029740166, -0.03694171, 0.02526685, 0.00545646, 0.01453827, 0.008928195, -0.06626404, 0.008024929, 0.013727175, -0.03986657, -0.03708918, 0.007564079, 0.0034440833, -0.02676615, -0.015238763, 0.027823031, 0.032886233, 0.022821276, 0.024332862, 0.0032136585, 0.02929775, -0.0029525103, -0.032124296, -0.03401685, -0.049255613, -0.0049341638, -0.0760955, -0.0014447637, -0.0059265266, -0.017635182, -0.022698382, -0.020658355, -0.022120785, -0.044487353, -0.06326544, -0.01155811, 0.07044241, -0.013727175, -0.05726825, 0.007017204, 0.021911865, 0.013727175, -0.013112709, 0.03598314, -0.0053120605, -0.006537921, 0.055990163, 0.02166608, 0.0222191, 0.012467519, 0.016012989, 0.028904492, 0.036130615, -0.0075948024, -0.034606736, 0.003963307, 0.026422048, -0.0034195045, -0.030624997, -0.015926965, -0.013899226, -0.01453827, 0.009173981, 0.013174156, 0.040456455, -0.042619377, -0.0125105325, 0.07231039, -0.01453827, 0.0030185652, 0.025488058, -0.011275455, 0.015054422, -0.028240867, 0.036671344, -0.03807233, 0.013211024, 0.049231034, 0.039915726, -0.05638342, 0.022022469, -0.015079001, -0.061790723, 0.03421348, -0.00014747189, 0.016246486, 0.025156246, -0.018814955, -0.056334265, -0.0156197315, 0.01856917, -0.070540726, -0.025193116, -0.044831455, -0.042545643, -0.04566713, -0.0050785635, 0.01746313, 0.0054595326, 0.010710146, 0.012891501, -0.0055639916, -0.0005399622, 0.03074789, -0.019490868, -0.02907654, -0.026864463, -0.024713831, -0.038146064, -0.050165024, -0.002866485, -0.014722611, 0.0043135528, 0.028584968, -0.0034164323, -0.015521416, -0.015238763, 0.005361218, 0.014243327, -0.0010376798, -0.020474015, 0.013124999, -0.017549155, -0.010445925, -0.021801261, 0.014353931, 0.043135528, -0.01855688, -0.01854459, -0.0004416476, -0.03600772, -0.008719276, -0.019146768, -0.028978227, 0.038244378, -0.0060555646, -0.005499473, 0.03310744, 0.056481734, 0.022280546, 0.01963834, 0.0007481126, 0.016160462, -0.048444517, -0.049280193, 0.007478054, -0.023423452, 0.008952773, -0.014403088, -0.008559515, 0.05436797, -0.03853932, -0.036327243, -0.004543978, 0.010605687, 0.038121484, 0.011379914, 0.021874998, -0.009124824, -0.004221383, 0.0178441, -0.0015976122, 0.027995082, -0.00050923886, 0.011072681, 0.029273171, 0.00064941397, -0.010224718, 0.032615867, -0.060365163, -0.03947331, 0.04055477, -0.002950974, -0.049329348, -0.057464883, 0.018778088, -0.045150977, 0.016627455, -0.05254915, 0.048075836, 0.037752803, -0.021211375, -0.029936794, -0.018212778, -0.02384129, 0.02492275, -0.035860248, 0.010249296, -0.002448648, -0.013628861, -0.018200489, -0.003135314, 0.045224715, -0.04274227, -0.0008548761, -0.025955053, 0.0049034404, 0.018630616, -0.00055417174, -0.012184865, 0.018839534, 0.024357442, 0.025131669, -0.0015899313, 0.016307933, -0.049894657, -0.047780894, 0.0114229275, -0.024984196, 0.038121484, -0.03214887, 0.013407653, -0.060168535, -0.046969797, 0.017893257, -0.011244732, -0.00060025667, -0.004037043, -0.0059541776, -0.011214009, 0.02600421, 0.0068082856, -0.025586374, -0.027528087, -0.011803896, -0.013530546, 0.04674859, -0.0048850067, 0.012854634, -0.007004915, 0.005533268, 0.01163799, 0.018065307, 0.0009977395, 0.06867275, 0.003098446, 0.013272471, -0.03743328, -0.024222258, 0.022772118, -0.010716291, -0.035761934, 0.013751755, -0.013038973, -0.025156246, 0.043455053, 0.008135533, 0.0029048892, 0.047805473, -0.016897822, -0.049353927, 0.011005091, 0.05948033, 0.020990167, -0.013751755, -0.023484899, -0.03930126, -0.014415378, -0.035737354, -0.0338448, 0.022870433, 0.005342784, 0.062478926, 0.006900456, 0.05441713, 0.0136534395, 0.04131671, 0.022047048, -0.047977522, 0.011963657, -0.0033549855, 0.048444517, 0.004119996, 0.014304774, 0.01419417, 0.0535323, 0.014231037, -0.029740166, -0.0269382, 0.0018019222, 0.010273876, 0.009985076, -0.02091643, -0.0014578211, -0.018347962, -0.037531596, 0.04822331, 0.043381315, 0.0033058282, -0.024873592, -0.050091285, 0.023988761, 0.0005526356, -0.06169241, -0.057956453, 0.0429389, 0.028437497, -0.030305475, -0.04001404, 0.014145013, -0.035737354, -0.0094013335, -0.008442766, 0.011902211, 0.035860248, -0.008147822, -0.033721905, 0.024123944, 0.036302663, -0.020412568, -0.030895362, 0.00441494, -0.035737354, 0.0034655896, -0.021395713, -0.034090586, 0.007785287, -0.013555125, -0.027061092, 0.009874472, 0.010488939, 0.000016081733, -0.0073551605, 0.02146945, 0.019527737, 0.019318817, -0.031952243, 0.0417837, -0.029150277, -0.018458566, 0.047436792, 0.0069188895, -0.053974714, 0.023767553, 0.0031614287, 0.0064641847, -0.019712076, -0.04257022, 0.0050632018, -0.009413622, 0.026692413, 0.07830758, 0.03694171, 0.027159408, 0.016983846, -0.07447331, -0.05294241, 0.009628686, -0.011724016, 0.00017205054, 0.013899226, 0.002374912, 0.011607267, 0.030846205, 0.029740166, 0.00929073, -0.005616221, -0.0053950134, 0.017954703, -0.01182233, 0.030723311, 0.023632372, -0.04094803, -0.0071769655, 0.033943113, 0.006353581, 0.02526685, 0.033525277, 0.010243152, 0.010052667, -0.0020461725, -0.001447068, 0.022292834, -0.023632372, 0.0014985295, 0.004897296, 0.016811796, -0.024517203, -0.011939079, 0.021321978, -0.020068467, -0.04534761, -0.048665725, -0.003990958, -0.011982092, -0.02220681, -0.0024440393, -0.013198734, 0.038637634, 0.0035854105, -0.028142553, 0.031927664, -0.030477526, 0.036302663, 0.030723311, -0.011551965, 0.024283705, 0.00033161975, 0.040726822, 0.00050693465, -0.015066712, 0.0473139, 0.0061262283, 0.005152299, -0.009309163, -0.0022397293, -0.02220681, -0.010292309, -0.005650017, -0.009542661, 0.015853228, 0.017672049, 0.031165726, -0.016946979, 0.0040769833, -0.024443466, 0.0046914495, -0.017979281, 0.061741564, -0.033402383, 0.046060387, 0.029887637, 0.00026825292, 0.015853228, -0.015079001, -0.027724717, -0.0191099, 0.052106734, -0.006765273, -0.009837604, -0.014648875, -0.027749294, -0.010396768, 0.010642555, 0.012805476, 0.000779604, -0.053433985, -0.032247186, -0.032886233, 0.005149227, 0.015595153, -0.018876402, 0.012578123, -0.0055916426, 0.030797048, 0.03241924, -0.0017527649, 0.007846734, 0.0049034404, -0.011429071, -0.0043965057, -0.0007815242, -0.031731036, -0.029273171, -0.023730686, -0.033426963, 0.018974718, 0.031091992, 0.0052168183, -0.009542661, -0.025389744, -0.023448031, -0.0003172182, 0.0341889, 0.005253686, -0.030502103, 0.00028995125, 0.0015384698, -0.014943819, 0.0031522117, 0.030870782, 0.0043350593, -0.03915379, 0.030993676, -0.021739814, -0.0051461547, -0.024431176, 0.00673455, 0.01110955, 0.0067406944, 0.033500697, -0.0013349279, -0.028609548, -0.02384129, -0.016099015, -0.016221909, -0.0097638685, 0.018950138, 0.00764396, 0.015853228, 0.051320218, 0.008971207, 0.0382198, 0.0203757, 0.014808636, 0.014833215, 0.035589885, 0.019232793, -0.067837074, 0.011066536, 0.0066915373, -0.010089535, 0.028658705, -0.02400105, -0.010716291, 0.007656249, -0.0139115155, 0.03180477, 0.0095057925, 0.029224014, -0.009173981, -0.0052844095, 0.010734725, 0.04964887, -0.010931354, -0.004786692, 0.00033008357, 0.004712956, -0.025733845, 0.012277035, -0.007029494, 0.016639745, -0.008534936, 0.017254211, -0.014390799, 0.0291257, 0.039596204, 0.07103229, -0.017708916, -0.056530893, -0.049206454, -0.03362359, -0.0019709005, -0.03386938, -0.009069522, 0.0068512983, 0.00055532384, -0.04972261, -0.0065624993, -0.008381319, -0.0067468393, 0.011349191, -0.0042551784, 0.007262991, -0.0023349717, -0.003311973, -0.014820925, 0.024259126, -0.041415025, 0.049870078, -0.0039202943, -0.029789323, 0.026323734, 0.0020062323, -0.03797401, 0.0015930036, 0.0269382, -0.013395363, -0.025340587, -0.0055701365, -0.050435387, -0.01582865, 0.003812763, 0.026864463, -0.024431176, 0.0017189693, -0.002626843, -0.0013986788, 0.018839534, -0.012369205, -0.018053018, -0.0041445745, -0.015423102, -0.017684339, -0.008455055, -0.031091992, 0.022600068, -0.05313904, 0.0051062144, -0.016946979, -0.0069373236, -0.032443818, 0.00015198438, 0.01729108, -0.0064641847, 0.023620082, 0.056481734, 0.026102526, -0.0015837867, 0.0200316, 0.0067468393, -0.037212074, 0.023607792, -0.03600772, -0.005880442, -0.010114114, 0.008061796, 0.017205054, 0.039030895, 0.006347436, 0.028290026, 0.033746485, -0.022403438, 0.0029863059, 0.03472963, -0.029224014, 0.00900193, 0.012805476, -0.014034408, 0.015767204, 0.0036192061, -0.021604633, 0.015201895, 0.032247186, 0.011441361, 0.00053036114, 0.012295469, -0.034901682, -0.005828212, 0.02821629, -0.02711025, -0.03743328, -0.061446622, 0.030330053, -0.006820575, -0.025156246, 0.040481035, 0.0019309601, 0.038809687, 0.03942415, -0.015373945, 0.004159936, -0.019859549, -0.007803721, -0.024762988, -0.03799859, -0.026962778, -0.000057270172, -0.03966994, 0.0024471118, 0.012854634, -0.03949789, 0.0024194608, -0.015423102, -0.066116564, -0.0100219445, -0.00013681475, -0.015054422, -0.013604282, -0.017069872, 0.006660814, 0.019380264, -0.08951544, -0.0017573735, 0.029346908, 0.0010346075, 0.019589184, 0.023939604, 0.010986656, -0.007570224, -0.0117363045, -0.018802667, 0.025512638, 0.00085948466, 0.011582688, -0.0021583126, -0.034115165, -0.008172401, 0.021948734, -0.00064634165, 0.010292309, -0.0025531072, -0.013481389, -0.00095165457, 0.034066007, 0.01856917, 0.020498592, 0.010445925, 0.0028372977, -0.025488058, -0.021752104, 0.019970153, 0.006623946, -0.00025941996, -0.004808198, 0.007957337, -0.022538621, -0.043061793, 0.01453827, 0.021137638, -0.026839884, 0.0028987443, -0.006894311, -0.035933986, -0.012387639, -0.04092345, 0.05407303, -0.065035105, -0.015140448, 0.032615867, 0.017205054, -0.021002455, -0.013837779, -0.02166608, 0.03057584, 0.033967692, -0.034287214, 0.002190572, 0.014685743, 0.014575139, -0.014710321, 0.000030219257, -0.0028557319, 0.013997541, 0.01635709, 0.012989816, -0.046650276, -0.029518958, -0.033426963, 0.055744376, -0.008399753, 0.030502103, 0.014747189, -0.0076685385, -0.0010922137, 0.06965589, 0.05436797, 0.006086288, 0.0026099454, 0.02895365, -0.0341889, -0.026348311, 0.020584619, -0.024148522, -0.005659234, 0.021813551, 0.017880967, -0.00382198, 0.020990167, 0.012553545, -0.013186445, 0.009284585, 0.0052659754, 0.020363411, 0.020486305, 0.023042483, 0.005029406, -0.0068328646, -0.0062306877, -0.026716992, 0.030084267, -0.008067941, 0.017340237, 0.042545643, -0.004399578, -0.031755615, -0.0048757894, 0.00058028655, 0.043184686, 0.0034778789, 0.018225068, 0.019810392, 0.008614817, -0.006513342, -0.02620084, -0.0026852174, -0.02294417, 0.013850069, 0.025045643, 0.012246312, 0.01838483, -0.021973312, 0.0037697502, 0.017352527, 0.028486654, 0.004952598, -0.0064334613, -0.014525982, -0.011748594, 0.035786513, -0.03219803, 0.0014685743, 0.0000881855, 0.073735945, 0.006931179, -0.0012880748, -0.01620962, 0.033967692, 0.0046914495, 0.014992976, -0.056825835, 0.013899226, 0.030084267, 0.028707862, 0.013542836, 0.007877457, -0.028339183, 0.04242275, -0.007146242, -0.007441186, -0.038785107, 0.0010837648, -0.006912745, 0.02745435, -0.0044917483, 0.015877808, -0.000695883, -0.016664324, 0.034606736, -0.011435216, 0.014698032, 0.038268957, 0.016799506, 0.0043381318, -0.009272295, 0.021506317, 0.06439606, 0.021924155, -0.006789852, 0.013272471, -0.012842344, 0.027380615, 0.016824085, -0.011644135, -0.0151035795, 0.03146067, 0.032443818, 0.004073911, 0.022059338, -0.0076501044, -0.04057935, -0.027208565, 0.014784058, -0.016099015, -0.014095855, 0.023804422, 0.044634826, 0.022808986, -0.010630266, -0.0067038266, 0.010562674, 0.04819873, 0.00595725, 0.02836376, 0.024295995, 0.0027036513, 0.023497188, -0.013063552, -0.030674154, 0.029518958, -0.026962778, -0.012080406, -0.033181176, 0.057169937, -0.020338831, -0.01584094, 0.0071953996, 0.011066536, -0.016332513, -0.00019797334, 0.025758425, 0.029371485, 0.008977352, 0.0067775627, 0.009776157, 0.014710321, 0.016492274, -0.001586859, 0.01928195, -0.011939079, 0.021248242, 0.0031952243, -0.0022842782, -0.022747539, -0.002049245, 0.0407514, -0.0021690659, -0.026962778, 0.0124060735, -0.005398086, -0.057071622, 0.016996136, -0.012061972, -0.0037083037, 0.033525277, 0.004175298, -0.034631316, 0.0178441, 0.007226123, -0.032959968, 0.009622541, -0.024357442, 0.03416432, -0.015582863, -0.0019801175, -0.009235428, -0.020154493, -0.0417837, 0.0127686085, -0.035860248, 0.0027021153, -0.033549856, 0.02711025, 0.012104984, 0.014882372, 0.0017312586, -0.04709269, 0.01891327, -0.031534407, 0.06198735, 0.073588476, -0.022759829, 0.006113939, 0.0055517023, 0.0028849188, 0.020265097, -0.022722961, -0.016467694, 0.02966643, 0.01455056, 0.018323382, -0.006104722, -0.05879213, 0.024701543, -0.013788622, 0.02455407, -0.0081601115, 0.030182581, 0.015705757, 0.034852523, 0.013862358, -0.0023334355, 0.021580053, -0.026151683, 0.011939079, -0.019048452, -0.00060025667, -0.022059338, 0.017598312, 0.006986481, 0.039227523, -0.015693467, 0.020093046, 0.043725416, -0.006986481, 0.023632372, -0.0013595065, -0.0052229627, 0.030452946, 0.01491924, -0.004129213, -0.030035108, -0.014439956, 0.009548805, 0.03942415, -0.013985251, 0.031903088, -0.0054687494, -0.02836376, -0.012461375, -0.070786506, -0.025561795, 0.055941004, 0.005176878, 0.016615167, 0.010771593, -0.035024576, 0.028486654, -0.0004927251, -0.017880967, 0.0042920467, -0.018618327, -0.0132356025, 0.022022469, 0.010679423, 0.00066016713, 0.016074436, 0.010814605, 0.030035108, 0.01563202, -0.0013349279, 0.023165377, -0.0062675555, 0.011945223, 0.012246312, -0.019515447, -0.06346207, -0.023595503, 0.011724016, -0.017942414, -0.015521416, -0.03600772, 0.0067959963, 0.0088851815, 0.009604107, 0.025660109, -0.020301964, 0.012608847, -0.019232793, -0.013395363, -0.0028710933, -0.021739814, 0.040825136, -0.00014603174, -0.0048573557, -0.0028434424, 0.025168536, 0.01564431, -0.0097638685, -0.010888342, -0.015705757, 0.008356741, -0.00093936524, 0.008012639, 0.000082088845, 0.009745434, 0.0033181177, 0.03566362, 0.006150807, 0.031509828, -0.010292309, 0.015718047, 0.028511234, -0.018335672, 0.007926614, -0.0057483315, -0.020695223, -0.013579704, -0.011674859, 0.04748595, -0.011435216, -0.00009529027, 0.005576281, -0.009757724, -0.023583213, -0.004946453, -0.04876404, 0.020867273, 0.020867273, 0.008706986, 0.006513342, 0.002049245, -0.011158707, -0.02438202, -0.051271062, 0.032050557, 0.012240167, -0.024209969, 0.011115694, 0.015091291, 0.024074787, -0.023497188, -0.018778088, -0.013051263, 0.041218393, 0.0062552663, 0.024320573, -0.012621136, 0.03057584, -0.015066712, -0.0056745955, -0.0023380439, -0.023362005, 0.013678018, -0.040136933, -0.002142951, -0.01708216, -0.04382373, -0.03504915, 0.038785107, -0.0064887633, 0.029961374, -0.018900981, -0.01291608, 0.007932759, 0.02438202, 0.016836375, 0.017512288, -0.00075310515, 0.00007075963, -0.0035116745, 0.020412568, 0.0068758773, 0.033574436, -0.005880442, 0.015976122, 0.020080756, -0.014439956, 0.016025279, 0.0058097783, 0.0151035795, 0.0291257, -0.019601472, 0.042668536, 0.048960667, 0.012418362, -0.0020292748, -0.016983846, 0.008571804, -0.018261936, 0.016996136, -0.0087807225, -0.033451542, -0.011367626, 0.02765098, 0.028044239, -0.0020077685, -0.029518958, -0.04153792, -0.0050509125, 0.0316573, -0.014956108, 0.015533706, -0.0056868847, 0.022600068, -0.022415727, 0.026225418, 0.027896767, -0.049550556, -0.011988236, 0.0026022645, 0.016283356, 0.015779493, 0.009235428, 0.01785639, 0.038170643, 0.002931004, -0.018864114, 0.0080064945, 0.012707162, 0.034434687, 0.050484546, -0.024504913, -0.021604633, 0.016529141, 0.012172576, 0.02747893, -0.008657829, 0.019011585, -0.020252807, -0.016504563, -0.011939079, 0.00473139, 0.011386059, -0.029691009, 0.002774315, -0.015742624, 0.038293537, 0.007219978, 0.019331107, 0.039792832, 0.0060647815, -0.028240867, 0.0065747886, -0.008430476, -0.014022119, 0.0011805432, 0.019503158, 0.005560919, -0.0053028436, 0.01710674, 0.013604282, 0.028314603, -0.004258251, 0.010120259, -0.0051154313, 0.016320223, -0.004602352, -0.00048734853, -0.036646765, 0.015410813, 0.030256316, -0.017241923, -0.019220503, 0.016320223, -0.010660989, -0.018765798, -0.042668536, -0.012399929, -0.0071155187, 0.0058159227, 0.02327598, -0.0110112345, -0.022034759, 0.0444382, 0.0032320924, -0.0044487356, 0.0010200139, 0.030256316, 0.0069188895, 0.013690308, -0.004427229, 0.020056177, 0.018200489, -0.02294417, -0.008602527, -0.0125105325, -0.0036806527, -0.027405193, -0.009923629, 0.033377804, -0.0043657827, 0.0063412916, -0.038637634, -0.0005975684, -0.021174505, 0.02128511, -0.03477879, 0.01155811, 0.0034164323, -0.0073613054, -0.0075948024, -0.00045547308, -0.032271765, -0.029617272, -0.0076869726, 0.00097085664, 0.027306879, 0.0019785813, -0.0013295513, 0.0038742095, -0.00664238, 0.0027850682, -0.007207689, -0.0052567585, -0.00745962, -0.0153616555, -0.03504915, 0.02436973, -0.020510882, 0.01018785, 0.017426262, -0.011023524, -0.010077246, 0.011041958, -0.012295469, 0.0004489444, 0.021592343, -0.0069373236, 0.0074473307, -0.008510357, 0.028609548, 0.014808636, -0.017586023, 0.017229633, -0.021985602, -0.0016022207, 0.043774575, 0.033549856, 0.032025978, -0.0035024574, -0.040775977, -0.013542836, 0.0181882, -0.032861654, -0.049599715, 0.038490165, 0.012633425, 0.008086376, 0.014292484, 0.0117854625, 0.045077242, 0.006012552, 0.009130968, -0.0071769655, 0.0026959705, 0.009929774, 0.004267468, -0.025438901, 0.04561797, -0.042152382, 0.012817766, -0.02676615, -0.0146365855, -0.010519662, 0.0070479275, -0.03455758, -0.0038189075, -0.04367626, -0.023202244, -0.0047252453, 0.0029525103, -0.0012627281, -0.0063167126, -0.009948208, 0.0027528086, -0.012301614, 0.010034233, 0.01746313, 0.027356036, -0.027552666, 0.03509831, 0.00827686, 0.0018418625, 0.04055477, 0.006415027, -0.015165026, -0.013960673, -0.013727175, 0.01418188, 0.0025500348, 0.06223314, -0.0014324744, -0.004378072, 0.014980687, 0.02600421, 0.000259996, 0.062282298, 0.0062890616, 0.019540027, -0.009935919, 0.01182233, -0.0038434863, 0.010900631, -0.022956459, -0.010009655, 0.011287744, -0.0021874998, 0.01710674, 0.0062061087, 0.009653265, 0.04620786, 0.0038619202, -0.016983846, 0.018175911, 0.019920995, 0.0151035795, -0.023042483, 0.011883777, -0.032861654, 0.015337077, 0.022895012, 0.011908355, 0.032959968, 0.026594099, 0.012830054, -0.004427229, 0.0096102515, 0.025217693, -0.020596908, 0.0025024137, -0.019798102, -0.0069188895, -0.0011705582, -0.0052905544, -0.021358846, -0.018655194, -0.0040585496, -0.005585498, 0.0051000696, -0.0035608318, 0.0001252935, 0.038441006, 0.039596204, -0.01273174, -0.01837254, 0.010667134, -0.025082512, 0.0024271416, -0.044610247, -0.012184865, -0.012952948, -0.045568816, -0.010556529, 0.012129563, 0.018802667, -0.026864463, -0.028412918, -0.061397467, -0.02076896, -0.02711025, -0.010107969, 0.020338831, 0.054318815, -0.006537921, -0.02929775, -0.00409849, -0.02747893, 0.024676964, -0.020154493, 0.0007208457, -0.01083304, 0.01308813, -0.017684339, 0.022071626, -0.0051185037, 0.022587778, 0.013604282, 0.0006090896, 0.0015745697, -0.016111305 ]
2401.09350
177
Theorem 5.2 For X ⊂ {0, 1}d equipped with the Hamming distance, the family H = {hi | hi(u) = ui, 1 ≤ i ≤ d} is (r, (1 + ϵ)r, 1 − r/d, 1 − (1 + ϵ)r/d)- sensitive. Proof. The proof is trivial. For a given r and two vectors u,v € {0,1}4, if lu — vl]; <r, then P [hi(u) # hi(v)] < r/d, so that P [he(u) = hi(v)] 1—r/d, and therefore pj = 1 —1/d. pz is derived similarly. Oo IV # 5.3.2 Angular Distance Consider next the angular distance between two real vectors u, v ∈ Rd, de- fined as: 5(u, v) = arccos (ur), (5.1) Ilel2llella 63 64 5 Locality Sensitive Hashing ©, -) (a) Hyperplane LSH (b) Cross-polytope LSH
2401.09350#177
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 177, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Theorem 5.2 For X ⊂ {0, 1}d equipped with the Hamming distance, the family H = {hi | hi(u) = ui, 1 ≤ i ≤ d} is (r, (1 + ϵ)r, 1 − r/d, 1 − (1 + ϵ)r/d)- sensitive.\nProof. The proof is trivial. For a given r and two vectors u,v € {0,1}4, if lu — vl]; <r, then P [hi(u) # hi(v)] < r/d, so that P [he(u) = hi(v)] 1—r/d, and therefore pj = 1 —1/d. pz is derived similarly. Oo IV\n# 5.3.2 Angular Distance\nConsider next the angular distance between two real vectors u, v ∈ Rd, de- fined as:\n5(u, v) = arccos (ur), (5.1) Ilel2llella\n63\n64\n5 Locality Sensitive Hashing\n©, -)\n(a) Hyperplane LSH (b) Cross-polytope LSH", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.032840155, -0.0102424715, 0.017482625, 0.019830115, 0.020213127, -0.019583011, -0.0011119691, 0.00046872586, -0.03311197, 0.045145947, 0.0018146718, -0.009680309, -0.013170657, 0.017124325, -0.0134671815, 0.012176062, 0.02265946, -0.018223938, -0.012287259, 0.02474749, 0.023437837, 0.0049915058, 0.043712743, -0.008457143, 0.039684944, -0.01365251, 0.050532818, 0.022288803, 0.053226255, -0.043416217, 0.008037066, -0.030813899, 0.038770657, -0.02792278, -0.050804634, 0.06508726, -0.014406177, 0.08693127, 0.01863166, 0.029331274, -0.004957529, 0.03560772, -0.046233203, -0.060787644, -0.024735136, 0.026044788, 0.009760618, 0.00016640927, -0.034396913, -0.009019305, -0.020843243, 0.033482626, -0.01950888, -0.0042131273, -0.019027026, -0.002965251, -0.00093359075, 0.028145174, 0.0568834, -0.061578378, 0.0075675678, -0.034545172, -0.014319691, -0.0063320464, 0.0020988416, -0.00085096527, -0.027799228, 0.0111444015, 0.03138224, -0.015666408, -0.026588418, 0.02965251, 0.09987953, 0.00392278, 0.061578378, 0.0034285714, -0.0042532817, 0.025352895, -0.0051181465, 0.05243552, 0.019780695, 0.014579151, 0.057970658, -0.006616216, -0.025377607, -0.043861005, -0.0504834, 0.012484942, -0.04603552, -0.021745173, -0.0060478766, 0.0055598454, 0.031678766, -0.02557529, 0.006020077, -0.02291892, 0.049890347, 0.019088803, -0.03076448, -0.04188417, -0.036620848, -0.032395367, 0.013701931, -0.026983785, 0.062517375, -0.0203861, 0.0018826255, 0.010668726, -0.028639382, 0.016753668, -0.030542085, -0.0063135135, -0.015789961, 0.06286332, 0.03249421, -0.014233205, -0.044627026, -0.035335906, -0.024537452, 0.00032162163, -0.02237529, -0.03088803, 0.0535722, -0.031505793, -0.0004034749, -0.036917374, -0.0051552122, -0.06291274, -0.012268726, -0.01604942, 0.04141467, 0.01945946, -0.014715058, 0.0016432432, 0.0067335907, 0.02609421, 0.0028571428, -0.031011583, -0.012528186, 0.02178224, 0.006338224, -0.031777605, -0.00045405407, 0.024895754, 0.007913513, 0.0071845558, -0.07398301, 0.035879537, 0.050582238, 0.027823938, -0.00975444, -0.049643245, 0.027082626, 0.017593822, -0.021337451, -0.041735906, 0.01780386, 0.032222394, -0.017124325, 0.0010718147, 0.014196139, 0.007827027, 0.011867181, 0.012552896, 0.0071907337, 0.005210811, 0.009402317, -0.021633977, -0.04423166, -0.06113359, -0.025501158, -0.06760772, -0.003246332, -0.026069498, -0.002580695, 0.016098842, 0.0028787644, -0.030962162, -0.009562935, -0.04774054, -0.006511197, 0.05821776, 0.034471042, -0.04774054, 0.02732973, 0.0016015444, 0.032642473, -0.013627799, 0.028837066, 0.0012687258, 0.0013258688, 0.053374518, 0.013034749, 0.017915057, 0.005189189, -0.026415445, 0.008172973, 0.046208493, -0.012923552, -0.025056371, 0.02905946, 0.046307337, 0.0058718147, -0.020287259, -0.018520463, -0.050903473, 0.018471042, 0.03204942, -0.007048649, 0.024302702, -0.049915057, -0.016654827, 0.038869496, 0.025451737, -0.008, 0.030665638, -0.004583784, 0.014208494, -0.00010936293, 0.062566794, -0.059700385, 0.0168278, 0.021646332, 0.007023938, -0.04823475, 0.0064370655, 0.015468726, -0.062467955, 0.021683397, -0.0041019307, 0.04245251, -0.0013405406, 0.01538224, -0.052138995, 0.012262548, 0.008833976, -0.03938842, -0.04353977, -0.020917375, -0.043811582, -0.03202471, -0.02126332, 0.022832433, -0.0021945946, 0.006603861, 0.00037567568, 0.01019305, 0.03372973, 0.030369112, -0.04655444, -0.03434749, -0.019607723, -0.026835522, -0.048753668, -0.048432432, -0.005303475, -0.032444786, 0.021337451, 0.007345174, 0.015209266, -0.024661005, -0.027626256, 0.010520463, 0.028219305, 0.01483861, -0.009254054, -0.018693436, 0.019187644, -0.033457916, -0.024450965, 0.009451738, 0.032271814, -0.0040710424, 0.014542085, -0.018656371, -0.032420076, 0.00931583, 0.018668726, -0.02789807, 0.033013128, 0.01680309, 0.013516602, 0.025970656, 0.0284417, 0.027626256, -0.018829344, -0.040500388, -0.011836293, -0.03783166, -0.04366332, 0.042650193, -0.06800309, 0.0030471042, -0.04309498, -0.031629343, 0.03894363, -0.03019614, -0.04709807, -0.02735444, 0.0013436293, 0.05599382, 0.048605405, 0.007530502, -0.0038208493, -0.03607722, 0.02304247, 0.0028092663, 0.0284417, 0.013887258, -0.0015173745, 0.012454054, 0.0071783783, -0.030690348, 0.010341313, -0.06568031, -0.006103475, 0.033284944, -0.013603088, -0.021584556, -0.036349036, 0.024846332, -0.01775444, 0.00055945944, -0.05648803, 0.0071166023, 0.0012301159, -0.01514749, -0.029331274, 0.017000772, -0.035064094, 0.027033204, -0.014591506, 0.016172973, -0.013232432, -0.025155213, -0.028837066, -0.025427027, 0.054906562, -0.02567413, -0.03788108, -0.029603088, -0.016988417, 0.0033204632, 0.029874904, -0.012213128, 0.016728958, 0.026662549, 0.034569886, 0.010112741, 0.0029312742, -0.056092665, -0.03256834, -0.004302703, -0.0013652509, -0.019928958, -0.033927415, -0.016172973, -0.0673112, -0.03849884, 0.008049421, -0.022066409, 0.013145946, 0.00846332, 0.019891892, 0.023091892, 0.010464865, -0.014294981, -0.013170657, -0.021090347, -0.014122007, -0.036176063, 0.039338995, -0.050804634, -0.011410039, -0.010940541, 0.01638301, -0.00042586873, 0.027823938, 0.019311197, 0.034792278, 0.018693436, 0.02123861, -0.033976834, -0.029973745, 0.020818533, -0.002142085, -0.006227027, -0.012355212, 0.005377606, -0.01747027, 0.001203861, 0.006739768, -0.01452973, 0.04363861, -0.031752896, -0.064642474, 0.063209265, 0.034174517, 0.0005625483, 0.005254054, -0.038054053, -0.02557529, -0.019360619, -0.0183722, -0.04539305, 0.04942085, -0.013442471, 0.04309498, -0.0074563706, 0.027650965, -0.012633204, 0.006745946, 0.0082471045, -0.016840154, -0.007752896, 0.02799691, 0.05223784, -0.0067830114, 0.0053405403, -0.0052787643, -0.0020509653, 0.028861776, -0.05411583, -0.0108849425, -0.010088031, 0.0020092665, -0.0019969111, 0.017272586, 0.04143938, -0.03835058, -0.018112741, 0.044824712, 0.01595058, 0.025624711, -0.021337451, -0.039067183, 0.04650502, 0.0012316603, -0.037633978, -0.044429343, 0.018903475, 0.0019181467, -0.044058688, -0.024315057, -0.015233977, -0.011644788, 0.01894054, -0.02015135, 0.031061003, 0.044824712, -0.033383783, -0.03785637, -0.00094749033, 0.010922007, -0.009000773, -0.0476417, 0.01019305, 0.005457915, -0.0062517375, -0.0036324325, -0.029751351, 0.0050100386, -0.05470888, -0.017853282, 0.0035830117, 0.021003861, 0.015827026, -0.037732817, -0.014591506, 0.012003088, -0.0009111969, -0.0192, 0.08446023, -0.039413128, -0.011428571, 0.015444015, 0.011718919, -0.062566794, 0.0495444, 0.011935135, 0.05065637, -0.057871815, -0.060540542, 0.027848648, 0.016098842, 0.044033978, 0.06350579, 0.04309498, 0.052633204, 0.019941313, -0.06810193, -0.031802315, 0.029998455, -0.012194594, -0.024018534, 0.040895753, 0.0077899615, 0.010946718, 0.04494826, 0.017581467, 0.027082626, 0.012837065, 0.019830115, 0.022202317, 0.00033494207, 0.018446332, 0.02379614, -0.034199227, -0.0025590733, 0.042353667, 0.021288032, 0.00082857144, 0.01747027, 0.0071845558, 0.0046146717, 0.012614672, -0.0047474904, 0.033383783, -0.031530503, 0.007969112, 0.0021544402, 0.0014926641, -0.018755212, -0.01690193, 0.021720463, -0.0068324325, -0.025278764, -0.048580695, -0.035286486, -0.056092665, -0.0062084943, -0.017593822, 0.0021142857, 0.032247104, 0.019014671, -0.025624711, 0.012373745, -0.031975288, 0.042773746, 0.03029498, 0.00062818534, 0.0036015443, 0.014640926, 0.014640926, 0.017334362, -0.017853282, 0.008450965, 0.013170657, 0.008636293, 0.016111197, -0.019842472, -0.007944401, -0.025822394, 0.008963707, -0.0028803088, 0.019990733, 0.0045745173, 0.027502703, -0.022795366, 0.00081312744, -0.0015760618, -0.00017210425, 0.0053899614, 0.043440927, -0.0056432434, 0.072599225, 0.02557529, -0.035681855, 0.022313513, -0.00023320463, -0.024450965, -0.02854054, 0.049297296, -0.023005405, 0.027255598, -0.013813128, 0.0047382237, 0.0037776062, 0.014690348, 0.03140695, -0.01685251, -0.018779922, 0.001192278, -0.024969883, -0.0012586872, -0.004327413, -0.012188417, 0.0011081081, -0.00575444, 0.01889112, 0.03605251, 0.018816989, -0.0040370654, -0.0013830116, -0.0053806948, -0.026934363, -0.011274131, -0.020793822, -0.02012664, -0.035138223, 0.006572973, -0.0010818533, 0.054313514, -0.027749807, -0.025377607, -0.030739767, -0.016457142, 0.026390733, 0.013578379, -0.012762934, -0.020583784, 0.021732818, 0.026514286, 0.003996911, 0.011119691, 0.038795367, -0.00420695, -0.01969421, 0.036225483, -0.027230889, 0.0012471043, -0.03316139, 0.018779922, 0.013664865, -0.007326641, 0.0372139, 0.044404633, -0.019916601, 0.008543629, -0.050952896, -0.035879537, 0.0031490347, 0.038647104, -0.009952123, -0.009544401, 0.021115057, -0.011718919, 0.039141312, -0.0038393822, -0.019397683, -0.0072277994, 0.053374518, 0.030690348, -0.036596138, -0.00013793436, -0.003969112, -0.005241699, 0.018359846, -0.0571305, -0.024809266, -0.001684942, -0.012935908, 0.0134671815, -0.00890193, 0.024327412, -0.019595366, -0.00023050193, 0.013837838, 0.009945946, -0.027552124, 0.016420078, -0.016815444, -0.00094671815, -0.022202317, 0.013874903, -0.0039474904, 0.014072587, 0.027255598, 0.020101931, -0.00002478282, 0.034841698, 0.018508108, 0.06741004, 0.00029826254, -0.035904247, -0.03956139, -0.026662549, 0.021250965, -0.043218534, -0.0051366794, -0.0138501935, 0.0010247105, -0.035706565, 0.0016525097, -0.011403861, 0.0137266405, 0.03187645, -0.016667182, -0.020583784, -0.04467645, -0.014875676, -0.01595058, 0.047444016, -0.028664093, 0.048135906, 0.0015861004, -0.0072277994, 0.029010039, 0.01628417, -0.06854672, 0.008234749, 0.04425637, -0.020435521, -0.0004111969, -0.013491892, -0.048135906, -0.01768031, -0.0141096525, 0.032840155, -0.00054015446, 0.012849421, 0.015938224, 0.0059243245, -0.0002976834, -0.003453282, -0.0020833977, 0.029949035, -0.016037066, -0.03385328, -0.007592278, -0.020447876, -0.0002737452, -0.05974981, 0.0224, -0.028194595, -0.017247876, -0.036423165, -0.01625946, 0.007827027, -0.017247876, -0.0011451738, 0.030047877, 0.026415445, 0.021176834, 0.00903166, 0.012262548, -0.010823166, 0.037016217, -0.030146718, -0.018050965, 0.0030069498, -0.009562935, 0.0043212357, 0.025896525, -0.008982239, 0.05816834, 0.030171428, -0.029553669, 0.0027119692, 0.060935907, -0.008982239, 0.00975444, -0.018557528, -0.02846641, 0.018878765, 0.0006166023, -0.017050194, 0.02389498, 0.0021235521, 0.000086969114, 0.0144926645, 0.0007779923, -0.032420076, 0.020843243, 0.051644787, -0.036596138, -0.034174517, -0.042674903, 0.016778378, 0.00611583, -0.0009930502, 0.033408493, -0.012318146, 0.019830115, 0.05352278, -0.011626255, -0.011286487, -0.039932046, -0.022313513, -0.023573745, -0.004988417, -0.030665638, -0.0115274135, -0.048111197, -0.0066285715, -0.0042440156, -0.022486487, 0.008716602, 0.036892664, -0.0604417, -0.0147521235, 0.009050193, -0.0015505791, -0.019953668, 0.0013791505, 0.017593822, 0.0017250965, -0.09429498, -0.0011799228, 0.050804634, -0.013924324, 0.03385328, 0.0144926645, 0.022906564, 0.010205406, 0.00044942086, -0.030122008, 0.010273359, -0.00081853283, -0.02391969, -0.002030888, -0.015369884, -0.04353977, 0.0033111968, 0.0021621622, 0.0014316603, -0.019088803, -0.008846332, -0.025044015, 0.08866101, 0.05070579, -0.0072710426, 0.010378378, 0.0010301159, -0.04252664, 0.0063752895, 0.010779923, 0.0012710425, -0.008753668, -0.014134363, 0.025254054, -0.01282471, -0.03741158, 0.019558301, 0.04250193, 0.005145946, 0.0215722, 0.02379614, -0.06923861, 0.0060509653, -0.043243244, 0.043885715, -0.058563706, -0.005649421, -0.0023474903, 0.020410812, 0.0040432434, -0.041513514, -0.0077899615, 0.015802316, 0.016642472, -0.038029343, 0.030146718, 0.014332047, 0.027280308, -0.020460231, -0.011576834, -0.0061899615, 0.0028942085, 0.022622393, -0.010483398, -0.021844015, -0.015777607, -0.042749036, 0.038820077, -0.004126641, 0.011379151, 0.010007722, -0.011675675, -0.02209112, 0.042872585, 0.03474286, -0.007851738, -0.0070054056, 0.019904247, -0.039981466, -0.009396139, 0.023598455, -0.004135907, -0.024376834, 0.032914285, 0.009822394, 0.00012664092, 0.025797684, -0.0032030889, -0.03083861, 0.0049204635, -0.01249112, 0.026538996, -0.00575444, 0.04487413, 0.0010293436, -0.009655599, 0.0021436294, -0.040945172, 0.023203088, 0.020349035, 0.022857143, 0.032864865, -0.004972973, -0.011274131, -0.006888031, 0.02071969, 0.021411583, -0.011737452, 0.03259305, -0.0070054056, 0.0039135134, 0.008290348, -0.04294672, -0.01455444, -0.025451737, 0.015419305, 0.002203861, 0.0065976833, 0.013010039, -0.033581465, 0.006412355, 0.0247722, 0.029528957, 0.032889575, 0.008500386, -0.028762935, -0.032247104, 0.01824865, -0.022597684, -0.005034749, 0.026291892, 0.053077992, 0.017532047, 0.009618533, -0.0003030888, 0.042328957, -0.0038393822, 0.009383784, -0.053176835, -0.0032216217, 0.022560617, 0.02335135, 0.030023167, 0.005068726, -0.02007722, 0.023573745, -0.012145174, -0.021337451, -0.018594595, 0.0026563706, -0.0147521235, 0.0038949808, -0.014826255, 0.0035830117, 0.0041173743, 0.014517374, 0.04470116, -0.0006166023, 0.034471042, 0.03615135, 0.005430116, 0.008994594, -0.029726641, 0.032716602, 0.044528186, 0.0011057915, -0.00078764476, 0.006616216, -0.0068942085, 0.008389189, 0.04472587, -0.022869498, -0.057970658, 0.023598455, 0.013664865, 0.008253282, 0.037955213, 0.01543166, -0.022078764, -0.023944402, 0.054955985, 0.017124325, -0.01927413, 0.00016023166, 0.04131583, 0.017890347, -0.0026023167, -0.049840927, 0.03031969, 0.01604942, 0.028244015, 0.01775444, 0.02214054, 0.00802471, 0.030171428, -0.009044016, -0.027774516, 0.02159691, -0.0022594593, -0.00846332, 0.012614672, 0.053720463, -0.025995366, -0.01538224, 0.007962935, 0.0060911197, 0.014542085, -0.0037992278, 0.013825483, 0.023326641, 0.01509807, 0.026563706, -0.00846332, -0.0006023166, -0.003607722, 0.0096679535, 0.042625483, 0.024043243, 0.0046702703, 0.01251583, 0.0026764479, -0.028342858, -0.0030023167, 0.030344402, -0.027156757, -0.013837838, 0.0070054056, -0.014702703, -0.06484015, 0.0013088803, -0.0021513514, 0.0200278, 0.00787027, -0.017915057, -0.024117375, -0.006653282, -0.0047814674, -0.03607722, -0.014393822, -0.030097296, 0.00451583, -0.0137266405, -0.01922471, -0.0041173743, -0.0064185327, -0.028589962, 0.031184556, -0.03545946, 0.0027397682, -0.022931274, 0.014566795, -0.0066471044, 0.010069498, 0.021510424, -0.024327412, 0.0036756757, -0.016840154, 0.035904247, 0.041093435, -0.00017635136, 0.015493437, 0.0076972973, 0.018433977, -0.010384556, 0.01661776, -0.037979923, 0.014727413, 0.02681081, -0.005538224, 0.0032710424, -0.028960617, 0.020176062, -0.011521235, 0.0027011584, -0.007684942, 0.026687259, 0.02624247, 0.033359073, 0.0064185327, -0.0134671815, -0.0010633204, -0.038597684, -0.016420078, -0.008661004, 0.014319691, -0.03251892, 0.022041699, -0.0015081081, 0.038128186, 0.01827336, 0.017667953, 0.0003996139, -0.0009482626, 0.0014718147, 0.023400772, -0.01019305, -0.0062084943, 0.00696834, 0.012416989, -0.0028216217, 0.005664865, 0.018693436, 0.038869496, -0.049667954, 0.049470272, 0.0029791505, -0.021955213, -0.00063050195, -0.040871043, -0.029776061, 0.03891892, -0.009933591, 0.038054053, 0.034619305, -0.022931274, 0.009890348, -0.009050193, 0.01827336, -0.011348262, -0.007400772, -0.016815444, 0.039141312, 0.0075366795, 0.019422393, -0.00096061773, 0.015789961, 0.015678765, 0.0022501932, -0.0135907335, 0.021918146, -0.025624711, 0.010582239, -0.008691892, -0.018520463, -0.055400774, -0.019261776, -0.00885251, -0.032197684, -0.020497298, 0.0025899613, 0.029603088, 0.022622393, 0.010637837, 0.008222394, -0.019644788, 0.019743629, 0.025970656, 0.0037745174, 0.0021297298, -0.041933592, 0.05762471, 0.004796911, -0.014282625, 0.0021899615, -0.005192278, 0.02268417, -0.009964479, 0.024142085, -0.028491119, -0.003342085, 0.0065482627, 0.009945946, -0.016778378, 0.009334363, 0.0057482626, 0.032321237, 0.0011899614, 0.024525097, -0.029183012, 0.018026255, 0.025167568, -0.05129884, 0.006715058, 0.013269498, 0.017247876, -0.0072092665, -0.00025791506, 0.024710424, -0.019990733, -0.0013451737, -0.021708108, 0.00503166, -0.01661776, -0.0076355212, -0.040450964, 0.013578379, 0.01571583, 0.0010610039, 0.021139769, -0.009618533, -0.013170657, -0.028738223, -0.045640156, 0.030739767, 0.0072277994, -0.023499614, 0.011107336, 0.00913668, 0.0051088803, -0.02327722, 0.0053096525, 0.008716602, 0.051990733, -0.012676448, 0.0106934365, -0.015419305, 0.022177607, -0.010662548, -0.0074934363, 0.02732973, 0.017346717, 0.022585329, -0.026637837, -0.007573745, -0.010749035, -0.025822394, -0.03610193, 0.00913668, -0.035113513, 0.020064864, -0.0014818533, -0.0009938224, 0.006943629, 0.013318919, 0.0050749034, 0.021065637, 0.00830888, 0.013998455, -0.027650965, 0.057476446, 0.0012787645, 0.03076448, -0.017297298, 0.019904247, -0.012911197, -0.009698842, 0.019237066, -0.0066100387, 0.028169883, 0.011440926, -0.0267861, 0.022585329, 0.026662549, -0.0044293436, -0.004179151, -0.024080308, 0.0011861004, -0.013541313, 0.021745173, 0.010149807, -0.023672586, 0.008543629, 0.034594595, 0.022486487, 0.0065420847, -0.013133591, -0.020942084, -0.011385328, 0.032963708, -0.038795367, 0.0050749034, -0.0048432434, 0.030393822, 0.014282625, 0.019434748, 0.010384556, -0.051545948, 0.017025482, -0.00044247104, 0.020225482, 0.0061559845, 0.0080555985, 0.007153668, 0.028911198, 0.0110084945, 0.0017621622, -0.003453282, 0.032247104, 0.011193822, 0.034199227, -0.018730503, -0.003811583, 0.021967568, 0.017050194, 0.03894363, -0.0031938225, 0.024080308, -0.01630888, 0.015938224, -0.021979922, -0.00088262546, -0.008043244, -0.0035953668, -0.0034594594, -0.014134363, 0.012311969, -0.009896525, 0.014134363, 0.03496525, 0.010433977, -0.011447105, 0.0010123552, -0.031703476, 0.0022563706, -0.0033050193, 0.0252417, 0.000246139, 0.0072030886, 0.01770502, 0.013776062, 0.024562161, 0.003545946, 0.00052509655, 0.019261776, 0.020756757, -0.0058409264, -0.01233668, -0.022943629, 0.006310425, 0.010909652, -0.018508108, 0.008469498, 0.018149806, 0.0041142856, -0.03323552, -0.039808493, -0.018298069, -0.008216216, 0.000050241313, 0.039857917, -0.0119783785, -0.024759846, 0.021152124, 0.025377607, 0.01770502, 0.014047876, 0.029430116, 0.007172201, -0.003081081, -0.0034162162, 0.036966797, 0.014517374, 0.018223938, -0.0002972973, -0.019867182, 0.0039444016, -0.008790733, -0.02071969, 0.033952124, -0.0020277991, 0.005519691, -0.032815445, 0.008302703, 0.017742084, 0.023474904, -0.03498996, 0.019780695, 0.0028864865, 0.006307336, 0.023709653, 0.032938994, -0.027033204, 0.0066903476, 0.0030471042, -0.022029344, 0.050508108, 0.016988417, 0.0005548262, 0.023511969, -0.0023938224, -0.009785328, 0.0039938223, 0.004299614, -0.004559073, -0.0070054056, 0.00025752897, 0.011601544, -0.002315058, 0.0064864866, 0.033754442, -0.012713513, -0.020497298, 0.010773745, -0.03031969, 0.0059861005, -0.00044671816, -0.020966796, -0.005881081, -0.022523552, 0.022745946, 0.0035397683, 0.009785328, 0.0086980695, -0.019187644, 0.00021274132, 0.034100387, 0.034816988, 0.0111444015, -0.01282471, -0.03135753, -0.011298842, 0.036843244, -0.013603088, -0.04709807, 0.022165252, 0.004627027, 0.016172973, -0.014690348, 0.0052169883, 0.0336556, -0.013022394, 0.0058440156, 0.025303476, -0.00073397683, -0.0036324325, -0.00495444, -0.009525869, 0.05871197, -0.03835058, -0.007592278, -0.010359845, 0.01122471, 0.021275675, -0.013405405, -0.014134363, 0.02564942, -0.019360619, -0.018001545, -0.00828417, -0.010032432, 0.0052324324, -0.0054486487, -0.01367722, -0.012454054, 0.0028741313, 0.0256, -0.010860232, 0.014974518, 0.0007683398, 0.03471815, -0.00013368725, -0.0062795365, 0.03360618, 0.0036818532, -0.0123057915, 0.0060942085, 0.02144865, 0.014072587, 0.010594594, 0.037633978, -0.0011876448, 0.015579923, 0.0023011584, 0.009074903, 0.0009868726, 0.050582238, -0.0024277992, 0.019138224, -0.0017019305, 0.0041204635, 0.015789961, -0.0022486486, -0.005053282, 0.02391969, 0.000008910473, 0.021337451, 0.024376834, 0.0066718147, 0.03192587, 0.034026254, -0.014023166, -0.025266409, -0.005300386, 0.021065637, 0.025105791, -0.013899614, 0.007153668, -0.0047444017, 0.025303476, 0.026514286, 0.028342858, 0.007110425, 0.02095444, -0.0067027025, -0.006820077, 0.020880308, 0.024833977, 0.0040710424, 0.0041513513, -0.024908109, -0.031950578, 0.008203861, -0.00203861, -0.019014671, 0.0023984555, -0.011039382, 0.008457143, -0.012664093, 0.0006, -0.0032803088, 0.027650965, 0.04848185, -0.007882626, -0.02237529, 0.025945947, -0.0072277994, -0.0003069498, -0.032938994, -0.018841699, -0.015814671, -0.0367444, -0.010594594, 0.008074131, 0.014517374, -0.009964479, 0.020608494, -0.04667799, -0.0018054054, -0.018174518, -0.028145174, 0.040969886, 0.024253283, 0.002557529, -0.011125869, 0.013380695, -0.02965251, 0.0101189185, -0.025068726, 0.019583011, -0.0148139, 0.024018534, -0.015419305, 0.0065359073, -0.0033760618, 0.037288032, 0.009840927, -0.00929112, 0.00054594595, 0.00874749 ]
2401.09350
178
Fig. 5.2: Illustration of hyperplane and cross-polytope LSH functions for an- gular distance in R2. In hyperplane LSH, we draw random directions (a and b) to define hyperplanes (A and B), and record +1 or −1 depending on which side of the hyperplane a vector (u and v) lies. For example, ha(u) = −1, ha(v) = +1, and hb(u) = hb(v) = −1. It is easy to see that the probability of a hash collision for two vectors u and v correlates with the angle between them. A cross-polytope LSH function, on the other hand, randomly rotates and normalizes (using matrix A or B) the vector (u), and records the clos- est standard basis vector as its hash. Note that, the cross-polytope is the L1 ball, which in R2 is a rotated square. As an example, hA(u) = −e1 and hB(u) = +e1. # 5.3.2.1 Hyperplane LSH
2401.09350#178
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 178, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Fig. 5.2: Illustration of hyperplane and cross-polytope LSH functions for an- gular distance in R2. In hyperplane LSH, we draw random directions (a and b) to define hyperplanes (A and B), and record +1 or −1 depending on which side of the hyperplane a vector (u and v) lies. For example, ha(u) = −1, ha(v) = +1, and hb(u) = hb(v) = −1. It is easy to see that the probability of a hash collision for two vectors u and v correlates with the angle between them. A cross-polytope LSH function, on the other hand, randomly rotates and normalizes (using matrix A or B) the vector (u), and records the clos- est standard basis vector as its hash. Note that, the cross-polytope is the L1 ball, which in R2 is a rotated square. As an example, hA(u) = −e1 and hB(u) = +e1.\n# 5.3.2.1 Hyperplane LSH", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.0538747, -0.011482909, 0.04738704, 0.013999036, 0.036187813, -0.05012518, 0.019154627, -0.002155358, -0.018673602, 0.033819694, -0.021140393, -0.00038466512, 0.015318768, 0.015084423, -0.038037907, -0.019647986, 0.020622367, -0.02977416, -0.008448757, -0.033548348, -0.01941364, 0.01270397, 0.048546433, 0.043218166, -0.0075483783, -0.015405105, 0.051703926, -0.02693735, 0.03941931, -0.01947531, 0.015269432, -0.030982887, 0.023200164, -0.038457263, -0.021054056, 0.020264683, -0.019438308, 0.04272481, 0.02565462, 0.0185996, -0.013036987, 0.020721039, -0.022521796, -0.059252303, -0.0032160778, -0.009947333, 0.008596764, -0.006351985, -0.021917433, 0.017427875, -0.008670768, 0.022435458, -0.009182627, -0.0043847198, -0.031032223, -0.001312795, 0.011371903, 0.026542664, 0.04551228, -0.02477891, 0.021399407, -0.018550264, 0.0019965584, 0.018476259, 0.0112979, -0.0028907699, -0.021769425, 0.006678835, 0.0029370224, -0.0007465895, -0.017995236, 0.035965804, 0.080072016, 0.011606249, 0.030020839, 0.0075360443, 0.0030264433, 0.02400187, 0.01619448, 0.059696328, 0.011569247, 0.03211761, 0.04270014, 0.009682152, -0.012192111, -0.024815911, -0.026221981, 0.02553128, -0.060929723, -0.007943065, -0.00878794, -0.012327785, 0.0067960075, -0.028244749, 0.019031288, -0.00039892626, 0.009953499, -0.031476244, -0.000091637405, -0.04462424, -0.029280802, 0.010009002, 0.019154627, -0.041812096, 0.067047365, -0.0043137996, -0.005186427, -0.000013128913, -0.00764705, 0.015849128, -0.049163133, -0.021115726, -0.052098613, 0.023237165, 0.037445877, -0.029601485, -0.021029389, -0.0023958702, 0.003450423, 0.005870961, -0.017612884, -0.02977416, 0.061965775, -0.043489516, -0.01476374, -0.035817795, 0.009453974, -0.075483784, 0.007190694, -0.0057044527, 0.009688319, 0.026493328, -0.02918213, -0.013197328, -0.021263734, 0.042798813, 0.027307369, -0.018858612, 0.017403206, -0.028392756, 0.0053806864, 0.002727345, 0.002065937, -0.021670753, -0.055996142, 0.05071721, -0.06374186, 0.023200164, -0.0144923935, 0.035497114, 0.0046930686, -0.03367169, 0.017723888, 0.02812141, -0.046424996, -0.022916483, 0.004292215, 0.023163162, -0.022016104, -0.0034905083, 0.030292185, 0.0055471947, 0.022978151, 0.03342501, -0.00040933304, -0.009342968, 0.011513744, -0.03118023, -0.028047407, -0.0750891, -0.048891786, -0.072918326, -0.04225612, -0.041861434, -0.015133759, 0.0051956773, -0.010465358, -0.06023902, -0.036089145, -0.026147978, -0.009632817, 0.04590697, 0.028516097, -0.031007554, 0.0054886085, 0.034880415, 0.027825395, -0.023422174, 0.026443992, 0.01097105, 0.0038697773, 0.04272481, 0.030020839, 0.020967718, 0.04109673, -0.021769425, 0.03801324, 0.01641649, -0.012512794, -0.017390871, 0.038777944, 0.027356705, 0.021769425, -0.03379503, -0.036804512, -0.008380921, 0.024100542, 0.018229581, -0.009429306, 0.034041706, -0.04800374, -0.040208682, 0.018920282, -0.010946382, -0.01276564, 0.024815911, -0.0064444896, 0.03811191, -0.017440207, 0.039443977, -0.08012135, 0.022509461, 0.023200164, 0.011797424, -0.064975254, 0.019462977, 0.03011951, -0.07617448, 0.063347176, 0.013888029, 0.03011951, 0.009651317, 0.027924066, -0.06808341, 0.028417425, -0.024741907, -0.041318737, -0.038210582, -0.0070180185, -0.024137544, -0.023212498, -0.015762791, 0.029552149, -0.0065616625, 0.038876615, -0.0024868331, 0.016404156, 0.026789343, 0.030982887, -0.05471341, -0.04200944, 0.016120475, -0.017563548, -0.026419325, -0.035965804, 0.003709436, -0.0133946715, -0.022484794, 0.04055403, -0.020030338, -0.015861463, 0.0057229535, -0.03808724, 0.014480059, -0.0058031245, -0.022435458, -0.03342501, -0.0020551446, -0.054022707, -0.059992343, -0.0018901781, 0.057525553, 0.003336334, -0.02122673, -0.0127163045, -0.047239035, -0.010675035, 0.014776074, -0.011365737, 0.021621417, 0.0064753247, -0.009589648, 0.014615733, 0.039962005, 0.044895586, -0.0050908388, -0.06966216, 0.0067960075, -0.022879481, -0.053381342, 0.0064321556, -0.023496179, 0.0010977217, 0.009922665, -0.0078012245, 0.049039792, -0.029453477, -0.012901314, -0.010446857, 0.012901314, 0.055256102, 0.01566412, 0.008306917, -0.013542679, 0.0023943284, 0.025925966, 0.047461048, 0.03238896, 0.0029462727, 0.0014500102, 0.0049890834, 0.026394656, -0.038851947, 0.011735755, -0.0129506495, 0.008578263, 0.05565079, 0.017995236, -0.02469257, -0.03823525, 0.017958233, -0.033597685, 0.037396543, -0.060535036, 0.022632802, -0.0003158648, -0.009453974, -0.007869061, 0.028935451, -0.03426372, 0.059498984, -0.044648904, -0.030686872, 0.0070056845, 0.011470575, -0.042675473, 0.0031574916, 0.048694443, -0.012247615, -0.040381357, -0.020030338, -0.0063211503, 0.0032654137, 0.025901299, -0.024433559, 0.014874746, 0.017501878, 0.022657469, 0.022953484, 0.028787443, -0.03130357, -0.06759006, -0.01829125, 0.05377603, 0.023545515, -0.015047421, -0.0016727922, -0.06068304, -0.062459134, 0.02506259, -0.031204898, -0.027726723, -0.019450642, 0.022028439, 0.021880431, 0.010792208, 0.01276564, -0.03081021, -0.001993475, 0.017514212, -0.030489529, 0.017699221, -0.042428795, -0.025901299, -0.0007893729, 0.02743071, 0.014048371, 0.0034288387, 0.020486694, 0.037421208, -0.031500913, -0.010224846, -0.034165047, -0.048891786, -0.00044826206, -0.040825382, -0.013715355, 0.007671718, -0.010039837, -0.027850064, 0.012290783, -0.0021507328, -0.018019903, 0.05446673, -0.007906063, -0.042552132, 0.045117594, 0.028417425, -0.0033394175, 0.0018177162, -0.059795, -0.055848133, -0.0067590056, -0.023348171, -0.036878515, 0.024088208, -0.023964869, 0.04731304, 0.0053868536, 0.05175326, 0.030489529, 0.014369054, 0.023101492, -0.05106256, 0.022361454, -0.009756156, 0.069514155, -0.02178176, 0.0005750705, 0.026641335, 0.008337751, 0.0166385, -0.023853863, -0.023483844, 0.002240154, 0.00013856424, 0.011254731, 0.0166385, 0.008171243, -0.027110025, 0.00088110665, 0.041935436, 0.03801324, -0.007949232, -0.01517076, -0.041368075, 0.0078012245, -0.0016373321, -0.0034072541, -0.035250433, 0.0116185825, 0.054910753, -0.048521765, -0.009719154, -0.0358918, -0.010218679, 0.018685937, -0.0110943895, -0.0077272207, 0.035817795, 0.0091086235, -0.00883111, 0.029601485, -0.002366577, 0.020634701, -0.023237165, 0.041269403, -0.033523683, 0.016058804, 0.011581581, -0.032980986, 0.01835292, -0.03917263, -0.0049983338, 0.011902263, 0.044056877, 0.016786508, -0.03485575, 0.009231963, 0.0205977, 0.013382338, -0.006364319, 0.09511944, -0.00062055193, -0.022164112, 0.026789343, -0.0025731707, -0.08051604, 0.032783642, 0.00032954777, 0.03280831, -0.05000184, -0.029798828, 0.00312049, 0.012488126, 0.05520677, 0.071388915, 0.036508497, 0.005667451, -0.0053066825, -0.062459134, -0.016071139, 0.04117073, -0.0126114655, -0.0026086308, 0.00777039, -0.015762791, 0.019425973, 0.016922181, -0.017205862, 0.04637566, -0.0021383988, 0.010823043, 0.018698271, 0.027134694, 0.044796914, 0.024926916, -0.0047239037, -0.023274167, 0.034929752, 0.0021044805, 0.03542311, -0.015109091, -0.009682152, -0.022484794, 0.0048996625, -0.026098642, 0.021362405, -0.02031402, -0.0029709407, 0.01250046, 0.008491926, -0.037273202, -0.018587265, 0.02375519, -0.024840578, -0.004292215, -0.04551228, -0.037273202, -0.05915363, 0.0033887532, -0.009293633, -0.017526545, 0.0205977, 0.0028198496, -0.006395154, -0.0061238073, -0.023915533, 0.007221529, 0.027529381, -0.008750939, 0.015072089, 0.03036619, 0.008479591, -0.00823908, -0.014541729, 0.01984533, -0.008658434, 0.015762791, 0.003203744, 0.0070118518, -0.05377603, -0.032166947, 0.004834909, -0.0067096697, -0.0083254175, 0.011593915, 0.043292172, -0.027307369, -0.01335767, -0.0023927866, -0.005041503, -0.0101015065, 0.03386903, -0.022669803, 0.04543828, 0.011735755, -0.004418638, 0.03978933, -0.011729588, -0.012518961, -0.029922167, 0.060387027, -0.01741554, 0.007153692, 0.00043400092, -0.007696386, -0.021720089, 0.01757588, 0.006166976, -0.007597714, -0.049335808, -0.025555948, -0.026443992, -0.004131874, 0.02706069, -0.02369352, 0.017094858, -0.015133759, 0.016971517, 0.019783659, -0.006237896, -0.014085373, 0.0090037845, -0.020980053, 0.016539829, 0.03083488, -0.009133291, -0.013073989, -0.010261848, 0.0067220037, 0.02375519, 0.026986687, -0.015183095, -0.034091044, -0.037273202, -0.01853793, 0.039345305, 0.02181876, 0.009472475, -0.015269432, 0.015516112, 0.021720089, -0.012173611, -0.009891829, 0.008084905, -0.01716886, -0.021436408, 0.03670584, -0.01184676, 0.00638282, 0.013542679, 0.019919332, 0.019179296, 0.0048164083, 0.017144194, 0.01710719, -0.019721989, -0.025013255, -0.013221996, -0.050396528, -0.013986701, 0.03174759, 0.020375688, 0.029379474, 0.032561634, -0.0021353154, -0.008528927, -0.0033887532, -0.005359102, 0.005161759, 0.021387072, 0.036483828, -0.06625799, 0.0013544221, -0.006623332, -0.02247246, 0.04706636, -0.021387072, -0.026221981, -0.006237896, 0.0108600445, 0.012389455, 0.0013405464, 0.001342859, -0.050174516, 0.024729574, -0.011815926, 0.04538894, -0.036187813, -0.0073510353, 0.007190694, -0.038851947, -0.007745722, 0.01029885, -0.019117625, -0.019512312, 0.0053498517, 0.014369054, -0.035373773, -0.0023527013, 0.02078271, 0.05446673, -0.026394656, -0.041836765, 0.0068206755, -0.05283865, 0.020955384, -0.03682918, 0.017255198, -0.0027936401, -0.026986687, -0.032931652, -0.023977201, -0.014110041, 0.016872846, 0.010736705, 0.00391603, 0.0011555371, -0.025013255, -0.023397507, 0.015602449, 0.028244749, -0.047362376, 0.034189716, 0.02000567, -0.023903199, 0.020585366, -0.012000935, -0.024791243, 0.034091044, 0.03776656, -0.00004711955, -0.023927866, -0.0007955399, -0.040850047, -0.0003189483, 0.0013328376, 0.0064814915, -0.017045522, -0.018439258, -0.0059264638, -0.0016542913, -0.00069763913, -0.002673384, 0.015960133, 0.025703955, -0.041910768, -0.014282716, -0.012340119, -0.026517997, 0.0019533895, -0.050174516, -0.004221295, -0.024236215, -0.022571132, -0.07499043, -0.020178346, 0.02106639, -0.024581566, 0.024606233, 0.03332634, 0.025309268, -0.017896565, 0.03564512, 0.024310218, -0.008387087, 0.015454441, -0.0192903, -0.023520846, -0.0046499, 0.021115726, -0.023360504, 0.025753291, 0.0070920223, 0.033128995, 0.023323502, -0.004353885, 0.009416972, 0.03187093, 0.0028938535, 0.0088742785, -0.011199228, -0.0046499, -0.020733373, -0.01647816, -0.04447623, 0.015812127, 0.034387056, -0.0065369946, 0.015096757, 0.0140237035, -0.03626182, 0.026863348, 0.044056877, -0.034633737, -0.025827294, -0.045684956, 0.018648935, -0.003499759, -0.002716553, 0.01666317, -0.0020813544, 0.015429773, 0.036656506, -0.031525582, 0.0050476696, -0.031155562, -0.0017190445, -0.047683056, -0.031525582, -0.017316869, 0.016811177, -0.019981002, 0.0005334434, -0.007400371, -0.034288388, -0.022201113, 0.034461062, -0.044994257, -0.025950635, -0.013579681, 0.038851947, -0.015997136, 0.004763989, 0.031007554, 0.008929781, -0.10330918, -0.013653684, 0.016342485, 0.0027597216, 0.018562598, -0.011661751, 0.030859547, -0.0024791243, -0.012432624, -0.010089173, 0.025383273, -0.024458226, -0.021165062, -0.0039468645, -0.011267065, -0.02418688, 0.015750457, 0.027677387, -0.005624282, -0.031624254, -0.006666501, -0.0010823043, 0.043292172, 0.04928647, -0.024273217, -0.0054269386, 0.007677885, -0.0065801633, -0.014208713, -0.0027905565, 0.009891829, 0.04496959, 0.030958219, -0.000016898959, -0.020166012, -0.03517643, 0.023138493, 0.028664105, -0.021658419, 0.010927881, 0.013518011, -0.06152175, -0.0053313505, -0.036187813, 0.04210811, -0.06216312, 0.0012195195, -0.014739072, 0.017538879, -0.033622354, -0.0075607123, -0.028886115, 0.03761855, 0.01694685, -0.03729787, 0.012259948, 0.0043323007, 0.009324468, -0.007159859, 0.00005198568, -0.001325129, 0.034411725, 0.037223868, -0.021707755, -0.025013255, -0.025309268, -0.05426939, 0.037248533, -0.011088222, 0.0064814915, -0.016268482, 0.006641833, 0.009466308, 0.035546448, 0.04896579, 0.011569247, 0.009355302, 0.026567332, -0.0140237035, -0.016626166, 0.04731304, 0.004797907, 0.03364702, 0.030094841, 0.021054056, 0.011242397, 0.0205977, 0.012802642, -0.0099966675, -0.008393254, -0.013258998, 0.004671484, 0.020363355, 0.029823495, 0.02540794, -0.026369989, 0.001896345, -0.021966768, 0.014307384, -0.017847229, 0.03621248, -0.00076123606, -0.0002676853, -0.008504259, -0.0042182114, 0.0017899647, 0.026221981, -0.011452074, 0.0013629016, -0.009780824, -0.023520846, -0.021276066, -0.035719123, -0.004292215, -0.0000021259204, 0.009349136, 0.017982902, 0.020610033, 0.01947531, -0.02371819, 0.010847711, -0.0097623225, 0.03108156, 0.009731488, -0.012999985, -0.029478144, -0.0064999927, 0.015651785, -0.025210597, 0.013049321, -0.025753291, 0.03226562, 0.0023742856, -0.027233366, -0.018328253, 0.020104341, -0.016009469, 0.025037922, -0.062212452, 0.010021335, 0.017612884, 0.035546448, 0.018217247, -0.0049274135, -0.025728622, 0.047831066, 0.007073521, -0.004039369, -0.036163148, -0.0030264433, 0.014381388, 0.0159478, 0.011994768, 0.024236215, -0.021165062, 0.029157462, 0.04104739, -0.017205862, -0.0019410556, 0.035373773, -0.021078724, 0.044229552, -0.015688786, 0.028170746, -0.004366219, 0.026098642, -0.010631867, 0.022447793, -0.018500928, -0.011920764, 0.018994285, -0.020585366, -0.03268497, 0.040504698, 0.014899414, 0.0055626123, 0.016120475, -0.017181195, -0.048521765, -0.010570196, 0.0067220037, 0.0005577259, -0.0445009, 0.018032238, 0.012216779, 0.017921232, -0.010015169, -0.033499014, 0.014406055, -0.013777024, 0.0069193467, 0.012272282, 0.0252476, 0.008683102, 0.049607154, 0.011119057, 0.0047547384, -0.006863844, -0.017452542, -0.026517997, -0.020684037, 0.031525582, 0.005174093, -0.010342019, 0.0054392726, -0.00950331, -0.030637536, -0.012975317, 0.022805477, 0.01988233, 0.0021784843, 0.020055005, -0.00392528, 0.013271332, 0.016120475, -0.036952518, 0.01947531, -0.021498078, 0.014578731, -0.01023718, 0.0034165047, -0.035349105, -0.012216779, 0.023039822, -0.028047407, -0.028491428, 0.001324358, -0.021658419, -0.046745677, -0.0022771559, 0.007141358, -0.010027503, 0.032018937, -0.006438323, -0.038037907, 0.013752356, 0.0065801633, -0.039468646, -0.017464876, -0.0001221832, 0.0025978386, -0.028146079, -0.0048287422, -0.011341069, -0.02487758, -0.04117073, 0.024815911, -0.028466761, -0.0061268904, -0.025605284, -0.00056736177, -0.006894679, 0.021387072, 0.01554078, -0.025099592, -0.0038944453, 0.012025603, 0.050914552, 0.034387056, -0.010551696, -0.012851978, 0.029354805, 0.025580617, 0.0006664188, -0.010446857, -0.018315919, 0.009805491, 0.029330138, -0.009213462, 0.021041721, -0.054664075, 0.0019857662, 0.020869046, 0.009737655, 0.0052604303, 0.0014500102, 0.01323433, 0.020437358, 0.00518951, -0.02671534, 0.013419339, 0.012124275, -0.016798843, -0.009774657, 0.023113826, -0.019499978, 0.024359554, 0.020499028, 0.014184045, 0.017230531, 0.011606249, 0.034411725, 0.029502813, 0.0036508497, 0.00831925, 0.001709794, 0.0019102208, -0.002331117, 0.0025777959, 0.0007870603, -0.00051262986, 0.01137807, 0.03483108, -0.03421438, 0.04109673, 0.0019518479, -0.040677372, -0.021239065, -0.018981952, -0.058068246, 0.025605284, -0.002269447, 0.0081157405, 0.015035087, -0.013715355, 0.01535577, 0.007048853, 0.00008277238, 0.005846293, -0.020153677, -0.0144677255, 0.03468307, -0.0050476696, 0.018007569, 0.009947333, -0.008535095, 0.029280802, 0.020733373, -0.008356253, 0.01050236, -0.0003083488, 0.029132795, 0.012037937, -0.02447056, -0.064629905, -0.009534145, 0.023742856, -0.028072074, -0.01335767, -0.02353318, -0.0030480279, 0.013407006, 0.015035087, 0.008806442, -0.0068083415, 0.017859561, -0.0031004471, 0.009164127, -0.00034727782, -0.033400342, 0.049804498, 0.010200178, -0.016860511, -0.016256148, 0.0030757792, 0.013370004, 0.0019133043, -0.006678835, -0.014443058, -0.013851028, 0.0005835501, -0.005174093, -0.01441839, 0.0029786495, 0.03470774, 0.0524933, -0.0026147978, 0.017674552, 0.004492642, -0.000083832325, 0.0052110944, -0.03626182, -0.0032222448, -0.0055903634, -0.016465826, -0.018994285, -0.017464876, 0.044229552, -0.008966783, 0.011920764, -0.025235265, -0.0063211503, -0.020018004, 0.0034041707, -0.04025802, 0.0038204417, -0.015220096, 0.012494293, 0.01763755, -0.034411725, -0.018636601, -0.030514197, -0.03036619, 0.026271317, -0.012457292, -0.00345659, -0.0013775482, 0.024359554, 0.0033640855, -0.024902249, 0.02765272, 0.027924066, 0.027258033, 0.010551696, 0.0013382338, -0.0041164565, 0.02516126, -0.010083006, -0.019499978, 0.008343918, -0.006129974, 0.032536965, -0.04709103, -0.0063057328, -0.040973388, -0.008461091, -0.033252332, 0.032068275, -0.026517997, 0.010428356, -0.01482541, 0.009157959, -0.011322568, 0.005581113, -0.0042120446, 0.024729574, -0.0019318052, 0.008294582, -0.054664075, 0.032413624, 0.015133759, 0.034165047, -0.004427889, 0.01123623, 0.0065554953, -0.012383288, 0.013283666, 0.0075237104, -0.001908679, 0.04025802, -0.0058216252, 0.039863333, 0.041861434, -0.02834342, -0.021794092, -0.0053991876, -0.008818775, -0.00372177, 0.026369989, 0.018389922, -0.016897514, -0.010527028, 0.014344386, 0.021695422, 0.018747607, -0.019105291, -0.039813995, 0.018550264, 0.01835292, -0.023866197, 0.012179777, -0.013690687, 0.037248533, 0.008726271, 0.009145625, 0.02743071, -0.04400754, 0.03729787, -0.0038759443, -0.0049459147, 0.020906048, -0.022262784, 0.026690671, 0.030859547, 0.012753306, 0.008670768, -0.010224846, 0.0010784499, 0.027480045, 0.01935197, -0.025333937, -0.0077642226, 0.032314952, -0.018155577, 0.033277, 0.02004267, 0.0278994, 0.0026456327, -0.0007955399, 0.010810709, -0.014233381, 0.0023866196, -0.0069193467, -0.010453024, 0.0015710371, 0.032610968, 0.016095808, 0.013431674, 0.040381357, -0.024174545, -0.018044572, -0.032660306, -0.032462962, -0.0045728125, 0.013370004, 0.02787473, -0.001517847, -0.015084423, 0.007406538, 0.0075360443, 0.033054993, -0.026024638, 0.025198264, -0.026542664, 0.014813076, 0.00084950094, -0.03036619, -0.044994257, -0.0057907905, 0.013456342, -0.018019903, -0.014924082, 0.026320653, -0.027751392, -0.016120475, -0.029724823, -0.017329203, 0.011199228, -0.0072955326, 0.036755174, -0.022608133, -0.045339607, 0.008282249, 0.011575414, 0.008744772, -0.0028953953, 0.015220096, 0.005642783, 0.0029724825, -0.010829209, 0.017316869, 0.030020839, 0.010668868, -0.036039807, -0.027603384, -0.017526545, -0.016872846, -0.003817358, 0.031451575, -0.008917447, 0.035225768, -0.044673573, 0.018562598, 0.006654167, 0.014036037, -0.04785573, -0.0065123267, -0.0031405324, 0.00023569411, 0.029922167, 0.042798813, -0.020375688, 0.0005172551, 0.032906983, -0.019956334, 0.06576463, 0.006281065, -0.021855762, 0.0077642226, 0.0073140333, -0.024273217, -0.0016157477, 0.0075052097, 0.0007423497, -0.032314952, 0.02031402, -0.0068823453, -0.016564498, 0.0024883747, -0.0016450408, -0.0352751, -0.038753275, -0.0018022987, -0.003943781, 0.0061762263, 0.0030264433, 0.000033484754, 0.0055718627, -0.017094858, 0.023237165, 0.0023804526, 0.033005655, 0.014665069, 0.00060128013, -0.0030881132, 0.012938315, 0.039715324, -0.00391603, 0.000047673613, -0.032166947, 0.008251414, 0.050766546, -0.033918366, -0.010095339, 0.02871344, 0.009712987, 0.014073039, -0.008041737, 0.039221965, 0.013271332, -0.00037772727, 0.008084905, 0.01554078, -0.009854827, 0.02965082, 0.005920297, -0.02624665, 0.02871344, -0.03529977, -0.014048371, 0.0053282673, 0.00050260854, 0.015787458, 0.011458241, -0.008942115, -0.002378911, -0.04309483, 0.0016820427, -0.0054238555, -0.006364319, -0.0025377106, -0.008387087, -0.021152727, -0.009848661, 0.0028075157, 0.014060705, -0.0020273933, 0.018340586, 0.014085373, 0.033819694, 0.0042552133, -0.013258998, 0.022645136, -0.0010930964, -0.003931447, -0.018118575, -0.022608133, 0.00891128, 0.010064505, 0.06359386, -0.0070241857, -0.017699221, 0.01182826, 0.027381374, 0.0053498517, 0.04894112, 0.020264683, 0.001668167, -0.054417394, 0.0051586754, 0.019018954, 0.0001896345, -0.010958716, -0.0040208683, -0.006888512, -0.027134694, -0.011741922, -0.012124275, 0.018266583, 0.04612898, -0.005935714, -0.04600564, 0.0065616625, 0.04307016, 0.024359554, -0.012962983, -0.01710719, 0.0037495214, 0.0020135175, 0.020116676, 0.0056582005, 0.0007423497, 0.0044772243, -0.000200234, -0.016009469, 0.011384238, 0.022423124, -0.006863844, -0.0059418813, -0.04235479, -0.033227667, 0.005972716, -0.014689737, -0.0064691575, -0.00023530867, -0.021559747, 0.0060251355, 0.010496193, -0.004859577, 0.014899414, 0.015516112, 0.043292172, -0.028762776, 0.008602931, 0.005346768, -0.01716886, 0.0007516002, -0.023594849, -0.02440889, 0.0025793377, -0.04938514, 0.0029231466, -0.0046406495, -0.005864794, 0.0036601003, -0.003715603, -0.037001856, -0.03872861, 0.0074682077, -0.035842463, 0.031599585, 0.03024285, 0.01782256, -0.004511143, 0.015873795, -0.03515176, 0.006715837, -0.014615733, -0.011260898, -0.02496392, -0.0030881132, -0.019166961, -0.0065739965, -0.000091203794, 0.024976252, 0.020511363, -0.0166015, -0.023015155, 0.009897997 ]
2401.09350
179
# 5.3.2.1 Hyperplane LSH For this distance function, one simple LSH family is the set of hash functions that project a vector onto a randomly chosen direction and record the sign of the projection. Put differently, a hash function in this family is characterized by a random hyperplane, which is in turn defined by a unit vector sampled uniformly at random. When applied to an input vector u, the function returns a binary value (from {−1, 1}) indicating on which side of the hyperplane u is located. This procedure, which is known as sign random projections or hy- perplane LSH [Charikar, 2002], is illustrated in Figure 5.2(a) and formalized in the following claim. Theorem 5.3 For X ⊂ Rd equipped with the angular distance of Equa- tion (5.1), the family H = {hr | hr(u) = Sign(⟨r, u⟩), r ∼ Sd−1} is (θ, (1 + ϵ)θ, 1 − θ/π, 1 − (1 + ϵ)θ/π)-sensitive for θ ∈ [0, π], and Sd−1 de- noting the d-dimensional hypersphere.
2401.09350#179
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 179, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "# 5.3.2.1 Hyperplane LSH\nFor this distance function, one simple LSH family is the set of hash functions that project a vector onto a randomly chosen direction and record the sign of the projection. Put differently, a hash function in this family is characterized by a random hyperplane, which is in turn defined by a unit vector sampled uniformly at random. When applied to an input vector u, the function returns a binary value (from {−1, 1}) indicating on which side of the hyperplane u is located. This procedure, which is known as sign random projections or hy- perplane LSH [Charikar, 2002], is illustrated in Figure 5.2(a) and formalized in the following claim.\nTheorem 5.3 For X ⊂ Rd equipped with the angular distance of Equa- tion (5.1), the family H = {hr | hr(u) = Sign(⟨r, u⟩), r ∼ Sd−1} is (θ, (1 + ϵ)θ, 1 − θ/π, 1 − (1 + ϵ)θ/π)-sensitive for θ ∈ [0, π], and Sd−1 de- noting the d-dimensional hypersphere.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.03887513, -0.008198359, 0.029049022, 0.007470941, 0.0419279, -0.044432126, 0.006904509, -0.013546671, -0.01618207, 0.057144053, -0.027021792, -0.005780589, -0.023170054, 0.018543199, -0.029669117, 0.002841104, 0.0072741807, -0.009915543, -0.0184001, 0.0012819252, 0.0125688305, -0.0009987092, 0.021846391, 0.012747703, 0.007876388, -0.0028783695, 0.059290536, -0.015943574, 0.05132471, -0.043597385, -0.00897944, -0.022049114, 0.017147986, -0.044312876, -0.029979164, 0.018686296, -0.028142732, 0.0629157, 0.00009013537, 0.012109722, -0.006487138, 0.02096395, -0.04712715, -0.087099366, -0.046674006, -0.0023372776, -0.017505733, -0.014560286, 0.0028962567, 0.0109589705, -0.026854845, 0.036251653, -0.004614931, 0.032912686, -0.012038172, 0.0052648373, 0.017851554, 0.006111504, 0.057859547, -0.014810708, 0.04507607, -0.036847897, -0.024923012, 0.030837756, -0.0012096306, -0.0036370903, -0.0013937211, 0.03255494, 0.0070476076, 0.031076254, -0.005870025, 0.021822542, 0.06949823, 0.007184744, 0.014095215, 0.014023666, -0.0047282176, 0.027141042, 0.006481176, 0.039232876, 0.021405172, 0.034868367, 0.03882743, 0.01198451, -0.030599259, -0.02322968, -0.018948644, 0.015621601, -0.07856115, 0.0022731815, 0.0011015614, -0.0024401299, 0.01718376, 0.0030333928, 0.007536528, -0.022394937, 0.016432494, -0.012759629, -0.005163476, -0.026043952, -0.030861605, -0.012014323, 0.023313154, -0.04190405, 0.057573352, 0.0032197193, -0.017708456, 0.026854845, 0.016217845, 0.03265034, -0.024851464, -0.011352492, -0.03577466, 0.05671476, 0.031624798, -0.018531274, -0.012700004, -0.0419756, -0.026664047, 0.006096598, -0.022335311, -0.000078536556, 0.07274181, -0.027761135, -0.0132604735, -0.04307269, -0.0011902527, -0.07550838, 0.006057842, 0.020701602, 0.0070595327, 0.015061132, -0.028738976, -0.02623475, -0.010410425, 0.028572027, 0.0035864096, -0.033866677, 0.00448972, 0.016432494, -0.015275779, 0.021345546, 0.0059177247, -0.0028649538, -0.0045910813, 0.036418602, -0.06196171, 0.031004705, 0.01525193, 0.046483207, -0.020296156, -0.025042262, 0.025352309, 0.016265545, -0.021536345, -0.04095006, 0.008633617, 0.00041737102, -0.012652304, 0.0184001, 0.04080696, 0.039352126, 0.030003013, 0.052040204, 0.009265637, 0.005583828, -0.012461506, -0.03141015, -0.03338968, -0.07908585, -0.050609216, -0.073886596, -0.011901037, -0.049941424, -0.012556905, 0.01718376, 0.024732213, -0.024159819, -0.02420752, -0.041999448, -0.022204138, 0.06825805, -0.03222104, -0.077034764, 0.026974093, 0.03460602, 0.0048385225, -0.0140832905, 0.026449397, 0.019723762, -0.03224489, 0.043430436, 0.014703385, 0.010034792, 0.01469146, 0.0036221843, 0.035035316, 0.015776625, 0.00055972434, -0.035083015, 0.0007751176, 0.024612965, 0.007405354, -0.04917823, -0.019604513, -0.026115501, 0.019139443, 0.01727916, 0.007745214, 0.055331472, -0.03877973, -0.029049022, 0.055331472, 0.002247841, 0.0015092434, 0.023563575, 0.014846483, 0.0137851685, 0.014405263, 0.03145785, -0.05652396, 0.039089777, 0.021727143, 0.006916434, -0.07803646, 0.021273997, 0.015752776, -0.0733142, 0.049702927, 0.019902635, 0.010148078, 0.024899162, 0.007870425, -0.03873203, -0.0014630345, 0.0045910813, -0.040616162, -0.041236255, -0.05127701, -0.04626856, -0.014452962, 0.0070714573, 0.024446016, 0.012246858, 0.042333346, 0.011805638, 0.003550635, 0.049130533, 0.0078108003, -0.04176095, -0.05652396, 0.0059654242, -0.032745738, -0.03658555, -0.030766206, 0.009408736, -0.022454562, -0.024362542, 0.01464376, -0.020129208, -0.008329533, -0.03887513, 0.019711837, 0.021906016, 0.0036549775, -0.038278885, -0.01674254, -0.009206012, -0.02933522, -0.010380614, -0.012843102, 0.038398135, 0.005327443, -0.012831178, -0.023325078, -0.02045118, 0.01156714, -0.0017857517, -0.018877095, -0.0061949785, 0.011412116, -0.0019020194, 0.025400007, 0.047461048, 0.0125688305, 0.010863571, -0.04815269, -0.016146297, -0.03885128, -0.024875313, 0.031338602, -0.037992686, 0.0028440855, -0.017147986, -0.008723054, 0.019711837, -0.036227804, -0.0047282176, -0.030217662, 0.022800382, 0.07102462, 0.039471373, 0.045600764, -0.011889111, -0.032793436, 0.025662355, 0.024493717, 0.020439254, 0.018543199, 0.0054943915, 0.019222917, 0.03038461, -0.025733905, 0.035130713, -0.039375976, -0.006701786, 0.024243293, 0.0089734765, 0.00084964815, -0.04631626, 0.007196669, -0.015108831, 0.038398135, -0.0634404, 0.016981037, -0.00020905817, -0.009951318, -0.0027665736, 0.019318316, -0.002750177, 0.068544246, -0.03241184, -0.016408643, -0.0055748844, -0.008138735, -0.0312909, 0.0036967148, 0.021822542, -0.030718507, -0.0004717783, -0.022704983, -0.0072741807, 0.028834375, -0.0017216555, -0.012926577, 0.022072965, -0.0032763625, 0.014906107, 0.0038547195, 0.021262072, -0.06935514, -0.03873203, -0.019676063, 0.004975659, 0.005285706, -0.009545871, -0.008114886, -0.061103117, -0.056762457, 0.013332023, -0.016372869, -0.02105935, -0.0010888912, 0.008317608, 0.023265453, 0.021118974, 0.040449213, -0.028381228, 0.016873714, -0.011227281, -0.012831178, 0.008770754, -0.025662355, 0.00062456593, 0.0017946954, -0.0014466378, 0.009450472, 0.012866952, 0.036418602, 0.034152873, -0.01732686, 0.00084592163, -0.032149494, -0.05337579, 0.020081509, -0.017935028, -0.030742357, -0.008490519, -0.0209878, -0.047532596, 0.04209485, 0.005449673, -0.022836158, 0.048033442, -0.01002883, -0.046888653, 0.018340476, 0.029979164, 0.0069522085, 0.008800566, -0.06611157, -0.052374102, -0.0037772078, -0.033962075, -0.0419756, 0.019568738, -0.035870057, 0.05370969, 0.0031273013, 0.043812033, 0.012807328, 0.010672773, 0.03358048, -0.060149126, -0.010941084, -0.0051992503, 0.048438888, -0.011692351, 0.017946953, 0.005688171, -0.0027874422, 0.017136062, -0.035965458, -0.0018215263, -0.0045523252, -0.0005455635, 0.011447891, 0.0021584043, 0.032960385, -0.026592497, 0.00841897, 0.037921138, 0.03887513, -0.007494791, -0.032268744, -0.036537852, 0.0042005414, -0.029931465, -0.053852785, -0.030026864, 0.03546461, 0.01681409, -0.058336545, -0.046912502, 0.014369488, -0.03789729, 0.0025116792, -0.003965025, -0.025972402, 0.04717485, -0.0021151768, -0.018578973, 0.03565541, 0.018197376, -0.004975659, -0.028738976, 0.059052035, -0.021762917, -0.0060638045, 0.03558386, -0.010905309, 0.025471557, -0.04488527, -0.024541415, 0.015001507, 0.017756155, 0.0315771, -0.032316443, 0.0038189448, 0.01611052, 0.00629634, -0.026592497, 0.09401581, -0.002079402, -0.011626764, 0.036394753, 0.0051604947, -0.08471439, 0.04097391, -0.024708364, 0.027093342, -0.027093342, -0.041188557, -0.017660756, 0.021679442, 0.0469602, 0.056333162, 0.03248339, -0.005610659, 0.03477297, -0.039399825, -0.0315294, 0.028428929, -0.010929158, -0.03267419, 0.0019810218, 0.0021852355, 0.010320989, 0.004817654, 0.01781578, 0.057907246, -0.010756248, 0.002826198, 0.029001324, 0.016372869, 0.022383012, 0.0042214096, -0.022728832, -0.026735594, 0.03453447, -0.0010233043, 0.024386393, 0.00069499726, -0.017434184, 0.010034792, 0.010941084, -0.0014563267, 0.036847897, -0.019628363, 0.0009271599, 0.01259268, 0.005682208, -0.009134463, -0.017601132, 0.023992872, -0.0061413166, -0.024386393, -0.039614473, -0.030694658, -0.045672316, -0.0031899072, -0.021917941, -0.0042035226, 0.049941424, 0.0022523128, -0.02091625, -0.019437565, -0.04629241, 0.019389866, 0.0368002, 0.008472632, 0.003938194, 0.03999607, 0.037634943, 0.010440238, -0.008734979, 0.018602822, -0.0002044, 0.03362818, -0.010720473, 0.008538218, -0.02938292, -0.027784985, 0.013534746, -0.010756248, 0.0061949785, 0.0031839446, 0.039328273, -0.024684515, 0.0026667027, -0.01469146, -0.001600916, -0.03222104, 0.048844334, -0.021130899, 0.030122263, 0.0137851685, 0.0039530997, 0.007846575, 0.004722255, -0.022788458, -0.031243201, 0.05351889, -0.024088271, 0.02266921, -0.025566956, -0.027832685, -0.010410425, 0.033055786, 0.010386576, -0.005706058, -0.026735594, -0.011430004, -0.04619701, 0.009402772, 0.0042273724, -0.020260382, 0.03462987, -0.0123064825, 0.021130899, 0.01893672, 0.005342349, 0.002818745, -0.0027755173, -0.020129208, -0.01069066, 0.031195503, -0.016384793, -0.013057751, -0.026711745, 0.0066302367, -0.008484556, 0.04295344, -0.019652212, -0.017899254, -0.01469146, -0.016539818, -0.0010792022, 0.021822542, -0.0062784525, -0.03038461, 0.016122445, 0.035154566, -0.023253528, 0.03773034, 0.035106864, 0.01520423, -0.011590989, 0.03982912, -0.016396718, -0.020522729, -0.014286013, 0.016897565, 0.016587516, -0.007333805, 0.04097391, 0.020856626, -0.030265361, -0.022585735, -0.015943574, -0.023921322, -0.008252021, 0.04190405, -0.00096069864, 0.007464979, 0.027045643, 0.0044688513, 0.015144605, 0.01991456, -0.009814181, 0.005464579, 0.020665828, 0.027474938, -0.041021608, 0.01634902, 0.0011306283, -0.009969205, 0.015371178, -0.022800382, 0.0009778406, 0.0024341673, -0.006212866, 0.01069066, -0.01364207, 0.0080015985, -0.013606295, 0.006266528, -0.009832068, 0.04276264, -0.036156256, 0.016861789, 0.004671574, -0.030050714, -0.037444144, 0.018531274, -0.011513478, -0.014262164, 0.01715991, 0.020188833, -0.016992964, 0.031052403, 0.015406953, 0.04624471, -0.028118882, -0.057144053, -0.022072965, -0.06453749, -0.0006353728, -0.036370903, 0.0010844193, 0.004698405, -0.02257381, -0.018090053, -0.0050829826, 0.0036102594, 0.018423948, 0.010857609, -0.004936903, 0.007804838, -0.020952025, -0.012676154, -0.004248241, 0.04292959, -0.029692966, 0.05351889, 0.012688079, -0.018853245, 0.02523306, 0.024362542, -0.03436752, 0.016563667, 0.042643394, -0.010988783, -0.024827613, -0.016539818, -0.03987682, -0.007870425, -0.004519532, 0.037467994, -0.0061293915, -0.0059833117, -0.006019086, -0.018757846, 0.0011008161, -0.019795312, 0.012795403, 0.029072873, -0.014798784, -0.008019486, -0.006445401, -0.038612783, 0.00042743265, -0.042142548, 0.016098596, -0.005097889, -0.0118593, -0.05585617, -0.0313863, 0.0139521165, -0.033079635, 0.012413806, 0.017827705, 0.018698221, 0.008162585, 0.027641887, -0.0007091581, -0.031887148, 0.023289302, -0.011197468, -0.016933339, -0.014226389, 0.015502352, -0.0031153765, 0.030766206, 0.008758829, 0.032054093, 0.033985928, 0.0070476076, -0.0015591789, 0.014357563, 0.000032094715, 0.008013523, -0.002071949, 0.01683794, -0.022275688, 0.017338784, -0.03594161, 0.0058312695, 0.038255036, 0.021226298, 0.013021976, 0.011883149, -0.013689769, 0.015049206, 0.060483024, -0.03532151, -0.041713253, -0.036824048, 0.012521131, 0.005008452, -0.019187141, 0.024517566, 0.007620002, 0.021262072, 0.04741335, -0.015931647, 0.00202574, -0.025066111, -0.012747703, -0.047484897, -0.01984301, -0.06186631, 0.009229862, -0.0049070907, -0.014035591, -0.0012506224, -0.026330149, 0.008895965, 0.03448677, -0.033914376, -0.01991456, -0.009784369, 0.025638506, -0.013892492, -0.003687771, 0.025376158, 0.0041349544, -0.11581449, -0.010595261, 0.028047333, -0.008884041, 0.041713253, 0.02935907, 0.019222917, -0.01569315, 0.001984003, -0.016480193, 0.051229313, -0.021727143, -0.01261653, 0.005249931, -0.00082132657, -0.030217662, 0.013689769, 0.0064752134, -0.032459542, -0.024970712, -0.014977657, -0.009730707, 0.054186683, 0.051754005, -0.021560194, -0.011590989, -0.012067985, -0.026830994, -0.008818453, 0.005533147, 0.0037891327, 0.019580664, -0.0053751427, 0.009581646, -0.025280759, -0.021953715, 0.018078128, 0.026330149, -0.021607894, 0.025495406, 0.035226114, -0.049798325, -0.008699205, -0.0048653535, 0.032173343, -0.055999264, 0.02210874, -0.002335787, 0.015144605, -0.023456251, -0.018101977, -0.020081509, 0.034987617, 0.028905924, -0.034939915, 0.021166673, 0.012723854, 0.019067893, -0.01469146, -0.03577466, -0.017660756, 0.009647233, 0.035870057, -0.0058044386, -0.030527709, -0.012747703, -0.067494854, 0.03379513, 0.011167656, 0.011656577, 0.006481176, 0.004242278, -0.005989274, 0.049035132, 0.04932133, -0.0045284755, 0.009808219, 0.02735569, -0.0061711287, -0.017028738, 0.042476445, -0.022299537, 0.0023238622, -0.0013795603, 0.010142116, 0.013045826, 0.0061293915, 0.029645268, -0.02501841, 0.0035267852, 0.0046626306, 0.022812307, 0.022728832, 0.04607776, 0.005798476, -0.024422167, -0.0057030767, -0.029263671, 0.02721259, -0.026783295, 0.022287613, 0.024302918, 0.0006454345, 0.011447891, 0.002286597, -0.00044308405, 0.050561517, 0.015502352, 0.020904325, 0.007816763, 0.013999816, -0.004364508, -0.011173618, -0.0075663403, -0.01879362, 0.016706767, 0.019342165, 0.0056673023, 0.01781578, -0.029764516, 0.00366094, -0.0060697673, 0.028953623, 0.033747427, 0.00026365177, 0.0005396011, -0.012157422, -0.019950334, -0.058861237, 0.014929958, -0.0140832905, 0.02928752, 0.018209301, -0.011590989, -0.01795888, 0.045791563, 0.012067985, 0.0045940625, -0.05127701, 0.015979348, 0.02359935, 0.038111936, 0.008568031, 0.0058730063, -0.044694472, 0.03050386, 0.00041178122, -0.026997942, -0.041737102, 0.021142824, 0.013999816, 0.010917233, -0.009527984, 0.0112392055, 0.008430894, 0.0040812925, 0.04011532, -0.017446108, -0.0023998835, 0.028381228, -0.008359346, 0.020832777, -0.046053912, 0.02938292, 0.013987891, 0.024374468, 0.00084592163, 0.025757754, -0.008341458, -0.0053035934, 0.019342165, 0.0065408, -0.049893726, 0.017064512, 0.020928176, -0.017422259, 0.008287796, -0.0026592496, -0.043335035, -0.029907614, 0.022347236, 0.011668501, -0.025638506, -0.0012416788, 0.039137475, 0.050561517, -0.021667518, -0.029669117, 0.02313428, 0.008407045, -0.0062188283, 0.032459542, -0.004919016, 0.02404057, 0.013630145, 0.014548361, -0.021202447, 0.0015055169, -0.0109768575, -0.013689769, -0.00080865633, 0.045910813, -0.01727916, -0.010320989, 0.007154932, 0.011167656, -0.01632517, 0.0018140733, 0.035202265, 0.04393128, 0.0031004704, 0.018638598, 0.014798784, -0.01051775, 0.020355782, -0.033842828, 0.03558386, -0.00990958, 0.0040991795, -0.013463196, 0.0056345086, -0.029621417, -0.0055152597, 0.037110247, -0.033747427, -0.016682915, -0.0034969728, -0.030766206, -0.038445834, 0.0017544489, -0.012258783, 0.0041498602, 0.028524328, -0.016289394, -0.03987682, -0.0055361283, 0.011751976, -0.05328039, -0.006242678, -0.0010821834, 0.017994653, -0.025543107, -0.0078585, -0.015573901, -0.014381412, -0.025423858, 0.0147391595, -0.046340108, 0.0025489444, -0.015633525, 0.01464376, 0.010410425, 0.026807144, 0.01823315, -0.038350433, 0.006025049, -0.0060339924, 0.05666706, 0.04374048, 0.0052409875, -0.0039203065, 0.009182163, 0.032268744, 0.0045910813, -0.0024863388, -0.04810499, 0.01727916, 0.04099776, -0.012640379, 0.009838032, -0.034987617, 0.0045314566, -0.0066660116, 0.004304884, 0.012378032, 0.025733905, 0.024422167, 0.05037072, 0.02054658, 0.00022154202, 0.011048407, -0.022621509, -0.021739068, -0.009122538, 0.012711929, -0.010786059, 0.02516151, 0.01674254, 0.03353278, 0.008073148, 0.023766298, 0.033079635, 0.01772038, 0.013403572, -0.011817562, -0.02047503, 0.011489628, 0.0061293915, 0.012700004, -0.00229405, 0.014393338, 0.0059117624, 0.024684515, -0.03804039, 0.031958696, 0.0071251197, -0.035846207, -0.025972402, -0.048486587, -0.02196564, 0.030742357, 0.0024729234, 0.011751976, 0.038350433, -0.025733905, 0.02266921, 0.008573993, 0.010338876, -0.011734088, -0.0006390994, -0.011906999, 0.029573718, -0.0011194487, -0.0011753466, -0.00841897, 0.025733905, 0.03761109, 0.014142915, 0.0049428656, 0.032745738, -0.0022463505, 0.03997222, -0.010112303, -0.02518536, -0.066874765, -0.023611275, 0.0037831701, -0.03548846, -0.00863958, -0.01725531, 0.010195778, 0.0061830534, 0.0112392055, 0.01940179, -0.0019884747, 0.018292775, -0.004731199, 0.019306391, 0.02254996, -0.033318132, 0.03777804, 0.011167656, -0.017505733, -0.013904417, 0.005771645, 0.020105358, 0.005312537, 0.025471557, -0.017064512, -0.0014406753, 0.0053870673, 0.005694133, -0.016480193, 0.023587424, 0.02042733, 0.037062548, 0.00392925, 0.0023462214, -0.0263063, 0.015108831, 0.021321697, -0.033938225, 0.007333805, -0.0062247906, -0.014500662, 0.0046238746, -0.0064752134, 0.037277196, -0.0066540865, -0.02933522, -0.01786348, -0.020618128, -0.016647141, 0.009706858, -0.0364663, 0.018662447, 0.024684515, 0.00837127, 0.011531365, -0.0046477243, -0.013427422, -0.03687175, -0.03369973, 0.016074747, -0.005473523, -0.030718507, 0.010118266, 0.026544796, 0.023408553, -0.028023483, 0.0065944623, 0.020606203, 0.043478135, -0.016360944, -0.0059654242, -0.0006323916, 0.04433673, -0.017505733, -0.011477703, -0.005085964, -0.007775026, 0.03160095, -0.040234566, 0.0022165382, -0.025686204, -0.031219352, -0.033055786, 0.029430619, -0.038255036, 0.04607776, -0.009021176, -0.010631036, 0.008836341, 0.0131292995, 0.023885546, 0.025924703, -0.009951318, 0.020236531, -0.056142364, 0.036490154, 0.00016927748, 0.03854123, -0.008275871, 0.010696623, 0.0067494856, -0.02420752, 0.006200941, 0.017314935, -0.0037891327, 0.012085872, -0.010642961, 0.030694658, 0.034892216, -0.030527709, -0.008788642, -0.005771645, -0.0034790856, 0.004826598, 0.023897473, 0.008341458, -0.011340567, -0.022848083, 0.040329967, 0.013844793, 0.020129208, -0.006755448, -0.03548846, 0.0057328893, 0.016480193, -0.026807144, 0.010720473, -0.019139443, 0.03691945, 0.007405354, 0.02723644, 0.01525193, -0.0364663, 0.035106864, 0.004251222, 0.003309156, 0.024636814, -0.002182254, 0.021273997, 0.013606295, 0.0026473247, -0.0052081943, 0.0028098014, -0.002906691, 0.0133916475, 0.045600764, -0.02047503, -0.014047516, 0.03141015, 0.008341458, 0.03145785, 0.013308173, 0.019950334, -0.014834559, -0.009927467, -0.008967514, -0.036227804, -0.011883149, -0.025137661, -0.029072873, -0.00944451, 0.026926393, -0.0005779843, 0.035870057, 0.043311186, -0.007119157, -0.024660666, -0.011316717, -0.028929774, -0.0072861053, 0.016492117, 0.029502168, 0.0032763625, 0.0038666443, 0.013188925, 0.012914652, 0.008454745, -0.009492209, 0.028715126, -0.020021884, 0.020558504, 0.00680911, -0.006880659, -0.04371663, -0.0025101886, -0.0032823249, -0.014405263, 0.006361927, 0.032101795, -0.017994653, -0.021703294, -0.041260105, -0.01071451, -0.022275688, -0.008776716, 0.034033626, -0.019831086, -0.042714942, 0.024493717, -0.011227281, 0.019509114, 0.024016721, 0.016957188, 0.010458125, -0.0028932756, 0.012461506, 0.013498971, 0.0035029354, 0.010386576, -0.015347329, -0.027141042, 0.003335987, -0.025686204, -0.014226389, 0.024923012, 0.0023134279, 0.021166673, -0.018137751, 0.014321788, 0.0063201897, 0.013284324, -0.048581988, 0.0018632634, -0.005112795, -0.0055748844, 0.041594002, 0.028428929, -0.02359935, -0.0076617394, 0.009080801, -0.023420477, 0.0526126, 0.014715309, -0.026115501, 0.025900854, -0.003997818, -0.007709439, 0.0023834866, -0.0118950745, -0.010654886, -0.025972402, -0.01940179, 0.01415484, -0.01525193, 0.013463196, 0.022383012, -0.021512495, -0.030766206, 0.0056971144, -0.03045616, -0.004510588, 0.011513478, 0.0012237915, 0.012157422, -0.0075007533, 0.012366107, 0.013820943, -0.00136689, 0.03658555, -0.009754557, 0.007983712, 0.026043952, 0.052087903, 0.019652212, 0.00021930611, -0.025972402, -0.004573194, 0.03265034, -0.0072085937, -0.016313244, 0.033008084, 0.022454562, 0.029573718, -0.008943665, 0.02369475, 0.0364663, -0.007751176, -0.016826015, 0.0037295083, -0.012795403, 0.007888312, -0.022740759, -0.04092621, 0.03985297, -0.02823813, 0.0026175126, 0.0069283587, -0.002584719, 0.017362634, -0.006648124, -0.0037563392, 0.0183047, -0.04001992, -0.0035088977, -0.015895873, 0.009039064, -0.00886019, 0.011179581, -0.010941084, 0.0046864804, 0.021142824, 0.024195595, -0.0011634217, 0.027546488, 0.0061055417, 0.027546488, 0.008669392, -0.005780589, 0.026878694, 0.0065944623, 0.0026667027, -0.024302918, 0.0104521625, 0.0012454053, 0.017386485, 0.037038695, 0.01027329, -0.009122538, 0.0124376565, 0.035560012, 0.0261632, 0.041188557, 0.015084981, -0.0027635924, -0.015550052, 0.03222104, -0.0020078528, 0.012950427, -0.006326152, 0.012831178, -0.007983712, -0.0036311278, -0.0011552233, -0.009581646, 0.025590805, 0.037229493, -0.017553432, -0.024708364, 0.024195595, 0.060339924, 0.04626856, 0.002381996, 0.00812681, -0.0011000708, 0.008168547, 0.023563575, 0.01098282, 0.006361927, 0.026401699, 0.008484556, -0.010195778, 0.012628455, 0.041570153, -0.004853429, -0.0034403296, -0.010595261, -0.023813998, 0.015633525, -0.005422842, -0.0315771, 0.0027591207, -0.018805545, 0.0014563267, 0.00047811342, 0.000015872676, -0.020439254, 0.03773034, 0.046626307, -0.015013432, -0.014071366, -0.0078585, -0.013558595, -0.0041915975, -0.020236531, -0.024708364, -0.0057388516, -0.034987617, -0.019473338, 0.0055182413, 0.013010051, -0.010100379, -0.032602638, -0.03978142, -0.016098596, -0.0062486404, -0.01942564, 0.02257381, 0.004793804, 0.009557797, -0.016635217, 0.020630052, -0.037944987, 0.014846483, 0.0008421951, 0.006230753, -0.009349111, 0.012050098, -0.0049846023, 0.017100288, -0.012223008, 0.03253109, -0.0012155931, 0.0052678185, -0.021393245, -0.034200575 ]
2401.09350
180
Proof. If the angle between two vectors is θ, then the probability that a randomly chosen hyperplane lies between them is θ/π. As such, the proba5.3 LSH Families bility that they lie on the same side of the hyperplane is 1 − θ/π. The claim ⊓⊔ follows. # 5.3.2.2 Cross-polytope LSH There are a number of other hash families for the angular distance in addition to the basic construction above. Spherical LSH [Andoni et al., 2014] is one example, albeit a purely theoretical one—a single hash computation from that family alone is considerably more expensive than an exhaustive search over a million data points [Andoni et al., 2015]! What is known as Cross-polytope LSH [Andoni et al., 2015, Terasawa and Tanaka, 2007] offers similar guarantees as the Spherical LSH but is a more practical construction. A function from this family randomly rotates an input vector first, then outputs the closest signed standard basis vector (ei’s for 1 ≤ i ≤ d) as the hash value. This is illustrated for R2 in Figure 5.2(b), and stated formally in the following result.
2401.09350#180
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 180, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Proof. If the angle between two vectors is θ, then the probability that a randomly chosen hyperplane lies between them is θ/π. As such, the proba5.3 LSH Families\nbility that they lie on the same side of the hyperplane is 1 − θ/π. The claim ⊓⊔ follows.\n# 5.3.2.2 Cross-polytope LSH\nThere are a number of other hash families for the angular distance in addition to the basic construction above. Spherical LSH [Andoni et al., 2014] is one example, albeit a purely theoretical one—a single hash computation from that family alone is considerably more expensive than an exhaustive search over a million data points [Andoni et al., 2015]!\nWhat is known as Cross-polytope LSH [Andoni et al., 2015, Terasawa and Tanaka, 2007] offers similar guarantees as the Spherical LSH but is a more practical construction. A function from this family randomly rotates an input vector first, then outputs the closest signed standard basis vector (ei’s for 1 ≤ i ≤ d) as the hash value. This is illustrated for R2 in Figure 5.2(b), and stated formally in the following result.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.035320483, -0.021346848, 0.032482684, 0.027896594, 0.03189992, -0.049129423, -0.014493054, 0.014847779, -0.031874582, 0.016317355, 0.019649236, -0.018344354, -0.019915279, 0.039881233, -0.03879172, -0.01626668, 0.026553705, -0.020396693, -0.025350174, -0.025274163, 0.00068015367, -0.0005649472, 0.028124632, 0.020358685, 0.008405718, -0.03851301, 0.056147914, -0.050041575, 0.041832224, -0.036587358, 0.020662736, -0.029644882, 0.004741281, -0.01615266, -0.034306984, 0.047482487, -0.010838118, 0.027795244, 0.030328995, 0.011902293, -0.0064198906, 0.030354332, -0.029695557, -0.051181763, 0.0018607231, 0.023449862, 0.014911123, -0.023234492, -0.031241145, 0.0015115406, -0.024577381, 0.041401483, -0.019585893, 0.01797696, -0.039349146, -0.0020855935, -0.014062316, 0.017090147, 0.06025259, -0.019737918, 0.03950117, -0.040996086, 0.008640089, 0.04071737, 0.0075125704, 0.0031703555, -0.0067081046, 0.013580903, 0.022803755, 0.01787561, -0.03443367, 0.0469504, 0.050117586, 0.020206662, 0.0020428365, -0.001958906, -0.009881628, 0.024121305, 0.03871571, 0.05731344, 0.030658383, 0.04510076, 0.05295539, 0.026908431, -0.0026050124, -0.037068773, -0.004814126, 0.014087654, -0.11168773, -0.0047191107, -0.029163469, 0.000963617, 0.017292848, -0.01584861, 0.052195262, -0.025172813, 0.034078944, -0.02488143, -0.023044461, -0.024121305, -0.015797935, -0.011857953, 0.017824935, 0.009704265, 0.06684034, 0.02794727, -0.000784275, -0.0034744055, 0.004123679, 0.034864407, -0.04651966, -0.019763255, -0.034509685, 0.06126609, 0.013682254, -0.024425356, -0.03471238, -0.01142088, -0.018014967, 0.03088642, -0.02256305, -0.04368186, 0.06420524, -0.011857953, 0.005580586, -0.052549988, -0.010793777, -0.10986342, 0.02670573, 0.0061221747, 0.0051720184, 0.026046956, -0.010660755, -0.007151511, -0.009742271, 0.03881706, 0.031747896, -0.030810406, 0.028580707, -0.009830953, -0.002969239, -0.016013304, 0.0040793386, 0.0013729761, -0.012782772, 0.035928585, -0.041933574, 0.011161172, 0.016418705, 0.014049647, -0.020561386, -0.05006691, 0.00888713, 0.037626196, -0.039374486, -0.03922246, -0.005368384, 0.006575083, -0.022335012, -0.014683085, 0.031165132, 0.0108887935, 0.015303854, 0.037727546, 0.006179184, 0.027465856, -0.0043358807, -0.03504177, -0.03787957, -0.07540442, -0.023538543, -0.050142925, -0.021258168, -0.019839266, 0.0073415423, -0.006090503, 0.017660242, -0.045050085, -0.0024894099, -0.04198425, -0.010635418, 0.06891802, 0.012719428, -0.049940225, 0.017761592, 0.04439131, 0.0036042603, -0.020700742, 0.019547885, 0.011249852, -0.0068031205, 0.040210623, 0.02751653, 0.013568235, 0.025147475, -0.017229505, 0.04416327, 0.031139795, -0.010445387, -0.014847779, 0.031773232, 0.01878776, 0.0049059745, -0.024121305, -0.013112159, -0.0029866586, 0.022601055, 0.0002599074, -0.01453106, 0.027465856, -0.0514098, -0.011800943, 0.041325472, 0.013327528, -0.01361891, 0.013289521, -0.008956809, 0.012941131, -0.014036979, 0.04479671, -0.057972215, 0.030759733, 0.04287106, 0.042110935, -0.034585696, 0.032685384, 0.03494042, -0.064255916, 0.056502637, -0.004104676, 0.006391386, 0.025654225, -0.004459401, -0.06820857, 0.0052702012, -0.018116318, -0.061823513, -0.049560163, -0.03689141, -0.05320876, -0.005624926, -0.021511542, -0.00007230097, -0.0060176575, 0.010255355, 0.0026129303, -0.005333545, 0.04360585, 0.02192961, -0.03587791, -0.032685384, 0.003331882, -0.016836774, -0.059796516, -0.029112794, -0.020700742, -0.0142776845, -0.021308843, 0.0050960057, -0.0009469893, -0.007601252, 0.00822202, -0.034889746, 0.012922128, -0.008861792, -0.003981156, -0.004966151, 0.008412052, -0.046114262, -0.038158283, 0.008462727, 0.0449234, -0.009368543, -0.028428681, -0.019345187, -0.02244903, -0.019256504, 0.006359714, -0.04479671, 0.031925257, 0.0035599195, -0.008158677, 0.014885785, 0.024286, 0.034965757, -0.00021794214, -0.027972607, -0.0033413835, -0.017444873, -0.051561825, 0.013238847, -0.033141457, 0.0135175595, -0.0025606717, -0.018166991, 0.028986108, -0.03564987, -0.008855458, -0.014721091, 0.013086822, 0.055387788, 0.008595749, 0.029391507, -0.019104479, -0.024045292, 0.024019957, 0.015658578, 0.01697613, 0.0028694726, 0.033572197, 0.011978306, 0.03435766, -0.040692035, 0.0048204605, -0.043251123, -0.017102817, 0.044872724, 0.0023548044, -0.024640724, -0.02784592, -0.007100836, -0.025565544, 0.032178633, -0.043909896, 0.008728771, 0.017558891, -0.024032624, -0.03382557, 0.009678927, -0.028276656, 0.05771884, -0.03554852, 0.00026386636, -0.016722754, -0.0028156303, -0.034306984, 0.013074153, 0.05113109, -0.015823273, -0.013492222, -0.03879172, -0.009115168, 0.014683085, 0.03331882, -0.054120913, 0.017495548, -0.0048933057, 0.028910095, 0.02194228, 0.0031814405, -0.04223762, -0.0127574345, -0.014999803, 0.01574726, 0.025464194, -0.009317867, -0.0017957957, -0.06952611, -0.06197554, 0.007537908, -0.0057262764, -0.018065643, -0.018166991, 0.008646424, 0.00408884, 0.014455047, 0.0033097118, -0.029974269, 0.0016097234, 0.022297006, -0.016798766, 0.05151115, -0.02713647, -0.0018369692, -0.005957481, 0.010850787, 0.0036074275, 0.015227841, 0.023424525, 0.02804862, 0.005498239, 0.001416525, -0.034864407, -0.031241145, 0.0018575559, -0.026883094, -0.038107608, -0.01554456, -0.022867098, -0.0132261785, 0.034002934, 0.021384856, -0.029644882, 0.036384657, 0.009444555, -0.036333982, 0.045632847, 0.04112277, -0.00012579675, 0.0033540523, -0.055590488, -0.029036783, -0.0038671368, -0.039627858, -0.03483907, -0.006090503, -0.029619545, 0.052397963, 0.008507067, 0.018724417, 0.022398354, 0.020878104, 0.024640724, -0.054627664, 0.014467716, -0.01625401, 0.06339444, 0.005083337, 0.014847779, -0.0018528051, 0.024944775, -0.0050104917, -0.051055074, -0.055083737, -0.00637555, -0.014556397, 0.03625797, -0.0007874422, 0.017001467, -0.05026961, 0.005336712, 0.04054001, 0.055945214, -0.02519815, -0.03273606, -0.042693697, 0.032761395, -0.0058149574, -0.035396498, -0.03739816, 0.035345823, 0.04479671, -0.029340832, -0.047355797, 0.00283305, -0.01868641, -0.002684192, -0.0512071, -0.02082743, 0.044239286, -0.010230018, 0.0017023637, 0.047507823, 0.0035187462, -0.0005047706, -0.02741518, 0.03281207, -0.037144784, 0.03263471, 0.013150166, -0.02163823, 0.013859616, -0.055185087, -0.01402431, 0.027693894, 0.013948297, 0.027617881, -0.02561622, -0.018002298, 0.022626393, 0.0067017702, -0.0433018, 0.070336916, -0.027871257, -0.006606755, 0.024235325, 0.009374877, -0.08513402, 0.02804862, -0.0032178632, 0.025400849, -0.050751023, -0.03575122, 0.016710086, 0.029163469, 0.06146879, 0.092076495, 0.031215807, 0.0141003225, 0.0077532767, -0.046874385, -0.045987573, 0.040894736, -0.01299814, 0.0052923714, 0.0013223011, 0.006936142, 0.009837287, -0.011091493, 0.0135175595, 0.06461064, 0.014974466, -0.006004989, 0.030607708, -0.010812781, 0.031317156, 0.015924623, -0.032584034, -0.03382557, 0.028732732, -0.010350371, 0.036232635, 0.004962984, -0.0069044703, -0.011775606, -0.00034819276, -0.03471238, 0.030506358, -0.029644882, -0.011971972, 0.021473536, 0.017723585, -0.03048102, -0.022474367, 0.015861278, -0.026046956, -0.01787561, -0.059948537, -0.019965954, -0.039805222, 0.011598243, -0.023791919, -0.03291342, 0.03494042, -0.013074153, -0.010496062, 0.0050231605, -0.031241145, 0.016203335, 0.029264819, -0.0011425632, 0.018635735, 0.03646067, 0.040413324, -0.0113005275, -0.007860961, 0.030531695, -0.008329705, -0.00014717528, 0.0012668753, -0.0048869713, -0.057060063, -0.028023282, 0.01726751, -0.0021441865, -0.0043390477, 0.031747896, 0.027212482, -0.01706481, 0.016836774, 0.0043485495, 0.011629915, -0.015481216, 0.032685384, -0.01858506, 0.057110738, 0.02519815, 0.002700028, 0.043656524, -0.0066384263, -0.010369374, -0.012225347, 0.05305674, -0.03321747, 0.027364507, 0.00045369973, -0.026832419, -0.027288495, 0.013061484, 0.0048046247, -0.013973635, -0.035244472, -0.029999606, -0.028580707, 0.009995646, 0.022119643, 0.00057326106, 0.046798375, 0.005165684, 0.024514036, 0.013821609, -0.010819115, -0.024057962, -0.0065877517, -0.021967618, -0.0062678657, 0.020890774, 0.01735619, -0.026832419, -0.014189003, 0.009862624, 0.015291185, 0.044644687, -0.019839266, -0.02122016, -0.039653197, -0.0066891015, 0.012143, 0.03719546, 0.015417872, -0.033268146, -0.005048498, 0.007214855, -0.008101667, 0.02398195, 0.025324836, -0.007487233, -0.008570411, 0.025869593, -0.026629718, 0.0029074787, -0.021866268, 0.032127958, 0.015417872, 0.0034744055, 0.017520886, 0.014822441, -0.03709411, -0.045176774, -0.021245498, -0.011838949, -0.016013304, 0.022930443, 0.030024944, 0.018204998, 0.034585696, -0.008393049, 0.03912111, 0.017837605, -0.0007292451, -0.0069108047, 0.01899046, 0.036866073, -0.064255916, -0.0037119447, -0.02346253, -0.009374877, 0.021245498, -0.02519815, -0.016786098, 0.0053303777, -0.0072591957, 0.005618592, 0.0058244593, 0.0040730042, -0.029898258, 0.0232725, -0.018851105, 0.050041575, -0.028732732, 0.0041680196, -0.007930639, -0.005419059, -0.028682057, 0.012193675, 0.005504573, 0.016773429, 0.016076647, 0.020270005, -0.026452357, 0.010553071, 0.038462333, 0.059695166, 0.0004576587, -0.056756012, -0.010344037, -0.06410389, 0.0044784043, -0.030962432, 0.012047984, -0.020029299, 0.0024561544, -0.034104284, -0.020396693, 0.0029581538, 0.016139992, 0.01858506, 0.008488065, 0.0011140584, -0.015164497, -0.022297006, 0.02244903, 0.03932381, -0.04145216, 0.03729681, 0.013973635, -0.022943111, 0.009735936, 0.021777587, -0.01716616, 0.013378203, 0.033040106, 0.00467477, -0.036967423, -0.026249656, -0.041806884, 0.007936974, 0.019256504, 0.03136783, -0.018306348, -0.0017894614, -0.012662418, 0.0024434857, 0.0046842713, 0.0017894614, 0.0082030175, 0.013580903, -0.027997945, -0.03901976, -0.012320362, -0.025578212, -0.013796272, -0.046468984, 0.007506236, -0.0024466529, -0.020447368, -0.049914885, -0.008443723, 0.018369691, -0.027972607, 0.006885467, 0.021562217, 0.014708422, -0.009514233, 0.007398552, 0.019737918, -0.021359518, 0.022803755, -0.04233897, -0.031241145, 0.00050912553, 0.005412725, 0.0043643853, 0.014341028, 0.0046019247, 0.035269808, 0.03139317, 0.0029011443, 0.030227644, 0.012649749, 0.023399187, 0.01016034, -0.002209114, -0.0003141455, -0.030658383, 0.00015499427, -0.03699276, 0.00033888913, 0.038006257, -0.011085159, 0.008627421, 0.007651927, -0.0437072, 0.011832615, 0.03402827, -0.022233661, -0.037246134, -0.044239286, 0.009577577, -0.0028900593, 0.00087414397, 0.051359124, 0.023310505, 0.034078944, 0.051055074, -0.008760443, -0.00609367, -0.016203335, -0.002750703, -0.0514098, -0.0062678657, -0.04236431, 0.011655252, -0.021080805, -0.014201672, 0.021676237, -0.023044461, -0.0023611388, 0.03547251, -0.037524845, -0.028479356, -0.0017609567, 0.026351007, -0.0071135047, -0.0007328082, 0.02670573, -0.030835744, -0.10915398, -0.018255673, 0.026908431, 0.00012292649, 0.029442182, 0.007620255, 0.043099098, 0.021992955, 0.0037594524, -0.016773429, 0.042921737, -0.019877274, -0.016735423, 0.00011916546, -0.026351007, -0.010850787, 0.031925257, 0.02713647, 0.013973635, 0.0036961087, 0.0075125704, 0.0012027398, 0.03939982, 0.027921932, -0.0060493294, -0.00813334, -0.013910291, -0.02733917, -0.024818087, -0.00884279, -0.0038671368, 0.026984444, 0.027643219, 0.0018512215, -0.04502475, -0.027693894, 0.004709609, 0.039729208, -0.029948931, -0.0016596066, 0.0006227484, -0.037752885, 0.0038481336, -0.03790491, 0.014721091, -0.06491469, 0.02052338, 0.009178512, 0.009647256, -0.011040818, -0.013200841, -0.03737282, 0.05320876, 0.02751653, -0.02561622, 0.014974466, 0.011097828, 0.01574726, -0.018014967, 0.01016034, -0.034306984, 0.0012985471, 0.024729406, -0.018204998, -0.037423495, -0.024247993, -0.033445507, 0.03567521, 0.009387546, 0.009640921, 0.00010050874, 0.0077152704, 0.019433867, 0.034965757, 0.018420367, -0.0018448872, 0.0076899333, 0.014036979, -0.030227644, -0.0068727983, 0.055387788, -0.003246368, 0.0078546265, 0.019459205, 0.01594996, 0.003433232, 0.015278516, 0.021524211, -0.01605131, -0.00568827, -0.006160181, 0.004738114, 0.015975298, 0.038158283, 0.02042203, -0.016494716, 0.017622236, -0.032964095, 0.04084406, -0.038132947, 0.018319016, 0.01626668, -0.0044118934, -0.017394198, 0.02132151, 0.011667921, 0.03136783, -0.014974466, 0.004848965, 0.021245498, 0.014619741, -0.02632567, -0.023095137, -0.021562217, 0.0059416452, 0.019585893, 0.031215807, 0.017660242, 0.009558574, -0.01066709, 0.013948297, 0.0068601295, 0.014822441, 0.021904275, -0.008367712, -0.04320045, -0.020688074, 0.015291185, -0.037144784, -0.0019620731, -0.027769906, 0.032254644, 0.011775606, -0.004503742, -0.013644247, 0.03260937, 0.009761274, -0.012922128, -0.026731068, 0.01706481, 0.031925257, 0.024450693, 0.006746111, 0.013770934, -0.03179857, 0.015772598, -0.017001467, -0.016203335, -0.019826598, 0.008114336, -0.005115009, 0.013960966, -0.012504059, 0.037423495, -0.03088642, 0.030354332, 0.045936897, 0.0048616338, -0.0045702527, 0.03554852, -0.007170514, 0.034484345, -0.020105312, 0.014949129, 0.010692428, 0.035143122, -0.023741243, 0.017634904, 0.013150166, 0.00031612496, 0.0025575045, -0.029138131, -0.0210428, 0.01971258, 0.0041965246, -0.010369374, -0.0013135914, -0.00092798617, -0.03760086, -0.021663567, 0.021600224, -0.005064334, -0.02560355, 0.023196487, 0.041274797, 0.018243004, -0.022981118, -0.020384023, 0.01859773, -0.002524249, -0.007632924, 0.022246331, 0.006008156, 0.0015115406, 0.04124946, 0.017862942, -0.0049914885, 0.013466884, -0.031114457, -0.0020507544, -0.012972803, 0.055185087, -0.007100836, -0.0044815713, 0.00039768007, -0.0033382163, -0.016507385, -0.025413519, 0.02122016, 0.022309674, 0.018357024, 0.015088485, 0.013783603, -0.016583398, 0.00184172, -0.019775923, 0.026122969, -0.015227841, -0.00408884, 0.0051181763, -0.011199177, -0.02285443, -0.01717883, 0.042490996, -0.026832419, -0.020181324, 0.02192961, -0.020776754, -0.058783013, 0.00032602245, -0.024298668, -0.0079116365, 0.027389845, 0.014125659, -0.038462333, -0.013555566, 0.0031307656, -0.027769906, -0.012143, -0.02642702, 0.013124828, -0.023107806, -0.005026328, -0.0044657355, -0.02751653, -0.024108637, 0.018268341, -0.022727743, 0.004421395, -0.020498043, 0.0065560797, 0.024450693, 0.018382361, 0.022829093, -0.034281645, -0.0006773824, -0.01218734, 0.052144587, 0.038943745, 0.00047468234, -0.012649749, 0.0141003225, 0.016330022, 0.015937291, -0.01163625, -0.012066987, 0.009330536, 0.032457344, 0.0050199935, 0.0025590882, -0.039146446, -0.009070827, -0.00079060934, 0.003917812, -0.00054079737, 0.019674573, 0.025337506, 0.02794727, 0.026731068, -0.010001981, 0.006853795, -0.026731068, -0.012307693, -0.0076139206, 0.00013995013, -0.022081636, 0.0056090904, -0.005422226, 0.010198346, 0.006169683, 0.020079974, 0.037828896, 0.015278516, 0.002407063, -0.018052973, 0.0025210818, 0.02123283, 0.014759097, -0.0009192764, -0.012130331, 0.023107806, 0.020346018, 0.03200127, -0.040565345, 0.031013107, -0.008310702, -0.02936617, -0.02814997, -0.019978624, -0.053563487, 0.03960252, 0.0051086745, 0.023487868, 0.031874582, -0.010597412, 0.020700742, 0.0069424766, 0.0004030247, 0.003601093, -0.018141653, -0.013770934, 0.044137936, -0.016583398, 0.014784435, -0.015189835, 0.00406667, 0.02885942, 0.009064493, -0.013264185, 0.017292848, -0.016241342, 0.031621207, -0.009773943, -0.031215807, -0.061722163, -0.021916943, 0.01483511, -0.022525042, -0.022905106, -0.035092447, 0.01370759, 0.021612892, 0.013276853, 0.02784592, 0.008082665, 0.015227841, 0.0010895127, 0.015886616, -0.0051720184, -0.042136274, 0.04722911, 0.0059163077, -0.016216004, -0.025514869, 0.022829093, 0.022335012, -0.010426383, 0.01878776, -0.018344354, -0.00040935908, 0.003027832, 0.017254842, -0.005466567, 0.012257018, 0.012066987, 0.023158481, 0.00054000557, 0.019281842, -0.013137497, 0.0065180734, 0.026908431, -0.015025141, 0.009647256, 0.0063977204, 0.0033730555, -0.0035599195, -0.01432836, 0.02508413, -0.016203335, -0.011319531, -0.017191498, -0.0011805694, -0.01949721, 0.018939786, -0.026173644, 0.0009762858, -0.01961123, 0.0031925258, 0.000522982, -0.0005863257, -0.015493885, -0.036714047, -0.03874105, 0.0070628296, 0.0050358293, -0.027491193, -0.01899046, 0.016418705, 0.008393049, -0.032660045, 0.0006686726, 0.029239481, 0.02132151, 0.009976643, 0.0068727983, -0.0016643574, 0.02346253, -0.01473376, -0.01086979, 0.029796908, -0.015721923, 0.013948297, -0.050877713, 0.01726751, -0.042414986, -0.03739816, -0.016101984, 0.04266836, -0.036739383, 0.017558891, 0.009716934, 0.011205512, 0.0007438933, 0.022170318, 0.005685103, 0.021346848, -0.008703433, 0.014265016, -0.054627664, 0.02123283, 0.012257018, 0.037144784, -0.00027653514, 0.014721091, 0.008868127, -0.0038291307, 0.00949523, -0.0046335966, -0.012371037, 0.036283307, -0.027744569, 0.024197318, 0.039678533, -0.023133144, 0.001459282, -0.00010352747, -0.01554456, 0.0016643574, 0.020231998, 0.022423692, -0.021777587, -0.0027348672, 0.028555369, 0.019826598, 0.021802925, 0.0010776358, -0.045860887, 0.013935628, 0.036612697, -0.012903125, 0.0020729247, -0.005637595, 0.044872724, 0.005317709, -0.005723109, 0.032761395, -0.039703872, 0.019889941, 0.015075816, -0.0052448637, 0.0208401, -0.013948297, 0.013074153, 0.023690568, 0.025679562, -0.0095459055, 0.015265848, 0.024957443, 0.021372186, 0.043149773, -0.02447603, -0.023487868, 0.017533554, 0.013416209, 0.041832224, 0.0063343765, 0.028682057, -0.01042005, -0.0056312606, 0.0050358293, -0.002875807, -0.0072591957, -0.02733917, -0.010635418, -0.016684748, 0.010705097, 0.0065687485, 0.011927631, 0.045860887, -0.0016786098, -0.025666894, -0.020954117, 0.0006187894, -0.0014838277, -0.0015281683, 0.02733917, 0.011427215, -0.023069799, 0.022297006, -0.0046906057, 0.033065446, -0.009406549, 0.024133975, -0.0031592704, 0.028504694, -0.009026486, -0.03048102, -0.020041967, 0.011623581, 0.006999486, 0.00015578607, -0.004358051, 0.01716616, -0.021587554, -0.024438025, -0.04702641, -0.026908431, 0.0022281168, -0.035117783, 0.03311612, -0.01939586, -0.035067108, 0.016177997, 0.00014539373, 0.000866226, 0.0018401364, -0.0097802775, 0.0043612183, 0.011034484, 0.0035377492, 0.017001467, 0.030405007, 0.010293362, -0.042313635, -0.01809098, 0.0003893662, -0.028378006, -0.0255022, 0.035624534, 0.0017736254, 0.01082545, -0.0090201525, -0.017444873, -0.007740608, 0.020852767, -0.051055074, 0.019256504, 0.0050009903, -0.0030230812, 0.03395226, 0.03288808, -0.025134806, -0.014138328, 0.0067841173, -0.009058159, 0.021954948, 0.018433036, -0.011623581, 0.013998972, -0.008031989, -0.0060461625, 0.030328995, -0.007214855, 0.016836774, -0.025362844, -0.0017039473, 0.0069044703, 0.003534582, 0.00136585, 0.008760443, -0.033572197, -0.037524845, 0.0151518285, -0.023804586, 0.0054570655, -0.010255355, -0.009843621, 0.0045417477, -0.026857756, 0.023741243, 0.0009176928, -0.0035250806, 0.01735619, 0.00817768, 0.0036390992, 0.012478721, 0.052702013, 0.023500537, -0.0013975218, -0.01858506, -0.011452553, 0.037955582, -0.032786734, -0.008507067, 0.03250802, 0.024362013, 0.0016057645, -0.018673742, 0.022715075, 0.024970112, 0.0015313355, -0.0055235764, 0.010154005, 0.0013864366, 0.031241145, -0.00791797, -0.033268146, 0.04885071, -0.04317511, -0.001833802, 0.0015899285, 0.002532167, 0.017381528, 0.008285364, -0.019421197, 0.011452553, -0.039475836, 0.0007336, -0.0148604475, 0.018534387, -0.017609566, 0.0047001075, -0.007246527, -0.026122969, -0.008272695, 0.019167824, 0.010090662, 0.012763768, 0.00589097, 0.03240667, 0.00924819, -0.021169486, 0.013479553, -0.0010594245, -0.016887447, -0.010356706, -0.00571044, -0.006917139, 0.030962432, 0.06339444, 0.009482562, 0.010115999, 0.004104676, 0.044619348, 0.019180492, 0.044213947, -0.0006362089, 0.006207689, -0.03243201, 0.026274994, 0.015063147, 0.00051466806, -0.018293679, -0.00008145612, -0.01888911, -0.005691437, 0.009767609, -0.01563324, 0.03461103, 0.04347916, -0.024121305, -0.028428681, 0.011496893, 0.015911954, 0.019775923, 0.011382874, 0.010331368, 0.007271864, 0.021511542, 0.0226644, 0.0043928903, -0.016646741, 0.029138131, -0.0037436164, -0.0027617882, -0.011382874, 0.023817256, -0.009742271, 0.0037151119, -0.029898258, -0.030759733, 0.0077659455, 0.0069044703, -0.03909577, -0.019180492, -0.012504059, 0.0029581538, 0.0006267074, 0.0011829449, 0.026148306, 0.038360983, 0.05133379, -0.029188806, 0.012459719, -0.016874779, -0.021828262, -0.007981314, -0.033901583, -0.031317156, -0.0016564395, -0.025565544, -0.008038323, -0.0054634, 0.026553705, -0.019687243, -0.013694922, -0.031621207, -0.02642702, -0.009412884, -0.027491193, 0.036333982, 0.024552044, -0.0022914608, 0.0024529872, -0.0025210818, -0.032254644, 0.006423058, -0.016101984, 0.009469893, -0.017394198, 0.0054824026, -0.021904275, 0.011712262, 0.004557584, 0.038842395, 0.002095095, 0.0014521558, -0.022981118, -0.0045987573 ]
2401.09350
181
Theorem 5.4 For X ⊂ Sd−1 equipped with the angular distance of Equa- tion (5.1) or equivalently the Euclidean distance, the following family consti- tutes an LSH: H = {hR | hR(u) = arg min e∈{±ei}d i=1 ∥e − Ru ∥Ru∥2 ∥, R ∈ Rd×d, Rij ∼ N (0, 1)}, where N (0, 1) is the standard Gaussian distribution. The probability of colli- sion for unit vectors u, v ∈ Sd−1 with ∥u − v∥ < τ is: 2 Tinto = ha(v)| Ss Ind+ O,(Inind). . Importantly: ρ = log p1 log p2 = 1 (1 + ϵ)2 4 − (1 + ϵ)2r2 4 − r2 + o(1).
2401.09350#181
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 181, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Theorem 5.4 For X ⊂ Sd−1 equipped with the angular distance of Equa- tion (5.1) or equivalently the Euclidean distance, the following family consti- tutes an LSH:\nH = {hR | hR(u) = arg min e∈{±ei}d i=1 ∥e − Ru ∥Ru∥2 ∥, R ∈ Rd×d, Rij ∼ N (0, 1)},\nwhere N (0, 1) is the standard Gaussian distribution. The probability of colli- sion for unit vectors u, v ∈ Sd−1 with ∥u − v∥ < τ is:\n2 Tinto = ha(v)| Ss Ind+ O,(Inind).\n.\nImportantly:\nρ = log p1 log p2 = 1 (1 + ϵ)2 4 − (1 + ϵ)2r2 4 − r2 + o(1).", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.012306522, -0.04220076, 0.013099311, 0.009409794, 0.0244057, -0.017197419, 0.020136837, -0.020392967, -0.028125709, 0.02563757, 0.010300157, -0.005458046, -0.029491745, 0.012007701, 0.0116357, 0.0152215455, 0.025613178, 0.0058026044, -0.018185357, 0.020185623, -0.007324149, 0.0026283998, 0.052055735, 0.0022289562, 0.007214378, -0.021197954, 0.07683953, 0.0098000895, 0.053129047, -0.021563856, 0.015050791, -0.023869041, 0.026296195, 0.0006487147, -0.04283499, 0.10040365, -0.015526464, 0.06698456, -0.015928958, 0.018941555, -0.014440954, 0.019685557, -0.042883776, -0.027881773, -0.007598576, -0.003863321, -0.0046652574, -0.018819587, -0.014428756, -0.019929491, -0.027808592, 0.01692909, 0.01205039, 0.0063118185, 0.0032595817, -0.015855776, 0.01820975, 0.060642246, 0.052836325, -0.06332553, 0.0072021815, -0.0048146676, -0.017221812, 0.026564524, 0.007324149, -0.05225088, -0.00593067, 0.034272872, 0.026223015, 0.03434605, -0.047396574, 0.009214645, 0.0664479, -0.007909593, 0.0050128647, 0.005098242, -0.018490275, 0.026442556, 0.0010900847, 0.042810597, 0.011605209, 0.019392835, 0.029150235, 0.009720811, -0.041883644, -0.045323126, -0.020758871, 0.015148365, -0.06073982, 0.004613421, -0.0129041625, 0.0013172491, 0.027881773, -0.013684755, 0.0007409526, -0.016782729, 0.07191204, -0.0078059207, -0.016416827, -0.034102116, 0.002241153, -0.018819587, 0.02856479, -0.06761879, 0.046079326, 0.02151507, 0.001090847, 0.009793991, -0.00052064884, 0.015197152, 0.019087916, -0.024783798, -0.034980282, 0.053129047, 0.013818919, -0.024649635, -0.022881106, -0.013757936, -0.031223683, 0.033272736, -0.025174094, -0.0052537504, 0.047250215, -0.0073180506, -0.0070924107, -0.04059079, -0.0108856, -0.07747376, 0.0077510355, -0.011818652, 0.048787005, 0.0026024817, -0.039663836, 0.002857089, -0.017014468, 0.019002538, 0.0140018705, -0.014294593, 0.03615117, 0.028198889, -0.0025353997, 0.00529339, -0.0070558204, 0.016514402, 0.0048451596, 0.0206491, -0.07601015, 0.0015627088, 0.022307858, 0.009751302, -0.018270733, -0.026296195, 0.023003073, 0.003720009, -0.010702649, -0.07376595, -0.016636368, 0.0047140443, 0.004415224, 0.021002805, 0.024881372, 0.021271134, -0.0013027654, 0.033736214, 0.009056088, 0.021893168, -0.007866904, -0.04485965, -0.042932563, -0.075473495, -0.018575652, -0.05605627, 0.0004909192, -0.05000668, 0.0050281105, -0.01779506, 0.02417396, -0.037785534, -0.0057263747, -0.021673627, 0.0018417094, 0.05244603, -0.00064414094, -0.05083606, 0.00014569401, 0.04227394, 0.0006174605, 0.010629469, 0.03712691, -0.026881639, -0.01674614, 0.01842929, 0.014880036, 0.009635434, 0.0044884044, -0.018038996, -0.0024149567, 0.022759138, 0.010281861, 0.0030095484, 0.034638774, 0.029906433, -0.007165591, -0.04554267, -0.030052794, -0.045103587, -0.002297563, 0.025393635, -0.023417762, 0.014599511, -0.0375416, -0.026003473, 0.032077454, 0.031248076, -0.0028753842, 0.02458865, -0.012184555, 0.03585845, -0.0064215893, 0.071619324, -0.055178102, 0.032638505, 0.03505346, 0.01100147, -0.026442556, 0.03036991, 0.029077055, -0.07986432, 0.017331583, -0.014428756, 0.027149968, 0.0016084466, -0.015697218, -0.06332553, 0.008501136, 0.0017365124, -0.05732473, -0.019831918, -0.051079992, -0.028052527, -0.031296864, 0.008318184, 0.04088351, 0.03532179, 0.01602653, -0.0039791903, 0.0040157805, 0.0773274, 0.019039128, -0.040176097, -0.034516804, 0.010336746, 0.014721478, -0.04756733, -0.051567864, 0.0059703095, -0.03188231, -0.031150503, -0.014050657, 0.009897663, -0.045371912, -0.023625107, 0.0051409304, -0.006384999, 0.0054793903, -0.03615117, -0.005473292, 0.015502071, -0.029345384, -0.00029195973, -0.0074766083, 0.041908037, -0.03712691, 0.004546339, -0.02680846, -0.049128514, 0.01055019, 0.018575652, -0.034004543, 0.01640463, -0.012361407, 0.004134699, 0.013623771, 0.043493614, 0.03419969, -0.0236495, -0.016465614, 0.0011510684, -0.03802947, -0.039712623, 0.02372268, -0.05898349, 0.024893569, -0.022844516, -0.039346717, 0.0072509684, -0.031077322, -0.02211271, -0.028857512, 0.014550724, 0.059568934, 0.030418698, 0.037565995, 0.011739373, -0.040346853, 0.02128333, 0.046859916, 0.012818785, 0.00080269866, 0.032028668, 0.022063922, 0.022856712, -0.031052928, 0.025564391, -0.053177834, -0.00889753, 0.014136035, 0.0187708, -0.00093686295, -0.020392967, 0.030955354, -0.032345783, 0.029320989, -0.05083606, 0.004826864, 0.007598576, -0.015026397, -0.021429691, 0.012251637, 0.0035645005, 0.045030404, -0.02211271, 0.0032687292, 0.01824634, 0.005113488, -0.055812333, -0.017917028, 0.04937245, -0.014294593, -0.004951881, -0.034394838, -0.0054793903, -0.00033464836, 0.0031254175, 0.0101355, -0.0025765637, -0.0033510574, 0.006513065, 0.06654547, 0.015855776, -0.054007214, -0.024454486, -0.027711019, 0.020588117, 0.00581785, -0.018502472, 0.0032168932, -0.07400989, -0.020551525, -0.010336746, -0.018417094, -0.005589161, 0.009434187, 0.00822061, -0.025539996, 0.022990875, -0.006223392, 0.006824082, -0.010958781, -0.00961104, -0.01227603, 0.024527667, -0.025954686, -0.0019728246, 0.0040706657, -0.015526464, 0.011160027, 0.024491075, 0.0021893168, 0.032540932, -0.0015566103, 0.018587848, -0.044542536, -0.01644122, 0.023442155, 0.003476074, -0.02361291, 0.007537592, 0.007257067, -0.03398015, 0.011714979, -0.017697485, -0.029150235, 0.04812838, -0.016063122, -0.058885913, 0.047030672, 0.06400855, 0.023710484, 0.014989807, -0.027881773, -0.031126108, -0.021893168, -0.025174094, -0.021075986, 0.019234277, -0.031467617, 0.068936035, -0.02158825, 0.024735011, -0.00931222, 0.01118442, 0.024881372, -0.03334592, 0.003442533, 0.019722147, 0.06757, 0.008793858, 0.027881773, 0.037004944, 0.0051866686, 0.0037779436, -0.025954686, -0.046689164, -0.010458714, 0.0019042178, -0.006366704, 0.023820255, 0.043371648, -0.03371182, 0.0024637438, 0.05361692, 0.046420835, 0.014136035, -0.012068685, -0.01647781, 0.013355442, -0.037175696, -0.014965414, -0.064301275, 0.04807959, 0.02256399, -0.04659159, -0.028589185, 0.03349228, -0.019624572, 0.015343513, 0.005909326, 0.012263834, 0.06498429, -0.033565458, -0.016807122, 0.027906166, 0.005098242, -0.011812554, -0.018343914, 0.02410078, -0.0030766304, 0.004485355, 0.022246875, 0.0005259849, 0.038834456, -0.029077055, -0.01253826, -0.0022624973, 0.007098509, 0.008610906, -0.032150637, -0.023429958, 0.031052928, -0.009787893, -0.058446832, 0.07215598, -0.034028936, -0.011690586, 0.02834525, 0.010818519, -0.07025328, 0.053324196, 0.0028433676, 0.048567463, -0.027564658, -0.020661296, 0.037565995, 0.027345115, 0.021783397, 0.065716095, 0.015721612, 0.009854975, 0.0021679725, -0.06615518, -0.044688895, 0.04020049, -0.011782061, -0.028028134, 0.05308026, 0.032833654, 0.00443047, 0.016246073, 0.024686225, 0.029125841, 0.025052126, 0.004479257, 0.0412982, -0.029516138, 0.036956158, -0.017612109, -0.030150369, -0.021673627, 0.020124638, 0.02079546, 0.041761678, 0.0028723348, -0.0084340535, 0.016990075, -0.00055838254, -0.022868909, 0.037907504, -0.020978412, 0.0013812821, 0.01306272, -0.01396528, -0.013196885, -0.034175295, 0.027149968, -0.0013309704, -0.01546548, -0.07527835, -0.013428623, -0.044469353, -0.02019782, -0.05751988, -0.04227394, 0.039590653, 0.044884045, -0.034785133, -0.0009559204, -0.052738752, 0.024600847, 0.021978546, -0.00109847, 0.021051593, 0.032150637, 0.008440152, 0.014867839, -0.032492146, 0.016599778, 0.026759671, 0.0062050973, 0.0098000895, -0.014819053, 0.00856212, 0.0077388384, 0.020929625, -0.028003741, 0.0074888053, -0.013514, 0.02646695, -0.034297265, 0.016038727, -0.01681932, -0.0052354555, -0.0123248175, 0.02980886, -0.025783932, 0.044322994, -0.0047445362, -0.013135901, 0.03768796, 0.0099647455, -0.027028, -0.008885333, 0.02722315, 0.019405032, 0.013843313, -0.019856311, 0.0021771202, -0.016831517, 0.02395442, 0.016319253, -0.008879235, -0.02391783, -0.018831784, -0.03998095, -0.020941822, 0.009043891, -0.011617405, 0.020819854, -0.025466816, 0.03593163, 0.03217503, -0.009080481, -0.008251102, 0.0027244494, 0.0055251285, -0.033663034, 0.013745738, -0.0013058147, 0.0024454487, -0.01437997, 0.0018188405, -0.018002404, 0.047542937, -0.008690185, -0.019270867, -0.030174762, -0.014050657, 0.009818384, 0.0077510355, -0.0010260517, 0.0025308258, 0.021332117, 0.012672424, -0.030955354, 0.02722315, 0.017185222, 0.016697353, -0.02639377, 0.052836325, -0.028540397, -0.023161631, 0.0047140443, 0.029955221, 0.022442022, -0.011940619, 0.020002672, 0.011769865, -0.040420033, 0.009708614, -0.042469088, -0.011221011, -0.0053696195, 0.02744269, -0.023222614, -0.016343646, 0.025027733, -0.01020868, 0.034370445, 0.028223282, -0.015416694, 0.020344181, 0.03668783, 0.036663435, -0.029491745, 0.020966215, 0.0007398092, -0.021258937, 0.025100913, -0.033101983, -0.02282012, 0.00067501393, -0.010891698, 0.023893435, 0.0063728024, 0.021039397, -0.024869176, 0.017234009, -0.015197152, 0.01824634, -0.033809394, 0.011178322, -0.010086713, 0.026296195, -0.013770132, 0.017173026, -0.0157704, 0.000081708706, 0.017429158, 0.027052393, 0.0054488988, 0.046323262, 0.044810865, 0.051079992, 0.0010351993, -0.017514534, -0.013599377, -0.04193243, 0.0026192523, -0.029345384, -0.005101291, 0.003262631, -0.010470911, -0.007580281, 0.0030064993, -0.014989807, 0.014916627, 0.011239306, 0.0024042847, -0.033467885, -0.0071411976, -0.015697218, 0.0040950594, 0.059471358, -0.026247408, 0.042932563, 0.00053818163, -0.025954686, -0.008379168, 0.0068118856, -0.057275943, 0.00506775, 0.049274873, 0.006903361, -0.010312353, -0.041273806, -0.06552095, -0.015136168, -0.016282663, 0.040078525, 0.020368574, 0.0153923, 0.009306121, -0.00578126, 0.016197285, -0.0032717786, 0.0024789898, 0.023173828, 0.010312353, -0.017099844, 0.0018127421, -0.010159894, -0.010452616, -0.07030208, 0.010891698, -0.036273137, -0.023844648, -0.049787138, -0.014160428, 0.012410195, -0.02917463, 0.0015253562, 0.024832586, 0.010062319, 0.0016648566, 0.020539328, 0.017856043, 0.0020963165, 0.044176634, -0.02267376, 0.00626913, -0.013160295, -0.021454085, 0.0033815491, 0.038566127, 0.020929625, 0.00934881, 0.035370577, 0.020905232, 0.009793991, 0.035199825, -0.004110305, 0.009031694, -0.012916359, -0.009568351, 0.015965547, 0.01295295, -0.0010435845, -0.008854841, 0.023222614, -0.004595126, 0.009720811, -0.0071838866, -0.040346853, 0.010147697, 0.04449375, -0.021039397, -0.02722315, -0.037224483, 0.009330515, -0.021051593, -0.013306656, 0.045859784, -0.01483125, 0.023478746, 0.029613711, -0.0082267085, -0.021722414, -0.01302613, -0.0044914535, -0.039810196, -0.0018493324, -0.049713958, -0.0124284895, -0.04590857, -0.016160695, 0.0100074345, -0.015319119, 0.00026642278, 0.029711286, -0.04561585, -0.00653136, 0.0187708, -0.0069460496, -0.010922191, 0.00072456326, 0.021722414, -0.019270867, -0.09845217, 0.006610639, 0.046640377, -0.0052689966, 0.027174361, 0.0059672603, 0.020551525, 0.0034669265, 0.0117454715, -0.02218589, 0.008976809, -0.01588017, -0.027589051, 0.033785, -0.015916761, -0.029613711, 0.016246073, 0.035834055, 0.0038450258, -0.006525262, 0.016807122, -0.0003378881, 0.039712623, 0.044810865, -0.01441656, 0.0075741825, -0.00074133376, -0.033199556, 0.03258972, 0.033370312, -0.00062889495, 0.015477677, -0.006101425, 0.031467617, -0.023393368, -0.058398046, 0.015038595, 0.005586112, -0.027052393, 0.012147964, 0.027345115, -0.026662098, 0.009617139, -0.02350314, 0.033663034, -0.063910976, -0.01779506, -0.011885734, 0.022515202, 0.017404763, -0.010165992, -0.0076534613, 0.030052794, 0.018026799, -0.04320089, 0.0043146005, 0.013782329, 0.04737218, -0.0074339197, -0.025296062, -0.037785534, -0.003044614, 0.0319067, -0.0065984423, -0.031931095, -0.01483125, -0.04988471, 0.004253617, -0.005875785, 0.02946735, 0.027149968, -0.003555353, -0.024698421, 0.02924781, 0.03878567, 0.0049244384, -0.030125976, 0.016563188, -0.018795194, -0.018270733, 0.0010237648, -0.0024332518, -0.0036559762, 0.014989807, 0.018343914, 0.011971111, 0.025783932, 0.0009795516, -0.038127042, 0.026588917, -0.018551258, 0.0142092155, 0.013989674, 0.06274009, 0.013684755, -0.024735011, 0.00063651794, -0.04144456, 0.019673359, -0.004936635, -0.005680637, 0.031833522, 0.027832987, -0.0018127421, -0.012794392, 0.0070375255, 0.009556155, 0.011611307, 0.02124674, 0.008830448, 0.018990342, 0.013562787, -0.024149567, -0.0033998443, 0.005647096, 0.019685557, -0.008245003, 0.011794258, 0.013953083, -0.026296195, 0.016282663, 0.018295126, 0.016282663, 0.042956956, -0.0045219455, -0.019844115, -0.023564123, -0.0041133543, -0.0345412, 0.0006662475, 0.01186134, 0.053860854, 0.012227243, -0.004762831, -0.0038450258, 0.04076154, 0.013770132, -0.014526331, -0.05083606, 0.02308845, 0.02019782, 0.036321923, -0.0086353, 0.016599778, -0.014611708, 0.03127247, 0.0052720457, -0.022807924, -0.013623771, 0.020771068, 0.010141599, -0.0034028937, -0.014989807, 0.0017243157, 0.016990075, 0.01636804, 0.02500334, -0.032638505, 0.015794793, 0.012306522, 0.014636101, 0.0076107727, -0.03578527, 0.045445096, 0.054007214, 0.008464545, -0.018319521, -0.012818785, -0.008031561, -0.0003293123, 0.0053787674, -0.033272736, -0.056105055, 0.023820255, 0.016514402, -0.00034798856, 0.014111641, 0.020088049, -0.040029738, -0.0142701985, 0.018563455, 0.00030129787, -0.030052794, -0.01039773, 0.036004808, 0.013209081, 0.0057568667, -0.024649635, 0.030052794, 0.024954554, 0.0032321392, -0.011763766, 0.0038572226, 0.01692909, 0.03795629, -0.004756733, -0.027613444, 0.029686892, -0.0056257513, -0.00025022397, -0.0073729362, 0.04229833, 0.0040615182, -0.019844115, 0.011056355, -0.0001220628, -0.020502739, -0.023930026, 0.015685022, -0.03149201, 0.02173461, 0.0010870354, 0.021880971, 0.0011373471, 0.023661697, -0.01929526, 0.012550456, 0.026832853, 0.0019469064, -0.015550857, 0.004884799, -0.025174094, 0.009787893, 0.029223416, -0.016392434, 0.004250568, 0.004274961, -0.034809526, -0.0720584, 0.008452348, 0.023637304, 0.0076839533, -0.0031467618, -0.021197954, -0.017551124, 0.00878166, 0.008263299, -0.03476074, 0.010245271, -0.005714178, 0.00439083, -0.012916359, -0.027076788, 0.013123704, -0.022844516, 0.0013187737, 0.02305186, -0.01996608, 0.006726508, 0.0019286113, 0.0047963723, 0.0100074345, 0.010531895, 0.013196885, -0.022624973, 0.031565193, -0.007842511, 0.037419632, 0.05469023, -0.008507234, 0.0073973294, 0.01403846, 0.005281193, -0.012867573, 0.017209616, -0.048518676, 0.00476893, 0.03358985, -0.0050037173, 0.0029500893, -0.03502907, -0.0032748277, 0.0062569333, 0.010147697, -0.022868909, 0.023295796, 0.028052527, 0.017465748, -0.0043816827, -0.003476074, -0.003863321, -0.027906166, -0.030394305, -0.0014666594, 0.021088183, -0.025539996, 0.02151507, 0.00034150903, 0.06600881, 0.013184688, -0.012263834, 0.007391231, -0.01036114, 0.0319067, 0.022283465, -0.022942089, -0.018112175, 0.014599511, 0.01396528, 0.013074917, -0.012330916, 0.0137945255, 0.015916761, -0.044347387, 0.032126244, 0.009190252, -0.023173828, -0.0033845985, -0.041176233, -0.04520116, 0.039858982, -0.02038077, 0.014916627, 0.028784333, -0.015941154, 0.013684755, 0.00045814045, 0.022881106, 0.011031961, 0.004820766, -0.018343914, 0.014282395, 0.02086864, -0.018221946, -0.025027733, 0.007818118, 0.00589408, -0.007074116, 0.001794447, 0.020954018, -0.011477143, 0.022124907, -0.019051325, -0.0187708, -0.035809662, -0.008275496, 0.003939551, -0.048787005, 0.00022887965, -0.0025277766, 0.0043420433, 0.015087381, 0.01250167, -0.0015855776, -0.0093854, 0.010909994, 0.019234277, 0.0033876477, 0.0017792011, -0.015599645, 0.05732473, 0.004415224, -0.02549121, -0.0072692637, 0.045323126, 0.02260058, 0.0055312268, 0.008470643, -0.026271801, -0.006391098, 0.016002137, 0.028857512, -0.016233876, -0.0072631654, 0.018234143, 0.035687692, -0.0068423776, 0.0031589586, -0.023588516, 0.00720828, 0.0014750446, -0.059373785, -0.009653728, -0.0025460718, 0.03515104, 0.001006232, 0.008104742, 0.045737818, -0.029003873, -0.01077583, -0.0047201426, 0.00249576, -0.017599912, 0.015831383, -0.04778687, 0.01058678, 0.022551794, 0.019673359, -0.013489607, -0.037151303, -0.012154062, -0.043078925, -0.043371648, 0.037858717, 0.017075451, -0.024308125, -0.004387781, 0.0014933397, -0.0049793236, -0.018502472, -0.027686626, -0.00747051, 0.030565059, -0.032101847, -0.014087248, -0.017112043, 0.03141883, -0.034785133, -0.0015360283, 0.007129001, -0.022478612, 0.0042170268, -0.019892901, 0.0077754287, -0.003799288, -0.022734744, -0.008592611, 0.027076788, -0.01295295, 0.014989807, 0.002767138, 0.0059520146, 0.019697754, -0.00521716, -0.0069216564, 0.031296864, 0.0053238817, 0.031516407, -0.05244603, 0.0690824, 0.011050257, 0.023307992, -0.002849466, 0.0020322837, -0.012416293, 0.009739106, -0.0002182075, -0.012355309, 0.021844381, -0.002068874, -0.030491877, -0.00472929, 0.025588784, -0.015172758, 0.00878776, -0.0031132207, 0.012867573, -0.010318452, 0.010903896, 0.008940219, -0.041273806, 0.01922208, 0.052982688, 0.021405298, -0.00017647175, 0.0096964175, -0.029028269, -0.000705887, 0.03922475, -0.03161398, 0.009958647, 0.006878968, 0.027711019, -0.0035980416, 0.0153923, 0.013392033, -0.028881907, 0.013782329, -0.016087515, 0.0296625, 0.004826864, 0.019734344, 0.0018447586, 0.018575652, 0.0028692856, -0.012550456, -0.0015192578, 0.010708747, 0.027491476, 0.054153576, -0.018368308, 0.008885333, 0.0064642783, 0.020344181, 0.040273674, -0.022271268, 0.01712424, -0.011428356, 0.0097635, -0.0050707995, 0.0075436905, -0.028442824, -0.014880036, -0.0040645674, 0.011934521, 0.020112442, -0.012830982, -0.009220744, 0.024149567, -0.0061989985, -0.011477143, 0.0024378255, -0.017599912, 0.012373604, 0.012019898, 0.012648031, 0.00083776435, -0.0152215455, 0.027906166, 0.010123303, 0.017929224, 0.008556021, 0.0064886715, -0.0021146117, 0.044054665, -0.0206491, -0.027320722, -0.0319067, -0.0006643418, 0.006610639, -0.03051627, 0.0017349878, 0.022381037, -0.008543824, -0.0046896506, -0.029442957, -0.02308845, -0.040688362, 0.013989674, 0.036395106, 0.0064093927, -0.026564524, 0.020039262, 0.019551393, 0.0051256847, -0.02282012, -0.000990986, 0.015062988, -0.012660228, 0.007446117, 0.012465079, 0.01891716, -0.008159626, -0.02496675, -0.025466816, 0.034077723, -0.0011076175, -0.04200561, 0.033443492, -0.006500868, 0.031150503, -0.006141064, 0.021161363, 0.003768796, 0.04020049, -0.04790884, 0.00454329, 0.011739373, -0.010019631, 0.025344849, 0.03788311, 0.0008171823, -0.005485489, 0.008928021, -0.03693176, 0.01956359, 0.007873002, -0.005897129, 0.037565995, 0.010989273, -0.01186134, 0.021307724, -0.015733808, -0.016343646, -0.00091780553, -0.0168925, 0.028418431, -0.005878834, 0.02646695, 0.015026397, -0.0025597932, -0.035712086, 0.0066289343, -0.018892767, 0.018099979, 0.007446117, -0.03505346, 0.008214512, -0.028808726, -0.0055464725, -0.013160295, -0.021783397, 0.027711019, -0.026149834, 0.017465748, 0.045079194, 0.04966517, 0.02436911, -0.016063122, -0.025881507, -0.0019362342, 0.008696283, -0.013696952, -0.021380905, -0.004650011, 0.0073668375, 0.002497285, -0.0059459163, 0.023295796, 0.038907636, 0.018368308, 0.011611307, 0.025881507, -0.037224483, 0.0090073, -0.03149201, -0.008665792, 0.037931897, -0.01392869, -0.010251369, -0.036834188, -0.0018112175, 0.023173828, 0.002695482, -0.011105142, 0.023320189, -0.023173828, -0.015416694, 0.0051256847, -0.011897931, 0.0027000557, 0.010928289, -0.0071350993, -0.0030842535, 0.024356913, 0.025442423, -0.01253826, 0.027052393, 0.033321526, 0.017294994, -0.0076290676, -0.02597908, 0.023149434, -0.0032382375, -0.018929359, -0.005500735, 0.024686225, 0.010684354, 0.0045188963, 0.054104786, -0.015526464, 0.009165859, -0.02222248, 0.027345115, 0.00073561654, 0.03956626, 0.0021573002, 0.00090484647, -0.020917429, -0.0028738594, 0.02605226, 0.0072692637, -0.0075924774, 0.027979348, -0.019856311, 0.026247408, 0.012672424, 0.0097574005, 0.020295395, 0.04771369, -0.013635968, -0.035712086, 0.0043450925, 0.014197018, 0.03149201, 0.007866904, 0.012446784, -0.0044579124, 0.01692909, 0.009361006, 0.008379168, -0.01622168, 0.0042353217, 0.00837307, -0.015087381, 0.02086864, 0.02605226, 0.008976809, -0.028418431, -0.003494369, -0.011056355, 0.019124506, 0.0071046078, -0.013465214, -0.030467484, -0.016685156, 0.032199424, -0.027101181, 0.017514534, -0.013428623, 0.013209081, 0.023820255, -0.045030404, -0.0386637, 0.008318184, -0.011617405, 0.0071350993, -0.027906166, -0.026149834, 0.008543824, -0.023625107, -0.008165725, 0.044274207, 0.011989406, 0.012806589, -0.0034699757, -0.0005480915, -0.0025811375, -0.0068606725, -0.029930828, 0.0360292, 0.031028535, 0.014526331, 0.012769998, 0.027418297, -0.01629486, 0.0048604053, -0.00003146857, 0.0073973294, -0.015416694, 0.019856311, -0.020356378, 0.005082996, -0.013831115, 0.05834926, -0.0036193859, 0.020771068, -0.018746406, 0.011007568 ]
2401.09350
182
Importantly: ρ = log p1 log p2 = 1 (1 + ϵ)2 4 − (1 + ϵ)2r2 4 − r2 + o(1). Proof. We wish to show that, for two unit vectors u, v ∈ Sd−1 with ∥u − v∥ < τ , the expression above for the probability of a hash collision is correct. That, indeed, completes the proof of the theorem itself. To show that, we will take advantage of the spherical symmetry of Gaussian random variables—we used this property in the proof of Theorem 2.2. By the spherical symmetry of Gaussians, without loss of generality, we can assume that u = e1, the first standard basis, and v = αe1 + βe2, where α2 + β2 = 1 (so that v has unit norm) and (α − 1)2 + β2 = τ 2 (because the distance between u and v is τ ). Let us now model the collision probability as follows: 65 66 5 Locality Sensitive Hashing (a) (b) ax + By = aX1+ BY, ar + By =—(aXi+ Yi) ME NSG+ 9x) (+eAn
2401.09350#182
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 182, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Importantly:\nρ = log p1 log p2 = 1 (1 + ϵ)2 4 − (1 + ϵ)2r2 4 − r2 + o(1).\nProof. We wish to show that, for two unit vectors u, v ∈ Sd−1 with ∥u − v∥ < τ , the expression above for the probability of a hash collision is correct. That, indeed, completes the proof of the theorem itself. To show that, we will take advantage of the spherical symmetry of Gaussian random variables—we used this property in the proof of Theorem 2.2.\nBy the spherical symmetry of Gaussians, without loss of generality, we can assume that u = e1, the first standard basis, and v = αe1 + βe2, where α2 + β2 = 1 (so that v has unit norm) and (α − 1)2 + β2 = τ 2 (because the distance between u and v is τ ).\nLet us now model the collision probability as follows:\n65\n66\n5 Locality Sensitive Hashing\n(a) (b) \nax + By = aX1+ BY, ar + By =—(aXi+ Yi)\nME NSG+ 9x) (+eAn", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.0018294946, -0.017294738, 0.05150439, 0.025017863, -0.0024657028, -0.03628603, 0.013141975, 0.008786638, -0.015978009, 0.023675812, 0.024903916, 0.025055846, -0.03978043, 0.015167713, -0.032690346, 0.029980922, -0.017661903, 0.0075142216, -0.006779892, -0.05185889, -0.011382115, 0.03360193, 0.025043186, 0.023485899, 0.012515263, -0.031247009, 0.043528043, 0.0073243086, 0.044135764, -0.05183357, 0.015332304, -0.016167922, 0.0026999288, -0.024296194, -0.05317562, 0.06933088, -0.009590603, 0.065988414, -0.0030876677, 0.043426756, 0.004788971, 0.042895, -0.046389397, -0.00026904332, -0.02025738, 0.011939193, 0.0042572147, -0.024612715, 0.0022156509, 0.010040063, 0.0010872516, 0.000054748336, 0.01116055, 0.0043426757, -0.030715251, -0.03025946, 0.0013111905, 0.04314822, -0.008773978, -0.059556697, -0.0077167954, -0.029702382, -0.014661279, 0.023182038, 0.012173419, -0.03745083, 0.020434631, 0.0072166915, 0.054846857, 0.019738285, -0.01967498, 0.029778348, 0.09728607, 0.012508932, 0.0019434424, -0.0140662175, -0.0402109, 0.030031566, -0.0012296862, 0.035298485, 0.0072166915, 0.015788095, 0.024448125, -0.006887509, -0.03319678, -0.03919803, -0.04286968, -0.018902667, -0.055606507, -0.005928449, 0.0018848858, 0.030791217, 0.02805647, -0.017408686, 0.013382532, -0.023739116, 0.061633077, -0.02641056, -0.015547539, -0.04256582, -0.023701133, -0.03628603, 0.027676646, -0.02701828, 0.085435495, -0.026334593, -0.008748656, 0.016522424, -0.022447709, 0.021548787, 0.004890258, -0.01851018, -0.020206736, 0.040464114, 0.004386989, 0.025954768, -0.031956017, -0.004010328, 0.0024118943, 0.00042690846, -0.018105034, 0.0031446416, 0.038564987, -0.020447293, 0.015826078, -0.047478233, 0.010388237, -0.073433004, -0.007824413, -0.028993374, 0.019649658, 0.014180166, -0.0039438587, -0.0039881715, -0.031930696, -0.0032380156, 0.026106698, 0.034868013, 0.0070710913, 0.024017656, 0.0012581731, -0.013015366, -0.012546915, -0.010223647, -0.033855144, 0.018978633, -0.08594193, 0.02129557, 0.027246175, -0.010090707, -0.021358874, -0.05474557, 0.024131604, 0.00439965, 0.0018706424, -0.080725655, 0.003541876, 0.047351625, -0.008913247, -0.023460578, -0.003510224, 0.017370703, -0.0072230217, -0.01146441, 0.026815707, -0.028183078, -0.03360193, -0.079257, -0.034690764, -0.068216726, -0.0009424429, -0.038083874, -0.024676021, -0.023663152, 0.0059980834, -0.030335426, -0.013015366, -0.08786638, 0.0055106403, -0.027068924, -0.0026587811, 0.045452494, 0.079206355, -0.02009279, 0.028309688, 0.034083042, 0.060620207, 0.01745933, 0.0085524125, -0.019788928, 0.013597766, 0.008242222, 0.019396441, 0.0005361084, 0.013331888, -0.065988414, -0.0070394394, 0.02025738, 0.0017804337, -0.011666984, 0.021561448, 0.033703215, 0.008691682, -0.004409145, -0.03319678, -0.011977175, 0.046617296, 0.005064345, -0.04608554, -0.0054948144, -0.02510649, -0.02922127, 0.039020777, -0.012148097, -0.007837074, 0.012470949, -0.06882445, 0.031930696, 0.013268583, 0.047073085, -0.057986747, 0.03757744, 0.028157758, 0.027575359, -0.01748465, 0.039324638, 0.05449235, -0.062190156, 0.035880882, 0.0014124775, 0.034310937, 0.012686184, -0.005849318, -0.058088034, 0.0016000165, 0.0043426757, -0.011033941, -0.01924451, -0.040641367, -0.030056886, -0.02556228, 0.002146016, 0.0066596135, 0.01027429, -0.0050010406, -0.0027917202, -0.020143433, 0.07637032, 0.043983836, -0.03188005, -0.045882966, 0.005741701, -0.0126798535, -0.033829823, -0.027246175, -0.014496687, -0.012179749, 0.016180582, -0.0032759982, 0.007090083, -0.031247009, -0.021890631, -0.039425924, 0.0046781884, -0.042110026, -0.02570155, -0.042667106, -0.0043268497, -0.021130979, -0.026638454, -0.013167297, 0.02628395, 0.000019807325, 0.0143954, -0.031930696, -0.027119568, -0.016661694, 0.052061465, -0.036615215, 0.030867182, -0.023435256, -0.020966388, 0.028613549, -0.0027474072, 0.05565715, -0.018193658, -0.0402109, 0.024650699, -0.03762808, -0.068115436, 0.026359916, -0.045300566, -0.015585521, 0.015382947, -0.0065519963, 0.0057828487, 0.0062924484, -0.018092372, -0.05183357, -0.009052517, 0.032665025, 0.053074334, 0.030436713, 0.012141767, -0.03859031, -0.0051086578, 0.027727287, 0.021270249, 0.001390321, 0.030082209, 0.010173003, -0.003244346, -0.075458735, 0.022586979, -0.030183496, -0.019991502, 0.027220855, -0.024296194, -0.009223438, 0.0073243086, 0.066140346, -0.011540376, 0.037071005, -0.051681638, 0.0066596135, 0.027043601, -0.028714836, -0.027094245, 0.04259114, -0.016636373, 0.038286448, -0.016699677, 0.009900794, 0.0061310227, -0.004978884, -0.05621423, -0.014256131, 0.06082278, -0.0124392975, -0.02100437, -0.06467169, -0.02805647, -0.010882011, -0.012103784, 0.017889798, -0.010432551, 0.020725831, 0.030816538, 0.06477297, -0.0063525876, -0.018459538, -0.021751361, -0.018358251, 0.01144542, 0.050618127, -0.048263207, 0.006988796, -0.0884741, -0.019282494, 0.0020510596, -0.022637622, -0.009603264, 0.017269416, 0.012407645, 0.017231433, 0.012977384, -0.044085123, -0.019181207, -0.030943148, 0.021941274, -0.068621874, 0.05915155, -0.07019182, 0.0071407263, -0.040109612, 0.0070457696, -0.015079087, 0.020751154, 0.066545494, 0.035652988, 0.019852232, 0.034310937, -0.022017239, -0.0053049014, -0.008463786, 0.024903916, 0.018624129, 0.0010112864, -0.022637622, -0.025663568, -0.014281453, 0.012907749, -0.03891949, 0.049605258, -0.01320528, -0.032411806, 0.07474973, 0.011989837, -0.0008300778, 0.019067258, -0.06315238, -0.016990878, -0.015193035, -0.025777515, -0.0013974427, 0.03319678, -0.009495647, 0.034412224, 0.0146866, 0.012749488, -0.017269416, 0.03785598, 0.029575774, -0.03494398, 0.021067675, -0.0021776683, 0.049428005, 0.03423497, 0.03423497, 0.020624544, 0.01350914, 0.012129106, -0.05945541, -0.007590187, -0.031728122, -0.02158677, 0.002001999, 0.006254466, 0.029828992, -0.05727774, -0.015661487, 0.047807414, -0.0056024315, 0.0002862542, -0.009476655, 0.008197908, 0.024410142, 0.004950397, -0.024042977, -0.015838739, -0.024055637, -0.005200449, -0.03453883, 0.008628378, -0.0040324847, -0.0119518535, 0.01863679, -0.03218391, 0.04213535, 0.011920202, 0.012211402, -0.037982587, 0.017079502, -0.0080713, -0.0016285034, -0.002517929, 0.04051476, 0.007090083, 0.008292865, -0.017547956, 0.00997676, 0.008001665, -0.03717229, 0.024258211, 0.00040336716, 0.010673107, -0.014230809, -0.04861771, -0.015788095, 0.03157619, -0.0016150512, -0.03084186, 0.04978251, -0.04048944, -0.008970221, -0.0062734573, -0.0023723291, -0.054239135, 0.04213535, 0.0025115986, 0.03681779, -0.046921156, -0.005159301, 0.014294113, -0.023409935, 0.06791286, 0.050643448, 0.027068924, 0.03919803, -0.029980922, -0.043831903, -0.04507267, 0.08092823, -0.01335721, -0.0091411425, 0.053226266, 0.053023692, -0.014053557, 0.03390579, 0.03550106, 0.04742759, 0.015864061, 0.010318602, 0.009438673, -0.008634708, 0.031981338, -0.006358918, -0.008381491, -0.010888342, 0.02408096, 0.021612091, -0.006096205, -0.0149778, -0.008406812, -0.019991502, -0.029347878, -0.021827327, 0.024739325, 0.003018033, 0.0049409014, 0.019206528, 0.0069128308, -0.011211193, -0.019649658, -0.0077927606, -0.043072253, -0.021624753, -0.07723126, -0.016978215, -0.10523709, 0.021320892, -0.030588644, -0.034083042, 0.0016759817, 0.008261212, -0.030765895, -0.0025685725, -0.041299734, 0.05656873, 0.017092165, -0.007995334, -0.016952895, 0.005390362, 0.014876513, -0.009641247, -0.031778764, 0.008508099, 0.0055707796, 0.027170211, 0.023118734, -0.04140102, -0.0024245551, -0.004804797, 0.025359707, -0.027271498, 0.009875473, 0.01571213, 0.046617296, -0.020497937, 0.023739116, 0.0054093534, -0.025435671, 0.022726247, 0.01658573, 0.0038109196, 0.050010405, 0.027626002, -0.01967498, 0.01661105, -0.003715963, -0.010749072, 0.0005756736, 0.0202827, 0.004225563, 0.014180166, -0.0038235805, -0.029297234, -0.010780724, -0.028664192, 0.011755611, -0.022485692, 0.00050762144, -0.021865308, -0.027144888, -0.016066635, 0.0072420132, 0.013091331, 0.014218148, -0.010755402, 0.0022283117, -0.017016198, -0.005048519, 0.013534462, 0.013141975, 0.018282285, 0.004019824, 0.011515054, -0.010305942, -0.046490684, -0.0036906414, 0.023384612, -0.012357001, 0.03451351, -0.034893338, -0.03246245, -0.018725416, -0.014205487, 0.025144473, 0.013382532, -0.0065709874, 0.016205903, -0.005640414, -0.0011972428, -0.0016791469, 0.013230601, -0.00090762554, 0.0026651116, -0.027068924, 0.0599112, 0.008913247, 0.010679437, -0.012831784, 0.051073916, 0.0071154046, -0.009622255, 0.03157619, 0.02039665, -0.031196365, -0.002723668, -0.017864477, -0.0014575818, -0.0021048684, 0.017953103, 0.005124484, 0.026613133, 0.04730098, 0.004817458, 0.046743903, -0.027170211, -0.0423126, -0.0061785006, 0.046667937, 0.027119568, -0.034564152, -0.0069824653, -0.012489941, -0.006254466, 0.0484911, -0.036716502, -0.032209232, -0.0061911615, 0.015408269, 0.019801589, -0.00025618463, 0.0046750233, -0.03350064, 0.022131188, -0.011641663, -0.00017873576, -0.036361996, -0.009286743, -0.0024641203, -0.02158677, -0.026841028, 0.016813625, 0.0019750944, -0.00880563, 0.024536751, 0.007096413, -0.011008619, 0.011799923, 0.037096325, 0.03200666, 0.0028882592, -0.019599015, 0.02070051, -0.05829061, 0.002533755, -0.0032316851, 0.0061025354, -0.005937944, -0.005466327, -0.009647577, -0.013002706, 0.0041369367, 0.014648617, 0.011401107, -0.0016411643, -0.012914079, -0.053327553, -0.019257171, -0.015851399, 0.051681638, -0.022245135, 0.03304485, -0.0066279615, -0.001002582, 0.0074129347, -0.0076978044, -0.05859447, 0.0126102185, 0.022194492, -0.015484234, -0.006286118, -0.020725831, -0.048009988, -0.028537583, -0.006988796, 0.023967013, -0.011755611, 0.005931614, -0.0034627458, 0.010445211, 0.013901627, 0.010825037, -0.01057182, 0.006150014, 0.010381907, -0.009375368, 0.007387613, 0.0077041346, -0.0045452495, -0.04945333, 0.0025812334, -0.020447293, -0.027170211, -0.049731866, -0.016547747, -0.0058239964, -0.030487357, 0.0067355786, 0.0068621873, 0.039071422, 0.008698013, 0.043376114, 0.02157411, 0.013787679, 0.035146553, -0.023891047, 0.006988796, -0.006767231, 0.010413559, -0.011616341, 0.0144840265, 0.009812168, 0.03626071, 0.0118125845, 0.009786846, 0.024270874, 0.02509383, 0.0030433547, 0.010407229, -0.009356377, -0.000063502135, 0.026537167, -0.007906709, -0.016775642, 0.034057718, -0.029904956, -0.0029515636, 0.013078671, 0.0018927989, -0.05084602, 0.021839987, 0.03436158, -0.026056055, -0.0009574777, -0.0128191225, 0.015914705, -0.004845945, -0.00039486063, 0.015066426, 0.0005641997, 0.019788928, 0.04216067, -0.0009566864, -0.029145304, -0.018041728, -0.025536958, -0.015522217, 0.023447916, -0.046440043, 0.011021281, -0.025195116, -0.018674772, 0.0018912163, 0.0005855649, 0.002650868, 0.03068993, -0.056366157, -0.0074382564, 0.011401107, -0.0023343465, 0.0058904663, 0.003978676, 0.000851443, -0.023169378, -0.11050401, 0.003075007, 0.044414304, -0.010065385, -0.005532797, 0.0052795797, 0.052010823, -0.0049155797, -0.02363783, -0.006140518, 0.020801796, -0.02643588, -0.0351972, 0.027347462, -0.00954629, -0.01688959, 0.0025574942, 0.012717836, -0.013268583, 0.015155052, 0.031145722, 0.0076851435, 0.078649275, 0.030082209, -0.029398521, 0.0065519963, 0.0064380486, -0.050035726, 0.0072293524, -0.027803253, 0.0032791633, 0.011325141, 0.03732422, -0.0015833991, -0.028335009, -0.006577318, 0.0072293524, 0.008052308, 0.010780724, -0.0014172252, 0.015484234, -0.06533005, 0.0031889547, -0.02805647, 0.020827118, -0.05358077, 0.015433591, -0.028360331, 0.014167504, 0.012135437, -0.023460578, -0.03965382, 0.018472198, 0.0027474072, -0.0064602047, -0.0015636164, 0.017307399, 0.0328676, 0.002731581, -0.0033867806, -0.022219812, -0.0077737696, 0.012743157, -0.025448333, -0.013686392, -0.020624544, -0.019915536, 0.027550036, -0.011109906, 0.0021175293, 0.011363124, 0.0077294563, -0.006843196, 0.0033677893, 0.028005827, 0.003062346, -0.021915952, 0.0011798341, -0.05183357, -0.010521176, -0.0008751821, 0.00007433311, -0.03185473, 0.046490684, 0.008362499, -0.0006575735, 0.022814874, -0.008786638, 0.0035893545, -0.004792136, -0.012907749, 0.007279996, -0.0034532503, 0.033449996, 0.011065594, -0.021080336, 0.032386485, -0.03388047, 0.028385652, 0.006229144, 0.0034184328, 0.024764646, 0.0030417722, -0.018738076, -0.02863887, 0.01014135, -0.003915372, -0.0090715075, 0.003994502, 0.0034279285, -0.004523093, 0.01262288, -0.058797043, 0.009445003, 0.0009645994, 0.010812377, -0.03651393, 0.015623504, -0.017573277, -0.025752194, 0.021624753, -0.010692098, 0.022371743, 0.02306809, 0.0009922951, -0.02391637, -0.009476655, 0.029499808, -0.033703215, -0.0073939436, -0.0011078254, 0.045427173, 0.014015574, 0.009774186, -0.01910524, 0.012952062, 0.010641455, -0.016383156, -0.024638038, 0.0036558239, 0.013888965, -0.004140102, -0.005855649, 0.030462034, -0.011907541, 0.03924867, -0.03190537, 0.014205487, 0.011692306, 0.011629002, -0.021017032, -0.030816538, 0.0069128308, 0.012173419, -0.036463283, 0.012179749, 0.023106074, -0.00012097058, 0.010970637, 0.036387317, -0.0049250755, 0.027322141, -0.013749696, 0.03886885, 0.006665944, -0.001442547, -0.019624336, -0.021472823, -0.004007163, 0.015864061, 0.01350914, -0.0396285, -0.032690346, 0.024676021, 0.019434424, -0.0054979795, 0.01881404, -0.008432134, -0.046693258, -0.006374744, 0.03127233, -0.01131248, -0.048111275, -0.008546082, 0.02510649, -0.032335844, -0.004095789, -0.02805647, 0.0068052136, -0.009495647, 0.020890422, 0.008565073, 0.0055581187, 0.044313017, 0.052973047, -0.00030128896, -0.01205314, 0.010831367, -0.0052384315, -0.021827327, 0.008045978, 0.027068924, -0.0033234763, -0.03585556, 0.0045357537, -0.0120911235, -0.019928196, -0.025650907, -0.016015992, -0.014408061, 0.03524784, 0.018244302, -0.00403565, 0.018282285, -0.016990878, -0.012262045, -0.0053207274, 0.052213397, -0.002489442, -0.0055739447, 0.02744875, -0.030335426, -0.0040609716, 0.005545458, -0.03623539, 0.004887093, -0.013445836, -0.02525842, -0.059556697, -0.015142391, 0.0018896337, -0.009869142, -0.016775642, -0.031373616, -0.015167713, 0.02643588, -0.020611884, -0.04018558, -0.0073369695, -0.001299321, -0.002114364, -0.014661279, -0.009096829, 0.015484234, -0.013534462, -0.027423428, 0.03651393, -0.031778764, -0.0016680686, -0.021675397, -0.008020656, -0.014496687, 0.023865726, 0.010242637, 0.0076281694, -0.001968764, -0.00602024, 0.019877553, 0.006843196, 0.011439089, 0.026689097, -0.012857106, 0.019750945, -0.0060993703, 0.006134188, -0.04922543, 0.012141767, 0.024865933, 0.013585106, -0.03793194, -0.016028652, 0.0044249715, -0.017851816, -0.011698636, -0.029297234, -0.026030732, 0.0040673018, 0.0074192653, -0.0021855813, -0.01542093, 0.0024751986, 0.003950189, -0.014268791, -0.026030732, 0.0031019112, -0.027955184, 0.009204447, -0.0033709547, 0.05504943, 0.02673974, 0.012831784, -0.011546707, 0.02863887, 0.01438274, 0.015788095, -0.029398521, -0.029423844, 0.034690764, 0.0020336509, -0.013521801, -0.008026986, 0.0026999288, 0.038286448, -0.015788095, 0.02070051, 0.0063209357, -0.029980922, 0.0072166915, -0.0240683, -0.04651601, 0.03479205, -0.01190121, 0.026309272, 0.03653925, -0.008052308, -0.012964723, 0.012312689, 0.056163583, 0.024600055, 0.0005566823, -0.008995542, 0.025334386, -0.00017537273, 0.004785806, 0.00719137, -0.023979673, 0.021244926, -0.018143015, -0.008628378, 0.019649658, 0.022675604, 0.02259964, 0.0050137015, -0.011477072, -0.041198447, 0.012167089, 0.005520136, -0.015306982, 0.011033941, 0.002001999, -0.0032316851, -0.010457872, 0.01453467, 0.01631985, -0.016699677, 0.008698013, 0.015205695, -0.0022947814, -0.0073939436, -0.03185473, 0.05403656, 0.007932031, -0.0071027437, -0.008603056, 0.031500224, 0.026942315, 0.022219812, 0.006786222, -0.019497728, -0.008685351, 0.0052922405, 0.0015224686, -0.028157758, 0.005095997, 0.01806705, 0.029246591, -0.011723958, 0.026765063, -0.0044566235, -0.0026888505, -0.0015359209, -0.044616878, -0.015395609, -0.009780516, 0.014901835, -0.01806705, 0.0017804337, -0.0010595559, -0.03291824, 0.013433175, -0.014306774, 0.032487772, -0.033703215, 0.011274498, -0.026689097, 0.011970845, -0.009672899, 0.016383156, 0.025714211, -0.017585937, 0.0017503642, -0.042667106, -0.023992334, 0.021270249, -0.0054156836, 0.00025658027, -0.0033203112, 0.006406396, -0.019181207, -0.009786846, 0.02349856, -0.00719137, 0.027803253, -0.018877346, -0.0016150512, -0.02027004, 0.008679021, -0.014167504, -0.01910524, 0.0012874515, -0.0051086578, 0.018332928, -0.021928614, -0.0073433, -0.017446669, -0.020523258, 0.0035861891, 0.008400482, -0.0006908083, 0.0018469032, -0.0030227809, 0.040869262, 0.017801173, -0.0011845819, 0.00072246045, 0.016421137, -0.031728122, 0.024979882, -0.037704047, 0.066140346, -0.0021745032, 0.018383572, -0.006301944, 0.011331472, 0.008210569, -0.010489524, 0.030031566, -0.000958269, -0.004893423, 0.013939609, -0.041071836, 0.031373616, 0.014053557, -0.008014326, -0.0068178745, -0.015155052, 0.021168962, -0.023815082, 0.0018532337, 0.007951021, -0.051656317, -0.0011568862, 0.046364076, 0.019054597, -0.008406812, 0.02909466, -0.030943148, -0.009945108, 0.043122895, -0.013179958, 0.015319644, 0.008710673, 0.014863852, 0.0111542195, -0.010160342, 0.022422386, -0.026891671, 0.024726665, -0.016940234, 0.00690017, 0.01892799, 0.014851191, -0.022865517, 0.023270665, -0.012572236, -0.004966223, -0.0124392975, 0.019776266, 0.011008619, 0.044895418, -0.0036621543, 0.0141042005, 0.009571612, -0.0060898745, 0.034032397, 0.019003954, 0.03420965, 0.019877553, -0.017282076, 0.025498977, -0.018307608, -0.028309688, -0.008090291, 0.002049477, -0.009122151, 0.034336258, -0.015053765, -0.012148097, 0.02541035, -0.017801173, 0.01981425, 0.012078462, -0.024789969, 0.0049535623, -0.00008185049, 0.032031983, 0.010755402, -0.045680393, 0.0111542195, -0.012249384, 0.03377918, 0.0060677184, 0.011926532, 0.03861563, 0.03653925, 0.004684519, 0.00060574315, -0.026486523, 0.019168545, -0.017117485, -0.011610011, -0.013230601, 0.014952478, -0.017699886, -0.024422804, -0.025473654, -0.0057796836, 0.0001691412, 0.0004304693, 0.027119568, -0.008476447, -0.019915536, 0.02554962, 0.021118319, 0.0032380156, -0.027195532, 0.023612509, -0.0012779558, -0.007020448, -0.017940441, 0.032665025, -0.009527299, 0.023713795, -0.018978633, -0.026233306, 0.011242846, -0.024194907, -0.043983836, -0.0014013991, 0.0059252833, 0.001038982, -0.025195116, 0.05945541, 0.021979257, 0.025891462, -0.040109612, 0.0124392975, 0.006039231, -0.004228728, 0.0040293196, 0.033424675, -0.010641455, 0.0055169705, 0.027271498, -0.0349693, 0.038109194, 0.025688889, -0.0110845845, 0.020763814, 0.024764646, -0.022131188, 0.0040736324, 0.0037412848, -0.0017756859, -0.014990461, -0.0025938943, 0.0043395106, -0.0045579104, 0.010052725, 0.022131188, -0.0034121023, -0.02423289, 0.0054125185, -0.003393111, 0.0052067796, -0.017978424, -0.023675812, -0.008603056, -0.027372785, -0.00059229095, -0.025068507, -0.0014710339, 0.007178709, 0.00025341506, -0.0039533544, 0.0065393355, 0.023283325, -0.028740156, -0.028588226, -0.032690346, -0.0052384315, 0.036083456, -0.02556228, -0.0141042005, 0.011489732, 0.0029056678, 0.030816538, -0.0175986, 0.004523093, 0.01806705, -0.004098954, 0.01895331, 0.020232057, -0.005254258, 0.015344965, -0.023397272, 0.010400898, 0.027068924, -0.032386485, -0.043528043, -0.002283703, -0.012002497, 0.026157342, -0.012375993, -0.014458705, -0.0068495264, 0.0039565195, -0.0035070588, -0.0043268497, -0.015800755, 0.0023739117, -0.03188005, -0.0027948853, 0.012116445, 0.0076155085, 0.027828574, -0.019611675, -0.0031303982, 0.02524576, 0.032361165, 0.008267543, -0.04613618, 0.023371952, -0.008653699, -0.018029068, -0.021092996, -0.005184623, 0.0384637, 0.024486108, 0.036210068, -0.003090833, -0.0147625655, -0.030208817, -0.005228936, 0.004317354, 0.032335844, -0.009058847, 0.0065583265, -0.025081169, 0.0017851816, 0.029322557, -0.008533421, -0.0021634249, 0.0064253877, -0.011780933, 0.023030108, -0.008419474, 0.00025934985, 0.010090707, 0.03509591, 0.008735995, -0.042464532, -0.004798467, 0.01806705, 0.014838531, -0.011128898, -0.0021111988, 0.002562242, 0.007020448, -0.01896597, 0.0050453534, 0.00036301065, 0.023295986, -0.018307608, -0.006684935, 0.020333344, 0.0067482395, 0.028385652, -0.009001873, -0.034007076, -0.031753443, -0.004694015, 0.0036653196, -0.042819034, -0.012597558, -0.025030525, 0.01877606, 0.011825245, 0.008305525, -0.007837074, 0.007469909, -0.022561656, -0.02380242, 0.0012257297, 0.014787887, 0.0015375034, -0.000708217, -0.027499393, -0.0073433, -0.027980505, -0.022270456, -0.002642955, 0.0003153346, -0.010464203, 0.0043236846, 0.010090707, -0.0019640164, -0.010457872, 0.012724167, -0.02275157, 0.007881387, 0.043046933, -0.0072356826, 0.010888342, 0.044667523, -0.014610635, -0.008349839, -0.029753026, 0.025726872, -0.008773978, 0.03580492, -0.02395435, 0.008172587, -0.0025005203, 0.03142426, 0.012705175, -0.018864684, 0.0023865725, 0.023625169 ]
2401.09350
183
(a) (b) ax + By = aX1+ BY, ar + By =—(aXi+ Yi) ME NSG+ 9x) (+eAn Fig. 5.3: Illustration of the set SX1,Y1 = {|x| ≤ X1 ∧ |αx + βy| ≤ αX1 + βY1} in (a). Figure (b) visualizes the derivation of Equation (5.5). P [h(u) h(v)| 2d = 2d P X,Y<N(0,D) = 2d E X1,¥i~N (0,1) P [h(u) h(v) ea Vi, [Xi] < MA laX; + BYi| < aX + 6%] d-1 P [IXa] < Xi AlaX2 + BY] < aX + 6Y1] | Ee ( 5. 2) # P The first equality is due again to the spherical symmetry of the hash functions and the fact that there are 2d signed standard basis vectors. The second equality simply uses the expressions for u = e1 and v = αe1 + βe2. The final equality follows because of the independence of the coordinates of X and Y , which are sampled from a d-dimensional isotropic Gaussian distribution.
2401.09350#183
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 183, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "(a) (b) \nax + By = aX1+ BY, ar + By =—(aXi+ Yi)\nME NSG+ 9x) (+eAn\nFig. 5.3: Illustration of the set SX1,Y1 = {|x| ≤ X1 ∧ |αx + βy| ≤ αX1 + βY1} in (a). Figure (b) visualizes the derivation of Equation (5.5).\nP [h(u) h(v)| 2d = 2d P X,Y<N(0,D) = 2d E X1,¥i~N (0,1) P [h(u) h(v) ea Vi, [Xi] < MA laX; + BYi| < aX + 6%] d-1 P [IXa] < Xi AlaX2 + BY] < aX + 6Y1] | Ee ( 5. 2)\n# P\nThe first equality is due again to the spherical symmetry of the hash functions and the fact that there are 2d signed standard basis vectors. The second equality simply uses the expressions for u = e1 and v = αe1 + βe2. The final equality follows because of the independence of the coordinates of X and Y , which are sampled from a d-dimensional isotropic Gaussian distribution.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.036580045, -0.021130705, 0.049238533, 0.009612229, -0.0117801195, -0.026413383, 0.023560239, -0.015661143, -0.007687291, 0.027858643, -0.0063199, -0.021903172, -0.014004077, -0.0018439532, -0.027509788, 0.017280832, 0.008708941, -0.0062856376, -0.008054836, -0.026737321, 0.01104503, 0.023510402, 0.013667679, 0.034985274, 0.008011228, -0.012683407, 0.012832917, 0.033041645, 0.040367622, -0.04403061, -0.031446878, -0.012315863, 0.027858643, -0.030425226, -0.03182065, 0.039321054, -0.0077371276, 0.02833209, -0.0040865988, 0.050384775, 0.019162161, -0.003270525, -0.036654796, -0.020183811, -0.021566777, -0.017380504, -0.043507326, -0.0010792733, 0.012359469, 0.029852105, 0.002960604, 0.0029263413, 0.022177273, 0.021766122, -0.031197693, -0.054870065, 0.0016850991, 0.034212805, 0.018015921, -0.04622342, 0.032966893, -0.029702596, -0.018427072, 0.04171321, 0.0148139205, -0.015922785, 0.006784003, -0.0016570659, 0.017928706, 0.0031630648, -0.0113378195, 0.054720555, 0.09284553, 0.02760946, 0.024058605, -0.0080423765, -0.0027098635, 0.02545403, 0.017841492, 0.0006249039, 0.010683715, -0.0015114498, 0.022787772, -0.0014709575, -0.015573928, -0.057511404, -0.017069025, 0.014315555, -0.05016051, 0.015511633, 0.006167276, 0.018738551, -0.014377851, -0.011182081, 0.05362415, 0.033963624, -0.013493252, -0.014776544, 0.005796616, -0.03443707, 0.0029388003, -0.019947087, 0.022600885, -0.024457296, 0.085968085, -0.021193001, -0.002454451, 0.027808806, -0.0098614115, 0.01978512, -0.0113378195, -0.006989579, 0.058807153, 0.016184427, 0.008808614, -0.010415844, -0.059355356, -0.040342703, 0.022152355, -0.0021476448, -0.0029746203, 0.005843338, 0.061448492, -0.04664703, 0.01858904, -0.004849721, -0.024594348, -0.02775897, -0.05581696, -0.007325976, 0.022164814, 0.0060862913, -0.022613345, -0.023722207, -0.035682984, -0.011530937, 0.024619266, 0.0012093155, 0.024307787, 0.053973008, 0.042311247, 0.016470987, 0.00552563, -0.009375505, -0.02252613, 0.026537973, -0.06558493, 0.023473024, 0.0305249, 0.0058526825, -0.012384388, -0.018713633, 0.012178812, -0.020893982, 0.0074630263, -0.03957024, 0.001395424, 0.043058798, -0.010988964, 0.046298176, -0.002762815, 0.012477832, 0.010291252, 0.015486714, 0.0141411275, -0.0066843303, -0.042211577, -0.05317562, -0.032393772, -0.0662328, -0.035957087, -0.03710333, -0.045700137, -0.007525322, 0.026263872, 0.01584803, 0.009842723, -0.07889129, -0.024681563, -0.020221189, -0.01090798, 0.043831263, 0.044429302, -0.06957185, 0.052727092, 0.022488752, 0.055468105, 0.018800847, 0.0030945395, -0.023323515, 0.0003556696, 0.031322286, 0.015449337, -0.01654574, 0.023522861, -0.026214037, 0.011182081, -0.031073103, 0.030475063, 0.015735898, 0.070718095, 0.040666644, 0.030200962, -0.0048466064, -0.052278563, -0.045525707, 0.049437877, 0.004722015, -0.028755702, 0.0074318787, -0.008584349, -0.051431343, 0.010247645, 0.020594964, -0.039719746, 0.053973008, -0.062395386, 0.0053512016, -0.02019627, 0.04811721, -0.09110125, 0.017517556, 0.040342703, -0.020158892, -0.048316557, 0.026114363, 0.025790425, -0.015050644, -0.0016165738, -0.02920423, 0.07116663, 0.0021336281, -0.001875101, -0.03922138, 0.0068151513, -0.007986311, -0.016184427, -0.035209537, -0.05506941, 0.0053979238, -0.030200962, 0.015536551, 0.009525015, -0.002613305, -0.013244069, 0.016832301, 0.0031428188, 0.029104557, 0.0064476063, -0.039345972, -0.023099251, 0.054720555, 0.0030587194, 0.0046348013, -0.03169606, -0.014489983, -0.028406845, 0.036580045, -0.023174005, 0.010858143, -0.019648068, -0.03795055, -0.0057654683, 0.030300636, -0.016595578, 0.007687291, -0.016171968, 0.024669103, -0.006263834, -0.028431764, 0.025080254, 0.018526746, 0.0044105365, -0.024669103, -0.043607, 0.0031552778, -0.0039308597, 0.03954532, 0.0041052876, 0.0116492985, -0.029403577, -0.021404807, 0.0069522015, 0.026413383, 0.015499174, -0.034561664, -0.04447914, 0.03937089, -0.039719746, -0.064787544, 0.04520177, -0.03550856, 0.00712663, -0.02339827, 0.016657874, 0.015274909, -0.011960777, -0.023734666, -0.0045413575, -0.0064413766, 0.027659297, 0.03630594, -0.012708326, 0.04866541, -0.06294359, 0.031446878, 0.0238468, 0.028008154, -0.00092742743, 0.02136743, 0.026238956, -0.027360277, -0.05666418, 0.011942089, -0.04024303, -0.017044106, 0.05392317, -0.027011422, -0.008179427, 0.0022784658, -0.006746626, -0.018190349, 0.017716901, -0.07570175, -0.02833209, 0.008814843, -0.050683793, -0.002803307, -0.0024155164, -0.009088945, 0.033589847, -0.02223957, 0.014776544, 0.015798192, 0.017517556, -0.05990356, -0.029378658, 0.03635578, -0.004363815, -0.03388887, -0.047892943, -0.04649752, -0.017554931, -0.042535514, 0.00799877, -0.00050654204, -0.0032923284, 0.0076997504, 0.024332706, 0.033540014, -0.04218666, -0.06438885, -0.028979966, 0.016682792, 0.035109863, -0.06957185, -0.0004602096, -0.043831263, -0.041613538, 0.022837609, -0.023871718, -0.008179427, 0.06703019, 0.019411344, -0.00033698088, -0.008771236, -0.0034106902, 0.02063234, -0.029901942, 0.015225072, -0.046547357, 0.019336589, -0.089157626, 0.0084846765, 0.0061205537, -0.019336589, 0.008646645, 0.0018034609, 0.026064526, 0.015686061, -0.024320247, 0.00022037109, -0.049039185, -0.01876347, 0.016807383, -0.0053418577, 0.011368968, -0.012832917, 0.0003256898, -0.018240185, -0.033913787, -0.013779812, -0.040890906, 0.056863528, 0.0074630263, -0.051630687, 0.080735244, 0.013617843, 0.019000193, 0.026961586, -0.026911749, -0.03752694, -0.01903757, -0.035658065, -0.035957087, 0.04465357, -0.011736512, 0.04201223, 0.026413383, 0.033938706, 0.018726092, -0.010739781, 0.023435647, -0.036953818, -0.00827287, 0.02833209, 0.02718585, 0.024046145, 0.03675447, 0.046597194, 0.033963624, 0.027360277, -0.022027764, 0.005693828, -0.02294974, -0.013979158, -0.006696789, 0.025254682, 0.033041645, -0.020732014, -0.009331898, 0.05158085, -0.023585157, 0.02223957, -0.008054836, 0.007930244, 0.03588233, 0.00654105, -0.027086176, -0.008696482, -0.0033670834, -0.012128975, -0.05031002, 0.0062295715, 0.0128453765, -0.015499174, -0.009967314, -0.013443415, 0.012982427, 0.040093523, -0.013580466, -0.011188311, 0.021454643, 0.024793694, 0.0282075, -0.006108095, 0.021716285, 0.0010224284, -0.01673263, 0.019261835, -0.0070456453, 0.010291252, -0.0025977313, -0.008609268, 0.013393578, 0.031322286, -0.029278986, -0.06638231, -0.020532668, 0.042386003, -0.014527361, 0.010839454, 0.084423155, -0.037875794, -0.025765507, 0.03124753, 0.013729976, -0.047394577, 0.07012006, 0.0059367814, 0.021043492, -0.05666418, -0.05566745, -0.0047998847, -0.02631371, 0.09792886, 0.038698096, 0.00530448, 0.023722207, -0.0057498943, -0.030898673, -0.014066372, 0.047419496, -0.012596194, 0.0060987505, -0.015324745, -0.008397462, -0.0012638243, 0.01613459, 0.030026535, 0.05377366, 0.021242838, -0.005419727, 0.0052141515, 0.019361507, -0.0060271104, 0.018314939, -0.00009996515, -0.008652874, 0.05302611, -0.0053512016, 0.012870294, -0.003214459, 0.018427072, -0.0128453765, 0.006902365, -0.032319017, 0.027958317, -0.01685722, 0.0061361277, -0.0066656414, -0.017592309, -0.014041454, -0.022177273, 0.00958731, -0.026662566, -0.008565661, -0.11263065, -0.07475486, -0.064787544, 0.0021819074, -0.019199539, -0.043831263, 0.032319017, 0.03371444, -0.045276526, -0.022725476, -0.03035047, 0.03314132, 0.019386426, -0.022289407, -0.027684215, 0.034636416, 0.016333936, -0.0097305905, -0.026562892, 0.0021024803, 0.031347204, 0.01467687, 0.02398385, -0.012832917, -0.02383434, -0.0057498943, 0.006207768, -0.045176852, 0.051281832, -0.0057249763, 0.020557586, -0.013879485, 0.0018906749, 0.0037751202, 0.0141909635, 0.037875794, 0.016981812, 0.007892867, 0.05566745, 0.022339243, 0.0016165738, -0.022613345, -0.011786349, -0.01858904, -0.025254682, 0.03717808, -0.00095546053, -0.010988964, 0.0002766319, -0.00081840996, -0.012945049, -0.036804307, -0.006002192, -0.041887637, 0.0010574698, -0.017704442, -0.03142196, -0.020133974, 0.0026273218, -0.0119234, 0.02631371, -0.009630918, 0.009325668, 0.00056221883, -0.0086154975, -0.032892138, 0.029154394, 0.018651336, -0.010378466, -0.004005614, -0.005338743, -0.0006829168, -0.0105342055, 0.030774083, -0.022451375, 0.02850652, -0.00974305, -0.038299404, -0.019672986, 0.015748356, 0.0061735054, 0.0019794463, -0.02922915, -0.011250606, 0.017255913, 0.020744473, 0.024756316, -0.019162161, 0.027709134, -0.004665949, -0.029528169, 0.055268757, -0.0031132284, 0.025964854, 0.018265104, 0.038050223, 0.012608653, 0.008584349, 0.025242222, 0.023996308, -0.029578004, -0.008328937, -0.032941975, 0.0012622669, -0.019872332, 0.013169314, -0.0011781676, -0.0011602577, 0.016371313, -0.020707095, 0.0073197465, -0.019560855, -0.039769582, -0.008061065, 0.03167114, 0.016371313, -0.0377512, -0.015810652, -0.03139704, -0.015212613, 0.032368854, -0.038872525, -0.03309148, -0.024469756, 0.018526746, 0.027559623, -0.020956278, 0.0055567776, -0.024544511, 0.015686061, 0.011001423, 0.011742742, -0.025304519, -0.014128668, -0.021890715, -0.037676446, -0.03852367, 0.003139704, 0.012378158, -0.025105173, 0.021442184, 0.01684476, -0.011861104, 0.024444839, 0.029129475, -0.0024684677, 0.017617228, -0.033839032, -0.016670333, -0.02980227, -0.0024528936, -0.009923707, -0.014938512, 0.006298097, 0.014228341, -0.013356201, -0.016309017, 0.011150933, 0.01395424, -0.0032175735, -0.0051425113, -0.014228341, -0.049512632, -0.025341896, 0.009711902, 0.060401924, -0.018726092, 0.037427265, -0.010384696, -0.0060644876, 0.02079431, -0.0128453765, -0.040890906, -0.005793501, 0.053574312, -0.019573314, -0.016670333, -0.04754409, -0.056016307, -0.05187987, 0.011213228, 0.054870065, -0.013381119, -0.00268806, -0.0053574312, 0.0018190348, 0.014489983, -0.0122722555, -0.010054528, 0.019947087, 0.0029294558, -0.01046568, -0.0056439918, -0.004270371, 0.010384696, -0.067329206, 0.012228648, -0.024220573, -0.017928706, -0.061797347, -0.0147640845, 0.00842861, -0.022999577, 0.015536551, 0.023871718, 0.016657874, 0.016047375, 0.03286722, -0.006036455, 0.0069708903, 0.026338628, -0.03717808, -0.00871517, -0.0016835417, -0.014552278, -0.011400116, 0.025790425, 0.014689329, 0.03244361, 0.008453528, -0.015623765, -0.0044416846, 0.044130284, -0.017629687, 0.010048299, -0.026712403, -0.0033047877, 0.0037439724, 0.017991003, -0.0108456835, -0.00682761, 0.0073446645, 0.014552278, 0.024793694, 0.0019093637, -0.04126468, 0.0039588925, 0.04081615, -0.027011422, -0.005192348, -0.030325554, 0.016632956, -0.0009897231, -0.023697289, 0.031023266, -0.0065348204, 0.0039433185, 0.04689621, 0.005986618, -0.006204653, -0.04791786, -0.018738551, -0.0037128245, -0.009138782, -0.032044914, -0.011150933, 0.00044852914, -0.011069949, 0.016234264, 0.018053297, -0.011094866, 0.013268987, -0.06588395, 0.0027067487, 0.00588383, 0.004491521, -0.007892867, 0.0082791, 0.012770621, -0.039271217, -0.11073686, 0.02559108, 0.049936242, -0.03082392, -0.0025759279, -0.008989272, 0.0023968276, -0.016196886, 0.0032238031, -0.015910326, 0.00065371563, 0.012739473, -0.0050054607, 0.014066372, 0.014477524, -0.038897444, -0.019722823, 0.010702403, -0.011425034, -0.0125837345, 0.017554931, 0.0018704288, 0.025715671, 0.03795055, -0.027559623, 0.012571275, 0.0042392234, -0.053723823, 0.017617228, -0.0010115267, -0.023286138, 0.010004692, -0.0095997695, 0.047319826, -0.008553201, -0.004345126, 0.0055318596, 0.05766091, 0.0069397427, 0.0052390695, 0.024158278, -0.051979546, 0.0020105941, -0.02922915, 0.017941166, -0.013169314, 0.020956278, -0.00044152088, 0.008391232, 0.010098135, -0.0106650265, -0.03431248, 0.012004384, -0.019398885, -0.020333322, -0.008659104, 0.0019701018, 0.012322092, -0.011499789, -0.009475178, -0.0252796, 0.015872948, 0.063740976, -0.03124753, -0.020445453, -0.035209537, -0.0072325324, 0.023672372, -0.019349048, -0.005263988, -0.0008121804, 0.027833724, -0.025640916, 0.0006502115, 0.028606191, 0.0037813499, -0.0019249376, 0.0410155, -0.033240993, -0.021055952, 0.021678908, 0.009649606, 0.000392463, 0.053823497, -0.025815343, -0.0070705637, -0.019461181, 0.0051425113, -0.012664719, 0.028381927, -0.0010847241, 0.0048902137, 0.0014577197, 0.017081484, 0.025665835, -0.02556616, -0.0038747934, -0.0025105174, 0.008546972, 0.00305249, 0.014328014, 0.014863757, -0.002726995, -0.011368968, -0.023473024, 0.02240154, -0.006061373, -0.021354971, 0.0067403964, 0.0035695443, -0.00056377624, -0.0022737936, -0.037452184, -0.020146433, -0.025989773, 0.028606191, -0.019922169, 0.011412575, -0.0021756778, -0.029453414, 0.017829033, -0.0025354356, 0.02061988, 0.026562892, 0.006276293, -0.04390602, -0.009649606, 0.0020744472, -0.043357816, 0.0047905403, 0.0037688906, 0.027410114, 0.0046192273, 0.015449337, 0.0018081331, 0.025204847, -0.018950356, -0.00030330225, -0.03082392, -0.004768737, -0.006133013, -0.02165399, 0.01119454, 0.0035882331, -0.004008729, 0.053225458, -0.0020074793, -0.0042423382, 0.004198731, 0.04652244, 0.002783061, -0.0012038647, 0.00044930784, -0.018738551, 0.039869256, 0.015960163, 0.014215882, -0.024444839, 0.026712403, 0.036231186, -0.0066781007, 0.000034554654, -0.00901419, 0.024806153, 0.008092213, 0.0016726399, -0.0005419727, -0.013343742, -0.009475178, 0.023298597, 0.0037283986, -0.0328423, -0.044553895, 0.042934205, 0.033639684, 0.000036209385, 0.010160431, -0.010490598, -0.034935437, -0.007394501, 0.019074949, -0.011001423, -0.039321054, 0.000923534, 0.01918708, -0.0037034801, 0.009562392, -0.028606191, 0.038274486, 0.0046597193, 0.019822497, 0.010322399, 0.045949318, 0.035433803, 0.06045176, 0.00021608826, -0.029428495, 0.012558816, 0.0027332245, -0.017941166, -0.039894175, -0.005394809, -0.0070020384, -0.016670333, -0.008621727, 0.020021843, -0.023622535, -0.008129591, 0.0055380887, 0.029328821, -0.007886637, 0.03548364, -0.007830571, -0.00041076235, -0.04465357, -0.0049182465, 0.011375197, 0.03922138, 0.012290944, -0.0010668141, 0.011537166, -0.062893756, -0.017181158, -0.0014024322, -0.02443238, 0.001159479, -0.00712663, -0.0073758126, -0.062594734, -0.003971352, -0.0060457992, 0.024282869, -0.015561469, -0.018327398, -0.026911749, 0.042660106, -0.033515096, -0.02601469, -0.018364776, -0.025242222, 0.02222711, -0.0098801, -0.04358208, -0.0039464333, -0.012290944, -0.0569632, 0.011879792, 0.008634186, 0.031621303, -0.015573928, 0.006453836, -0.0031552778, 0.019087406, 0.012758162, -0.009562392, 0.008036147, -0.0056159585, 0.025964854, 0.0047033266, 0.019211998, 0.015100481, -0.0043233223, 0.03792563, -0.030799001, 0.0135181695, -0.045849644, 0.011817497, 0.020258566, -0.0028609307, -0.006020881, -0.011699135, 0.0113378195, 0.019722823, -0.003675447, -0.023772044, 0.012727015, 0.006307441, -0.004740704, 0.00025619112, 0.0049213613, -0.012571275, -0.0068525285, -0.028705865, -0.01161815, 0.0052515287, -0.013991618, 0.014153586, 0.011144703, 0.052677255, 0.01526245, 0.01815297, 0.0030353586, 0.03301673, 0.013293905, 0.021354971, -0.031720977, -0.020233648, 0.013630303, -0.00054898096, -0.031347204, -0.022339243, -0.00094144396, 0.028057989, 0.0019810037, 0.040915824, -0.002152317, -0.015760815, -0.013406037, -0.009120093, -0.0141411275, 0.0026849452, -0.025740588, 0.030774083, 0.020221189, -0.006802692, 0.01815297, 0.025765507, 0.043233227, 0.007955163, 0.0063728513, -0.006883676, 0.04579981, 0.008129591, 0.032892138, -0.0012630456, -0.02556616, 0.008416151, -0.027335359, -0.0043077487, 0.027210768, -0.0052920207, 0.028381927, 0.031147856, -0.008166968, -0.0069646607, -0.004594309, -0.021616613, -0.018240185, 0.015499174, 0.009250914, -0.007338435, -0.016209345, 0.020943819, 0.008708941, -0.0058900598, -0.0061392426, 0.007525322, 0.002124284, -0.027783887, -0.009917478, 0.045949318, -0.011611921, -0.009649606, 0.0076623727, 0.030051453, 0.0017894444, 0.002596174, 0.002057316, -0.015897866, -0.021267757, -0.013580466, -0.017779198, -0.0128453765, -0.013268987, 0.032019995, 0.038274486, -0.011462411, 0.002596174, -0.01395424, 0.028182581, 0.014801461, -0.037277754, -0.015673602, 0.016907057, -0.0035477409, -0.001847068, 0.02093136, -0.0114188045, -0.012832917, 0.001720919, -0.018576581, 0.010123054, -0.018202808, -0.0020822342, -0.001831494, 0.0065784273, -0.00075961836, -0.008416151, -0.006771544, 0.0014226784, 0.01061519, -0.047569007, -0.015823111, 0.02586518, 0.0045133242, -0.012172583, 0.033166237, 0.058956664, -0.017230995, -0.03877285, 0.010023381, 0.03471117, 0.03314132, -0.003357739, -0.01221619, -0.027235687, -0.00077480293, -0.023311056, -0.006164161, -0.009581081, 0.010864372, 0.009126322, -0.007786964, 0.0017987888, -0.002572813, -0.026637647, 0.008845991, -0.00974305, -0.027933398, 0.032343935, 0.02136743, 0.011269295, 0.022688098, -0.012758162, -0.016645415, 0.02165399, -0.0076810615, 0.015773274, -0.026089445, 0.06628264, 0.028307172, 0.007874178, -0.010646338, -0.0007533888, 0.0014086618, -0.010129283, 0.0015278024, -0.015524092, -0.00014065205, 0.014228341, -0.02586518, 0.031621303, 0.005335628, 0.014041454, -0.0055598924, -0.017667064, 0.009942396, -0.03368952, 0.00929452, -0.0109266685, -0.012322092, 0.013381119, 0.03849875, 0.016533282, -0.0022379735, 0.0055380887, -0.049039185, 0.020570045, 0.046148665, 0.0103535475, 0.009045337, -0.0074381083, 0.029179312, -0.024370084, -0.008322707, 0.022314325, -0.02631371, 0.018701173, -0.0033421651, 0.006108095, 0.030549819, -0.00090640265, -0.022326784, -0.00610498, -0.012577505, 0.006089406, -0.0072449916, -0.011387656, 0.01612213, 0.043258145, -0.030624572, 0.050758548, 0.020408075, 0.008235494, 0.031147856, 0.0028095366, 0.017044106, -0.015661143, -0.0073758126, 0.006995809, -0.024955664, -0.019548396, -0.00006998534, -0.008341396, 0.021342512, -0.0051051336, -0.008509595, 0.00081763125, 0.011580774, -0.024332706, 0.018676255, -0.00043334457, -0.04462865, 0.0013611614, 0.013867026, 0.011431264, 0.014901135, -0.025516324, -0.0025260912, -0.0032860988, 0.042560432, 0.014427687, -0.0005575466, 0.0005112142, 0.026537973, 0.0012864065, -0.020943819, -0.0011649298, 0.007730898, -0.006995809, -0.01614705, -0.011873563, 0.024544511, 0.0060115363, -0.03035047, -0.01757985, -0.007014497, -0.009462719, 0.038847607, 0.002041742, -0.010098135, -0.054471374, 0.014265719, -0.0034511825, 0.003441838, -0.019847414, 0.03142196, 0.023734666, -0.023385812, -0.04258535, 0.04201223, -0.008839762, 0.01772936, 0.004756278, -0.015810652, 0.010160431, -0.011761431, -0.04181288, 0.016919516, 0.04171321, 0.020158892, -0.03169606, 0.025204847, 0.015287369, 0.026562892, -0.028755702, 0.0061423574, 0.020806769, -0.014153586, 0.026737321, 0.034187887, -0.026413383, -0.011960777, 0.017941166, -0.023921555, 0.053823497, 0.042062066, 0.014739166, 0.046173584, -0.010988964, -0.017056566, 0.0010605846, 0.010590271, -0.0065721977, -0.008596809, -0.0027877332, 0.002477812, -0.027335359, -0.005419727, 0.02601469, -0.02109333, -0.028157663, 0.0023828112, -0.0026709288, 0.0011127571, 0.0016041147, -0.011020112, -0.00712663, -0.012465373, 0.011188311, -0.0016804269, 0.0006689002, 0.004342011, -0.03533413, -0.014751625, 0.035359047, 0.035782658, -0.013966699, -0.0174428, -0.021890715, 0.00013938666, 0.048989348, -0.023871718, -0.01685722, -0.006864988, 0.010509287, 0.020594964, -0.010876832, 0.008247953, 0.023560239, -0.0010364449, 0.034337398, 0.027858643, -0.030724246, 0.010546665, -0.035010193, 0.0041084024, 0.028406845, -0.012820458, -0.020432994, -0.011991925, 0.0078617195, 0.0066033457, -0.021043492, 0.021753663, -0.019299213, -0.014863757, 0.0014328014, -0.01905003, -0.005070871, 0.0186015, -0.02093136, 0.012203731, 0.008783695, 0.03819973, 0.0073072873, -0.023647454, 0.01220996, 0.018838223, 0.011281754, 0.015985081, -0.01497589, 0.005276447, -0.0044229957, 0.0016570659, -0.032792464, 0.0056689098, 0.01090798, 0.03550856, 0.04201223, 0.004357585, 0.003516593, -0.015785733, 0.0012599308, 0.0016804269, 0.027883561, 0.0057654683, 0.00047539416, -0.008926976, -0.0072885985, 0.039719746, 0.0125338975, -0.005186118, 0.008241723, -0.02151694, -0.019635608, -0.007674832, -0.007961392, 0.013194232, 0.02718585, 0.018252645, -0.024831071, -0.004055451, 0.020806769, 0.079539165, -0.028755702, 0.0018143627, -0.026762238, 0.017031647, 0.016969353, -0.0029901944, -0.006375966, 0.0070954817, -0.02252613, -0.010571582, -0.01467687, 0.018738551, 0.0107148625, -0.0058807153, -0.013904403, 0.0019529706, -0.008565661, 0.0024404346, -0.02499304, -0.0064787543, 0.009911248, 0.024532052, 0.002803307, 0.0232363, -0.013630303, 0.0060239956, -0.028855374, -0.022476293, -0.032069832, 0.015760815, -0.0026818304, -0.0013354644, -0.013692598, 0.016346395, -0.016757548, -0.03411313, -0.0005096568, -0.0075128633, -0.0238468, -0.0092882905, 0.011350279, -0.011929629, -0.0058339937, -0.0021071525, -0.01959823, 0.030873755, 0.03737743, 0.021990387, 0.0014966545, 0.026413383, -0.0059897327, -0.01961069, -0.020445453, 0.015187695, -0.020520208, 0.016670333, -0.028556354, 0.0023158432, -0.0063136704, 0.029976698, 0.030300636, -0.019872332, -0.036530208, 0.0070705637 ]
2401.09350
184
The innermost term in Equation (5.2) is the Gaussian measure of the closed, convex set {|x| ≤ X1 ∧ |αx + βy| ≤ αX1 + βY1}, which is a bounded plane in R2. This set, which we denote by SX1,Y1, is illustrated in Fig- ure 5.3(a). Then we can expand Equation (5.2) as follows: 2d E X1,Yi~N(0,1) x, [Sx] *) 1 =2d P P[S >t |dt. | xaneveou | [Sx..m] 2 | (5.3) 5. (5.4) We therefore need to expand P[SX1,Y1] in order to complete the expression above. The rest of the proof derives that quantity. Step 1. Consider P[SX1,Y1 ] = G(SX1,Y1), which is the standard Gaus- sian measure of the set SX1,Y1. In effect, we are interested in G(S) for some bounded convex subset S ⊂ R2. We need the following lemma to derive an 5.3 LSH Families
2401.09350#184
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 184, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "The innermost term in Equation (5.2) is the Gaussian measure of the closed, convex set {|x| ≤ X1 ∧ |αx + βy| ≤ αX1 + βY1}, which is a bounded plane in R2. This set, which we denote by SX1,Y1, is illustrated in Fig- ure 5.3(a). Then we can expand Equation (5.2) as follows:\n2d E X1,Yi~N(0,1) x, [Sx] *) 1 =2d P P[S >t |dt. | xaneveou | [Sx..m] 2 | (5.3) 5. (5.4)\nWe therefore need to expand P[SX1,Y1] in order to complete the expression above. The rest of the proof derives that quantity.\nStep 1. Consider P[SX1,Y1 ] = G(SX1,Y1), which is the standard Gaus- sian measure of the set SX1,Y1. In effect, we are interested in G(S) for some bounded convex subset S ⊂ R2. We need the following lemma to derive an\n5.3 LSH Families", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.017285693, -0.011890053, 0.04441736, 0.015370518, -0.007857134, -0.02578122, 0.009784587, -0.009158472, 0.01030635, 0.015370518, 0.028187467, -0.00988894, -0.03236157, 0.016905114, -0.006555796, -0.011607687, 0.0280647, -0.012731012, -0.0016404836, -0.0051961434, -0.024283454, 0.016180785, 0.0011087459, 0.030053535, 0.013160699, -0.030470947, 0.042796824, 0.02578122, 0.024308007, -0.05205351, 0.0009760033, -0.018918505, -0.0050518913, -0.047216464, -0.037468705, 0.057848148, -0.0055828616, 0.06649099, -0.0118839145, 0.052102618, -0.014020073, 0.048566908, -0.059910644, -0.010324765, 0.023104884, -0.017997747, -0.035160672, -0.042182986, -0.013762261, 0.001783201, -0.03626558, -0.01695422, 0.03415398, -0.019016718, -0.008943628, -0.021349305, -0.002855884, 0.026763361, 0.05426333, -0.035651743, -0.0019688872, -0.0168069, -0.010337042, 0.023104884, 0.010864942, -0.015603776, 0.002703959, 0.021275645, 0.032263353, 0.009213717, -0.057406183, 0.028678538, 0.024381667, 0.01969194, 0.017089266, -0.011147308, -0.00042853606, 0.028678538, 0.005432471, -0.015591499, 0.014044627, 0.009158472, 0.02353457, 0.026517827, -0.017101543, -0.052790117, -0.021386135, 0.0147198485, -0.06806242, 0.020318057, -0.016021186, 0.010889497, -0.0067031174, -0.0018108238, 0.04262495, 0.0044042915, 0.009999431, 0.00013197529, 0.008145638, -0.031232106, 0.0015230869, 0.0068688537, 0.03852451, -0.03729683, 0.07326777, -0.00013849733, -0.002817519, 0.01532141, 0.0045147827, -0.011791839, -0.009213717, 0.013786814, 0.04301781, 0.06663831, -0.0073722014, -0.023694169, -0.044957537, -0.02973434, -0.011810254, 0.038819153, 0.0042753858, -0.00036926227, 0.028604878, -0.026419612, 0.05642404, -0.031060232, 0.011509473, -0.08367848, -0.0017080058, 0.007685259, 0.0019228493, -0.02217185, -0.032828085, -0.021963144, -0.011896191, 0.01570199, 0.0013005704, -0.009268963, 0.029832555, 0.013602663, -0.02037944, 0.013897305, 0.020489931, 0.0030170165, -0.033932995, 0.02848211, -0.06698207, 0.039482098, 0.01581248, 0.027229879, 0.0066417335, -0.0049414006, 0.01600891, -0.0026487135, -0.0051132753, -0.060254395, 0.005714837, 0.03820531, 0.0053557414, 0.012479338, 0.03471871, 0.04075888, -0.0005221464, 0.04291959, 0.022810241, 0.031747732, -0.016524535, -0.07449545, -0.044736557, -0.06870081, -0.015566946, -0.035749957, -0.033220943, -0.0023172407, 0.013492172, 0.021803547, -0.016463151, -0.044441912, -0.05539279, -0.027941931, -0.026566934, 0.0512678, -0.0187098, -0.0540669, 0.026223185, 0.041470934, 0.032312464, -0.0070407283, 0.023939705, -0.034350406, -0.03547987, -0.0019289877, 0.045546822, 0.015542393, -0.0069425143, -0.050211996, 0.013602663, 0.00646372, 0.008434142, 0.07380795, 0.031919606, 0.04837048, 0.028187467, -0.033024516, -0.039408438, -0.014646188, 0.009907355, 0.033392817, -0.042502183, 0.036854867, -0.025412917, -0.06334814, 0.025339257, 0.011601549, -0.026566934, 0.05966511, -0.05711154, 0.0062458073, -0.02103011, 0.0699776, -0.032999963, 0.039801292, 0.051857084, 0.0057086986, -0.05121869, 0.037714243, 0.040832542, -0.060450822, 0.011184139, -0.0412254, 0.06987938, 0.0074581387, -0.020403994, -0.052790117, -0.0063593676, 0.002809846, -0.026419612, -0.03867183, -0.023915151, -0.0464553, -0.030618267, 0.033589248, 0.001767855, 0.002578122, 0.05190619, -0.0061383857, 0.0054232636, 0.03395755, -0.0065128272, -0.017322524, -0.030176304, 0.011398982, 0.0023770898, -0.039457545, -0.014044627, -0.018071407, -0.009858248, -0.0042446936, -0.017641721, -0.003000136, -0.0280647, -0.024590373, -0.01699105, -0.034252193, -0.0034620494, -0.012552999, 0.0052636657, -0.0069302376, 0.008366619, -0.022761134, 0.036781207, 0.039801292, -0.008164053, -0.020845957, -0.048419587, -0.032410678, -0.010281796, 0.023976535, -0.02418524, -0.0040820264, -0.0052820807, -0.0336138, 0.01034318, 0.01847654, 0.026174076, -0.0540669, -0.013320297, 0.0019719563, -0.026714254, -0.05234815, 0.07194188, -0.0003569855, 0.0064759967, -0.029906215, 0.001266042, -0.019667387, -0.03297541, -0.0005773919, -0.008814722, 0.02103011, 0.024541266, 0.030618267, -0.021742161, 0.009876663, -0.051807974, 0.036560226, 0.039457545, 0.07351331, 0.0020962588, 0.02821202, -0.004907639, -0.012829226, -0.019998861, 0.016782347, -0.059075825, 0.0028420726, 0.037959777, 0.019937476, -0.00517159, -0.009901216, 0.0072003263, -0.04684816, 0.047093693, -0.043680754, -0.0069977595, -0.0068197465, -0.038499955, 0.0040052966, -0.0003289791, -0.039334774, 0.03437496, -0.033589248, -0.005045753, 0.003141319, -0.0012921302, -0.08019187, -0.0072678486, 0.0398504, -0.023104884, -0.0076300134, -0.026763361, -0.024381667, -0.00017235435, 0.009981015, 0.00361244, 0.025216488, 0.016315829, 0.038499955, 0.06609814, 0.020109352, -0.055294577, -0.053821366, -0.023939705, 0.050211996, 0.038229868, -0.05141512, 0.026370505, -0.07699991, -0.02179127, 0.014437483, -0.03452228, -0.029832555, 0.051366013, 0.03162496, -0.00958202, 0.045153964, 0.011110478, 0.0028927142, -0.017064713, 0.032999963, -0.025953095, 0.024136132, -0.02654238, 0.014633912, 0.012074205, -0.009361038, 0.004134203, 0.02612497, 0.020146182, -0.013946412, -0.0075686295, 0.019790156, -0.04741289, -0.0057854285, 0.029611573, -0.013885029, -0.04505575, 0.00012593281, -0.017617166, -0.011491058, -0.0033546279, -0.041127183, -0.026272291, 0.01943413, -0.00585602, -0.07017402, 0.059517786, 0.068504386, 0.027598182, 0.016499981, -0.027352646, -0.052004404, -0.0049782307, -0.020109352, -0.036437456, 0.031895053, -0.002684009, 0.04630798, -0.03125666, 0.020931896, 0.024516713, 0.017924087, 0.030863803, -0.02110377, -0.015922973, 0.021852653, 0.06816064, 0.018157344, 0.023252204, 0.06604903, 0.022159573, -0.010300212, 0.0045270594, 0.008415727, -0.03958031, -0.002760739, -0.013357127, 0.028604878, 0.014670742, -0.01954462, 0.00988894, 0.058388326, 0.02958702, -0.012301325, -0.042502183, 0.009790725, 0.042674057, -0.06472314, -0.032999963, -0.012154004, 0.02072319, 0.01699105, -0.018169621, -0.009753895, 0.048493247, -0.023068054, -0.011429674, -0.024516713, -0.0027622737, 0.06992849, -0.021680778, 0.01573882, 0.05107137, 0.01977788, -0.006727671, -0.009115503, 0.029709786, -0.0143638225, 0.03651112, 0.03680576, -0.011055233, 0.016033463, -0.04662718, -0.03076559, -0.0094592525, 0.0017494399, 0.0046897265, -0.04262495, -0.013602663, 0.031060232, -0.038008884, -0.052790117, 0.08372758, -0.03064282, -0.013811368, 0.038843706, -0.0070223133, -0.032754425, 0.04748655, 0.025658453, 0.041618254, -0.015873866, -0.007237157, 0.040145043, 0.015505563, 0.06855349, 0.02786827, 0.007421308, -0.00079645554, 0.020232119, -0.0436562, -0.041888345, 0.01753123, -0.011847084, 0.00016544867, -0.010705344, -0.02848211, -0.009035704, 0.008802445, 0.036412902, 0.035111565, 0.020183012, -0.014989938, 0.032042373, -0.0041434104, 0.004775664, 0.01840288, -0.044515572, -0.020502208, 0.042158432, 0.0027960348, 0.043705307, -0.027475415, -0.006832023, 0.004422707, 0.0015276908, -0.03334371, 0.026984343, -0.011178, 0.0077589196, 0.017592613, -0.014376099, -0.036486566, -0.019078102, -0.00490457, 0.000473423, -0.0015108102, -0.060598142, -0.04490843, -0.04061156, -0.013946412, -0.031845946, -0.01677007, 0.038843706, 0.05141512, -0.031232106, -0.018550202, 0.0015591499, 0.02840845, 0.015996633, -0.032140587, -0.0006529708, 0.052299045, 0.030888356, 0.03285264, -0.00025282477, 0.0087103695, 0.02228234, 0.010042399, 0.02433256, -0.009189163, -0.018906228, -0.0036646163, 0.024393944, -0.043607093, 0.025903987, -0.03007809, 0.036707547, 0.013958689, 0.0029264754, -0.024308007, 0.0007600089, 0.026837023, 0.011270076, -0.02703345, 0.04193745, 0.016831454, -0.0149162775, 0.007814165, 0.021017833, -0.031502195, 0.019274531, 0.018550202, -0.030397287, 0.004907639, -0.029145055, 0.033859335, -0.009532913, -0.04262495, 0.027696395, 0.00036082198, -0.009606574, -0.015345965, -0.025560237, -0.02467631, 0.0037321385, -0.007924656, 0.037002187, -0.014277885, 0.006856577, 0.009968738, -0.02463948, -0.028162913, 0.03091291, 0.013430788, -0.030544607, -0.009815278, -0.024037918, -0.0068443, -0.009189163, 0.038770042, 0.020747744, 0.035946388, -0.005573654, -0.006018687, -0.019630557, -0.007292402, 0.022761134, 0.0211406, -0.011036818, -0.009158472, 0.019262254, 0.021631671, -0.022859348, 0.007838719, -0.013676323, 0.0010719156, -0.0015353637, 0.08397312, -0.044294592, 0.01224608, 0.005693353, 0.01414284, 0.04304236, 0.016021186, 0.03805799, -0.009723203, -0.044810217, -0.01832922, -0.02338725, -0.0075379377, -0.021803547, 0.036560226, -0.012528446, -0.014081457, 0.011742732, -0.0012008217, 0.0029709786, 0.023902874, -0.012595967, 0.02213502, 0.015726544, 0.031649515, -0.036560226, 0.0015315273, 0.017248863, -0.008845414, 0.0336138, -0.037738796, -0.018181898, -0.0132220825, -0.0021192776, 0.018108238, -0.03619192, 0.037395045, 0.006543519, 0.015493286, 0.007838719, 0.017003328, -0.0119391605, -0.017580336, 0.017555783, -0.024504436, -0.011441951, -0.011343737, 0.022859348, -0.001965818, 0.0006882665, 0.025535684, -0.005717906, 0.036142815, 0.039138347, 0.022712028, -0.008262267, -0.007992178, -0.0062120464, -0.039064687, -0.0161194, 0.008391174, 0.0044932985, 0.0031382497, 0.014560251, -0.033294603, -0.0022988254, 0.0037781764, 0.01292744, -0.0012476268, -0.009330346, -0.01483034, -0.029611573, -0.02217185, 0.026370505, 0.039113794, -0.025314702, 0.0011110478, -0.01947096, -0.009017289, 0.017715381, -0.0026778707, -0.047388338, -0.008188606, 0.053968687, -0.020367164, -0.029415144, -0.048836995, -0.04152004, -0.03415398, 0.005954234, 0.049450833, -0.021435242, 0.002904991, 0.00025224927, -0.026051309, 0.0035848173, -0.014768956, -0.018046854, 0.025756666, -0.025879433, -0.003578679, -0.002840538, -0.0085507715, -0.040366024, -0.0679642, 0.0075379377, -0.00041625928, -0.042330306, -0.057651717, 0.009839832, 0.012160142, -0.013185252, 0.015984356, 0.031035678, 0.02578122, 0.012534584, 0.030053535, 0.0010182047, -0.010435255, 0.028580323, -0.029046841, -0.001229979, 0.017285693, -0.028604878, -0.0029326137, 0.026419612, 0.02327676, 0.009005012, 0.018869398, 0.0070284517, 0.0021576425, 0.025081445, -0.010521193, 0.00988894, -0.014400653, -0.0069854828, 0.0072617102, 0.009956461, -0.04061156, 0.0014195017, 0.024774525, 0.0139709655, 0.0057240445, -0.02578122, -0.03471871, 0.016058017, 0.011374429, -0.038966473, -0.012289048, -0.00665401, 0.021275645, -0.024651757, -0.012718735, 0.024811355, 0.010539608, 0.0087287845, 0.010858804, 0.002745393, -0.005352672, -0.018967612, -0.023522293, -0.0067092557, -0.01977788, -0.032950856, -0.019213147, -0.03172318, -0.031575855, 0.005168521, 0.0304955, 0.010643961, 0.011503335, -0.044540126, 0.009643404, -0.009342623, 0.013111592, -0.014695295, -0.000016724704, 0.030028982, -0.04419638, -0.13082127, 0.017960917, 0.026345951, 0.0049966457, 0.025977649, -0.016929667, 0.014781233, -0.0027469276, 0.017715381, -0.015358241, 0.010361595, -0.015530116, -0.0063777827, 0.032877192, -0.026910683, -0.032754425, -0.009520636, 0.02946425, 0.007850995, -0.021607118, 0.025412917, -0.014633912, 0.03570085, 0.0136149395, 0.0055613774, 0.0046559656, 0.0076791206, -0.050285656, 0.017678551, 0.005331188, 0.014462037, -0.00817633, -0.008581463, 0.020968726, -0.015075875, -0.029955322, 0.014683018, 0.029218717, -0.001268344, 0.018525649, 0.021312475, -0.040513344, 0.02931693, -0.031428535, 0.020330334, -0.05391958, 0.003110627, 0.0050150612, 0.027008897, 0.011644518, -0.0071880496, -0.01695422, 0.028015593, -0.013197529, -0.02828568, 0.015591499, 0.0028988526, 0.01406918, 0.00044963675, 0.0006825118, -0.02220868, 0.0087103695, 0.063790105, -0.017690828, -0.06442849, -0.009784587, -0.018820291, 0.01688056, -0.03327005, 0.0069793444, -0.0014033885, 0.018427433, -0.022380555, 0.021643948, -0.002855884, -0.006077002, -0.0031888913, 0.033220943, -0.030249964, 0.008796306, -0.029685233, 0.014977661, -0.007973763, 0.040783435, 0.0010511986, 0.0036738238, 0.009133918, 0.002030271, -0.013074761, 0.019802433, 0.015751097, -0.0104045635, 0.020882787, 0.042895038, 0.012767842, -0.04441736, 0.008826999, -0.03506246, 0.03729683, -0.00456389, 0.01836605, 0.015849313, -0.0009207578, -0.0032686903, -0.025314702, 0.00028313303, 0.0054969243, -0.008507802, 0.008127223, 0.013909582, 0.008808583, -0.0007055307, -0.04655352, -0.0154687315, 0.009103226, 0.009041842, 0.023657339, 0.006592626, 0.002331052, -0.0049813, -0.0019750255, 0.013172976, 0.038991027, 0.04193745, 0.0075317994, -0.029071394, -0.043066915, 0.009244408, -0.04277227, -0.032312464, 0.020133905, 0.011534027, 0.013050208, 0.0256339, -0.015726544, 0.019912923, 0.00063455565, -0.002848211, -0.020109352, 0.012620521, 0.019041272, -0.010054676, -0.00083175127, -0.0061537316, -0.01760489, 0.029145055, 0.014277885, -0.036854867, -0.01167521, 0.019409576, 0.021435242, 0.004969023, -0.012841503, -0.02319082, 0.040095937, 0.012141727, -0.0077957497, -0.02813836, -0.016180785, 0.0140077965, 0.0028804375, 0.022748858, -0.036928527, 0.00931807, 0.0044165687, -0.0036063015, -0.02695979, 0.0025351532, -0.014609358, -0.018648416, -0.027401753, -0.022847071, -0.020674083, 0.008096531, 0.023743276, 0.027573628, 0.0065619345, 0.017359355, -0.014940831, -0.01950779, 0.029218717, -0.02300667, -0.04566959, 0.017445292, 0.021778993, 0.0033945274, 0.026002202, -0.02946425, 0.027352646, 0.012424093, -0.009232132, 0.009901216, 0.010257242, 0.02772095, 0.05053119, 0.0053189113, -0.012552999, 0.012755565, -0.0136149395, 0.008765615, -0.005008923, 0.009109364, -0.00053173763, -0.040145043, -0.0147198485, 0.018844845, -0.03734594, -0.020416271, 0.008673539, 0.003738277, -0.0060248254, 0.0024860462, 0.01684373, 0.006101555, -0.009944185, -0.025683006, -0.004824771, 0.031575855, 0.020121628, -0.012522307, 0.013332574, -0.050973155, -0.009256685, 0.036437456, -0.0218281, 0.011890053, 0.006525104, -0.024860462, -0.041421827, 0.019593727, 0.0042446936, 0.015370518, 0.0053035654, -0.019606004, -0.012516169, -0.009999431, -0.021914037, -0.03589728, -0.0021223468, 0.00007601048, 0.005730183, -0.00001553779, -0.020637253, -0.0016266722, 0.0067583625, -0.026763361, 0.04220754, -0.01091405, 0.011079786, -0.017518952, 0.0016143954, 0.028653985, -0.01532141, 0.019090379, -0.015579223, 0.015566946, -0.014805786, 0.01878346, 0.00790624, -0.034399513, 0.024897292, 0.017666275, 0.0028742992, -0.03319639, 0.01334485, -0.022982117, 0.032140587, -0.0004446493, 0.016745517, 0.0027806887, -0.0137745375, -0.0076300134, -0.002361744, -0.009496083, -0.0062611536, 0.01863614, 0.018685246, 0.01444976, 0.01292744, 0.013246636, -0.022589259, -0.017457569, -0.02855577, 0.00009226761, 0.010238827, 0.0077711963, 0.013713154, 0.004901501, 0.06320082, -0.005938888, 0.035528976, 0.02924327, -0.0014409861, 0.018599309, 0.027475415, -0.0009783052, 0.009631127, -0.00013235894, -0.015260027, -0.005506132, 0.0051961434, 0.015554669, 0.000040834653, -0.012718735, 0.03297541, 0.023289036, -0.006672425, -0.0010634753, -0.0315513, -0.022675198, 0.031428535, -0.03555353, 0.033932995, 0.037886117, 0.007396755, 0.020416271, 0.014854893, 0.031011125, 0.011417397, 0.010398425, 0.0051040677, 0.0100301225, 0.019360468, -0.00574246, -0.013246636, -0.0015031372, 0.0149162775, -0.009397868, -0.0009414749, -0.0076361517, 0.0043091467, 0.035872728, 0.00920144, -0.0391629, -0.0280647, 0.002338725, -0.021987697, -0.036854867, -0.026419612, -0.017592613, 0.0036400626, -0.017445292, -0.005174659, -0.019790156, -0.028678538, 0.013700876, -0.009005012, -0.010177444, -0.024087025, -0.010754452, 0.05995975, 0.004438053, -0.031182999, 0.0003320483, 0.04323879, 0.033638354, -0.003452842, 0.012190834, -0.009471529, 0.013074761, -0.016757794, 0.026395058, -0.023215374, -0.021373859, 0.02502006, 0.050064676, -0.0031382497, -0.011718178, -0.0048769475, 0.0049782307, 0.015677437, -0.026493272, -0.0060708635, 0.016278999, 0.021680778, 0.0054877168, 0.015505563, 0.021422965, -0.024308007, -0.011503335, -0.009324208, 0.022871625, -0.037321385, 0.025056891, -0.007494969, 0.0036646163, 0.0036738238, 0.0036676854, 0.0036492704, 0.016070293, 0.005364949, -0.035995495, -0.0077957497, -0.0020640322, 0.029685233, -0.0076791206, 0.0124731995, 0.049156193, -0.0070407283, -0.038180757, -0.008968182, 0.02030578, 0.040145043, 0.000055149558, -0.0141305635, -0.020232119, 0.022982117, -0.03729683, -0.004293801, 0.005917404, -0.013553556, -0.006402336, 0.00006325415, 0.036216475, 0.010637823, -0.027745504, 0.012160142, 0.009250547, -0.008378897, 0.021705331, 0.01825556, 0.0061997697, -0.003928567, 0.0065189656, -0.0034436344, 0.022356, 0.017543506, 0.0280647, -0.032999963, 0.036020048, -0.0050027845, 0.0040973723, 0.011933022, -0.033638354, 0.0056411764, -0.018280113, -0.006850438, -0.00018856353, -0.0074888305, 0.029832555, -0.031035678, 0.03555353, 0.02951336, -0.02322765, 0.023178544, -0.0076177367, 0.009324208, -0.013209806, 0.0028052423, -0.00010109154, 0.0013074762, 0.00509486, 0.03950665, 0.031772286, 0.008139499, -0.00479101, -0.05774993, 0.006285707, 0.018967612, 0.0026809399, 0.020624977, 0.00037923714, 0.040218703, -0.02076002, 0.011613825, 0.031968713, -0.055049043, 0.03408032, -0.022417385, -0.0140077965, 0.030397287, -0.004711211, -0.010079229, 0.015493286, -0.02786827, 0.008360481, -0.0014716779, -0.009931908, 0.013762261, 0.050924048, -0.028678538, 0.03076559, -0.0046682423, -0.010938603, 0.03619192, -0.007955348, 0.015517839, -0.012436369, -0.0055797924, -0.0006928703, -0.024050195, -0.013700876, -0.027696395, 0.013811368, 0.011300768, 0.0126696285, -0.0043214234, -0.031698626, 0.004456468, -0.015652884, -0.0023694169, 0.012037374, -0.02106694, 0.015382795, -0.0092812395, -0.0006272663, -0.009385591, -0.023681892, 0.021214262, 0.0055245473, 0.03042184, 0.014253331, -0.004824771, -0.0050825835, 0.026002202, -0.0019903716, -0.019225424, -0.006924099, -0.011257799, -0.0056043463, -0.0014594012, -0.008704231, 0.009919631, -0.028310236, -0.017936364, -0.027058003, -0.0035694712, -0.011411259, 0.009336485, 0.032533444, -0.006586488, -0.049180746, 0.028727645, -0.028653985, -0.01015289, -0.009729342, 0.01851337, 0.027278986, -0.0076729823, -0.020465378, 0.026026756, 0.018169621, 0.011282353, -0.015542393, -0.02311716, 0.0120987585, -0.015542393, -0.05156244, 0.016708685, 0.0027699466, 0.010502778, -0.027008897, 0.01809596, -0.0059143347, 0.010729898, -0.03140398, 0.0022942217, 0.0048462553, -0.022294616, 0.04630798, 0.041962005, -0.010220412, -0.013664046, 0.009440837, -0.023939705, 0.043066915, 0.039899506, 0.01444976, 0.038278975, -0.032459784, -0.008071977, 0.009367176, 0.0024476813, -0.018010024, -0.0102265505, 0.0054508867, -0.0021469004, -0.01581248, -0.002464562, 0.006347091, -0.017862702, -0.03076559, 0.027278986, -0.008489387, 0.022552429, 0.0052391123, -0.006764501, -0.016303552, -0.030863803, -0.0067399475, 0.006954791, -0.0055429623, -0.0028804375, -0.02342408, 0.011859361, 0.032557998, 0.0018676039, -0.019667387, -0.005269804, -0.038770042, 0.011362152, 0.04301781, -0.0280647, -0.042428523, -0.002866626, 0.032607105, -0.01688056, -0.010330903, 0.015395071, 0.04662718, -0.013725431, 0.013946412, 0.035504423, -0.035872728, 0.00090924837, -0.02220868, -0.013492172, 0.021447519, -0.013578109, -0.00006138386, -0.0017939432, 0.017776765, -0.019593727, -0.019176317, 0.009244408, 0.004962885, -0.014670742, 0.007746643, 0.0015775651, 0.01597208, 0.020318057, -0.018660692, 0.009539051, -0.01049664, 0.04026781, 0.013160699, -0.0075686295, 0.013234359, 0.016058017, 0.0014816528, -0.0026517827, -0.024271177, 0.016499981, -0.020109352, -0.013246636, 0.0015568481, -0.01038001, -0.021570288, 0.03290175, 0.04048879, 0.0035234333, 0.032754425, -0.011773423, 0.010650099, 0.010128336, 0.032999963, 0.025953095, 0.0075379377, -0.013197529, 0.012289048, 0.03395755, 0.011933022, -0.009999431, 0.0033454201, -0.028236574, -0.011718178, 0.011122755, 0.0056104846, 0.0206127, 0.02452899, 0.0060309637, -0.005822259, -0.00020889693, 0.011300768, 0.07994633, -0.021926314, -0.0025458955, -0.029783448, 0.022073636, 0.019397298, 0.000047980117, 0.0044012223, 0.0073722014, 0.008581463, -0.027107112, 0.01593525, 0.009944185, 0.011607687, -0.041200846, -0.013160699, -0.008857691, 0.025683006, 0.020416271, -0.023362696, -0.014670742, -0.025609344, 0.014412929, -0.0017080058, -0.013430788, -0.025339257, -0.012442508, -0.0126327975, -0.020256672, -0.036903974, 0.021693055, -0.027770057, -0.011730455, -0.018893952, -0.0073476476, -0.0010297142, -0.044515572, -0.012123312, 0.033785675, 0.013246636, -0.016499981, 0.0113130445, -0.008980459, -0.007967625, 0.03015175, -0.047241017, 0.027107112, 0.011294629, 0.018979888, 0.003787384, -0.0021576425, -0.014277885, -0.019078102, -0.016242169, 0.03886826, 0.0008892986, -0.0012591364, -0.016070293, -0.001229979, -0.022270063, 0.0315513, 0.012939717, 0.009268963, 0.0025643106, 0.0077589196 ]
2401.09350
185
5.3 LSH Families expression for G(S). But first define µA(r) as the Lebesgue measure of the intersection of a circle of radius r (Sr) with the set A, normalized by the circumference of Sr, so that 0 ≤ µA(r) ≤ 1 is a probability measure: µA(r) ≜ µ(A ∩ Sr) 2πr , and denote by ∆A the distance from the origin to A (i.e., ∆A ≜ inf{r > 0 | µA(r) > 0}). # Lemma 5.1 For the closed set A ⊂ R2 with µA(r) non-decreasing: sup (alr) 2) <glay <e-¥ r>0 Proof. The upper-bound can be derived as follows: °° 72/2 ~~ 2 —A?,/2 ata) = | rua(r) Pars [ re” (dr =e 4a/?, 0 Aa For the lower-bound: ~ =r? /2 y ear? /2 ry .— (0)? /2 oa) = [ rua(r)-e" / ar > wate’ | re” / dr = pa(r')e "1 ; 0 fa
2401.09350#185
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 185, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "5.3 LSH Families\nexpression for G(S). But first define µA(r) as the Lebesgue measure of the intersection of a circle of radius r (Sr) with the set A, normalized by the circumference of Sr, so that 0 ≤ µA(r) ≤ 1 is a probability measure:\nµA(r) ≜ µ(A ∩ Sr) 2πr ,\nand denote by ∆A the distance from the origin to A (i.e., ∆A ≜ inf{r > 0 | µA(r) > 0}).\n# Lemma 5.1 For the closed set A ⊂ R2 with µA(r) non-decreasing:\nsup (alr) 2) <glay <e-¥ r>0\nProof. The upper-bound can be derived as follows:\n°° 72/2 ~~ 2 —A?,/2 ata) = | rua(r) Pars [ re” (dr =e 4a/?, 0 Aa\nFor the lower-bound:\n~ =r? /2 y ear? /2 ry .— (0)? /2 oa) = [ rua(r)-e\" / ar > wate’ | re” / dr = pa(r')e \"1 ; 0 fa", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.004364502, -0.02717608, 0.06494645, 0.014948836, 0.023299472, -0.015081596, -0.0012355027, -0.036110863, -0.023339301, 0.048484143, 0.004467392, -0.03319013, -0.026047615, 0.031597007, -0.0064820326, 0.011736031, 0.0347036, -0.018772338, 0.0041753184, 0.028039023, 0.023671202, 0.0015682337, 0.022423252, 0.026631761, -0.0074412273, -0.023963274, 0.056078047, 0.00702967, 0.029791463, -0.04981175, 0.03454429, -0.012452938, -0.00850995, -0.039031595, -0.057936694, 0.0806653, 0.00013296797, 0.04590859, -0.0068902713, 0.03393359, -0.015187805, 0.044660643, -0.052254543, -0.04107611, 0.025901578, 0.009525568, 0.018825443, -0.004583557, -0.02603434, -0.012048018, -0.06165399, 0.024600526, 0.02408276, -0.01715266, -0.014245205, -0.02673797, 0.019396313, 0.033721175, 0.071849994, -0.019860975, -0.0014520682, -0.0011641439, -0.024534145, -0.013767267, -0.016940244, 0.004533772, -0.0022121223, 0.031358037, 0.046359975, 0.022821534, -0.072168626, 0.009757899, 0.012990617, 0.031570453, 0.0020544692, 0.016608343, 0.0018354143, 0.009306513, 0.004298122, 0.03932367, 0.036137417, 0.0004443329, 0.026379516, 0.0048523974, -0.0013143292, -0.0454041, -0.032977715, 0.039695397, -0.069141686, -0.01960873, 0.006730959, -0.031995285, -0.0067342776, 0.01405934, 0.03730571, -0.027507981, 0.058042902, 0.015917987, 0.03467705, -0.029579045, 0.01109878, -0.053529043, 0.03858021, -0.047846895, 0.055547003, 0.0289949, 0.03191563, -0.005559347, -0.04731585, -0.008370551, -0.0044043306, -0.0003480815, 0.006206555, 0.06484024, 0.01089964, 0.0025888302, -0.03730571, -0.014218653, -0.014112444, 0.0035712582, -0.019489245, 0.0036177244, 0.06643337, -0.038474, 0.051006593, -0.034570843, 0.021454101, -0.037942957, 0.007520884, -0.004208509, 0.021971866, -0.03037561, -0.005708703, -0.044952713, 0.004284846, 0.04487306, 0.009976953, -0.037518125, 0.008748919, 0.0075806263, 0.0059244386, 0.041129213, -0.009127286, 0.017670427, 0.021586861, 0.033083923, -0.04864346, 0.034916017, 0.025821922, 0.015360393, -0.00201796, -0.011417406, -0.005038262, 0.034730155, -0.030163191, -0.062344342, -0.008981249, 0.010514634, -0.00038189394, -0.013110102, 0.04150094, 0.027906263, -0.007806319, 0.03114562, -0.0011840579, 0.051033147, -0.02886214, -0.04981175, -0.0347036, -0.037889853, -0.017497838, -0.041155763, -0.0076536443, -0.021719621, 0.001627976, -0.013076912, -0.0064090146, -0.022848086, -0.012844581, 0.0033140345, 0.006614793, 0.06898237, -0.013634506, -0.057830486, 0.00534693, 0.088843346, 0.04813897, -0.049758647, 0.023233091, -0.05724634, -0.014404518, 0.029154211, 0.045165133, 0.009505654, 0.023286197, -0.04742206, 0.028463857, 0.021493929, -0.01214095, -0.005310421, 0.03114562, 0.011171798, 0.033004265, -0.061972614, -0.007819595, -0.015745398, 0.019449417, -0.0007144176, -0.0025390452, 0.024228796, -0.029313525, -0.037942957, 0.02603434, 0.0017756721, -0.022078076, 0.039536085, -0.004792655, -0.0008077648, -0.011915257, 0.06351264, -0.042403713, 0.035526715, 0.032313913, 0.049705543, -0.025503296, 0.022834811, 0.037916407, -0.042483367, 0.016687999, -0.021135475, 0.036880873, 0.03443808, -0.02704332, -0.063618846, 0.0037903131, -0.014749695, -0.03605776, 0.008463483, -0.04250992, -0.031119067, -0.011775859, 0.020816851, 0.011676288, 0.008981249, 0.034995675, 0.008556416, 0.012459575, 0.024520868, 0.025569677, -0.01765715, -0.039536085, -0.0068570813, -0.014802799, -0.017975776, -0.061600886, 0.0058414633, -0.019343209, -0.019475969, 0.014723143, -0.016050749, -0.028888691, -0.045722727, 0.0061567696, -0.010607566, 0.031703215, -0.031384587, 0.030216295, 0.008808661, 0.0170199, 0.0086759, 0.024520868, 0.038686417, -0.03480981, 0.006594879, 0.0025805328, -0.009007801, 0.007720025, 0.002977155, -0.012638802, 0.036270175, -0.004550367, -0.0009392807, 0.025051912, 0.030110087, 0.007474418, -0.0012919259, -0.03326979, -0.029685253, -0.027507981, -0.051537637, 0.019728214, 0.0013840285, 0.016329546, -0.009990229, -0.0027663975, -0.0071889823, -0.026525553, -0.0110324, -0.021162027, 0.047979653, 0.02125496, 0.02495898, -0.02152048, 0.0033024182, -0.020577881, 0.020936335, 0.045589965, 0.02542364, 0.0020063436, 0.051511083, 0.024228796, 0.044421673, 0.0059144814, 0.015453326, -0.060060862, -0.012851219, 0.011576718, 0.012021466, -0.0022453123, -0.009425998, 0.043439243, -0.018427161, 0.03858021, -0.043492347, 0.023100331, 0.03077389, -0.034066353, -0.0397485, -0.0023647968, -0.054431815, 0.05597184, -0.0054465006, -0.013541574, 0.00756735, -0.01059429, -0.04025299, 0.021852383, 0.046758257, -0.0065782843, 0.0014114104, -0.012439662, 0.009664967, 0.0045802384, 0.027906263, -0.025689162, 0.014962112, 0.011709479, -0.0027049957, 0.064256094, 0.052785587, -0.02344551, -0.017404905, -0.05042245, 0.027215907, 0.024773113, 0.0059144814, 0.020445121, -0.105518065, -0.017497838, 0.031119067, -0.026830902, -0.022038247, 0.005273912, -0.0009201964, -0.022476356, 0.07110654, 0.030747337, 0.0030734062, 0.007806319, -0.005303783, -0.010939468, 0.04110266, 0.027587637, 0.000057771573, -0.01886527, 0.012771563, -0.0018752425, 0.010468167, 0.010016782, 0.0044972626, -0.046678603, 0.017843015, -0.0019233681, -0.030216295, 0.032552883, -0.016196784, -0.04253647, 0.019635282, -0.01046153, -0.021308064, -0.004357864, -0.0036276814, 0.0005932736, 0.03571258, -0.0026552104, -0.05448492, 0.05740565, 0.050475553, 0.009100734, 0.011019124, -0.010049972, -0.036907427, -0.039960917, -0.01587816, -0.037677437, 0.041394733, 0.006810615, 0.065265074, -0.042828545, 0.011244817, -0.021082371, 0.018015603, 0.036137417, -0.01096602, -0.017033176, 0.020232704, 0.035924997, -0.0173518, -0.0063924193, 0.03998747, 0.0074279513, -0.010003505, -0.01950252, -0.037252605, -0.008211238, -0.002243653, 0.024879323, 0.035075333, 0.009485739, -0.026565382, 0.018719234, 0.033907037, 0.046439633, 0.005542752, -0.027454877, 0.00158068, 0.025742266, -0.032871507, -0.055547003, -0.041155763, 0.014192101, 0.024467764, -0.0018503498, -0.031995285, 0.008251066, -0.020604433, 0.00497852, -0.031092515, -0.008795385, 0.030349057, -0.066805094, -0.025197947, 0.014988664, 0.03143769, -0.027720397, 0.04107611, 0.051112805, -0.02344551, 0.04136818, -0.0013027127, 0.035632927, 0.011510338, -0.029340077, 0.0059377146, -0.015825056, -0.02408276, 0.013900028, -0.03345565, 0.0064289286, 0.020976163, -0.03380083, -0.03000388, 0.0643092, -0.00528055, -0.005054857, 0.010501358, -0.010342045, -0.07142516, 0.05084728, 0.004991796, 0.03568603, -0.0033571818, -0.02092306, -0.00015225973, -0.021706346, 0.003773718, 0.082789466, -0.0068238913, 0.0015367031, 0.0073615713, -0.06961962, -0.030110087, 0.037597783, -0.014537278, -0.0035579822, -0.004314717, -0.01991408, -0.032074943, 0.0063326773, 0.019144068, 0.020777022, -0.016940244, -0.019595454, 0.05321042, -0.008795385, 0.00019623665, 0.008622796, -0.046705153, -0.021507205, 0.044501327, -0.0009965337, 0.0063725053, -0.014006236, 0.004098981, 0.013700887, -0.019051136, -0.022277215, 0.02226394, -0.03393359, -0.010242474, 0.016687999, 0.0010753602, -0.029419733, 0.0028626488, 0.03165011, -0.001880221, -0.002273524, -0.03733226, 0.003164679, -0.04712999, -0.013428727, -0.024560697, -0.044421673, 0.04782034, 0.017099556, -0.017112833, 0.000783702, -0.022330321, 0.054325607, 0.011012485, -0.030216295, 0.029313525, 0.029738357, 0.040146783, -0.016369373, -0.02987112, 0.0050449, -0.022980846, 0.01147051, 0.004563643, 0.0023614778, -0.02028581, -0.016462306, 0.0071956203, -0.02092306, -0.012446299, -0.0030418755, 0.047262747, -0.031464245, -0.00052813796, -0.036031205, 0.011390854, 0.0018354143, 0.009293237, -0.046572395, 0.024348281, 0.003478326, 0.01147051, 0.032367017, 0.012034742, -0.010607566, 0.0015408519, -0.0020428526, -0.009153838, 0.0022204197, -0.06738924, -0.003494921, 0.01456383, -0.009465826, -0.0028626488, -0.0057053836, -0.043200277, -0.030056983, -0.04033265, -0.02391017, 0.008563054, -0.016103853, 0.040279545, 0.0044308826, 0.009054268, 0.018002328, -0.009950401, -0.028782481, 0.025689162, -0.028145231, -0.0049088206, -0.021918762, -0.0014114104, -0.006033966, 0.0033123752, 0.01557281, 0.0014089211, 0.04261613, -0.009930488, 0.016608343, -0.024985531, -0.013807095, -0.0030900012, 0.008018736, 0.02391017, -0.021228408, 0.04184612, -0.010003505, -0.018427161, 0.0056423224, 0.006239745, 0.017643875, -0.004799293, 0.07073481, -0.0347036, -0.02088323, 0.010620842, 0.046944123, 0.025065187, 0.015825056, 0.04386408, -0.0046831276, 0.0012827986, -0.014882455, -0.02835765, -0.021308064, 0.004012687, 0.023326024, 0.002414582, -0.0053568874, -0.0010587652, -0.0030385565, 0.027454877, 0.012857857, 0.0051544276, 0.054139744, 0.034650497, 0.044819955, -0.039668847, 0.0009185369, 0.01802888, -0.010581014, 0.021586861, -0.035500165, -0.011112056, -0.012784839, 0.008841851, -0.001981451, -0.025715714, 0.0018155002, 0.00030140788, 0.013727439, -0.006969928, 0.0039097974, -0.00095172704, -0.011151885, 0.008158134, 0.0062098736, -0.013056998, -0.008994525, 0.002011322, 0.005204213, -0.006976566, 0.012426386, -0.019383037, 0.029605597, 0.01207457, 0.077744566, 0.011669651, -0.009990229, -0.02684418, -0.04941347, -0.0005795827, -0.047209643, -0.031570453, -0.011165161, -0.015214357, -0.029897671, -0.011357663, -0.0069101853, 0.014470898, 0.028065575, 0.0064886706, -0.01698007, -0.015625915, -0.025144843, 0.045244787, 0.05814911, -0.025065187, 0.025383813, 0.016966796, -0.005509562, -0.0012960746, -0.004291484, -0.091020614, 0.005509562, 0.040120233, 0.005502924, -0.02226394, -0.017696979, -0.04957278, -0.009279961, 0.007202259, 0.011397491, -0.028012471, -0.009087458, -0.0058945674, -0.018984756, 0.030322505, -0.003016983, -0.018958203, 0.037677437, -0.033083923, -0.017458009, 0.0027000173, -0.017245593, -0.0013773905, -0.06388436, 0.01886527, -0.031703215, -0.016966796, -0.022343596, 0.0023349258, -0.0027863116, -0.027932815, 0.007009756, 0.059051882, 0.020564606, 0.020272532, -0.0033024182, 0.026379516, -0.012944152, 0.030402161, -0.030800443, -0.024388108, -0.007069498, -0.0046067904, -0.006319401, 0.059104986, -0.00081523263, 0.062344342, 0.019529074, 0.01752439, 0.007023032, 0.040306095, -0.01785629, 0.011815687, 0.008602882, -0.019011308, 0.005569304, 0.006770787, -0.030826995, -0.018931651, 0.032473225, -0.02340568, 0.02256929, -0.013528298, -0.022914467, -0.009718071, 0.036084313, -0.0023863704, -0.03228736, -0.04460754, 0.041023, 0.023724306, 0.0035546632, 0.024016378, 0.033561863, 0.026777798, 0.019953907, -0.023883618, -0.027906263, -0.007255363, -0.024268623, -0.015493154, 0.0008065202, -0.019635282, -0.0046864464, -0.012824667, -0.020604433, 0.0061401743, 0.03871297, 0.012864495, 0.0066844923, -0.06484024, 0.0029522623, -0.006040604, -0.0010944445, -0.038155377, 0.013222949, 0.030349057, 0.0021158708, -0.09548137, 0.00581823, 0.028516961, -0.0043412694, 0.0064388853, 0.036641907, 0.01314993, -0.006608155, 0.014762971, -0.02825144, 0.008748919, -0.017192489, -0.02643262, 0.0258352, -0.013402175, -0.025051912, 0.0034384977, 0.014882455, 0.03114562, -0.00911401, 0.036907427, -0.0069168233, 0.0334291, 0.044182703, 0.022383425, 0.023113608, 0.0004038824, -0.0011591654, 0.00023876151, 0.0071557923, 0.027507981, 0.0044707106, 0.0071823443, 0.008928145, -0.026007786, -0.04829828, 0.017272145, 0.015546258, -0.028915243, 0.027587637, 0.009160477, -0.025556402, 0.032871507, -0.033322893, 0.04378442, -0.04375787, -0.013256138, 0.024268623, 0.011457234, 0.0007156622, -0.0049088206, -0.019090964, 0.026910558, 0.007016394, -0.033375997, -0.0038533744, 0.024693457, 0.005260636, -0.019090964, -0.014404518, -0.008994525, 0.015758675, 0.029738357, -0.022609118, -0.040890243, -0.026366241, -0.015479878, 0.023233091, -0.033641517, 0.02092306, 0.0026933793, -0.0049320534, -0.0289949, 0.04208509, 0.033375997, 0.005263955, -0.0033040775, 0.023843791, -0.03226081, 0.005088047, -0.008078478, 0.025184672, -0.003141446, 0.0378102, 0.022091351, -0.0023133522, 0.028543513, 0.015519706, -0.016794207, 0.021878935, 0.0056423224, -0.000062283354, 0.033986695, 0.029340077, 0.00014230268, -0.014510726, 0.024242071, -0.037146397, 0.031597007, -0.0018188192, 0.013103464, 0.054245953, 0.031809423, -0.0007090242, -0.020392017, -0.011364301, 0.036641907, 0.0026104038, 0.018586474, -0.018759063, 0.011058952, 0.0038069081, -0.041155763, -0.01910424, 0.011085504, 0.016037472, 0.027667293, 0.015904712, -0.002260248, -0.010209285, 0.0012620548, 0.013143293, 0.028331097, 0.03985471, -0.0036874237, -0.0076536443, -0.02226394, -0.0032443353, -0.01062748, 0.022582566, 0.027003491, 0.043970287, 0.0025589592, 0.020073391, -0.00059368846, 0.014006236, 0.003272547, -0.005204213, -0.003770399, 0.012167502, 0.039907813, 0.019475969, 0.02798592, 0.0028327778, -0.053768013, 0.015625915, -0.019449417, -0.00810503, -0.009206942, -0.004799293, 0.010979296, -0.015984368, -0.016183509, 0.013056998, 0.014616934, -0.021985143, 0.02219756, -0.020192876, -0.024839494, 0.008695815, 0.010946105, 0.03114562, -0.04933381, -0.0023581588, 0.012718459, 0.018798891, -0.03037561, -0.0008421996, 0.016820759, -0.004301441, -0.009658328, -0.022582566, -0.0010819983, -0.0033737768, -0.023843791, -0.010547824, 0.012008189, -0.0055162, -0.040199887, -0.015758675, 0.010906277, 0.015586086, -0.01456383, 0.028065575, 0.028941795, 0.012360005, -0.0011989935, -0.024945702, 0.008085116, 0.03478326, -0.01816164, 0.02491915, 0.0044275634, 0.0036874237, 0.025078464, 0.006983204, -0.012891048, 0.028809035, -0.012160865, -0.022011695, -0.0038666504, 0.052307647, -0.014298309, -0.031835973, 0.005781721, 0.032393567, -0.03419911, -0.00085547566, -0.01974149, 0.012459575, 0.0006127728, -0.03191563, 0.0032775255, 0.0067342776, 0.023591546, -0.018719234, -0.0041885944, 0.019993735, 0.028092127, -0.020962887, 0.0019466012, -0.05623736, -0.013322519, 0.051404875, -0.000750097, -0.010893001, -0.026764521, -0.038872283, -0.016395925, 0.018745786, 0.023379128, 0.006047242, 0.0059078434, -0.016103853, -0.0053867586, 0.015081596, -0.013979684, -0.009718071, 0.020299084, 0.01160327, -0.0011956745, -0.02559623, -0.02152048, -0.008151497, -0.007972269, -0.011729392, 0.032632537, -0.030216295, -0.019555626, -0.013548212, 0.0074213133, 0.025264328, 0.010169457, 0.01392658, -0.02785316, 0.012220606, -0.037252605, 0.01974149, 0.030242847, -0.029180763, 0.0049353726, 0.0020611072, -0.010733688, -0.00272491, 0.0071690683, -0.005489648, 0.033349443, 0.035128437, 0.016130405, -0.008802023, 0.0026120634, 0.0000064532765, 0.0043877354, -0.0011790794, -0.02219756, 0.015559534, 0.037624333, 0.030561473, 0.019847699, -0.007726663, -0.015745398, -0.028968347, -0.0041620424, -0.00958531, 0.014736419, -0.0033605008, 0.005552709, 0.01046153, 0.04237716, -0.008324085, 0.0066745356, 0.03900504, -0.014855903, 0.03000388, 0.0009376212, -0.023392405, 0.012771563, 0.005565985, 0.00032837485, -0.009598586, 0.011344387, 0.013846923, 0.024998806, -0.03303082, 0.02314016, 0.013700887, -0.011125332, 0.010315493, -0.034225665, -0.025543125, 0.024335004, -0.008748919, 0.008324085, 0.019807871, -0.01550643, 0.0071956203, -0.019237, 0.01688714, -0.022595841, -0.0036177244, -0.026499001, -0.0032609305, 0.014258481, -0.00339701, -0.034384977, 0.03396014, 0.019701662, 0.0035613012, -0.04049196, 0.0054265866, -0.005801635, 0.029233867, -0.006116941, -0.024998806, -0.032632537, 0.029711805, 0.0011093802, -0.034411527, -0.02472001, -0.018466989, -0.021985143, 0.010083162, 0.0054465006, -0.028039023, -0.013634506, 0.03621707, -0.002744824, -0.03316358, 0.0025622782, -0.0026518914, 0.062609866, 0.008748919, -0.009074182, -0.004288165, 0.017192489, 0.031835973, 0.0064886706, 0.0068504433, 0.010541186, -0.00007182552, 0.00021967718, 0.03329634, 0.00088783604, -0.015479878, 0.018971479, 0.028729377, 0.011510338, -0.000440599, -0.006246383, 0.002764738, 0.019396313, -0.045483757, 0.0223967, 0.0022453123, 0.032977715, -0.017059729, 0.019383037, 0.050024167, -0.016595066, 0.002495898, -0.005008391, -0.009572034, -0.019422865, 0.029207315, -0.04107611, 0.008934784, 0.01759077, 0.00015537131, -0.0061567696, 0.00094840804, -0.017617323, -0.03393359, -0.042695787, 0.02926042, 0.017750083, -0.023923447, 0.027401773, 0.017617323, -0.0011691224, -0.006717683, -0.030826995, 0.0053369734, 0.0024577293, -0.012154226, -0.010308855, -0.018812167, 0.025317432, -0.01765715, -0.013820371, 0.0038799264, -0.025742266, 0.02610072, -0.013594678, 0.010262389, -0.026764521, -0.015094872, -0.03265909, 0.03935022, -0.01840061, 0.022489633, -0.014762971, -0.016541962, 0.0223967, 0.043651663, 0.011729392, 0.009804365, 0.01583833, 0.0022287173, -0.03151735, 0.030242847, 0.016661447, 0.017404905, 0.0014304947, -0.012784839, 0.001974813, -0.00817141, 0.0048192074, -0.011078866, 0.004530453, 0.009094096, -0.030402161, 0.02028581, 0.038022615, -0.018108536, 0.005290507, -0.007998821, 0.012048018, -0.0034119457, -0.002276843, 0.020458397, -0.006292849, -0.02633969, 0.014298309, -0.00403592, 0.006077113, 0.0060937083, -0.034756705, -0.008828575, 0.026499001, -0.007713387, 0.021600138, -0.01119835, 0.030295953, -0.003777037, 0.004527134, 0.016953519, -0.040704377, 0.008496674, -0.0076270923, -0.020206152, 0.01550643, 0.02294102, 0.013820371, 0.013607954, 0.009950401, -0.021945314, 0.00015578618, 0.022848086, 0.022741878, 0.051776607, -0.038367793, -0.012678631, 0.006299487, -0.0033455652, 0.01954235, 0.01809526, 0.03985471, -0.009784451, -0.020777022, 0.0034119457, -0.012877771, -0.015811779, -0.039960917, 0.0014777906, 0.010016782, 0.01443107, -0.0012703523, 0.00056962564, 0.0020743832, -0.028145231, -0.04362511, -0.013070274, -0.032898057, 0.023750858, -0.019515797, 0.005101323, 0.010780155, -0.0051876176, -0.0019499202, -0.021493929, 0.015798504, 0.0064189713, 0.029924223, 0.004241699, 0.027720397, -0.0033123752, -0.001362455, -0.0054365434, -0.022038247, 0.013727439, -0.025543125, -0.010162818, 0.010547824, -0.030242847, -0.039137803, -0.027693845, -0.010454891, -0.01190862, -0.015532982, 0.05034279, -0.010043334, -0.045563415, 0.030800443, -0.0039263926, -0.01463021, -0.017126108, 0.043333035, -0.0051112804, 0.005005072, 0.0005613281, 0.0019648557, -0.015373669, 0.01721904, -0.024706734, -0.037889853, 0.013793819, -0.005778402, -0.0592643, 0.040784035, -0.0015084915, 0.039376773, -0.022980846, 0.008669263, -0.026698142, 0.026113996, -0.061122946, 0.0058812913, 0.035579823, -0.0258352, 0.032473225, 0.017763358, -0.010361959, -0.022502908, -0.002643594, -0.026127271, 0.028782481, 0.015174529, -0.01254587, 0.017550942, 0.0033223322, 0.015028492, 0.01254587, 0.00092268566, -0.02660521, -0.015851608, -0.0058879294, 0.0016553578, -0.017550942, -0.00052689336, 0.016741103, -0.01698007, -0.027322117, -0.012990617, 0.009213581, 0.023684477, 0.00022838959, -0.0026203608, 0.017325249, -0.05952982, 0.027162803, 0.02364465, 0.0020395336, 0.01899803, -0.020830126, 0.012253797, 0.02774695, 0.020099944, -0.0051710224, -0.017643875, -0.028092127, -0.008523226, 0.008144858, 0.006717683, -0.05058176, 0.033907037, 0.036535695, -0.011762583, 0.0020611072, 0.04941347, 0.041049555, 0.00014053946, 0.014882455, 0.023100331, -0.028809035, -0.0039230734, -0.028888691, -0.030853547, 0.009578672, -0.009903936, 0.007793043, -0.01570557, -0.008098392, -0.0011716116, 0.019144068, -0.02704332, 0.006545094, -0.025954682, -0.018214744, 0.011629822, 0.012213969, 0.009910573, 0.021732898, -0.010103076, -0.022290492, 0.04513858, 0.037942957, -0.0053768014, 0.02189221, 0.020816851, 0.018759063, 0.007454504, -0.015214357, 0.02061771, -0.017537666, -0.011742668, -0.0036409574, 0.0033787554, -0.021228408, 0.047873445, 0.040677827, 0.007965632, 0.043837525, 0.010474806, 0.03228736, -0.0010878065, 0.04150094, -0.0059045246, 0.032579433, 0.0046532564, 0.0067010876, 0.012399834, 0.0031231914, -0.022542737, 0.00844357, -0.0020710642, -0.005015029, 0.0030501732, -0.021480653, 0.0065782843, 0.05334318, 0.007202259, -0.032234255, -0.009525568, -0.017325249, 0.0334291, 0.011769221, -0.010069886, -0.04110266, 0.021878935, 0.010016782, -0.022595841, 0.0016611661, 0.0353143, 0.022582566, -0.030083535, 0.016913692, 0.016302994, -0.000497852, -0.05522838, -0.014895732, 0.001217248, 0.023724306, 0.017404905, -0.024945702, -0.010342045, -0.023591546, 0.028304545, -0.015453326, 0.0041354904, -0.0039131166, 0.011875429, 0.034756705, -0.026591934, -0.018453714, 0.0013234565, -0.028782481, -0.026870731, -0.041474387, -0.021825831, 0.010235837, -0.034995675, -0.0076071783, 0.04184612, 0.018586474, -0.010262389, 0.0013491788, -0.022104628, -0.002142423, -0.0034451357, -0.03329634, 0.026140548, 0.007056222, 0.009711432, -0.034119457, -0.019754766, -0.011357663, 0.001890178, -0.009286599, 0.02748143, 0.017497838, -0.012572422, -0.016674722, 0.0041852756, -0.034331873, 0.021653242, -0.002932348, 0.017604046, 0.01772353, 0.009784451 ]
2401.09350
186
for all r′ > 0. The inequality holds because µA(·) is non-decreasing. Now, K ∁ ≜ SX1,Y1 is a convex set, so for its complement, K ⊂ R2, µK(·) is non-decreasing. Using the above lemma, that fact implies the following for small ϵ: √ ϵ · e−(1+ϵ)2∆2 K /2) ≤ G(K) ≤ e−∆2 K /2. Ω( √ The lower-bound uses the fact that µK (1 + ϵ)∆K = Ω( ϵ), because: HK NS a4eax) = (1+ Ax arecos ( (1+ 0)Anve. (5.5) (a+ a See Figure 5.3(b) for a helpful illustration. Since we are interested in the measure of K ∁ = SX1,Y1, we can apply the result above directly to obtain: 1 — en A(wv)?/2 <P[Sxv]J<1- (ve: et ACua? 2), (5.6) where we use the notation ∆K = ∆(u, v) = min{u, αu + βv}.
2401.09350#186
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 186, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "for all r′ > 0. The inequality holds because µA(·) is non-decreasing.\nNow, K ∁ ≜ SX1,Y1 is a convex set, so for its complement, K ⊂ R2, µK(·) is non-decreasing. Using the above lemma, that fact implies the following for small ϵ:\n√\nϵ · e−(1+ϵ)2∆2 K /2) ≤ G(K) ≤ e−∆2 K /2. Ω(\n√\nThe lower-bound uses the fact that µK (1 + ϵ)∆K = Ω( ϵ), because:\nHK NS a4eax) = (1+ Ax arecos ( (1+ 0)Anve. (5.5) (a+ a\nSee Figure 5.3(b) for a helpful illustration.\nSince we are interested in the measure of K ∁ = SX1,Y1, we can apply the\nresult above directly to obtain:\n1 — en A(wv)?/2 <P[Sxv]J<1- (ve: et ACua? 2), (5.6)\nwhere we use the notation ∆K = ∆(u, v) = min{u, αu + βv}.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.006239007, -0.02760308, 0.016053509, 0.008461345, 0.009975827, -0.0044249212, 0.018358156, 0.006881016, 0.012728233, 0.04672506, -0.0096861, -0.019675096, -0.047752276, 0.039297514, 0.021611, 0.00054570736, -0.00639704, -0.029104393, 0.018766407, 0.023586411, 0.0011021149, 0.0061007286, 0.039007787, 0.037901558, 0.022756739, -0.023112312, 0.019701434, -0.008224295, 0.051624082, -0.034793578, 0.029762864, -0.00867864, -0.019925315, -0.0633712, -0.047752276, 0.06416136, 0.012240965, 0.039876968, 0.0046455087, 0.0244951, 0.020794496, 0.022071928, -0.053099055, -0.013946404, 0.01735728, 0.0074012075, -0.0029960405, -0.016172033, -0.039824292, -0.0023490933, -0.04314298, 0.028999038, 0.02831423, -0.0031079804, 0.0018124399, 0.012300228, 0.016646132, 0.025983242, 0.037980575, -0.025166739, 0.018950779, -0.02159783, -0.017291434, 0.003404292, -0.04037741, -0.0029993327, 0.024231711, 0.023059634, 0.04301129, -0.0065320265, -0.045961235, 0.020662801, 0.029973574, 0.030394996, 0.0037730355, 0.0012453322, 0.011200582, 0.0027046672, 0.014736569, -0.0073156063, 0.014315147, 0.004257011, 0.015974492, 0.028103517, -0.009297603, -0.07959591, -0.052756652, 0.032844506, -0.057682008, 0.020504769, -0.061527476, 0.0014148883, 0.02603592, 0.0009490205, 0.025482805, 0.045882218, 0.042668883, -0.01122692, -0.011622003, -0.003506355, 0.0073353606, -0.042616207, 0.053336106, -0.036637295, 0.05257228, 0.024956029, 0.032212373, 0.026812917, -0.024073679, -0.01646176, 0.06790147, -0.034635544, 0.019464387, 0.051149983, 0.023230836, -0.039139483, -0.065056875, -0.00014640679, -0.0018717021, -0.020636464, -0.01577695, -0.007098311, 0.040403746, -0.024969198, 0.03719041, -0.014130775, 0.0078028743, 0.0011473848, -0.0071114805, -0.025403788, 0.038006913, -0.019411707, -0.0084086675, -0.017633839, -0.0027326522, 0.030184284, 0.0038487597, 0.009923149, 0.042142108, 0.013933234, 0.026773408, 0.028603956, -0.011147904, 0.017739194, -0.040430084, 0.029209748, -0.064003326, 0.021505645, 0.0316856, 0.049964737, 0.006159991, -0.011786621, -0.035952486, 0.043511726, -0.009317356, -0.020596955, 0.00011862756, 0.03539937, 0.022243131, -0.00018488614, 0.006525442, 0.023612749, -0.018990288, 0.020201873, 0.011207167, 0.018410834, -0.031211497, -0.031975325, -0.02936778, -0.03584713, 0.004368951, -0.0337927, -0.019964823, -0.0071773278, 0.011233506, 0.023744443, -0.024126356, -0.04164167, -0.016093018, 0.005692477, 0.0045138146, 0.05920966, 0.075803116, -0.015144819, 0.002833069, 0.024297558, 0.038665384, 0.001983642, 0.000094860894, -0.06621578, 0.009528067, 0.01850302, 0.018397663, 0.018647883, 0.03118516, -0.0284986, -0.01981996, 0.050122768, -0.027497726, -0.0019029796, 0.040851504, 0.045513477, 0.040667135, -0.037769865, -0.011826129, -0.02894636, 0.00667689, 0.04962233, -0.02245384, 0.014157115, -0.032001663, -0.008329651, 0.034556527, 0.023665426, 0.020504769, 0.039666258, -0.07227372, 0.04764692, -0.027313353, 0.07548705, -0.08038607, 0.04806834, 0.040035002, 0.019977992, -0.04430189, 0.03613686, 0.030632043, -0.05225621, 0.007434131, -0.056259714, 0.057155233, 0.0031211497, -0.05014911, -0.03097445, 0.00084942684, -0.0088959355, -0.0068415077, -0.0014272346, -0.07422279, -0.035531063, -0.010199707, -0.0031655966, -0.013893726, 0.01147714, -0.029578492, 0.009995581, -0.00006795621, 0.033134233, -0.018542526, -0.039007787, -0.043959487, 0.012721648, -0.024521438, -0.031106142, -0.052282553, 0.015908645, -0.02003067, 0.022203622, -0.0016511146, -0.004092394, -0.025232587, -0.0325021, -0.021176409, -0.038849756, 0.02805084, -0.0164881, 0.020596955, 0.010700145, 0.030842755, 0.021229086, 0.020083347, 0.045539815, -0.008830088, 0.017699685, -0.009863887, 0.0155135635, 0.032528438, 0.015395039, -0.03050035, -0.0039607, -0.009073722, -0.006515565, 0.031711936, 0.024323897, 0.04029839, -0.042247463, -0.005274348, -0.009514898, -0.034688223, -0.042168446, 0.026957778, -0.036373906, 0.0070456336, -0.016356405, 0.0067559066, -0.00073625223, -0.02338887, -0.045776863, -0.013011375, -0.013669846, 0.045882218, 0.057787366, -0.014789246, 0.011345445, -0.027550403, 0.022374826, 0.05784004, 0.034398496, -0.050438836, 0.041694347, 0.02760308, 0.029525815, -0.035899807, 0.022440672, -0.06073731, -0.03719041, 0.028656634, -0.034477513, 0.0038487597, 0.007809459, 0.032423083, -0.0449867, 0.016145695, -0.087918974, 0.010403832, 0.005843925, -0.028393244, -0.025798872, 0.0011169305, -0.05057053, 0.016264219, 0.009021045, 0.020570615, 0.014657551, -0.045934897, -0.037690848, -0.020320397, 0.04746255, -0.039297514, -0.009593914, -0.037295766, -0.022848925, -0.015316022, 0.027682096, 0.03850735, 0.01114132, 0.034240462, -0.028366907, 0.11020161, 0.0730112, -0.032844506, 0.012227796, 0.007967493, 0.04343271, 0.046646044, -0.03582079, 0.008573285, -0.07027196, -0.021729523, 0.019029796, -0.03513598, -0.025640838, 0.027313353, -0.00890252, 0.030632043, 0.032528438, -0.016830504, 0.023296684, 0.027550403, 0.022177285, -0.024692642, 0.04295861, -0.009212001, -0.019398538, 0.0069600325, -0.009870471, -0.011398123, 0.01960925, 0.043116644, -0.0092778485, -0.026338818, 0.013077223, -0.017949903, -0.012589955, 0.01580329, -0.03782254, -0.01870056, -0.007967493, -0.051966485, 0.0071970816, 0.0068678465, 0.01212244, -0.0103906635, -0.014789246, -0.013202332, -0.025100892, 0.037954234, 0.026299309, 0.027128981, 0.06316049, -0.036795326, -0.03160658, -0.050438836, -0.009343695, -0.057787366, -0.002309585, 0.0075592403, 0.04232648, 0.012208042, 0.016000831, 0.004210918, -0.013478889, 0.02672073, -0.014723399, -0.016738318, 0.018055258, 0.027128981, -0.0028347152, -0.0019490725, 0.035768114, -0.024547778, -0.02939412, -0.034214124, -0.006647259, 0.033608332, 0.021992913, -0.00095231284, 0.034161445, 0.016343236, -0.014723399, 0.020794496, 0.042168446, 0.011134735, 0.0260886, -0.049464297, 0.023968324, 0.02004384, -0.035004288, -0.013735693, -0.027471386, -0.026444172, -0.04071981, -0.038849756, -0.009975827, 0.0052611786, 0.037269425, -0.0067361523, -0.008546947, 0.034635544, 0.05257228, -0.024521438, 0.0102523845, 0.050412495, 0.012682141, 0.019622419, -0.013274764, 0.027945485, 0.008994706, -0.02005701, 0.033002537, 0.032660134, -0.009198831, -0.04253719, -0.004411752, -0.013906895, 0.010686975, -0.0085601155, -0.027655758, -0.033344943, 0.024600456, -0.004046301, -0.039560903, 0.07206301, -0.03613686, -0.032475762, -0.02226947, 0.03205434, -0.061527476, 0.05083392, 0.038823415, 0.024534607, -0.06342387, -0.020873513, -0.0005860387, -0.021755863, 0.057418622, 0.05631239, 0.0056727226, -0.0035820792, -0.016804166, -0.027919145, -0.013498643, 0.050254464, -0.014130775, 0.011819544, 0.012109271, 0.026154445, 0.00022696653, 0.012076347, 0.010950363, -0.0034174614, 0.044143856, -0.0038092514, 0.024073679, 0.0032149819, 0.003740112, 0.013999081, -0.032633793, 0.0037862048, 0.057787366, 0.0062488844, -0.024784828, -0.004852927, 0.028419584, 0.0032577824, 0.023072803, 0.0002131798, 0.036637295, -0.0035030628, 0.014723399, 0.019503893, -0.024021002, -0.016870013, -0.004829881, 0.013880556, 0.0021828294, 0.00052842253, -0.065267585, -0.014947278, -0.048832167, 0.007058803, -0.02558816, -0.018147444, 0.06279174, 0.023757612, -0.042431835, -0.0016766303, -0.022638213, 0.0614748, 0.02669439, -0.011207167, -0.008994706, 0.0048825582, 0.01492094, 0.0063443626, -0.031106142, 0.016553946, -0.016316896, -0.0024346944, -0.011101811, -0.029657507, 0.013399873, 0.014196622, 0.0012741403, -0.041220248, 0.029736524, -0.010647466, 0.041430958, -0.006650551, -0.007341945, -0.010417002, 0.025219418, 0.040166695, -0.0013729108, -0.04914823, 0.01714657, -0.0052150856, -0.0109240245, 0.016053509, 0.024205374, -0.0020346737, 0.0044282135, 0.008296727, -0.011780036, 0.014157115, -0.04477599, 0.043327354, 0.009745362, -0.01759433, 0.0037335274, -0.019503893, -0.0016873304, -0.004836465, -0.015632087, -0.013985911, -0.011832713, -0.007941153, 0.004777203, -0.031316854, 0.03205434, 0.038797077, -0.023481056, -0.03184363, 0.02116324, -0.039955985, -0.0024544485, -0.035109643, 0.016185204, -0.016395913, -0.025522314, 0.03518866, -0.016237881, 0.037322104, -0.031896308, 0.009692685, -0.007256344, 0.0131957475, 0.020768156, 0.023955153, -0.0068283384, -0.023691766, 0.0060908515, -0.010127275, 0.035531063, -0.02467947, -0.01303113, -0.0007975723, -0.018884933, 0.04827905, -0.029657507, -0.00834282, -0.0046422165, 0.030289639, 0.0065419036, 0.030816415, 0.05947305, 0.0031491348, -0.03358199, 0.04430189, -0.04114123, 0.006808584, 0.0007358407, 0.00768435, -0.017120231, 0.010627713, -0.011957823, -0.017660176, -0.0043491973, -0.004526984, -0.026681222, 0.040561777, 0.03721675, 0.028445922, -0.021321272, -0.029236088, 0.01955657, -0.01303113, 0.019727774, -0.061369445, -0.015316022, -0.007223421, -0.0024462177, -0.0015523441, -0.009863887, 0.01224755, -0.009291017, 0.00890252, 0.025482805, -0.01671198, -0.009547821, -0.0041911644, 0.018990288, -0.0011515002, -0.004000208, -0.010640882, -0.012089517, -0.02359958, 0.023902476, 0.009850717, -0.0044808914, 0.060842667, -0.014222961, 0.015302853, -0.00022943578, 0.026101768, -0.029552152, -0.03316057, -0.00037841473, -0.04295861, 0.010377494, 0.011424462, -0.005366534, -0.005814294, 0.006265346, -0.03608418, -0.012965282, 0.018424002, 0.0030404872, -0.016790995, -0.050333478, -0.020215042, 0.009416127, 0.06163283, -0.025733024, 0.0014996664, 0.025219418, -0.032370407, 0.0204916, -0.006726275, -0.041588992, 0.008514022, 0.044064842, -0.025337942, -0.0011045841, -0.050412495, -0.039692596, -0.017963072, 0.020570615, 0.041167572, -0.020359905, 0.020122856, -0.021637337, 0.021663677, -0.001206647, 0.019885806, -0.035952486, 0.00083008426, -0.00857987, 0.0003380834, 0.0070785573, -0.010601373, 0.007414377, -0.057049878, 0.023520563, -0.011859052, -0.019648757, -0.03829664, 0.00017809567, 0.028999038, -0.010845008, 0.010686975, 0.03429314, -0.007868721, 0.012168533, 0.002497249, 0.014815585, 0.007150989, 0.029341443, -0.026562696, -0.0011539694, 0.0077567818, -0.0435644, -0.011931484, 0.04024571, -0.0038750984, 0.03632123, -0.0018338402, -0.010989872, -0.009021045, 0.038164947, -0.01694903, 0.012050008, 0.00701271, 0.025667178, 0.012115856, 0.0010461449, -0.019859469, -0.016145695, 0.020294059, -0.007717273, 0.003094811, -0.0154213775, -0.033766363, -0.016804166, 0.037664507, -0.0011375076, 0.009047383, -0.042879593, 0.04611927, -0.014209792, -0.006591289, 0.0020626585, 0.020136025, 0.02603592, 0.013050884, 0.015724273, -0.0217822, -0.040561777, -0.0063772863, 0.017712854, -0.010884516, -0.01114132, 0.0043063965, -0.006762491, -0.00925151, -0.021769032, 0.05101829, 0.00018982467, 0.008237465, -0.03458287, -0.012089517, -0.018463511, 0.020623293, -0.036031503, -0.014618044, -0.000080148195, -0.044117518, -0.10530259, 0.017054385, 0.040140357, 0.019833129, 0.0012041777, 0.031501226, -0.018845424, -0.022756739, -0.0060941437, 0.003713773, 0.010258969, -0.01692269, -0.03834932, -0.0019391954, -0.0013317565, -0.0038322979, -0.016527608, 0.034029752, 0.0445126, -0.008125525, 0.023072803, -0.001515305, 0.04385413, 0.038612705, 0.002263492, -0.004085809, 0.014130775, -0.015342361, 0.020333568, 0.023718104, 0.01212244, -0.017844548, -0.0061698677, 0.025719855, -0.019424878, -0.0026898517, 0.011068888, 0.003842175, -0.00001849376, 0.0048858505, -0.020425752, -0.04746255, -0.007862137, -0.041773364, 0.033502974, -0.049306266, 0.01112815, -0.0086523015, 0.031659257, -0.015566241, -0.020412583, -0.01892444, 0.016224712, -0.00057739625, -0.012161949, -0.013577661, 0.025364282, 0.019095642, -0.049069215, 0.012188287, -0.00979804, 0.018726898, 0.067743436, -0.025864718, -0.026812917, -0.008764241, -0.019543402, 0.039455548, -0.00047862568, -0.009376619, 0.02828789, -0.020359905, -0.0517031, 0.010173368, 0.017936734, -0.008520607, -0.01958291, 0.025219418, -0.03518866, 0.0122343805, -0.021387119, 0.00529081, -0.0015753905, 0.051123645, 0.00825722, -0.0074077924, 0.007934568, -0.005159116, 0.0031705352, -0.008533777, 0.016646132, -0.010976702, 0.0073551144, 0.018608375, -0.0070653874, -0.01189856, 0.018134275, -0.021531982, 0.027287014, 0.014446842, 0.013933234, 0.027076304, 0.026575867, -0.039323855, -0.027708435, 0.018608375, 0.017844548, -0.023046466, 0.016606623, -0.012287058, 0.0010955301, 0.032370407, -0.045539815, -0.0035162321, -0.0012329859, 0.038481012, 0.017120231, -0.002786976, -0.021913895, -0.01303113, -0.0020363198, 0.015763782, 0.021189578, 0.011299352, 0.017949903, -0.017765531, -0.029262425, 0.016909521, -0.02826155, 0.0134393815, 0.027155321, 0.04032473, 0.007302437, 0.020504769, -0.0053500724, 0.003921191, 0.012774326, -0.026207123, 0.0057451543, -0.0059723267, 0.0003860283, 0.0029894558, 0.018081598, 0.008836673, -0.026812917, 0.00037738585, -0.007816044, -0.00006672157, 0.018647883, 0.005264471, 0.01048285, -0.02312548, 0.009113231, 0.0049385284, -0.0042800577, -0.027945485, 0.0045105224, -0.015869137, 0.0066801826, 0.026483681, -0.0048397575, 0.020754987, -0.046646044, -0.013116731, -0.005412627, 0.010864762, -0.032159697, -0.027155321, 0.002711252, 0.021387119, -0.004543446, -0.01735728, -0.038454674, -0.0023079389, 0.015711104, 0.011483724, -0.0030553027, 0.0035787867, -0.01689635, -0.012820419, 0.017436298, -0.016764658, -0.028814666, -0.02159783, 0.034003414, -0.034029752, 0.011220336, -0.013933234, 0.0405091, -0.012168533, -0.01604034, -0.00094490504, 0.026510019, 0.008375743, 0.038481012, 0.017449467, -0.029473137, 0.034793578, 0.01345255, 0.009027629, -0.019319523, 0.022071928, 0.0055015204, -0.040219374, 0.0086523015, 0.018081598, -0.017014876, 0.0072497595, -0.02362592, -0.0008099186, -0.0009284433, 0.0021071055, -0.016000831, -0.013498643, 0.027892807, -0.0043031042, 0.0016749841, 0.026668053, 0.0050142524, -0.025930565, -0.023876138, -0.050860256, -0.02070231, 0.0260886, -0.014315147, -0.030816415, 0.019569742, -0.022862094, 0.004862804, 0.004625755, 0.0074473005, 0.03495161, -0.00043829437, -0.0057945396, -0.0044743065, -0.0013531568, -0.039481886, -0.01469706, -0.0125241075, -0.0061863298, -0.017870888, 0.023033295, -0.01604034, 0.024995537, -0.014604874, -0.016066678, 0.057998076, 0.027418708, -0.024560947, -0.037137732, -0.030842755, 0.02652319, 0.028235212, 0.036821667, -0.0060052504, 0.011187413, 0.0013803187, 0.0064102095, 0.029525815, -0.0020708896, 0.003957407, 0.00031874084, 0.0018766407, -0.043063965, -0.011029379, -0.0083625745, 0.020280888, 0.023968324, 0.015157989, 0.01692269, -0.007388038, 0.0012576785, -0.012392414, 0.002149906, -0.029341443, -0.004536861, 0.040956862, 0.043801453, 0.025956905, -0.0010337986, -0.0034174614, -0.010548696, 0.013287934, 0.0013465721, 0.0044084596, 0.0004094863, 0.019332692, 0.0072431746, 0.026167614, 0.033081554, 0.0077765356, 0.02627297, 0.034793578, 0.004457845, 0.031948984, -0.0392185, -0.012787496, -0.015263344, 0.003460262, -0.0070061255, 0.0037565737, -0.003957407, 0.0056430916, -0.035478387, 0.037137732, 0.027445048, -0.014394163, 0.02315182, -0.027471386, -0.021452967, 0.00946222, -0.05920966, 0.0074670548, 0.036768988, -0.0030553027, 0.011707604, -0.02070231, 0.027629418, 0.011437631, 0.007256344, -0.003526109, 0.015329191, 0.0038652213, -0.0006975671, -0.03647926, -0.004908897, -0.013551321, 0.013281348, -0.03071106, 0.012431921, -0.020794496, 0.012557031, 0.022032421, 0.0009852364, -0.0015679827, 0.030763738, -0.032423083, -0.038928773, -0.03363467, 0.0056266296, -0.02541696, -0.0035030628, 0.00041730562, -0.061369445, -0.03223871, 0.025114061, 0.0055904137, 0.024468761, -0.039007787, -0.027049964, 0.070640706, -0.021466136, 0.01122692, 0.0064530103, 0.020610124, 0.030184284, 0.023612749, -0.00021564907, 0.015618918, 0.018147444, -0.018147444, 0.036900684, -0.008863012, -0.023704935, 0.0055937064, 0.027945485, 0.00012521226, 0.0024363406, -0.020689141, 0.007835798, 0.018107936, -0.07532901, 0.009771701, 0.01492094, 0.018397663, -0.008125525, 0.00891569, 0.026365155, -0.012912605, -0.009988996, -0.0020807665, 0.003506355, -0.04967501, 0.016185204, 0.010818669, -0.003262721, -0.010956948, 0.007190497, 0.024402915, -0.008303312, 0.008283558, -0.01735728, -0.016909521, 0.0008341997, 0.018845424, -0.021861218, 0.024587285, 0.024073679, 0.0012560324, -0.015460885, -0.00667689, 0.024995537, 0.032186035, -0.011352031, -0.020978868, 0.010061428, 0.018410834, -0.016606623, 0.0022322147, -0.0083625745, 0.005113023, -0.0010181599, -0.0014206499, 0.0061303596, -0.0005350072, 0.00023046465, -0.0111676585, -0.0012025316, -0.010845008, 0.034082428, -0.017028045, -0.010910855, 0.03115882, 0.0041187326, 0.003430631, 0.035689097, 0.010937193, 0.0047673257, -0.015144819, 0.060842667, -0.017515313, -0.019675096, 0.006848092, -0.021927064, 0.0035820792, 0.0027458216, 0.01644859, -0.019872637, -0.007941153, 0.013933234, -0.048437085, 0.02201925, -0.0051360694, -0.032317728, 0.003749989, -0.021387119, 0.025864718, 0.0061566983, -0.01535553, 0.013307687, -0.017028045, -0.02560133, 0.02960483, 0.008770826, -0.016435422, 0.015790122, -0.037690848, 0.0013819648, 0.046277303, 0.032528438, -0.012201457, -0.010647466, 0.035689097, -0.017923566, 0.013189163, -0.0035458633, -0.03647926, 0.015276514, 0.00256145, 0.005369826, 0.029762864, 0.022901602, -0.007519732, 0.00835599, -0.032344066, 0.011345445, -0.019675096, 0.007592164, -0.008625963, 0.05014911, -0.019477556, 0.02182171, 0.016158864, 0.0065978738, 0.006834923, 0.009291017, -0.0049977903, -0.013577661, -0.0022486765, -0.016567117, 0.00091774313, -0.046593368, -0.02424488, -0.006940278, 0.011444216, -0.01625105, -0.015039464, 0.0034997703, -0.017870888, -0.011648342, -0.029552152, 0.033740025, -0.043222, 0.022559198, -0.020083347, -0.007638257, -0.012069763, 0.00078357983, 0.009053968, -0.018529357, 0.036637295, -0.0029598246, 0.0011811313, 0.000031740332, 0.024284389, -0.01917466, 0.017041214, 0.029209748, -0.017093893, -0.005481766, -0.03273915, 0.019991161, 0.008909104, -0.033950735, -0.020386245, -0.015671596, 0.011786621, -0.015105312, -0.006150114, 0.02315182, -0.014143945, -0.0209657, 0.009837548, 0.0016395914, -0.00085765775, 0.0023639088, 0.019938484, -0.005366534, -0.0049253586, -0.024323897, 0.020847173, 0.010443341, 0.039060466, -0.011977577, -0.003921191, 0.010035089, -0.0015103666, -0.05810343, 0.04917457, 0.015921814, 0.026575867, -0.021281764, 0.029525815, 0.0055113975, 0.024192203, -0.008039924, 0.016606623, 0.040561777, -0.03937653, 0.029104393, 0.018279139, -0.011075472, 0.005132777, 0.018410834, -0.040798828, 0.047962986, 0.016185204, -0.008527192, -0.008290143, -0.0005275994, -0.016501268, 0.00045887157, -0.0040693474, -0.034477513, 0.0048068343, -0.010956948, -0.012267304, -0.006071097, 0.0047706184, 0.022611875, -0.00824405, -0.016079849, -0.0004154537, -0.016975367, 0.01045651, -0.020610124, 0.01090427, -0.015855968, -0.041509975, 0.047725935, 0.01535553, 0.015829628, 0.003506355, -0.044591617, 0.015302853, 0.021215918, 0.010759407, -0.035425708, -0.0077106887, -0.018779576, 0.0059887883, 0.012478014, 0.00956099, -0.024521438, 0.033502974, 0.0068283384, -0.0047607413, -0.016817335, 0.035531063, 0.031790953, -0.019398538, 0.053994574, 0.022519689, -0.009692685, -0.022756739, -0.02201925, 0.0058834334, 0.047752276, -0.029947234, -0.026773408, -0.01914832, 0.018726898, -0.003815836, 0.006571535, 0.0074077924, 0.00635424, 0.0018651175, -0.0047376947, -0.0073287757, -0.01737045, 0.011694435, -0.012583369, -0.015724273, -0.0129521135, 0.015921814, 0.029657507, -0.02271723, 0.002805084, 0.004711356, -0.007309022, -0.003486601, -0.0337927, -0.0011300999, 0.0065978738, -0.025812041, -0.027471386, 0.0108779315, -0.026549527, 0.022941109, 0.008691809, 0.01013386, 0.03208068, -0.0075724097, -0.005692477, 0.006647259, 0.047014788, -0.0013399873, 0.03719041, 0.024956029, 0.024600456, 0.014894601, -0.01756799, -0.012682141, 0.012293642, -0.030895432, -0.006601166, -0.009751947, -0.0053039794, -0.007190497, 0.035320353, 0.008540361, 0.0011547925, -0.0036512185, -0.030394996, 0.047936648, -0.011628588, -0.006028297, -0.004168118, 0.02379712, 0.012109271, -0.010370909, 0.0010782453, 0.039718937, -0.025772532, -0.009995581, 0.014367824, -0.0020165658, 0.008066263, -0.016725149, -0.000045861438, 0.00029939826, 0.013854218, 0.025983242, -0.023270344, -0.010765991, 0.008751072, 0.0056068758, 0.010667221, 0.005692477, -0.03115882, -0.038164947, -0.009165908, -0.0154213775, 0.005274348, 0.044881344, -0.0146443825, -0.009778285, -0.054890096, -0.017462635, -0.015171158, -0.025456466, 0.023612749, 0.01694903, 0.004915482, 0.00489902, 0.00004460108, -0.005198624, 0.0233757, -0.0016420606, -0.02760308, -0.0022371532, 0.013617168, 0.020504769, -0.0151316505, 0.0098112095, 0.012912605, -0.0329762, 0.011786621, 0.017620668, 0.00085518847, -0.012063178, -0.026431004, 0.009047383, -0.017449467, 0.021005206, 0.036874343, 0.010160198, 0.020623293, 0.018186953 ]
2401.09350
187
where we use the notation ∆K = ∆(u, v) = min{u, αu + βv}. Step 2. For simplicity, first consider the side of Equation (5.6) that does not depend on ϵ, and substitute that into Equation (5.3). We obtain: 67 # Qo 68 5 Locality Sensitive Hashing 1 2a [ P [PISx..v] > emt] dt 0 -X1.¥1~N (0,1) 1 = 2a [ P [earn <1- ert|at 0 X1,.¥1~N(0,1) ~ = 2 Poon [A0%4,.%) > les (1-2) 2log (1 tm =) Jat. (5.7) Step 3. We are left with bounding P[∆(X1, Y1) ≥ θ]. ∆(X1, Y1) ≥ θ is, by definition, the set that is the intersection of two half-planes: X1 ≥ θ and αX1 + βY1 ≥ θ. If we denote this set by K, then we are again interested in the Gaussian measure of K. For small ϵ, we can apply the lemma above to show that:
2401.09350#187
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 187, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "where we use the notation ∆K = ∆(u, v) = min{u, αu + βv}.\nStep 2. For simplicity, first consider the side of Equation (5.6) that does not depend on ϵ, and substitute that into Equation (5.3). We obtain:\n67\n# Qo\n68\n5 Locality Sensitive Hashing\n1 2a [ P [PISx..v] > emt] dt 0 -X1.¥1~N (0,1) 1 = 2a [ P [earn <1- ert|at 0 X1,.¥1~N(0,1) ~ = 2 Poon [A0%4,.%) > les (1-2) 2log (1 tm =) Jat. (5.7)\nStep 3. We are left with bounding P[∆(X1, Y1) ≥ θ]. ∆(X1, Y1) ≥ θ is, by definition, the set that is the intersection of two half-planes: X1 ≥ θ and αX1 + βY1 ≥ θ. If we denote this set by K, then we are again interested in the Gaussian measure of K. For small ϵ, we can apply the lemma above to show that:", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.031837292, 0.0147602465, 0.026954576, -0.0019119814, -0.012879405, -0.03507583, 0.015769174, -0.011085755, -0.023853056, 0.044293195, 0.0033039285, 0.013415009, -0.012842038, 0.027627196, -0.020614522, 0.022221334, 0.0023821918, -0.0144737605, -0.01070585, -0.0015990267, -0.0109113725, 0.014149907, 0.013950613, 0.060585517, 0.038762774, -0.025659163, 0.024039896, -0.0008470015, 0.035623886, -0.033506382, 0.015868822, -0.010649798, -0.00903053, -0.050595883, -0.030317672, 0.039883807, -0.024363749, 0.083803326, -0.013427465, 0.03539968, -0.015246027, 0.029844347, -0.044392843, -0.018571753, 0.014536041, 0.008171073, -0.0018839556, -0.020938376, -0.016927574, -0.0009435348, -0.00017447997, -0.00092952186, 0.010101738, 0.00068235, 0.011185402, -0.02375341, 0.044716697, 0.015856367, 0.05645016, -0.008227125, -0.025497237, -0.052115504, 0.0033537522, 0.00894334, -0.0074673146, -0.011297505, 0.013140979, 0.0047706114, 0.03273412, 0.014486217, -0.022370804, 0.028847875, 0.03360603, -0.009528767, 0.039535042, -0.00040793087, -0.037791215, 0.011334873, -0.024139542, 0.0069441665, 0.016068116, 0.03811507, 0.045214932, 0.004832891, -0.015146379, -0.059589047, -0.026830018, 0.021062935, -0.049375206, 0.002354166, -0.024861986, 0.0014448849, 0.020091373, -0.022096774, 0.02822508, 0.034602504, 0.047033496, -0.04586264, -0.00337555, -0.010506555, -0.014399026, -0.015146379, 0.030317672, -0.03594774, 0.07782449, -0.008320544, -0.024438484, 0.057645924, 0.01563216, 0.003269675, 0.040730808, 0.018335091, -0.008121249, 0.07523366, 0.0057484, -0.029246464, -0.04147816, 0.001572558, 0.0033444103, -0.018185621, -0.009217369, -0.0005223695, 0.048403643, -0.023329908, 0.023006056, -0.013913245, 0.014087628, -0.014212187, -0.018335091, -0.019755064, 0.013265538, -0.01286695, -0.015918646, -0.026904754, -0.010438048, 0.020552242, 0.014859894, 0.004185184, 0.038862422, 0.0017936502, -0.004789295, -0.01590619, 0.01694003, 0.0135022, -0.02105048, 0.013477288, -0.09122705, 0.052663565, 0.052813035, 0.035324946, 0.019680329, -0.041702367, -0.007946867, 0.020103829, -0.046385787, -0.014498672, -0.0090243025, 0.014947086, 0.009049214, 0.002354166, -0.0084015075, 0.021847656, 0.03373059, 0.00411979, 0.018883152, -0.0032478771, -0.02727843, -0.050620794, -0.03731789, -0.04847838, 0.0063120294, -0.06795941, -0.011696095, 0.016578808, 0.017948959, 0.018908063, -0.03250991, -0.017936502, -0.030392407, -0.041926574, -0.031239409, 0.04997309, 0.05301233, 0.0115092555, 0.029072082, 0.02630687, 0.033332, 0.017101957, 0.011073299, -0.03512565, -0.014635688, 0.018148253, 0.0063400553, 0.0274279, 0.0076105576, -0.048029967, -0.012337573, 0.034203913, -0.0073303, 0.011745918, 0.004932538, 0.046560172, 0.022159053, -0.042499546, -0.015445322, -0.022557642, 0.017463177, 0.005642525, -0.045214932, -0.010244981, -0.060286578, -0.030766083, 0.041229043, 0.013165891, 0.022470452, 0.037218243, -0.083703674, 0.049225733, -0.04202622, 0.07055024, -0.045887552, 0.03749227, 0.02423919, 0.005116263, -0.0405066, 0.032335527, 0.0079717785, -0.056948394, 0.018422283, -0.030193113, 0.039584864, -0.010712078, -0.0007851112, -0.033207443, -0.0061905845, -0.0047612693, -0.022906408, -0.026954576, -0.06845765, -0.0540088, 0.009771657, 0.010070599, -0.024999, 0.0025129786, -0.018335091, -0.00823958, -0.0006963629, 0.057446633, -0.0034471715, -0.030741172, -0.058343455, 0.004829777, -0.05221515, -0.042773575, -0.030965379, 0.023890425, 0.0025254346, 0.047033496, 0.0012899647, -0.010107966, -0.015706895, -0.025185838, -0.025322855, -0.008071426, 0.004449872, -0.002872643, -0.019505946, -0.024625324, -0.017475633, -0.013377641, -0.028399462, 0.015544969, 0.002474054, -0.0034720832, -0.014012893, -0.015270939, -0.007822308, 0.019119814, -0.005589587, -0.012854493, -0.033381823, -0.007286704, 0.04446758, 0.0045837727, 0.03980907, -0.029869258, -0.025509693, 0.021062935, -0.019817343, -0.049699057, 0.057944868, -0.01571935, 0.005577131, -0.014909717, -0.01036954, 0.037965596, -0.01997927, -0.042673927, -0.008208441, -0.029993817, 0.018758591, 0.023940248, 0.015594793, -0.008768957, -0.04217569, 0.022769393, 0.03530003, 0.019381387, -0.05206568, 0.024226734, 0.024413573, -0.001036954, -0.019505946, 0.048827145, -0.03816489, -0.0074859983, 0.0314387, -0.002221822, 0.0038270766, -0.019867167, 0.057596102, -0.062229697, 0.032310616, -0.06810889, 0.022507818, 0.01411254, -0.050296944, -0.021399245, 0.030790996, -0.024861986, 0.03990872, -0.014349202, -0.021760466, 0.029894171, -0.03622177, -0.03594774, -0.034826707, 0.0514678, -0.038040332, -0.023367276, -0.064969994, -0.005352925, 0.004552633, -0.013377641, 0.042599194, 0.007890816, 0.04558861, -0.010058143, 0.07020148, 0.008874832, -0.03749227, -0.03415409, -0.030467141, 0.0075171385, 0.057546277, -0.055902097, 0.021909935, -0.052763212, -0.026954576, 0.023628851, -0.028399462, -0.009279649, 0.027851403, -0.007392579, 0.009777885, -0.013165891, -0.036670182, -0.037865948, -0.015059188, 0.016528985, -0.029943993, 0.023317453, -0.03427865, -0.021785377, -0.03415409, -0.007031358, 0.018210532, 0.048079792, 0.03993363, 0.031737644, 0.0129665965, 0.0046491665, -0.029395934, 0.027701931, 0.040232573, -0.017774576, -0.02004155, 0.015594793, -0.046236318, -0.016416881, -0.008768957, 0.011453204, -0.016666, 0.022806762, 0.0017920933, -0.044915993, 0.06681347, 0.043371458, -0.00050563185, 0.058592573, -0.038488746, -0.02022839, -0.0214117, -0.010176474, -0.04157781, 0.014884805, -0.023043424, 0.050869912, 0.020826273, 0.0270044, 0.016740736, -0.015308307, 0.031040113, -0.032684293, 0.0020007296, 0.023429556, 0.04075572, 0.033257265, 0.015395498, 0.03440321, -0.009180002, -0.005075781, -0.04835382, -0.0035623887, -0.004674078, 0.01806106, -0.0070064464, 0.014349202, 0.013514657, -0.046360876, -0.0060722535, 0.024002528, 0.0022529617, 0.010076826, -0.011440748, -0.02962014, 0.02232098, -0.008669309, -0.04586264, -0.004951222, -0.049699057, -0.0047145598, -0.038712952, 0.0077973963, -0.013240626, 0.014797615, 0.031637996, -0.037517183, 0.04558861, 0.037865948, -0.012636515, -0.005630069, 0.06845765, 0.008775185, 0.026555989, -0.039883807, 0.041104484, -0.004820435, -0.0036900616, 0.0010789927, 0.014361658, 0.0058355913, -0.042898133, -0.025136014, -0.028947521, 0.021847656, -0.021312052, -0.03756701, -0.015557424, 0.016616177, 0.0049917037, -0.031189585, 0.06357493, -0.027452813, -0.040680982, 0.0026484367, 0.03938557, -0.110907376, 0.032559734, 0.02807561, 0.0468342, -0.06661417, -0.0084015075, 0.02712896, -0.0015312977, 0.048652764, 0.076379605, 0.04710823, 0.028623668, -0.012879405, -0.051866386, -0.038488746, 0.05879187, -0.012107139, 0.005726602, 0.051567443, 0.0035841865, 0.010020775, 0.03470215, 0.013315362, 0.01599338, 0.030541878, 0.029993817, 0.047556642, 0.0026982604, 0.060685165, 0.01837246, -0.022981144, 0.009939812, 0.03193694, 0.020626977, 0.01405026, 0.0049823616, -0.027477724, 0.011029704, 0.00881878, -0.009317016, 0.0007987349, -0.020788904, 0.032260794, 0.0026811333, 0.002221822, -0.027652107, -0.024089718, -0.0034689694, -0.027452813, -0.0028243763, -0.044567227, -0.012038631, -0.07094883, 0.015059188, -0.006159445, -0.04847838, 0.026132487, 0.017749663, -0.026232135, 0.004963678, -0.02105048, 0.062727936, 0.021635907, -0.024650235, -0.028050696, -0.0038364185, 0.018123342, 0.027153872, -0.013427465, 0.023192894, -0.015109012, 0.00809011, 0.022545187, -0.041054662, -0.014984453, -0.012592919, -0.00087191333, -0.033182528, 0.026431428, -0.0014736892, 0.05565298, -0.0017983211, 0.0109176, 0.0046429383, 0.02575881, 0.028050696, 0.011932757, -0.029894171, 0.028798051, 0.022059407, -0.024749883, -0.0043875924, 0.00860703, -0.021610994, 0.014585864, 0.041901663, -0.008413963, 0.019331563, -0.03041732, -0.0016145966, -0.0007259457, -0.028598756, 0.028125431, -0.02493672, 0.021312052, -0.010568835, -0.038588393, 0.017313708, -0.021573626, -0.016964942, -0.0066888207, -0.032534823, 0.003124875, 0.03445303, -0.015283395, -0.013639215, 0.009067899, -0.002598613, -0.011403381, -0.01356448, -0.0027932366, -0.043545842, -0.0029146816, 0.023865514, -0.009902444, 0.04760647, -0.024201822, -0.023990072, 0.003895584, 0.0026546647, 0.046435613, 0.022022039, -0.023454469, 0.024525676, -0.017077046, -0.0076479255, 0.031588174, -0.012698795, -0.011615131, 0.0015733364, -0.026456341, 0.034328472, -0.02712896, 0.00026449334, -0.008214669, 0.019319108, 0.014673055, 0.01596847, 0.05635051, 0.029022258, -0.055204567, 0.007953095, -0.030790996, -0.0113660125, 0.006607857, 0.027328255, 0.0056549804, 0.026082665, -0.007959323, -0.0064147906, 0.0036090983, 0.006171901, -0.019779976, 0.00016572191, 0.01806106, 0.03455268, -0.032260794, -0.0031715846, -0.0006558812, -0.018658945, 0.03592283, -0.05410845, -0.029570317, -0.019854711, -0.019481035, 0.011745918, -0.01362676, 0.017189149, -0.005841819, 0.011858021, -0.00013613915, 0.004574431, -0.017288795, 0.0007987349, 0.008158618, 0.004275489, -0.013203259, 0.0075856457, 0.002494295, -0.021324508, 0.02105048, 0.024625324, -0.014859894, 0.053909153, 0.029171728, 0.018559298, -0.0101453345, -0.0014300935, 0.0032852448, -0.04820435, -0.009703149, -0.030516965, -0.006277776, -0.013365186, -0.008650626, -0.030467141, 0.008295632, -0.018546842, -0.014224643, 0.033332, -0.009815252, -0.014237098, -0.056101393, 0.0065767174, -0.012262838, 0.028997345, -0.026879841, -0.011745918, 0.001955577, -0.020938376, 0.028449286, 0.0029286945, 0.0014121882, -0.01569444, 0.023093246, -0.042723753, -0.008077654, -0.035997562, -0.031837292, -0.032410264, -0.010712078, 0.04700858, -0.016927574, 0.004686534, -0.0049107405, 0.020215932, -0.020838728, -0.0074859983, -0.023927793, 0.007031358, 0.0034533995, 0.002611069, 0.024114631, -0.025708986, -0.0067261886, -0.040730808, 0.0035717306, -0.0031746987, -0.01742581, -0.01301642, -0.010070599, 0.031463616, -0.005851161, 0.041204132, 0.038090155, 0.027926138, 0.00960973, 0.015345674, 0.00034720835, -0.009067899, 0.033008147, -0.04217569, 0.023442011, -0.00067962526, -0.017849311, -0.002343267, 0.04628614, 0.0052439356, 0.03597265, -0.015756719, -0.013738862, -0.016230043, 0.025659163, 0.0016223815, 0.010107966, -0.018509474, 0.02822508, 0.06387388, 0.0024024325, -0.013203259, 0.00026799657, -0.019568225, 0.0029286945, 0.014971997, -0.012094683, -0.027876314, 0.010693394, 0.04693385, -0.011696095, -0.0064397026, -0.027901227, 0.040332217, -0.028598756, 0.02460041, 0.003257219, 0.01958068, 0.03280885, 0.033855148, -0.00025690303, -0.03221097, -0.010942512, -0.024762338, 0.022582555, -0.005760856, -0.019356476, 0.008040287, -0.025048824, -0.012125823, -0.0086879935, 0.021386787, 0.0014674612, 0.013788686, -0.022732025, 0.008669309, -0.014224643, 0.009534995, -0.026655635, -0.008700449, -0.005303101, -0.025023911, -0.10343383, 0.026007928, 0.024102176, 0.017687384, 0.013738862, -0.0035810724, -0.00052120176, -0.013900789, 0.007909499, -0.017363532, 0.015868822, -0.017799487, -0.00007356769, 0.00860703, -0.029420847, -0.012057316, -0.007679065, 0.029246464, -0.0047581554, -0.0034160318, 0.004172728, -0.019605594, 0.049549587, 0.05251409, -0.016267411, -0.0031762556, -0.0013576936, -0.03044223, -0.007199513, -0.011166718, -0.018895607, -0.02162345, 0.008351684, 0.032534823, -0.027726844, 0.01329045, 0.012667655, 0.016018294, -0.009584818, 0.01645425, -0.0027138302, -0.059589047, 0.009709378, -0.021511346, 0.046385787, -0.013552024, 0.02430147, -0.011172947, 0.012169419, 0.017313708, -0.026680548, -0.0523148, 0.032011673, -0.002340153, 0.014971997, 0.0006920812, 0.024064807, 0.016018294, -0.033107795, 0.0042412356, -0.007392579, 0.0004947329, 0.057795398, -0.005739058, -0.028349638, -0.014623232, -0.016155308, 0.03674492, 0.0141623635, -0.023404645, 0.030242937, -0.0115092555, -0.012549324, 0.01721406, 0.024052352, -0.0049543357, 0.0072244247, 0.016404426, -0.05236462, -0.0017827513, -0.011714778, 0.0060504554, 0.0014425494, 0.055603158, 0.009809025, -0.0016145966, 0.014560952, -0.0039672055, -0.0013070914, 0.0029489354, 0.014012893, -0.0034596275, 0.0027465269, 0.0076666093, 0.0024522562, -0.010512783, 0.015544969, -0.03345656, 0.03582318, 0.011260138, 0.040033277, 0.000025349711, 0.018920518, -0.023666218, -0.0033444103, 0.018895607, -0.0047674975, -0.017737208, 0.028274903, -0.013601848, -0.0058480473, -0.005620727, -0.032534823, 0.018895607, -0.010263666, 0.040581338, -0.0042599193, 0.003381778, 0.010438048, -0.03280885, -0.007778712, 0.00702513, 0.043172166, -0.0039952314, 0.00702513, -0.012792214, -0.036396153, 0.033381823, -0.038364187, -0.017313708, 0.028249992, 0.04944994, 0.024587955, 0.011777057, 0.004686534, -0.01727634, -0.0077973963, -0.019119814, -0.00023646756, 0.011764602, -0.0014433279, 0.003388006, 0.02976961, 0.02149889, -0.018808415, 0.022582555, -0.0034222598, -0.0015398612, 0.00599129, 0.0012004378, 0.010892688, -0.043570753, 0.0265809, 0.003123318, -0.0182479, -0.0026577786, 0.024550587, -0.0218352, 0.04384478, 0.056948394, 0.022333436, 0.032484997, -0.012929229, -0.0021704414, 0.01405026, -0.013763774, -0.002986303, -0.011596447, -0.0063213715, 0.050845, -0.013726407, -0.030367495, -0.009765429, 0.034652326, 0.031164672, 0.039485216, 0.0036994037, -0.027602283, -0.028175255, -0.033855148, 0.019406298, -0.004381364, -0.030093465, -0.0218352, 0.039011892, -0.02232098, 0.0059103267, -0.046435613, 0.021274684, -0.0011661841, 0.019107357, 0.009752973, 0.008164845, 0.019256828, 0.005172314, -0.003789709, -0.023118159, 0.026780194, 0.0018434739, 0.02630687, -0.015121468, 0.036346328, -0.0066389972, -0.03978416, -0.012057316, 0.006788468, -0.007473543, -0.02588337, -0.02116258, -0.0036900616, -0.020514874, 0.004692762, 0.0004643717, -0.000045712197, 0.017936502, 0.00064342533, 0.007037586, 0.023155527, 0.0017749664, -0.025983017, 0.0092858765, -0.03597265, -0.011876705, 0.029221551, -0.006290232, 0.0016192676, 0.010743218, -0.049499765, -0.023404645, 0.019991726, -0.03288359, 0.010693394, -0.025185838, -0.03056679, -0.0024164454, 0.014386569, -0.0050259572, -0.034826707, -0.024563044, 0.004474784, 0.014237098, 0.012648971, 0.0021953532, 0.012399853, -0.023628851, -0.03662036, 0.05769575, 0.0261574, -0.023267629, -0.026431428, -0.014386569, -0.009404208, 0.021710642, 0.039310835, -0.010014547, 0.01571935, -0.010662254, 0.028798051, 0.012779758, -0.013003964, 0.01837246, -0.013427465, 0.0075981016, -0.028598756, -0.0030096578, -0.025160927, 0.032983236, 0.04526476, 0.010656026, 0.00060255436, -0.035997562, 0.011801969, -0.008220897, -0.002990974, -0.040406954, -0.021374332, 0.025073735, 0.020066462, 0.022507818, -0.019381387, -0.0065891733, -0.014523584, -0.000009427076, -0.022707114, 0.018920518, 0.002072351, 0.006900571, -0.0013234399, 0.051119033, 0.023018511, 0.011814426, 0.0060971654, 0.034054443, -0.0004962899, 0.03674492, -0.027801579, -0.0076167854, -0.0011241453, -0.020004183, -0.0234171, 0.01913227, 0.0056238407, 0.03679474, 0.009099038, 0.028050696, 0.015507601, -0.02354166, 0.018920518, -0.022009583, -0.019119814, 0.031563263, -0.0029209096, 0.033157617, 0.034129176, -0.010830409, 0.031662907, -0.011932757, 0.04670964, 0.012630287, 0.013140979, -0.006788468, 0.023030967, -0.010575063, -0.012692567, -0.021374332, -0.03358112, 0.004303515, 0.0048889425, -0.0014223086, 0.029022258, 0.014971997, 0.023367276, 0.044143725, -0.017288795, -0.03265938, -0.023740955, -0.021847656, -0.03761683, -0.0056798924, 0.01723897, 0.028773138, -0.00681338, 0.008065199, -0.04145325, -0.05067062, 0.017774576, 0.011658726, 0.015594793, 0.009889988, -0.012119595, 0.05014747, -0.009827709, -0.022981144, -0.016005836, 0.017774576, 0.042599194, 0.034801796, -0.0007773263, -0.01605566, 0.01040068, -0.0045868866, 0.004907626, -0.00087814126, 0.028598756, 0.0063743093, 0.014947086, 0.00033144382, 0.025609339, -0.035648797, 0.00489517, 0.03759192, -0.06556788, -0.014710424, 0.007872132, 0.023628851, -0.012449676, -0.008600802, 0.031139761, -0.019144725, 0.005872959, -0.011808197, 0.0068071517, -0.05385933, -0.019543314, 0.009559907, 0.0094291195, -0.0068320637, 0.012543095, 0.04202622, -0.010301033, 0.013987981, 0.0057795397, -0.023130614, 0.0018699426, -0.013987981, -0.03527512, 0.03816489, 0.038712952, 0.0007434618, -0.02533531, -0.0013701494, 0.024587955, 0.06113358, -0.018957887, -0.010724533, -0.036969125, 0.0033475242, -0.007280476, 0.011440748, 0.005446344, -0.0265809, -0.0065704896, -0.010269893, -0.0067261886, -0.005222138, -0.014697967, -0.008195985, 0.0008135263, 0.009796569, 0.020901008, 0.01432429, 0.0055055097, 0.012518184, -0.0038146207, 0.00012163969, 0.015221115, -0.000910838, 0.019804887, -0.0107681295, 0.05236462, -0.016977398, 0.015756719, -0.0060629114, -0.0018932974, 0.017998781, 0.00056090497, 0.025248118, -0.009615958, -0.011808197, 0.021486435, -0.042374987, 0.04227534, 0.001947792, -0.024401117, -0.0009980294, -0.021461524, 0.011390924, -0.027029313, 0.0074984543, 0.0077039767, -0.03280885, -0.025210751, 0.045065463, 0.012729934, 0.0008088553, 0.0026873613, -0.038189802, -0.00069675216, 0.033830237, -0.0153332185, -0.00048578027, 0.008700449, 0.038090155, -0.018123342, 0.020975742, -0.0065455777, -0.040207658, 0.038339272, -0.0068382914, -0.0067012766, 0.035050914, 0.008656854, 0.0135022, 0.018123342, -0.0009147305, 0.014635688, 0.012891861, -0.0038519884, 0.00495745, 0.038364187, -0.039559953, 0.012729934, 0.015183748, 0.019269284, 0.03126432, 0.0082582645, 0.0010626443, -0.0016317235, 0.011228998, -0.011733462, -0.013452377, -0.026879841, -0.019256828, -0.012188102, 0.014349202, 0.01761265, -0.015706895, -0.0006730081, 0.02947067, 0.0012736162, -0.0064583863, 0.027975962, -0.023155527, 0.023030967, -0.0043782503, 0.0122254705, 0.01928174, -0.0037398853, 0.009086582, -0.0033350685, 0.048179436, 0.020564698, -0.0012782871, 0.0025487894, 0.039186276, -0.007118549, -0.00075825315, -0.022831673, 0.016541442, -0.027228607, -0.012480816, 0.027378079, 0.017587736, -0.031363968, -0.036271594, -0.01949349, -0.01301642, -0.023790777, 0.017077046, 0.03704386, -0.0064147906, -0.010730762, 0.02807561, 0.012455905, 0.0010244981, -0.016827926, 0.024139542, -0.009248509, 0.00878764, -0.012331345, 0.006212382, -0.0117957415, 0.025708986, -0.01481007, -0.00047488135, -0.00008933219, -0.011814426, -0.01946858, 0.032534823, 0.021735553, 0.015669528, -0.019456122, 0.025808634, 0.0040606246, 0.03507583, -0.00086879934, 0.0135022, 0.02697949, -0.029022258, 0.02548478, 0.032285705, -0.024475852, -0.006776012, 0.034801796, -0.050595883, 0.03071626, 0.022046952, 0.0026904754, -0.005695462, -0.010425592, 0.0122254705, -0.0042007538, 0.004605571, -0.027951049, 0.009752973, -0.0109176, 0.010438048, -0.0048764865, -0.0009816809, 0.018073518, -0.037865948, -0.037367713, 0.015806543, -0.03445303, 0.002989417, -0.0049107405, -0.0009256294, 0.004178956, -0.022981144, 0.03126432, 0.0093357, 0.0016005837, 0.0020567812, -0.046485435, 0.012804669, 0.022134142, 0.008152389, -0.03358112, -0.0015834569, -0.028025785, 0.011235226, 0.025534604, 0.0068881153, -0.026481252, 0.03515056, -0.0052563916, 0.018222988, 0.015520057, 0.005851161, 0.010668482, -0.01371395, 0.034104265, 0.0245755, -0.011658726, 0.011565307, -0.026705459, 0.006103393, 0.065717354, -0.04753173, -0.015507601, -0.006016202, 0.009653326, 0.019256828, 0.019443667, -0.001823233, 0.011895388, 0.009180002, 0.00084933697, 0.0020754652, -0.011422064, 0.053211622, -0.036321416, 0.001700231, -0.024837073, 0.0090243025, 0.027153872, -0.022084318, 0.013900789, -0.006262206, 0.0043626805, 0.006383651, -0.016217588, 0.03348147, -0.005841819, -0.030915555, -0.0314387, 0.00018742244, -0.024313925, 0.006221724, 0.014536041, -0.015133924, 0.0056643225, -0.015856367, -0.018658945, 0.0031949396, 0.030467141, 0.0015460892, 0.016578808, -0.010076826, 0.023790777, 0.00623418, -0.03280885, -0.013726407, -0.012717478, -0.012829581, -0.018272812, -0.015532513, 0.0182479, -0.004169614, 0.028200168, 0.018198077, -0.021635907, 0.010357085, 0.0016130396, 0.05067062, -0.018048605, 0.0029240237, -0.011185402, 0.011390924, 0.0019213232, 0.031712733, 0.013975524, 0.017525457, -0.003118647, -0.013987981, 0.01571935, -0.007037586, 0.024525676, -0.0054245465, -0.027452813, -0.015470233, -0.00681338, -0.005446344, -0.031089937, -0.008177301, 0.012817126, -0.017288795, 0.018347546, 0.005978834, -0.023940248, -0.015345674, -0.0039578634, -0.022732025, -0.0073240716, 0.03440321, 0.004275489, 0.0043657944, -0.031214496, -0.023877969, -0.016653543, -0.041976396, 0.016753191, -0.0036620358, -0.009541223, 0.0060348855, -0.01906999, -0.014747791, -0.00081119075, 0.007928183, -0.034751974, -0.011826881, 0.0076292413, -0.006738644, -0.031737644, 0.014436393, 0.0031669138, -0.008314316, -0.014772703, 0.01356448, 0.0067324163, 0.03594774, -0.020888552, 0.0064583863, -0.021237317, 0.042624105, 0.02147398, -0.014075172, 0.04060625, 0.03126432 ]
2401.09350
188
Ω ϵe−(1+ϵ)2∆2 K ≤ G(K) ≤ e−∆2 K /2, (5.8) where the constant factor in Ω depends on the angle between the two half- planes. That is because µ(K ∩ S(1+ϵ)∆K ) is ϵ times that angle. It is easy to see that ∆2 K = 4 4−τ 2 · θ2, so that we arrive at the following for small ϵ and every θ ≥ 0: 4 ; ; Q, (ce 46) ae A(X, Yi) > 6| <eE =, (59) Je xrbvon! X1,¥i~N (0,1) Step 4. Substituting Equation (5.9) into Equation (5.7) yields: 2a [ x yee.) [A(x ¥1) 2 4/2 log (1 - tr) dt 1 4 =a | (t= ye" at 0 1 =2d(d—1) [ G- 2) xt dt 0 8—T = 2d(d— )B(7—S:d- 1) =2d0,(1)d = 7, where B denotes the Beta function and the last step uses the Stirling ap- proximation.
2401.09350#188
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 188, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Ω ϵe−(1+ϵ)2∆2 K ≤ G(K) ≤ e−∆2 K /2, (5.8)\nwhere the constant factor in Ω depends on the angle between the two half- planes. That is because µ(K ∩ S(1+ϵ)∆K ) is ϵ times that angle.\nIt is easy to see that ∆2 K = 4 4−τ 2 · θ2, so that we arrive at the following for small ϵ and every θ ≥ 0:\n4 ; ; Q, (ce 46) ae A(X, Yi) > 6| <eE =, (59) Je xrbvon! X1,¥i~N (0,1)\nStep 4. Substituting Equation (5.9) into Equation (5.7) yields:\n2a [ x yee.) [A(x ¥1) 2 4/2 log (1 - tr) dt 1 4 =a | (t= ye\" at 0 1 =2d(d—1) [ G- 2) xt dt 0 8—T = 2d(d— )B(7—S:d- 1) =2d0,(1)d = 7,\nwhere B denotes the Beta function and the last step uses the Stirling ap- proximation.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.004446458, 0.008371418, 0.021189295, -0.0028322155, -0.052836, 0.013016869, 0.02033843, 0.009386967, 0.016276233, 0.051189166, 0.028545164, -0.015041105, -0.012749258, 0.009338935, 0.00046531705, 0.00615162, -0.020132575, 0.009476171, -0.019556182, 0.014423542, -0.0059045944, 0.008632167, 0.016715389, 0.049048275, 0.03763021, -0.014409819, -0.009565375, 0.0023673272, 0.020640349, -0.06318362, 0.054921992, -0.013339374, -0.008872331, -0.056925643, -0.023234116, 0.06274447, -0.026129805, 0.04037494, -0.0030912491, 0.012166004, 0.0077058217, -0.013346236, -0.061811257, 0.0077813016, -0.024579033, -0.013600124, -0.062964045, -0.0011733709, 0.018087752, -0.0021872045, -0.0030655172, 0.0011828059, 0.0040416108, 0.045836944, -0.00022215137, -0.01475291, 0.023220392, 0.032662254, 0.021491215, 0.018485738, 0.012385582, -0.0016151004, -0.013442302, -0.019844377, -0.04347648, -0.009421277, -0.0049370783, 0.031234996, -0.0018955773, 0.024400625, -0.019309156, -0.0014409819, 0.02676109, -0.016989863, 0.015493985, 0.013373684, 0.009922189, -0.018705316, -0.0080900835, -0.00920856, 0.043092217, -0.0043092216, 0.008707647, 0.031783942, -0.0023415955, -0.06219552, -0.02721397, 0.026596406, -0.0784992, 0.027790364, -0.018485738, 0.0068892655, -0.035516772, 0.014272582, 0.053878997, 0.0173604, 0.033677805, -0.0126875015, 0.013558953, -0.026088633, 0.0081175305, -0.014656844, 0.034665905, 0.0103819305, 0.09085047, 0.014272582, -0.030521367, 0.023041986, -0.045123316, -0.028270692, 0.030054763, 0.02928624, 0.014272582, 0.0149313165, 0.010045702, -0.014053004, -0.017991688, -0.005894302, -0.01770349, -0.005424267, -0.026802262, 0.025127979, 0.051244058, -0.033073965, 0.0397711, -0.00026182126, -0.00449106, -0.013023731, -0.0053796656, -0.027996218, 0.042021774, -0.026692472, -0.032085862, -0.028407928, 0.00920856, 0.030960524, 0.01725061, 0.054400496, 0.051298954, 0.051353846, 0.032140758, 0.05171066, -0.0039764238, -0.0075205527, -0.024949571, 0.0684535, -0.063567884, 0.00005371517, 0.011617058, 0.015960589, 0.025114255, -0.02849027, 0.0102858655, -0.012275793, 0.031482022, -0.022959644, -0.024277113, 0.057145223, -0.00198135, 0.036477424, -0.009503618, 0.020722691, -0.0071157054, 0.017181993, 0.0069613145, 0.041280698, -0.03861831, -0.050118722, -0.04951488, -0.029835185, 0.023124328, -0.040786646, -0.00920856, -0.02807856, 0.008645891, 0.01565867, -0.023728168, -0.09946892, -0.013497196, -0.00913308, -0.035242297, -0.016619323, 0.016386023, 0.016138997, 0.031921178, 0.009037015, 0.016687943, -0.008488069, 0.013051178, -0.06966118, 0.036422532, 0.025402451, 0.03601082, -0.0054791616, 0.012838461, -0.008824298, 0.011569026, -0.02253421, 0.0068103545, 0.0573648, 0.047950387, 0.03864576, 0.015837077, -0.04671526, -0.015590051, -0.014437266, 0.047868043, 0.02445552, -0.08849001, -0.0076715127, 0.007438211, -0.06345809, 0.024482967, 0.007060811, -0.054318152, 0.053878997, -0.06395215, 0.012275793, -0.035269745, 0.08706275, -0.06603814, 0.03653232, 0.025100531, 0.04097878, -0.046852496, 0.046056524, 0.038206603, -0.02486723, -0.0135864, -0.010848534, 0.03068605, 0.007966571, 0.008886054, -0.033760145, 0.023028262, 0.0051395018, -0.034638457, 0.020777585, -0.049761906, -0.03913981, -0.028600058, 0.044135213, -0.036559768, 0.0037945854, -0.055635624, 0.0055717966, 0.0079185385, 0.0079871565, -0.022479316, -0.015082276, -0.043119665, -0.016427193, 0.007403902, -0.017003585, -0.031564362, -0.0035063892, -0.017195717, 0.029368581, -0.0032936728, -0.009613407, -0.045260552, -0.07921283, -0.024441797, -0.027804088, 0.023892852, 0.004343531, 0.021450045, -0.0034274783, 0.0020362446, -0.015590051, -0.00015396204, -0.0009700896, -0.021806858, 0.01932288, -0.035461877, -0.015974313, -0.015727287, 0.041006226, -0.035791244, 0.0072323564, -0.02898432, -0.00135864, 0.05212237, -0.019144474, 0.0043641166, -0.036285296, -0.029341135, 0.0079597095, -0.010169215, -0.043833293, 0.029450923, -0.018746488, 0.03181139, -0.016386023, 0.0029643055, -0.0048547364, -0.019899273, -0.01694869, -0.016509535, -0.009949637, 0.036889136, 0.024496691, 0.019240538, 0.0016837186, -0.03513251, 0.023783062, 0.05412602, 0.042598166, 0.015384196, 0.023769338, 0.04558992, 0.011466098, 0.005702171, 0.028215796, -0.048581675, -0.030850735, 0.041390486, -0.018060306, 0.026376829, -0.04268051, 0.029176451, -0.039030023, 0.0064158, -0.043421585, 0.019858101, 0.012207175, -0.021244189, -0.015672393, 0.04117091, 0.013689327, -0.011864084, -0.0027567355, -0.009990808, 0.020859927, -0.03741063, -0.014025557, 0.0022969937, 0.02898432, -0.032168202, 0.00152847, -0.020599179, 0.02305571, -0.004535662, -0.006686842, 0.040127914, -0.036367636, 0.05404368, -0.025127979, 0.101609804, 0.050887242, -0.025622029, 0.023522314, -0.0010978909, -0.009435, 0.076523, -0.080036245, 0.00004709459, -0.026170975, -0.020324705, 0.037163608, -0.020160021, -0.008995844, 0.049295302, -0.0028287845, -0.0013800832, 0.025210321, -0.0030963954, 0.027008116, 0.0076715127, -0.005770789, -0.026925774, 0.03299162, -0.024537861, 0.0068034925, -0.011761157, -0.044437137, 0.032470122, 0.035489324, 0.040429834, 0.020942269, 0.0077607166, 0.037794895, -0.005427698, -0.020599179, 0.023330182, -0.011870946, 0.014245135, 0.017991688, -0.041335594, -0.017607426, 0.034858037, -0.0149862105, -0.039002575, -0.021299083, 0.014739186, -0.026431724, 0.046605468, 0.06889266, 0.030219447, 0.006762322, -0.053686865, -0.0341993, -0.044876292, -0.009483033, -0.03683424, -0.014272582, -0.0037499836, 0.04913062, 0.024181047, -0.012090524, 0.041939434, -0.03290928, 0.040402386, -0.05313792, -0.013380545, -0.0037053819, -0.008838022, 0.040100466, 0.01290708, 0.03513251, -0.07064928, -0.059450794, -0.0011064681, -0.027913876, -0.032964174, -0.0009512195, 0.0086802, 0.045974184, 0.025443621, -0.03362291, 0.041280698, 0.026321935, -0.033732697, 0.038398735, -0.04789549, 0.0040244563, 0.039716203, -0.053384945, -0.03763021, -0.0033571445, -0.014272582, 0.029533265, 0.0033159736, 0.03483059, 0.014121622, 0.009606546, -0.011459236, -0.03974365, 0.0009400691, 0.010628956, -0.017950516, -0.022246014, 0.0246751, -0.0009349227, -0.030027317, -0.039798547, 0.06883776, 0.024963295, 0.0048924764, -0.03189373, 0.024318283, 0.010031979, -0.008282214, -0.019103302, -0.023988916, 0.02283613, 0.004844444, -0.013325651, -0.0139638, 0.04827975, -0.044245005, -0.027666852, 0.058956742, -0.050255958, -0.027639404, 0.027708022, 0.023728168, -0.038453627, 0.03974365, 0.014560779, 0.0392496, -0.039633863, -0.009599684, 0.028270692, 0.0035406982, 0.051545978, 0.047785703, -0.04589184, 0.0024668237, -0.029313687, -0.012035629, -0.009627131, 0.04880125, -0.015329302, 0.005746773, 0.020420771, 0.011445513, -0.04268051, 0.009496757, 0.0103133125, 0.010237833, 0.031207548, -0.022177396, 0.016097825, -0.0008701643, 0.008632167, 0.00935952, -0.007548, 0.004141107, 0.011809189, -0.013167829, -0.01694869, -0.0024668237, -0.0011536432, 0.0017634872, -0.03131734, -0.022918472, 0.021683345, -0.009716335, -0.0072735273, 0.0063609052, -0.007026502, -0.013030592, -0.00683094, 0.001462425, -0.020626625, 0.026349382, -0.082561396, -0.008371418, -0.053192813, 0.036861688, 0.0027155646, -0.05407113, 0.025635753, 0.017387846, -0.034281645, -0.00090404454, -0.017895622, 0.007259804, -0.036889136, -0.00023737602, -0.008886054, 0.011802327, -0.0028219228, 0.014464713, -0.008467483, 0.0014658559, -0.0029008337, 0.0103270365, 0.02460648, 0.022973368, 0.008330247, 0.018293608, 0.015452814, -0.04015536, 0.014739186, 0.0016151004, 0.042406037, 0.010958323, 0.0014821527, -0.028901977, 0.016784007, 0.029917527, -0.035269745, -0.030850735, -0.004292067, -0.002535442, -0.022314632, 0.0019899274, 0.042021774, -0.029423477, 0.032579914, -0.0102241095, 0.021724517, -0.0011707977, -0.030219447, -0.017223164, 0.00063943566, -0.031207548, -0.051353846, -0.031838838, 0.0392496, -0.036916584, -0.04446458, -0.007740131, 0.020791309, -0.00021614728, 0.007911677, -0.043009877, 0.0079871565, 0.024620203, -0.02381051, -0.022410698, 0.026541512, 0.00288711, 0.015603774, -0.023453694, 0.00008577273, -0.015096, -0.020777585, 0.042186458, -0.021655899, 0.0040416108, -0.006117311, -0.01992672, 0.00045245115, 0.030960524, 0.024428073, -0.0014101036, -0.024977019, 0.019693417, 0.031536918, -0.023179222, 0.008851745, -0.016468363, -0.014615673, 0.020695243, -0.02400264, 0.024016364, -0.027543338, -0.016976139, 0.013064902, 0.037767448, 0.017977964, 0.005070884, 0.04619376, -0.0016485518, 0.0036401947, 0.010622094, -0.015343025, -0.014396095, 0.008748818, -0.011411204, -0.0031684446, 0.0033537135, -0.02400264, 0.018513186, 0.0012591437, -0.024373177, -0.053961337, 0.047456335, -0.0035235437, 0.037300844, -0.030192, 0.00284937, 0.0063265963, -0.007808749, 0.027831534, -0.04913062, -0.03905747, -0.0083028, -0.00588744, 0.020599179, -0.0012196882, 0.017332952, -0.019213092, 0.0059457654, -0.03856342, -0.013847149, -0.007328422, 0.00637806, 0.00618936, -0.00044044296, -0.006752029, 0.027666852, 0.009435, 0.011596473, 0.0017060195, 0.0074793817, 0.021408873, 0.018430844, 0.03098797, -0.02849027, 0.0074587963, 0.001550771, 0.0031598674, -0.0458095, -0.03444633, -0.026665026, 0.023014538, -0.015068552, -0.034967825, -0.025429899, -0.022644, -0.0014083881, -0.006865249, 0.044052873, -0.0033485673, -0.015109723, -0.047209308, -0.0038597728, 0.0062922873, 0.06499514, -0.0076372037, 0.013229585, -0.0036779346, -0.028929425, 0.023385076, -0.010477996, -0.060713366, -0.008721371, 0.020654073, -0.03128989, 0.009846709, -0.04097878, -0.027543338, -0.026074909, 0.029258793, 0.044848844, -0.05256153, 0.014739186, -0.036065716, 0.009894742, 0.019336604, -0.01049172, 0.0026418, -0.01913075, 0.008213596, 0.0102927275, 0.00551004, 0.005074315, -0.001053289, -0.051655766, -0.019912997, -0.011891531, -0.028929425, -0.020859927, -0.00025817592, 0.021230465, 0.0003503816, 0.019213092, 0.03150947, 0.023028262, 0.009009567, 0.0031753064, 0.03601082, -0.015178341, 0.00084571907, -0.013531505, 0.0053384947, -0.0040930747, -0.021820582, -0.019597353, 0.053330053, 0.005420836, 0.018540632, 0.015288131, 0.0286824, -0.018403396, 0.0128316, 0.013305065, 0.013071763, -0.000032513224, 0.024743717, 0.057913747, 0.021793135, 0.0048581674, -0.0071637384, 0.00078267616, 0.015384196, 0.017868174, -0.0173604, -0.019199368, 0.003808309, 0.006045262, -0.0019264554, 0.00072692387, 0.012234622, 0.05201258, -0.011747433, 0.009435, -0.00075094023, 0.003079241, 0.009030153, 0.039277047, 0.010045702, -0.014478437, -0.0019453254, 0.013250171, 0.010587785, -0.018458292, -0.023865404, -0.01268064, -0.01822499, -0.02751589, -0.035571665, 0.03795958, 0.01725061, -0.009956499, -0.029862633, -0.0051635182, -0.023714444, 0.011493546, -0.0073558693, 0.0028253538, -0.019103302, -0.03301907, -0.08849001, 0.0031650136, 0.02818835, 0.0033948845, 0.018513186, -0.003022631, -0.0090576, 0.027145352, 0.0039592693, 0.001462425, 0.011219073, -0.024839781, 0.0035853, 0.019803207, -0.026596406, -0.015672393, 0.016399745, 0.047428887, 0.002653808, -0.0011107568, 0.01241303, 0.0077469926, 0.013154105, 0.039716203, -0.025731819, -0.005232136, 0.010711298, -0.023906576, 0.02253421, -0.0004914777, 0.005242429, -0.0012119686, 0.0024736854, 0.042707957, -0.0008894632, 0.011212211, -0.0072049093, 0.015617498, -0.0025989136, 0.029176451, -0.0008229893, -0.05346729, 0.051875345, -0.0036916581, 0.028517716, -0.032168202, 0.0038940818, 0.0049679563, 0.014149069, -0.0021460336, -0.02033843, -0.014560779, 0.01237872, -0.029176451, -0.00181152, 0.0061104493, 0.017525084, 0.034062065, 0.007904815, -0.011068113, -0.025155425, -0.0007916823, 0.050585322, -0.011939564, -0.013442302, -0.0022026435, -0.023000814, 0.014245135, -0.034995273, 0.0054928856, 0.0033640063, 0.017470188, -0.03354057, -0.0080489125, -0.0054071127, 0.006913282, -0.027419826, 0.014149069, -0.040127914, -0.0011219073, -0.047950387, -0.009174251, -0.026953222, 0.024496691, -0.01464312, 0.00042135853, 0.009091909, 0.019816931, -0.004480767, 0.0052904617, 0.023069432, -0.007582309, 0.015672393, -0.002691548, 0.025127979, -0.0021460336, -0.0072735273, -0.009277178, 0.05242429, 0.017772108, 0.03875555, 0.01852691, 0.034171853, -0.032332886, -0.027858982, 0.01524696, -0.0053384947, -0.038371287, 0.0033485673, -0.0019521873, 0.012138557, 0.010766192, -0.004690053, 0.020461941, 0.029972421, 0.027817812, 0.006872111, 0.012865909, -0.026925774, -0.019940443, -0.007143153, -0.0033502828, 0.025320109, 0.00024659658, 0.0051154853, -0.007026502, -0.032168202, -0.0075685857, -0.03634019, 0.028215796, 0.009407553, 0.033430777, 0.017827004, -0.01064268, 0.005540918, -0.0039798548, -0.01856808, -0.018046582, 0.0286824, 0.02162845, -0.035516772, -0.0008753107, 0.00042178738, -0.0030895337, -0.022300908, -0.022328356, -0.0074107638, 0.0052973237, 0.016633047, 0.032085862, 0.03219565, -0.025443621, 0.016138997, 0.012968836, 0.023453694, -0.032936726, -0.023124328, -0.013270756, 0.02626704, 0.018389672, 0.04026515, 0.02354976, 0.0012051068, 0.009558513, -0.004569971, -0.018924894, -0.044052873, 0.0026623853, -0.011486684, 0.020132575, -0.03370525, -0.0076303417, 0.009428138, -0.0081243925, 0.013552091, -0.015891971, -0.0024462382, -0.011980735, -0.022136226, -0.01800541, 0.016399745, 0.0173604, -0.03510506, 0.017305506, 0.027227694, -0.028270692, 0.021504939, -0.029478371, 0.041198358, 0.0006711716, -0.002815061, -0.00332112, 0.0074244873, 0.027255142, 0.023673274, 0.0010558623, -0.028462822, 0.04015536, -0.005307616, -0.007870506, -0.011232796, -0.020407047, 0.021985266, -0.00762348, -0.01460195, 0.005729618, 0.00038812158, -0.02788643, -0.012344411, -0.0103613455, -0.032442678, 0.023865404, 0.0035578527, 0.01800541, -0.04295498, -0.0149587635, -0.02958816, 0.023275288, -0.0148901455, -0.022396974, 0.013517782, -0.073448904, 0.011411204, 0.058901846, -0.0009091909, -0.023920298, -0.025759265, -0.015013658, -0.020160021, 0.021340255, -0.009270316, 0.026047463, -0.00026911194, -0.06109763, 0.0332112, 0.027076734, -0.013078625, -0.00013112505, -0.004408718, 0.01580963, 0.013984386, 0.028654953, -0.011164178, 0.019226814, -0.012207175, -0.007932262, 0.036642108, 0.029999869, -0.0054482836, -0.02275379, -0.02177941, 0.007932262, 0.012817876, 0.035763796, -0.021683345, 0.018801382, -0.016564429, 0.01694869, -0.01494504, -0.014464713, 0.009750644, -0.038673207, -0.030878183, -0.05412602, 0.016180167, -0.021573557, -0.00093149184, 0.017799556, 0.017785832, -0.005022851, -0.01837595, 0.0060589854, 0.016989863, 0.016193891, -0.022095054, 0.015301854, 0.030768393, 0.013318789, 0.017374124, 0.035763796, -0.0020431064, -0.033869933, -0.040896438, -0.016207615, 0.045040976, -0.04539779, 0.008590996, 0.0016948691, 0.057529483, 0.017003585, 0.046907388, 0.024784887, 0.0012188305, 0.0051669492, 0.0068446635, -0.038728103, -0.011898393, 0.009544789, -0.014162793, -0.0135864, -0.023426248, 0.014272582, 0.00649128, -0.007541138, -0.004110229, 0.025059361, 0.030823287, 0.026678748, -0.03271715, 0.0035304055, -0.0035372672, 0.00724608, 0.037218504, 0.031234996, 0.0032284854, 0.0026778246, 0.0028733865, 0.027296312, 0.017429018, 0.0166056, -0.005705602, -0.013277618, -0.0012625746, 0.0027395808, -0.006405507, -0.012255208, -0.009531066, -0.027186524, -0.01913075, 0.018211266, -0.007177462, 0.0523145, 0.036889136, -0.022959644, 0.0025028482, 0.034089513, -0.027337484, -0.013600124, -0.0062888563, 0.03474825, -0.012234622, 0.021669623, 0.001613385, -0.03450122, -0.02102461, 0.022095054, 0.031536918, -0.0038769273, -0.022204844, -0.01645464, 0.07767578, -0.014107898, -0.008398865, -0.020667797, 0.016331127, -0.010162353, 0.018348502, 0.013236447, -0.03230544, 0.0055615036, -0.019418946, -0.002211221, 0.0025011327, 0.0035235437, -0.0019418945, 0.021601005, 0.0035063892, 0.009832986, -0.0061104493, -0.008138116, 0.01645464, -0.040896438, -0.013160967, 0.022163672, 0.010100597, -0.008234181, 0.0051292093, 0.011562164, -0.0077469926, 0.009730058, -0.047840595, 0.020914823, -0.037081264, 0.004714069, -0.0011304845, 0.0036401947, -0.019103302, 0.028106008, 0.00441558, 0.011994458, -0.0044670436, 0.0065393127, -0.027968772, -0.0017068773, -0.0010996064, -0.03474825, 0.0080557745, 0.011074974, -0.019460116, -0.025251491, -0.008968396, 0.0045459545, 0.022163672, -0.02475744, -0.0023004245, -0.012364997, 0.0037191054, -0.0012479932, 0.028929425, 0.02018747, -0.006487849, -0.0032130464, -0.020105127, 0.005355649, 0.0246751, -0.034583565, 0.014025557, 0.004213156, 0.007067673, 0.019995337, -0.007726407, 0.0015430513, 0.0049679563, -0.0040416108, -0.025086807, 0.021463767, 0.0014332623, 0.0045528165, -0.017374124, 0.06735561, -0.004449889, -0.0033828763, 0.025690647, -0.014300029, 0.012783567, 0.017374124, 0.0126188835, -0.03892023, 0.009743782, 0.0017977963, -0.042625614, 0.010834811, 0.017785832, 0.009606546, 0.0057124635, -0.033266094, 0.024277113, -0.013071763, -0.020599179, -0.008234181, -0.018211266, -0.025375003, 0.040182807, -0.013140382, -0.023028262, -0.008783127, -0.04196688, -0.011466098, 0.02928624, 0.019871825, 0.0042028637, 0.014135346, 0.024798611, -0.02777664, 0.0037774309, -0.0021563263, -0.007966571, 0.0050949, 0.016893797, -0.012941389, 0.03351312, 0.012179728, 0.0031101191, -0.005890871, -0.020118851, 0.001053289, 0.0019418945, 0.016536983, -0.02456531, 0.027337484, -0.003238778, 0.025992567, -0.0029128417, 0.01381284, 0.016276233, 0.02596512, 0.020791309, -0.017113375, -0.011857222, -0.0054825926, -0.037987027, -0.032058414, 0.009139942, -0.031976074, 0.031015418, -0.007369593, -0.015343025, -0.022849854, 0.0032302008, -0.00147186, 0.009023291, 0.023371352, -0.032579914, -0.004882184, 0.021312807, -0.004329807, 0.015960589, -0.01867787, -0.008851745, -0.013215862, 0.02909411, -0.004600849, -0.011308276, 0.0077469926, 0.009030153, -0.03131734, 0.0017754955, 0.0050949, -0.0019470409, -0.0075136907, -0.008247905, 0.025800437, 0.012145419, -0.03109776, -0.019062132, -0.015315578, 0.020256087, -0.032223098, 0.01049172, 0.04419011, 0.021395149, -0.018842554, -0.00920856, -0.0048856144, -0.0023947745, 0.0009769513, 0.0050914693, -0.0012411313, -0.012124833, -0.037794895, 0.029066661, -0.0103133125, 0.018362226, -0.019954167, 0.029039215, 0.015507709, -0.017909346, -0.043339245, 0.02411243, 0.011644506, 0.024729993, -0.0010644395, -0.01109556, 0.020750139, 0.022300908, 0.009709473, -0.020091403, 0.030631157, -0.028160902, 0.033430777, 0.037081264, -0.022630276, -0.023906576, 0.019487564, -0.02645917, -0.010841672, 0.0023484572, -0.00091776816, -0.017278058, -0.024277113, 0.012845323, -0.00090661773, -0.029258793, -0.016825179, 0.0033073963, -0.025896503, 0.0068137855, -0.009565375, 0.023165498, 0.015741011, -0.007767578, -0.032223098, -0.033348437, -0.000023533892, 0.010498581, -0.027721746, -0.019226814, 0.0009958213, -0.03290928, 0.04701718, -0.011898393, 0.013792255, 0.003938684, -0.046962284, 0.04037494, 0.029752843, 0.009496757, -0.029121557, -0.030850735, -0.00072563725, 0.0055203326, 0.008652753, 0.036093164, -0.010608371, 0.0036024547, 0.00845376, 0.02396147, -0.021203019, 0.009839848, 0.008927225, 0.0026092064, 0.04007302, 0.033979725, -0.019981615, -0.009929051, -0.020503113, 0.022122502, 0.0056850165, -0.023892852, 0.016893797, -0.003336559, 0.005969782, 0.026788538, 0.0332112, 0.024935847, 0.0077058217, 0.0077538546, -0.0062991492, 0.009352658, -0.02234208, 0.02585533, -0.031564362, 0.0039592693, -0.033760145, 0.037163608, 0.025073083, -0.03634019, 0.0049610944, -0.0013011723, -0.0031049727, -0.00079897296, -0.038892787, 0.025471069, -0.019267986, -0.020063957, -0.019762037, 0.025265215, -0.020201193, 0.031948626, 0.023632102, -0.02204016, 0.024853505, -0.062524885, -0.014629397, -0.008728233, 0.035873584, 0.011678815, 0.02143632, -0.0072666653, 0.032552466, 0.00205683, -0.025635753, -0.0039729928, -0.0030140537, -0.0051669492, 0.0070402254, 0.016235061, -0.0035406982, 0.0127286725, 0.031372234, -0.0016408323, -0.004497922, 0.010532891, -0.044601817, 0.072845064, 0.0021374563, 0.018732764, 0.01233755, 0.0009563659, 0.009853571, -0.0023072865, 0.010937738, 0.009304626, -0.02275379, -0.00022300909, 0.012872771, -0.0021357408, 0.018581804, -0.033073965, -0.010731883, -0.004991973, -0.029697949, 0.016317403, -0.023741892, -0.04962467, 0.008879193, 0.014032418, 0.008343971, -0.03150947, 0.0016408323, -0.053028133, -0.010025117, -0.03955152, -0.034171853, 0.0035853, -0.012296379, 0.033046518, -0.03038413, -0.010086873, 0.0024136445, 0.0045871255, 0.018622974, 0.044629265, 0.00070204976, 0.012282655, 0.0047072074, -0.030301789, 0.0034326245, 0.032223098, -0.04290009, 0.004298929, 0.018513186, 0.015562603, -0.010711298, 0.0066113616, -0.0062236693, -0.0080626365, 0.0063917837, 0.0078842295, -0.009819262, 0.029725397, -0.046632916, -0.0043915636, -0.014135346, 0.022808684, 0.02098344, -0.001072159, 0.020708967, 0.029121557 ]
2401.09350
189
where B denotes the Beta function and the last step uses the Stirling ap- proximation. The result above can be expressed as follows: ln 1 P[h(u) = h(v)] = τ 2 4 − τ 2 ln d ± Oτ (1). Step 5. Repeating Steps 2 through 4 with the expressions that involve ϵ ⊓⊔ 5.3 LSH Families Finally, Andoni et al. [2015] show that, instead of applying a random rota- tion using Gaussian random variables, it is sufficient to use a pseudo-random rotation based on Fast Hadamard Transform. In effect, they replace the ran- dom Gaussian matrix R in the construction above with three consecutive applications of HD, where H is the Hadamard matrix and D is a random diagonal sign matrix (where the entries on the diagonal take values from {±1}). # 5.3.3 Euclidean Distance Datar et al. [2004] proposed the first LSH family for the Euclidean distance, δ(u, v) = ∥u − v∥2. Their construction relies on the notion of p-stable distri- butions which we define first.
2401.09350#189
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 189, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "where B denotes the Beta function and the last step uses the Stirling ap- proximation.\nThe result above can be expressed as follows:\nln 1 P[h(u) = h(v)] = τ 2 4 − τ 2 ln d ± Oτ (1).\nStep 5. Repeating Steps 2 through 4 with the expressions that involve ϵ ⊓⊔\n5.3 LSH Families\nFinally, Andoni et al. [2015] show that, instead of applying a random rota- tion using Gaussian random variables, it is sufficient to use a pseudo-random rotation based on Fast Hadamard Transform. In effect, they replace the ran- dom Gaussian matrix R in the construction above with three consecutive applications of HD, where H is the Hadamard matrix and D is a random diagonal sign matrix (where the entries on the diagonal take values from {±1}).\n# 5.3.3 Euclidean Distance\nDatar et al. [2004] proposed the first LSH family for the Euclidean distance, δ(u, v) = ∥u − v∥2. Their construction relies on the notion of p-stable distri- butions which we define first.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.018559586, -0.049934126, 0.019651327, -0.0019576596, 0.011619237, -0.026526693, 0.015908217, 0.0064204736, -0.042967785, 0.03368799, 0.00038442423, 0.005085041, -0.028853139, -0.03693722, 0.000781033, 0.028073326, 0.045359217, -0.022315694, -0.039380636, 0.025006054, -0.0091433255, -0.013711739, 0.019222429, 0.019755302, 0.0142056225, -0.024044283, 0.04390356, -0.032258328, 0.015609289, -0.065088525, 0.028853139, -0.022302696, 0.03823691, 0.010163584, -0.01106037, 0.09425359, -0.042629864, 0.06623225, 0.007382245, 0.05526286, -0.018299649, -0.00008077376, -0.055366836, -0.047334746, -0.0117687015, 0.022419669, -0.008396003, -0.0056958958, 0.016350113, 0.0075122137, -0.009474747, 0.017805766, -0.026500698, -0.01408865, 0.00095039903, -0.04348766, 0.034753736, -0.0036358854, 0.06186529, -0.028827146, 0.029866898, -0.027007578, -0.014816477, -0.0256559, 0.017571822, 0.014894458, -0.042551883, 0.032726217, 0.036625292, 0.036885228, -0.026955592, 0.010280555, 0.053443294, -0.014101647, 0.020366158, 0.016908979, -0.03415588, -0.0013281218, 0.01623314, 0.07517412, 0.043721605, 0.015310359, 0.055210873, 0.030542737, -0.009591719, -0.036625292, -0.028957115, 0.038756784, -0.057706278, -0.018975489, 0.014218619, 0.0018894258, -0.009240802, 0.008337517, 0.025019052, -0.022198722, 0.05786224, -0.03709318, 0.0022679607, -0.042161975, -0.008584458, -0.032518268, 0.015544304, -0.04803658, 0.0710671, 0.00079849764, 0.00044798723, 0.017545829, -0.040758308, 0.032778207, -0.041226197, 0.020587105, -0.055574786, 0.026721647, 0.037691038, 0.000043737648, -0.016285127, -0.013256848, -0.03166047, 0.023797343, -0.009123831, -0.020509124, 0.032752212, -0.009962131, 0.041330174, -0.054846957, 0.02527899, -0.08941874, 0.015297363, -0.020756064, 0.0054229605, 0.013347826, -0.029970873, -0.0035644025, 0.011495766, 0.038366877, -0.008012595, -0.0164021, 0.043305703, 0.0034604273, -0.0038633314, -0.027137548, 0.02221172, 0.012249587, 0.025369968, 0.042889804, -0.03600144, 0.021873798, -0.021600863, 0.01879353, -0.031530503, -0.021496888, 0.014296601, 0.02304352, -0.026552686, -0.03386995, -0.0061475383, 0.019248424, 0.00085210986, 0.0009455252, 0.015453326, 0.012178104, 0.007687672, 0.013334829, 0.007674675, 0.05092189, -0.0034799227, -0.051675715, -0.046502944, -0.059525847, 0.0054652006, -0.039042715, 0.0050330535, -0.022991532, 0.0024401697, -0.009702193, 0.0054392065, -0.053079378, -0.028697176, -0.048348505, -0.008311524, 0.067116044, -0.00031842428, -0.0651925, 0.002675739, 0.053339317, 0.026773633, -0.017467847, 0.04029042, -0.022068752, -0.023121502, 0.061345413, 0.0030120339, 0.00045042415, 0.021834807, -0.017896745, 0.043279707, 0.01375073, -0.008428496, -0.028541213, 0.014634521, 0.016584057, -0.014322595, -0.074238345, -0.024694128, -0.0281773, -0.017259896, 0.0033986918, -0.015128403, 0.01476449, -0.045385208, -0.030594725, 0.052455526, -0.0020161455, -0.023940308, 0.04109623, -0.040134456, 0.004587909, -0.002279333, 0.024785107, -0.036105417, 0.02947699, 0.019950256, 0.032726217, -0.038756784, 0.0025733882, 0.028463231, -0.06851971, 0.017311884, 0.015505313, 0.034831718, 0.011398289, 0.0016148661, -0.056302615, -0.011300813, -0.0068558697, -0.057706278, -0.024213243, -0.05968181, -0.035585538, -0.01837763, 0.0063099996, 0.027059566, -0.0069078575, 0.029243046, 0.028203294, 0.004903084, 0.032154355, 0.0441635, -0.017597815, -0.049934126, -0.021379916, -0.0036098917, -0.055366836, -0.04580111, 0.008948373, 0.008571462, 0.024798105, 0.024577156, -0.006599181, -0.009221307, -0.023121502, -0.026695652, -0.0048835888, 0.007447229, -0.017974727, -0.007271771, -0.0087989075, 0.008597456, -0.013490792, -0.039848525, 0.035377588, -0.03628737, 0.017012956, 0.018572584, -0.035819482, 0.017506838, -0.0010040113, -0.02249765, 0.0702353, -0.010228568, 0.00866244, 0.016792007, 0.040940266, 0.029710935, 0.013568774, -0.0066674147, 0.01943038, -0.04655493, -0.02687761, 0.016181152, -0.02368037, -0.00057714403, -0.008759917, -0.010384531, 0.026721647, -0.029892892, -0.019326406, -0.021977775, 0.027839381, 0.02082105, -0.01745485, 0.030646713, 0.005416462, -0.014686508, 0.021639854, 0.018819526, 0.032362305, 0.010657466, 0.05092189, 0.011684222, 0.035949454, -0.0053059882, 0.04990813, -0.045619152, -0.004743872, -0.0074082385, -0.022341687, -0.039198678, -0.041902035, 0.023602389, -0.048842385, 0.014881462, -0.048296515, 0.03049075, 0.017467847, -0.025525931, -0.032258328, 0.003928316, -0.025084035, 0.04608704, -0.04185005, 0.00094958674, -0.008181554, -0.005913594, -0.0138807, -0.016805004, 0.047516704, -0.032440286, -0.0063359933, -0.041538123, 0.004916081, 0.013490792, 0.0049973116, -0.008506478, 0.022159731, 0.027033573, 0.005471699, 0.00529949, 0.037327126, -0.04574912, -0.025980823, 0.007590195, 0.015466322, 0.04600906, -0.010501503, 0.031608485, -0.06430871, -0.056926463, 0.013620761, 0.00971519, 0.0062645106, 0.012418548, -0.00946175, -0.0134258075, 0.03607942, 0.0015994322, -0.01602519, -0.017272893, -0.009819165, -0.0047666165, 0.025941832, -0.014374582, 0.043799587, -0.022237713, 0.015154397, 0.022224715, 0.0117752, 0.00036431963, 0.054742984, -0.02729351, 0.015011431, -0.05063596, -0.016311122, 0.035611533, 0.010559989, -0.040784303, 0.0021802315, 0.008759917, -0.014868464, 0.021353923, 0.0065634395, -0.04239592, 0.051415775, -0.024213243, -0.049492233, 0.03990051, 0.07351052, 0.021483893, 0.0037528577, -0.02443419, -0.056510564, -0.055834725, -0.05029804, -0.012262585, 0.027033573, -0.0034636764, 0.06337293, 0.022913551, 0.030022861, 0.007986601, 0.008902883, 0.046658907, -0.06950747, 0.024954066, 0.009773676, 0.047542695, 0.004513177, 0.013250349, 0.053183354, -0.004841349, 0.0015450077, -0.01875454, -0.035221625, -0.004230494, 0.0075187124, 0.0068233777, 0.032440286, 0.017233903, -0.039198678, -0.027267516, 0.026279751, 0.014985437, -0.0005564302, -0.03231032, -0.04840049, 0.01796173, -0.017779773, -0.054483045, -0.03987452, 0.03831489, 0.019456374, -0.0567705, -0.030594725, 0.0058193663, -0.034259856, -0.014816477, -0.016077178, -0.00052312564, 0.051415775, -0.023095509, 0.006582935, 0.028723171, 0.008714428, -0.03880877, -0.025876848, 0.040316414, -0.020938022, 0.009604717, -0.028619194, 0.009026354, 0.012710977, -0.026006816, 0.004253239, 0.014218619, -0.0018471858, 0.0046756384, -0.008266035, -0.010663965, 0.0006059809, 0.0031761199, -0.015271368, 0.05315736, -0.03293417, -0.02086004, 0.035507556, 0.03296016, -0.06716803, 0.041980017, 0.022653613, 0.04525524, -0.0075252107, -0.031972397, 0.014127641, 0.00077940844, 0.05453503, 0.096385084, 0.0332201, 0.015570298, -0.01707794, -0.030724695, -0.044215485, 0.017701792, -0.013555777, -0.0012038387, 0.030854663, 0.009481246, -0.01813069, 0.015999196, 0.022068752, 0.03498768, 0.0010917404, -0.020912027, 0.033584014, 0.00096664514, 0.040264428, 0.013724737, -0.02893112, 0.013029402, 0.00723278, -0.0004955072, -0.016012194, -0.003515664, -0.0013484294, 0.028905127, -0.00012001834, -0.029269041, 0.015713263, -0.027449474, -0.0067973835, -0.017636806, 0.022887558, -0.031764448, -0.017428856, 0.013321833, -0.03296016, -0.02708556, -0.08905482, 0.0034246857, -0.02906109, -0.009728187, -0.00153526, -0.024473181, 0.029139072, 0.017207908, -0.017441852, 0.00879241, -0.026487703, 0.021132976, -0.0029730431, -0.007174294, 0.027709411, 0.03886076, 0.013776724, 0.0067973835, -0.024733119, 0.026539689, 0.021535879, 0.001892675, -0.0055041914, 0.013867702, -0.016805004, -0.03464976, 0.010826426, -0.027033573, -0.013217857, 0.010592481, 0.030230813, -0.009318784, -0.0039510606, -0.00079484226, 0.015895221, -0.015167394, 0.023992294, -0.017233903, 0.023147495, 0.019157445, -0.0071677957, 0.010053109, 0.022003768, -0.048920367, 0.0062645106, 0.04824453, 0.010118094, -0.019989247, -0.027397485, -0.0053774714, -0.01240555, 0.010508002, 0.011287816, -0.00517277, -0.06493256, -0.029269041, -0.044631388, -0.010358537, 0.024408197, -0.0060110707, 0.014491554, -0.018455612, 0.008350515, 0.010020617, -0.0023150744, -0.014907455, -0.014309597, 0.00094308826, -0.0040062973, 0.009026354, 0.01901448, -0.019235427, -0.019118454, -0.006254763, 0.009195314, 0.031062614, -0.0121131195, -0.02212074, -0.018013718, -0.00677139, -0.014608527, 0.019248424, -0.0018553089, -0.011196838, 0.020002244, 0.012165108, -0.020002244, -0.012626498, 0.00231345, 0.008363511, -0.018312646, 0.05458702, -0.017467847, 0.0037236146, -0.007928115, 0.028567208, 0.013958681, 0.01674002, 0.03805495, 0.011034376, -0.030542737, -0.0112683205, -0.034753736, -0.046061046, -0.021184962, 0.017246898, -0.017467847, -0.024876086, 0.027111555, -0.0010283805, 0.033324078, -0.003843836, -0.025980823, 0.0143615855, 0.043201726, 0.040186446, -0.054846957, 0.021340925, 0.011300813, -0.020548115, -0.002758594, -0.034181874, -0.009942636, -0.032284323, -0.013198362, 0.037717033, 0.004812106, 0.015713263, -0.029347021, 0.009682698, -0.02027518, 0.023654375, -0.015804242, 0.020886034, -0.0109563945, 0.011931163, -0.02106799, 0.026604675, 0.010969392, 0.010404026, 0.020158207, 0.025175015, -0.004591158, 0.026526693, 0.03137454, 0.04723077, -0.012093624, -0.04444943, -0.013828712, -0.03210237, -0.020067228, -0.022276703, -0.011294315, 0.016960967, 0.0028836892, -0.025136024, -0.0020372656, -0.0061637843, 0.013867702, 0.014491554, -0.020171205, -0.018312646, -0.0025555175, -0.017727785, -0.0027634678, 0.026422717, -0.021912789, 0.038548835, -0.012645993, -0.012399052, 0.0370152, 0.0030721445, -0.055574786, -0.007375746, 0.039692562, -0.017688794, -0.007531709, -0.017740782, -0.03849685, -0.023056518, -0.0054749483, 0.028073326, -0.02573388, -0.0023410683, -0.006410726, -0.010995385, 0.010274057, -0.020496126, -0.0126135005, 0.0013809217, -0.020301173, -0.03477973, -0.028333263, -0.018741544, 0.009650205, -0.06540045, -0.017610813, -0.020327168, -0.018689556, -0.064984545, -0.0056536556, 0.008525973, -0.014829474, 0.026773633, 0.057550315, 0.045021296, -0.0009138452, 0.030126836, 0.013763728, -0.0153623475, 0.0053254836, -0.027709411, -0.021496888, -0.01711693, 0.0012217095, -0.024798105, 0.046918843, 0.01446556, 0.029450998, 0.017597815, -0.014816477, 0.017402861, 0.028749164, -0.013698743, 0.011131853, -0.012223594, -0.021262944, 0.032076374, 0.011742708, -0.0009138452, -0.00087404216, 0.016220143, 0.0222897, 0.012756467, -0.011885674, -0.021003006, -0.0020535118, 0.028749164, -0.030100843, -0.033272088, -0.03878278, 0.029347021, 0.0052799946, -0.007973604, 0.024798105, 0.01312038, 0.029840905, 0.046372972, -0.029373016, -0.020496126, -0.027007578, 0.008941874, -0.023810338, -0.03545557, -0.012723975, 0.0022224716, -0.030022861, 0.007044325, -0.0035741501, -0.00988415, 0.0028154557, -0.014023665, -0.042447906, 0.0076486813, 0.021158969, 0.0133608235, -0.007642183, -0.01534935, 0.014218619, 0.01480348, -0.09446154, 0.0021103732, 0.030438762, 0.0134258075, 0.019248424, 0.015245375, 0.034337834, -0.0011810942, 0.00971519, -0.026006816, 0.0176628, -0.030126836, -0.014530545, -0.0078111426, -0.0033255843, -0.016298125, 0.034675755, -0.005224758, -0.010306549, -0.032284323, 0.0027553448, 0.000553181, 0.020379154, 0.018429618, -0.020457136, 0.0018341888, 0.0101115955, -0.020119216, 0.012632996, 0.013464798, 0.0088314, 0.029373016, -0.014673511, 0.011573748, -0.010676961, -0.043045767, 0.0034019412, 0.028567208, -0.027709411, 0.003414938, -0.011274819, -0.049388256, 0.017415859, -0.035481565, 0.045645148, -0.058901995, -0.007245777, 0.027787393, 0.018455612, 0.014829474, 0.006501704, -0.019820288, 0.023615384, 0.028229287, -0.04369561, 0.0248111, 0.019157445, 0.017051946, -0.027397485, 0.010066107, 0.0020697578, 0.008844397, 0.04166809, 0.0015311984, -0.04210999, -0.03389594, -0.03802896, 0.038210914, -0.018689556, 0.018182676, 0.02136692, 0.031192584, -0.020509124, 0.024083273, 0.04491732, 0.005747883, -0.007960607, 0.019781297, -0.033921935, -0.011671225, 0.020041235, -0.0068493714, -0.026669659, 0.034415815, 0.016675035, -0.011853182, 0.015258372, 0.0014166632, -0.02031417, 0.020769062, -0.0039738053, 0.004292229, 0.014400576, 0.024005292, 0.039432622, -0.01648008, -0.01547932, -0.014179628, 0.025058042, -0.006248264, 0.012366559, 0.029658947, 0.0012168357, -0.01707794, 0.0062742583, 0.0045196754, 0.02960696, 0.003544907, 0.022848567, 0.026799629, 0.0018374381, -0.01997625, -0.025616908, 0.0041460143, -0.011261823, 0.04213598, 0.011586745, 0.024473181, 0.029113078, -0.02708556, -0.007635684, -0.017779773, 0.025525931, 0.044059522, -0.018234665, -0.0185076, -0.02245866, 0.009026354, -0.04437145, 0.0032557258, -0.00002113267, 0.058434106, 0.027397485, -0.00046423337, -0.0044774353, 0.040134456, -0.004448192, 0.006128043, -0.009370772, 0.005656905, 0.015063418, 0.008837898, 0.00015860291, 0.0066609164, -0.023654375, 0.031270564, 0.004958321, -0.004256488, -0.030048855, 0.022354685, -0.012697981, 0.013776724, -0.007726663, 0.004357214, 0.008558465, 0.009676199, 0.03192041, -0.033116125, 0.02368037, 0.044111513, 0.048478473, 0.02161386, 0.00085535913, 0.010241564, 0.043097753, 0.021691842, -0.011528259, 0.006397729, -0.019833283, 0.032778207, 0.008155561, -0.04600906, -0.0027569695, 0.020223191, 0.02548694, -0.015960205, 0.008214047, -0.0019186687, -0.02392731, -0.01841662, 0.028099319, -0.004730875, -0.03566352, 0.0032264828, 0.030256806, 0.019144448, 0.009403264, -0.029373016, 0.021925787, 0.01497244, -0.005159773, 0.020886034, 0.0028950616, 0.00028491663, 0.01122933, 0.00090653443, -0.018936498, 0.018741544, -0.016934974, -0.026435714, -0.031426527, 0.049986113, -0.004230494, -0.0073172604, 0.0029308032, 0.02864519, -0.030932644, 0.0017058444, 0.007791647, 0.030048855, 0.012607003, 0.004756869, 0.017207908, 0.021782821, 0.0107679395, -0.017259896, 0.026448712, -0.01749384, -0.010533995, -0.019404385, 0.009442255, -0.0302828, -0.0017724535, 0.05222158, -0.024993056, -0.0046463953, -0.029788917, -0.018364633, -0.039510604, 0.010709453, -0.009741183, 0.00879241, 0.025889844, -0.0012184603, -0.025214005, 0.012373058, 0.008636447, -0.019547353, -0.0120481355, -0.00790862, 0.021418907, -0.022913551, -0.022185724, 0.0039445623, -0.028073326, -0.014374582, 0.02919106, -0.023277465, -0.0071807927, -0.027163541, -0.006745396, 0.004552168, 0.017207908, 0.00963071, -0.05240354, 0.031218577, -0.011905169, 0.058901995, 0.03498768, -0.015024427, 0.015427331, 0.00078590686, -0.00089597446, 0.01215211, 0.0075252107, -0.01615516, 0.048374496, 0.02535697, 0.020938022, 0.021132976, -0.04016045, 0.0024547912, 0.015388341, 0.016753016, -0.014283604, 0.017181914, 0.026981585, 0.006699907, -0.0055074403, 0.009500741, 0.0029811661, -0.024122264, -0.032232337, -0.02729351, 0.013633758, -0.026903603, 0.009513738, 0.0054749483, 0.042161975, 0.002641622, 0.0023491913, 0.010274057, -0.0044676876, 0.018728547, -0.0016562936, -0.011242327, 0.004701632, 0.013958681, -0.007544706, -0.016350113, -0.029788917, 0.012457537, 0.052975405, -0.008467487, 0.023992294, -0.0052669975, 0.012477033, -0.013841709, -0.040004488, -0.031400535, 0.047048815, -0.012990411, 0.0046398966, 0.03628737, -0.03693722, 0.00040493498, 0.008428496, 0.017272893, -0.0012038387, -0.0050622965, -0.02595483, 0.006972842, 0.012873439, 0.0022370932, -0.020054232, -0.0011867803, 0.026279751, 0.008857394, -0.000098999895, 0.027267516, -0.005757631, 0.023901317, 0.009565726, -0.0029389262, -0.074290335, -0.019001482, -0.011222832, -0.03527361, -0.015739258, -0.0072522755, 0.008311524, 0.00651795, 0.0022257208, 0.0071547986, -0.03436383, 0.042811822, 0.012061132, 0.011905169, 0.017610813, -0.015934212, 0.04343567, -0.01602519, 0.0044806846, -0.006105298, 0.02494107, -0.0010998634, 0.004916081, 0.009676199, -0.034207866, 0.0024629144, 0.016324118, 0.017415859, -0.029217053, 0.009695695, 0.008512976, 0.039484613, 0.009682698, 0.03571551, -0.010845921, -0.00891588, 0.0328042, -0.014816477, -0.013711739, -0.005546431, 0.004344217, -0.0076031922, 0.0016944722, 0.05009009, -0.0010438144, -0.011619237, -0.0100791035, -0.015063418, -0.016766014, 0.010988887, -0.068623684, 0.009331781, 0.026565684, 0.02065209, 0.006745396, 0.00020043671, 0.0023621884, -0.024538165, -0.040004488, 0.031348545, 0.030984633, -0.04146014, 0.01585623, 0.0031257567, 0.014322595, -0.021496888, -0.011560751, 0.0074082385, 0.032232337, -0.018156683, 0.00089272525, -0.017506838, 0.03444181, -0.017649803, 0.007044325, -0.0075057154, -0.019664325, -0.004786112, -0.033454046, -0.0017139674, -0.015674273, -0.026799629, 0.004955072, 0.049518228, -0.03158249, 0.028801152, -0.0086104525, -0.0021054994, 0.0009950759, 0.011749206, 0.00395431, 0.017090937, -0.007200288, 0.0256559, -0.026851615, 0.05349528, 0.0036781253, 0.04437145, 0.006358738, 0.011638733, -0.0058063692, 0.0010503128, 0.023017528, -0.025434952, 0.0047503705, 0.019287415, -0.024993056, 0.027007578, 0.034883704, -0.00988415, -0.005244253, -0.020028237, 0.002565265, -0.01694797, 0.023355447, -0.0014337216, -0.026487703, 0.0022305946, 0.05573075, 0.0042499895, -0.0036943716, -0.010780937, -0.04192803, -0.0046333983, 0.022731595, -0.027891368, 0.032570254, 0.006232018, 0.046372972, -0.0057381354, 0.0130813895, 0.023862327, -0.059109945, 0.04348766, -0.0039803036, -0.00027252894, 0.02161386, 0.017805766, 0.011495766, 0.0370152, 0.0016457337, -0.0096112145, 0.005276745, 0.022263706, 0.029892892, 0.053053387, -0.04533322, -0.009175818, 0.0075057154, 0.0086104525, 0.024681132, -0.00092846673, 0.019885272, -0.046243005, -0.01097589, 0.010839422, -0.031218577, -0.015908217, -0.022510648, -0.005081792, 0.00723278, 0.014309597, 0.006599181, 0.016688032, 0.03756107, -0.009149824, -0.02119796, 0.01480348, -0.022328692, 0.024733119, 0.013269844, 0.0076096905, 0.005686148, -0.0036781253, 0.031738453, 0.0110473735, 0.029425003, 0.0044936817, 0.022575632, -0.0044351956, 0.03524762, -0.017337877, -0.021353923, -0.030230813, 0.0032329813, -0.0076681767, -0.018299649, -0.017922739, 0.011723213, 0.0044611893, -0.01653207, -0.030334787, -0.0176628, -0.017298887, 0.002750471, 0.033532027, 0.0013979801, -0.021899793, 0.0277614, 0.018845519, 0.0025311483, -0.029295035, 0.006387981, 0.0041525126, 0.0086104525, -0.018156683, 0.016246136, -0.0015531307, 0.008441493, -0.020938022, -0.010313048, 0.00904585, -0.016142162, -0.026643666, 0.04055036, -0.004058285, 0.020119216, -0.025902841, -0.0043052263, -0.012067631, 0.027475467, -0.050324034, 0.0029308032, -0.015661277, 0.0116127385, 0.028203294, 0.022796579, -0.004282482, -0.016869988, 0.010157085, -0.003120883, 0.015570298, 0.005754382, -0.0051532746, 0.016714025, -0.0235504, 0.007629186, 0.0127369715, -0.000910596, -0.007785149, -0.012905931, -0.019716311, 0.035039667, -0.00900036, 0.019170443, 0.04185005, -0.01800072, -0.030022861, -0.010754943, -0.007044325, 0.019755302, 0.020132214, -0.02174383, 0.019157445, -0.03982253, 0.020873036, 0.014218619, -0.022952542, 0.010839422, -0.018702554, 0.015661277, 0.042707846, 0.030620718, 0.013399814, -0.015401338, -0.017883748, -0.009305787, 0.035871472, 0.0008569837, -0.040472377, 0.0150504215, 0.009741183, 0.022523645, -0.012529021, 0.0315565, 0.051493756, -0.00067827624, 0.019222429, 0.026006816, -0.01043002, 0.01085242, -0.025084035, -0.022601627, 0.01963833, -0.03285619, 0.010027116, -0.016662039, 0.0040225433, 0.002141241, -0.013672749, -0.024824098, 0.020847043, -0.0061215446, -0.031322554, 0.014738495, -0.0073562507, 0.023108505, -0.010696457, -0.0056211636, 0.008714428, 0.027163541, 0.025707887, -0.01837763, -0.0016108045, -0.00034908886, 0.022172729, -0.002287456, 0.004896586, 0.035143644, -0.026227763, -0.016506076, -0.020340163, 0.016830998, -0.006972842, 0.018221667, 0.060877524, -0.019729309, 0.01375073, 0.0059753293, 0.039016724, 0.022380678, 0.050869904, -0.0023703114, 0.01888451, -0.03566352, -0.006842873, 0.03386995, -0.0031338797, -0.01480348, 0.015739258, -0.007440731, -0.011294315, -0.015531307, -0.0050200564, 0.038210914, 0.0517277, -0.026773633, -0.033636004, 0.01939139, 0.0030087845, 0.017246898, 0.004259737, -0.010280555, -0.01871555, 0.006417224, 0.014660514, 0.012158609, -0.0017627059, 0.03477973, 0.024473181, -0.01585623, 0.0056211636, 0.0071028112, 0.008525973, -0.0015466323, -0.020262182, -0.006641421, -0.006881864, -0.010995385, -0.032024387, -0.025136024, -0.014491554, 0.0009073468, -0.017428856, 0.0054067145, -0.008675437, 0.018858517, 0.034103893, -0.038418867, -0.01446556, -0.0014385955, -0.016181152, 0.01711693, -0.048738413, -0.035637528, -0.009357775, -0.03730113, -0.010007621, 0.0096112145, 0.017025951, -0.021548877, -0.014985437, -0.021561874, -0.012600504, -0.010306549, -0.034103893, 0.024655137, 0.016960967, 0.0006392855, -0.014946446, 0.0037073684, -0.04088828, -0.0047666165, -0.015427331, 0.011658228, -0.0059655816, 0.019313408, -0.02952898, 0.0046269, -0.024486179, 0.03285619, 0.021457897, -0.0032037382, -0.0058063692, -0.006784387 ]
2401.09350
190
Definition 5.3 (p-stable Distribution) A distribution D, is said to be p- stable if ean a;Z;, where a; € R and Z; ~ Dy, has the same distribution as lol|pZ, where a = [a1,a2,...,,] and Z ~ Dy. As an example, the Gaussian distribution is 2-stable. Let us state this property slightly differently so it is easier to understand its connection to LSH. Suppose we have an arbitrary vector u ∈ Rd. If we con- struct a d-dimensional random vector α whose coordinates are independently sampled from a p-stable distribution Dp, then the inner product ⟨α, u⟩ is dis- tributed according to ∥u∥pZ where Z ∼ Dp. By linearity of inner product, we can also see that ⟨α, u⟩ − ⟨α, v⟩, for two vectors u, v ∈ Rd, is distributed as ∥u − v∥pZ. This particular fact plays an important role in the proof of the following result.
2401.09350#190
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 190, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Definition 5.3 (p-stable Distribution) A distribution D, is said to be p- stable if ean a;Z;, where a; € R and Z; ~ Dy, has the same distribution as lol|pZ, where a = [a1,a2,...,,] and Z ~ Dy. As an example, the Gaussian distribution is 2-stable.\nLet us state this property slightly differently so it is easier to understand its connection to LSH. Suppose we have an arbitrary vector u ∈ Rd. If we con- struct a d-dimensional random vector α whose coordinates are independently sampled from a p-stable distribution Dp, then the inner product ⟨α, u⟩ is dis- tributed according to ∥u∥pZ where Z ∼ Dp. By linearity of inner product, we can also see that ⟨α, u⟩ − ⟨α, v⟩, for two vectors u, v ∈ Rd, is distributed as ∥u − v∥pZ. This particular fact plays an important role in the proof of the following result.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.02369548, -0.03247741, -0.0033886784, 0.027176807, 0.028097674, 0.01443066, 0.00047587487, 0.008388874, -0.032050665, 0.0066313655, 0.016530687, 0.01708096, -0.014284669, 0.01448681, -0.0053258683, 0.041169494, 0.032387566, -0.015261686, -0.025469834, 0.012038652, 0.018619481, -0.016474536, 0.019989552, -0.03398224, 0.035936274, -0.01950666, 0.038519192, -0.026884826, 0.046178114, -0.020135544, 0.0340047, -0.019012535, 0.027828153, -0.041686077, 0.0012219737, 0.06796448, -0.022493862, 0.047705404, -0.012880908, 0.033555496, -0.050535385, -0.0013574366, -0.06625751, -0.04191068, 0.024189604, 0.016598066, 0.006451684, -0.013633324, 0.0006260773, 0.032410026, -0.03375764, 0.034768347, -0.011319926, -0.027738312, 0.0043460433, -0.00848433, 0.04828937, 0.028749019, 0.021348393, -0.04211282, 0.04334813, 0.016407155, 0.0053399056, -0.0011489781, -0.01823766, -0.018675633, -0.062079914, 0.027805692, 0.014554191, 0.040046487, -0.022830764, -0.010011622, 0.02623348, 0.031803604, 0.026525462, 0.037530947, -0.030366153, -0.002498694, 0.031893443, 0.015946722, -0.014969705, 0.026031338, 0.03292661, 0.0127798375, 0.032387566, -0.05381457, -0.0032876076, 0.0093265865, 0.009961086, 0.0076813786, -0.0035683597, 0.00023828838, -0.0031949594, -0.019574039, 0.027805692, -0.038361974, 0.05111935, 0.010808958, -0.05664455, -0.04487542, -0.0006762617, -0.020685818, 0.00086261093, -0.055835985, 0.050310783, 0.0051518017, -0.019203447, 0.015980411, -0.032297727, -0.004242165, -0.019304518, 0.005783494, -0.008113737, 0.08350692, 0.02242648, -0.010859493, 0.025537215, -0.00036322308, -0.018956386, 0.029827107, -0.0050226557, -0.009781404, 0.01685636, 0.011319926, 0.04332567, -0.023133976, -0.030523373, -0.07528649, 0.026368242, -0.015946722, -0.002035453, 0.02993941, -0.003208997, -0.012835988, -0.03294907, 0.035037868, 0.02228049, -0.01811413, 0.043617655, 0.013633324, 0.0030237006, -0.03369026, 0.003155654, 0.03025385, 0.01952912, 0.033465654, -0.023381038, 0.005477474, 0.041304257, 0.018091667, 0.0034925567, -0.008950379, 0.006008096, 0.019832332, -0.013375032, -0.009511882, -0.0028355967, 0.029422825, 0.017777225, -0.017182032, 0.025379993, 0.060822144, 0.0072995555, 0.012948289, 0.028165055, -0.0023218202, 0.017968137, -0.04734604, -0.03404962, -0.062708795, 0.017204491, -0.03402716, -0.06531418, -0.020214153, 0.004368503, -0.016272394, -0.029041002, -0.037149124, 0.015239227, -0.09325463, 0.013835466, 0.08229407, -0.011589448, -0.06149595, 0.029512664, 0.03276939, -0.013678244, -0.034498822, 0.014239749, -0.018597022, -0.052781403, 0.04193314, -0.016429616, 0.037441105, -0.01435205, -0.033420734, 0.030703055, 0.03420684, -0.0141049875, -0.024032384, 0.0002253036, 0.031938363, -0.033645336, -0.0012318001, -0.029355444, 0.019270826, -0.0035739748, 0.03391486, -0.052197438, 0.005163032, -0.033375815, -0.020730738, 0.00394176, 0.01829381, -0.014161138, 0.0067380513, -0.06841368, 0.04152886, -0.027199268, 0.043819793, -0.0018852507, -0.00984317, 0.02481849, 0.041102115, -0.03535231, 0.012948289, 0.04305615, -0.06365213, 0.05664455, 0.0077206837, 0.017271873, 0.03526247, 0.014239749, -0.04806477, 0.018473491, 0.004733481, -0.068997644, -0.032162964, -0.05358997, -0.03011909, -0.021236092, 0.0017196069, 0.016160093, 0.008473099, 0.044224076, 0.016732827, 0.015351527, 0.045055103, 0.0026025723, -0.057767563, -0.009669104, -0.008658396, -0.029041002, -0.073759206, -0.049142856, -0.008063202, 0.01960773, -0.043797333, 0.01961896, -0.045302164, -0.03393732, -0.004477997, -0.025469834, -0.021236092, -0.017496474, 0.0021028335, 0.041551318, -0.014149908, -0.0021954817, 0.019304518, 0.016721597, 0.035150167, -0.047705404, 0.014879864, -0.0121621825, -0.014947244, -0.01706973, 0.007041264, -0.05237712, 0.041641157, -0.05116427, -0.028367197, 0.029130843, -0.0010373791, 0.02769339, 0.0029226297, -0.022763385, 0.0058396445, -0.019877251, -0.0054072863, 0.0523322, -0.012678767, 0.0077487594, 0.008214808, 0.0234035, -0.023021676, 0.0038154216, -0.016777748, -0.020449987, 0.017496474, 0.034408983, -0.016788978, 0.03011909, 0.0046969834, -0.018080438, -0.013285192, 0.06720083, 0.007737529, -0.015025855, 0.013532253, 0.0005320253, -0.026794985, 0.0013132181, 0.017518934, -0.09774666, 0.0043460433, 0.005362366, -0.012824758, -0.04447114, -0.018102897, 0.014262209, -0.0010303603, 0.04586367, -0.034341604, -0.0009749118, 0.0040680985, -0.0073164008, -0.023223817, -0.025245233, -0.01575581, 0.02607626, -0.014969705, 0.012061112, 0.0063618436, -0.020303994, -0.023470879, 0.05228728, 0.064505614, -0.027109427, -0.009107599, -0.05507234, 0.007097414, -0.009158134, -0.011112169, -0.036610078, -0.0059912507, -0.025582135, 0.023875162, 0.014936014, 0.035734132, -0.02230295, -0.006406764, 0.014677722, -0.0053988635, 0.050400626, -0.010629276, 0.044673283, -0.074522845, -0.043145988, 0.016384695, 0.014531731, -0.0021182748, -0.024706189, 0.02886132, -0.05080491, 0.04716636, -0.034948025, -0.039709583, 0.0045201094, -0.0029478974, 0.020360146, 0.073849045, -0.008866153, 0.040181246, 0.024998171, -0.02226926, 0.026570383, 0.007967746, 0.027289107, 0.030366153, -0.0014571036, 0.017631235, -0.0044499217, 0.00587895, 0.009584879, 0.030523373, -0.042359885, 0.01114586, -0.030770434, -0.011011099, 0.043685034, -0.05902533, -0.05084983, 0.033353355, -0.03705928, -0.054668058, 0.005497127, 0.010314833, 0.008669626, 0.00095525914, -0.062079914, -0.039687123, -0.046447635, -0.02493079, 0.012757378, 0.029063461, 0.012263253, 0.049232695, 0.008686472, 0.027873073, -0.009646644, 0.026458083, 0.022954294, -0.0018712131, 0.009708409, 0.025604594, 0.061540868, -0.006159702, 0.029445285, 0.03153408, -0.0141049875, -0.017664924, -0.022999216, -0.009231131, -0.018743012, -0.006805432, -0.0076869936, -0.002961935, -0.05376965, -0.02879394, 0.04959206, 0.045459386, -0.0030517757, 0.0025422107, 0.00056115334, -0.011600679, -0.0053455206, -0.05129903, -0.03672238, -0.041641157, 0.002434121, 0.023470879, -0.0711089, -0.011926351, 0.013509793, -0.043977015, -0.015014624, -0.04334813, 0.014318359, 0.012465395, -0.025177851, 0.046267953, 0.02886132, -0.042517103, -0.039417602, 0.009388352, 0.033780098, 0.0108314175, 0.0028468268, 0.0011110766, 0.007063724, 0.0133076515, -0.0036638156, -0.022336641, 0.010640507, -0.015003394, 0.029288063, -0.030770434, -0.023897622, 0.017058501, -0.01978741, -0.027850613, 0.05107443, -0.0053932485, -0.0069008875, 0.020405065, 0.035868894, -0.051568553, 0.018462261, 0.006833507, 0.0470316, 0.0038434968, -0.04085505, 0.05089475, 0.025357533, 0.04456098, 0.062394354, 0.047705404, -0.016732827, -0.016912509, -0.020101853, -0.071333505, 0.04429146, -0.009000913, -0.0060024806, 0.020360146, 0.008995298, -0.011005484, 0.026008878, 0.032118045, 0.041034732, -0.015272916, -0.032118045, 0.016912509, 0.020573517, 0.014318359, 0.035958733, -0.049142856, 0.026121179, -0.00035778352, 0.017889526, -0.0010310622, -0.026592843, -0.044403758, 0.0080014365, -0.026413161, -0.016440846, 0.004688561, -0.034925565, 0.022583703, 0.021864977, -0.020180464, -0.017855836, 0.00723779, -0.008478715, -0.02996187, -0.036273178, -0.06279864, -0.018754244, -0.03128702, 0.0077599892, -0.03263463, -0.019910943, 0.018641943, 0.036250718, -0.0035402845, -0.006440454, -0.02504309, -0.0029675502, -0.001924556, -0.015957952, 0.0022839187, 0.029085921, 0.021831287, 0.01695743, -0.030321231, 0.017822146, 0.033308435, 0.020494906, -0.0020214154, 0.016485766, 0.0075410027, -0.029153302, 0.026727604, 0.0064909896, -0.0126001565, -0.011387307, 0.01701358, -0.012106032, 0.020506136, -0.016137633, -0.0016157286, -0.0005267612, 0.03270201, -0.0032146121, 0.040675372, 0.009040219, -0.017721076, -0.002891747, 0.018821623, -0.049502216, -0.00031005565, 0.036946982, -0.048693653, 0.02634578, -0.017507704, 0.01435205, -0.009725254, 0.025829198, 0.011948811, 0.005777879, -0.022639852, -0.01563228, -0.033128753, -0.005059154, 0.0032061895, 0.008664011, -0.027940454, -0.030298771, 0.026727604, 0.028906241, -0.01826012, -0.022774614, 0.009652259, -0.009079524, -0.024032384, 0.01179159, -0.0062102373, -0.04076521, -0.015216766, -0.02504309, -0.002269881, -0.01702481, -0.010415904, -0.02488587, -0.019248366, -0.03575659, -0.009792634, -0.004579067, -0.009332201, 0.0039754505, 0.005073191, -0.0013047956, -0.046582397, -0.006406764, -0.01436328, 0.02484095, -0.04024863, 0.038833637, -0.027738312, -0.018057978, -0.010286759, -0.00007869834, 0.015811961, -0.009090754, 0.04213528, 0.029827107, -0.02744633, -0.02231418, -0.044089317, -0.023246277, -0.030590754, 0.0002991765, -0.037867848, 0.020528596, -0.0007411857, -0.011960042, -0.0026601267, 0.039776962, -0.020719508, 0.036385477, 0.040181246, 0.013577173, -0.0048429742, 0.012072342, -0.008664011, 0.0021393313, 0.040316008, 0.014329589, 0.006541525, -0.0071647945, 0.019866021, 0.023133976, -0.022033429, 0.00040112462, -0.03782293, 0.0065302947, -0.01967511, 0.008832462, 0.0021491577, 0.002633455, -0.0054409765, 0.0010963371, 0.020494906, 0.0025773046, -0.010045311, 0.02749125, 0.022100808, 0.03175868, -0.00976456, 0.023291199, 0.0096859485, 0.025132932, -0.02239279, -0.045100026, 0.0036469703, -0.009393967, -0.002891747, -0.020573517, -0.027648471, 0.021730216, 0.017170802, -0.052736484, -0.015093235, -0.030905196, -0.012364324, -0.010893183, 0.008012666, -0.036340557, -0.011937581, -0.02621102, 0.0037283883, 0.023178896, -0.033780098, 0.036632538, 0.0011938985, -0.04047323, 0.013229041, 0.0035262469, -0.03011909, -0.019854791, 0.015126925, -0.0061372416, -0.03142178, -0.019877251, -0.050490465, -0.016620526, -0.013700704, 0.05794724, 0.007333246, 0.002328839, -0.0024102572, 0.0005713306, 0.023942543, -0.006378689, -0.040158786, 0.033375815, 0.017799687, -0.004228127, -0.0042786626, -0.012847218, -0.008534865, -0.06257404, 0.017822146, -0.0117579, -0.04045077, -0.05920501, -0.0034588664, -0.01584565, -0.034880646, 0.007574693, 0.026727604, 0.04599843, -0.004410616, 0.01851841, 0.0019470161, 0.006844737, 0.03928284, -0.03265709, 0.0028187516, -0.011348002, -0.021359622, -0.02607626, 0.030725515, 0.038811177, 0.03142178, 0.032028206, 0.009028989, 0.009517497, 0.015665969, 0.001085107, 0.0064292243, -0.010584355, 0.03932776, 0.015475058, -0.019225907, -0.014531731, 0.021651605, -0.014262209, -0.006024941, 0.028120134, 0.024256986, -0.033577956, 0.02214573, 0.034633584, -0.045392007, -0.011600679, -0.02495325, 0.02632332, -0.0067717414, 0.0019863213, 0.05138887, 0.0050703837, 0.04107965, 0.05493758, 0.027805692, -0.013408722, -0.012431704, 0.01439697, -0.016216245, -0.04577383, -0.013588403, 0.0065246797, -0.005730151, 0.0013293613, 0.004340428, -0.00040779248, -0.026008878, 0.0025674782, -0.03151162, -0.0118028205, 0.021662835, -0.007984591, 0.010780882, -0.005384826, 0.010264298, -0.008242883, -0.088762596, -0.030972576, 0.005850875, 0.014711413, 0.041236874, 0.0019315748, 0.061540868, 0.003091081, 0.018024288, -0.04734604, 0.027109427, -0.017765995, -0.011960042, -0.007962131, -0.0044078087, 0.02353826, 0.015609819, -0.0010949334, -0.008984068, -0.036655, 0.007636458, -0.013419952, 0.036407936, 0.009466962, -0.006058631, 0.043932095, 0.018787934, -0.0007910192, -0.008635936, 0.029872028, 0.016452076, -0.03550953, 0.032297727, 0.0002696975, -0.0025478257, -0.067739874, 0.011246931, 0.022370331, -0.010101462, 0.0261661, 0.055341862, -0.045302164, -0.019079916, -0.044942804, 0.042606946, -0.07622982, -0.02096657, -0.00781614, 0.0044611515, -0.007074954, -0.016474536, -0.051972836, 0.013386263, -0.021617915, -0.020371376, 0.0017083768, -0.027042046, 0.03402716, 0.0004246376, -0.014565421, -0.026997127, 0.004023178, 0.013386263, -0.024436666, 0.009641029, -0.0035655522, -0.01699112, 0.016283624, -0.009410812, -0.000113529146, 0.004362888, 0.019933403, -0.025874117, 0.037575867, -0.0053595584, -0.0067661265, -0.006940193, 0.0109212585, -0.038137373, 0.00047903333, 0.0014683336, 0.015261686, -0.041326717, 0.01586811, 0.016148863, 0.011381692, 0.025402455, 0.00016581923, 0.020719508, -0.0034644813, 0.005761034, 0.033869937, 0.016014103, 0.01113463, -0.009466962, -0.01575581, 0.013565944, -0.025335073, -0.026368242, -0.0049075475, 0.0027850613, 0.0009692968, -0.015957952, -0.007063724, -0.022886915, -0.00976456, 0.024975711, -0.007041264, 0.010022852, 0.04806477, 0.032118045, -0.02897362, -0.022482632, 0.00055659114, 0.033083834, 0.013880386, 0.0017799686, 0.03128702, -0.004761556, -0.016002873, 0.0033128753, -0.007703839, 0.019057455, 0.03831705, 0.00025688822, -0.02239279, -0.02242648, 0.02744633, -0.053050924, -0.012712457, 0.004840167, 0.024324365, -0.0077768345, 0.013723165, 0.011420997, 0.0030686208, 0.036160875, 0.008596631, 0.006434839, 0.0039726426, 0.00213512, 0.013891616, 0.026862364, 0.026390702, -0.030523373, 0.013678244, 0.00034901002, -0.017822146, 0.013296422, 0.012555236, 0.030635674, -0.00032654984, -0.01849595, -0.003338143, -0.010208148, 0.03404962, 0.028075214, -0.0260538, 0.009438887, 0.03369026, 0.01711465, 0.0007446951, -0.0045959125, 0.0036946982, 0.055252023, 0.004803669, -0.007821755, -0.0055981977, -0.03649778, -0.0025071166, -0.0043544658, -0.05260172, -0.025739357, 0.02749125, -0.0005499233, -0.030703055, 0.044942804, 0.021258552, -0.04833429, -0.012106032, 0.03267955, 0.0018613867, -0.008680856, 0.021281013, 0.025829198, 0.024548966, 0.017530164, -0.016081482, 0.020685818, 0.0016676678, -0.0043656956, 0.0050759986, 0.009461347, 0.030478453, 0.021876207, 0.030995037, -0.01315043, 0.012465395, 0.02356072, -0.016002873, -0.017968137, 0.03530739, 0.0052472576, -0.03011909, -0.025627056, 0.032320186, 0.015205536, -0.03546461, 0.019203447, -0.0072209453, 0.039754502, -0.026592843, 0.04842413, -0.006019326, 0.006019326, -0.023313658, 0.033061374, 0.008411334, 0.012802297, -0.03544215, 0.01965265, -0.04204544, -0.027828153, 0.0063730734, -0.011690519, -0.009826325, -0.011589448, -0.0021547726, -0.028209975, 0.003489749, -0.017249411, 0.030837815, 0.0144531205, 0.008416949, -0.017721076, -0.0058733346, 0.015149386, -0.0036469703, 0.0018291002, -0.0018150626, -0.013442413, -0.016115174, -0.002745756, -0.013700704, -0.042270042, -0.048469048, -0.018765474, -0.0021154673, 0.008680856, 0.021685295, -0.025784276, 0.0100340815, -0.016249934, -0.010988639, -0.022808304, 0.021808827, -0.02115748, 0.0033662182, 0.008259728, -0.03701436, -0.0011756496, 0.009079524, 0.039619744, 0.0076926085, -0.0037705014, -0.0052360273, 0.016182553, 0.033465654, -0.010281144, 0.0046829456, -0.03795769, -0.003672238, 0.011376076, -0.0016213437, 0.007889135, 0.018664403, 0.014924784, 0.0043544658, -0.0010177265, 0.036115956, -0.017541394, -0.016721597, -0.027019586, -0.017170802, 0.022987986, -0.02103395, -0.0078105247, 0.01307182, 0.024032384, -0.010151997, 0.011566988, 0.009612953, -0.014857403, 0.010140767, 0.023291199, -0.01965265, -0.016710367, 0.046223033, 0.001413587, -0.006019326, -0.01840611, 0.007344476, 0.029714806, -0.010881953, -0.0117579, -0.006906503, -0.012364324, 0.0019470161, -0.052961085, -0.04056307, 0.042270042, -0.02116871, -0.020225385, 0.048109688, 0.011409767, 0.03270201, -0.001965265, -0.008950379, 0.033353355, -0.031870984, -0.025694435, -0.001742067, 0.01183651, -0.023133976, -0.013700704, 0.021763906, 0.01852964, 0.009961086, 0.012667537, 0.011499608, -0.0013981457, 0.04613319, 0.00025250146, -0.03398224, -0.046851918, -0.005213567, -0.013700704, -0.009977931, -0.016126404, -0.021696525, 0.02096657, -0.033420734, 0.0131392, -0.001859983, -0.024526507, 0.030366153, 0.0060810912, -0.0055280095, -0.017271873, -0.031197177, 0.047211282, -0.001742067, 0.0072939405, 0.012993209, 0.019079916, 0.017204491, -0.019428048, -0.013633324, -0.02506555, -0.005140572, -0.006154087, 0.049502216, -0.030680595, 0.007063724, -0.0041102115, 0.0032595324, -0.033151213, 0.021752676, 0.009938626, 0.006058631, 0.03530739, -0.02088796, -0.02488587, -0.0013651573, 0.021191172, -0.03148916, 0.0047447113, 0.01179159, -0.029467745, 0.00014379773, 0.012734917, -0.011039174, -0.02088796, -0.00359082, -0.0342293, 0.00229936, -0.02102272, 0.0097701745, 0.0021856555, -0.022347871, 0.024256986, -0.03025385, -0.072007306, 0.02623348, 0.010685426, -0.0048654345, -0.004969313, -0.0009299915, 0.027019586, -0.029849568, -0.0023007637, 0.013532253, 0.043774873, -0.01977618, 0.015969181, -0.02088796, 0.01696866, -0.007995821, -0.042809088, -0.01840611, -0.03018647, 0.028187515, -0.035127707, 0.015317837, 0.011971272, -0.0053483285, 0.03279185, 0.0119825015, 0.005477474, 0.038811177, 0.005379211, 0.028052755, -0.0030124704, -0.012712457, -0.0010450998, 0.01963019, -0.01712588, 0.021438234, -0.035981193, 0.04063045, -0.0016087098, 0.0037255809, 0.0046239877, -0.008169888, -0.025604594, 0.035913814, -0.0012942674, -0.0083551835, 0.0007748759, 0.016452076, -0.0062102373, 0.030905196, 0.026458083, -0.0072265603, 0.008068817, -0.02102272, 0.00718164, 0.003806999, 0.008967224, 0.021460693, -0.018451031, 0.02895116, 0.013060589, 0.028524417, 0.030613214, -0.011061634, -0.012734917, 0.030455992, 0.03452128, -0.03901332, 0.013453643, 0.008338339, 0.04860381, -0.00082260376, 0.023268737, -0.002675568, -0.070165575, 0.004343236, -0.02092165, 0.009736484, 0.015542438, 0.023358578, -0.016418384, 0.058306605, -0.009904936, -0.029827107, -0.004329198, 0.018922694, 0.03937268, 0.02479603, -0.03678976, -0.0028285778, 0.014498041, -0.008478715, 0.036071036, 0.022965524, 0.030770434, 0.002698028, -0.0096859485, 0.013217811, 0.0020859884, -0.03535231, -0.0018754243, -0.029063461, 0.0058227996, 0.003321298, 0.0014613149, 0.005783494, 0.007462392, 0.010191303, 0.0031668842, -0.020831808, -0.01708096, 0.012364324, 0.021820057, 0.0061933924, -0.012240794, 0.0015174653, 0.02742387, -0.007602768, 0.021483153, -0.012027422, -0.015025855, 0.0020803735, 0.011196395, -0.010269913, -0.022707233, -0.020798119, 0.0005155311, -0.037598327, -0.008815617, -0.0051911073, 0.044740662, -0.016351005, -0.0126899965, -0.012622616, -0.025088012, -0.03553199, -0.006670671, 0.022909375, -0.034835726, -0.035958733, 0.043617655, 0.006777357, -0.00033234034, -0.01057874, -0.012240794, -0.0035515146, -0.02495325, -0.032589708, 0.036340557, 0.025739357, 0.010713502, -0.020135544, -0.021572994, 0.0035992425, -0.0012577696, -0.035846435, 0.05745312, -0.043168448, 0.008237268, -0.041596238, 0.017496474, 0.00975333, 0.02095534, -0.057318356, 0.009410812, -0.030523373, -0.0415064, 0.0065078344, 0.05008618, 0.0007475026, -0.022460172, 0.023021676, -0.0023358578, -0.0047194436, 0.016047793, 0.008596631, 0.01974249, -0.020023244, 0.020247845, 0.008652781, 0.012645076, -0.028636718, 0.0023119939, -0.022875685, 0.04047323, -0.03429668, 0.0045566075, 0.01975372, -0.015913032, -0.02623348, -0.0024018346, -0.014790023, 0.023987463, 0.017474012, 0.005907025, -0.0019933402, -0.009337816, -0.0022319795, -0.007445547, -0.021427004, 0.037328806, -0.035801515, 0.0071479497, 0.018765474, 0.003655393, 0.016272394, 0.0057385736, -0.0033971008, -0.021550534, 0.0016915316, 0.0017757573, 0.0035290543, -0.009596108, -0.022684773, 0.0049019326, -0.0043095453, 0.035060328, 0.020158004, -0.014576651, -0.018799163, 0.008259728, 0.005059154, 0.004944045, -0.028434576, -0.016137633, 0.009365891, -0.007956516, -0.008501175, -0.01966388, 0.012712457, 0.011173936, -0.0043544658, 0.0096859485, 0.031870984, -0.006541525, 0.0058003394, 0.0043123527, 0.016946198, 0.004876665, -0.010230608, -0.014868634, -0.0041495166, 0.015104465, 0.0038378818, -0.021202402, 0.020236615, -0.00658083, 0.0071423347, -0.0260538, -0.0054746666, 0.014441891, -0.022943065, 0.003537477, -0.020607207, 0.021090101, -0.009349046, -0.010977409, 0.021685295, -0.026458083, -0.025110472, -0.014217288, 0.019866021, 0.0019105183, 0.038788717, 0.011589448, -0.0019807064, -0.001290758, 0.0016002872, 0.014542961, 0.0074230866, -0.012476625, 0.012072342, 0.003969835, 0.011948811, -0.024167145, -0.0064909896, 0.021325933, 0.029602505, -0.029759727, -0.016800208, 0.016216245, -0.020854268, 0.03375764, 0.0072827106, -0.00723779, -0.01574458, -0.020741967, -0.013285192, 0.0021660028, -0.0034420213, 0.017844606, 0.02771585, -0.012892138, -0.0026952205, 0.027850613, 0.019821102, -0.019214677, -0.024863409, -0.019405589, 0.008978453, 0.027738312, -0.03701436, 0.013330111, -0.03175868, 0.010713502, 0.0063506137, 0.0033662182, 0.0007854041, 0.022067118, 0.018608252, -0.070030816, 0.0029226297, 0.013543483, -0.037104204, -0.011027944, -0.033196133, -0.012341864, -0.02879394, 0.007501697, 0.017945677, 0.009725254, 0.020292765, -0.0056403107, -0.03407208, -0.006945808, 0.012544006, 0.022909375, -0.00045166002, 0.018136589, 0.034364063, 0.007501697, 0.0024846564, -0.024571428, -0.01961896, 0.011342387, -0.005783494, 0.021382082, 0.012398015, 0.011611909, -0.021213632, -0.028030293, -0.00053518376, 0.017238181, 0.021685295, 0.008748237, 0.0029478974, 0.020079393 ]
2401.09350
191
Theorem 5.5 For X ⊂ Rd equipped with the Euclidean distance, a 2-stable distribution D2, and the uniform distribution U over the interval [0, r], the following family is (r, (1 + ϵ)r, p(r), p((1 + ϵ)r))-sensitive: H = {hα,β | hα,β(u) = ⌊ ⟨α, u⟩ + β r ⌋, α ∈ Rd, αi ∼ D2, β ∼ U [0, r]}, where: veod= [YC jae and f is the probability density function of the absolute value of D2. Proof. The key to proving the claim is modeling the probability of a hash collision for two arbitrary vectors u and v: P . That event can be expressed as follows: 69 70 5 Locality Sensitive Hashing P [#a.a(u) _ haa()| _p [je + 2) _ [oe + 4) r r =P||(a,u-0)| <raA Besta (a, u) + 8 and (a,v) + 8 do not straddle an integer et BO |.
2401.09350#191
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 191, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Theorem 5.5 For X ⊂ Rd equipped with the Euclidean distance, a 2-stable distribution D2, and the uniform distribution U over the interval [0, r], the following family is (r, (1 + ϵ)r, p(r), p((1 + ϵ)r))-sensitive:\nH = {hα,β | hα,β(u) = ⌊ ⟨α, u⟩ + β r ⌋, α ∈ Rd, αi ∼ D2, β ∼ U [0, r]},\nwhere:\nveod= [YC jae\nand f is the probability density function of the absolute value of D2.\nProof. The key to proving the claim is modeling the probability of a hash collision for two arbitrary vectors u and v: P . That event can be expressed as follows:\n69\n70\n5 Locality Sensitive Hashing\nP [#a.a(u) _ haa()| _p [je + 2) _ [oe + 4) r r =P||(a,u-0)| <raA Besta (a, u) + 8 and (a,v) + 8 do not straddle an integer et BO\n|.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.0006558389, -0.015796935, 0.036759865, 0.022409884, -0.0059402934, -0.0089508, 0.016717726, 0.019288763, -0.016311143, 0.025040714, 0.029130459, 0.0054709297, -0.050894596, 0.014708729, -0.0009170534, 0.033842035, 0.031163372, 0.020233471, -0.018224474, -0.0113006085, 0.008352884, 0.0108103175, 0.055247422, -0.02044872, 0.047139682, -0.035970617, 0.02798246, -0.0069358232, 0.031211205, -0.027097546, -0.0013131726, -0.030708956, 0.037596945, -0.043719605, -0.04374352, 0.07313706, 0.020807471, 0.0746199, 0.030063206, 0.052090425, -0.00028027303, 0.027384544, -0.049603097, -0.016215477, -0.025232047, 0.020974888, 0.018009225, -0.014481521, -0.005880502, 0.016478559, -0.021178178, 0.0072706565, 0.006917886, -0.011468025, -0.017710267, -0.02492113, 0.0155458115, 0.03530095, 0.02130972, -0.061274413, 0.0177581, -0.02614088, -0.01981493, -0.018212516, 0.016107852, -0.031378623, -0.016562268, 0.0101167355, 0.03472695, 0.024801549, -0.023414383, 0.013728147, 0.092796534, 0.03530095, 0.04013211, -0.01640681, -0.029943625, -0.0023408404, -0.0032137975, 0.019336598, 0.014804396, -0.0004006036, 0.017626557, 0.0018924036, -0.020113887, -0.06280508, -0.0363772, -0.014505438, -0.016622059, 0.00475941, -0.002194351, 0.031139456, 0.026475713, -0.017040601, -0.0016158675, -0.048742097, 0.056491084, 0.015725186, -0.012592107, -0.04886168, -0.03188087, -0.037046865, 0.035755366, -0.060843915, 0.083995216, 0.00060613715, -0.015880644, 0.047976766, -0.04453277, 0.015593644, 0.02172826, 0.0008482931, -0.002754897, 0.039103694, -0.0047145663, -0.00075150543, -0.027073627, -0.0011509879, -0.012233358, 0.004140567, -0.032430954, -0.013154148, 0.052807923, 0.00036827876, 0.039223276, -0.016215477, -0.00021319436, -0.05960025, 0.0009036003, -0.027432378, 0.04183019, 0.025255963, -0.0072766356, -0.014409771, -0.012663857, 0.010409715, -0.012113774, -0.020149764, 0.015402311, 0.01036786, -0.018631056, -0.022039177, -0.026547462, 0.017506976, -0.012053983, -0.011372359, -0.067444906, 0.019767096, 0.053381924, 0.021835886, -0.00057698874, -0.034463868, 0.022122886, 0.027767211, -0.014601104, -0.061465744, 0.0016278258, 0.03919936, 0.01476852, -0.005318461, -0.011796879, 0.038792778, 0.011067422, 0.0075098225, 0.024406923, -0.028699959, -0.0024962986, -0.033770286, -0.045130685, -0.040753942, 0.011569671, -0.032789703, -0.008018051, -0.025542963, 0.010272194, 0.015784977, -0.017710267, -0.044915438, 0.020472638, -0.040969193, 0.0116474, 0.051325094, 0.040514775, -0.04027561, 0.040084276, -0.016418768, 0.019958429, -0.022266384, 0.0107445475, -0.009136153, -0.015007687, 0.025806047, -0.0062422412, -0.0021255908, 0.012173566, -0.058260918, -0.004699618, 0.029752292, -0.019420305, -0.013429189, 0.009554694, 0.035898864, -0.025973463, -0.0033423493, -0.011695233, -0.027025795, 0.024992881, 0.03329195, -0.0448676, -0.0046966285, -0.037883945, -0.027432378, 0.034774784, 0.008287113, -0.0071989065, 0.023557883, -0.018882181, 0.028030293, 0.036185864, 0.065962076, -0.032407038, 0.017817892, 0.040466942, 0.010254256, -0.023964467, 0.019587722, 0.028699959, -0.050272763, 0.03386595, 0.008053926, 0.032622285, 0.011671317, 0.0013953861, -0.07839872, -0.012352941, 0.022110926, -0.043193437, -0.014601104, -0.04580035, -0.039916858, -0.025016798, -0.020054096, -0.004212317, 0.0005736255, 0.011306588, -0.008944821, -0.0129747735, 0.06864074, 0.03501395, -0.02392859, -0.0183321, -0.024849381, -0.027528044, -0.050320596, -0.032789703, -0.026045213, 0.009470986, 0.015665395, -0.023557883, 0.02187176, -0.029752292, -0.05065543, -0.040849607, 0.0041794316, -0.0019895649, -0.008532259, -0.029752292, -0.01952793, -0.022075051, -0.019073514, -0.006009054, 0.024323216, -0.011832754, 0.01810489, -0.018559307, -0.02330676, -0.0054290756, 0.03692728, -0.03692728, 0.015007687, -0.0058984393, -0.00639172, 0.038505778, -0.021835886, 0.053525425, -0.009267695, -0.04453277, -0.021883719, -0.008490404, -0.048335515, 0.040299527, -0.02939354, -0.0013909016, -0.036233697, -0.023282843, 0.03912761, -0.0004286309, -0.031450372, -0.025112465, -0.010457547, 0.054482087, 0.06567507, 0.0131780645, 0.006565116, -0.033650704, -0.019695347, 0.052664425, 0.020663971, -0.011527817, 0.018631056, -0.0040150047, -0.010044985, -0.05304709, 0.029250043, -0.053525425, 0.0002604671, 0.02755196, -0.04118444, -0.040084276, -0.0038057342, 0.034176867, 0.01655031, 0.03238312, -0.035707533, 0.03592278, -0.0070613855, -0.013130232, -0.0140151465, 0.022194635, -0.03415295, 0.013680314, -0.019205056, 0.020831387, -0.01938443, -0.018834349, -0.02556688, 0.01519902, 0.063283406, -0.00979984, -0.014625021, -0.027480211, -0.016526394, 0.008717612, -0.021692386, -0.006905928, 0.01036786, 0.0077250726, 0.014373897, 0.04362394, 0.029154375, -0.03216787, -0.008071863, -0.02755196, -0.020795513, 0.020508513, -0.034200784, 0.016239394, -0.061178748, -0.037836112, -0.00040508795, -0.0037549112, 0.047570184, 0.02166847, 0.004950743, -0.0048192013, -0.0037877967, -0.06261374, -0.016442684, -0.011982233, -0.0004824433, -0.054577757, 0.082273215, -0.058691416, 0.017172143, -0.009429133, -0.0015321593, 0.005674221, 0.004843118, 0.05285576, 0.04843118, 0.032191787, 0.031617787, -0.0024514548, 0.0012190009, 0.028460793, 0.02208701, -0.021752177, 0.00061361113, -0.014003188, -0.042906437, 0.003913359, 0.0022317208, -0.045656852, 0.04539377, -0.05582142, -0.03900803, 0.05347759, 0.01626331, 0.003949234, 0.023486134, -0.054147255, -0.018523432, -0.03317237, -0.00426314, -0.030278457, 0.06663174, -0.017817892, 0.051946927, 0.009429133, 0.024311258, -0.03848186, 0.023127384, 0.019587722, -0.0352292, 0.016143726, 0.021465179, 0.046924435, -0.008496384, 0.003922328, 0.0353727, -0.010971755, -0.00838278, -0.036592446, 0.0025471214, -0.006583053, -0.013058482, -0.0033154432, 0.0039671715, 0.013297648, -0.053955924, 0.030517623, 0.042715106, -0.0063678036, 0.03197654, 0.013345481, -0.010134673, 0.06170491, -0.05199476, -0.017554808, -0.04766585, 0.0070554065, -0.008317009, -0.06323557, -0.009393257, -0.033196285, -0.01918114, 0.030708956, -0.045202434, 0.054290757, 0.022481635, 0.008227321, 0.009273674, -0.017351517, -0.0180451, -0.017722225, -0.026451796, 0.016861226, 0.023031717, -0.025136381, 0.011599567, 0.014122771, 0.021285802, -0.019994305, -0.0042212857, -0.011629462, -0.0046786913, 0.016095893, -0.029656624, -0.01307044, -0.010876088, 0.024873298, -0.01314219, 0.08672171, -0.0058416375, 0.0036981094, -0.027791128, 0.0179016, -0.054577757, 0.029010875, 0.010272194, 0.05381242, -0.015031603, -0.02798246, 0.022098968, -0.005354336, 0.05113376, 0.037238196, 0.039438527, 0.030732872, -0.010660839, -0.06883207, -0.0329332, 0.06108308, -0.011025568, -0.021919593, 0.028460793, 0.05491259, 0.003067308, 0.02123797, 0.033483285, 0.04551335, 0.011749046, 0.021070553, 0.024897214, -0.000027606895, 0.029130459, 0.026954046, -0.037549112, 0.011444109, 0.012281191, 0.03111554, -0.01690906, -0.010959797, -0.02578213, -0.0070554065, -0.0184756, -0.016622059, 0.018152725, -0.0073902393, 0.027312795, 0.017447183, 0.0018490547, -0.0047384826, -0.002635314, -0.0106070265, -0.003536672, -0.018631056, -0.061896246, -0.0033782243, -0.08083822, 0.015402311, -0.035109617, -0.0468766, 0.025758212, 0.022350093, -0.032694038, 0.018930014, -0.018260349, 0.058978416, 0.029178292, -0.04417402, -0.0073184897, 0.0117909, 0.021417344, 0.013955355, -0.0057938043, -0.007366323, 0.0062960535, 0.031833038, 0.0062900744, -0.021202095, 0.020137805, -0.02571038, 0.033435453, -0.018152725, 0.025877796, -0.007342406, 0.028556459, -0.02152497, 0.022338135, 0.016729685, -0.022732759, 0.016777517, 0.048837762, -0.0089388415, 0.061609246, 0.018176641, -0.040108193, 0.012544273, 0.013058482, -0.029441375, -0.015784977, 0.027432378, -0.03814703, 0.025160298, -0.009435112, -0.009596549, -0.0027967512, 0.010947838, 0.010905985, -0.010140652, 0.014326063, -0.022350093, -0.018619098, -0.00016657561, -0.012938898, 0.022409884, 0.009201924, -0.0181886, 0.031139456, 0.0059552416, 0.027743293, 0.01576106, 0.016155686, 0.008693696, -0.0043319003, -0.012460565, -0.01952793, -0.02805421, -0.034750868, 0.013381356, -0.004161494, 0.051755592, -0.045082852, -0.053094923, -0.003458943, -0.015773019, 0.0132498145, 0.0038236717, -0.022637093, 0.0014305136, 0.015509936, 0.005019503, 0.006092762, 0.021979386, 0.008059905, -0.0027025794, -0.028676042, 0.049268264, -0.009740049, 0.01875064, -0.03032629, 0.010409715, 0.0110913385, -0.015629519, 0.054386422, 0.03011104, -0.016000228, 0.0024828454, -0.013381356, -0.020066055, 0.0031868913, 0.010630943, 0.005402169, 0.021859802, 0.011270713, -0.030876372, 0.02116622, -0.017184101, -0.050177094, 0.016107852, 0.047689766, 0.012107795, -0.021620635, -0.010403736, 0.009716132, -0.0012616024, 0.032263536, -0.0366642, -0.031282954, -0.005420107, -0.020939011, 0.009482944, -0.030421957, -0.0015874665, -0.015043562, 0.020281304, 0.0063259494, 0.0040957234, -0.0047863163, 0.022098968, 0.007222823, 0.0079642385, -0.012448607, 0.009817778, 0.014373897, 0.014541313, 0.038625363, 0.019133305, 0.007958259, 0.010039006, 0.018906098, 0.034009453, -0.002769845, -0.019444222, -0.008771425, -0.018320141, 0.012376857, -0.021859802, 0.010750527, -0.018272307, 0.007796822, -0.039366778, -0.018989807, 0.0078207385, 0.007360344, 0.0177581, -0.010923922, -0.005533711, -0.0477376, -0.025542963, -0.018738681, 0.06620124, -0.015892603, 0.026571378, -0.0033303911, -0.008586071, 0.012119753, -0.0015179588, -0.05491259, 0.01292694, 0.04309777, -0.032000456, -0.008891008, -0.014816354, -0.04070611, -0.023043675, -0.009955298, 0.03998861, 0.01107938, 0.014864187, 0.016143726, 0.0036054323, 0.03678378, -0.006158533, 0.0046637435, 0.021249928, 0.0181886, 0.008843175, -0.004837139, -0.005704117, -0.0008662305, -0.049746595, 0.022672968, -0.016622059, -0.005874523, -0.015928477, -0.00033875668, -0.0035217241, -0.042212855, 0.013381356, 0.027767211, 0.020209555, 0.015175103, 0.011366379, 0.009817778, 0.0023348613, 0.051803425, -0.018152725, 0.005243722, -0.008490404, 0.00026140132, -0.01065486, 0.017495017, 0.020365013, 0.040658277, 0.019731222, 0.0048281704, -0.011545754, 0.05582142, -0.0038685154, 0.00874153, -0.0024394966, 0.014601104, 0.03329195, 0.0060957517, 0.0070434483, 0.027025795, -0.04006036, -0.0024305277, 0.026667045, -0.005838648, -0.045489434, 0.026977962, 0.04481977, -0.019288763, -0.023258924, -0.017219976, 0.024705881, 0.0016980809, 0.021333637, 0.039964695, -0.0051151696, 0.025040714, 0.051612094, 0.007814759, -0.010517339, -0.03357895, -0.024753714, -0.01967143, -0.00018320515, -0.04135186, 0.007934343, -0.03159387, -0.023498092, 0.0050763055, 0.019551847, 0.01725585, 0.039151527, -0.045776434, -0.0036054323, -0.00014527485, -0.004873014, -0.0042601503, 0.009381299, 0.0059133875, -0.0023483143, -0.10752918, -0.010876088, 0.049124762, -0.024024257, 0.0075098225, 0.017423267, 0.043552186, -0.0071989065, 0.0011337978, -0.04608735, 0.01278344, -0.019802973, -0.032120038, 0.001832612, -0.0023677466, -0.014445646, -0.015019645, 0.004837139, -0.024371048, -0.016992768, 0.0068222196, -0.010242298, 0.07782472, 0.024383007, -0.038386196, 0.037166446, -0.0033572973, -0.081699215, -0.0018759609, 0.0104635265, 0.006433574, 0.01384773, 0.021118386, 0.014314105, -0.011306588, -0.026762713, 0.014517396, 0.021608677, 0.004983628, 0.04006036, 0.04589602, -0.079307556, 0.0044215876, -0.04013211, 0.049029097, -0.043360855, -0.016897101, -0.0003878979, -0.010756506, 0.0014379876, -0.02407209, -0.032765787, 0.000047342786, 0.0013221414, -0.012950856, 0.019982347, 0.0046278685, 0.023713341, -0.019982347, -0.017064517, -0.0062541994, -0.0068580946, 0.02996754, -0.020042138, 0.00738426, -0.015007687, -0.015892603, 0.041782357, -0.0052317632, 0.020723762, 0.03054154, -0.03180912, -0.021704344, 0.012024087, 0.0054051587, -0.012639941, -0.014218438, 0.007874551, -0.04522635, -0.016143726, 0.037333865, -0.008346905, -0.03458345, 0.029776208, -0.0048819827, 0.0017922526, 0.021776093, 0.017160185, 0.023246966, 0.0013909016, 0.012053983, 0.022625135, 0.000096787626, 0.026093045, -0.02599738, -0.032287452, 0.00788053, -0.039175443, 0.03130687, 0.021883719, -0.0002698095, 0.011994191, -0.0026786628, -0.010666818, -0.027647628, 0.019802973, 0.0016831331, -0.009512841, 0.0043797335, 0.012161608, 0.00987159, 0.004923837, -0.047354933, 0.01200615, 0.005154034, 0.023701383, -0.026667045, 0.024490632, -0.012400774, -0.02208701, 0.020221513, 0.024383007, 0.03714253, 0.02805421, 0.0019267837, -0.011246797, -0.026069129, 0.017925516, -0.038027447, -0.008418655, 0.02138147, 0.051612094, 0.032143954, 0.031546038, 0.0028969022, 0.016394852, 0.0023811997, -0.0059193666, -0.031928703, -0.004346848, -0.009716132, 0.0041495357, 0.039677694, 0.028963042, -0.04063436, 0.029704457, -0.02392859, -0.023569841, 0.018738681, 0.002372231, -0.013895564, -0.022553384, -0.010326006, -0.01598827, -0.015689312, 0.025160298, 0.05113376, -0.007910426, 0.047139682, 0.037740447, 0.03381812, 0.02848471, -0.024968965, 0.022696884, 0.051851258, -0.019169182, 0.0020254399, 0.012580149, -0.0028102044, 0.007856614, 0.018140765, -0.04006036, -0.0716064, 0.03501395, 0.013752064, 0.007898468, 0.032694038, 0.022708843, -0.028389042, -0.029871874, 0.024705881, -0.008944821, -0.005766898, -0.0135248555, 0.032646205, -0.0020762626, 0.012496441, -0.028149877, 0.010678777, 0.011001651, 0.038505778, -0.00031147676, -0.0022810488, 0.024514548, 0.031737372, -0.004233244, -0.04163886, 0.015354478, -0.000027116417, -0.014816354, -0.0006685446, 0.037549112, -0.012962814, -0.028891291, -0.0075158016, 0.0053453674, 0.018762598, -0.023270883, -0.00291185, -0.0027010846, 0.024729798, 0.0048610554, 0.016741643, -0.0018714765, 0.0047833263, -0.0018266328, 0.009614486, 0.046422184, 0.002088221, 0.012735607, 0.03742953, -0.051181592, 0.006768407, 0.015450145, -0.022421842, -0.022613175, 0.01413473, -0.0052526905, -0.04823985, 0.00011995686, -0.0052317632, 0.006349866, -0.011952337, -0.01370423, -0.01839189, 0.004170463, 0.00016545452, -0.03790786, -0.021261886, -0.029800124, 0.005844627, -0.025758212, 0.0036771824, 0.0024305277, -0.017997267, -0.028556459, 0.015533853, -0.024753714, -0.01611981, -0.006439553, -0.006929844, -0.008478446, 0.020436762, 0.0358032, -0.0042780875, 0.0067205736, -0.013967314, 0.0234383, 0.020903137, 0.014194521, -0.0015089901, -0.014660896, 0.041423608, 0.002209299, 0.013764022, -0.058404416, 0.014672854, 0.039271113, -0.014122771, -0.011491942, 0.0015725186, 0.0108162975, -0.009291612, 0.0059074084, -0.04006036, 0.0039791297, 0.0184756, 0.020197596, 0.01079238, 0.012938898, -0.013572689, -0.012024087, -0.027456295, -0.013357439, 0.02096293, -0.028006377, 0.010642901, -0.022278342, 0.047713682, 0.00039649292, 0.013572689, -0.0069716983, 0.006941803, 0.0015784977, 0.014098855, -0.021883719, -0.017411308, 0.020747678, 0.006349866, -0.007378281, 0.017351517, -0.0017578725, 0.023522008, -0.026021296, 0.01867889, 0.009530778, -0.004589004, 0.016071977, -0.035492282, -0.03649678, 0.053286258, -0.02968054, 0.0332202, 0.05902625, -0.02095097, 0.0049896073, 0.0068580946, 0.049985763, 0.021895677, -0.017495017, -0.018415807, 0.030876372, 0.023916632, -0.01278344, -0.013166106, 0.02223051, 0.027384544, -0.008783383, 0.0066368654, 0.037477363, -0.02819771, 0.026738795, -0.015713228, -0.00046039518, -0.03977336, -0.009572633, -0.019683389, -0.027169295, -0.0077370307, -0.0016891122, 0.026834462, -0.016717726, 0.0060598766, -0.0058834916, -0.019492056, 0.0018550338, 0.023689425, 0.008227321, 0.0015037582, -0.027767211, 0.054386422, 0.0085203005, -0.0054948465, 0.0015037582, 0.01997039, 0.04020386, 0.0031689538, 0.020257387, -0.010947838, 0.005001566, 0.0095606735, 0.010182506, -0.029202208, 0.0037519217, -0.00034081202, 0.0033393598, -0.0022078042, 0.02556688, -0.02345026, 0.021429302, 0.023761174, -0.044078354, -0.0056712315, 0.0075576557, 0.007994135, -0.016897101, 0.0005403664, 0.005213826, -0.03757303, -0.0088670915, -0.006911907, 0.010379818, -0.04596777, -0.0014432193, -0.014158647, 0.012191503, -0.00082362903, 0.015222937, 0.02201526, -0.02010193, -0.0184756, -0.036616366, -0.056299753, 0.024107967, -0.0051390864, -0.002855048, -0.0049746595, 0.00011304346, 0.01015859, 0.0088670915, 0.033842035, 0.013787938, 0.054529924, -0.013955355, 0.0070434483, -0.026236545, 0.02003018, -0.014529354, -0.020604178, 0.006128637, 0.009189966, 0.01810489, -0.026356129, -0.002898397, -0.0068222196, -0.027384544, -0.0060778144, -0.0050733155, -0.0027578867, -0.00065546524, -0.0010172043, 0.018164683, 0.012101816, 0.004134588, -0.007109219, 0.023880757, -0.004541171, 0.030015374, -0.015509936, 0.06165708, -0.015007687, 0.02848471, -0.023187175, 0.016944934, -0.014278229, 0.0044215876, 0.021429302, -0.008047947, 0.002394653, 0.012107795, -0.010989693, 0.045656852, 0.018308183, -0.025232047, -0.016538352, -0.027456295, 0.02067593, -0.011868629, 0.01278344, 0.016131768, -0.029034792, 0.011145151, 0.031928703, 0.028460793, 0.0021539917, 0.013740106, -0.013895564, -0.012089858, 0.043289106, -0.03152212, -0.008873071, 0.00065060717, 0.033961616, 0.007444052, 0.0234383, 0.009506862, -0.0677319, 0.02492113, -0.014314105, 0.035540115, 0.009704174, 0.01875064, -0.020640055, 0.029250043, 0.0023019759, -0.0018654973, -0.018152725, 0.04082569, 0.0010381313, 0.028819542, -0.029345708, 0.007922385, 0.009781903, 0.0067205736, 0.033698536, 0.00874153, 0.0051450655, 0.017626557, -0.008783383, -0.0075755934, -0.030254541, -0.028891291, -0.0135248555, 0.0010127199, -0.011001651, 0.0017503985, -0.023737257, -0.010565173, 0.029991457, 0.017877683, -0.00057661504, 0.024251465, -0.04403052, 0.015378395, 0.011994191, 0.024777632, -0.00404789, -0.028986959, 0.010104777, -0.0014469563, 0.024335174, 0.004947753, 0.0032855475, 0.0352292, 0.011491942, -0.009470986, -0.0042571607, -0.012639941, 0.010361881, -0.0011532301, -0.010128694, 0.0040508797, 0.00045217384, -0.017877683, -0.039390694, -0.023354592, -0.012496441, -0.03771653, -0.024323216, 0.047641933, -0.02102272, -0.009584591, 0.033555035, 0.030015374, 0.01469677, -0.004744462, 0.04352827, -0.0030643186, -0.022983884, -0.020066055, 0.040730026, 0.0014417245, 0.027336711, 0.0019163202, -0.020197596, 0.0034619325, -0.02123797, -0.026212629, 0.017219976, -0.006989636, 0.008538238, -0.0241558, 0.03750128, 0.0017758099, 0.036329366, -0.06113091, 0.0132498145, -0.012012129, -0.02351005, -0.004837139, 0.03168954, -0.018762598, 0.0057639084, 0.009554694, -0.02740846, 0.045776434, 0.032143954, -0.011426171, 0.023761174, 0.010660839, -0.0055307215, 0.0017175132, 0.02208701, -0.005731023, -0.0066667614, 0.004248192, 0.028365126, -0.02024543, 0.0065890322, 0.0477376, 0.015210979, -0.0046487954, -0.0017294715, 0.002031419, 0.00887905, -0.01413473, 0.0014828312, 0.002307955, -0.018224474, 0.015725186, -0.014373897, -0.008466488, -0.0021510022, -0.02208701, 0.00033539342, 0.008992654, 0.011462046, -0.0009118216, -0.0031091622, -0.012568191, -0.026380045, 0.025255963, -0.018834349, -0.015079437, -0.0018834348, 0.0065890322, 0.019133305, -0.0050404305, 0.0030448863, 0.027241044, -0.01051136, -0.0090943, 0.011766983, -0.0154740615, 0.009339445, -0.049124762, 0.02769546, 0.033626784, -0.020927053, -0.02678663, -0.012747565, 0.018224474, 0.03905586, -0.01974318, -0.027456295, 0.00026794104, 0.0007907437, -0.016586185, 0.0034978075, -0.013488981, -0.010415694, -0.01725585, -0.023964467, 0.0025321734, -0.0026188712, 0.017722225, -0.025614714, -0.008574113, -0.0038236717, 0.032478787, 0.0071570524, -0.009249758, 0.017243892, -0.009273674, -0.0016293206, -0.004983628, 0.025279881, 0.007910426, -0.012675815, 0.03197654, -0.02345026, -0.017602641, -0.029178292, -0.00082213426, 0.016526394, 0.04099311, 0.0066727404, 0.008639883, 0.007982176, -0.012592107, 0.008962758, -0.023629634, 0.00060875306, 0.0048610554, -0.016036103, 0.016083935, 0.012257274, -0.0017234923, 0.020687887, 0.027241044, -0.0045800353, -0.027815044, -0.016275268, -0.00767126, 0.021058595, -0.0064515118, -0.018559307, -0.0031211206, -0.0030209697, -0.010326006, 0.0053991796, 0.0067923237, 0.0115816295, -0.0077250726, -0.024466716, 0.023844883, 0.018666932, 0.032694038, 0.003949234, -0.02819771, -0.023593757, 0.0032436934, 0.01570127, -0.034344286, 0.00044021552, 0.00023972687, 0.013429189, -0.006565116, 0.0174711, -0.007288594, 0.00873555, 0.015509936, -0.030350206, -0.018511474, 0.041256193, -0.010786401, 0.0078087808, -0.0227208, -0.026260464, -0.00015377648, 0.0003718289, -0.0008288608, 0.0040359315, 0.017172143, -0.0025844912, 0.008908946, -0.015653435, -0.0002363636, 0.013118273, -0.028795626, 0.021465179, 0.03855361, -0.015462103, 0.0025471214, 0.03097204, 0.0026293348, -0.0049746595, -0.046470016, 0.026738795, -0.008711633, 0.03097204, -0.023617676, -0.0052646487, -0.018726723, 0.018810432, -0.0028176783, -0.010529297, 0.011402255, 0.0023273872 ]
2401.09350
192
|. Using the 2-stability of α, Event A is equivalent to ∥u − v∥2|Z| < r, where Z is drawn from D2. The probability of the complement of Event B is simply the ratio between ⟨α, u − v⟩ and r. Putting all that together, we obtain that: P [ha,a(u) = he,alv)| = re f(A - sea whe) ge 2=0 r " 1 t t i fl (1 at, t=0 |lu— vo" ‘|lu— Ilo r where we derived the last equality by the variable change t = z∥u − v∥2. Therefore, if ∥u − v∥ ≤ x: P [ha,s(u) = ha,s(v)] >/ =A (1- “Yat = pix). t=0 © It is easy to complete the proof from here. # 5.3.4 Inner Product Many of the arguments that establish the existence of an LHS family for a distance function of interest rely on triangle inequality. Inner product as a measure of similarity, however, does not enjoy that property. As such, devel- oping an LSH family for inner product requires that we somehow transform the problem from MIPS to NN search or MCS search, as was the case in Chapter 4.
2401.09350#192
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 192, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "|.\nUsing the 2-stability of α, Event A is equivalent to ∥u − v∥2|Z| < r, where Z is drawn from D2. The probability of the complement of Event B is simply the ratio between ⟨α, u − v⟩ and r. Putting all that together, we obtain that:\nP [ha,a(u) = he,alv)| = re f(A - sea whe) ge 2=0 r \" 1 t t i fl (1 at, t=0 |lu— vo\" ‘|lu— Ilo r\nwhere we derived the last equality by the variable change t = z∥u − v∥2. Therefore, if ∥u − v∥ ≤ x:\nP [ha,s(u) = ha,s(v)] >/ =A (1- “Yat = pix). t=0 ©\nIt is easy to complete the proof from here.\n# 5.3.4 Inner Product\nMany of the arguments that establish the existence of an LHS family for a distance function of interest rely on triangle inequality. Inner product as a measure of similarity, however, does not enjoy that property. As such, devel- oping an LSH family for inner product requires that we somehow transform the problem from MIPS to NN search or MCS search, as was the case in Chapter 4.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.000112049, -0.03398848, 0.04010424, 0.0221764, 0.020891007, -0.02707442, 0.022879982, 0.021702833, -0.0056185173, 0.043297425, 0.014531698, -0.0363969, -0.02611376, 0.022352295, -0.006734779, 0.007861189, 0.013280132, -0.024638942, -0.035206217, 0.028711604, 0.023867706, 0.016493613, 0.009789277, 0.010262842, 0.04018542, -0.0327978, 0.06056227, -0.033799052, 0.060021054, -0.04191732, 0.014937611, -0.02646555, 0.03187773, -0.0030308198, -0.014558759, 0.094767235, -0.008280632, 0.050901536, 0.017251318, 0.02526134, -0.04067252, 0.025910802, -0.037858184, -0.05441945, -0.017724883, 0.032960165, 0.011473818, -0.0030020676, -0.022041095, -0.0076447013, -0.00379529, 0.0057132305, 0.018942622, -0.013117767, 0.014612881, -0.0057132305, 0.01790078, 0.026546733, 0.03493561, -0.001953458, 0.009227764, -0.012968931, -0.005561013, 0.006396518, -0.031985972, 0.000014455378, -0.0071576056, 0.028035082, 0.02582962, 0.023461793, -0.041159615, -0.00044904166, 0.049359065, 0.016940117, 0.019727388, 0.009687799, 0.0015390881, 0.024476575, 0.016344778, 0.01914558, 0.051415693, -0.0018519796, 0.046409428, 0.010682287, 0.010215486, -0.03858883, -0.037316967, -0.0043838643, -0.10007117, -0.022771738, -0.018915562, 0.028413935, 0.027196195, -0.033339016, 0.055583067, -0.014179907, 0.045191687, -0.018604362, -0.008733902, -0.013591332, -0.031823605, -0.03185067, 0.027209725, -0.029252822, 0.06072464, 0.034232028, 0.011764722, 0.031147085, -0.044488102, 0.003585568, -0.016872466, 0.03187773, -0.039184168, 0.056340773, -0.0033724634, -0.024571288, -0.015884742, -0.011575296, 0.00039491986, 0.02645202, -0.034800306, -0.023935357, 0.045137566, -0.022677027, 0.070412435, -0.04164671, -0.0040253075, -0.06229417, 0.005256578, -0.02398948, 0.023245305, 0.029306944, -0.037506394, -0.003707342, -0.023299426, 0.034502637, 0.025937863, -0.005040091, 0.030524684, 0.051334508, 0.0018688927, 0.00115939, -0.0057741175, 0.0170213, -0.0101072425, 0.041998502, -0.053634685, 0.021066902, 0.035666253, 0.0025860064, 0.0035889505, -0.043378606, -0.003923829, -0.002389815, -0.018861441, -0.039400656, -0.01246154, 0.0027043978, 0.0134289665, -0.029821102, 0.020755703, 0.009281886, 0.014085193, 0.02612729, 0.0053749694, 0.011818844, -0.010066651, -0.03856177, -0.056340773, -0.04681534, -0.022379356, -0.03036232, -0.03036232, -0.0073335012, 0.027493864, -0.035341524, -0.0112911565, -0.051334508, -0.014031071, -0.017481335, -0.015627664, 0.03434027, 0.0012676336, -0.06359309, 0.006873466, 0.061861195, 0.013489854, 0.0016676274, 0.010587573, -0.03428615, -0.005290404, 0.061536465, 0.0005517885, 0.031715363, 0.028197447, -0.03607217, 0.040564276, 0.050225012, -0.0023542976, 0.021188676, 0.024720123, -0.006037961, 0.03011877, -0.02739915, -0.013442498, -0.0045293164, 0.024395393, 0.03463794, -0.04586821, 0.023813583, -0.033799052, -0.018563772, 0.04102431, 0.008388876, 0.014139315, 0.0055407174, -0.045110505, 0.043080937, -0.037316967, 0.0583974, -0.027764473, 0.032418948, 0.030199954, 0.013023053, -0.067002766, 0.014085193, 0.058559768, -0.07311852, 0.04015836, -0.014802307, 0.030849416, 0.041267857, -0.029550493, -0.04018542, 0.022974696, -0.0058350046, -0.049359065, -0.03398848, -0.05861389, -0.044921078, -0.020255076, 0.016953647, 0.03041644, 0.025572542, 0.010675522, 0.023312956, 0.009254824, 0.0365322, 0.022609374, -0.03287898, -0.03401554, 0.014031071, -0.0047288905, -0.028765727, -0.045435235, 0.0069140573, -0.030308196, 0.0028836762, 0.008226511, -0.02005212, -0.03228364, -0.019835632, -0.02036332, -0.010235782, 0.01581709, -0.012664497, 0.036342777, 0.020458033, 0.0032016416, -0.004228264, -0.014031071, 0.038182918, -0.026709098, 0.012894514, -0.030497624, -0.028386874, -0.0027957282, 0.027899778, 0.005703083, 0.021391634, -0.02949637, -0.007326736, 0.010053121, 0.0038798552, 0.05828916, 0.006163118, -0.023772992, 0.0040117768, -0.049629673, -0.01730544, 0.03837234, -0.035233278, 0.008875972, -0.0030781762, 0.008240041, 0.0015297859, -0.006934353, -0.027737413, -0.013483088, 0.019795042, 0.044894017, 0.021648712, 0.0285763, -0.0032523808, -0.049034335, 0.012725384, 0.04649061, 0.010844652, 0.019375598, 0.02223052, 0.02554548, 0.035963923, -0.03406966, 0.010567278, -0.06570384, -0.04015836, 0.013388376, -0.002213919, -0.03158006, -0.013787524, 0.012535958, -0.031282388, 0.043432727, -0.046409428, 0.030308196, 0.014477576, -0.021107495, -0.012387123, -0.01823904, -0.0485743, 0.02159459, -0.031688303, -0.011412931, -0.0015289403, -0.011223504, -0.011406166, 0.022947636, 0.06776047, -0.036613386, 0.004840517, 0.0023830496, -0.03804761, -0.000013860778, 0.028846908, 0.004786395, 0.016642448, 0.018482588, -0.003298046, 0.0012794727, 0.04862842, -0.05165924, -0.033826113, -0.0020160363, 0.013489854, 0.020485094, -0.0034215113, 0.01001253, -0.08156152, -0.016480083, 0.03853471, 0.00049808953, -0.017603109, -0.00036278507, 0.0025944628, -0.0443528, 0.033826113, -0.0030020676, 0.0034147461, -0.00895039, -0.03158006, 0.0051821605, 0.038128793, -0.021770487, 0.026073167, -0.022974696, 0.007232023, 0.028765727, 0.028549239, 0.023312956, 0.047004767, -0.009451016, 0.0049047866, -0.039725386, -0.031769484, 0.03463794, 0.0035043852, -0.0064777005, -0.012265349, -0.039481837, -0.024070662, 0.047031827, -0.02706089, -0.039535962, 0.037858184, -0.04105137, -0.05506891, 0.06018342, 0.036288653, 0.033826113, 0.008605363, -0.031282388, -0.04069958, -0.032364823, -0.051713362, -0.013334254, 0.014504638, -0.0026705717, 0.040266603, -0.0073740925, 0.058776252, -0.0124141835, 0.01792784, 0.033501383, -0.029117517, 0.028359814, 0.029388126, 0.05682787, 0.029550493, 0.035612132, 0.028603362, 0.03469206, 0.0017555753, -0.00004814936, -0.019050866, -0.0004065476, -0.013909298, 0.032094214, 0.014639942, 0.014612881, -0.057531454, 0.0024743802, 0.0227988, 0.014315211, 0.004471812, -0.03674869, -0.02462541, 0.02033626, 0.029766979, -0.051415693, -0.03369081, 0.0060176654, 0.024070662, -0.038507648, -0.051145084, -0.010804061, -0.0025031324, -0.009356303, -0.022690557, -0.012096218, 0.028657483, -0.02095866, 0.0020989103, 0.018658483, 0.018631423, -0.026817342, -0.014707594, 0.03260837, -0.011622652, 0.008104737, 0.030957658, -0.03498973, 0.040943127, -0.011595592, 0.011264096, 0.0052768737, 0.018144326, 0.03677575, -0.040889006, 0.0036667506, -0.0077867713, -0.00402869, -0.052146334, 0.07014183, -0.05379705, -0.023664748, 0.03710048, 0.027642699, -0.047248315, 0.044569287, -0.00090569415, 0.021986973, -0.03011877, -0.014626411, 0.020241546, -0.010465799, 0.08589127, 0.04289151, 0.012583314, -0.025328994, -0.022095216, -0.053905293, -0.057098478, 0.040943127, -0.014734655, 0.00927512, 0.025396645, 0.037371088, 0.019551493, 0.02917164, 0.031092962, 0.021175146, -0.007813832, -0.037885245, 0.057423208, 0.0321754, 0.0071846666, 0.022135809, -0.0688429, -0.028657483, 0.042106744, 0.02309647, 0.00911952, -0.003088324, 0.010587573, 0.014166376, 0.0016261904, -0.0056354306, 0.0146670025, -0.018482588, -0.001897645, 0.028522179, -0.00024037682, -0.019646207, -0.01913205, 0.008436233, -0.043216243, -0.02827863, -0.061915316, -0.0437304, -0.066894524, 0.034773245, 0.013909298, -0.02428715, 0.045705844, -0.009045103, 0.0018824232, -0.004525934, -0.02822451, 0.041376103, 0.007664997, -0.0030781762, 0.009342772, 0.03250013, 0.019091459, 0.007942371, -0.013280132, 0.025680784, 0.017792536, 0.027899778, -0.013625158, 0.015248812, -0.011703835, -0.0046680034, 0.0077394145, -0.005080682, -0.0017877101, 0.012387123, 0.024273619, -0.032716617, 0.0034942375, -0.028035082, -0.010249312, -0.007922076, 0.007780006, -0.03369081, 0.04107843, 0.022365825, 0.00212428, 0.020782763, 0.034800306, -0.025342524, -0.020918068, 0.015424708, 0.015979456, -0.0026993237, -0.026993237, 0.0009048485, -0.011670009, 0.011412931, 0.018523179, -0.013327489, -0.026411429, -0.026208472, 0.0016397209, -0.011081435, -0.0018435231, 0.004062516, 0.013577802, -0.0024523933, 0.03796643, 0.019199701, -0.02739915, -0.0060717873, 0.0022274496, -0.02131045, -0.008483589, -0.000723456, 0.010695817, -0.030632928, -0.015600603, 0.010844652, -0.0024084193, 0.041863196, -0.02551842, -0.0080776755, -0.019240294, 0.01700777, 0.0033961418, -0.015018794, 0.00623077, 0.015397646, 0.01459935, 0.0076447013, -0.01107467, -0.01003959, 0.00046003514, 0.010587573, -0.018333754, 0.03891356, -0.029415188, -0.024706593, 0.013922828, 0.023786522, 0.03185067, 0.019253824, 0.031282388, 0.0142746195, -0.009126285, -0.0038054376, -0.04437986, -0.037398152, 0.003164433, 0.016331248, -0.029577553, 0.019835632, 0.03861589, -0.0041470816, 0.023678279, 0.0068531707, -0.02614082, 0.024381863, 0.06380958, 0.025491359, -0.043459788, -0.02159459, 0.007861189, -0.02403007, 0.019064397, -0.009511903, -0.0018080057, -0.018009022, -0.014694063, 0.047221255, -0.018428465, 0.007211727, -0.022704087, 0.0063457787, 0.0071914317, 0.033880234, -0.020904537, 0.0063390136, -0.0021158233, 0.00031162307, -0.019226763, 0.018902032, 0.0044346033, 0.017224256, 0.020999251, 0.026952647, 0.0054798303, 0.025991986, 0.045083445, 0.04281033, -0.023299426, -0.033528443, -0.023502383, -0.04410925, -0.006900527, -0.037804063, -0.016710099, -0.0002720888, 0.0032185547, -0.0363969, -0.009051868, -0.011981209, 0.02553195, 0.0038257334, -0.009843399, -0.021824608, -0.00867978, -0.03436733, 0.016047107, 0.02642496, -0.006788901, 0.038101733, -0.0054020304, -0.022717617, 0.017779006, 0.0041538468, -0.03837234, -0.0036227766, 0.013185419, 0.0018198448, -0.026884995, -0.06353897, -0.049521428, -0.011108495, -0.018563772, 0.05655726, -0.005594839, 0.023475323, -0.0020718493, 0.0058079436, 0.005195691, -0.00599737, -0.011609122, 0.055177156, 0.0056354306, -0.021202207, -0.014355802, -0.01944325, 0.017670762, -0.06732749, 0.032635435, -0.010316964, -0.008781259, -0.050008524, 0.012400653, -0.0032354677, -0.03618041, 0.0005446004, 0.03214834, 0.026830873, 0.00448196, 0.03011877, 0.009200702, -0.015072916, 0.029063396, -0.04619294, -0.0110679045, 0.021486348, -0.008625659, -0.022379356, 0.053986475, -0.0170213, 0.02400301, 0.025356054, 0.0044244556, 0.023651218, 0.0498191, -0.012576548, 0.012820097, -0.013219245, 0.0075026317, 0.0068430225, 0.0004431221, -0.02306941, 0.0073064403, 0.015127038, -0.002545415, 0.024503635, -0.002606302, -0.022568783, -0.0016997622, 0.040023055, -0.011385869, -0.0031999503, -0.03555801, 0.051009778, 0.010580808, 0.001427462, 0.0013936359, -0.009708094, 0.02612729, 0.021919321, -0.015519421, -0.03436733, -0.029442249, -0.0012515662, -0.04773541, -0.028143326, 0.00059449393, -0.008571537, -0.006680657, -0.0028921326, -0.015573543, 0.013253071, -0.008903033, 0.0077394145, -0.04465047, -0.006741544, 0.0058417697, 0.0020160363, -0.0092615895, -0.016304186, 0.0042417943, -0.008422703, -0.10093712, 0.00066848856, 0.034204964, -0.017670762, 0.01169707, 0.018063145, 0.024178905, -0.016872466, 0.011920322, -0.01642596, 0.024070662, -0.015370586, -0.030768232, -0.006054874, -0.0039542727, -0.00896392, 0.029334005, 0.0062578307, 0.019280884, -0.014234028, 0.009566025, -0.006646831, 0.034150843, 0.014044602, -0.018184919, 0.032364823, 0.0031576676, -0.0073064403, -0.009904286, 0.014842899, 0.012238287, 0.0014925773, 0.0045293164, 0.024950141, -0.013422201, -0.03312253, 0.008382111, 0.03222952, -0.026709098, 0.020931598, 0.03434027, -0.05471712, 0.0027585195, -0.057369087, 0.029956406, -0.06721925, -0.026019046, -0.0077055884, 0.0291987, 0.0045360816, -0.034746185, -0.016872466, 0.0327978, 0.0058857435, -0.030470563, 0.015735907, -0.012420949, -0.0040760464, -0.030741172, 0.004008394, -0.027764473, 0.014342272, 0.029550493, -0.013158358, -0.015884742, -0.016642448, -0.035612132, 0.04440692, -0.012130044, 0.0039644204, 0.016047107, 0.034475572, -0.019984467, 0.031336512, 0.034665, 0.007813832, -0.01827963, 0.023894766, -0.024774246, 0.011081435, 0.041484345, -0.00501303, -0.006136057, 0.03618041, -0.0062510655, -0.0035077678, 0.013584567, -0.010316964, -0.0035720374, 0.009944878, 0.017684292, 0.020228015, 0.026357308, 0.014071663, 0.0015796794, -0.015654726, -0.002579241, -0.047464803, 0.018739667, 0.01259008, 0.01200827, 0.035422705, 0.016020047, -0.033366077, -0.030605868, -0.0038866203, 0.029794041, -0.023001757, 0.018414935, 0.04646355, 0.021675773, -0.031661242, -0.049359065, -0.01910499, -0.0008295854, 0.034908548, 0.019362068, 0.015424708, 0.005046856, -0.0045462297, -0.005462917, 0.0016752383, 0.0074214493, 0.018117266, 0.013131297, -0.02305588, -0.01614182, 0.023678279, -0.042729147, -0.0004179639, 0.0052599604, 0.027696822, -0.0006460788, -0.0091465805, -0.007935606, 0.021648712, -0.0056219, -0.009924581, -0.017792536, 0.016277125, 0.021459285, 0.037154604, 0.016655978, 0.0070696576, -0.05268755, 0.033636685, -0.043811582, 0.0018638188, -0.029117517, -0.0020177276, 0.01154147, -0.0041132555, -0.010344026, 0.0024219498, -0.00819945, 0.026898526, 0.04010424, -0.021553999, 0.01352368, 0.0498191, -0.0030832503, 0.010229017, -0.010086947, 0.007083188, 0.039427716, 0.01911852, -0.02339414, 0.007651467, -0.005743674, 0.01199474, 0.0028244804, -0.024233026, -0.02614082, -0.0018418318, 0.010587573, -0.015884742, 0.030876476, 0.02187873, -0.02616788, -0.014856429, 0.029442249, -0.017264849, -0.037560515, 0.0212428, 0.039454777, 0.004001629, 0.025883742, -0.026208472, 0.04099725, 0.020309199, -0.007813832, 0.018753197, -0.009687799, 0.035016794, 0.009464546, 0.045245808, -0.022122277, 0.014125785, -0.020891007, -0.041159615, -0.011778252, 0.043622155, 0.01579003, -0.015424708, -0.009505138, 0.014206967, -0.01945678, -0.013848411, 0.017129544, 0.00045707534, 0.018157857, 0.007110249, 0.004437986, 0.008368581, 0.033311956, 0.011622652, 0.041809075, 0.006795666, 0.009735155, -0.023935357, -0.0012574857, -0.040591337, -0.028116265, 0.030903537, -0.025112506, -0.005212604, -0.0022595844, -0.009051868, -0.016872466, 0.0046578557, 0.0002769513, 0.033366077, -0.008903033, -0.019565023, -0.024205966, 0.011318217, 0.006274744, -0.014991733, -0.010574043, 0.015871212, 0.009315711, -0.028440995, -0.011588826, -0.006579179, -0.023312956, -0.02555901, 0.037235785, 0.01763017, 0.0097689815, 0.0037580812, 0.0031948762, 0.023488853, 0.0363969, 0.015478829, -0.036911055, 0.0049047866, -0.027115012, 0.04107843, 0.02033626, -0.013117767, 0.0011154161, 0.026546733, 0.030903537, 0.019267354, -0.010560513, -0.010519921, 0.03461088, 0.015830621, 0.008774494, 0.010093712, -0.0020447886, 0.001181377, 0.01612829, 0.023854176, 0.0071508405, 0.005378352, 0.019267354, 0.03620747, 0.0037919073, -0.015519421, -0.012272114, -0.023894766, -0.013401906, 0.0011551618, 0.021472817, -0.008815085, 0.014450516, -0.013530445, 0.02554548, -0.0047119777, 0.0039847163, 0.005604987, 0.02611376, 0.011730896, 0.0091465805, -0.028062142, -0.0037614638, 0.018902032, 0.012793036, 0.0001488349, -0.009653972, 0.012826862, 0.04224205, -0.03642396, 0.019375598, 0.0067922836, -0.028197447, 0.0032777502, -0.044163372, -0.023583567, 0.034827366, -0.024151845, 0.021770487, 0.03496267, -0.018293161, 0.019700328, -0.018766727, 0.017819596, 0.0029124282, -0.026330246, -0.015438238, 0.029848162, 0.017427213, 0.011385869, -0.007211727, 0.0036701332, 0.029388126, -0.011223504, 0.008693311, 0.016385369, -0.016804812, 0.043892764, 0.022704087, -0.0051753954, -0.053932354, 0.0063254833, -0.005811326, -0.03401554, -0.03428615, -0.0026079933, 0.008233276, -0.021689303, 0.033339016, -0.005882361, -0.037316967, 0.027304439, 0.002141193, 0.014139315, -0.0029631674, -0.028495118, 0.053688806, -0.0034874722, -0.0022646582, -0.0060684048, 0.0016354925, 0.037181664, 0.00065284397, -0.00012050553, -0.0070493617, -0.012278879, -0.009126285, 0.02642496, -0.01550589, -0.0024473192, -0.008544476, 0.026343776, -0.0037648464, 0.018455528, -0.017643701, 0.013456028, 0.023312956, -0.03685693, -0.002816024, 0.015370586, 0.010519921, -0.022027565, 0.0035246809, 0.03071411, -0.003917064, -0.0018232275, -0.015127038, 0.0047999253, -0.0135980975, 0.03458382, -0.027277377, 0.030470563, 0.009870459, 0.0009944877, -0.000006319273, -0.031552996, 0.014193437, -0.023542974, -0.053526442, 0.006734779, 0.021080434, -0.0365322, 0.008327989, 0.023691809, 0.025613133, -0.020823356, -0.010675522, 0.010702582, 0.040591337, -0.0071576056, -0.0050671515, -0.010147834, 0.039319474, -0.018753197, -0.027507395, -0.012217992, -0.026019046, 0.025098976, -0.03425909, -0.0036532201, -0.027926838, -0.012353296, -0.017278379, 0.03439439, -0.03829116, 0.013719872, 0.009220999, 0.013530445, 0.027588578, -0.017833127, -0.006585944, 0.020660989, -0.012705088, 0.024720123, -0.031147085, 0.012265349, -0.0029580935, 0.026844403, -0.013374845, -0.010384616, -0.01049286, -0.0224876, 0.02398948, 0.0083076935, -0.013131297, -0.0027416064, -0.030010527, 0.04529993, 0.05677375, -0.012874219, 0.013855176, -0.008801554, -0.00037039592, -0.006707718, 0.020566277, 0.011575296, -0.035585072, 0.018414935, 0.028711604, 0.018726137, 0.004847282, -0.0067246314, -0.03891356, 0.0110611385, 0.033068407, -0.0063660746, -0.0018080057, 0.01580356, 0.065487355, 0.0017978579, -0.0009336007, 0.042025562, -0.054879487, 0.0016067404, -0.018644953, -0.023461793, 0.005743674, 0.0012346532, -0.005709848, 0.051550996, -0.013104236, 0.020593338, -0.01579003, 0.031228267, 0.030578805, 0.04226911, -0.04281033, 0.0013691119, 0.002075232, -0.009444251, 0.023718871, 0.020214485, -0.0011932162, -0.03036232, -0.012901279, -0.007631171, -0.007976198, -0.020863947, -0.027588578, -0.019199701, -0.015235282, 0.0011957531, 0.0002080306, 0.035341524, 0.027290909, -0.026939116, -0.03255425, 0.0027940369, -0.027845656, 0.01643949, -0.0027466803, 0.008686546, -0.010607869, -0.013036584, 0.00774618, 0.01016813, 0.03823704, 0.016466552, 0.0107837645, 0.008382111, 0.04987322, -0.01321248, -0.0048844907, -0.020200955, -0.0060785525, -0.032040093, -0.02830569, -0.003480707, 0.039617144, -0.016588327, -0.02125633, -0.02643849, -0.024693063, -0.024260089, -0.000060569884, 0.019023806, -0.027236786, -0.041159615, 0.0010959661, 0.007962667, 0.012075922, -0.047518924, 0.038724136, -0.0010020986, 0.0010697509, -0.009816338, 0.041754954, -0.0008820159, 0.0074823364, -0.007962667, -0.010905539, 0.010898774, -0.039860692, -0.029388126, 0.040266603, -0.0077867713, 0.010296669, -0.015018794, -0.008828616, 0.010878478, 0.025951393, -0.04286445, 0.017697822, 0.020660989, -0.009917816, 0.01614182, 0.0234212, -0.021039842, -0.023285896, 0.011927088, -0.0182661, 0.016250065, 0.012285644, -0.008625659, 0.018184919, -0.010919069, -0.004421073, -0.0037479333, -0.000017137683, -0.024246559, -0.025856681, 0.0035449767, 0.039292414, -0.036342777, 0.013320724, 0.03980657, -0.018874971, -0.025477828, -0.023367079, 0.00041923238, 0.030849416, 0.020674521, -0.02434127, 0.011237035, -0.025978455, 0.0437304, 0.022555253, -0.0028143325, 0.025883742, -0.007570284, -0.0076785274, 0.014788777, 0.017981961, 0.017061891, -0.014031071, -0.038778257, -0.012725384, 0.020633928, -0.007110249, -0.011555, 0.03158006, -0.009207468, 0.013746932, -0.01094613, 0.01911852, 0.038074672, -0.013320724, 0.016872466, 0.009796042, -0.00076489296, 0.0182661, -0.0056455783, -0.023312956, 0.046707097, -0.025369585, -0.019970937, -0.0019839015, 0.013368079, -0.0091465805, -0.0021006016, -0.018969685, -0.024557758, -0.025626663, -0.0008397332, -0.000070876275, -0.007922076, 0.0025555629, 0.0053614387, -0.011047608, -0.0018502884, 0.006805814, 0.011304687, -0.014112255, 0.0032219372, 0.022934105, 0.02311, -0.012109748, -0.005723378, -0.006369457, -0.006203709, -0.0024845279, -0.023881236, -0.002218993, -0.0066874223, 0.019659737, 0.02647908, -0.012130044, 0.037208725, 0.0033437111, 0.029983466, 0.0075838147, 0.051605117, -0.011866201, 0.020633928, 0.007658232, 0.010594338, 0.02830569, -0.0011492422, -0.0037344028, -0.010289904, -0.0132598365, -0.0023492235, 0.0015027251, -0.008598598, 0.0028210978, 0.046652976, -0.015397646, -0.026262594, 0.001663399, -0.005760587, 0.014978203, -0.010256077, 0.0071237795, -0.002528502, 0.0021716366, 0.02647908, 0.0075296927, 0.015573543, 0.030930597, 0.028928092, -0.017427213, 0.010851417, 0.01522175, -0.0013132988, -0.004786395, -0.031742424, 0.0035788028, 0.012684792, 0.011561765, -0.025775498, -0.016642448, -0.0014942685, 0.02615435, -0.01156853, -0.014436985, -0.0039813337, 0.0107837645, 0.021337513, -0.044190433, -0.020769233, 0.004864195, -0.016940117, 0.0010807443, -0.06364721, -0.03434027, -0.017075421, -0.05295816, 0.007265849, 0.0068362574, 0.028928092, -0.022582313, 0.015749438, -0.0321754, 0.00048117645, -0.0047728647, -0.03193185, 0.020228015, 0.04005012, 0.000954742, 0.0077394145, -0.04824957, -0.032635435, -0.009295416, 0.013611628, -0.00091837894, -0.03287898, 0.018387875, -0.018469058, 0.013645454, -0.01911852, 0.03398848, 0.013111001, 0.016655978, -0.01199474, -0.0019636059 ]
2401.09350
193
Finding the right transformation that results in improved hash quality—as determined by ρ—is the question that has been explored by several works in the past [Neyshabur and Srebro, 2015, Shrivastava and Li, 2015, 2014, Yan et al., 2018]. Let us present a simple example. Note that, we may safely assume that queries are unit vectors (i.e., q ∈ Sd−1), because the norm of the query does not change the outcome of MIPS. Now, define the transformation ¢g : R¢ + R¢*", first considered by Bachrach et al. [2014], as follows: ga(u) = [u, \/1 — |lul|3]. Apply this transformation to data points in ¥. Clearly, ||¢a(u)||2 = 1 for all u € 4X. Separately, pad the query points with a single 0: ¢,(v) = [v;0] € R41. ⊓⊔ References
2401.09350#193
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 193, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Finding the right transformation that results in improved hash quality—as determined by ρ—is the question that has been explored by several works in the past [Neyshabur and Srebro, 2015, Shrivastava and Li, 2015, 2014, Yan et al., 2018].\nLet us present a simple example. Note that, we may safely assume that queries are unit vectors (i.e., q ∈ Sd−1), because the norm of the query does not change the outcome of MIPS.\nNow, define the transformation ¢g : R¢ + R¢*\", first considered by Bachrach et al. [2014], as follows: ga(u) = [u, \\/1 — |lul|3]. Apply this transformation to data points in ¥. Clearly, ||¢a(u)||2 = 1 for all u € 4X. Separately, pad the query points with a single 0: ¢,(v) = [v;0] € R41.\n⊓⊔\nReferences", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.010333278, 0.009552275, 0.04782145, 0.027368503, -0.007723258, -0.08838023, -0.01614074, 0.0005849183, -0.031507153, -0.003674722, 0.01994563, 0.0076898816, -0.06899533, 0.009939439, 0.009612352, 0.023977477, 0.048275366, -0.06915553, -0.021267328, 0.017983109, -0.010079619, 0.005363559, 0.02865015, 0.02105372, 0.011154333, -0.00793019, 0.00006299762, -0.007022357, 0.046886917, -0.029077364, -0.011134308, -0.01995898, 0.0015136116, -0.053989377, -0.031133339, 0.037247863, -0.033936944, 0.046593204, -0.0043222206, 0.011000803, 0.016581306, 0.04589898, -0.01833022, -0.00019222617, 0.024458095, -0.0078968145, 0.0057106717, -0.02102702, -0.02377722, 0.012796444, 0.019865528, 0.031053238, -0.018156664, 0.0022312005, 0.012529434, -0.002942114, 0.006111186, -0.023323303, 0.0038215774, 0.0050030956, -0.032975707, -0.056392465, -0.021507638, 0.045418363, 0.011174359, 0.010740468, -0.036179826, 0.006545077, 0.010146371, 0.022709182, -0.01202879, 0.06402894, 0.06947594, 0.0042621437, -0.004312208, -0.00013110598, -0.01586038, 0.06296091, 0.045712072, 0.037541576, 0.0019641907, -0.03441756, 0.022428822, 0.00023634537, -0.0045725424, 0.0048896163, -0.02814283, -0.038956728, -0.060023796, -0.01503265, 0.009392069, 0.027635511, -0.004612594, 0.007883464, -0.011541498, -0.0011890279, 0.05350876, 0.05385587, -0.0036413458, -0.013457293, 0.0044490504, -0.0355657, 0.0846955, -0.020039083, 0.070276976, -0.037915386, 0.014044714, 0.0032425, -0.02213511, 0.01857053, 0.0052534174, -0.038903326, -0.031694062, 0.0050765234, -0.0060310834, -0.017155377, -0.04344249, -0.03631333, 0.011755105, -0.007643155, -0.04288177, -0.017836252, 0.027742315, -0.022001605, -0.011828533, -0.015526619, 0.030412413, -0.08170499, -0.0068154247, -0.011047529, 0.025219074, 0.02128068, 0.029985197, -0.013590798, 0.002429789, -0.014698888, -0.03305581, 0.029584683, 0.0010847272, 0.0150994025, -0.0009286934, 0.0017722774, -0.040078167, -0.007015682, -0.021120474, 0.0069222283, -0.05548463, 0.042961873, 0.022629078, 0.03690075, -0.025472732, -0.0437362, -0.031026537, 0.016020587, -0.007069084, 0.0060043824, -0.0057273596, 0.015980534, -0.014351775, -0.039517447, -0.013951261, -0.010647015, 0.021147175, -0.0041987286, 0.048221964, -0.023576964, -0.012382578, -0.017168729, -0.04891619, -0.07059739, -0.027395204, -0.07588418, -0.03882322, -0.026554123, 0.024164384, -0.023870673, -0.029050663, -0.069208935, -0.017128676, -0.021507638, -0.0056138807, 0.049877428, 0.010713767, -0.0057106717, 0.037835285, 0.034524363, -0.008504261, 0.047794748, -0.004849565, 0.0008481732, -0.0464597, 0.0684079, 0.020853464, 0.010566912, 0.01858388, -0.0070357076, 0.03601962, -0.004011822, 0.040532082, 0.0327621, 0.026927935, 0.012996701, 0.022255264, -0.029824993, -0.06087823, -0.042534657, 0.047180627, -0.026033454, -0.03439086, 0.015259609, -0.019892229, 0.021120474, 0.0059576556, 0.002569969, 0.018129963, 0.025352579, -0.0039951336, 0.031427052, -0.0019992357, 0.006942254, -0.0437095, 0.019745372, 0.036206525, 0.015379763, -0.053642265, 0.04039858, 0.02484526, -0.04835547, 0.036526937, -0.029077364, 0.0112811625, -0.0019892228, -0.005920942, -0.020920215, -0.010466783, -0.008804647, -0.000096008785, -0.00331259, -0.041039404, -0.025459383, -0.038182396, -0.015793629, -0.0019942292, -0.0056138807, -0.022495573, 0.031880967, -0.026794432, 0.011568199, 0.056712877, 0.034844775, -0.08789962, 0.015887082, -0.026340514, -0.028943859, -0.031560555, -0.028222933, -0.026126906, 0.024992116, -0.024778508, -0.0014543688, 0.014832393, -0.022575676, -0.029718189, 0.0022044994, -0.024805209, 0.022882737, -0.03361653, 0.0024531523, -0.035619102, -0.009131734, 0.0070891096, 0.03604632, 0.0011272819, -0.00077265955, -0.013737652, -0.029638086, -0.00331259, 0.026367215, -0.01913125, 0.013497344, -0.043762904, -0.044403724, 0.036820646, 0.019091198, 0.018663984, -0.016487854, -0.022802634, -0.0026617537, -0.036179826, -0.065363996, 0.047874853, -0.014271673, 0.007189238, -0.015726876, -0.024898661, 0.0464063, -0.0036146448, 0.009845985, -0.0047928253, -0.035966218, 0.032949004, 0.034257352, 0.006818762, 0.014218271, -0.045231454, 0.022882737, 0.03989126, -0.023550263, 0.019745372, 0.055057414, 0.04320218, 0.028249634, -0.017409038, 0.02375052, -0.024952063, -0.02296284, 0.03655364, -0.02347016, 0.0010697079, -0.016554605, 0.0063648457, -0.074121915, -0.009465496, -0.04047868, 0.010133021, 0.031346947, -0.032121275, -0.0076298043, -0.026914585, -0.049530312, 0.049316704, -0.02405758, 0.02322985, 0.005767411, -0.06381533, -0.010299902, -0.038182396, 0.03468457, 0.014231621, -0.010813896, -0.045445062, -0.038155697, 0.00402851, -0.018650632, 0.015259609, 0.030092001, 0.010613639, 0.010413381, 0.022709182, -0.0061045107, -0.01079387, -0.034524363, 0.0008402464, 0.0044123367, 0.05521762, -0.018730735, -0.007943541, -0.06691265, -0.061572455, -0.0054536746, -0.044083312, -0.018396974, 0.06584461, 0.021253979, -0.02023934, 0.04154672, -0.0038582913, 0.010787195, 0.003824915, -0.018129963, -0.044884343, 0.023283252, -0.04288177, -0.02950458, -0.012335852, -0.001436012, 0.017903006, -0.014965897, 0.06515039, 0.04747434, -0.01967862, 0.029264271, -0.04258806, 0.0010271532, 0.031694062, 0.053401954, -0.011387967, 0.0042020665, -0.048542377, -0.0034544389, -0.02429789, -0.0017605957, -0.008584364, 0.02322985, -0.0218414, 0.007676531, 0.06643203, 0.019358208, 0.0300653, 0.02702139, -0.007022357, -0.0011873591, -0.055858444, -0.04758114, 0.015019299, 0.00032166333, -0.027088141, -0.014285023, 0.007696557, 0.03911693, 0.0019074511, 0.017342284, 0.02541933, -0.032041173, 0.015660124, -0.02460495, 0.041466616, 0.026420617, -0.007816711, 0.013617499, -0.03409715, 0.024925362, -0.05820813, -0.024110982, -0.019598518, 0.0020876827, -0.005009771, -0.014578734, 0.027275048, -0.064669766, -0.007696557, 0.03116004, 0.002509892, -0.046566505, -0.014151518, -0.0019892228, 0.0409593, -0.00094120944, 0.006264717, -0.06894192, -0.049637116, -0.034764674, -0.016848316, -0.013323788, -0.039971363, -0.008110422, 0.021133823, -0.0032391623, 0.018223418, -0.034284055, 0.030172104, -0.010840597, 0.029851694, -0.022295317, -0.007349444, -0.032441687, 0.00058199785, -0.013170257, 0.004001809, 0.008537637, 0.008290653, -0.013083479, 0.028249634, 0.041520018, 0.019024447, 0.007703232, 0.01668811, -0.03385684, -0.031266846, -0.005767411, -0.017622646, -0.0010738799, 0.062159877, 0.01023315, -0.0012924942, 0.0073828204, 0.04234775, -0.077753246, 0.03527199, -0.02950458, 0.02132073, -0.0629075, 0.011548173, 0.015246258, -0.013724302, 0.08971529, 0.029050663, -0.021187225, 0.0075363507, -0.018263469, -0.019224703, -0.048515677, 0.06862151, -0.015553319, 0.014965897, 0.045551866, 0.025672989, -0.00042617263, 0.0059309546, 0.021747947, 0.044377025, 0.01118771, 0.0044457125, 0.041706927, 0.0085242875, -0.0018523803, 0.049557015, 0.005971006, 0.002853667, 0.024431394, 0.059649985, -0.009999516, 0.00019253908, -0.01886424, -0.0045558545, 0.030893032, -0.008677818, 0.033669934, -0.0008047841, 0.019558465, -0.012456006, -0.012255749, -0.0075764023, -0.06434935, 0.0005932623, -0.013564097, -0.003851616, -0.052707728, -0.03225478, -0.05847514, 0.0049263304, -0.019344859, -0.032334883, 0.03909023, -0.031854264, -0.03933054, -0.017542543, -0.017101975, 0.026527422, 0.04290847, -0.028863756, -0.012415955, 0.024952063, 0.0055004014, 0.019478364, -0.02377722, 0.026607525, -0.014765641, -0.0047928253, -0.010807221, -0.009712481, -0.02023934, -0.016514555, 0.028810354, -0.009999516, -0.009926088, 0.04720733, 0.027368503, -0.0069088778, 0.028009325, 0.021133823, 0.015566669, 0.014778991, -0.015366413, -0.014912496, 0.033723336, 0.007856763, -0.026540771, -0.0035312043, -0.0065250513, -0.004512465, 0.0022195186, 0.04611259, 0.015900431, -0.001148142, 0.007429547, -0.009118384, -0.012175646, 0.0072760163, 0.018930992, -0.007643155, -0.009879362, 0.004469076, -0.013150231, -0.010466783, 0.0036146448, 0.011181034, 0.019211354, 0.015339712, 0.008751245, -0.018517127, 0.0063648457, 0.018183365, -0.0054803756, 0.0012315826, -0.021961553, -0.011454719, -0.006721971, -0.0058808904, 0.0055037388, 0.034310754, -0.0062547037, 0.05495061, -0.018704034, -0.047901552, -0.0029270947, -0.01586038, 0.005794112, 0.057567306, -0.016327647, -0.0032458375, -0.031079939, 0.0023513548, 0.017836252, -0.003497828, -0.0026484032, 0.0063114436, 0.00818385, 0.029344374, 0.012929948, -0.011100931, -0.017889654, 0.037301265, 0.0069823056, 0.007456248, 0.06381533, 0.00833738, -0.03420395, -0.03383014, 0.012415955, -0.024498146, 0.013070129, -0.0057840995, -0.0024381331, 0.032681998, 0.03166736, 0.008664467, 0.0039484072, -0.018677333, -0.04699372, 0.0046426323, 0.023630366, 0.035912815, -0.037835285, -0.0082239015, -0.013443942, 0.013110179, -0.0002851581, -0.042187545, -0.03086633, -0.023082996, -0.0177428, 0.013317113, -0.032041173, 0.018944344, 0.01666141, -0.015353062, 0.0049697193, -0.014378476, -0.043896407, -0.030011898, -0.01723548, -0.033135913, -0.014111467, 0.00029058172, 0.03385684, 0.004495777, 0.020893514, 0.001995898, -0.012529434, 0.030973135, 0.010433407, 0.037888687, -0.0025215736, 0.0028219596, -0.003577931, -0.030973135, -0.033402923, -0.022896089, 0.04539166, 0.0020876827, -0.0010271532, -0.01833022, -0.023630366, -0.009298615, 0.02102702, 0.0038749794, -0.022335367, 0.008631091, -0.05051825, -0.013991312, 0.0010730455, 0.02213511, -0.032121275, 0.024404693, 0.0088714, -0.007075759, 0.042401154, -0.0023780558, -0.041867133, 0.0015661792, 0.025619587, -0.024377992, -0.04947691, -0.008277303, -0.053749066, 0.0062513663, 0.020399546, 0.029985197, -0.04613929, 0.03770178, -0.0023713806, 0.008217226, 0.0010772175, -0.0028753616, 0.047394235, -0.008470885, 0.01392456, 0.03225478, 0.0022679144, 0.013290412, -0.0063281315, -0.064135745, -0.024431394, -0.00022320349, -0.0055805044, -0.035886113, 0.00512325, 0.004849565, -0.018383622, 0.02021264, 0.03364323, 0.012869871, -0.003985121, 0.02077336, -0.00013298339, -0.0048762662, -0.0014335087, 0.023964128, 0.0015570008, -0.04947691, 0.0014435216, -0.0029921783, -0.023416758, 0.03174746, 0.008964853, 0.014338424, -0.0013684251, 0.029664787, 0.011261137, 0.0059676683, 0.011401317, 0.014365125, -0.015726876, 0.00484289, -0.0011998751, -0.006248029, -0.0054737004, -0.009505548, -0.0042020665, -0.0017063593, 0.016808266, -0.024231138, 0.014271673, 0.04290847, 0.03086633, -0.011701703, -0.03935724, 0.010613639, -0.0106803905, -0.0057206843, 0.041653525, 0.033189315, -0.0008264787, 0.036687143, -0.018637283, -0.037327968, -0.0010705423, -0.021253979, 0.00913841, -0.024484796, -0.010466783, 0.0024131008, -0.016154092, -0.028943859, -0.007169212, 0.006598479, -0.0046259444, 0.031213442, -0.0131635815, 0.0072292895, 0.015980534, 0.0075363507, -0.0042521306, -0.020906866, 0.0069222283, -0.007936865, -0.11246452, -0.0018690684, 0.039811157, -0.022976192, 0.021747947, 0.03310921, 0.0109207, -0.011975388, 0.025793144, -0.014431878, 0.026941286, -0.009098358, 0.0015928802, 0.029424477, 0.032949004, -0.02105372, 0.012442656, -0.018797489, -0.003434413, -0.0062747295, 0.017115327, -0.0027785704, 0.06696605, 0.031507153, -0.0071358364, 0.035645805, -0.0007063243, -0.042694863, -0.0055271024, -0.01392456, -0.017061925, -0.00023363355, 0.0030172104, 0.019758724, -0.021934854, -0.07262666, 0.0047460985, 0.038102295, -0.0031140016, 0.0044123367, 0.004045198, -0.08293323, 0.0023997503, -0.013751003, 0.016434452, -0.032628596, 0.040772393, -0.014885795, 0.035325393, -0.0010304909, -0.024938714, -0.013370515, 0.0036446834, -0.02238877, 0.011988739, -0.02595335, 0.062426884, -0.017515842, -0.061091837, -0.009518898, -0.024097633, 0.031293545, 0.05001093, -0.020573104, -0.0016512886, -0.03714106, -0.024431394, 0.025232423, 0.014712239, -0.035645805, -0.001139798, -0.009512223, -0.0061045107, 0.0327621, 0.0005861699, -0.017916355, -0.015553319, 0.017582593, -0.004999758, -0.025232423, 0.020092485, -0.0039183684, 0.01886424, 0.014164869, 0.00269513, -0.02403088, 0.0027502007, -0.016888369, -0.018784137, 0.028436542, -0.0042554685, 0.006351495, 0.013590798, 0.023176448, 0.0022946151, -0.008357406, 0.035138488, 0.0053235074, 0.019852176, 0.01831687, -0.015753577, 0.031587258, -0.019451663, -0.06728646, -0.02294949, 0.0022762583, -0.002359699, 0.0010380005, -0.014458579, -0.001872406, 0.024618302, -0.013116855, -0.029798292, -0.017288882, -0.0044390373, 0.037915386, 0.01938491, 0.005894241, 0.028997261, -0.026060155, 0.033696633, -0.011594899, 0.0071358364, 0.061625857, -0.00073010486, -0.03714106, 0.008724544, 0.010353304, -0.013243685, -0.0018774124, 0.02269583, 0.028036026, 0.0025415993, 0.025232423, 0.0033960305, -0.010880648, 0.021654492, 0.016314298, -0.043816306, -0.0045625297, 0.018744087, 0.025672989, 0.02129403, -0.019064497, -0.042534657, -0.0061545754, -0.028222933, -0.024524847, -0.0015403127, -0.0001962939, 0.012963325, -0.045685373, 0.02541933, 0.029824993, 0.0041486644, 0.010767169, 0.0009712481, -0.00006153741, 0.021881452, 0.049770623, 0.01775615, 0.0046760086, -0.0059543177, 0.009325316, 0.0025516122, 0.019438311, -0.030118702, 0.009745857, 0.00071675435, 0.04039858, 0.017809551, -0.034257352, -0.007903489, 0.024551548, 0.024658352, -0.0010546886, -0.009311966, 0.017983109, -0.014511981, 0.0058775526, 0.0071959132, -0.008263952, -0.036713842, -0.0025232423, 0.020012382, 0.010279876, -0.00969913, -0.035432197, 0.016781565, 0.012195671, 0.0047561117, 0.057887718, 0.009398744, 0.046619907, 0.016567957, 0.018383622, -0.007429547, 0.017822903, -0.026994688, -0.032975707, -0.054069478, 0.03334952, 0.01201544, -0.021894801, -0.0011848558, 0.008350731, -0.0075296755, -0.01503265, -0.018383622, 0.013330463, -0.0046426323, -0.003524529, -0.026073504, -0.007022357, -0.022442171, -0.023536911, -0.00025699692, -0.0017739462, -0.011915311, -0.026807781, -0.008931477, -0.03249509, -0.031079939, 0.019465012, -0.025205722, 0.010900674, 0.037808582, -0.023977477, -0.060184002, -0.0072760163, -0.0078968145, -0.016794914, -0.0032091236, -0.031907666, -0.0043055327, 0.04891619, -0.03959755, -0.030492516, 0.010179748, 0.009692455, 0.0064048967, -0.008130448, 0.0138177555, 0.02840984, -0.030732825, -0.022802634, 0.036179826, -0.0012023784, 0.0062413537, -0.026340514, -0.036233228, 0.0038683042, -0.006071135, 0.000081771745, 0.00018888856, 0.00526343, -0.0052600927, 0.042988572, 0.03655364, 0.009004905, -0.015940484, -0.015660124, 0.008143798, -0.02921087, -0.016260896, -0.023710469, 0.02648737, 0.012182321, -0.015192856, -0.0116349505, -0.005467025, 0.017609295, 0.042000636, -0.0056939833, -0.022201862, -0.012883222, 0.013477318, -0.0020175925, 0.026567472, -0.017048575, -0.02541933, -0.012315826, 0.018450376, 0.008123772, -0.0038048893, -0.007269341, -0.015967185, 0.024418043, 0.025285825, 0.0037047607, 0.0028369788, 0.0024948725, 0.010506835, 0.018610582, 0.029851694, 0.0017038562, -0.011361266, -0.0057039964, 0.015686825, -0.030893032, -0.00048270362, 0.01667476, 0.03500498, -0.006641868, 0.02620701, 0.00063873746, -0.025098918, 0.00037902873, -0.01201544, 0.013370515, 0.0057206843, -0.013550746, 0.0019308145, 0.0491832, -0.026340514, -0.0064816624, 0.0013325457, 0.032308184, -0.005964331, 0.014538682, -0.0006445783, 0.01967862, 0.0017338947, 0.023630366, -0.027368503, -0.0078100357, -0.0017105314, -0.0245649, 0.026580824, 0.04149332, -0.009799259, 0.020533051, 0.0007947713, -0.027955923, -0.009845985, -0.015606721, -0.027582109, -0.04119961, 0.008704519, -0.024257839, -0.0002709732, -0.004425687, -0.009732506, 0.00080979057, -0.0071358364, 0.017903006, 0.0025516122, 0.013030077, 0.015005949, -0.011601575, 0.05655267, 0.008290653, 0.0069088778, 0.014939196, 0.010406706, 0.008737895, -0.008137123, -0.008430834, -0.005900916, -0.001713869, 0.008978204, 0.023536911, -0.030706124, 0.005106562, 0.020346144, 0.032601893, -0.033696633, 0.05356216, -0.017008523, 0.0144719295, -0.005143276, 0.014378476, -0.00793019, 0.008270628, -0.018944344, -0.0046326197, -0.0097525325, 0.0053835846, 0.0070290323, 0.017849604, -0.0035879437, -0.025726391, -0.03719446, 0.011354591, -0.0119620375, 0.015219557, -0.013697602, 0.007095785, 0.01420492, -0.006485, 0.022842687, -0.026647575, -0.013323788, 0.03714106, -0.014325075, -0.011514797, 0.012395929, 0.0020709946, 0.000061120205, -0.056606073, 0.0032174678, -0.017729448, 0.051345978, -0.024885312, 0.03246839, -0.045284856, 0.009959465, -0.019331507, 0.011641626, -0.031827565, 0.0028169532, 0.018717386, -0.00430887, -0.018477077, -0.023830622, -0.055164218, -0.02623371, 0.026847832, -0.037861984, -0.010560237, -0.0061612506, -0.00083065074, 0.007976917, -0.002076001, 0.015433165, 0.011534822, 0.005717347, 0.021747947, -0.021227278, 0.032922305, 0.017449088, -0.021774648, -0.02132073, 0.008898101, -0.008310679, -0.011161009, 0.020906866, -0.012389254, -0.018383622, 0.041653525, -0.038876623, 0.029130766, 0.027368503, 0.012242398, -0.032067873, -0.03356313, -0.010206449, -0.024151035, 0.045284856, 0.03137365, -0.029638086, -0.0052500796, 0.03441756, 0.037087657, 0.008103747, 0.027635511, -0.010740468, -0.012329176, 0.027234998, 0.023016242, -0.025539486, -0.029077364, -0.02078671, 0.02101367, -0.010460108, 0.03965095, -0.027555408, 0.025486084, -0.00091117085, -0.0036947478, 0.0027718951, 0.032788802, -0.0026116893, 0.024124334, 0.0119620375, -0.0077366084, 0.01257616, -0.03166736, 0.034871478, 0.009105033, 0.020933567, 0.014178219, 0.049904127, 0.035352096, 0.02294949, -0.023256551, 0.022028306, 0.015633423, 0.0088714, 0.03220138, -0.044056613, 0.022589026, 0.003347635, -0.006071135, 0.018757436, 0.018623931, -0.0043589347, 0.008384107, 0.003082294, -0.018810838, 0.0016112371, -0.016434452, -0.037087657, -0.0033676608, 0.019638568, 0.03057262, 0.021080421, -0.04261476, 0.0355657, -0.00498307, 0.009946114, -0.0040485356, 0.029023962, -0.007069084, 0.022055008, -0.042721562, -0.014258322, -0.0137910545, 0.019812126, -0.0056238933, -0.014832393, 0.038342603, 0.017515842, -0.01132789, -0.02019929, -0.0024798533, -0.013804405, -0.0131902825, 0.01214227, 0.03991796, -0.017595945, -0.03989126, 0.017729448, 0.005787437, -0.016260896, 0.00996614, 0.005310157, -0.005316832, -0.021694545, -0.015980534, 0.013230334, -0.039223734, 0.012255749, 0.0029621397, -0.0007334425, 0.017956408, -0.027088141, -0.017088626, -0.009398744, 0.028783653, 0.02460495, 0.0030088664, 0.025726391, 0.0008423324, 0.0015236245, -0.022268616, 0.021761296, 0.0024364642, 0.00929194, -0.0004518306, -0.003108995, -0.0143918265, -0.027582109, 0.05131928, -0.02674103, 0.03444426, 0.002216181, -0.014018013, 0.018890942, 0.0131635815, -0.03033231, -0.01120106, -0.0066018165, -0.012729691, -0.026901234, 0.022322018, -0.008290653, -0.010446757, 0.022775933, 0.014885795, 0.011087581, -0.007676531, -0.019465012, -0.013951261, -0.006448286, 0.00997949, -0.012816469, -0.017342284, -0.012342527, 0.011641626, -0.010466783, 0.0038649666, 0.028783653, -0.015059351, 0.016995173, 0.013537396, 0.011508121, -0.0122958, 0.013831106, -0.020826763, 0.010039568, 0.03086633, 0.011508121, 0.013557421, -0.01064034, 0.004265481, -0.0030138728, 0.0074762735, 0.009485522, 0.017635996, -0.004479089, 0.004682684, -0.00007801692, -0.012763067, 0.016154092, -0.01023315, -0.01079387, 0.0013267049, -0.014405177, -0.011234436, -0.021787997, -0.031560555, 0.00088029786, -0.024711754, 0.037861984, 0.0030605996, -0.016834967, -0.00047435955, -0.014645486, 0.002958802, 0.024391342, 0.00007447069, 0.013604148, 0.021948203, 0.009619027, 0.025873248, -0.0014585409, 0.01353072, 0.014164869, 0.047420938, 0.019638568, -0.017822903, -0.004639295, 0.01146807, -0.008517612, -0.031854264, -0.00464597, 0.02102702, 0.009886037, 0.035992917, 0.00020004873, 0.008704519, 0.0053335205, -0.014899146, 0.038849924, 0.02129403, -0.051345978, 0.011948687, 0.05874215, 0.0054036104, 0.021654492, 0.015633423, 0.0025549498, 0.018210066, -0.019999033, -0.00063081057, -0.035378795, 0.028810354, 0.009619027, 0.037034255, 0.0010755487, -0.0029054, 0.01038668, 0.025886597, 0.02376387, 0.0037681754, -0.008123772, -0.014498631, 0.008023644, -0.020452948, 0.0081704995, 0.021988254, -0.0018824189, -0.0016229188, -0.0076031033, 0.032975707, 0.010506835, 0.044857644, -0.011895285, -0.023416758, -0.013684251, 0.005423636, -0.036713842, -0.021494286, -0.012382578, -0.009425445, 0.0005565485, 0.03746147, 0.028009325, -0.021374132, 0.029130766, 0.021721246, -0.016073989, -0.0016571294, 0.03225478, 0.015353062, 0.006291418, -0.009512223, -0.022815986, -0.007696557, -0.03663374, -0.021721246, 0.011915311, -0.010960751, 0.00014748119, -0.0037748506, -0.026834482, -0.0074428977, -0.016447803, -0.031774163, -0.0064315978, 0.07150522, 0.0033593166, -0.0070891096, 0.010279876, -0.00056113774, 0.0042521306, 0.01065369, 0.023657067, -0.019251404, 0.050625052, -0.0037748506, -0.0022512262, -0.036393434, 0.041359816, 0.011801832, -0.032601893, -0.0072359648, 0.01038668 ]
2401.09350
194
⊓⊔ References We can immediately verify that ⟨q, u⟩ = ⟨ϕq(q), ϕd(u)⟩ for a query q and data point u. But by applying the transformations ϕd(·) and ϕq(·), we have reduced the problem to MCS! As such, we may use any of existing LSH families that we have seen for angular distance in Section 5.3.2 for MIPS. There has been much debate over the suitability of the standard LSH framework for inner product, with some works extending the framework to what is known as asymmetric LSH [Shrivastava and Li, 2014, 2015]. It turns out, however, that none of that is necessary. In fact, as Neyshabur and Srebro [2015] argued formally and demonstrated empirically, the simple scheme we described above sufficiently addresses MIPS. # 5.4 Closing Remarks Much like branch-and-bound algorithms, an LSH approach to top-k retrieval rests on a solid theoretical foundation. There is a direct link between all that is developed theoretically and the accuracy of an LSH-based top-k retrieval system.
2401.09350#194
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 194, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "⊓⊔\nReferences\nWe can immediately verify that ⟨q, u⟩ = ⟨ϕq(q), ϕd(u)⟩ for a query q and data point u. But by applying the transformations ϕd(·) and ϕq(·), we have reduced the problem to MCS! As such, we may use any of existing LSH families that we have seen for angular distance in Section 5.3.2 for MIPS.\nThere has been much debate over the suitability of the standard LSH framework for inner product, with some works extending the framework to what is known as asymmetric LSH [Shrivastava and Li, 2014, 2015]. It turns out, however, that none of that is necessary. In fact, as Neyshabur and Srebro [2015] argued formally and demonstrated empirically, the simple scheme we described above sufficiently addresses MIPS.\n# 5.4 Closing Remarks\nMuch like branch-and-bound algorithms, an LSH approach to top-k retrieval rests on a solid theoretical foundation. There is a direct link between all that is developed theoretically and the accuracy of an LSH-based top-k retrieval system.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.020306978, 0.004653409, 0.011787761, 0.003944568, 0.037883606, -0.004417129, -0.02247288, 0.030558916, -0.054817025, 0.017235335, 0.01911245, -0.06752365, -0.03105773, 0.001115768, 0.014360591, -0.013861776, 0.025898945, -0.060750287, -0.020346358, 0.022866681, 0.021396492, -0.00066864036, 0.04266172, 0.02555765, 0.011925591, -0.032580424, 0.017681642, -0.018429862, 0.03260668, -0.033131745, 0.024678163, -0.01373051, -0.015358218, 0.023877434, -0.0022659935, 0.06988646, -0.033840586, 0.058807537, -0.0122275045, 0.028931208, -0.024205603, 0.0069374517, -0.04930382, -0.041769102, -0.0005673188, -0.013796143, -0.01349423, -0.009451211, -0.018469242, 0.02571517, 0.009890955, 0.0122603215, -0.012798515, 0.02133086, -0.015450105, -0.024192477, 0.021777166, 0.02049075, 0.0803353, 0.020123204, -0.005001266, -0.04218916, -0.021068325, -0.016579, -0.029850075, -0.0049356325, 0.0070818453, 0.047702365, 0.022210347, 0.013559863, -0.03386684, 0.024363123, 0.042950504, 0.01333671, 0.027487272, -0.019204337, -0.04082398, 0.044814494, 0.05397692, 0.045733362, 0.030217623, -0.023207974, 0.06054026, 0.01587016, -0.026450265, -0.011538354, -0.026817812, 0.023601774, -0.09477465, -0.03260668, -0.012457222, 0.028983714, 0.008808004, -0.01365175, 0.05274301, 0.03176657, 0.037699834, 0.0013504075, -0.01103954, 0.004433537, -0.009398704, -0.06736613, 0.0140324235, -0.035835844, 0.05954263, 0.026463391, 0.020306978, -0.0017097504, -0.0072787455, 0.015410725, -0.06211546, -0.010094419, -0.035074495, 0.048096165, 0.021147085, -0.006615848, -0.028511154, 0.0035540492, -0.028799942, 0.039695088, -0.0074756457, 0.0029731935, 0.038014874, 0.011728691, 0.003577021, -0.03814614, 0.017747276, -0.097662516, 0.0033243324, -0.029036222, 0.0104488395, 0.0030224186, -0.01590954, 0.008007276, -0.0063992576, 0.016119566, -0.016526492, -0.008702991, 0.0075084623, -0.009838449, 0.0033899657, -0.037411045, 0.0039117513, 0.003197988, -0.0163821, 0.034208134, -0.049513847, 0.029193742, 0.04323929, 0.017300967, -0.0021609801, -0.058019936, -0.0157914, -0.006871818, -0.05211293, -0.01567326, 0.009930335, -0.018679269, 0.0036196827, -0.027986087, 0.04071897, 0.017497867, 0.0063992576, 0.005995612, -0.02041199, 0.013271076, -0.030086355, -0.018193582, -0.057599884, -0.06384818, -0.04305552, -0.07345691, -0.013467976, -0.013861776, -0.00791539, -0.043790612, 0.0026844065, -0.037017245, -0.010770443, -0.028799942, -0.035205763, 0.023247354, 0.0021970784, -0.020477625, -0.0034720076, 0.04237293, 0.007751306, 0.015384472, 0.020635145, -0.013323583, -0.010140362, 0.06778619, 0.015581372, 0.012017477, 0.007574096, -0.0140192965, 0.02579393, 0.019532504, -0.0018853197, -0.034496922, 0.043396812, 0.030532664, 0.022341613, -0.031188998, 0.021869052, -0.02500633, 0.0007806274, 0.00422351, -0.03596711, 0.013901156, -0.028616168, 0.018009808, 0.026095845, 0.024376249, 0.030768944, -0.0015571527, -0.03213412, -0.0003439601, -0.02504571, 0.030138863, -0.016723393, 0.034129374, 0.037621073, 0.03418188, -0.036885977, 0.048384953, 0.006806185, -0.0640057, 0.037174765, -0.04518204, 0.042399183, 0.023470508, -0.010757316, -0.04292425, 0.022052826, -0.009247748, -0.045208294, -0.030296383, -0.03462819, -0.06348064, -0.004843746, -0.01634272, 0.0039412864, -0.009667802, 0.014688757, 0.017327221, -0.013382653, 0.013467976, 0.016985927, -0.0035409227, -0.066368505, 0.006793058, -0.020398865, -0.0616429, -0.05124657, -0.023470508, -0.002051044, 0.027828567, -0.0025941606, -0.009634985, -0.033761825, -0.015660131, 0.0012265244, -0.004154595, -0.012194688, -0.0074559557, -0.017327221, 0.0076462924, 0.020267598, -0.010100982, -0.028904954, 0.03208161, 0.0025252455, -0.019099323, -0.0163821, -0.06248301, -0.013940536, -0.00019587472, -0.03447067, 0.044499453, -0.023588648, -0.010816386, 0.028458647, 0.013041359, 0.016867787, -0.003626246, -0.013205443, -0.022210347, -0.054607, -0.033578053, 0.022105332, -0.046232175, 0.00018356845, -0.022341613, -0.0034588808, 0.011932154, -0.046442203, -0.0169728, -0.0025137598, 0.03074269, 0.07529465, 0.03987886, 0.029272502, -0.031714063, -0.04946134, 0.021593392, 0.062798046, 0.006376286, 0.011689311, 0.05492204, -0.018351102, 0.02591207, -0.011800887, 0.05326808, -0.03244916, -0.052716758, 0.021711532, -0.011111736, -0.008007276, -0.04313428, 0.01650024, -0.057127323, -0.004043018, -0.038198646, 0.0010378283, 0.037043497, -0.023339242, -0.055184573, -0.018232962, -0.06500333, 0.06988646, -0.047413576, -0.003806738, -0.012982289, -0.030952716, -0.008138543, 0.0029403768, 0.04712479, -0.039747596, -0.012982289, -0.021593392, 0.0044204104, -0.0028140326, -0.01046853, 0.011958407, 0.03533703, -0.022367867, 0.011709001, 0.02025447, 0.0037279779, -0.034916975, -0.049566355, 0.021908432, 0.03074269, 0.03050641, -0.014137437, -0.0022102052, -0.09992031, -0.017222207, 0.027723553, -0.020805791, -0.015436978, 0.02643714, 0.015240078, -0.009470901, 0.032107864, -0.0023939786, -0.025610158, -0.03260668, 0.0030306228, 0.01946687, 0.004338369, -0.010219122, -0.024704417, -0.010777006, -0.00077201304, -0.012555672, 0.0068980716, 0.037069753, 0.07592473, 0.004591057, 0.0054836716, -0.04775487, -0.029823823, 0.036439672, 0.000846671, -0.026463391, 0.01327764, -0.036072124, 0.004669817, 0.0074428287, 0.0028829477, -0.014478731, 0.021501506, 0.0022249727, -0.023234228, 0.055604625, 0.023929942, 0.036807217, -0.002060889, -0.016132692, -0.010954216, -0.009851575, -0.021934686, -0.012654122, 0.00077324366, 0.000023356264, 0.016605252, 0.012680375, 0.020543259, 0.019243717, -0.0078038126, 0.037332285, -0.019479997, 0.024061209, -0.026962206, 0.036019616, 0.007652856, -0.018351102, -0.009858139, 0.023811802, -0.026725926, -0.04463072, -0.055604625, 0.017537247, 0.02683094, 0.057179827, -0.031871583, 0.037043497, -0.040771477, -0.036439672, 0.024980078, 0.024901317, -0.039826356, -0.004367904, -0.036282152, 0.0015530506, 0.05101029, -0.023404874, -0.044604465, 0.016211452, 0.002807469, -0.046757244, -0.032659184, -0.023601774, -0.020950185, -0.015200698, -0.030690184, -0.014281831, 0.02056951, 0.0043514953, -0.018705523, 0.045155786, 0.0052966163, -0.015371345, -0.028196113, 0.07240678, -0.0640057, 0.005234265, 0.028327381, -0.017799782, 0.034444414, -0.01693342, 0.0050045475, 0.02259102, 0.04187412, 0.011453031, 0.005749487, 0.02068765, -0.0056608818, 0.024074335, -0.044761986, 0.016959673, -0.026935952, -0.023588648, 0.04190037, 0.034234386, -0.06694608, 0.02603021, 0.003435909, 0.021895306, -0.042635463, -0.0220397, 0.03011261, 0.03494323, 0.06626349, 0.050537728, 0.039275035, 0.014216197, 0.029640049, -0.047649857, -0.040771477, 0.08017778, -0.013822396, -0.0034129375, -0.0032324456, 0.037909858, -0.018823663, -0.020910805, 0.019440617, 0.02698846, 0.023746168, -0.022289107, 0.05179789, -0.00408568, 0.02675218, 0.0020362765, -0.012371899, 0.013586116, 0.020805791, 0.039773848, 0.033131745, 0.009070538, 0.007272182, 0.018114822, 0.030007595, -0.022446627, 0.02068765, -0.011781197, 0.015804525, -0.0013134887, 0.0044302554, -0.05812495, -0.033158, 0.016579, -0.036938485, -0.039511316, -0.06967643, -0.03284296, -0.0405877, 0.013979916, -0.009484028, 0.012109364, 0.032422904, 0.0086373575, -0.019059943, -0.0059299786, -0.028694928, 0.0026056464, 0.020123204, 0.011459594, 0.019164957, 0.022328487, 0.020989565, -0.0065567777, -0.026804686, 0.048279937, -0.005001266, 0.008729244, 0.00080688077, 0.012010914, -0.011243003, -0.019716278, 0.023431128, 0.0074559557, 0.005437728, 0.017379727, 0.011479284, -0.0049159424, -0.0163821, 0.0011485848, 0.026607785, 0.0006025968, 0.028642422, -0.013310456, 0.0028714617, 0.036019616, -0.011623677, 0.019965684, 0.0149512915, -0.016093312, -0.011052666, 0.024638783, 0.012522855, 0.027671047, -0.025767678, -0.0409815, -0.008105726, 0.030558916, 0.016802153, -0.01962439, -0.06437325, -0.01938811, -0.020477625, -0.020556385, 0.013185753, -0.004075835, 0.012037167, 0.016040806, 0.027093472, 0.0149512915, -0.032186624, 0.0024579712, -0.037909858, -0.016959673, -0.009313381, 0.011380834, 0.007035902, -0.00821074, -0.011853394, -0.0029239685, 0.019453743, 0.04313428, -0.023943068, -0.012352209, -0.015371345, 0.008952398, 0.0058512185, 0.02461253, -0.010580106, -0.014373717, 0.018416736, 0.0076266024, -0.004072553, -0.0007880112, 0.009175551, 0.009201804, 0.0016482191, 0.021396492, -0.018167328, -0.019532504, -0.022971693, 0.014596871, 0.042241663, 0.019873798, 0.00050455687, 0.013638623, -0.022761667, -0.02559703, -0.024546897, -0.008735808, -0.0008876919, 0.014163691, 0.018390482, 0.017274715, 0.026778432, 0.00045287053, 0.03596711, 0.031635303, 0.024271237, 0.017904796, 0.042792983, 0.015043178, -0.034365654, 0.007035902, -0.018495496, -0.018849917, 0.019007437, -0.04032517, -0.0033538674, -0.040298916, -0.004404002, 0.04313428, 0.005273645, 0.014780644, -0.016053932, 0.014439351, 0.009634985, 0.03378808, -0.01575202, -0.02606959, -0.018259216, -0.01327764, -0.03097897, 0.0016473987, 0.033158, 0.009726872, 0.022052826, 0.018127948, 0.010895146, 0.012634432, 0.030795196, 0.069466405, -0.0265159, -0.028878702, -0.021422746, -0.027802313, 0.013979916, -0.044289425, -0.014294957, 0.021790292, 0.0018442989, -0.039747596, -0.024363123, -0.026568405, 0.013120119, 0.010041912, -0.012010914, -0.010081292, -0.0001414195, -0.0140849305, 0.005605093, 0.029850075, -0.05182414, 0.020438245, -0.011853394, -0.013054485, 0.029272502, -0.0013856854, -0.026489645, -0.0040463, 0.04142781, -0.01349423, -0.018994309, -0.010127235, -0.04751859, -0.03184533, -0.00422351, 0.047019776, -0.01926997, 0.015975172, -0.011925591, 0.023404874, -0.0068783816, -0.022170966, 0.008256683, -0.0036918793, -0.022945441, -0.012339082, 0.0035015426, -0.025071964, 0.015371345, -0.047623605, -0.010553853, 0.0003956464, -0.007593786, -0.020280724, 0.03363056, 0.015699511, -0.01606706, -0.0058413735, 0.02639776, 0.012647559, -0.017274715, 0.017209081, -0.001893524, -0.039826356, 0.00783663, -0.04024641, -0.01101985, -0.01997881, -0.023260482, -0.012148744, 0.03557331, 0.010225685, 0.017773528, 0.020582639, 0.020543259, 0.0032324456, 0.022945441, -0.0059332605, 0.011426777, 0.0028780252, 0.004873281, 0.018206708, -0.028668674, -0.029613795, -0.026542151, 0.014846277, -0.023470508, -0.009713745, 0.000846671, -0.050905276, -0.0033013606, 0.048542473, -0.01064574, -0.021435872, -0.066526026, 0.043396812, -0.00053163065, 0.035363283, 0.019637518, 0.034890722, -0.0003105281, 0.024835683, -0.022302233, -0.023890562, -0.015371345, 0.0018164046, 0.0021642619, -0.03588835, -0.011453031, 0.012614742, -0.029745063, -0.0020346357, -0.0005066079, -0.027566032, -0.006199076, 0.014255577, -0.046967268, -0.008519216, 0.028931208, -0.007928516, -0.023614902, -0.03126776, 0.038329914, -0.014806897, -0.118560195, -0.0016334516, 0.029377514, -0.002193797, 0.03137277, 0.025885819, 0.002540013, -0.0014710089, 0.007055592, -0.046730988, 0.025295118, -0.024166223, 0.0050472096, 0.024153097, 0.014111184, -0.01646086, 0.018587383, 0.011715564, 0.014281831, -0.011984661, -0.0033555082, 0.00803353, 0.026003959, 0.048201177, 0.006054682, -0.03200285, -0.0063631595, 0.0019854107, 0.00029432483, -0.006812748, -0.016985927, 0.003307924, -0.008886764, 0.03533703, -0.01966377, -0.0267128, 0.026358379, 0.00014552158, -0.03252792, -0.027250992, -0.019086197, -0.03885498, 0.0036885978, -0.03964258, 0.02540013, -0.018915549, 0.010284755, 0.0163821, 0.03168781, -0.015345092, -0.0032455723, -0.019532504, 0.02591207, 0.014544364, -0.0077644326, 0.014767517, 0.03510075, 0.0026483082, -0.028721182, 0.01614582, -0.011131426, 0.018062316, 0.017721022, -0.01665776, -0.02235474, -0.02041199, -0.012890402, 0.028773688, 0.03418188, 0.02235474, 0.0069768317, 0.007843193, 0.005608375, 0.04297676, 0.049172554, -0.002559703, -0.004476199, 0.048437458, 0.012739445, -0.00055460236, 0.020858299, 0.006514116, 0.031162744, 0.018823663, 0.012365335, -0.037542313, 0.0039708214, -0.010350389, -0.027828567, 0.019283097, -0.004036455, -0.00061695406, 0.011754944, 0.037069753, 0.02180342, 0.009674365, 0.018364228, -0.025649538, 0.013520483, 0.009241184, 0.004043018, 0.033683065, -0.005828247, -0.026017085, -0.0014677271, 0.010094419, -0.0053458414, -0.0014053754, 0.02722474, 0.043948133, 0.006609285, -0.033578053, -0.0018984465, -0.012588489, 0.013914283, 0.017222207, -0.0003158608, 0.017366601, 0.022801047, -0.016316466, 0.0007777559, -0.0067602415, -0.018141076, 0.018232962, 0.0005057875, -0.01907307, 0.0010271629, 0.013874903, -0.0071409154, 0.005188321, 0.0037279779, 0.05064274, -0.007541279, -0.0104357125, -0.0276973, 0.020123204, 0.005490235, 0.027907327, 0.004699352, 0.03956382, 0.047544844, 0.043948133, 0.00781694, 0.03192409, -0.019283097, 0.018154202, -0.025347624, 0.019440617, -0.041847862, 0.009910645, 0.0022298952, -0.013835523, 0.046205923, 0.043790612, 0.00087046315, 0.01634272, 0.016710266, -0.02001819, 0.03877622, 0.032029103, 0.0029830385, -0.0011223314, 0.00032673133, -0.017327221, 0.008479836, 0.015502612, -0.02793358, 0.018469242, 0.0023726479, 0.05408193, 0.0103832055, -0.0049651675, 0.0018968056, 0.019204337, 0.032869212, -0.0005221958, 0.02480943, 0.003685316, -0.015371345, -0.021869052, -0.024087463, 0.015410725, -0.032816704, 0.022761667, 0.023102961, 0.0140324235, 0.0053852214, -0.031399023, -0.0021544169, 0.012174998, -0.0031602487, 0.036229644, -0.0014176817, 0.023011073, 0.01113799, -0.0010681838, -0.025885819, 0.0068980716, -0.033026733, -0.016487112, -0.035599563, 0.05507956, 0.018442988, -0.026161479, -0.005188321, 0.0055328966, -0.045234546, -0.026345251, 0.0027073782, 0.03050641, 0.012247195, 0.0020477625, 0.007889136, -0.025649538, 0.010238812, -0.014163691, 0.012450659, 0.012916655, -0.007560969, -0.022538513, -0.04284549, -0.018429862, -0.026279619, 0.04799115, -0.029062474, -0.0017097504, 0.036780965, -0.04268797, -0.03533703, 0.015200698, 0.00538194, 0.0025925199, -0.0030782071, -0.020635145, -0.035862096, 0.0149512915, -0.015804525, -0.02801234, 0.005769177, 0.0076856725, 0.018075442, -0.018416736, 0.0070096483, -0.0086439205, -0.0016744725, 0.010205995, 0.038198646, 0.01062605, -0.010370079, -0.03462819, -0.008315753, 0.00063049095, 0.025505144, -0.0050242376, -0.03565207, -0.004584494, -0.016670886, 0.06195794, 0.047151044, -0.008197613, 0.02571517, 0.031083984, 0.002728709, -0.017025307, 0.005372095, -0.00040713226, 0.031320263, 0.008755498, -0.006356596, 0.03580959, -0.030322636, 0.0007592965, 0.011013286, 0.02484881, -0.0032603398, 0.012988852, -0.018075442, 0.013586116, 0.012365335, -0.030375144, -0.017524121, -0.015962046, -0.0122209415, 0.012890402, 0.017747276, -0.015817652, -0.0029518628, -0.02583331, 0.012411279, -0.056812283, 0.0062056393, 0.025150724, -0.006159696, 0.025387004, -0.009024594, -0.006474736, -0.012824769, 0.011978097, 0.0038428362, -0.03034889, -0.00836826, 0.031241504, 0.04281924, -0.002689329, 0.017642261, -0.03003385, -0.029666303, -0.0048010843, -0.017629135, -0.016014552, 0.02231536, -0.005339278, 0.004971731, 0.02587269, -0.007770996, 0.036098376, -0.011170806, 0.017996682, 0.007679109, -0.0071802954, -0.01048822, 0.01701218, 0.008781751, 0.0019181365, -0.01685466, 0.014334337, 0.024323743, -0.0071409154, -0.020661399, 0.010192869, -0.002251226, 0.04276673, -0.0075281523, -0.012483475, -0.043790612, -0.00051358144, 0.0011420214, -0.025308244, -0.05198166, -0.012969162, 0.018311722, -0.0024136687, 0.045234546, -0.015555119, -0.028616168, 0.012398152, 0.016526492, 0.009680929, 0.018337976, -0.02698846, 0.04103401, -0.0060612457, 0.0074625188, -0.045969643, 0.009457774, 0.029640049, -0.015410725, -0.0063598775, -0.0131332455, -0.0010345466, -0.011348017, 0.029745063, -0.004512297, 0.007692236, -0.014859404, 0.024980078, 0.00198377, 0.0600677, -0.03027013, 0.014124311, 0.03331552, -0.006395976, 0.004554959, 0.012345645, -0.0054607, -0.01681528, -0.0069965217, 0.041716598, -0.009228058, -0.014071804, 0.00811229, -0.05174538, -0.014964418, 0.016473986, -0.03596711, 0.012280012, 0.0021560576, -0.00043482136, 0.0064386376, -0.014124311, 0.029692555, -0.016880913, -0.01365175, 0.022052826, 0.00025863666, -0.03216037, 0.009116481, 0.0051062796, -0.0024940697, -0.010343825, -0.06285056, -0.021908432, 0.047571097, -0.01571264, -0.014649377, -0.022052826, 0.027434766, 0.0007461698, -0.008873638, -0.020346358, -0.027566032, 0.01681528, -0.011065793, 0.0068390016, -0.016119566, -0.018679269, -0.043711852, 0.03909126, -0.003148763, 0.03494323, 0.0033538674, 0.013599243, -0.011846831, 0.02480943, -0.0009754766, 0.022682907, 0.033052985, 0.00422351, -0.021777166, 0.007731616, 0.0029305317, 0.05250673, -0.0050931526, 0.0066027213, 0.0015062868, -0.013953663, -0.011623677, -0.02064827, 0.016605252, 0.029403768, -0.023063581, 0.034391906, 0.018154202, -0.010560416, -0.015962046, -0.02484881, -0.013212006, -0.012601615, 0.007711926, 0.01353361, -0.06180042, -0.008913018, 0.03229164, -0.0070162117, -0.003537641, 0.012214378, -0.03541579, 0.019479997, 0.03418188, 0.009208368, -0.010343825, 0.005273645, 0.024993204, 0.0050143925, 0.014281831, 0.02449439, -0.05843999, 0.029666303, -0.008873638, 0.017826036, 0.0018262496, 0.023667408, -0.0037115694, 0.031110238, 0.010612923, -0.0030027286, -0.0056116567, -0.018810537, 0.016684012, 0.024244983, -0.02667342, -0.01369113, 0.025780804, 0.017182827, 0.037568565, 0.0044401004, 0.023089834, -0.02551827, 0.015108812, -0.008040093, -0.017248461, 0.027907327, -0.03284296, -0.011072356, 0.009306818, 0.037909858, 0.017117193, 0.00785632, 0.021462126, -0.0049586045, -0.020188838, -0.00059234153, 0.0027336315, 0.009549662, -0.010698246, 0.03090021, 0.008932708, -0.0037181329, 0.023916814, 0.006087499, -0.0022266135, 0.006267991, -0.009162424, -0.01634272, 0.03153029, -0.016552746, -0.028589914, -0.0052769263, -0.009063974, 0.0031750163, -0.021081451, 0.023601774, 0.030060103, -0.002799265, -0.017261587, -0.025255738, -0.021737786, -0.0064320746, -0.036938485, 0.01650024, -0.011124863, -0.030480156, 0.022525387, 0.00065387285, -0.0148856575, -0.0015226952, -0.0053753764, 0.0024727387, 0.022866681, 0.0059529506, -0.0015325402, 0.024993204, -0.009274001, -0.005250673, -0.008433893, -0.0049586045, -0.02777606, -0.00044261533, 0.025544524, 0.023194848, 0.011932154, -0.0070227752, -0.025268864, -0.0042858617, 0.048621234, -0.020359484, 0.012444095, 0.01082295, 0.010120672, 0.036912233, -0.0012133977, -0.016999053, -0.0042989883, 0.037883606, -0.018915549, 0.038986247, -0.008939271, -0.0051062796, 0.005985767, -0.017510995, -0.006635538, -0.012483475, -0.006386131, -0.013822396, -0.020320104, 0.0050373645, 0.026568405, 0.0043022702, 0.010028785, 0.015371345, 0.0019558757, -0.01646086, -0.018561129, -0.023299862, 0.04106026, 0.016158946, -0.0051751947, 0.008873638, -0.004463072, 0.037174765, 0.051299077, -0.0057429234, 0.028563662, -0.0009787582, 0.0276973, 0.038434926, 0.057232335, 0.009083664, 0.00078883156, -0.028589914, 0.011814014, 0.039773848, 0.01101985, -0.029640049, 0.015148192, 0.0022955285, -0.0052178563, 0.0015440261, 0.043869372, 0.029508783, -0.0032652623, 0.03533703, -0.0060907807, 0.015541992, 0.008145106, -0.0012322674, -0.05116781, 0.032029103, -0.026384631, -0.0049881395, -0.008985214, -0.023929942, -0.019676898, -0.0068193115, 0.0029075602, -0.018889297, -0.037542313, -0.0015464873, -0.0085585965, -0.0028681802, 0.0065469327, 0.02207908, 0.0018820381, -0.0063894126, 0.00781694, 0.027250992, -0.013678003, 0.021711532, 0.02097644, 0.018285468, 0.021435872, -0.004062708, 0.004151313, 0.0024103872, -0.03113649, -0.04376436, -0.01392741, -0.03292172, 0.018600509, 0.043475572, -0.005168631, 0.02168528, 0.024126843, 0.022892933, 0.015489485, 0.03525827, -0.006084217, 0.037358537, -0.009602169, 0.00034744688, 0.01325795, 0.00049471186, -0.011466157, -0.007869446, 0.009234621, -0.006208921, -0.008184486, 0.032711692, -0.013874903, 0.045077026, -0.0027237865, -0.03150404, 0.019755658, 0.018639889, -0.0018754747, 0.00335879, -0.012568799, -0.008906454, -0.003665626, -0.0028878702, -0.0034195008, -0.013441723, 0.03090021, 0.028878702, -0.007534716, 0.013861776, 0.025426384, 0.03042765, -0.008919581, -0.023181722, -0.012752572, -0.0065534962, -0.009674365, -0.0140324235, -0.040692717, 0.009319944, 0.003376839, 0.017931048, -0.004630437, -0.0064287926, 0.04158533, 0.028511154, -0.047492336, 0.010304445, 0.003465444, -0.0063631595, -0.0056346282, -0.045733362, -0.02643714, -0.009365888, -0.04074522, -0.0065206797, 0.0084864, 0.02017571, -0.028143607, -0.010100982, -0.037148513, 0.0031405587, -0.04376436, -0.034208134, 0.005119406, 0.039852608, 0.010816386, 0.012516292, -0.023457382, -0.00821074, -0.0010788492, -0.007515026, -0.0014710089, -0.02097644, 0.039668836, -0.01082295, 0.0014800334, -0.02738226, 0.036570936, 0.018534876, -0.0042563267, 0.017616007, -0.005319588 ]
2401.09350
195
Like tree indices, too, the LSH literature is arguably mature. There is therefore not a great deal of open questions left to investigate in its founda- tion, with many recent works instead exploring learnt hash functions or its applications in other domains. What remains open and exciting in the context of top-k retrieval, however, is the possibility of extending the theory of LSH to explain the success of other retrieval algorithms. We will return to this discussion in Chapter 7. # References A. Andoni and P. Indyk. Near-optimal hashing algorithms for approximate nearest neighbor in high dimensions. Communications of the ACM, 51(1): 117–122, 1 2008. A. Andoni, P. Indyk, H. L. Nguyen, and I. Razenshteyn. Beyond locality- sensitive hashing. In Proceedings of the 2014 Annual ACM-SIAM Sympo- sium on Discrete Algorithms, pages 1018–1028, 2014. A. Andoni, P. Indyk, T. Laarhoven, I. Razenshteyn, and L. Schmidt. Practical and optimal lsh for angular distance. In Proceedings of the 28th Interna- tional Conference on Neural Information Processing Systems - Volume 1, pages 1225–1233, 2015.
2401.09350#195
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 195, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Like tree indices, too, the LSH literature is arguably mature. There is therefore not a great deal of open questions left to investigate in its founda- tion, with many recent works instead exploring learnt hash functions or its applications in other domains.\nWhat remains open and exciting in the context of top-k retrieval, however, is the possibility of extending the theory of LSH to explain the success of other retrieval algorithms. We will return to this discussion in Chapter 7.\n# References\nA. Andoni and P. Indyk. Near-optimal hashing algorithms for approximate nearest neighbor in high dimensions. Communications of the ACM, 51(1): 117–122, 1 2008.\nA. Andoni, P. Indyk, H. L. Nguyen, and I. Razenshteyn. Beyond locality- sensitive hashing. In Proceedings of the 2014 Annual ACM-SIAM Sympo- sium on Discrete Algorithms, pages 1018–1028, 2014.\nA. Andoni, P. Indyk, T. Laarhoven, I. Razenshteyn, and L. Schmidt. Practical and optimal lsh for angular distance. In Proceedings of the 28th Interna- tional Conference on Neural Information Processing Systems - Volume 1, pages 1225–1233, 2015.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.043074556, -0.011253167, 0.028441804, -0.023572296, 0.067010246, -0.027327389, -0.013033808, 0.034159236, -0.06764013, 0.009127299, 0.0013301813, -0.03488603, -0.029023238, -0.015032487, 0.024517126, -0.020846825, 0.035322104, -0.032148443, -0.023354258, -0.004303216, 0.0071770735, -0.00074912596, 0.024674598, 0.028756747, 0.017079618, -0.032463387, 0.031106709, 0.0003361414, 0.028780973, -0.038495764, 0.012240393, -0.016764674, -0.00025343095, 0.01800022, -0.03314173, 0.028441804, -0.0005462298, 0.021803768, 0.02306354, 0.016801015, -0.030234559, 0.013009582, -0.044164743, -0.0142330155, -0.0069226963, -0.028344898, 0.01909041, -0.033069048, -0.028659841, 0.025413502, -0.037962783, 0.016873693, -0.015286864, -0.025679993, -0.029846935, -0.002331792, -0.0014535845, 0.0026664191, 0.06453915, 0.004857395, -0.028587162, -0.03481335, -0.001980509, 0.014390486, -0.008909262, -0.022009693, -0.018799692, 0.023620749, 0.0125371665, 0.003721782, -0.032972142, 0.0018094099, 0.027327389, -0.0012416034, 0.017115958, 0.0313732, -0.017115958, 0.02188856, 0.031252068, 0.017043278, -0.0028799144, 0.012936902, 0.043074556, 0.0053661494, -0.03367471, -0.027375842, -0.0126825245, 0.0028284332, -0.09724481, 0.010762582, -0.022203503, 0.007946262, 0.033698935, 0.0007173288, 0.03224535, -0.017673165, 0.047314174, -0.010362846, 0.008660941, -0.0052268477, -0.05310429, -0.028756747, 0.013675808, -0.038616896, 0.03554014, 0.00966028, -0.016304374, -0.009623941, 0.031155162, 0.011755865, -0.096033484, -0.031348974, -0.08178835, 0.012549279, -0.028441804, -0.04157252, -0.07873583, 0.005847649, -0.017321883, 0.027884597, -0.0058718757, 0.015468562, 0.029992294, 0.052571308, -0.01996256, -0.06889991, 0.032560293, -0.049397647, 0.005481225, -0.02317256, 0.021973353, 0.018060789, -0.011101752, 0.0058082812, -0.02306354, -0.0008630658, -0.045376062, -0.008660941, 0.009611827, -0.04910693, -0.027593879, -0.04728995, -0.0130216945, 0.029047463, -0.019805089, 0.030040747, -0.038786482, 0.0050966307, 0.04922806, 0.025122786, 0.014281468, -0.03069486, -0.004727178, 0.02397203, -0.05087546, -0.013857506, 0.013094374, -0.01950226, -0.011961789, -0.013469883, 0.032947917, 0.029725803, -0.0030222444, 0.027230483, 0.0071165077, 0.022881843, -0.012706751, -0.043001875, -0.045448743, -0.034328822, -0.0034371216, -0.093610846, -0.0028723436, 0.006504791, -0.007607092, -0.014499506, 0.0145721845, 0.019901995, -0.0046090744, -0.038205046, -0.017358221, 0.028078407, 0.012034468, 0.0011598393, -0.0059173005, -0.005432772, 0.02162207, -0.021743203, -0.0026391644, 0.019344788, -0.007873583, 0.037623614, 0.020531882, 0.027182031, 0.0020592448, 0.012403921, 0.0016186269, 0.047750253, -0.034159236, -0.054218702, 0.0135062225, 0.051214628, -0.009418016, -0.015735053, 0.009654224, -0.00047203642, 0.000044596465, -0.006710715, 0.005193536, -0.028272219, -0.032124218, -0.009623941, 0.060953643, 0.017370336, 0.0135546755, 0.00028219982, -0.0408215, 0.0156866, -0.027642332, 0.033820067, -0.021476712, 0.02684286, 0.005702291, 0.043123007, -0.016982712, 0.047096137, 0.009527035, -0.072146244, 0.04554565, -0.019805089, 0.03352935, 0.0030177021, -0.0075283563, -0.040167384, 0.0037974895, -0.012743091, -0.028223766, -0.01629226, -0.024832068, -0.054121796, -0.011731639, -0.023802446, -0.02472305, 0.008909262, 0.019829316, 0.0096481675, -0.033093274, 0.016788902, 0.023596521, -0.03338399, -0.042929195, -0.022845503, -0.0064442246, -0.066961795, -0.015117279, -0.054800138, -0.00561447, -0.0042365934, 0.021404032, -0.003258452, -0.02306354, -0.028926332, 0.014257241, 0.016837355, -0.024371767, 0.012034468, -0.017079618, 0.028611388, -0.01595309, -0.045424517, -0.020919504, 0.025243917, 0.016243806, -0.046781193, -0.0003804303, -0.048670854, -0.01572294, -0.0026891313, -0.0430261, 0.021767428, 0.020023126, 0.013336638, 0.058337193, 0.003358386, 0.049809497, 0.011840657, -0.045012668, -0.019114636, -0.022845503, -0.04857395, 0.022203503, -0.06347319, 0.0049815555, -0.015129392, -0.028611388, 0.037139084, -0.0017185608, -0.024928974, -0.0051026875, 0.0068439604, 0.057804212, -0.015456448, 0.02921705, -0.013033808, -0.00043418267, -0.004294131, 0.04566678, 0.034716442, -0.016994826, 0.023499615, 0.034643766, 0.011513601, -0.02347539, 0.03236648, -0.038326178, -0.036557652, 0.059209343, -0.0275212, -0.041911688, -0.02812686, 0.02388724, -0.06458761, 0.03822927, 0.0066622626, 0.032269575, 0.006716772, -0.008612488, -0.039561726, 0.014111883, -0.020762032, 0.055623833, -0.0339412, 0.0054691117, 0.005269244, -0.027690785, -0.018472636, 0.0055478476, 0.030016521, -0.027763464, 0.026527917, -0.01345777, 0.012185884, 0.003158518, -0.0048907064, 0.017988108, 0.059063986, -0.0024635228, 0.016982712, -0.039295234, 0.0040882067, -0.02177954, -0.060323756, 0.0038096027, -0.0049421876, -0.0034946594, 0.011834601, -0.0026225087, -0.07670081, 0.0070196018, 0.008400507, 0.00044288902, -0.0066016964, 0.017939655, 0.0026936738, -0.0010023677, 0.003167603, -0.02941086, -0.032972142, -0.003097952, 0.044697724, -0.002654306, 0.019138863, -0.02502588, -0.047047686, -0.017648939, 0.02812686, 0.011465148, -0.0061989324, 0.028514482, 0.06575047, -0.018654335, -0.01598943, -0.034692217, -0.041257575, 0.035152517, -0.02087105, -0.050245572, -0.018278826, -0.03122784, -0.011864884, -0.0014891671, 0.0019335703, -0.02003524, 0.029168596, 0.00017337024, -0.03764784, -0.007794847, 0.008521639, 0.038011234, 0.038132366, -0.051699158, 0.010356789, 0.004327442, -0.035200972, -0.01319128, 0.03474067, -0.007534413, 0.056011457, 0.027036672, 0.025849579, 0.0356855, 0.0074556773, 0.032172672, -0.06327938, 0.011543884, -0.015432223, 0.036872596, 0.036048897, -0.0288052, 0.014899242, 0.046975005, 0.0013975609, -0.04237199, -0.065120585, -0.0275212, 0.007473847, 0.04404361, -0.050681647, 0.0027012445, -0.032124218, -0.03425614, 0.029386634, 0.027472747, -0.022736484, -0.006044489, -0.032172672, 0.0339412, 0.043268368, -0.031809274, -0.078445114, 0.026503691, -0.0029768199, -0.08401719, -0.032463387, -0.044019386, 0.018496864, 0.014438939, -0.02306354, 0.02347539, 0.01852109, 0.02529237, -0.019526485, 0.03856844, -0.0022591127, -0.015468562, -0.031930406, 0.03406233, -0.036678784, 0.027230483, 0.010332563, -0.033480898, 0.0047332346, -0.027618106, -0.014584298, 0.030428369, -0.010229601, -0.015626034, 0.0040609515, 0.031470105, -0.018932939, 0.061825793, -0.041596744, 0.0028087492, -0.057561945, -0.01094428, 0.019308448, 0.022760712, -0.03723599, 0.019259995, -0.0300892, 0.01598943, -0.0339412, -0.0024408107, 0.019635504, 0.031591237, 0.01121077, 0.059548512, 0.07093492, 0.018266711, -0.007673715, -0.073115304, -0.046102855, 0.05882172, -0.011495431, -0.02725471, 0.009611827, 0.0212829, -0.022264069, -0.0014558558, -0.0001702473, 0.038301952, 0.004085178, -0.0075586396, 0.045230705, -0.022288296, 0.0399978, -0.0029344237, -0.006516904, 0.006625923, 0.024371767, -0.014535845, 0.060323756, 0.020023126, 0.010508205, 0.028441804, 0.01007213, -0.01644973, 0.018315164, -0.035176747, 0.00008370414, 0.0019789948, 0.037090633, -0.025365049, -0.03122784, 0.022881843, -0.01800022, -0.03675146, -0.048549723, -0.03103403, -0.000110816894, 0.006910583, -0.03144588, -0.020628788, 0.035322104, 0.009854091, -0.009569432, 0.00964211, -0.046102855, 0.00933928, 0.012767318, 0.0000075056914, 0.044746175, 0.010877658, 0.025050107, -0.0073890546, -0.029507766, 0.025268145, 0.0052874135, 0.005190508, 0.005690178, 0.003579452, -0.018666448, -0.010550601, 0.019259995, -0.014342034, -0.017975995, -0.0004364539, 0.019041957, -0.012936902, 0.0070862244, 0.003288735, -0.004021584, -0.016195355, 0.0532981, 0.0005238961, -0.01128345, 0.024202183, -0.011489375, 0.019150976, -0.003370499, 0.028151087, -0.048259005, 0.027472747, -0.024880521, 0.01973241, -0.030815993, -0.028587162, -0.009745073, 0.0438498, 0.029871162, -0.034038104, -0.026261427, -0.053346552, 0.009121243, -0.01852109, -0.019114636, 0.00023885725, 0.03946482, 0.0037581217, 0.014281468, 0.02087105, -0.05363727, 0.007988658, -0.036073122, 0.008079507, -0.013821166, 0.005511508, -0.039973576, -0.028587162, 0.01470543, -0.009018281, 0.039319463, 0.0063230926, -0.0136031285, -0.023608636, 0.021076975, -0.009048563, 0.020519769, 0.02475939, -0.0009834408, -0.024432333, -0.04714459, 0.01121077, -0.027739238, -0.014523732, 0.012058695, -0.012319129, -0.028296445, 0.020180598, -0.010913997, -0.014681203, -0.025147012, -0.00052578875, 0.038810708, 0.0066077528, 0.0064623947, 0.0022167163, -0.041984364, -0.0030600983, -0.024395993, 0.0064442246, -0.008594318, 0.021149654, 0.023875127, 0.0075283563, 0.021040635, 0.01007213, 0.009333224, 0.023608636, 0.04181478, 0.033505123, 0.04540029, 0.018387845, -0.025098559, -0.011271337, -0.023366371, -0.02374188, 0.023717655, -0.017370336, 0.0066562057, -0.019756636, -0.017515693, 0.033626255, 0.015093053, 0.011919393, -0.021379806, 0.03190618, -0.027448522, 0.025994936, 0.0024302115, -0.00873362, -0.034038104, -0.0036430461, -0.005232904, -0.002937452, -0.018472636, -0.0028375182, 0.009418016, 0.031106709, 0.014196675, 0.0031645747, 0.01727343, 0.045448743, -0.037623614, -0.0037762914, -0.016425505, -0.008206696, 0.003418952, -0.055236213, -0.0021364663, 0.012307015, 0.017333996, -0.053055834, -0.028466031, -0.008745734, 0.008188526, 0.03934369, -0.012307015, 0.00999945, -0.010211431, -0.011410639, 0.008545865, 0.011864884, -0.05620527, 0.036654558, 0.0067046587, -0.027351616, 0.035200972, -0.024105277, -0.01841207, 0.011016959, 0.031930406, -0.016231693, -0.026285654, -0.01753992, -0.010695959, 0.0037732632, -0.004103348, 0.061002098, -0.035443235, -0.010265941, -0.0061080833, -0.0040609515, 0.0020244194, -0.050148666, -0.011780092, 0.015844071, -0.013978638, -0.015517015, -0.027642332, -0.044697724, 0.014269355, -0.016522411, 0.010078186, -0.0023999286, 0.011937563, -0.054364063, -0.01780641, 0.0033735274, -0.008473187, 0.021295013, 0.03413501, 0.019441692, -0.004627244, 0.022591125, 0.015420109, -0.046369348, 0.027278936, -0.018775467, 0.001910858, 0.0031342916, -0.0017185608, -0.005399461, 0.026963992, 0.0077161114, 0.0029525936, 0.027787691, 0.0047938004, 0.017031165, 0.017697392, -0.010271997, 0.008333884, 0.008321771, 0.0041881404, 0.027085125, -0.012876336, -0.0045575933, 0.0043516685, 0.00009870369, 0.010853431, 0.005323753, 0.0072194696, -0.052571308, 0.017673165, 0.057465043, -0.015977316, -0.02967735, -0.053734176, 0.007691885, -0.003967074, 0.02812686, 0.033432443, 0.030476822, 0.0027375843, 0.016716221, -0.0038368574, 0.0048452816, 0.002957136, 0.0016413392, -0.02324524, -0.034716442, -0.046223987, 0.021682635, -0.01409977, 0.0064866208, -0.015165732, -0.04736263, 0.016037883, 0.008981941, -0.033335537, -0.01636494, 0.01531109, 0.004051867, -0.019029845, -0.017794298, 0.02907169, -0.029992294, -0.09748707, -0.01655875, 0.044697724, 0.032099992, 0.04067614, 0.013990751, 0.011144148, -0.01618324, 0.012373638, -0.024250636, -0.0049361307, -0.023196787, 0.016679883, 0.020774145, -0.021670522, 0.0019668816, 0.01251294, 0.00040276404, -0.0013733346, -0.0052662157, -0.020762032, 0.031203615, 0.034837577, 0.03575818, -0.00012993305, -0.013445657, -0.013627355, -0.033747386, -0.0062201302, -0.0024635228, -0.01791543, 0.0058203945, -0.016582977, 0.013033808, -0.03406233, -0.026794408, 0.016098449, -0.00035033657, -0.03677569, -0.013542563, -0.00812796, -0.04823478, 0.0022560842, -0.0344015, 0.057368137, -0.020919504, 0.027787691, 0.016013656, 0.021973353, 0.006668319, 0.010817092, -0.014935581, 0.02638256, 0.019853542, -0.010726242, 0.020422863, 0.025389276, 0.007794847, 0.0042335647, 0.0012317614, -0.01383328, -0.0025876833, 0.009617885, -0.0050118384, -0.030912897, -0.02253056, -0.035225198, 0.033844292, 0.018218258, 0.0125371665, -0.00041071334, -0.005111772, 0.0056598946, 0.04540029, 0.052668214, 0.008806299, -0.017661052, 0.023681315, -0.0021606928, -0.001287028, 0.018932939, -0.020301731, 0.028902106, 0.028078407, 0.019247882, -0.024190068, 0.031130936, 0.017224977, -0.018630108, 0.008382337, 0.006468451, 0.016049996, 0.017188637, 0.04380135, -0.011247111, -0.0004334256, -0.006144423, -0.0008365682, 0.033238634, 0.003046471, 0.0077100545, 0.0023272494, 0.0040700366, -0.0063230926, 0.012282789, 0.008545865, 0.01531109, -0.01187094, 0.026334107, 0.04331682, -0.005784055, -0.022772824, -0.008527696, -0.028780973, 0.024856295, 0.016401278, -0.00040352112, 0.021440372, -0.001739759, -0.03905297, 0.013809053, -0.0016367967, -0.007171017, 0.017055392, -0.016074222, -0.004484914, 0.010005507, -0.0034310652, -0.023802446, 0.019175202, 0.041257575, 0.052135233, 0.022494221, -0.0039973576, -0.02948354, 0.007243696, 0.0135062225, 0.035588596, -0.02347539, 0.033432443, 0.031736594, 0.011186544, 0.010162978, 0.013978638, 0.0062019606, 0.024262749, -0.027182031, -0.025801126, -0.0015156647, -0.019599164, -0.0080492245, 0.00691664, 0.031688143, 0.060566023, -0.041306026, 0.021755315, 0.043874025, 0.00786147, 0.047120366, 0.07326066, 0.003309933, -0.0025589145, 0.009545205, 0.0142330155, 0.043219913, -0.015226298, -0.0018851174, -0.00028825641, -0.0009682993, 0.03277833, 0.014390486, -0.0058264514, -0.03231803, 0.057561945, 0.033069048, 0.0017412731, 0.024904748, -0.008763904, -0.028732521, 0.0085337525, -0.013469883, -0.018278826, -0.020737806, -0.005060291, 0.029047463, -0.017697392, -0.029653125, 0.002213688, 0.008067394, 0.029919615, 0.021258673, 0.003782348, 0.0077221678, 0.009369563, -0.011507544, -0.03675146, -0.000044288903, 0.018339392, -0.019175202, 0.0022621409, -0.024262749, 0.061002098, 0.016486071, -0.011562053, 0.012561393, 0.0041094045, -0.031760823, -0.03156701, -0.0004235836, 0.012155601, -0.007885696, 0.036339615, 0.012185884, -0.013372977, 0.020919504, -0.01098062, 0.010060016, 0.035927765, -0.007982601, -0.0300892, -0.026673276, -0.0326572, -0.008333884, 0.053879533, -0.010150866, 0.0073284884, 0.05092391, -0.012349412, -0.051989872, -0.005444885, 0.000026473976, -0.0012045067, -0.008539809, -0.0049240175, -0.046175536, 0.014014977, -0.010677789, -0.007552583, 0.00008706366, -0.0008494385, 0.03122784, -0.020628788, 0.019175202, 0.020120032, -0.04554565, -0.022784937, 0.028514482, 0.0025891974, -0.01955071, -0.017745845, -0.011047242, -0.0060293474, 0.023160446, 0.009157582, -0.05145689, -0.0036188199, 0.0016807071, 0.053734176, 0.050439384, -0.009060677, 0.030331464, 0.01071413, 0.0040972913, -0.013809053, 0.008400507, -0.01470543, -0.007152847, 0.004636329, -0.011404582, 0.011949676, -0.055139307, 0.02370554, 0.0011409124, 0.011331903, -0.0135546755, -0.010502148, 0.007570753, -0.016946374, 0.02563154, -0.0035219141, 0.005357065, -0.0055448194, -0.008969828, 0.011495431, 0.01538377, -0.034159236, 0.008891092, -0.022264069, 0.0086306585, -0.0060808286, 0.0064442246, 0.034377273, 0.010968506, 0.014390486, 0.0014725114, -0.010562714, 0.0000026113182, 0.04508535, 0.016134787, -0.026261427, 0.009175752, 0.011331903, 0.03285101, -0.008721507, 0.0127794305, -0.018242486, -0.03595199, -0.033238634, -0.021488825, -0.023911465, 0.024226408, -0.0061625927, 0.0015451906, 0.003479518, -0.044770405, 0.02165841, 0.00937562, -0.0035279708, 0.014305694, -0.0047302064, -0.026334107, 0.001085646, 0.010387072, -0.00907279, -0.010235658, 0.007594979, 0.037623614, -0.00059165433, -0.011295563, 0.017866977, -0.0137484865, 0.013142827, -0.034789123, -0.015504901, -0.058579456, -0.0070983376, 0.011610506, -0.00748596, -0.01814558, -0.020301731, 0.02370554, -0.0035643103, 0.03951327, -0.015965203, -0.018932939, 0.0013339666, -0.0076979413, 0.027060898, 0.0072558094, -0.034038104, 0.0399978, -0.004757461, -0.011416695, -0.050294023, -0.013142827, 0.02253056, -0.012088978, -0.0065290174, -0.010738356, 0.02434754, -0.0018836033, 0.02461403, 0.000542823, 0.017321883, 0.002845089, 0.01818192, -0.01221011, 0.032802556, -0.021258673, 0.01636494, 0.02078626, 0.009327168, -0.007849356, -0.010859488, 0.0034643766, -0.0011817944, 0.0033038764, 0.03851999, -0.017346108, 0.009060677, -0.0016549665, -0.028296445, -0.04324414, 0.02698822, -0.05039093, 0.006377602, -0.001227219, 0.011501487, 0.0016080278, -0.007413281, 0.009793526, -0.004542452, -0.01319128, 0.01538377, -0.013905958, 0.00017138291, 0.018617995, -0.004736263, 0.0011189573, -0.0072860923, -0.041063763, 0.01720075, 0.032802556, -0.007049885, -0.009599715, -0.005768914, 0.024783617, 0.005450942, -0.004212367, 0.011465148, -0.022409428, -0.0026876172, -0.06051757, 0.021525163, -0.015395883, -0.020277504, -0.04116067, 0.04615131, 0.008358111, -0.00028636373, -0.013930185, 0.017140184, -0.0074556773, 0.017648939, 0.006759168, 0.042662706, -0.0003047228, 0.04930074, -0.021755315, 0.013966525, 0.004948244, 0.050148666, -0.017648939, -0.006208017, 0.011804318, 0.00016759754, 0.028562935, -0.0009062191, 0.018605882, 0.038423084, -0.048331685, 0.020834712, 0.060323756, -0.009042507, -0.021222334, -0.0055751023, -0.022675918, -0.015359543, -0.013385091, -0.008866865, -0.027593879, -0.009944941, 0.029289728, 0.005823423, 0.01126528, 0.0035885368, -0.031397425, 0.021040635, 0.021500938, -0.012204054, 0.028054181, -0.0019335703, 0.03847154, 0.011816431, 0.005060291, 0.028611388, -0.057028964, -0.0069953753, -0.035976216, 0.00964211, 0.00219249, 0.007734281, -0.0012294903, 0.010326507, 0.02570422, -0.011895167, -0.0022969663, -0.0018684617, 0.02233675, 0.026552144, -0.032148443, -0.03197886, 0.0068863565, 0.02543773, 0.06405462, 0.015117279, 0.013784827, -0.017552033, 0.009969167, -0.0033402161, 0.011295563, 0.033069048, -0.03587931, 0.007909923, 0.0005038336, 0.018932939, 0.022893956, 0.012307015, 0.0455941, -0.012549279, -0.029192822, 0.023027202, -0.0052117063, 0.0275212, -0.007703998, 0.038738027, 0.030331464, -0.055526927, 0.0055963006, 0.039658632, 0.001045521, -0.0054479134, 0.0029601643, -0.0057961685, 0.038738027, -0.006625923, -0.05145689, -0.029725803, -0.01534743, -0.0056296117, -0.0030025605, 0.021718975, 0.027957276, -0.0018745183, -0.031009803, -0.025413502, -0.03372316, -0.0019335703, -0.004917961, 0.013978638, -0.024093164, -0.021791654, 0.01878758, 0.00964211, 0.008200639, -0.0050875456, 0.007001432, -0.0061111115, 0.022046031, 0.0072558094, -0.004203282, 0.016268034, 0.0013324525, -0.014487392, -0.011386412, 0.021767428, -0.0071286205, 0.018206146, 0.025994936, 0.003970103, 0.00597181, -0.001005396, -0.03554014, -0.030161878, 0.050148666, -0.01909041, 0.010708072, 0.009381677, -0.008564035, 0.03554014, -0.0015361058, -0.0030540416, 0.010562714, 0.016655656, -0.025849579, 0.023305805, -0.015105166, 0.008024998, 0.0014558558, -0.01409977, -0.0055448194, -0.016340712, -0.012876336, -0.012888449, 0.0016277118, -0.03178505, 0.031760823, 0.002745155, 0.007352715, 0.0014778109, 0.0059536397, -0.018896598, 0.019853542, -0.007928092, -0.00017564146, -0.011967846, -0.0146690905, 0.0006348076, 0.011610506, 0.02074992, 0.0065290174, -0.014814449, 0.020774145, 0.005314668, 0.022167165, 0.039949346, 0.049421873, 0.026091842, 0.0029707632, -0.024928974, -0.0048422534, 0.01844841, -0.016037883, -0.059645418, 0.03197886, 0.0080007715, -0.009278715, 0.01194362, 0.016994826, 0.017115958, -0.0054993946, 0.012936902, -0.012428148, 0.021089088, 0.010169035, -0.006298866, -0.03069486, 0.057901118, -0.0567867, -0.014172449, -0.023826674, 0.004194197, 0.007607092, 0.00083126867, -0.0136515815, -0.012476601, -0.02260324, -0.0040488387, 0.014463166, 0.009103073, 0.0034522633, 0.0030419284, -0.011895167, -0.014293581, 0.013591016, 0.017612599, -0.009381677, 0.016389165, 0.006317036, 0.030840218, 0.030912897, -0.0010364361, -0.0068984698, 0.019490145, -0.03822927, -0.0275212, -0.028054181, -0.020471316, -0.024141617, 0.049034253, 0.010271997, -0.020023126, 0.026503691, 0.027739238, 0.01315494, 0.047726024, -0.007915979, 0.020580335, -0.0050057815, 0.0010016105, 0.016425505, 0.004548508, -0.006335206, 0.021900674, -0.009224205, -0.0030767538, 0.006831847, 0.029289728, -0.008673054, 0.03197886, -0.00518748, -0.03583086, 0.0028390323, 0.0064926776, -0.021391919, -0.014196675, -0.011434865, 0.016522411, -0.0044001215, 0.0068076206, 0.033820067, -0.002686103, 0.03178505, 0.023039315, -0.0021198108, 0.0022545701, 0.037526708, 0.013918072, -0.0018548344, -0.010726242, -0.027811917, 0.013372977, -0.0068439604, -0.018290939, -0.027593879, 0.0012620445, -0.0017261317, 0.008909262, 0.0015671458, 0.011986015, 0.0155412415, 0.027400069, -0.024408108, 0.0033159896, 0.00565081, -0.0014793251, 0.018605882, -0.009593658, -0.022494221, 0.0050118384, -0.029628897, -0.016352827, 0.0019078297, 0.028175313, -0.021634184, -0.027957276, -0.042396214, 0.004163914, -0.03142165, -0.0029889331, 0.014111883, 0.06565357, 0.0038247444, 0.034086555, -0.023305805, -0.026867088, 0.016243806, -0.033456672, 0.008618545, -0.011386412, 0.021464597, -0.012385751, 0.012803657, -0.021307126, 0.021718975, 0.01007213, -0.0060687154, 0.0061141397, -0.01969607 ]
2401.09350
196
Y. Bachrach, Y. Finkelstein, R. Gilad-Bachrach, L. Katzir, N. Koenigstein, N. Nice, and U. Paquet. Speeding up the xbox recommender system using a euclidean transformation for inner-product spaces. In Proceedings of the 8th ACM Conference on Recommender Systems, page 257–264, 2014. 71 72 5 Locality Sensitive Hashing J. Buhler. Efficient large-scale sequence comparison by locality-sensitive hashing. Bioinformatics, 17(5):419–428, 05 2001. M. S. Charikar. Similarity estimation techniques from rounding algorithms. In Proceedings of the Thiry-Fourth Annual ACM Symposium on Theory of Computing, pages 380–388, 2002. M. Datar, N. Immorlica, P. Indyk, and V. S. Mirrokni. Locality-sensitive hashing scheme based on p-stable distributions. In Proceedings of the 20th Annual Symposium on Computational Geometry, pages 253–262, 2004. A. Gionis, P. Indyk, and R. Motwani. Similarity search in high dimensions via hashing. In Proceedings of the 25th International Conference on Very Large Data Bases, pages 518–529, 1999.
2401.09350#196
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 196, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Y. Bachrach, Y. Finkelstein, R. Gilad-Bachrach, L. Katzir, N. Koenigstein, N. Nice, and U. Paquet. Speeding up the xbox recommender system using a euclidean transformation for inner-product spaces. In Proceedings of the 8th ACM Conference on Recommender Systems, page 257–264, 2014.\n71\n72\n5 Locality Sensitive Hashing\nJ. Buhler. Efficient large-scale sequence comparison by locality-sensitive hashing. Bioinformatics, 17(5):419–428, 05 2001.\nM. S. Charikar. Similarity estimation techniques from rounding algorithms. In Proceedings of the Thiry-Fourth Annual ACM Symposium on Theory of Computing, pages 380–388, 2002.\nM. Datar, N. Immorlica, P. Indyk, and V. S. Mirrokni. Locality-sensitive hashing scheme based on p-stable distributions. In Proceedings of the 20th Annual Symposium on Computational Geometry, pages 253–262, 2004. A. Gionis, P. Indyk, and R. Motwani. Similarity search in high dimensions via hashing. In Proceedings of the 25th International Conference on Very Large Data Bases, pages 518–529, 1999.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.033252064, -0.012537346, 0.041881584, 0.025978982, 0.01672938, -0.021612551, 0.026082331, 0.031055931, -0.064333834, 0.025681859, 0.018731738, -0.015540884, -0.014701185, 0.005183524, 0.0015599016, 0.034931462, 0.050252732, -0.031831037, -0.03206357, 0.0025723844, 0.005141539, 0.016535603, 0.013125136, 0.057926286, 0.013189727, -0.023007741, 0.027800484, 0.03255447, 0.014920798, -0.06552233, -0.009876148, -0.014300713, 0.036559187, -0.0068467734, -0.042863384, 0.023782847, -0.011742862, 0.050898653, 0.03356211, 0.016341826, -0.020320706, 0.04263085, 0.014920798, -0.02044989, 0.008002974, -0.008351771, 0.032270264, -0.051389556, -0.01631599, 0.047410674, -0.024118727, 0.016096376, -0.03844528, -0.025849799, 0.004605424, -0.006055519, -0.01789204, 0.031856872, 0.04157154, -0.010386426, -0.021961348, -0.06407546, -0.008455119, 0.044284414, -0.04100313, 0.0041048345, -0.011736403, -0.003604245, 0.022323065, 0.030590866, -0.009579023, 0.031753525, 0.062318556, -0.014274877, 0.0031359512, -0.017465731, -0.01830543, 0.05895976, -0.014649511, 0.009585483, 0.022801047, 0.02790383, 0.031598505, -0.022284308, -0.03875532, -0.026818682, -0.014765777, -0.008907264, -0.042449996, 0.054205775, -0.013564362, 0.024971345, -0.00057083357, -0.022658944, 0.0354482, -0.0020927873, 0.01349977, -0.010489773, 0.034130517, 0.036895066, -0.039142873, -0.0313143, 0.032089405, -0.027283745, 0.076683864, -0.028291384, -0.009908443, 0.005913416, 0.020591993, 0.03405301, -0.068932794, 0.032838676, -0.07234327, 0.0077381455, -0.01176224, -0.013861487, -0.036559187, -0.040434718, -0.049813505, 0.032089405, -0.009372328, -0.0064172354, 0.030668376, -0.015217923, 0.0049057775, -0.055600967, 0.030797562, -0.06645246, 0.0059812376, -0.041959092, 0.00994074, -0.007906086, 0.014791614, 0.006808018, -0.02790383, -0.0034072385, -0.039220385, -0.03469893, -0.010283078, -0.021380018, -0.012117497, -0.047488187, -0.01955852, 0.014701185, -0.010825653, 0.016341826, -0.034931462, 0.030590866, 0.03586159, 0.017646588, 0.0026014508, -0.052810583, 0.01755616, 0.005186754, -0.05399908, -0.052526377, 0.014959553, -0.0005635669, -0.020475728, -0.020230277, -0.000016084972, 0.010134516, 0.018692983, 0.012763419, 0.040538065, 0.025862718, -0.041623212, -0.031650178, -0.059734866, -0.03436305, 0.000997142, -0.08557175, -0.00032679617, -0.015205004, 0.021612551, 0.00621377, -0.0010649639, -0.050536938, -0.026146922, -0.011652433, 0.011562004, 0.0022235864, 0.0395821, -0.0063720206, 0.00082678016, 0.001031053, 0.015993029, 0.015786333, 0.02327903, 0.037385967, -0.008971857, 0.051492903, -0.033122882, 0.042062443, -0.030177476, -0.047074795, 0.0059327935, 0.0042211004, -0.010812734, -0.017465731, 0.0082613425, 0.025668941, -0.015411699, 0.014119855, -0.058908086, -0.028885633, -0.0005122969, -0.016923157, -0.037153434, 0.034802277, -0.00687261, 0.004753986, 0.052655563, -0.0063752504, 0.0003707996, 0.013951915, -0.034078844, 0.017026505, -0.004934844, 0.0379027, -0.018421696, 0.02873061, 0.0033781722, 0.025694778, -0.056944486, 0.004324448, 0.019997746, -0.067899324, 0.04400021, -0.052500542, 0.07063803, 0.0029696263, -0.001805352, -0.015450454, 0.0010504307, 0.036481675, -0.04097729, 0.0053030197, -0.04100313, -0.03172769, -0.010903164, -0.030099966, 0.00043074923, 0.0035461118, 0.018189164, 0.0140811, -0.053637363, 0.01913221, 0.005451582, -0.015411699, -0.05157041, -0.015941355, -0.007602502, -0.041519865, 0.01151033, -0.027567951, -0.036662534, 0.021677142, 0.02358907, 0.02940237, -0.052061312, -0.0014412135, -0.0058585126, 0.033639617, -0.056014355, 0.01945517, -0.026508639, 0.031055931, -0.006336495, -0.006136259, 0.002210668, 0.02534598, 0.021341262, -0.008203209, -0.015140411, -0.016419338, 0.0037301995, 0.01598011, -0.018253757, 0.0052642645, -0.025307225, -0.0058423644, 0.03239945, -0.015308351, 0.047281493, -0.0028420568, -0.010308915, -0.022426412, -0.06764095, -0.039142873, 0.0151791675, -0.043276776, -0.016303072, -0.028343057, 0.006866151, 0.03064254, -0.021625469, -0.036636695, 0.0023156304, -0.015372944, 0.0427342, -0.010463936, 0.026134005, 0.008726406, -0.013512689, 0.033432923, -0.0281622, 0.008041729, 0.035732407, 0.021470448, 0.020243196, 0.0020766393, -0.00977926, 0.021147486, -0.059011433, -0.017013585, 0.04986518, -0.029040653, -0.02409289, -0.04937428, -0.007253704, -0.033303738, 0.033975497, -0.012130415, 0.022426412, -0.008493874, 0.006168555, 0.0051673763, 0.0036752962, -0.06877778, 0.033252064, -0.028523916, 0.014352387, -0.0019426105, -0.008823294, -0.035060648, 0.023563234, 0.039297894, -0.0374118, 0.00480566, -0.034957297, -0.03221859, -0.01607054, 0.0064204647, 0.030875072, 0.022142207, -0.020837445, 0.05616938, -0.008842672, -0.03064254, -0.01813749, -0.065315634, -0.018990107, -0.015049983, 0.027025377, -0.009869688, 0.010166813, -0.05467084, -0.008287179, 0.00082678016, 0.015540884, 0.01631599, 0.054515816, -0.0137839755, 0.012156252, 0.021250835, -0.043922696, -0.026482802, -0.020333625, 0.02493259, -0.06526396, 0.01963603, -0.07570206, -0.02774881, -0.019894397, 0.030694215, 0.023395294, 0.044103555, 0.03960794, 0.07332507, 0.004876711, 0.008726406, -0.0025659252, -0.015786333, 0.07430687, 0.022917314, -0.026211515, -0.020566156, -0.07461691, -0.012466295, -0.055290923, -0.02335654, -0.0053805304, 0.022013022, -0.012608398, -0.035267342, 0.0854684, -0.0002547355, 0.019028863, 0.04818578, -0.045343723, 0.013448096, 0.032425284, -0.009540268, -0.015360026, 0.053792384, -0.024803406, 0.05699616, 0.029092327, 0.02178049, 0.011193829, 0.03237361, 0.023214437, -0.010308915, 0.020966629, 0.0021719127, 0.031908546, 0.0015251833, 0.0024335112, 0.0231886, 0.017220281, 0.033923823, -0.06510894, -0.027800484, -0.005700262, 0.0010617343, 0.022491004, -0.04332845, 0.019829806, -0.02790383, -0.050046038, 0.04232081, 0.03826442, -0.0041791154, -0.027154561, -0.040021326, 0.06800267, 0.05327565, 0.008403446, -0.028549753, -0.04180407, -0.022968987, -0.054050755, 0.017620752, -0.018421696, -0.019196803, 0.018912597, -0.013874405, 0.0071374383, 0.026456965, 0.031856872, -0.024803406, 0.034983136, 0.011226124, -0.0031004257, -0.012705286, -0.003684985, -0.019661866, 0.032476958, 0.014623675, -0.029867433, 0.0061298, -0.0136806285, -0.017323628, 0.014649511, 0.00496714, -0.0060006157, -0.00041116972, 0.036972575, -0.025798125, 0.04555042, -0.03999549, 0.06355873, -0.001887707, -0.017711181, 0.024067054, 0.020876199, -0.05095033, -0.00011737614, -0.015618394, 0.020940792, -0.047255654, -0.01847337, 0.033122882, -0.01864131, 0.03743764, 0.033122882, 0.023317784, -0.01473994, 0.018253757, -0.049141746, -0.0041112937, 0.055755988, -0.013590199, -0.047669046, 0.01896427, -0.0049897474, -0.011452197, 0.021702979, 0.022516841, 0.005141539, -0.031495158, -0.026211515, 0.049658485, -0.0040854565, 0.007169734, 0.004340596, -0.02749044, -0.00025917622, 0.02542349, 0.02327903, 0.0064172354, 0.014817451, -0.00985677, 0.020747015, 0.057047833, -0.033613782, 0.009843851, -0.009230225, 0.048935052, -0.009197929, 0.028446404, -0.017788691, -0.032347772, 0.0006988069, -0.016432256, -0.02493259, -0.070121296, -0.039452918, -0.048805866, -0.00985031, -0.0151791675, 0.02798134, 0.018731738, -0.027722973, -0.017762855, -0.013228483, -0.021108732, 0.016522685, 0.021922592, -0.0019910545, 0.031520993, 0.0058585126, 0.05591101, 0.026792845, -0.012330651, -0.00397565, 0.0076993904, 0.017297791, 0.028627263, -0.023201518, -0.027955504, -0.01151033, 0.0066207005, -0.007751064, 0.004256626, 0.021883838, 0.017543241, 0.00836469, -0.0070276316, -0.0010165197, -0.007757523, 0.026818682, 0.043586817, 0.0074668583, 0.018111654, 0.032580305, -0.007169734, 0.005002666, -0.0007266623, 0.003991798, -0.039866306, 0.032347772, -0.033768803, -0.005874661, 0.012821551, -0.03030666, -0.02883396, -0.0042372486, 0.012976573, -0.021418775, 0.0019054699, -0.014171529, 0.018408777, 0.010528529, -0.036662534, -0.013525607, 0.033639617, 0.01804706, 0.019597273, 0.017607834, -0.011736403, 0.033252064, -0.0100893015, 0.024079973, 0.007751064, -0.0004477047, -0.013099298, -0.03237361, -0.0068855286, -0.0030907367, 0.003097196, 0.004511765, -0.047565695, -0.030254986, 0.015088738, 0.017866204, 0.040460553, 0.022826884, -0.0025820732, 0.0016584047, -0.0126536125, 0.02749044, -0.0088362135, 0.00231886, 0.0076993904, -0.0137839755, -0.02583688, 0.01598011, -0.00054015225, -0.0054774187, -0.020591993, 0.009960118, 0.040047165, 0.02020444, 0.02947988, 0.008784539, -0.036145795, -0.0053030197, -0.035138156, -0.003998257, -0.0024076742, 0.018757574, 0.030048292, 0.037205108, 0.056737788, 0.00079206185, 0.039452918, 0.014442816, 0.010761061, -0.006278362, 0.05242303, 0.019778132, -0.013054084, -0.014274877, -0.022387657, -0.0029502488, 0.014649511, -0.033407085, -0.014959553, -0.015799252, -0.03015164, 0.019248476, -0.009843851, 0.011633055, -0.0068015587, 0.011419901, -0.015993029, 0.00438904, -0.04505952, -0.0025885324, -0.004298611, -0.010593121, -0.037670173, -0.00028198533, 0.009843851, 0.0021832164, 0.026353618, 0.014623675, 0.040563904, 0.03774768, 0.007214949, 0.04976183, 0.0056873434, -0.016096376, -0.01441698, 0.004828267, -0.020927873, -0.029583229, 0.02790383, 0.0013120291, 0.02037238, -0.027542114, -0.023253193, 0.04048639, 0.013409341, 0.032580305, -0.0064107757, 0.012298355, -0.023382377, -0.005012355, -0.024364179, 0.030875072, -0.008952479, 0.007105142, 0.0034072385, -0.007906086, 0.04934844, -0.03867781, -0.053637363, 0.022801047, 0.022116369, -0.0055516995, -0.04164905, -0.026844518, -0.026637824, -0.020902036, -0.014998309, 0.037696008, -0.0286531, -0.021405855, 0.013448096, -0.016781054, 0.01573466, -0.032838676, -0.0048218076, 0.02302066, 0.008493874, -0.00645922, -0.0376185, -0.01846045, 0.014068182, -0.0145849185, -0.006982417, -0.0022591122, 0.010237864, -0.03950459, -0.009992413, -0.013422259, -0.0056195213, 0.013887323, 0.019313067, 0.030487519, 0.04299257, 0.030926745, 0.006775722, -0.023666583, 0.015024146, -0.011387605, 0.017762855, -0.0019345364, -0.0021961348, 0.0115878405, 0.011645974, 0.017426975, -0.005822987, 0.01275696, -0.025384735, 0.012195008, -0.0038981393, -0.02046281, 0.010890245, -0.0027338648, -0.010883786, 0.006094274, -0.020424053, 0.0020491877, 0.02302066, -0.015334188, 0.040512227, 0.03139181, 0.039375406, -0.026263189, 0.037463475, 0.04867668, -0.025048856, -0.03586159, -0.023046497, -0.016199725, -0.0012740812, 0.007686472, 0.016341826, 0.02898898, -0.0063558724, 0.052707236, -0.0065367306, 0.004272774, -0.0013532066, -0.014184447, 0.016018866, -0.026276108, -0.010980674, 0.044568617, -0.030358335, -0.023653664, -0.010115138, 0.0001120271, 0.004321218, 0.05921813, -0.041183986, -0.022064695, 0.03487979, 0.007305378, -0.0040693088, -0.021870919, 0.020075256, -0.0076218797, -0.08164454, -0.017659508, 0.049296767, -0.01126488, 0.021832164, 0.02020444, 0.033329576, 0.015062901, 0.030875072, -0.006194392, 0.010031168, -0.021974267, 0.013732302, 0.018822167, -0.014378224, -0.02427375, 0.0076477164, -0.018124571, 0.009624238, 0.02981576, 0.0114651155, 0.012414621, 0.040228024, 0.006443072, -0.016587278, 0.0500202, -0.021870919, -0.0058940384, -0.022994824, -0.0006091852, -0.019829806, -0.0011166377, -0.020837445, 0.017569078, -0.02924735, -0.00095434976, 0.014817451, 0.027877994, -0.01192372, 0.0044600912, 0.014378224, -0.058753066, -0.025190959, -0.02343405, 0.054877535, -0.03774768, 0.011807454, 0.0041048345, 0.011800995, 0.01928723, 0.007079305, -0.005622751, -0.013060543, -0.005099554, 0.013015328, 0.0052868715, 0.025746452, -0.0037366587, -0.010819194, -0.01167827, 0.0035654895, -0.021987185, 0.009727585, -0.003345876, -0.0015058056, -0.021173323, -0.031133441, 0.035887428, 0.019158047, 0.004631261, 0.009172092, 0.01829251, 0.025384735, 0.038548626, 0.010877326, 0.005697032, 0.01847337, 0.003982109, -0.022723537, 0.0051286207, 0.051002003, -0.03221859, 0.006258984, 0.016251398, 0.012382325, -0.018421696, 0.007860871, 0.007712309, -0.029014817, 0.013525607, 0.010612499, 0.015618394, 0.0050381916, 0.026792845, 0.00018408777, 0.002418978, 0.013977752, 0.0056808842, 0.037799355, 0.022348901, 0.042114116, -0.020992465, 0.002725791, 0.01250505, 0.014042345, 0.036998414, 0.031185115, -0.03568073, -0.001478354, 0.026392372, 0.02583688, -0.006310658, -0.048469987, -0.016225561, -0.02542349, 0.018848004, -0.0022429642, 0.0072924593, 0.030616703, -0.025281386, 0.013241401, -0.010541447, 0.0091656335, 0.002045958, 0.004114523, 0.042915057, 0.016341826, 0.031831037, -0.031081768, 0.00074482884, 0.030280823, 0.044542782, 0.038626134, -0.019170966, -0.0144815715, 0.040047165, 0.011626597, -0.01565715, -0.071154766, 0.015269596, 0.0041468195, -0.0061588665, -0.011187369, 0.008041729, 0.015295433, 0.0177241, -0.03710176, -0.03206357, -0.005500026, -0.021470448, -0.008170913, -0.030875072, -0.0032602914, 0.030565029, 0.00014543338, 0.046997286, 0.013835649, -0.013293074, 0.047436513, 0.08097278, 0.019145127, 0.018783413, 0.0054128263, -0.013448096, 0.011710566, 0.0002686632, -0.013693547, 0.015631313, 0.019971909, 0.033148717, 0.035267342, -0.025798125, -0.005625981, 0.03627498, 0.025242632, 0.017930795, 0.027722973, -0.021535039, -0.022245554, 0.016005948, 0.007828575, -0.0123048145, -0.029505717, -0.019933153, 0.0068532326, 0.0022138976, -0.027567951, -0.0085907625, -0.015398781, 0.020604912, 0.026121086, 0.016251398, 0.015347107, 0.014559082, -0.008823294, -0.023731174, -0.039866306, 0.006394628, -0.009960118, -0.006904906, 0.017336547, 0.01847337, -0.0033846314, 0.006507664, -0.021586714, 0.027542114, 0.0070082536, -0.010115138, 0.010405803, 0.009495053, -0.028523916, 0.026405292, 0.0002706817, 0.015618394, 0.019067617, 0.004960681, -0.0037301995, 0.030384172, -0.042191625, -0.014339468, 0.0052642645, -0.031908546, -0.01896427, 0.042372484, -0.013486852, 0.003985339, 0.023201518, 0.016742298, -0.052164663, -0.0016083458, -0.00046869717, 0.010567284, -0.0029292563, -0.038290255, -0.029144, 0.005231968, -0.017775774, -0.024919672, -0.0061168815, -0.00023757819, 0.012924899, -0.027852157, 0.01822792, 0.019894397, -0.00455375, -0.04283755, 0.035086483, -0.029144, -0.020062337, -0.020940792, 0.016613115, -0.007692931, 0.021612551, 0.0025530066, -0.02285272, -0.016819809, -0.022038858, 0.045188703, 0.07192987, 0.006782181, 0.009404625, -0.008351771, 0.017259035, 0.0029938484, 0.00919147, -0.031365972, -0.0052448865, 0.0074668583, -0.009243144, 0.016445175, -0.034750603, 0.00026846133, 0.0016745528, 0.019235557, -0.021018302, 0.016626032, 0.021715898, 0.006866151, 0.007680013, -0.011652433, 0.0026434357, -0.010857949, -0.025668941, 0.011516789, 0.00886205, -0.044439435, 0.005067258, -0.020346543, 0.031288464, -0.0054548113, 0.019739376, -0.007847953, 0.010560825, 0.012776338, 0.022064695, -0.017659508, -0.018938433, 0.027438767, 0.039013688, -0.027671298, 0.0240283, 0.004605424, 0.027800484, 0.019080536, 0.04505952, 0.0071180607, -0.021535039, -0.025436409, -0.011555545, -0.035319015, 0.04562793, -0.014572, 0.029169837, 0.029970782, -0.035396527, 0.025462246, 0.00057487056, 0.03170185, -0.025126366, -0.004676475, 0.002850131, 0.022981904, 0.026715335, 0.017129852, -0.006388169, -0.010011791, 0.027257908, -0.008319476, -0.0042340187, 0.019519763, -0.013105758, 0.025888555, -0.010780438, -0.0026660431, -0.03578408, -0.020669505, 0.01167181, 0.007983596, -0.0030988108, -0.008842672, 0.036662534, 0.013796894, 0.020798689, -0.015437536, -0.0056453585, 0.01399067, -0.014856206, 0.023485724, 0.026456965, -0.02880812, 0.053327322, 0.006468909, -0.028678937, -0.022465168, 0.002741939, 0.026095249, -0.0008211284, 0.03301953, -0.0020685652, 0.022025941, 0.028523916, 0.02989327, -0.000076652774, -0.0006927514, -0.0025949916, 0.022891477, -0.0052513457, 0.0359391, -0.039969653, 0.01830543, 0.014998309, 0.012459836, 0.018370021, -0.014261958, 0.0046506384, -0.011200287, 0.020230277, 0.009979495, -0.040512227, 0.021612551, -0.011006511, -0.02947988, -0.022155125, 0.042605016, -0.04296673, 0.033407085, -0.035887428, 0.013383504, 0.050252732, -0.00023394488, 0.025720615, -0.014623675, -0.011148614, 0.011723485, -0.008887887, -0.0037398883, 0.034905624, 0.0009640386, -0.0005389412, -0.033303738, -0.0092883585, 0.02823971, 0.032838676, -0.02095371, -0.0056195213, -0.0044407137, -0.005416056, 0.0070534684, 0.024079973, 0.0129636545, -0.018822167, 0.020630749, -0.045989648, -0.0029938484, -0.012078742, -0.022826884, -0.034414724, 0.003643, 0.0012708516, -0.024919672, -0.025604349, 0.012220845, -0.0014880429, 0.0047087716, 0.01946809, 0.00047152306, -0.010554366, 0.043070078, -0.0097598815, -0.007822116, -0.00092286104, 0.026134005, -0.019597273, 0.038548626, 0.013887323, -0.009818015, 0.042889223, 0.01939058, 0.0025982212, 0.03960794, -0.015863845, 0.029764086, 0.041442357, 0.007337674, -0.008325934, -0.01631599, -0.025694778, 0.0016487159, 0.03578408, -0.017581997, -0.022891477, -0.009133337, 0.015217923, 0.033510435, -0.015308351, 0.024609629, -0.03844528, 0.008732866, 0.033665456, -0.008254883, 0.0019167735, 0.021018302, 0.062111862, 0.007809197, -0.007660635, 0.013157431, -0.047410674, 0.03252863, -0.012924899, 0.021237915, 0.020759933, 0.0034169275, 0.009876148, 0.011600759, 0.030900909, -0.016096376, 0.017879121, -0.015838008, 0.0015082279, 0.04531789, -0.035163995, -0.020940792, 0.016793972, 0.054929208, 0.038367767, 0.020217359, -0.0028372125, -0.007079305, 0.010793357, -0.018899677, -0.026715335, -0.0036300817, -0.028265547, -0.01970062, -0.01945517, -0.00028884824, 0.003998257, -0.0027112577, 0.05467084, -0.026741171, -0.0028016868, 0.043431796, 0.011626597, -0.025035936, 0.010031168, 0.041855745, 0.014300713, -0.035809916, 0.01565715, 0.014572, 0.014455735, 0.0033426464, 0.018395858, -0.026030656, 0.030435845, 0.0074926955, -0.034440562, -0.044749476, 0.0034427643, -0.00085100223, -0.010690009, 0.020863282, -0.0023899113, -0.017504487, -0.026586149, -0.024131646, -0.01184621, -0.014972473, 0.0030406779, 0.033407085, -0.0029195675, -0.0038270878, 0.011736403, -0.008351771, -0.0006406739, -0.018421696, 0.039659612, -0.0038044807, 0.0057260985, -0.015205004, -0.021263752, 0.0063203466, -0.0032005436, 0.010593121, 0.0036365408, 0.007279541, -0.010728764, 0.0039045985, 0.042605016, 0.018408777, -0.0040434715, -0.024622547, 0.0011158303, -0.013771057, 0.03304537, -0.03826442, -0.0014468653, 0.014378224, 0.02849808, 0.025294306, 0.030203313, 0.006019993, 0.013525607, 0.01805998, -0.018408777, 0.046971448, 0.0052642645, 0.021845082, 0.0045698984, 0.019997746, 0.008803917, -0.020424053, -0.01838294, -0.008661814, -0.0065819453, 0.0030213, 0.006611012, -0.016018866, 0.00455698, 0.02831722, -0.012291896, 0.019067617, 0.008080484, -0.021664225, -0.019364743, -0.0031181886, -0.03653335, -0.010748142, 0.020101093, 0.006559338, 0.010819194, -0.009753422, 0.010580203, 0.012582561, -0.00977926, 0.041183986, 0.049580973, 0.015863845, 0.020281952, -0.022038858, -0.015463373, 0.034750603, -0.028007178, -0.013293074, 0.0068855286, -0.0047733635, 0.012065823, 0.018240837, -0.016160969, 0.03743764, -0.010121598, -0.013344749, -0.0066207005, -0.00049372663, -0.0038723024, 0.016509766, -0.00095112016, 0.04934844, -0.027929667, -0.022297228, -0.0042760037, 0.018822167, 0.003901369, 0.0039627315, -0.014701185, -0.017569078, -0.012433998, -0.0009672682, 0.00097130524, -0.023576153, 0.023537397, 0.005193213, -0.004347055, 0.0065141236, 0.01018619, 0.017581997, -0.02326611, 0.02311109, 0.008513252, 0.02493259, 0.012136875, 0.015437536, -0.01796955, 0.017375302, -0.047359, -0.015088738, -0.011071104, -0.010057006, -0.01366771, 0.013603117, 0.013616036, -0.016651869, 0.0020346544, 0.0009947199, 0.019429334, 0.031133441, -0.007919004, 0.035008974, 0.014559082, 0.0016010791, 0.0245192, -0.023382377, -0.017336547, 0.02410581, -0.004763675, 0.021754652, 0.0067046704, 0.033277903, 0.0025836881, 0.025643103, -0.034673095, -0.023989543, 0.020940792, 0.0023882966, -0.021845082, -0.017465731, -0.012840929, 0.026405292, -0.00008275876, -0.008280721, 0.049296767, 0.0073505924, 0.019855643, 0.012995951, -0.016432256, 0.004198493, 0.014429898, 0.028549753, 0.027645461, -0.027025377, -0.012330651, 0.014468653, -0.023304867, -0.019364743, 0.011884965, 0.0126536125, 0.0132091055, 0.014236121, 0.014765777, -0.008635977, 0.016354745, 0.020398216, 0.014610756, -0.012957196, 0.040538065, 0.02376993, 0.024364179, 0.0022138976, -0.024661303, 0.016690625, -0.02798134, -0.016483929, 0.0082613425, 0.003601015, -0.011781617, 0.02749044, -0.03402717, 0.020734096, -0.033794638, -0.02898898, -0.0092883585, 0.058443025, -0.005193213, 0.01200769, -0.005399908, -0.029841596, -0.016083458, 0.0012692368, 0.00943692, -0.031185115, 0.028963143, -0.010399344, -0.012052905, 0.0019894398, 0.004938074, -0.012317733, -0.019933153, 0.0039562723, -0.007105142 ]
2401.09350
197
P. Indyk and R. Motwani. Approximate nearest neighbors: Towards remov- ing the curse of dimensionality. In Proceedings of the 30th Annual ACM Symposium on Theory of Computing, pages 604–613, 1998. Q. Lv, W. Josephson, Z. Wang, M. Charikar, and K. Li. Multi-probe lsh: Efficient indexing for high-dimensional similarity search. In Proceedings of the 33rd International Conference on Very Large Data Bases, pages 950– 961, 2007. B. Neyshabur and N. Srebro. On symmetric and asymmetric lshs for inner product search. In Proceedings of the 32nd International Conference on International Conference on Machine Learning - Volume 37, pages 1926– 1934, 2015. R. Panigrahy. Entropy based nearest neighbor search in high dimensions. In Proceedings of the Seventeenth Annual ACM-SIAM Symposium on Discrete Algorithm, pages 1186–1195, 2006. A. Shrivastava and P. Li. Asymmetric lsh (alsh) for sublinear time maxi- mum inner product search (mips). In Proceedings of the 27th International Conference on Neural Information Processing Systems - Volume 2, pages 2321–2329, 2014.
2401.09350#197
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 197, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "P. Indyk and R. Motwani. Approximate nearest neighbors: Towards remov- ing the curse of dimensionality. In Proceedings of the 30th Annual ACM Symposium on Theory of Computing, pages 604–613, 1998.\nQ. Lv, W. Josephson, Z. Wang, M. Charikar, and K. Li. Multi-probe lsh: Efficient indexing for high-dimensional similarity search. In Proceedings of the 33rd International Conference on Very Large Data Bases, pages 950– 961, 2007.\nB. Neyshabur and N. Srebro. On symmetric and asymmetric lshs for inner product search. In Proceedings of the 32nd International Conference on International Conference on Machine Learning - Volume 37, pages 1926– 1934, 2015.\nR. Panigrahy. Entropy based nearest neighbor search in high dimensions. In Proceedings of the Seventeenth Annual ACM-SIAM Symposium on Discrete Algorithm, pages 1186–1195, 2006.\nA. Shrivastava and P. Li. Asymmetric lsh (alsh) for sublinear time maxi- mum inner product search (mips). In Proceedings of the 27th International Conference on Neural Information Processing Systems - Volume 2, pages 2321–2329, 2014.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.048444014, -0.035227492, 0.053512003, 0.020259535, 0.031351972, -0.015203967, -0.025402052, 0.018408725, -0.059424657, 0.0180485, 0.012216587, -0.0265821, 0.0026721843, 0.030755738, 0.015353026, 0.0061424524, 0.050630204, -0.033811435, -0.01876895, 0.0065399418, 0.0062635625, -0.0035494554, 0.0046052868, 0.015762936, 0.0149431145, -0.0026721843, 0.034059867, -0.0074094497, 0.06990844, -0.041040774, 0.023240704, -0.0014665183, 0.012166901, -0.013626431, -0.013266207, 0.043376025, -0.016272219, 0.03714041, -0.0018927325, 0.028321115, -0.033786595, 0.0021955075, -0.015825044, -0.013787911, 0.009626695, -0.032743186, 0.0120488955, -0.050133344, -0.0045959703, 0.025091514, -0.02521573, -0.00077906356, -0.020222269, -0.013365579, -0.0101111345, 0.0055337967, 0.022669313, 0.009701224, 0.06548637, 0.0140363425, -0.010353355, -0.04037001, -0.012235219, 0.025563532, -0.0044034366, -0.040568754, -0.03132713, 0.035575297, 0.027973311, -0.003810308, -0.042605888, 0.04772356, 0.038854584, -0.0036674603, 0.012682394, 0.03182399, -0.0101173455, 0.045562215, 0.0046332353, 0.039103013, 0.031724617, 0.04727639, 0.022023393, 0.020818504, -0.042183556, -0.0035432447, -0.020048369, 0.015030066, -0.064095154, 0.0004328131, -0.035227492, 0.0044531226, 0.014408988, -0.033389103, 0.01240291, -0.012191744, 0.0344822, -0.014210244, -0.0180485, 0.011670038, -0.060766183, -0.004195376, 0.015079752, -0.0407675, -0.0064281477, -0.0017452266, 0.008912456, -0.036718078, 0.01619769, 0.06171022, -0.03535171, 0.00958943, -0.030358247, 0.017278364, -0.0045804437, -0.032271165, -0.039748933, 0.0001340168, -0.05311451, 0.032221477, -0.024296535, -0.003974893, 0.030556992, 0.006027553, -0.009688803, -0.07423113, 0.015328183, -0.08451617, -0.015477241, -0.029041564, 0.033811435, 0.0066331034, 0.012843874, -0.005527586, -0.03132713, 0.021228414, -0.016942983, -0.012117214, 0.0008570864, -0.03433314, -0.029215466, -0.010819163, 0.004235746, 0.012657551, -0.005791544, 0.055300705, -0.006807005, -0.0009393791, 0.030383091, -0.0027498188, 0.010334723, -0.04432006, 0.020445857, -0.0017964655, -0.053064827, -0.018632313, 0.029364524, -0.009906179, -0.0007410226, -0.02361335, 0.024035683, 0.024110213, 0.030556992, 0.017178992, 0.033041302, 0.031699773, -0.04091656, -0.017713118, -0.047400605, -0.035823725, -0.024855506, -0.06225677, 0.006477834, -0.03132713, 0.037016194, -0.007701356, 0.005769806, -0.028047841, -0.03264381, -0.026234295, 0.002207929, 0.005630064, 0.035898257, -0.013787911, -0.0011513217, 0.05480384, 0.024905192, 0.004415858, 0.007204494, 0.022371197, 0.021253258, 0.066430405, 0.01345253, 0.042581044, -0.00798084, -0.013353158, 0.00017720106, 0.027327392, -0.014719527, -0.03803476, 0.04133889, 0.020644601, 0.0020433436, 0.0072976556, -0.009620484, 0.0053536845, 0.01289356, -0.00046270242, -0.0066082603, 0.02707896, -0.021153886, -0.0056114313, 0.052170474, 0.013340736, 0.019812359, 0.0012180874, -0.044767234, 0.0312526, -0.02683053, 0.018383881, -0.01989931, 0.038208663, -0.00007011378, 0.038481936, -0.03979862, 0.030681208, -0.000014520103, -0.06652978, 0.04995944, -0.025961023, 0.07298898, 0.0020806082, -0.005456162, -0.009390686, -0.018346617, -0.00531642, 0.0015992735, -0.023899047, -0.027700039, -0.05445604, 0.023178596, -0.02448286, 0.026085237, 0.017042356, -0.0011264785, 0.014520782, -0.012222797, 0.022246981, 0.012719659, -0.042282928, -0.0686166, 0.0017871493, -0.0027265283, -0.05376043, -0.018992538, -0.019489398, -0.00043824752, -0.0037450949, 0.023054382, 0.018185137, -0.03512812, -0.009055304, 0.016172847, 0.019203704, -0.04133889, -0.016148005, 0.00024978945, 0.020967562, -0.016085897, -0.009247838, -0.014918271, 0.042804632, -0.022868058, -0.01612316, -0.024470437, -0.030035287, -0.02045828, 0.009825439, -0.017178992, 0.012930825, 0.010626629, 0.0036612495, 0.029463897, 0.0034190293, 0.04320212, 0.019191282, -0.0045028087, 0.0010698052, -0.066778205, -0.055400077, 0.009626695, -0.051822674, -0.0015581271, -0.003617774, -0.012272484, -0.0016411962, -0.024222007, -0.046431724, -0.0013826728, -0.0017809386, 0.04680437, 0.008527389, 0.01193089, -0.01683119, -0.036569018, 0.038531624, 0.008614339, 0.02884282, 0.029786857, -0.013191678, 0.01612316, 0.012253851, 0.0010612655, 0.055946622, -0.045785803, -0.048394326, 0.033066142, -0.020421015, -0.024607074, -0.044096474, 0.006210771, -0.0632008, 0.037264626, -0.053859804, 0.026308825, -0.006372251, -0.007881468, -0.031451344, 0.0064281477, -0.044171, 0.04479208, -0.020806082, 0.0049593006, 0.0050804107, -0.019886889, -0.051276125, 0.011688671, 0.013328314, -0.0091857305, 0.011719724, -0.051226437, -0.013427687, -0.027948469, 0.018383881, 0.03296677, 0.037587587, -0.031202912, 0.04310275, -0.007993262, 0.018098187, -0.028147213, -0.05887811, 0.004965511, 0.030407934, 0.0019936576, -0.00870129, 0.021961287, -0.06469139, -0.003481137, 0.0073349206, -0.01788702, -0.022222139, 0.0055151647, -0.011992998, 0.003850678, 0.020917876, 0.011868783, -0.016073475, 0.002122531, 0.014334459, 0.014135715, -0.0082230605, -0.020259535, -0.022383617, 0.0010666999, 0.051027693, -0.02102967, 0.017352894, 0.023066804, 0.055698194, -0.015340604, -0.022296667, -0.027103804, -0.025128778, 0.038308036, -0.011607931, 0.00060399744, 0.00039613072, -0.0393266, -0.014297195, -0.008390752, -0.012831452, -0.012843874, 0.026085237, -0.0069684847, -0.056741603, 0.05430698, 0.01675666, 0.019874467, 0.014148136, -0.045835488, -0.02053281, 0.0074839788, -0.05753658, -0.029935915, 0.059822146, 0.016321905, 0.0768645, 0.0027839781, 0.052220162, 0.0066579464, 0.012477439, 0.014595311, -0.026656628, 0.00403079, -0.015651142, 0.04439459, 0.04586033, 0.013315893, 0.027054118, 0.043972258, 0.029612955, -0.03398534, -0.04424553, -0.009415529, -0.013117148, 0.053362943, -0.045835488, 0.005341263, -0.04320212, -0.041438263, 0.05067989, 0.052418906, -0.029836543, -0.03279287, -0.024395907, 0.020719131, 0.0393266, -0.023513978, -0.06966001, -0.0040897927, 0.008024316, -0.0639461, -0.029463897, -0.0069436417, -0.027526136, 0.005300893, -0.018359039, 0.0068132156, 0.041463107, 0.022979852, -0.040792342, 0.06449264, 0.011421608, 0.004276116, -0.01876895, 0.018731685, -0.052269846, 0.05261765, 0.020893034, -0.019129174, -0.004456228, -0.017092042, -0.011347079, 0.022482991, 0.012806609, -0.0035028749, -0.028967036, 0.03326489, -0.015452398, 0.03256928, -0.05266734, 0.0067138434, -0.051822674, -0.013154413, 0.06002089, 0.016930562, -0.0281969, -0.02312891, -0.019439712, 0.036593862, -0.036469646, -0.021886757, 0.031401657, 0.03763727, 0.014545625, 0.038531624, 0.03577404, 0.019365184, 0.008806873, -0.036693234, -0.025737435, 0.054754157, -0.012284905, -0.015663564, -0.014396567, -0.0101483995, -0.0027218703, 0.013464951, -0.003617774, 0.043127593, -0.00596234, -0.02747645, 0.02553869, -0.032668654, 0.0029144043, 0.023551242, -0.027004432, -0.041314047, 0.038059603, -0.0035401394, 0.06210771, 0.026557256, 0.026929902, 0.044046786, 0.025315102, -0.015402712, 0.00580086, -0.016793925, 0.0011373474, -0.010899903, 0.0043972256, -0.028172057, -0.016818767, 0.011576877, -0.032842558, -0.035749197, -0.053959176, -0.019700564, -0.01982478, -0.006275984, -0.008372119, -0.0029966969, 0.052965455, 0.015191546, -0.0149431145, -0.0017452266, -0.046655312, 0.02045828, 0.0150052225, 0.02045828, 0.03127744, 0.02038375, 0.05276671, 0.0064281477, -0.01998626, 0.035575297, 0.020135319, 0.0044127526, 0.012440174, 0.018346617, -0.031699773, -0.016408857, 0.02683053, -0.0057014874, 0.0011916916, 0.026383355, 0.016210113, 0.0020930297, -0.008409384, -0.018731685, -0.0037792542, 0.010626629, 0.024706446, 0.008794451, -0.003481137, 0.027252862, 0.012260062, 0.018992538, -0.0029966969, 0.0002880245, -0.037985075, 0.0045680217, -0.044493962, 0.012353223, -0.030383091, -0.013104727, -0.012191744, 0.02401084, 0.005189099, -0.03940113, -0.02126568, -0.00298117, 0.01361401, -0.009254049, -0.009819229, -0.027526136, 0.021315366, 0.0051828884, 0.018868322, 0.004546284, -0.027923625, 0.024420751, -0.03301646, -0.015353026, -0.02176254, 0.0082230605, -0.046978272, -0.02054523, 0.025426896, -0.003207863, 0.017352894, 0.028420487, -0.013005354, -0.027898783, 0.00041068724, 0.043326337, 0.020035947, 0.03632059, -0.009825439, -0.0139618125, -0.011937101, 0.014669841, -0.023576086, -0.034680944, 0.016371593, 0.0002983111, -0.018321775, 0.030631522, -0.018160295, -0.022855638, -0.035475925, 0.018495675, 0.069809064, 0.022569941, -0.004530757, -0.016955404, -0.052319534, -0.040792342, -0.026880216, -0.010104924, -0.009651538, 0.028942192, 0.0017560954, 0.013589167, 0.037413683, 0.008179585, 0.0140611855, 0.03552561, 0.025613219, 0.0038630995, 0.05887811, 0.026880216, -0.05480384, 0.007428082, -0.030308561, -0.0211042, 0.009403107, -0.020234691, 0.0051021483, -0.025203308, -0.008850348, 0.045288943, 0.0038848373, 0.02230909, -0.00693122, 0.032693498, -0.011539612, -0.0014339117, -0.03316552, -0.006440569, -0.004220219, 0.025016986, -0.023886625, 0.018669577, -0.0041208463, 0.008974564, 0.02480582, 0.03768696, 0.014396567, 0.068119735, 0.019315498, 0.030432777, -0.023489136, -0.027352234, -0.03085511, -0.023725145, -0.010645261, -0.028668918, -0.0025541794, 0.020756396, 0.02160106, -0.018955274, -0.010403041, -0.025228152, 0.00685048, 0.052866083, -0.0029392473, -0.002026264, 0.001351619, 0.0008927983, -0.0045090197, 0.010788109, -0.04270526, 0.030830266, -0.022209717, -0.03028372, 0.012992932, -0.0054747947, -0.02876829, 0.013564324, 0.024209585, -0.0019874466, -0.009514901, -0.030333405, -0.022197295, -0.026358511, -0.030482464, 0.056940347, -0.016744237, -0.021973707, -0.0101421885, -0.008900034, 0.0140114995, -0.030060131, 0.0044127526, 0.030308561, -0.0055089537, -0.03256928, -0.010521046, -0.05703972, 0.01748953, -0.040717814, 0.006161085, 0.010347145, -0.004170533, -0.03567467, -0.013514637, 0.012142057, -0.02345187, 0.024234427, 0.019352762, 0.00942795, 0.010353355, 0.031799145, 0.00024532544, -0.012595443, 0.018259667, -0.029439054, 0.0037202518, 0.00829759, -0.0043289075, -0.027625509, 0.030556992, -0.00028026104, 0.015750514, 0.016657287, -0.0049034036, 0.011347079, 0.056443486, -0.02973717, 0.0091857305, -0.013340736, -0.007372185, 0.016905718, -0.022818372, 0.009570798, 0.01666971, 0.018632313, 0.021563796, 0.00042621416, 0.018483253, -0.023923889, 0.021700433, 0.023973575, -0.011564455, -0.048195582, -0.054754157, -0.0030665682, -0.017340472, 0.018433567, 0.009266471, 0.020657023, -0.012390488, 0.023538822, -0.014346881, -0.014172979, -0.0031286757, -0.0005038488, -0.0066827894, -0.03634543, -0.016247377, 0.0012522467, -0.02424685, -0.00023076896, 0.0029035353, -0.02941421, -0.00342524, 0.014086029, -0.04287916, -0.0140239205, 0.03768696, -0.01063905, -0.02497972, -0.03239538, 0.04471755, -0.023104068, -0.09360874, -0.008980774, 0.033861123, 0.023004696, 0.020507965, 0.023538822, 0.026631786, -0.005148729, 0.000593905, -0.0043723825, 0.007210705, -0.043053064, 0.01650823, 0.028991878, -0.00370783, -0.036693234, 0.017601324, -0.0028942192, 0.028097527, 0.0011854809, -0.015340604, 0.039450817, 0.026731158, 0.025613219, -0.029289996, 0.010328512, -0.007906311, -0.0014789398, -0.01707962, 0.012266273, -0.025936179, 0.00006293257, -0.020731553, 0.017129306, -0.029289996, -0.03053215, 0.02464434, 0.023961155, -0.033811435, -0.010868849, -0.01289356, -0.033090986, -0.00479161, -0.035003904, 0.032097265, -0.053561687, 0.0024579125, -0.010328512, 0.014756791, 0.021017248, 0.010316091, 0.012980511, 0.020371329, 0.01756406, -0.012595443, 0.017216256, 0.021526532, 0.008446649, -0.003965577, 0.0054934267, -0.0182224, 0.0014269246, 0.008570864, 0.0057387524, -0.03132713, -0.021712855, -0.037836015, 0.0042015864, 0.005204626, 0.019452134, -0.006570996, 0.031078698, 0.003974893, 0.046605624, 0.050183028, 0.005866073, -0.018197559, 0.02473129, 0.001172283, -0.0046270243, 0.009527323, -0.003981104, 0.047027957, 0.017626168, 0.009434161, -0.032817714, 0.022607205, -0.010483781, -0.043152437, 0.013440108, 0.02069429, -0.011558245, 0.0062325085, 0.04439459, 0.012272484, 0.008428016, 0.012682394, -0.00007894472, 0.018259667, 0.02586165, 0.0235264, 0.002683053, 0.01893043, -0.009235417, 0.0023818307, 0.0018182031, 0.021153886, 0.007235548, 0.040593598, 0.04995944, 0.016259799, -0.012024052, -0.01232838, -0.020209849, 0.01458289, 0.010651472, -0.005012092, 0.025103936, 0.016930562, -0.0011062935, -0.018632313, -0.011266339, -0.009434161, 0.022197295, -0.0022063763, 0.0019470766, 0.02538963, -0.012539546, -0.02432138, -0.004785399, 0.012365645, 0.047574505, 0.021340208, -0.034035023, -0.03480516, 0.040494226, 0.0025324419, 0.01917886, -0.036544174, 0.02530268, 0.018582627, 0.032022733, -0.0038724155, 0.015439976, 0.0037978864, 0.030482464, -0.021116622, -0.031302284, -0.02650757, -0.00057643716, -0.011284971, -0.0012025605, 0.010241562, 0.040469382, -0.020818504, 0.027998155, 0.034556728, -0.021178728, 0.029463897, 0.05887811, 0.0082292715, 0.022184873, 0.013912126, -0.021042092, 0.0025961022, -0.004359961, -0.040022206, -0.0042015864, -0.003153519, 0.03664355, 0.022656891, 0.0028134792, -0.045239255, 0.03028372, 0.043276653, 0.014235087, 0.02650757, -0.00806158, -0.0029734066, -0.008750976, -0.0030883057, -0.0021085567, -0.036916822, -0.0091857305, 0.008136109, 0.023240704, -0.00829138, -0.011241496, 0.008254115, 0.025166044, 0.024867926, 0.013353158, 0.014756791, 0.015974103, -0.009067725, -0.018172715, -0.008645393, 0.004754345, -0.020793661, -0.0139866555, 0.0057729115, 0.051375497, 0.032022733, -0.019278232, -0.010701158, -0.0024361748, -0.031550717, -0.010253983, 0.017824912, 0.009937233, -0.028644076, 0.049114775, 0.010210508, -0.021315366, 0.019439712, -0.025029406, 0.018706841, 0.0056021153, -0.02401084, -0.005831914, 0.0034066078, -0.0130177755, -0.0025200204, 0.062058024, -0.022582363, 0.0044624386, 0.011874994, -0.017129306, -0.051673613, 0.011862572, 0.03157556, 0.010918535, -0.0028010576, 0.0023274864, -0.05430698, 0.012123425, -0.0027917414, -0.0074405037, 0.030234033, -0.0060555018, 0.024383487, -0.037587587, 0.0067883725, 0.032668654, -0.021613482, -0.036469646, 0.012943246, -0.0022917744, 0.009316157, -0.03214695, 0.0005605221, -0.0036891978, 0.028867664, 0.0026659735, -0.049363207, -0.0009836309, -0.008893824, 0.033736907, 0.05107738, -0.019613614, 0.009254049, 0.016384013, 0.0031395447, 0.016371593, 0.010496203, -0.004235746, 0.004456228, 0.012794188, -0.0113595, 0.03383628, -0.025563532, -0.0009036672, 0.009471426, -0.009943444, 0.002864718, 0.01273208, -0.010837795, 0.016980248, 0.021228414, -0.017265944, -0.013415265, -0.000761984, -0.036519334, 0.01957635, 0.0070181713, -0.02546416, 0.029935915, -0.013390422, 0.040668126, -0.034382828, -0.00015837466, 0.013527059, -0.0017374632, 0.025041828, -0.012881138, -0.0011893626, -0.013651274, 0.022135187, 0.0211042, -0.024035683, 0.007912522, 0.0067573185, 0.023787253, -0.0065275203, 0.041438263, 0.0012343907, -0.030184347, -0.012353223, -0.02571259, -0.006782162, 0.037612427, -0.016483385, 0.00011761647, 0.010340934, -0.018980116, 0.026408197, -0.001763859, -0.0015348367, 0.005440635, 0.014893428, -0.03746337, 0.014644998, 0.03383628, -0.0012600102, -0.013266207, 0.005254312, 0.05092832, -0.010340934, -0.0079001, 0.011415397, -0.018023657, 0.026457883, -0.022855638, -0.038084447, -0.058281872, 0.0073287096, 0.016297063, 0.0034066078, -0.001849257, -0.024470437, 0.040394854, 0.002395805, 0.04335118, -0.01386244, -0.041587323, 0.00910499, 0.003092964, 0.037885703, 0.025402052, -0.02530268, 0.051176753, -0.0067386865, -0.02537721, -0.046456564, -0.011005486, 0.027873939, -0.01869442, -0.01119802, 0.0018803108, 0.0029749593, 0.013166835, 0.033066142, -0.019327918, 0.002207929, -0.024843084, 0.04101593, 0.0045649167, 0.031625245, -0.03239538, 0.014123293, 0.0055679563, -0.000013125105, 0.010937167, -0.021402316, 0.0020697394, -0.018793793, 0.0016241166, 0.038233504, -0.007111333, 0.009564587, -0.0020557651, -0.02650757, -0.01240912, 0.022582363, -0.041438263, 0.0074342927, -0.0111110695, -0.012303537, -0.0036954086, 0.0063536186, 0.03132713, -0.022333931, -0.02424685, 0.031078698, -0.00853981, -0.010396831, 0.0110613825, 0.014794056, 0.012756923, -0.018098187, -0.054406352, 0.0015845229, 0.0393266, -0.01087506, -0.019998683, 0.0032264953, 0.023948733, 0.03020919, 0.0037792542, 0.010458938, -0.016545493, 0.023899047, -0.048145894, 0.015464819, 0.0019377605, -0.029960759, -0.04118983, 0.03850678, -0.009806807, 0.028495017, -0.0067573185, 0.0008174927, 0.007800728, -0.0037637271, 0.009813018, 0.01998626, 0.0013601588, 0.055251017, -0.018073343, 0.002495177, 0.0011971261, 0.054605097, -0.030556992, 0.010688737, 0.0049996707, -0.021365052, 0.00039030812, 0.010701158, 0.0068629016, -0.005185994, -0.045388315, 0.0017064093, 0.057735328, -0.010365777, -0.017129306, -0.012856295, -0.004400331, -0.0011482163, 0.023961155, 0.0011326893, -0.028246585, 0.005462373, 0.018893166, -0.0033631325, 0.023600928, 0.028743448, -0.022035815, 0.013365579, 0.01666971, -0.0075833513, 0.02948874, 0.009813018, 0.063349865, 0.035277177, 0.003375554, -0.004695343, -0.044121318, 0.021489266, 0.0039345236, 0.018719263, 0.019675722, 0.004415858, -0.013899705, 0.044195846, 0.020321643, 0.0029547743, 0.0031504135, -0.003568088, 0.013415265, 0.043276653, -0.019650878, -0.035873413, 0.0081920065, 0.042655576, 0.045139883, 0.0062790895, 0.047152173, -0.025103936, 0.024780976, -0.037239783, -0.014222666, 0.024172321, -0.0549529, -0.0070181713, -0.005130097, 0.0043071695, 0.005872284, 0.018371461, 0.05430698, -0.038879424, -0.00975091, 0.018992538, -0.0008788241, 0.0018414935, -0.0028507437, 0.037115566, 0.00910499, -0.014334459, 0.01458289, 0.014384145, 0.0076640914, 0.0022778, -0.0015829703, -0.035426237, 0.035426237, 0.005366106, -0.038953956, -0.048717286, -0.019067066, -0.01458289, -0.022048237, 0.013899705, 0.046282664, -0.0058039655, -0.015601456, -0.015439976, -0.035401393, 0.0018632313, 0.012713448, -0.005648696, -0.033314575, -0.032892242, 0.006614471, -0.021538954, 0.0033693432, -0.03311583, 0.009067725, -0.005769806, 0.020321643, 0.0057977545, 0.0012382724, 0.008018105, -0.02054523, 0.0034190293, -0.014868585, 0.010694947, -0.011055172, -0.0043071695, 0.055400077, 0.013067462, 0.014644998, -0.014856164, -0.037488215, -0.021153886, 0.04350024, -0.009707435, 0.009862704, 0.021302944, 0.009850282, 0.017949129, 0.004859928, -0.0025666011, -0.0067883725, 0.025961023, -0.02239604, 0.021812227, -0.020358907, 0.01224143, -0.024992142, -0.012632708, -0.0031566243, -0.005431319, 0.0023414607, -0.0064902557, -0.021178728, -0.032445066, 0.023215862, 0.002122531, 0.01080053, 0.020110477, -0.015203967, -0.013365579, 0.0036767763, -0.03997252, 0.008105056, 0.018508097, -0.0070678573, 0.02772488, 0.022768686, 0.021315366, -0.0017359104, -0.017862177, 0.040742658, -0.0002156302, 0.006645525, 0.049437735, 0.05147487, 0.03264381, -0.0012242981, -0.016942983, -0.014247509, 0.043152437, -0.011614141, -0.03937629, 0.04479208, 0.021054514, -0.0055337967, 0.022545097, 0.01240291, 0.029637799, -0.028072685, 0.013812754, 0.012968089, 0.00009228817, 0.0059095486, 0.0211042, -0.033687223, 0.034382828, -0.016818767, -0.021961287, -0.011707303, -0.013228942, -0.00017380454, -0.005527586, -0.019029802, -0.02650757, -0.025352366, 0.006269773, 0.017415002, -0.012166901, 0.0033010247, 0.021066934, 0.009974498, 0.006372251, 0.016806345, 0.015725672, -0.014781634, 0.02916578, 0.012483649, 0.0068629016, 0.0048692445, 0.017340472, -0.010707369, 0.008111266, -0.03714041, -0.04310275, -0.019154018, -0.0011218205, 0.00676974, 0.021178728, 0.012384277, -0.002905088, 0.035252336, 0.022830794, 0.014558047, 0.036072157, -0.0061579794, 0.029265152, -0.0036395118, 0.012117214, 0.034208927, 0.0130301975, -0.02625914, 0.006291511, -0.0071672294, 0.019638458, -0.009160887, 0.03358785, 0.01555177, 0.044518806, -0.011564455, -0.028942192, 0.033637535, 0.030929638, -0.023985997, -0.022818372, 0.0045028087, -0.003198547, 0.0125706, 0.021004828, 0.05654286, -0.007862836, 0.022408461, 0.022694157, -0.02465676, 0.011663828, 0.025228152, 0.029389368, 0.0007499506, -0.019390026, -0.019563928, 0.04432006, -0.0031193597, -0.0188559, -0.015986525, -0.01096201, 0.013328314, 0.0058536516, 0.0050959373, -0.015054909, 0.03239538, 0.022569941, -0.044444278, -0.026085237, -0.0013019328, 0.0003285886, -0.0040960032, -0.025439318, -0.04461818, -0.009775753, -0.03786086, -0.012440174, 0.012210376, 0.018359039, -0.006558574, 0.012148268, -0.030681208, 0.014558047, -0.03907817, -0.016856031, 0.026283983, 0.04342571, 0.013166835, 0.030333405, -0.033687223, -0.0028429804, 0.006800794, -0.0016660392, 0.0054095816, 0.008608128, 0.014694684, -0.01716657, -0.009949655, 0.0010868849, 0.027501293, 0.010738423, -0.0068380586, -0.0064343587, -0.02449528 ]
2401.09350
198
Improved asymmetric locality sensitive hashing (alsh) for maximum inner product search (mips). In Proceedings of the Thirty-First Conference on Uncertainty in Artificial Intelligence, pages 812–821, 2015. K. Terasawa and Y. Tanaka. Spherical lsh for approximate nearest neigh- bor search on unit hypersphere. In Proceedings of the 10th International Conference on Algorithms and Data Structures, pages 27–38, 2007. X. Yan, J. Li, X. Dai, H. Chen, and J. Cheng. Norm-ranging lsh for maximum inner product search. In Proceedings of the 32nd International Conference on Neural Information Processing Systems, pages 2956–2965, 2018. # Chapter 6 Graph Algorithms Abstract We have seen two major classes of algorithms that approach the top-k retrieval problem in their own unique ways. One recursively partitions a vector collection to model its geometry, and the other hashes the vectors into predefined buckets to reduce the search space. Our next class of algorithms takes yet a different view of the question. At a high level, our third approach is to “walk” through a collection, hopping from one vector to another, where every hop gets us spatially closer to the optimal solution. This chapter reviews algorithms that use a graph data structure to implement that idea. # 6.1 Intuition
2401.09350#198
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 198, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Improved asymmetric locality sensitive hashing (alsh) for maximum inner product search (mips). In Proceedings of the Thirty-First Conference on Uncertainty in Artificial Intelligence, pages 812–821, 2015.\nK. Terasawa and Y. Tanaka. Spherical lsh for approximate nearest neigh- bor search on unit hypersphere. In Proceedings of the 10th International Conference on Algorithms and Data Structures, pages 27–38, 2007.\nX. Yan, J. Li, X. Dai, H. Chen, and J. Cheng. Norm-ranging lsh for maximum inner product search. In Proceedings of the 32nd International Conference on Neural Information Processing Systems, pages 2956–2965, 2018.\n# Chapter 6 Graph Algorithms\nAbstract We have seen two major classes of algorithms that approach the top-k retrieval problem in their own unique ways. One recursively partitions a vector collection to model its geometry, and the other hashes the vectors into predefined buckets to reduce the search space. Our next class of algorithms takes yet a different view of the question. At a high level, our third approach is to “walk” through a collection, hopping from one vector to another, where every hop gets us spatially closer to the optimal solution. This chapter reviews algorithms that use a graph data structure to implement that idea.\n# 6.1 Intuition", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.03739805, -0.006443249, 0.061785933, 0.016374014, 0.024981502, -0.026069805, -0.008823912, 0.038436886, -0.059708264, 0.009578303, 0.033514787, -0.05955986, 0.0027779555, -0.01465499, 0.015446483, 0.0032865517, 0.037818532, -0.03596347, -0.013393548, 0.0058125276, 0.0045263516, 0.015990635, 0.0022987311, 0.03054669, 0.0067462423, -0.008421982, 0.05594867, 0.025129907, 0.05520665, -0.0143334465, -0.012323796, -0.016992368, -0.019589456, -0.005262193, -0.01016574, 0.024449717, -0.011062354, 0.026589222, 0.017548887, 0.03945099, 0.0057661515, 0.037868, -0.0039296397, -0.010957234, 0.0076737734, -0.017561255, 0.017227342, -0.033094306, -0.013727459, 0.034281548, -0.015050737, 0.020653024, -0.021939201, -0.009955499, -0.0062082745, 0.009374247, 0.007389331, -0.01135298, 0.07969347, 0.029507853, -0.01783333, -0.019688392, -0.003295827, 0.03722491, -0.018587722, 0.0012761281, -0.033564255, 0.026119273, 0.015137306, 0.0025723528, -0.03346532, 0.015904065, 0.027454918, -0.007679957, 0.015953533, -0.005478617, -0.036754962, 0.04434835, 0.013875864, 0.0121877575, 0.009943132, 0.013702725, 0.06129125, 0.0054476988, -0.03299537, -0.044274148, -0.00868169, -0.015854597, -0.108731374, -0.040044606, -0.024066338, -0.0052250917, 0.012700992, -0.0036142792, 0.04269116, 0.023373783, 0.028469019, 0.009633956, -0.012874131, -0.0040811365, -0.045387186, -0.04506564, 0.016398748, -0.033514787, 0.04803374, -0.017487051, -0.0079644, 0.026836565, 0.0015180592, 0.02359639, -0.06638649, -0.020047037, -0.059164114, 0.046327084, -0.00028560226, -0.03655709, -0.05510771, 0.0012189304, -0.005404414, 0.040168278, 0.0017221159, 0.010530569, 0.04006934, -0.0126082385, -0.00707397, -0.035468787, 0.012762827, -0.08394774, 0.0109015815, -0.025018604, 0.023509819, -0.021333214, -0.010889214, -0.019799696, -0.006641122, 0.019688392, -0.05100184, 0.0019184434, 0.007005951, -0.0038647125, -0.00059052807, -0.029606791, 0.0063288533, 0.0031134125, -0.025043339, 0.018822696, -0.017672557, 0.04439782, 0.0428643, 0.030744562, 0.012435099, -0.02012124, 0.0045881867, 0.0259214, -0.038486354, -0.020850897, 0.006455616, -0.0050426773, 0.004504709, 0.0022739968, 0.026416084, 0.008211741, 0.027083905, 0.016745027, -0.016782127, 0.009633956, -0.049270447, -0.012088821, -0.034380484, -0.04375473, -0.0005893687, -0.110017546, -0.008916665, 0.0056239297, 0.03156079, -0.012206309, -0.032352284, -0.01842695, -0.008700241, -0.016955268, -0.026935501, -0.007890197, 0.027850665, -0.02017071, 0.011025252, 0.05426675, 0.048602626, -0.0014894602, -0.028666893, 0.04202334, -0.0077974442, 0.027726995, 0.0049128225, 0.02698497, 0.0070801536, 0.001223568, 0.019329747, 0.02859269, 0.016843963, -0.011445733, 0.028790563, 0.0053982306, 0.020789063, -0.010134823, 0.0017159324, -0.014259243, 0.01961419, -0.006709141, 0.012657707, -0.0022106157, -0.024734162, -0.0003053123, 0.03109084, 0.009324779, 0.02829588, 0.008162273, -0.038263746, 0.052931104, -0.022372048, 0.046945438, -0.051150244, 0.04078663, -0.0033143775, 0.035048306, -0.040860835, 0.013195675, 0.022421516, -0.08038602, 0.046574425, -0.024239477, 0.04316111, 0.019107139, -0.002852158, -0.035320383, -0.028493753, -0.028271146, -0.024833098, -0.025401983, -0.03655709, -0.063171044, 0.008409615, -0.03809061, 0.020368582, 0.006628755, -0.020813797, 0.020665392, -0.026465552, 0.016893432, 0.019032937, -0.014296345, -0.060796566, -0.006579287, -0.0052189077, -0.054118343, 0.007036869, -0.028716361, -0.01940395, 0.019836796, 0.024808364, 0.025092807, -0.0121753905, -0.0017020195, 0.01143955, 0.01860009, -0.04202334, 0.017041838, -0.03096717, 0.018093038, -0.02164239, -0.020974569, -0.028394816, 0.047712196, 0.026366616, -0.039846733, 0.010493468, -0.021790795, -0.030868232, 0.024548655, -0.0047365916, -0.020739594, 0.009120721, 0.015211509, 0.0288895, -0.03007674, 0.06890937, 0.035394583, -0.0126144225, -0.00887338, -0.040316682, -0.028938968, 0.024326047, -0.032550156, -0.018352747, 0.028642159, 0.008564203, 0.009343329, -0.03267383, 0.0054013226, 0.019379215, -0.017437583, 0.07301524, -0.001774676, 0.019379215, 0.03156079, -0.027801197, 0.026910767, 0.015446483, 0.019428683, 0.016584255, 0.008922849, 0.034924634, 0.011427183, -0.014283978, 0.04553559, -0.018018836, -0.006628755, 0.055800267, -0.021073505, -0.012552586, -0.03180813, -0.022285478, -0.06510031, 0.051743865, -0.026589222, 0.025599856, -0.008848646, -0.0228791, -0.01664609, -0.0014237601, -0.043655794, 0.044101007, -0.025847198, 0.031140309, -0.012057903, -0.032302815, -0.023188276, 0.032006003, -0.00083477795, -0.012676258, -0.02139505, -0.040885568, -0.021679493, 0.0027083906, 0.0055249934, 0.023905566, 0.068859905, 0.00014251127, 0.027776463, -0.05510771, 0.008193191, -0.03875843, -0.07108598, -0.03198127, 0.013789294, 0.00925676, -0.0072161914, -0.009164006, -0.05951039, -0.009838012, 0.0011887857, -0.0018318738, -0.024845464, 0.009646323, -0.013999535, 0.020801429, 0.017759128, -0.028567957, -0.020306746, -0.039104708, 0.0011872398, 0.009034152, 0.06411094, -0.014580788, -0.043062173, -0.008490001, 0.011717808, 0.012132106, 0.020257277, 0.05189227, 0.08859777, 0.009769994, -0.019379215, -0.044966705, -0.02300277, 0.045189314, -0.016188508, -0.02130848, 0.0058650877, -0.06658436, 0.014160307, -0.0027671342, -0.011934233, -0.02134558, 0.0024424985, 0.0006326535, -0.036581825, 0.035320383, 0.016386382, 0.009386614, 0.04922098, -0.042344883, 0.001196515, 0.011730175, -0.02279253, -0.030769296, 0.035048306, 0.016089572, 0.06970087, 0.009918398, 0.022866732, -0.0071481727, 0.026910767, 0.021259012, -0.022940934, 0.00036850036, 0.00403476, 0.05951039, 0.020244911, -0.010141006, 0.0045603607, 0.04511511, 0.0026202751, -0.054959305, -0.035097774, -0.013430649, 0.013912966, 0.049245715, -0.034281548, 0.022297846, -0.05456356, 0.0015281073, 0.045881867, 0.045214046, -0.027306514, -0.01655952, -0.012466017, 0.045312982, 0.038956303, -0.01905767, -0.031288713, -0.008496184, -0.0018859798, -0.05367313, 0.0036390135, -0.024449717, -0.008378697, -0.009133089, -0.009875114, -0.006536002, -0.007315128, 0.009838012, -0.033960003, 0.03791747, 0.032649092, 0.009565936, -0.0037441335, 0.051793333, -0.044298884, 0.011557037, 0.026292413, -0.017684925, 0.028642159, -0.024709426, -0.0023698418, 0.027776463, 0.00006009628, 0.013492485, -0.008638405, 0.026737629, -0.006325762, 0.040910304, -0.052238546, 0.021790795, -0.06836522, -0.0047118575, 0.031907067, 0.01944105, -0.042666428, 0.019342113, -0.008595121, -0.00027652018, -0.054761432, 0.0026388257, 0.023101706, 0.02155582, 0.027479652, 0.021963935, 0.028196944, 0.029359449, 0.0060073095, -0.09943133, -0.0468465, 0.05629495, -0.012200125, 0.0199481, 0.013121473, -0.0072038244, -0.008953766, 0.027182844, 0.010592405, 0.042666428, -0.0073831473, -0.017252076, 0.04486777, -0.0096092215, 0.010202842, 0.011272593, -0.018995836, -0.009374247, 0.06376467, 0.0025120631, 0.026020337, 0.014803396, 0.019218443, 0.025822464, 0.013962434, -0.0038647125, 0.020640656, -0.019725494, -0.022755427, -0.026020337, -0.017536521, -0.034157876, -0.012948333, -0.0042419084, -0.015050737, -0.040019874, -0.051545992, -0.042839568, -0.021259012, 0.011198391, -0.008211741, -0.012088821, 0.04108344, -0.024202377, -0.04612921, -0.024301313, -0.030571423, 0.0030268428, -0.011643606, -0.0003710124, 0.016930534, -0.020380948, 0.05634442, -0.026910767, -0.022384416, 0.03477623, 0.0014036637, 0.020949835, 0.02562459, 0.010425448, -0.021160075, -0.012571137, 0.0025507105, 0.0067276917, 0.024264213, 0.0043593957, 0.0159288, 0.0029124476, 0.0017267537, -0.0025738985, 0.003753409, 0.0056022876, 0.019267911, -0.013987168, 0.034800965, 0.039920937, -0.0021225002, 0.014568421, -0.01533518, -0.016114306, -0.042592224, 0.02829588, -0.02503097, 0.027850665, -0.034207344, -0.058718897, -0.027083905, 0.028196944, 0.044793565, -0.0458324, -0.013863497, -0.029755196, 0.0064989007, -0.006467983, -0.011977517, -0.0037565008, 0.052386954, -0.0021487803, 0.002675927, -0.005970208, -0.00906507, -0.0008865651, -0.0458324, -0.016374014, -0.021493986, 0.01940395, -0.020764329, -0.027825931, 0.0072161914, 0.014098472, 0.027257046, 0.021271378, -0.015298079, -0.030027272, -0.0058712712, 0.014543687, 0.009126905, 0.019391581, -0.0026109999, 0.0062948437, -0.024041604, 0.019564722, -0.017412849, -0.03544405, 0.025068073, 0.0005487892, -0.030002538, 0.024894932, -0.0057785185, 0.013591422, -0.012503118, 0.014432383, 0.050432954, 0.0007342954, 0.00085100974, 0.013381181, -0.059164114, -0.02422711, -0.02663869, -0.007315128, 0.008415799, 0.029285247, 0.01664609, 0.016633723, 0.028320614, -0.0044459654, 0.04172653, 0.042765364, 0.018538253, 0.0121815745, 0.03079403, 0.00054144626, -0.042839568, 0.00532712, -0.009133089, -0.025018604, 0.026910767, -0.024437351, -0.010969601, -0.02740545, 0.0034318648, 0.02478363, 0.00648035, 0.022940934, 0.009392798, 0.041800734, -0.00041313778, 0.02134558, -0.01842695, -0.02482073, -0.00906507, 0.006523635, -0.017177874, 0.012447466, -0.0009105263, 0.024288947, 0.02859269, 0.040465087, 0.037051775, 0.04058876, 0.020455152, 0.07380673, -0.021234278, -0.03554299, -0.025006237, -0.027257046, -0.013591422, -0.030472485, -0.017722026, 0.0034256813, -0.004640747, -0.0607471, -0.006536002, -0.00019178637, 0.018315647, 0.032179143, -0.0033947637, 0.006134072, -0.020801429, -0.01255877, 0.013158574, -0.0052529173, -0.03757119, 0.006146439, 0.012212492, -0.014209775, 0.03561719, -0.05303004, -0.03977253, 0.012360897, 0.03774433, 0.0032587256, -0.030472485, -0.015186775, -0.014753927, 0.0028969885, 0.031709194, 0.059015706, -0.005719775, 0.0022013404, -0.025352515, -0.0011586408, 0.012663891, -0.023744794, 0.008984684, 0.059015706, -0.0051416135, -0.014889965, -0.029532589, -0.047093842, 0.018661924, -0.041874934, 0.01065424, -0.019539988, -0.0018535162, -0.048231613, -0.008527102, 0.018624824, -0.03205547, 0.017140774, 0.025327781, -0.012280511, -0.011866214, 0.040564023, 0.00011777712, -0.023435617, -0.007123438, -0.05030928, -0.0046747564, -0.004841712, 0.013443016, 0.0061155213, 0.01702947, 0.0022910016, -0.0040965956, 0.0039481902, 0.00036193035, -0.013566688, 0.020937467, -0.007556286, 0.009095987, -0.008731158, -0.001856608, 0.008211741, -0.012663891, -0.024771262, -0.008706424, 0.0074326154, 0.0169058, -0.00096463226, 0.0072038244, -0.049369384, 0.018389849, 0.03346532, -0.03334165, -0.020702492, -0.021493986, 0.0037441335, 0.00957212, 0.033935267, 0.009293861, 0.03791747, 0.012799928, 0.037422784, -0.0033823964, 0.014123206, 0.012385631, -0.008990867, 0.005896006, -0.011291144, -0.009442266, 0.025105173, 0.00855802, -0.004467608, -0.0083354125, -0.036631294, 0.013752193, 0.0007045371, -0.038733695, -0.014259243, -0.00885483, -0.024758896, -0.03477623, -0.04053929, 0.015842231, -0.013826396, -0.09220895, 0.0032092573, 0.050383486, 0.016794495, 0.04303744, -0.0047149495, -0.0015907157, -0.017128406, 0.011396265, -0.025105173, -0.0035679026, -0.026341882, -0.0043872218, 0.008001501, 0.024734162, 0.0027903225, 0.008465267, -0.012948333, -0.0038956304, -0.006604021, -0.01923081, 0.03465256, 0.065001376, 0.021976301, -0.0006442476, 0.009442266, 0.013096739, -0.029680993, -0.001774676, 0.02118481, -0.035518255, 0.016299812, -0.007939666, 0.033687927, -0.034108408, -0.013999535, 0.033440586, 0.02965626, -0.010981968, 0.0063319453, 0.0014701367, -0.041355517, -0.0073769633, -0.047266982, 0.014036636, -0.028098008, 0.001223568, -0.018896898, 0.022582289, 0.0054848003, 0.0010326512, -0.04244382, 0.021160075, 0.02253282, 0.00887338, 0.010338879, 0.023992136, 0.010852113, -0.006174265, 0.03517198, -0.023584023, 0.008582754, 0.044991437, -0.014407649, -0.03210494, -0.04664863, -0.03257489, 0.01116129, 0.010815012, 0.029211044, 0.004696399, -0.004300652, 0.0011455008, 0.05035875, 0.060994443, -0.0007976767, -0.0109139485, 0.009751443, 0.00039342773, -0.013232776, 0.01723971, -0.013170941, 0.019787328, 0.02710864, 0.0030082923, -0.035345115, 0.0039822, -0.009479367, -0.038610026, 0.01385113, -0.004829345, 0.011958967, 0.03079403, 0.039104708, -0.0032989187, -0.011142739, 0.03316851, -0.023880832, 0.030225145, 0.015916433, 0.017177874, 0.01965129, -0.0046469304, -0.01914424, -0.012119738, 0.011272593, 0.027207578, 0.0044459654, 0.019923367, 0.0044057723, -0.0049282815, -0.01605247, -0.039624125, -0.044546224, 0.009003235, 0.00806952, -0.0011261773, 0.010110089, 0.02223601, -0.02054172, 0.025476186, -0.01944105, -0.011000518, 0.035518255, 0.0073089446, -0.012342346, 0.015347547, 0.023435617, -0.0073955143, 0.017091306, 0.019218443, 0.059015706, 0.015199142, 0.006795711, -0.016769761, 0.025426717, 0.003821428, 0.017054204, -0.015149673, 0.04607974, -0.0079025645, 0.014927066, 0.018278545, 0.024350781, 0.007871646, 0.020232543, -0.02202577, -0.029631525, -0.017969368, -0.015050737, -0.0072965776, -0.007989134, 0.023101706, 0.054662496, -0.04833055, 0.021704227, 0.0109015815, 0.008156089, 0.044966705, 0.048380017, 0.012713359, 0.00344114, 0.00023864601, 0.0016340005, 0.009467, 0.01949052, -0.00039999775, 0.011569404, -0.004074953, 0.053871002, 0.0075933873, -0.012280511, -0.015434116, 0.05451409, 0.032797497, 0.005311661, 0.03472676, -0.012224859, -0.027751729, 0.014889965, -0.0056517557, -0.013653257, -0.034380484, 0.007556286, 0.012107371, -0.015409382, -0.034800965, -0.027677527, 0.00080927083, 0.013863497, 0.00468094, 0.04095977, 0.0033329283, 0.017870432, 0.008088071, -0.010827379, -0.019082405, 0.010592405, -0.01655952, -0.010889214, -0.003713216, 0.051150244, 0.014716825, -0.017882798, 0.012509302, -0.00060289516, -0.032352284, -0.046945438, -0.033316914, 0.032500688, -0.03109084, 0.018884532, -0.002782593, -0.020949835, 0.02651502, -0.0012452104, 0.018191975, 0.026193477, -0.009553569, -0.02503097, -0.002018926, -0.038857367, -0.017722026, 0.032846965, -0.0169429, 0.003011384, 0.010332696, -0.008527102, -0.042072807, 0.01453132, 0.020084139, 0.010746993, -0.017536521, -0.009603038, -0.020257277, 0.010938683, -0.019342113, -0.011179841, 0.00033796913, -0.00487263, -0.0024966043, -0.01961419, 0.020022303, -0.001465499, -0.024833098, -0.023163542, 0.015656725, 0.003348387, 0.0028057813, -0.033242714, -0.008867197, 0.007642856, 0.026366616, 0.02376953, -0.052931104, -0.017994102, -0.006325762, 0.03579033, 0.037101243, -0.012231043, 0.034281548, -0.013158574, 0.001237481, -0.0049159145, 0.01715314, -0.007531552, 0.011519935, -0.012515485, 0.00413988, 0.025179375, -0.02122191, 0.009739076, -0.015223876, 0.009312412, -0.014716825, -0.012008435, -0.017944634, 0.012150656, 0.013974801, -0.040737163, -0.0029650074, -0.00054917566, -0.0121939415, 0.012354713, 0.018328013, -0.020158341, 0.0066596726, -0.023497453, 0.013220409, -0.007222375, 0.049789865, 0.015013636, 0.016064838, 0.005645572, -0.004356304, 0.0014539049, -0.016745027, -0.005475525, 0.0076366724, -0.028840031, 0.009788544, -0.0070554195, 0.016077204, 0.012583504, 0.0458324, -0.011383898, -0.03559246, -0.018117772, 0.0027516754, 0.00006714938, 0.042344883, 0.02143215, 0.013529586, 0.024078706, -0.02478363, 0.019206077, -0.020974569, 0.017969368, -0.009213475, 0.0063103028, -0.005577553, 0.015904065, 0.007290394, 0.0024455902, 0.007389331, 0.0025893576, 0.034504153, 0.017561255, -0.014667357, -0.0018875257, -0.018995836, 0.0228791, -0.025315413, -0.029235778, -0.0677716, -0.008403432, -0.036161344, -0.006149531, -0.012416549, -0.01842695, 0.03329218, -0.010499652, 0.029285247, 0.006832812, -0.022965668, 0.0046067373, 0.0047767847, 0.04642602, 0.03133818, -0.024363149, 0.04719278, 0.0050055757, -0.037991673, -0.024795996, -0.019985203, 0.025426717, -0.01986153, 0.013480118, 0.010277044, -0.013974801, 0.017004736, 0.00985038, -0.004492342, -0.0008942945, -0.010981968, 0.011383898, 0.0066225715, 0.035221446, -0.032129675, 0.0023219194, 0.02130848, 0.007989134, -0.0015489769, 0.0036668393, 0.008737342, -0.015285712, 0.017981734, 0.034578357, -0.01681923, 0.013591422, -0.01264534, -0.013665624, -0.03727438, 0.023188276, -0.012397998, 0.02448682, -0.02901317, -0.009145456, 0.008898115, -0.011866214, 0.014061371, -0.025401983, -0.0073645962, 0.01465499, 0.008570387, -0.02164239, 0.056047607, 0.011699258, 0.0139005985, -0.015533053, -0.011371531, 0.017103672, 0.035567723, -0.019428683, -0.020282011, -0.014902332, -0.01037598, 0.020653024, 0.0019864624, -0.011513752, -0.033242714, 0.011445733, -0.028518487, 0.0076861405, -0.014580788, -0.04214701, -0.038535822, 0.03210494, -0.004365579, 0.010746993, -0.0069502993, 0.0077108745, -0.01914424, 0.0048602624, 0.035641927, 0.009120721, -0.00169429, 0.027504386, -0.014630256, 0.0078098113, 0.013430649, 0.025748262, -0.04617868, 0.0010372889, 0.0036853899, 0.005515718, 0.029260512, 0.00777271, 0.0056393887, 0.018612456, -0.03744752, 0.025401983, 0.05003721, -0.010351246, -0.029606791, -0.018946366, -0.019107139, -0.013875864, 0.008539469, 0.015421749, -0.028444285, -0.0050890534, 0.017994102, 0.0016757394, 0.0036606558, 0.022038138, -0.033687927, 0.039327316, 0.04321058, 0.0012305245, 0.011587954, 0.011136556, 0.033193246, 0.024387883, 0.009077437, 0.03608714, -0.062330086, 0.018797962, -0.024437351, -0.010029702, 0.026218211, 0.0051570726, -0.020133607, 0.013739826, 0.046450753, 0.0061959075, 0.00026666519, -0.006616388, 0.022817263, 0.02143215, -0.023027504, -0.021617657, 0.011686891, 0.027504386, 0.0687115, 0.02715811, 0.0016819229, -0.021085871, -0.011897132, -0.005033402, -0.019119507, 0.037323847, -0.034331016, -0.0076737734, -0.0011447279, 0.03762066, 0.021147707, 0.019243177, 0.0083354125, -0.014420016, -0.04078663, 0.00567649, -0.016596623, 0.023633491, -0.012082637, 0.020269645, 0.0012220221, -0.01931738, 0.010141006, 0.022545187, 0.0047273166, -0.021296112, 0.024499187, -0.024412617, 0.051545992, -0.000033333148, -0.022978036, -0.021172442, 0.0029387274, 0.0073831473, -0.017697291, 0.018624824, 0.023447985, -0.0024301312, -0.04256749, -0.03054669, -0.025525654, -0.009881297, -0.001828782, 0.020133607, -0.036779698, -0.024981502, 0.02181553, -0.014518952, -0.009720525, -0.024598124, 0.010629506, 0.009003235, 0.008644589, -0.009689608, 0.0028830757, 0.000084637206, -0.0012475293, -0.0018596997, -0.001559798, 0.0019663658, -0.02461049, 0.016200876, 0.025352515, 0.041652326, 0.024474451, -0.0089785, 0.0014183496, -0.009838012, 0.015087838, -0.0023049146, 0.01196515, 0.02681183, -0.0042851935, 0.019082405, 0.02663869, -0.0129607, 0.021110605, 0.031461854, -0.04528825, 0.005503351, -0.032970637, -0.0054817083, -0.0021317755, 0.008632222, 0.011130372, -0.011111822, -0.013010168, -0.0077974442, -0.03133818, -0.007982951, 0.023584023, 0.0039822, 0.0018767045, 0.016460584, -0.0151744075, -0.017140774, 0.0051725316, -0.031709194, 0.016398748, -0.018624824, -0.023398517, 0.0012977705, 0.026317148, 0.018797962, 0.028023804, -0.008650773, 0.014370548, -0.007519185, 0.031041373, 0.012663891, 0.053475257, 0.003923456, -0.0032247163, -0.03257489, -0.005342579, 0.03596347, -0.035097774, -0.040390886, 0.04058876, 0.018934, 0.02160529, 0.011637422, 0.011260226, 0.021135341, 0.003391672, 0.016633723, 0.0012691716, 0.004291377, 0.007982951, 0.0054724333, -0.029507853, 0.04659916, -0.039327316, -0.0278754, -0.014679724, -0.011792012, 0.010159557, -0.005930015, -0.027504386, -0.024919666, -0.041578125, -0.0069626663, 0.0067586093, 0.00007342954, 0.009671057, -0.001278447, 0.012651524, -0.0035709946, 0.0199481, 0.023880832, -0.022978036, 0.021778429, 0.009009418, 0.009126905, 0.031239245, -0.00097313465, -0.0024888748, 0.033242714, -0.0507545, -0.051743865, -0.015260978, -0.014358181, 0.010666607, 0.0016587346, -0.009398981, 0.005299294, 0.03376213, 0.016547153, 0.006455616, 0.05164493, -0.0034318648, 0.025525654, 0.021209544, 0.013826396, 0.014877598, -0.003360754, -0.014667357, -0.0025244304, -0.007222375, -0.004251184, -0.0014817308, 0.025649324, -0.01944105, 0.061241783, 0.013282244, -0.024437351, 0.013492485, 0.026317148, -0.018674292, -0.010493468, -0.037843265, 0.004467608, -0.002071486, 0.048577894, 0.03405894, 0.014791029, 0.019045305, 0.02087563, -0.009701975, 0.030769296, 0.043433186, 0.02901317, -0.020640656, -0.015421749, -0.009553569, 0.010363613, -0.014036636, -0.022297846, -0.0055497275, 0.016918166, 0.004102779, 0.031115575, 0.00008207683, 0.0064741666, 0.019849164, 0.02817221, -0.017165508, -0.0057352334, 0.018797962, 0.0028614332, 0.012125922, -0.0121753905, -0.006399964, -0.01255877, -0.04664863, -0.00462838, -0.0045912787, 0.018525887, -0.029829398, -0.0019400858, -0.04202334, 0.011730175, -0.04011881, -0.019960469, 0.0219021, 0.038708963, -0.000470722, 0.036210813, -0.017536521, -0.027900133, -0.015013636, -0.012849397, -0.013814029, -0.0016695559, 0.028196944, -0.03205547, 0.009967867, -0.01744995, 0.017969368, 0.030423017, 0.0021997944, 0.0041213296, -0.010876847 ]
2401.09350
199
# 6.1 Intuition The most natural way to understand a spatial walk through a collection of vectors is by casting it as traversing a (directed) connected graph. As we will see, whether the graph is directed or not depends on the specific algorithm itself. But the graph must regardless be connected, so that there always exists at least one path between every pair of nodes. This ensures that we can walk through the graph no matter where we begin our traversal. Let us write G(V, E) to refer to such a graph, whose set of vertices or nodes are denoted by V, and its set of edges by E. So, for u, v ∈ V in a directed graph, if (u, v) ∈ E, we may freely move from node u to node v. Hopping from v to u is not possible if (v, u) /∈ E. Because we often need to talk about the set of nodes that can be reached by a single hop from a node u—known as the neighbors of u—we give it a special symbol and define that set as follows: N (u) = {v | (u, v) ∈ E}.
2401.09350#199
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 199, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "# 6.1 Intuition\nThe most natural way to understand a spatial walk through a collection of vectors is by casting it as traversing a (directed) connected graph. As we will see, whether the graph is directed or not depends on the specific algorithm itself. But the graph must regardless be connected, so that there always exists at least one path between every pair of nodes. This ensures that we can walk through the graph no matter where we begin our traversal.\nLet us write G(V, E) to refer to such a graph, whose set of vertices or nodes are denoted by V, and its set of edges by E. So, for u, v ∈ V in a directed graph, if (u, v) ∈ E, we may freely move from node u to node v. Hopping from v to u is not possible if (v, u) /∈ E. Because we often need to talk about the set of nodes that can be reached by a single hop from a node u—known as the neighbors of u—we give it a special symbol and define that set as follows: N (u) = {v | (u, v) ∈ E}.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.016275119, 0.013562599, 0.020355795, -0.026601728, -0.02253295, -0.007078725, -0.0028181057, 0.008084022, -0.010047031, 0.079329304, 0.025055116, -0.0010075286, 0.008226787, -0.008280324, 0.029433219, 0.01280119, 0.03816563, 0.00014099824, 0.03186021, 0.0027660562, 0.017571893, 0.04194888, 0.010136258, -0.01060619, -0.007037085, -0.029123897, 0.0071322615, 0.053822104, 0.04047365, 0.0028642067, 0.013181894, 0.005487499, -0.006686123, -0.031122595, -0.021545498, 0.046231806, -0.01982043, 0.022057068, 0.004062831, 0.013895716, 0.038213216, 0.0717628, -0.00057254394, -0.04813533, 0.03462032, 0.01802398, -0.009398643, -0.016536852, -0.022961242, 0.010564551, 0.0072036437, 0.00885138, -0.026863463, 0.030456362, -0.06757505, -0.018868668, 0.007857979, -0.022354495, 0.03205056, -0.0032716796, -0.020105958, 0.01499024, -0.004821266, 0.008714564, 0.0235204, 0.037071105, -0.0283149, 0.019332651, -0.02141463, -0.01280119, -0.025388233, 0.07452291, -0.005805744, 0.01407417, 0.011510364, 0.009898318, -0.035381727, -0.011730459, -0.03452514, 0.012015986, 0.025340645, -0.02002268, 0.015882516, -0.014561948, -0.03676178, -0.034882054, 0.0029906125, -0.024817176, -0.05115717, -0.029219072, 0.005032438, 0.008833535, 0.006567153, -0.002071568, 0.008839483, 0.037332837, 0.053203456, -0.021664467, 0.004785575, -0.022663817, -0.0442569, -0.03688075, 0.06305419, -0.035714842, 0.06876475, 0.019475415, -0.0034025467, 0.030599127, 0.014145552, -0.014466772, -0.045946278, -0.009101218, 0.01104638, 0.051014405, 0.069526166, -0.030718096, -0.035357933, -0.0630066, 0.03621452, 0.02867181, 0.001107166, 0.0032092202, 0.032883354, -0.02356799, -0.009761502, -0.038141835, -0.00913096, -0.00051752024, 0.049491588, 0.031312946, 0.040330887, -0.017607585, 0.027957989, -0.01678669, -0.012146854, -0.0235204, -0.009232085, 0.045042105, 0.0037178176, 0.051442698, -0.005430988, -0.0023199182, 0.0215336, 0.043090995, 0.04251994, 0.031193977, -0.01770276, 0.11240301, 0.047231156, 0.03559587, 0.005255507, 0.03262162, 0.024650618, -0.018131053, -0.012253927, -0.004485175, -0.046231806, 0.039307743, 0.012848778, 0.03935533, 0.0038992472, 0.009428386, 0.040402267, -0.0042055952, -0.0058354866, 0.0017711683, -0.058676086, -0.0048985966, -0.026316201, -0.009862627, -0.045446604, -0.079329304, -0.03511999, 0.044161726, 0.06990687, -0.026863463, -0.055773214, -0.05396487, 0.04501831, -0.014645227, -0.038260806, 0.011409239, 0.00039446045, -0.02890975, 0.037142485, 0.04972953, 0.023984386, -0.01048722, -0.035857607, -0.021129102, -0.04972953, 0.04844465, 0.0032449113, 0.015704062, 0.029242866, -0.008351706, 0.03876048, 0.009553304, 0.04566075, -0.013622084, -0.012301515, 0.0018083465, 0.03214574, -0.047635652, -0.030099452, -0.0061864485, 0.036262106, -0.015906312, -0.01619184, -0.0062340368, -0.013764848, -0.05610633, -0.0057284134, -0.014942653, -0.031717446, 0.0022366391, 0.027053816, 0.042853054, -0.0035869505, 0.056677386, -0.031693652, 0.03038498, 0.037451807, 0.006364904, -0.012551352, -0.008155405, 0.017714657, -0.095509246, 0.0011502928, -0.003664281, 0.007584348, 0.02081978, 0.027839018, -0.091892555, -0.039402917, -0.029195279, -0.0104574775, 0.00049038016, -0.03121777, 0.031122595, -0.02867181, -0.048825357, 0.014942653, 0.020248722, -0.027934195, 0.023056418, -0.026625523, -0.0027690306, -0.00063872105, 0.029694954, 0.026149642, 0.047588065, -0.022473464, 0.00913096, -0.02324677, 0.039664652, -0.0066742264, 0.039855003, 0.031717446, 0.019392136, 0.039736036, -0.038332187, 0.035072405, -0.022354495, -0.024864765, -0.029671159, -0.011111814, -0.033716146, -0.010754903, -0.011415187, 0.019832326, 0.019606283, -0.018285714, -0.031527095, -0.063387305, -0.002600985, -0.0063232644, 0.02938563, 0.023782136, -0.00472609, -0.020688912, 0.0154066365, -0.004274003, 0.019523004, -0.005136537, -0.010570499, -0.059865788, 0.03928395, -0.00003926945, -0.00228274, 0.022235524, -0.015109211, 0.005820615, -0.00023217771, 0.031193977, 0.020665118, 0.024555443, 0.0005691979, 0.049158473, -0.0099756485, 0.021497909, -0.041449204, 0.0011621898, 0.03621452, -0.01849986, 0.006168603, 0.006555256, 0.02177154, -0.0028255414, 0.027148992, -0.024317501, -0.000848406, -0.019059021, 0.01032661, -0.018690214, 0.030313598, 0.022640022, -0.048635002, -0.009107166, 0.0064124917, -0.025554791, 0.011248629, 0.042734083, 0.016536852, -0.00004665861, 0.01280119, -0.053774513, 0.02495994, 0.011486569, -0.009327261, 0.0076497816, -0.0067575052, 0.02265192, 0.04159197, -0.027220374, -0.023710754, -0.00877405, 0.029219072, 0.00106627, -0.033882704, -0.026601728, -0.044471048, 0.02109341, -0.000044776465, -0.046208013, 0.05881885, -0.016739102, 0.014954549, 0.00905363, 0.020391487, 0.028648015, -0.054583512, -0.037332837, 0.017893113, 0.03221712, -0.015156799, -0.0093570035, -0.02519788, -0.027791431, 0.005817641, 0.0028984107, -0.04613663, 0.008244633, 0.051966168, -0.028838368, -0.0055737523, -0.017774142, 0.01678669, -0.0283149, -0.009707966, -0.0063708522, 0.0065731015, -0.041282646, -0.018606933, -0.011801841, 0.021426527, 0.00468445, -0.009113114, 0.016584441, 0.079567246, -0.021878613, 0.019677665, -0.05001506, -0.055725627, 0.01001134, -0.0014536667, -0.014216934, -0.042662703, -0.020260619, -0.036547635, -0.0008707129, -0.02850525, -0.02253295, 0.06319695, 0.016941352, -0.05215652, 0.06762264, 0.011159401, 0.04449484, -0.024258016, 0.03178883, -0.011724509, -0.026482759, -0.013871921, 0.01583493, -0.010201692, -0.0061864485, 0.03354959, -0.002892462, 0.026601728, -0.006614741, 0.012729808, 0.022723302, 0.0017295288, -0.02850525, 0.016120458, 0.048063945, -0.01997509, 0.000144809, 0.03102742, 0.0039914493, -0.0007703318, -0.07847272, -0.011575797, -0.00526443, 0.0023600706, -0.009630634, 0.00045171485, 0.028814575, -0.06790817, 0.019998884, 0.06705158, 0.031408124, 0.06762264, 0.020284412, -0.005948508, 0.09474784, -0.03581002, -0.019273167, 0.01622753, 0.0051454594, -0.020748397, -0.018797286, -0.022366391, -0.0010499117, -0.011224835, -0.023318153, -0.040782973, 0.020558044, -0.02607826, -0.018654522, 0.021712055, -0.00054912164, -0.011320011, -0.043162376, 0.0035185425, 0.019796636, 0.019713357, 0.0007320383, -0.0279104, -0.04059262, 0.014895065, -0.02356799, 0.024222326, 0.008417139, 0.044352077, -0.041663352, -0.029290454, 0.06224519, 0.0346917, 0.038094245, -0.03616693, 0.051728226, -0.058961615, 0.000672925, 0.048777767, 0.009547356, -0.006388698, 0.010356353, -0.0011346779, 0.048587415, -0.032907147, -0.03197918, 0.008785946, 0.0474453, 0.024246119, 0.038831864, 0.03326406, 0.031003624, 0.004494098, -0.07347597, -0.05191858, 0.014680918, -0.010255228, 0.009000093, 0.010838182, -0.017084116, -0.016084766, 0.022152245, 0.0058116927, 0.024626823, -0.012491867, -0.00877405, 0.021426527, 0.013181894, 0.037499394, 0.027339343, 0.032240916, -0.011926759, 0.031765033, 0.03688075, -0.037784923, 0.017631378, 0.017036527, -0.016358398, 0.012967748, -0.000016207361, 0.05453592, -0.032288503, -0.020724602, -0.024864765, 0.0082922205, -0.0045238407, -0.014966447, -0.002984664, -0.0020210056, -0.0394743, -0.014454875, -0.05039576, -0.02021303, -0.0239249, -0.016013384, -0.026316201, -0.005805744, 0.012658426, 0.020879263, -0.01259894, -0.0022886884, -0.015775444, 0.00046993216, -0.006662329, 0.010689469, -0.0042055952, 0.015692165, -0.02890975, 0.010380147, 0.00021507575, -0.0073226136, 0.009702017, 0.04042606, -0.024555443, -0.03521517, -0.03559587, -0.015680268, -0.008268426, 0.028933544, -0.0021399758, -0.00026266382, 0.020141648, 0.0033073705, -0.030575333, 0.019891812, 0.026911052, -0.00018282369, 0.00957115, 0.06890752, -0.0041728783, -0.023413328, 0.040497445, -0.01961818, -0.028362487, -0.010374199, 0.0039170925, -0.019689562, 0.028291104, -0.032693002, -0.03097983, 0.0048599313, -0.04637457, 0.045755927, -0.022259317, -0.00294005, -0.007988847, -0.013550702, -0.035357933, -0.01882108, -0.004318617, -0.029100101, -0.0042115436, -0.006192397, 0.026411377, -0.01112371, -0.050871644, 0.031527095, -0.04497072, -0.013027233, -0.02121238, 0.0004197416, 0.009029835, -0.0015272795, 0.023449019, 0.03174124, 0.006043684, -0.015525606, -0.053917278, -0.01642978, -0.017191188, 0.0016090715, 0.005627289, 0.019285064, 0.0020923878, -0.016132355, 0.02336574, 0.012503765, -0.011379496, 0.038260806, 0.006686123, -0.008024538, 0.057914674, -0.055773214, 0.013098615, 0.015085417, 0.01870211, 0.007620039, -0.0059068687, 0.007162004, 0.038522538, -0.011206989, 0.027196579, -0.061198253, -0.027720049, -0.03274059, 0.03121777, -0.004996747, -0.010296868, -0.02256864, -0.016739102, -0.007727112, -0.016263222, -0.007881774, -0.00078966445, -0.01802398, -0.025102705, -0.006109118, 0.009279673, -0.026482759, -0.0037564829, 0.03816563, -0.0458511, 0.0021578213, -0.05091923, 0.039260153, 0.013752951, -0.013990891, 0.029171484, -0.01200409, -0.0032568083, -0.006650432, 0.009351055, 0.0032002975, 0.04513728, -0.04489934, 0.002470118, -0.00781634, -0.017476717, -0.015240078, -0.004107445, 0.010148155, 0.002795799, 0.014645227, -0.012277721, 0.044114135, 0.02041528, 0.016441677, -0.0000570685, -0.027624872, -0.014324008, 0.01451436, -0.0091726, -0.013027233, -0.0091844965, -0.009832884, 0.010629985, 0.041472998, 0.0056719026, 0.008988196, 0.019558694, 0.008113765, -0.005231713, -0.01958249, -0.0067931963, 0.015644576, 0.053203456, -0.0016298912, -0.017274467, -0.006692072, 0.007596245, 0.025293058, -0.06957375, -0.07780649, -0.010820337, 0.011706664, -0.016917557, -0.028957337, 0.0061983457, -0.032835767, 0.014002789, -0.008304117, -0.020224929, -0.016394088, -0.01563268, -0.0023957617, 0.022271214, -0.031312946, -0.0012677758, 0.01499024, -0.007399944, -0.011659076, -0.011950553, -0.02683967, -0.051728226, 0.03680937, -0.028076958, 0.0012142393, -0.049491588, -0.018678315, -0.034073055, -0.02168826, 0.019511107, 0.0057432847, 0.0022619204, 0.0061864485, 0.017595688, 0.00054466026, 0.03345441, 0.024769587, -0.0033876754, -0.038903244, -0.032764383, -0.03768975, -0.037975278, -0.020462869, -0.00015875082, 0.016168045, -0.0037981225, 0.012872572, 0.018987639, -0.029956687, -0.0566298, -0.02333005, 0.013919509, 0.0087562045, -0.01642978, -0.026863463, -0.0065374104, 0.005240636, 0.0031884003, -0.038451158, 0.037237663, 0.021819128, 0.0132413795, -0.0048956224, -0.025078911, 0.01032661, 0.060674783, 0.0012476996, 0.0055321124, 0.02141463, 0.005433962, 0.010279022, -0.0036732038, 0.052965518, 0.015585092, -0.013098615, 0.03859392, -0.017857421, -0.007370202, -0.024043871, -0.037309043, -0.037428014, 0.017238777, -0.03799907, -0.041092295, -0.044875547, 0.008869226, 0.042258203, 0.038855657, 0.0025147318, -0.012777396, -0.053822104, -0.03062292, -0.03799907, -0.04737392, -0.0146333305, -0.03935533, 0.021521702, 0.0030367135, -0.06319695, 0.030956037, 0.021117205, -0.038451158, 0.017167395, -0.010427735, 0.049110886, 0.04370964, 0.04354308, -0.051537875, -0.028100753, 0.010582396, -0.005710568, -0.037023515, 0.014193141, -0.017417232, 0.00085435447, -0.006275676, -0.0024835023, 0.016929455, 0.0109036155, 0.005850358, 0.021545498, 0.0067396597, -0.03954568, 0.031765033, 0.0014083093, -0.027529696, 0.014490566, 0.02400818, -0.040568825, -0.026934845, 0.0006483874, 0.04290064, 0.009755554, -0.0195349, 0.0037356631, -0.003325216, 0.008072126, 0.005981225, 0.022033274, -0.015263872, -0.010308765, -0.0018113208, 0.020581838, -0.041758526, 0.0041609816, 0.0048361374, 0.010433683, 0.007269077, -0.018725904, -0.010689469, -0.010713263, -0.020593736, 0.01854745, 0.015037829, 0.020082165, 0.047469094, 0.022592435, 0.025126498, 0.00095696625, -0.011718561, 0.04597007, 0.0104574775, -0.016965145, -0.013705363, 0.004449484, 0.011914862, 0.011944604, -0.0043156426, 0.022818478, 0.00038590946, 0.006519565, 0.0235204, 0.038736686, -0.00018895807, 0.0013897202, -0.0024329398, -0.01706032, -0.017322056, -0.01064783, 0.026292406, -0.006483874, 0.05091923, 0.019035226, -0.016501162, 0.01020764, -0.007108467, -0.048825357, 0.0028537968, 0.018404685, 0.00035393625, -0.0012469561, 0.007679524, -0.006507668, -0.030075658, 0.008863277, -0.013479319, 0.048777767, -0.010332559, 0.031170184, 0.039664652, 0.019166093, -0.005457756, -0.03381132, 0.0006829631, 0.022758992, -0.016489265, 0.025792731, -0.024555443, 0.015466121, 0.017167395, -0.039307743, -0.0044078445, 0.0046011712, 0.0014901013, 0.0019600336, 0.01849986, 0.04161576, -0.030527744, 0.006483874, -0.016156148, 0.010683521, 0.013074821, 0.0033847012, -0.017405335, 0.014954549, 0.00091904454, -0.040521238, -0.020367691, -0.0044197417, 0.026911052, -0.014205038, 0.0071203643, -0.0113497535, 0.0035125942, 0.013158101, 0.025316851, -0.011093968, -0.015918208, 0.021914305, -0.015739752, 0.03264541, -0.008464728, 0.0041252906, 0.008179199, 0.000019808997, -0.019844223, 0.013336555, 0.019630076, -0.0073523563, 0.02607826, 0.03285956, 0.008768101, 0.006894321, 0.018166743, 0.012277721, -0.009583047, -0.023782136, 0.03257403, 0.021390835, -0.01487127, 0.0016997862, 0.0061269635, 0.03038498, 0.028219722, 0.019320754, 0.02643517, -0.015180593, 0.030908449, -0.008887071, -0.024698205, -0.0060793753, 0.035857607, 0.02101013, 0.02938563, 0.03409685, 0.02244967, 0.0044137933, -0.0128963655, -0.0012863649, 0.022080863, -0.0023615577, 0.01917799, 0.037499394, -0.013681569, -0.022354495, -0.03647625, -0.017952599, -0.0053149923, 0.013800539, 0.029242866, -0.009660377, 0.021200484, 0.012706013, -0.021438424, -0.061150666, 0.002974254, 0.0047231154, -0.024234222, -0.048563622, 0.0047915233, -0.017571893, -0.057867087, -0.01607287, 0.024020076, 0.0128963655, -0.010023236, -0.006144809, -0.0010484246, 0.04577972, 0.003875453, -0.018714007, 0.030694302, 0.0027645691, -0.0007457942, -0.0018395762, 0.013800539, 0.009458128, -0.026316201, 0.035476904, -0.014573845, -0.026030673, 0.0024002232, -0.030599127, 0.001310159, -0.014764197, 0.007364253, -0.018559346, 0.0043721534, -0.0055678035, 0.007976949, -0.010600242, 0.015489915, -0.004039037, 0.03138433, -0.019558694, -0.001626917, 0.034644112, 0.018333303, -0.025626173, -0.022735199, 0.038617715, -0.03652384, -0.0061269635, -0.06272107, 0.002424017, 0.023413328, 0.0007093596, -0.006109118, -0.014680918, -0.007691421, 0.058342967, -0.02938563, 0.008125662, -0.018202435, 0.02500753, 0.03205056, 0.0040182173, -0.011141556, 0.030313598, -0.045732133, 0.0010060414, -0.024626823, 0.014490566, 0.00007993308, -0.0070073428, 0.016346501, 0.014716609, -0.0047558323, -0.026125848, 0.020700809, 0.007608142, -0.008387397, -0.028195929, 0.013538805, -0.010945255, 0.01128432, -0.0068645785, -0.012010038, 0.036238313, -0.021426527, -0.016370295, -0.014466772, 0.00060674787, 0.03197918, -0.012230133, -0.004773678, 0.02368696, 0.00426508, 0.02595929, -0.01686997, 0.012813087, -0.013431732, 0.045470398, -0.011462775, -0.005606469, -0.020962544, -0.00833386, -0.029171484, 0.011540106, 0.008726462, 0.030075658, -0.009077423, 0.052013755, -0.004714193, -0.012027884, -0.004868854, -0.045399014, -0.01566837, 0.036833163, -0.006751557, -0.020677015, 0.028576633, 0.020950645, 0.01543043, -0.02667311, -0.0019436751, -0.0019868019, 0.010118413, -0.024745794, -0.008672925, 0.009583047, -0.0026411377, -0.011450878, -0.050300587, 0.010267125, -0.0072036437, -0.02333005, -0.017821731, -0.009600893, 0.03102742, -0.007863928, -0.01280119, -0.0043126685, -0.011772098, -0.025887908, -0.024281811, -0.009475973, 0.005091923, 0.015977694, -0.02268761, 0.021509806, 0.0149069615, -0.025507202, 0.0070311367, 0.03409685, 0.0041223164, -0.0034174179, 0.022342596, 0.048301887, -0.017274467, -0.041211266, 0.02624482, -0.0068288874, 0.031527095, -0.011343805, -0.0031229667, 0.0017637326, -0.022877963, -0.031075006, -0.0069954456, 0.0076140906, -0.017167395, -0.019915605, -0.0041133934, 0.00068407843, -0.030908449, -0.00039966538, -0.016179942, 0.0037891997, 0.0179407, -0.008571801, 0.035500698, -0.003301422, 0.0043453854, 0.0024180687, 0.0128963655, -0.010451529, 0.018392788, -0.016382191, -0.004610094, -0.010778697, 0.0003689934, 0.004104471, 0.005886049, 0.015085417, 0.0039230413, -0.029219072, -0.011361651, 0.0027214426, -0.0059038945, -0.0035750535, -0.02731555, 0.0016046101, -0.018250024, 0.033835113, 0.008078074, 0.0021087462, -0.020510456, -0.002666419, 0.029766336, 0.03233609, -0.020391487, -0.031360537, -0.056772564, 0.020629426, 0.013800539, 0.032407474, -0.034263406, -0.009922111, 0.01702463, 0.0031765033, -0.018392788, -0.0055053444, -0.053536575, 0.0041133934, -0.00897035, -0.04513728, 0.0025191933, 0.023615578, -0.03412064, 0.010189795, 0.014526257, -0.0076378845, 0.026530346, -0.015002138, 0.018202435, -0.02595929, 0.027482107, 0.021117205, 0.0036969979, -0.054583512, -0.031884003, 0.017952599, 0.026958639, 0.032026768, 0.0039825263, 0.019606283, -0.004190724, -0.010743006, 0.030337391, 0.007334511, -0.0036434613, -0.011992193, -0.04035468, 0.010516963, -0.020831676, -0.019701459, -0.026030673, -0.012129008, 0.012610838, 0.008357654, -0.0027392881, 0.024436472, -0.010986894, -0.014692815, -0.012432382, 0.031122595, 0.01268222, -0.010986894, 0.008316015, -0.008298169, 0.0011673947, -0.0063827494, -0.0050651547, -0.03759457, -0.010386095, 0.0027883633, 0.0056005204, 0.002352635, -0.018476067, -0.009612789, -0.015561298, 0.0358814, 0.015489915, 0.024412679, 0.014978344, -0.0020210056, 0.0283149, -0.00014555256, 0.014300214, 0.010790594, 0.012033832, 0.029219072, 0.048658796, -0.025554791, 0.014942653, -0.030527744, 0.0076616784, 0.020831676, -0.0010194256, -0.008637234, -0.019868018, 0.037213866, 0.048682593, 0.023615578, 0.021985687, 0.021949995, 0.0016655823, -0.031812623, -0.024150943, -0.039593272, -0.023591783, -0.012706013, -0.042377174, -0.018666418, -0.012117111, 0.019094711, -0.021367041, 0.023615578, 0.016049076, 0.016965145, -0.002647086, 0.00026600985, 0.0068348357, -0.013681569, -0.010064876, -0.022164142, 0.004363231, -0.0051514083, 0.028481457, -0.0056689284, -0.016049076, -0.039212566, -0.03226471, 0.028576633, -0.016715309, -0.009113114, 0.024769587, -0.015549401, 0.016334604, 0.020926852, -0.022057068, -0.025031323, 0.0007859467, -0.008833535, -0.01575165, 0.0004874059, -0.008363603, 0.018452272, -0.042805467, 0.010838182, -0.007150107, -0.01949921, -0.014324008, -0.018321406, -0.022306906, 0.017607585, 0.014038479, 0.0065968954, -0.05858091, -0.006567153, -0.011296217, 0.008363603, 0.0026500605, 0.007869876, 0.046326984, 0.011361651, 0.008167302, 0.0042174924, -0.015037829, 0.010392044, 0.009374849, 0.00018254484, 0.025150293, -0.014978344, -0.009951854, -0.0039646807, -0.018440375, -0.004223441, -0.012361, -0.03692834, -0.04071159, -0.022033274, 0.0069121667, 0.0034917744, -0.007923413, -0.012206339, -0.020677015, -0.015715959, 0.0011778047, 0.00064132357, -0.019546797, 0.0044881497, 0.013265173, -0.004613068, 0.00068259134, -0.013015336, 0.020236826, -0.0014588716, 0.015478019, 0.000022062924, -0.0033490101, 0.009374849, -0.010148155, -0.0068407846, -0.040378474, -0.0021340274, 0.0021712056, -0.024246119, 0.008298169, -0.020748397, 0.00048368808, -0.012717911, 0.044613812, -0.0037029465, 0.0026173436, -0.0037564829, 0.013907612, 0.014026582, 0.020224929, 0.0099756485, -0.023270564, 0.024698205, -0.0028627196, -0.02974254, 0.047873594, -0.037784923, 0.011415187, -0.0004922391, -0.007269077, -0.03911739, -0.0023689934, -0.018511757, 0.037047308, 0.025459616, -0.001778604, -0.0079828985, 0.0016165071, 0.009999442, -0.013907612, 0.018571243, 0.00426508, 0.02129566, 0.02595929, -0.048159122, 0.02495994, 0.017678967, -0.012170648, -0.00048257274, 0.0033876754, 0.047469094, -0.0007483967, -0.029004926, 0.0021474115, -0.009321312, 0.033787526, 0.0386891, -0.0015942001, -0.027791431, 0.016156148, 0.037190072, -0.0016893763, 0.00042940793, 0.016179942, -0.0028493355, -0.0070073428, 0.010237383, -0.035262756, -0.008000744, -0.016501162, 0.0136696715, 0.009547356, -0.015704062, -0.013752951, -0.0061388607, 0.029242866, -0.034882054, 0.023496607, 0.018511757, -0.012908263, 0.029219072, 0.018975742, 0.027458314, -0.03688075, -0.0043364624, -0.012884469, -0.0023987358, 0.022402082, 0.020391487, 0.024269914, -0.0031289153, -0.006602844, -0.006007993, -0.0068526813, 0.044471048, 0.021640673, -0.001673018, 0.0020210056, 0.012313412, -0.001650711, -0.0042055952, -0.034667905, 0.007727112, 0.0049342876, 0.031289153, 0.0023734549, 0.011795891, 0.020903058, -0.004577377, -0.010100567, -0.036428664, -0.019106608, -0.0073820986, 0.0052287388, 0.00482424, -0.024174737, 0.008595594, -0.0043751276, -0.048777767, 0.0019050097, -0.012039781, -0.046279393, -0.00362859, -0.023889208, -0.025768938, -0.02292555, -0.012265824, -0.026744492, 0.035786226, 0.014954549, 0.022961242, -0.003054559, -0.051823404, -0.039022215, -0.012313412, -0.027601078, -0.024531648, 0.019963194, 0.0040092943, -0.028576633, -0.0056689284, -0.040568825, 0.016013384, 0.03609555, 0.016655823, 0.006870527, 0.021474116 ]
2401.09350
200
The idea behind the algorithms in this chapter is to construct a graph in the pre-processing phase and use that as an index of a vector collection for top-k retrieval. To do that, we must decide what is a node in the graph (i.e., define the set V), how nodes are linked to each other (E), and, importantly, what the search algorithm looks like. 73 74 6 Graph Algorithms Solution Gury Fig. 6.1: Illustration of the greedy traversal algorithm for finding the top-1 solution on an example (undirected) graph. The procedure enters the graph from an arbitrary “entry” node. It then compares the distance of the node to query q with the distance of its neighbors to q, and either terminates if no neighbor is closer to q than the node itself, or advances to the closest neighbor. It repeats this procedure until the terminal condition is met. The research question in this chapter concerns the construction of the edge set: How do we construct a sparse graph which can be traversed greedily while providing guarantees on the (near-)optimality of the solution The set of nodes V is easy to construct: Simply designate every vector in the collection X as a unique node in G, so that |X | = |V|. There should, therefore, be no ambiguity if we referred to a node as a vector. We use both terms interchangeably.
2401.09350#200
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 200, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "The idea behind the algorithms in this chapter is to construct a graph in the pre-processing phase and use that as an index of a vector collection for top-k retrieval. To do that, we must decide what is a node in the graph (i.e., define the set V), how nodes are linked to each other (E), and, importantly, what the search algorithm looks like.\n73\n74\n6 Graph Algorithms\nSolution Gury\nFig. 6.1: Illustration of the greedy traversal algorithm for finding the top-1 solution on an example (undirected) graph. The procedure enters the graph from an arbitrary “entry” node. It then compares the distance of the node to query q with the distance of its neighbors to q, and either terminates if no neighbor is closer to q than the node itself, or advances to the closest neighbor. It repeats this procedure until the terminal condition is met. The research question in this chapter concerns the construction of the edge set: How do we construct a sparse graph which can be traversed greedily while providing guarantees on the (near-)optimality of the solution\nThe set of nodes V is easy to construct: Simply designate every vector in the collection X as a unique node in G, so that |X | = |V|. There should, therefore, be no ambiguity if we referred to a node as a vector. We use both terms interchangeably.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.0015258775, -0.0017859377, 0.020919753, -0.02846006, 0.0017615121, -0.005313272, -0.014977164, 0.023103682, -0.040759034, 0.047862556, 0.0732881, -0.029793406, -0.040529147, -0.025103703, 0.02012664, 0.003862108, 0.045678623, -0.03574749, 0.0023218626, 0.009454119, 0.042184334, -0.000004512438, 0.016919712, 0.028207183, -0.0034310692, 0.0054540783, 0.06758689, 0.058989104, 0.03517277, -0.017299026, 0.01171851, -0.016218556, -0.029241676, -0.008982849, 0.0481844, 0.026942803, -0.029747428, -0.019655371, 0.010540337, 0.044023436, 0.013620828, 0.058437373, -0.030942842, -0.029586507, 0.010040332, -0.030758932, 0.0035862434, -0.039103843, -0.006936852, 0.010569072, -0.014597849, 0.025931297, -0.02698878, 0.013046109, -0.0477706, -0.019402497, -0.013540368, -0.013563356, 0.0700237, 0.04795451, 0.00073061086, -0.018092137, 0.019563416, 0.035839446, 0.023678401, 0.031264685, -0.029034777, 0.02972444, -0.0016594996, -0.025494512, -0.042896986, -0.019276058, 0.019528933, -0.028414082, 0.013689794, 0.023482997, 0.010000101, 0.017436959, 0.014666815, -0.02170137, 0.044782065, -0.051862594, 0.0514488, -0.022276089, -0.008494339, -0.051632706, -0.0012694094, -0.037448656, -0.045149885, -0.056782186, -0.03772452, 0.01394267, 0.034529086, 0.03682796, 0.051494777, 0.047126915, 0.061931662, 0.034391154, -0.008264451, 0.0023750241, 0.0018017425, -0.02917271, 0.034690008, -0.01596568, 0.08298935, -0.021563437, -0.047356803, 0.044736087, 0.014218535, -0.037632566, -0.058253463, -0.030506056, -0.02896581, 0.05742587, 0.010551831, -0.06749494, -0.052368347, -0.010563325, 0.024000244, 0.0072414526, -0.010971376, 0.009436877, 0.0031264685, -0.014804748, -0.037862454, -0.0128507055, 0.052184436, -0.03951764, 0.021988729, -0.006132246, 0.025931297, -0.0124598965, -0.018161103, -0.008724227, -0.004149467, 0.011638049, -0.031793427, 0.0111437915, 0.008459856, 0.034023333, -0.010385163, -0.03848315, 0.0016465684, 0.024942782, 0.017356498, 0.024689905, -0.01423003, 0.061104067, 0.012896682, 0.020069169, 0.04303492, 0.029310642, -0.0085403165, 0.0371498, 0.009189748, -0.0049741883, 0.0024468638, -0.009224231, -0.02186229, 0.024161166, 0.010086309, -0.0019425484, 0.0143449735, 0.016724307, 0.004186824, 0.001656626, -0.08354108, -0.0058966116, 0.004913843, -0.021345044, 0.028230172, -0.10519647, -0.029494552, 0.044575166, 0.028689947, -0.010505854, -0.09264462, 0.015115096, 0.0082414625, -0.023000233, -0.03501185, -0.005112121, 0.024460018, -0.016425453, 0.013586345, 0.029103743, 0.0046494724, -0.051632706, -0.044575166, 0.0063621337, -0.0012392367, -0.00843112, -0.0054253424, 0.015954185, 0.013149559, 0.012356447, 0.04395447, 0.020850787, 0.010597808, 0.028942822, 0.016379477, -0.0062414426, 0.0010222805, -0.028230172, -0.007718469, -0.028184194, 0.029218687, -0.008741468, 0.01994273, -0.033793446, -0.018459957, -0.0061207516, -0.01731052, -0.007155245, 0.00928745, 0.03560956, -0.022919772, 0.07774792, 0.009494349, 0.068276554, -0.019138126, 0.022563448, 0.012735762, -0.00380751, 0.0025718652, 0.006850644, -0.006856391, -0.067357, 0.023931278, -0.009477108, 0.019528933, 0.018161103, 0.024322085, -0.039678562, -0.014149569, -0.017712824, 0.0019152493, -0.008534569, -0.0030230193, -0.021931257, -0.04556368, -0.0038534873, -0.03809234, 0.013218525, 0.0071724867, 0.0028218678, -0.043057907, 0.012298975, -0.016103612, 0.06303512, -0.039126832, -0.010097804, -0.028781902, -0.04590851, 0.0073219133, -0.027448554, -0.012747256, 0.017448453, 0.014689804, -0.013954164, 0.027126713, -0.007178234, 0.023471503, -0.0057673, -0.022701379, 0.034322187, 0.011132297, -0.018735822, -0.0035144035, -0.029678462, 0.008046059, 0.0155403875, 0.014988658, -0.05126489, 0.0003398023, -0.03372448, -0.0037873948, 0.0140461195, -0.03809234, -0.048046466, -0.0010423956, 0.01614959, 0.036368184, 0.018505935, 0.025425546, 0.0019755948, -0.018586395, 0.03156354, 0.0031638253, 0.0045776325, 0.031586528, -0.010293208, 0.008264451, 0.029218687, 0.029103743, -0.012896682, -0.026414061, 0.02698878, 0.058575306, -0.033195738, 0.045494713, -0.02106918, 0.016540397, 0.032827917, -0.05016143, 0.012505874, 0.02480485, 0.054023538, -0.006660987, 0.016873734, -0.008074795, -0.021103662, -0.0033017576, 0.032781944, -0.025379568, -0.0008117898, 0.060644295, -0.053563762, -0.033793446, -0.0005980664, -0.023609435, -0.025448535, 0.023172649, 0.054115493, -0.018908238, -0.017896734, -0.0120116165, -0.0044397004, 0.048736125, -0.0030431342, 0.03701187, -0.027425565, 0.013735771, 0.002530198, -0.0066437456, 0.0025603708, 0.015770275, 0.03098882, 0.023425525, -0.02625314, -0.029816395, -0.041517664, 0.015471421, -0.008919631, -0.029448574, 0.045126896, 0.013402435, 0.02554049, -0.007373638, 0.022391032, -0.026666937, -0.05011545, -0.0042529167, 0.03446012, 0.021207111, -0.012724267, -0.0019899628, -0.021103662, -0.0064943186, 0.009482855, 0.010344933, -0.011063331, -0.014034625, 0.0033937127, -0.019747326, 0.02070136, -0.041839506, 0.013344963, 0.00009958794, 0.019459968, 0.004060386, 0.056414366, 0.017689835, -0.0440924, -0.0042098127, 0.008982849, -0.0060115554, 0.011770234, 0.033057805, 0.0845066, -0.026896825, -0.023609435, -0.03990845, -0.08616179, 0.012195526, 0.0016092118, -0.036115307, 0.0018678351, -0.053195942, -0.0123104695, 0.0021738727, -0.0045718853, 0.01759788, 0.014218535, -0.0074426043, -0.012885189, 0.014000142, 0.02254046, 0.05558677, 0.074253626, 0.03211527, -0.011207011, -0.03151756, 0.0047270595, -0.0063908696, -0.019276058, 0.009425383, 0.053287897, -0.0015919702, 0.007683986, -0.024023233, 0.06795471, 0.017115116, 0.023586446, -0.012839211, 0.029218687, 0.015586365, -0.010908157, -0.005376491, 0.013253008, 0.050069474, 0.01267829, -0.04280503, 0.011695521, -0.030552033, -0.008344912, -0.0007535996, -0.004321883, 0.012919671, -0.05669023, 0.034942884, 0.0141955465, 0.014103591, -0.01614959, 0.004278779, 0.028873857, 0.07581686, 0.00009069776, 0.0009885158, -0.010540337, -0.014620838, -0.02533359, -0.024483006, 0.017540408, 0.020195607, 0.01239093, -0.014448423, 0.001342686, 0.044965975, 0.008626524, -0.024942782, -0.014161063, 0.03250608, 0.05213846, -0.010212747, -0.024115188, 0.054391358, 0.0049799355, -0.0037356701, -0.03151756, -0.022839312, 0.027310623, -0.053563762, 0.024505995, 0.0117127625, 0.0075690425, -0.026574982, -0.022747356, 0.017080633, -0.0040460182, 0.017850757, -0.022563448, 0.0069311047, -0.03970155, -0.0027241656, 0.045655634, 0.0049885563, 0.009735731, 0.025793364, 0.016115107, -0.021827808, -0.05816151, -0.012827717, 0.027195679, 0.046414264, 0.0064943186, 0.07232257, 0.043264806, 0.06092016, -0.017931217, -0.053471807, -0.03151756, 0.024505995, -0.008908137, -0.0055604014, 0.0071609924, -0.019919742, -0.014839231, 0.012241503, 0.0130576035, -0.010517349, 0.045287818, -0.04027627, -0.016287522, 0.02478186, -0.007523065, 0.023482997, 0.022057695, 0.00928745, 0.06473629, 0.0023793345, -0.008080542, 0.023034716, 0.041517664, 0.0002566477, 0.025264625, -0.021195617, 0.044988964, -0.030207204, 0.011931156, -0.013896693, -0.013586345, -0.03604634, -0.013781749, -0.03137963, -0.023632424, -0.056782186, -0.03606933, -0.041655596, -0.002304621, -0.020115146, -0.026529005, 0.009643776, 0.03335666, -0.009638029, -0.034781963, -0.032046303, -0.004962694, -0.032919873, -0.007316166, -0.010551831, 0.018034665, -0.023402536, 0.025517501, -0.019011687, -0.037655555, 0.028552014, -0.017023161, -0.0024080705, 0.011540347, -0.00487936, -0.012666795, -0.01467831, -0.010270219, -0.028919833, 0.036138296, -0.008229968, 0.020000203, 0.011207011, -0.020977225, -0.0030747438, 0.023299087, 0.019310541, 0.03333367, -0.029678462, 0.05705805, 0.006741448, -0.009074804, 0.021724358, -0.02078182, 0.01065528, -0.013287491, 0.02896581, -0.04317285, 0.03349459, -0.018931227, -0.0496097, -0.027264645, -0.011908167, 0.043287795, -0.039839484, -0.010413899, -0.029816395, 0.0062989146, -0.030575022, -0.028322127, -0.028850868, 0.04627633, 0.019931236, 0.02196574, 0.049885564, -0.022345055, -0.012586335, -0.013230019, -0.022632414, -0.016919712, -0.0024928413, -0.005750058, 0.004508666, 0.011511611, 0.036368184, 0.03521875, 0.0027902583, -0.003574749, -0.03193136, -0.008695491, 0.0013275996, 0.03754061, 0.024620939, -0.0034425636, 0.0029411218, -0.022724368, -0.009712743, 0.014770265, -0.0070977733, 0.025425546, -0.00032507515, -0.012425413, 0.0087816985, -0.029310642, 0.04158663, -0.008344912, 0.0008161002, 0.027586486, -0.008218474, -0.0017931217, 0.025310602, -0.020322045, 0.0013031742, -0.015482916, -0.009781708, -0.022000223, 0.01257484, 0.010580567, -0.019103643, -0.0017356498, -0.009333428, 0.013873704, 0.024368063, 0.005017292, 0.013655311, 0.014057614, -0.027471542, -0.02770143, 0.0029483058, -0.021436999, -0.022023212, 0.032414123, -0.042368244, -0.008965609, -0.02843707, 0.0070403013, 0.0091092875, 0.00059016404, 0.017000172, 0.012126559, -0.016207062, 0.00062033674, -0.0004062541, 0.008298934, -0.006683976, -0.017643858, -0.02112665, 0.00432763, -0.0447131, -0.0062069595, 0.012138054, 0.03795441, 0.0030000305, 0.017034655, -0.0032902632, 0.035977375, 0.049057968, -0.024161166, -0.04321883, -0.03390839, -0.0029626738, -0.03579347, -0.013482896, -0.0087816985, -0.025517501, -0.0018735823, -0.039471664, 0.024689905, 0.02951754, -0.029494552, -0.009684007, -0.018620878, 0.003658083, -0.008873654, -0.00476729, 0.018379496, 0.020138135, -0.008718479, 0.009097793, -0.0027859479, -0.026712915, 0.04685105, -0.031494573, -0.06648343, -0.02214965, 0.027264645, -0.010017343, -0.015551882, -0.010184011, -0.019747326, 0.010718499, 0.014988658, 0.037816476, -0.007120762, 0.012505874, -0.01667833, 0.016885228, -0.022391032, -0.020471472, 0.009344922, 0.01967836, -0.005155225, -0.010793213, -0.038207285, -0.036552094, 0.035057828, -0.028850868, -0.000055900353, -0.03951764, -0.006971335, -0.041839506, -0.00014870841, 0.004787405, 0.016620858, -0.005793162, 0.0410349, -0.0013735772, 0.003560381, 0.027310623, 0.028919833, -0.011563336, -0.019563416, -0.016436948, -0.0171496, -0.007517318, 0.012126559, 0.024528984, -0.0009892342, -0.007310419, -0.0053247665, 0.0041034897, -0.03498886, -0.040023394, -0.0066092624, -0.0043592397, 0.007115015, -0.032345157, -0.018299036, 0.022977244, -0.006034544, -0.015436938, -0.01867835, 0.0055316654, -0.0035690018, -0.019161114, -0.013344963, -0.040000405, 0.01994273, 0.020689866, -0.008005829, 0.0127587505, -0.019471463, 0.022494482, 0.014770265, 0.018471451, 0.028368104, 0.032598034, 0.004962694, 0.035126794, -0.0018046161, 0.016034646, -0.027287634, -0.046897028, -0.002997157, -0.021149639, -0.014770265, -0.031057786, -0.0027040504, 0.0027787639, 0.027126713, 0.035724502, 0.044736087, -0.011764487, -0.021057686, 0.00012850345, -0.060460385, -0.06252937, 0.006850644, -0.018000182, 0.039586607, -0.033862412, -0.08059852, 0.014184052, 0.043701593, -0.009471361, 0.04721887, -0.029471563, 0.0018074895, -0.048874058, 0.032023314, -0.014781759, -0.06501216, -0.005738564, 0.0021652519, -0.012080583, 0.021425504, -0.0052414327, -0.010597808, -0.009787455, 0.006344892, -0.014276007, -0.028414082, 0.007350649, 0.011896673, -0.03887396, 0.010913904, -0.005408101, 0.018264553, -0.04556368, 0.019839281, 0.0067012175, -0.02070136, 0.0064311, -0.007908126, 0.06997772, -0.005865002, 0.002517267, 0.030414103, -0.021988729, 0.01423003, -0.0109943645, -0.0008204106, -0.0406211, 0.0016480052, -0.04393148, -0.0006860702, -0.024919793, 0.020816304, -0.023977255, -0.005428216, -0.012528863, -0.012793234, -0.016620858, -0.029609496, -0.018827777, 0.011063331, -0.0029425586, -0.00665524, 0.01831053, -0.019551922, -0.0093794055, -0.0010344932, 0.015724298, 0.08542615, -0.010816202, -0.02080481, -0.05126489, -0.010482865, 0.03466702, 0.0029195698, 0.008804687, 0.016390972, -0.011919661, 0.0047787842, 0.06160982, 0.03151756, 0.028230172, -0.0005071891, 0.034575064, -0.02954053, -0.01996572, -0.019011687, -0.003201182, 0.024666917, 0.048276354, 0.03229918, -0.018299036, 0.028184194, -0.017586386, -0.034345176, -0.011672532, 0.018988699, 0.0050431546, 0.026919814, 0.03696589, 0.027241657, -0.035057828, 0.027103724, -0.00975872, 0.007844907, 0.0126093235, 0.010000101, 0.0412418, 0.010017343, -0.0021968614, -0.04356366, 0.019563416, 0.030942842, 0.008775951, 0.0029885361, -0.028850868, -0.0033103784, 0.0029339378, -0.042598132, -0.04800049, 0.0004834819, 0.014241524, 0.011178275, 0.0440924, 0.033954367, -0.033034816, 0.01131046, 0.0034224484, -0.002616406, 0.009919641, -0.001564671, -0.043471705, 0.009500097, 0.0112644825, -0.0024727262, 0.026574982, 0.03558657, 0.07995483, 0.012632312, 0.03625324, 0.0041322256, 0.0094081415, -0.022115167, 0.0040575126, -0.040414203, -0.0018520303, -0.008597788, -0.013793243, 0.029103743, -0.0022988738, -0.02014963, 0.0026939928, -0.008586294, -0.017770296, -0.013011626, 0.00812652, 0.000846273, -0.038414184, 0.028138217, 0.029770417, -0.0020043307, 0.018034665, 0.0071380036, 0.018666856, -0.0019095021, 0.00421556, 0.029977316, -0.024896804, 0.016161084, 0.001431049, 0.00517534, -0.0009777398, 0.0049655675, 0.012069088, 0.002318989, 0.046368286, -0.004859245, -0.01696569, 0.008856412, 0.06708114, 0.030345136, 0.021207111, 0.04174755, 0.018977204, -0.020414, 0.00687938, 0.0014260202, -0.011827706, -0.014356468, 0.0143449735, 0.0042471695, -0.018149609, -0.03829924, -0.029080754, 0.011247241, 0.024023233, 0.010155275, 0.039678562, 0.011839201, -0.006396617, 0.019908248, 0.0036350943, -0.048920035, 0.005189708, -0.0029454322, -0.030506056, -0.048690148, 0.021253088, 0.0042874, -0.030735943, 0.008885148, 0.027655452, -0.008718479, -0.04064409, -0.013344963, 0.019057665, -0.015873725, -0.0077586994, -0.028230172, -0.006873633, 0.028138217, 0.04524184, -0.008534569, 0.046253342, -0.0056466092, -0.027195679, -0.026000263, -0.04554069, -0.02972444, 0.008592041, -0.027218668, -0.02933363, 0.039632585, -0.017816273, -0.01220702, 0.0038649817, 0.006195465, 0.0028031894, 0.01986227, -0.019793304, -0.03156354, 0.032667, -0.019885259, 0.0016594996, 0.01065528, 0.040000405, -0.0008146634, -0.013747266, 0.049701653, 0.005965578, -0.018356508, -0.032781944, 0.01943698, -0.011367931, -0.0055316654, -0.027287634, 0.005514424, 0.01614959, 0.0132070305, 0.015115096, -0.032414123, -0.0045546438, 0.014138075, 0.02325311, 0.008103531, 0.0012500127, 0.010528843, -0.042345256, 0.0096495235, -0.036896925, 0.033057805, -0.0047644163, -0.010913904, 0.005298904, -0.00014412861, 0.0071724867, -0.020632394, 0.067357, -0.03427621, 0.0033161256, -0.019620888, -0.007994334, -0.001649442, 0.004672461, 0.006747195, -0.030896865, -0.015333489, -0.009827686, -0.03480495, 0.0054943087, 0.012563346, 0.0038218778, 0.00038254698, -0.0046006213, 0.00761502, 0.0072242115, 0.046736106, 0.014724287, 0.0014813369, 0.00076222036, 0.037287734, -0.021057686, -0.0080633005, -0.025609456, -0.012034605, -0.0095288325, 0.05636839, 0.010821949, 0.024712894, -0.000002174838, 0.052000526, 0.008827676, -0.009034574, -0.027747408, -0.033425625, -0.020678371, 0.034230232, 0.007229958, -0.009195495, 0.02351748, -0.004632231, 0.0062989146, -0.0027126712, 0.00587937, -0.029195698, 0.016517408, 0.013896693, 0.008885148, 0.005048902, -0.0061494876, -0.01467831, -0.01294266, 0.027034758, 0.025931297, -0.017011667, -0.023609435, -0.011040342, 0.026138196, 0.0053190193, 0.00088362966, -0.023632424, -0.007781688, -0.027931318, -0.008069048, -0.01594269, -0.0077644465, -0.0019727212, -0.011195516, -0.0047184387, 0.0026666936, -0.026551994, 0.026597971, 0.013103581, 0.013425424, -0.0014799001, -0.0041896976, 0.031080775, 0.015620848, -0.05126489, 0.015367972, -0.0013333468, 0.0025862332, -0.0132070305, -0.0046839556, 0.020425495, 0.014379457, -0.0064311, -0.0024899677, 0.019689854, -0.0212301, 0.0054109744, 0.010821949, 0.0054454575, -0.017023161, -0.022528965, -0.020862281, -0.002410944, -0.012735762, 0.00039907015, 0.028483048, 0.0009403831, -0.0042040655, 0.04140272, 0.02478186, -0.013413929, 0.0289888, -0.0006867886, -0.015299005, -0.039494652, 0.020724349, 0.010057573, -0.008557558, -0.020528944, -0.008873654, 0.0025474397, -0.013172547, -0.013287491, 0.008201232, 0.02623015, 0.0037960156, 0.020184113, -0.01731052, 0.043839525, 0.030000305, 0.0020359403, -0.024528984, -0.005252927, -0.002221287, 0.026299117, -0.022816323, -0.008592041, -0.03737969, 0.0019123757, 0.026506016, 0.041678585, -0.0004098461, -0.020184113, -0.0052299383, -0.04537977, -0.0034281956, 0.021436999, -0.06464434, 0.015505904, 0.0091380235, -0.014092097, -0.0013311916, -0.0020287563, -0.014138075, 0.007488582, 0.004091996, 0.022310572, 0.045586668, -0.005715575, 0.026942803, -0.0074770874, 0.039264765, 0.018655362, 0.0000748032, -0.048598193, -0.047540713, -0.003827625, 0.020459978, 0.026942803, 0.028850868, -0.013965659, 0.04009236, -0.013724277, 0.03664405, 0.0257244, -0.012712773, -0.0030000305, -0.018184092, -0.012138054, -0.028896846, -0.026299117, 0.0046552196, -0.004977062, 0.008379395, 0.018896744, 0.0004967723, -0.020402506, -0.014781759, -0.022207122, 0.023057705, 0.043655615, 0.0147932535, 0.0118621895, -0.004192571, -0.001966974, -0.013436918, -0.0004058949, 0.03604634, -0.04740278, 0.0034569316, -0.010505854, 0.015333489, 0.02606923, 0.0019942732, -0.031586528, -0.02235655, 0.040713057, -0.0024066337, 0.03027617, -0.0058276453, 0.025264625, 0.008051806, -0.02341403, -0.0037327965, 0.0063621337, 0.02554049, 0.052368347, 0.018505935, -0.01053459, 0.020264573, -0.007488582, -0.03227619, -0.016505914, 0.014436929, -0.011189769, -0.015459927, 0.016126601, 0.02088527, 0.03498886, 0.007092026, 0.005563275, -0.009069057, -0.037862454, -0.0007557548, -0.020264573, 0.012184031, 0.0098564215, 0.007626514, 0.0103966575, 0.0076207668, 0.020896764, 0.0015531767, 0.014092097, 0.0048534977, 0.021620909, -0.006770184, 0.03579347, 0.01016677, -0.00720697, -0.0070805317, -0.013885198, 0.021747347, -0.021046191, 0.01575878, 0.018620878, 0.0257244, -0.057195984, 0.00455177, 0.01614959, 0.011327701, 0.03250608, 0.03606933, -0.024551973, -0.0034770467, 0.004925337, -0.035862435, -0.024207143, -0.01112655, 0.016184073, 0.0018060529, -0.008413878, -0.017620869, 0.02296575, -0.0074138683, 0.040138338, 0.0033362408, -0.012804728, -0.010735741, 0.0055230446, -0.030621, 0.0220462, 0.009620788, 0.010919651, -0.0153105, 0.02514968, -0.0006620038, 0.0072414526, -0.0035948642, 0.009442625, 0.02188528, -0.0031494573, 0.014023131, 0.026529005, -0.012402425, 0.00076940435, 0.021793325, -0.0455177, 0.0046552196, -0.024643928, -0.013298986, 0.0004188261, 0.016322006, 0.0038736025, -0.0035661282, -0.027287634, -0.029379608, -0.02251747, -0.0056236205, 0.010218495, 0.0012083456, -0.008172497, 0.0144944, -0.0063621337, 0.01006332, -0.008385142, 0.008500086, 0.021023203, -0.009069057, -0.022023212, -0.0071609924, 0.020712854, 0.014069108, -0.0009353543, -0.0011013043, 0.0017931217, 0.00009994714, 0.033632524, 0.020172618, 0.0371498, -0.059678767, -0.006367881, -0.011638049, 0.0050029242, 0.006160982, -0.034873918, -0.018643867, 0.04285101, 0.0056523564, -0.012873694, 0.012333458, -0.016103612, 0.008069048, 0.012149548, 0.01896571, -0.018103631, -0.0017931217, 0.0054368367, 0.00092026795, -0.030919854, 0.06560986, -0.046161387, -0.012413919, -0.021057686, -0.0023721505, -0.028873857, -0.013505884, -0.014057614, 0.008632272, -0.026276128, -0.014689804, -0.01802317, 0.037701532, 0.021551942, -0.019264564, -0.024299096, -0.010465624, 0.014528883, 0.010643786, -0.012551852, 0.014965669, 0.010885168, -0.01823007, 0.052828122, 0.013069098, 0.026850848, -0.012149548, -0.054989062, -0.05848335, -0.022402527, -0.011385173, 0.01996572, 0.00009060796, -0.03464403, 0.014207041, 0.04942579, -0.031609517, 0.0063563865, -0.007005818, 0.010810454, -0.017793285, 0.029471563, -0.0013671116, 0.008109278, -0.038942926, 0.010172517, 0.027126713, 0.015954185, -0.017827768, 0.008000081, 0.033655513, -0.045287818, 0.013138064, 0.022471493, -0.0018031793, 0.016781779, -0.0038046364, -0.009540327, -0.022391032, -0.007316166, -0.014333479, 0.014965669, 0.023655413, 0.019632382, 0.014931186, -0.0024066337, -0.0102759665, -0.011638049, 0.036552094, 0.043448716, -0.00647133, 0.008143761, 0.02806925, 0.0050575226, 0.0026939928, -0.00029705762, -0.008804687, -0.014367962, 0.02478186, 0.027678441, 0.012149548, 0.0042471695, 0.016367983, 0.023425525, 0.011816212, -0.011626555, 0.0045431494, 0.013356457, -0.01127023, 0.0187818, -0.029793406, 0.020448484, -0.0072357054, -0.024620939, 0.013908187, 0.018241564, 0.0020531816, -0.010034584, -0.0062069595, -0.018057654, -0.009413889, -0.027218668, -0.024666917, 0.027149701, 0.028322127, -0.009954124, 0.0038965913, -0.026207162, -0.006195465, -0.03294286, -0.0069483463, -0.009344922, 0.00432763, 0.028597992, -0.0018304783, 0.032712977, -0.042598132, -0.0026106588, 0.021195617, 0.007459846, 0.037678543, -0.013977153 ]
2401.09350
201
What properties should the edge set E have? To get a sense of what is required of the edge set, it would help to consider the search algorithm first. Suppose we are searching for the top-1 vector closest to query q, and assume that we are, at the moment, at an arbitrary node u in G. From node u, we can have a look around and assess if any of our neighbors in N (u) is closer to q. By doing so, we find ourselves in one of two situations. Either we encounter no such neighbor, so that u has the smallest distance to q among its neighbors. If that happens, ideally, we want u to also have the smallest distance to q among all vectors. In other words, in an ideal graph, a local optimum coincides with the global optimum. Alternatively, we may find one such neighbor v ∈ N (u) for which δ(q, v) < δ(q, u) and v = arg minw∈N (u) δ(q, w). In that case, the ideal graph is one where the following event takes place: If we moved from u to v, and repeated the process above in the context of N (v) and so on, we will ultimately arrive at a local optimum (which, by the previous condition, is the global optimum). Terminating the algorithm then would therefore give us the optimal solution to the top-1 retrieval problem.
2401.09350#201
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 201, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "What properties should the edge set E have? To get a sense of what is required of the edge set, it would help to consider the search algorithm first. Suppose we are searching for the top-1 vector closest to query q, and assume that we are, at the moment, at an arbitrary node u in G.\nFrom node u, we can have a look around and assess if any of our neighbors in N (u) is closer to q. By doing so, we find ourselves in one of two situations. Either we encounter no such neighbor, so that u has the smallest distance to q among its neighbors. If that happens, ideally, we want u to also have the smallest distance to q among all vectors. In other words, in an ideal graph, a local optimum coincides with the global optimum.\nAlternatively, we may find one such neighbor v ∈ N (u) for which δ(q, v) < δ(q, u) and v = arg minw∈N (u) δ(q, w). In that case, the ideal graph is one where the following event takes place: If we moved from u to v, and repeated the process above in the context of N (v) and so on, we will ultimately arrive at a local optimum (which, by the previous condition, is the global optimum). Terminating the algorithm then would therefore give us the optimal solution to the top-1 retrieval problem.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.016900267, 0.009177155, 0.031369183, -0.0033580044, 0.010053156, -0.017090961, -0.0030466367, 0.024480358, -0.040427156, 0.05816171, 0.07732647, 0.006137967, -0.066981316, -0.031273838, 0.03825801, 0.006996091, 0.019951373, -0.029486079, 0.009868421, 0.02145309, 0.041881196, -0.0102617275, 0.012776506, 0.0077350307, 0.0036946987, -0.017436594, 0.080615945, 0.06426392, 0.048913043, -0.0011858791, 0.0068053966, 0.0020112272, -0.042357933, -0.022215866, 0.00015009714, 0.016959859, -0.02299056, 0.0042697606, -0.022323132, 0.04002193, -0.0061141304, 0.044121854, -0.04400267, -0.05415713, -0.007085479, -0.057398934, 0.0027159015, -0.02395595, -0.055110604, -0.019879863, -0.0017579615, 0.03782895, -0.05615942, 0.019272026, -0.012979119, 0.0056493133, 0.007842296, -0.0032507388, 0.06626621, 0.033419147, -0.015899124, 0.005446701, 0.01518402, 0.034610983, 0.033705186, -0.007997235, -0.03227498, 0.009010297, -0.004165475, 0.015982552, -0.058114037, -0.00906393, 0.02381293, -0.058018688, 0.03759058, 0.018104024, 0.0076396833, 0.022156274, -0.02018974, -0.01805635, 0.022621091, -0.052679252, 0.04340675, -0.016113654, -0.03065408, -0.057827994, -0.033586003, -0.01083381, -0.05210717, -0.019415045, -0.02439693, -0.008748093, 0.027245423, -0.0017236961, 0.025743708, 0.061355837, 0.07951945, 0.031130817, -0.017436594, 0.0050593535, -0.0117455665, -0.034968536, 0.034682494, -0.04600496, 0.06440694, 0.007282132, -0.04216724, 0.015088673, 0.009868421, -0.015434306, 0.0034503718, -0.029319221, -0.011578709, 0.04879386, -0.0053871092, -0.06006865, -0.044574752, -0.018318554, 0.028103547, 0.029152365, 0.024814073, 0.02270452, 0.003515923, 0.025147788, -0.0096538905, 0.0011017055, 0.013622711, -0.059353545, 0.023562644, 0.017853737, 0.04090389, 0.018545004, 0.024599543, 0.011388015, -0.03375286, 0.016042143, -0.033180777, 0.0006979703, -0.00957642, 0.003787066, -0.022525745, -0.017007532, -0.032894738, 0.023562644, -0.012168669, 0.03885393, -0.023431541, 0.05143974, 0.022168193, 0.037090007, 0.019879863, -0.0033133104, -0.03284706, 0.0036500047, 0.012633486, 0.011262872, -0.005851926, -0.024742562, -0.01701945, -0.0296291, 0.0010517973, -0.0032537186, -0.0015315122, -0.02291905, 0.035040047, -0.0030049223, -0.067839436, -0.015374714, -0.025481503, -0.02041619, 0.019474637, -0.08485889, -0.0066564167, 0.014909897, 0.036017355, -0.029247712, -0.011209239, -0.013324752, 0.02977212, 0.009314217, -0.009278461, -0.010446463, 0.018187452, -0.0035993517, -0.009689645, 0.036446415, -0.020690313, -0.03995042, -0.07966247, -0.042572465, -0.024575705, 0.012347445, 0.005637395, -0.005735722, 0.009296339, 0.0019695128, 0.0013884916, 0.02188215, 0.030844774, 0.031297673, 0.037709765, 0.00019237015, 0.027269261, -0.027674485, -0.033562165, -0.033514492, 0.019474637, -0.0096538905, 0.008152174, -0.02041619, -0.019033657, 0.011399933, -0.011042382, 0.045289855, 0.014433161, 0.0060932734, -0.030749427, 0.07327422, 0.009838625, 0.03368135, -0.016995614, 0.030630244, 0.057732645, 0.019093249, -0.0479119, 0.009814789, 0.04672006, -0.09191457, 0.00678156, -0.009439359, -0.008527603, -0.021608029, 0.0019844107, -0.06454996, -0.013515446, 0.0041982504, 0.009898217, -0.032227308, -0.011763444, -0.029223874, -0.07356026, -0.04650553, -0.038353357, -0.010637157, 0.012371281, -0.016566552, -0.038687073, 0.027650649, -0.022907132, 0.016816838, -0.048317123, 0.03544527, 0.011370137, -0.05482456, -0.008158133, -0.004400863, 0.0061916, -0.0009847564, 0.012299771, 0.002470085, 0.030868612, 0.0026577993, 0.02896167, -0.02247807, 0.017591532, 0.0127169145, -0.0077111935, -0.04650553, -0.012174628, 0.012883772, 0.00007858684, -0.00855144, -0.011101973, -0.017496185, -0.02934306, -0.02188215, -0.030677918, 0.015648836, -0.0023777173, -0.040284134, -0.047816552, 0.022621091, 0.034873188, 0.027531464, 0.017496185, -0.042357933, -0.043287568, -0.011811118, -0.009409564, 0.033419147, 0.063787185, -0.039187644, 0.030844774, -0.02881865, -0.010345156, -0.025243135, 0.0019069413, 0.009939931, 0.04378814, -0.001002634, 0.06645691, -0.027698321, 0.013074466, 0.029152365, -0.048174106, -0.034324944, 0.046886917, 0.0071391114, -0.008640828, 0.037471395, -0.009040093, 0.020428108, -0.0031047387, 0.022656847, -0.038567886, -0.052297864, 0.030892448, -0.0075383773, -0.018401984, 0.011656178, 0.02219203, -0.04383581, 0.008599114, 0.021846395, 0.027555302, 0.022370804, 0.009618135, -0.015672674, 0.043382913, -0.0028216771, 0.054633867, -0.0009028175, 0.03875858, 0.032632533, -0.030606408, 0.029748283, -0.024456521, 0.05039092, -0.009498951, -0.029748283, -0.031512205, -0.030677918, 0.049103737, -0.021024028, -0.0028902078, 0.009933972, -0.018628433, 0.012681159, 0.025815217, 0.027245423, -0.037566744, -0.030320367, 0.025433829, 0.022358887, 0.043096874, -0.009510869, -0.011912424, 0.01201373, -0.058352403, -0.0092903795, 0.015207857, -0.05196415, 0.011066219, 0.0038168621, -0.034301106, -0.0015508796, -0.011298627, 0.018545004, 0.022787947, 0.016006388, -0.012287852, 0.04710145, -0.021584192, 0.012079281, -0.024671054, 0.013455855, -0.031559877, -0.00003989865, 0.04400267, 0.03375286, -0.023562644, -0.020761823, -0.046553202, -0.06407323, 0.02136966, 0.001016787, -0.025052441, -0.005181517, -0.05544432, -0.034682494, -0.010851688, -0.027221587, -0.0041684546, 0.021405416, 0.013396262, -0.0066683353, 0.023205092, 0.044670098, 0.037256867, 0.023634152, 0.0110543, -0.045432877, -0.014230549, -0.032584857, 0.009075848, 0.02018974, 0.00067413354, 0.04505149, -0.0018339412, 0.009177155, 0.01937929, 0.069603354, 0.011143688, 0.023097826, 0.007162948, -0.002476044, 0.02027317, 0.018497331, -0.0062511917, 0.0031822082, 0.029652936, 0.029223874, -0.05129672, 0.024480358, -0.032108124, -0.0073655606, -0.022716438, 0.035540618, 0.021393497, -0.05668383, 0.037161518, 0.029795958, 0.0092367465, -0.032155797, -0.0025639422, 0.017746473, 0.036398742, 0.01032132, 0.031369183, 0.0052381293, -0.035254575, -0.051249046, -0.00294831, 0.0072165807, 0.004162495, 0.015589245, -0.011763444, -0.0065133963, 0.014385488, 0.0056493133, -0.026506484, -0.0103689935, 0.023717582, 0.0017251859, -0.005732742, -0.009844584, 0.051487416, 0.018819127, -0.00032272746, -0.025409993, -0.0042846585, -0.0076218056, -0.0070497235, 0.023681827, -0.0016864511, 0.028794814, -0.008432256, -0.010547769, 0.006310784, 0.015958715, 0.012442792, -0.018318554, 0.0495328, -0.045742754, 0.019796435, 0.010434545, 0.0040880055, 0.018688025, -0.0030481264, 0.0033580044, -0.011060259, -0.055682685, -0.015827613, 0.0013437977, 0.04223875, 0.011817076, 0.055396643, 0.0054437215, 0.01813978, -0.019295862, -0.036589436, -0.038281847, 0.0025371257, -0.010303442, 0.03184592, 0.03551678, 0.02108362, 0.0005623987, -0.011405893, 0.021786803, -0.018104024, 0.057875667, -0.05263158, 0.026864035, -0.00840246, 0.019355454, -0.00795552, 0.018616514, 0.020153986, 0.026983218, 0.030463386, 0.018223207, -0.004311475, 0.010202136, 0.017114798, 0.018509248, -0.008062786, 0.06426392, -0.033228453, -0.004782251, 0.00589662, -0.009338053, -0.0065193553, -0.015791858, -0.006721968, -0.0141471205, -0.05549199, -0.018473493, -0.04104691, -0.009475115, 0.017698798, -0.013944508, -0.003912209, 0.04495614, 0.0085335625, -0.016268592, -0.019295862, -0.0072761727, -0.01650696, -0.014838386, -0.009558543, 0.0009773074, -0.020392353, -0.017567696, -0.012633486, -0.032227308, 0.015863368, 0.0024149623, 0.018473493, -0.02336003, -0.010935117, 0.012490465, -0.042119566, 0.006388253, -0.0076754387, 0.020130148, -0.0049938024, 0.00022216611, -0.01083977, 0.007991276, 0.0028037997, 0.028794814, 0.018735697, 0.01687643, -0.04996186, 0.03759058, 0.024015542, -0.003551678, 0.01731741, 0.0030987796, -0.02092868, -0.008056827, 0.026721014, -0.0016417572, 0.04333524, -0.0021050845, -0.023908276, -0.007085479, -0.01732933, 0.042262584, -0.019820271, 0.0022942887, -0.029462242, 0.015386633, -0.025624523, -0.025386157, -0.020463863, 0.020749904, 0.016304348, 0.027364608, 0.04495614, -0.034324944, -0.008587195, -0.0035576373, -0.04266781, -0.019796435, -0.027865179, 0.026101258, -0.018902555, 0.020594966, 0.012550057, 0.019593822, 0.031011632, -0.0116383005, -0.018175533, 0.008444174, 0.016864512, 0.0022898193, 0.018270882, -0.006787519, -0.00693054, -0.041928872, -0.0136346305, 0.029438406, 0.019224351, -0.017388921, 0.001968023, -0.0024090032, 0.02138158, -0.014433161, 0.021095539, 0.008098541, 0.019713005, 0.035135392, 0.009737318, 0.005741681, 0.038806256, -0.0110840965, 0.027889015, -0.04340675, -0.017353166, 0.016638063, 0.009808829, 0.0143497335, -0.013658467, -0.002549044, 0.009767115, 0.0041178013, -0.0037155559, -0.001953125, -0.0063286615, -0.012585812, -0.038353357, -0.03096396, -0.016781082, -0.03830568, -0.04185736, 0.01761537, -0.035945844, 0.005837028, -0.059591915, -0.0041595157, 0.036756292, 0.0019352474, 0.033109266, 0.01967725, -0.013288997, 0.0010890423, 0.007949562, -0.014433161, 0.012991037, -0.0027278198, -0.018854883, 0.011632342, -0.021941744, 0.028413424, 0.01842582, 0.027078565, -0.012526221, -0.019319698, 0.024122806, 0.011763444, 0.04502765, -0.008587195, -0.008187929, -0.026172768, -0.005416905, -0.039259154, -0.016983695, -0.008873236, -0.003921148, 0.001813084, -0.013908753, 0.020797579, -0.011078137, -0.04161899, -0.010905321, -0.015541571, -0.0045051486, -0.009892258, -0.006465723, 0.020761823, 0.03492086, -0.0149575705, 0.0022123498, -0.0069186212, -0.038687073, 0.0003350183, 0.0014793692, -0.045337528, -0.001275267, 0.072320744, -0.02196558, -0.012418955, -0.02291905, -0.022680683, 0.012025649, 0.011364178, 0.060402364, -0.0075145406, 0.024373094, 0.0001324989, 0.027960526, -0.028198894, -0.02138158, 0.0015508796, 0.031893592, 0.017996758, -0.00861699, -0.013312833, -0.02387252, 0.01002336, -0.042953853, 0.03575515, -0.027388444, -0.0068292334, -0.017555779, 0.007836337, -0.0061200894, -0.020904843, 0.008777889, 0.011364178, 0.0317029, 0.033133104, 0.016077898, 0.048150267, 0.011113892, -0.008134296, -0.05039092, 0.0028976568, -0.0054943743, 0.022823703, -0.030320367, -0.012395118, -0.017222064, 0.017424677, -0.00091622566, -0.026887871, -0.020678394, 0.015422387, 0.010935117, 0.008503766, -0.05320366, -0.006310784, 0.008277317, 0.004290618, 0.0069782133, -0.018580759, -0.014659611, -0.014218631, -0.010178299, -0.009832666, -0.047721203, 0.0100591155, 0.025767544, 0.031965103, -0.0065610697, -0.01642353, 0.03446796, -0.005440742, 0.01613749, 0.020618802, 0.019486556, 0.010750381, 0.041833524, -0.021476926, 0.008783848, -0.007347683, -0.038567886, 0.011012586, -0.006906703, -0.028437262, -0.011542954, -0.040188786, 0.005485436, 0.046767734, 0.027579138, 0.0021035946, 0.005828089, -0.019188596, 0.012645404, -0.030129671, -0.06140351, 0.016375858, 0.005491395, 0.021107456, -0.026649505, -0.09925629, 0.029819794, 0.0393545, -0.025481503, 0.011966056, -0.001127777, 0.0054884152, -0.06588482, 0.0511537, -0.0013959405, -0.04002193, -0.016375858, 0.03942601, -0.015410469, 0.04996186, -0.0005631436, -0.012728833, 0.011078137, 0.02681636, -0.021167047, -0.02889016, 0.013515446, 0.010047196, -0.013968345, 0.018235127, -0.008319031, 0.0027725138, -0.028318077, -0.020916762, -0.0092486655, -0.017412758, 0.013217486, -0.003992658, 0.06350114, -0.024230072, 0.0019129005, 0.042048056, -0.035373762, -0.014087529, -0.003155392, 0.015219775, -0.040665522, -0.0008238582, -0.019367373, -0.013050629, -0.055015255, 0.018461576, -0.028437262, 0.0069603357, -0.0081164185, -0.0062571513, -0.0148622235, -0.04981884, -0.00088345015, 0.012955282, -0.014302059, 0.012478547, 0.0046600876, -0.008694461, -0.029676773, -0.019605739, 0.025004767, 0.05954424, -0.013944508, -0.019319698, -0.041070748, -0.0038883723, 0.042786993, -0.005977069, -0.022120519, 0.029676773, -0.00678156, -0.042930014, 0.039211478, 0.017961003, 0.012609649, -0.005425844, 0.0073059686, -0.04111842, -0.0099518495, -0.025457665, 0.027102403, 0.034086574, 0.043573607, 0.039044622, -0.015553489, 0.03723303, -0.014409325, -0.00825348, -0.0061081713, -0.0022913092, -0.021715295, -0.013610793, 0.04223875, 0.022966724, -0.021488843, 0.027984364, -0.03175057, 0.0263873, 0.00053707213, 0.018235127, 0.0034175962, 0.03279939, -0.02984363, -0.008044909, 0.041952707, 0.035707474, -0.0005568119, 0.013694222, 0.0040850258, 0.014576183, 0.0072761727, -0.029271549, -0.02218011, -0.030606408, 0.021202803, 0.026887871, 0.03072559, 0.047864225, -0.02483791, 0.025004767, 0.0015583285, 0.013598875, 0.0107742185, -0.010643116, -0.06984172, 0.028842486, -0.010893402, -0.015517735, -0.0046541286, 0.027960526, 0.046100304, -0.014266305, -0.00013380247, -0.009695604, -0.015446224, -0.009826707, 0.015052917, -0.03022502, -0.026196606, 0.012228261, 0.03346682, 0.014206712, 0.0129195275, -0.021190885, 0.036875475, -0.017412758, -0.0013199609, -0.0032894737, 0.011244995, 0.012538139, -0.047721203, -0.008259439, 0.041905034, -0.009481073, -0.013110221, 0.009749237, 0.01009487, 0.007651602, 0.034968536, 0.020976353, 0.0053543337, 0.0043442505, 0.015100591, 0.023860602, -0.013622711, -0.010809973, 0.029795958, 0.0032090247, 0.0377336, -0.010726545, -0.0226926, 0.021310069, 0.026125096, 0.033919718, 0.017782228, 0.015386633, 0.003146453, -0.026959382, 0.009939931, -0.014159039, 0.0058995998, -0.024504196, 0.00766352, 0.041380625, 0.015660755, -0.026172768, -0.018842964, 0.051249046, 0.0041744136, 0.04428871, 0.045146834, 0.01893831, -0.006197559, 0.024301583, 0.008277317, -0.047459003, -0.007782704, 0.008158133, -0.021059783, -0.0666476, 0.02409897, -0.012788425, -0.016077898, -0.026768688, -0.00024786513, -0.036065027, -0.04319222, -0.019820271, -0.0025341462, -0.011262872, 0.011042382, -0.03353833, -0.03134535, -0.0060992325, 0.018115941, 0.004797149, 0.05153509, -0.034825515, -0.010476259, -0.017734554, -0.027793668, 0.009933972, 0.006942458, -0.040498666, 0.0085335625, 0.042286422, -0.041023076, -0.010345156, -0.0033490655, -0.01784182, 0.017126717, 0.0039539235, -0.026339626, -0.027459955, 0.014039855, -0.00064731715, 0.011817076, 0.012109077, 0.029295385, 0.0011039402, -0.011447607, 0.04445557, 0.012573894, -0.00008496503, -0.0021259414, 0.0051040477, 0.0046243328, -0.010351116, -0.043811977, -0.024337338, -0.0036738415, 0.0149575705, -0.0040343725, -0.0039837193, 0.01356312, 0.013908753, 0.034086574, 0.013718058, -0.023824848, 0.024349255, -0.06402555, -0.0049193124, -0.03582666, -0.005202374, -0.0026667381, 0.009564502, 0.012693078, 0.0094334, 0.009647931, -0.00037859488, 0.03582666, -0.00034730913, 0.023848685, 0.004076087, -0.013670385, -0.00015540454, 0.015434306, 0.027960526, -0.008301154, -0.007311928, -0.0030838817, 0.020702232, -0.014492754, 0.0116919335, 0.008676583, -0.002438799, -0.009820747, 0.018294718, 0.0016045123, 0.042334095, 0.019498475, 0.0069662947, 0.007377479, 0.050247904, -0.015374714, -0.005631436, 0.011399933, -0.014159039, -0.05101068, 0.03167906, 0.01805635, 0.013980263, -0.0106669525, 0.046934593, -0.01282418, -0.022656847, 0.015052917, -0.016554633, -0.03515923, 0.035254575, -0.0024536971, 0.009481073, 0.014361652, 0.005440742, 0.0317029, -0.007097397, 0.018974066, -0.03096396, 0.04459859, -0.03051106, -0.0021065741, -0.012347445, -0.009189073, -0.01672149, -0.010380912, 0.010488177, -0.0007806541, -0.004281679, 0.012502383, -0.027007056, 0.033490658, 0.017412758, -0.011078137, -0.0045021693, -0.0023300438, -0.004090985, -0.021572273, -0.030296529, -0.010845728, -0.01179324, -0.012669241, 0.016852593, 0.01754386, -0.031202326, 0.019891782, 0.021643784, 0.02490942, 0.014278223, -0.011757485, 0.038162664, -0.009665809, -0.0372807, 0.004400863, 0.022239702, 0.0107205855, -0.0018339412, -0.0075204996, 0.030534897, 0.00048828125, -0.018735697, 0.00039628622, 0.0013855121, 0.0023687787, 0.001650696, 0.005801273, 0.00061491405, -0.0014622366, -0.020404272, -0.009665809, -0.004487271, 0.005107027, 0.00014590708, 0.055635013, 0.028580282, -0.024504196, 0.010649075, 0.028461099, -0.029152365, 0.014433161, -0.011167524, -0.02772216, -0.04209573, 0.005813191, -0.0026369423, -0.004761394, -0.019879863, 0.011250953, -0.026196606, -0.0025341462, 0.019474637, 0.01245471, 0.016006388, -0.0056880484, 0.044789284, -0.009993564, 0.033919718, 0.025243135, -0.006942458, 0.00818197, -0.037042335, 0.01113177, 0.034610983, -0.01872378, -0.0088851545, -0.04872235, 0.012538139, 0.021131292, 0.027245423, -0.006602784, -0.0069782133, -0.0030838817, -0.050819986, 0.0034384534, 0.03072559, -0.045599733, -0.0085752765, 0.025409993, -0.017663043, 0.010601401, -0.006686213, -0.023264684, 0.015875285, -0.021631865, 0.0194508, 0.048031084, -0.031130817, 0.03892544, -0.038782418, 0.01672149, 0.014576183, -0.0016000429, -0.047125287, -0.025958238, -0.00010344784, 0.027364608, 0.040880054, 0.018258963, -0.0064061307, 0.02018974, -0.039902747, 0.03992658, 0.0134320175, -0.01791333, -0.01511251, -0.010041238, 0.009790951, -0.021190885, -0.010267687, 0.016006388, -0.028699467, 0.02167954, 0.02600591, -0.007341724, 0.0070556826, 0.0017207165, -0.010214054, -0.0035755148, 0.056922197, -0.0034771883, -0.0021646763, 0.004946129, -0.0014771345, -0.013324752, -0.01953423, 0.019283943, -0.02438501, -0.018104024, -0.0030958, 0.036994662, 0.008038949, 0.007192744, -0.031440694, 0.0007746949, 0.044836957, 0.01967725, 0.0027740037, -0.0013087874, -0.014361652, 0.02395595, -0.014051774, -0.0025237175, 0.013992182, 0.040880054, 0.032608695, -0.0070497235, 0.008301154, 0.009987605, -0.006316743, -0.016185164, 0.0003268244, -0.016936023, -0.029271549, 0.0018384106, 0.017865656, 0.02807971, 0.021262394, 0.024671054, 0.03360984, -0.007806541, -0.018735697, 0.027221587, -0.039330665, 0.027889015, 0.029962815, -0.009200992, 0.00678156, 0.010386871, 0.0122044245, -0.0002627631, 0.012883772, 0.01703137, 0.02807971, 0.022811785, 0.024814073, -0.020082476, 0.008724256, -0.0022868398, -0.02653032, 0.03279939, 0.011060259, 0.018115941, 0.008730215, 0.016745329, -0.045671243, 0.000020449803, 0.0021095537, -0.03632723, 0.015315122, -0.00346527, -0.02793669, -0.019653413, -0.014051774, -0.04281083, 0.0042548627, -0.013908753, -0.015315122, -0.010523932, 0.0025296768, -0.048507817, 0.007895929, -0.043907322, 0.016352022, -0.014111365, -0.018449657, 0.016864512, 0.007490704, -0.026220443, 0.045575894, 0.016316267, 0.020428108, 0.0033669432, 0.03022502, -0.008158133, -0.0034831474, -0.009528747, 0.0058638444, 0.036017355, -0.01017234, 0.012019689, 0.039330665, -0.0061796815, -0.0014458488, 0.05778032, -0.012275934, 0.017651126, -0.005983028, 0.005178537, 0.0056224973, 0.030820938, 0.008354787, -0.04111842, -0.029438406, -0.00009516084, -0.024051297, -0.012669241, 0.015660755, 0.018258963, -0.005980049, 0.007532418, -0.020165903, -0.010631197, -0.0014294611, -0.02395595, 0.030272692, -0.007848255, -0.027817506, -0.046815407, -0.035183065, 0.026721014, 0.0061081713, 0.01753194, 0.013694222, -0.016125573, 0.013229405, 0.027173912, 0.030415714, -0.02226354, 0.0027978404, -0.016697655, 0.01319365, 0.0010808484, -0.031106979, -0.0073536425, 0.0437643, 0.011828995, 0.0125143025, 0.0149575705, -0.01710288, 0.000575062, -0.009516829, -0.00795552, -0.0012290833, 0.01467153, -0.011548913, 0.004537924, -0.028913997, 0.05940122, -0.07031846, -0.011376097, 0.00560164, 0.009773074, -0.01127479, 0.0071391114, -0.024301583, 0.0012983589, 0.0028335955, -0.0053692316, 0.0031226163, 0.020678394, 0.024957094, -0.008760012, -0.0025773502, -0.009028175, -0.010672912, 0.0078601735, -0.025672197, 0.005816171, 0.01642353, -0.028318077, 0.011858791, 0.027078565, 0.023193173, -0.002145309, -0.05644546, -0.048603166, -0.04672006, -0.0070735603, -0.007943602, 0.004841843, -0.034396455, 0.0037334336, 0.029819794, -0.029057018, 0.0038049438, -0.004627312, 0.00021583447, -0.007729071, 0.034444127, 0.022966724, 0.014278223, -0.058924485, 0.027650649, -0.021810642, 0.018401984, -0.0023896357, 0.0025252074, 0.021822559, -0.04762586, 0.034158085, -0.0015762062, -0.010112748, 0.0069603357, 0.0031792286, 0.03177441, 0.0007031846, -0.025076278, -0.02086909, 0.025147788, 0.009010297, 0.035135392, 0.012967201, -0.000980287, -0.010446463, -0.008599114, 0.03830568, 0.036899313, 0.045146834, -0.011096015, 0.026172768, -0.026887871, -0.0025028605, -0.0047941697, -0.0114356885, -0.008217725, 0.0049193124, -0.0020737986, 0.0023479215, 0.012144832, 0.009761156, 0.028556446, 0.0066742944, -0.018592678, -0.029533753, -0.011572749, 0.0022391663, -0.0075800917, -0.036446415, 0.0037155559, -0.0011858791, -0.031869754, 0.021476926, 0.013598875, -0.02462338, 0.015303204, -0.015160183, -0.021655701, -0.024504196, -0.011823036, -0.020547291, 0.017210145, 0.028055873, 0.00071919995, 0.022811785, -0.026887871, -0.00744303, -0.002388146, 0.01569651, 0.0079138065, 0.003043657, 0.010672912, -0.030201182, -0.002373248, -0.044312548, -0.015899124, 0.0221086, 0.008581236, 0.01591104, 0.009403604 ]
2401.09350
202
Put differently, in an ideal graph, if moving from a node to any of its neighbors does not get us spatially closer to q, it is because the current node is the optimal solution to the top-1 retrieval problem for q. 6.1 Intuition Algorithm 3: Greedy search algorithm for top-k retrieval over a graph index. Input: Graph G = (V, E) over collection X with distance δ(·, ·); query point q; entry node s ∈ V; retrieval depth k. Result: Exact top-k solution for q. 1: Q ← {s} ; ▷ Q is a priority queue 2: while Q changed in the previous iteration do 3: 4: 5: 6: 7: 8: 9: end while 10: return Q On a graph with that property, the procedure of starting from any node in the graph, hopping to a neighbor that is closer to q, and repeating this procedure until no such neighbor exists, gives the optimal solution. That procedure is the familiar best-first-search algorithm, which we illustrate on a toy graph in Figure 6.1. That will be our base search algorithm for top-1 retrieval.
2401.09350#202
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 202, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Put differently, in an ideal graph, if moving from a node to any of its neighbors does not get us spatially closer to q, it is because the current node is the optimal solution to the top-1 retrieval problem for q.\n6.1 Intuition\nAlgorithm 3: Greedy search algorithm for top-k retrieval over a graph index.\nInput: Graph G = (V, E) over collection X with distance δ(·, ·); query point q; entry node s ∈ V; retrieval depth k. Result: Exact top-k solution for q. 1: Q ← {s} ; ▷ Q is a priority queue 2: while Q changed in the previous iteration do 3: 4: 5: 6: 7: 8: 9: end while 10: return Q\nOn a graph with that property, the procedure of starting from any node in the graph, hopping to a neighbor that is closer to q, and repeating this procedure until no such neighbor exists, gives the optimal solution. That procedure is the familiar best-first-search algorithm, which we illustrate on a toy graph in Figure 6.1. That will be our base search algorithm for top-1 retrieval.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.01845921, 0.016310459, 0.0082999645, -0.0128034325, 0.0029614896, -0.0172234, -0.026586605, 0.031797048, -0.066087976, 0.023135245, 0.03965724, -0.017345868, -0.039078303, -0.033845596, 0.05838365, 0.010465414, 0.033444792, -0.050278522, -0.019361017, 0.00009828722, 0.030661438, -0.013104035, 0.021899436, 0.011478555, 0.016599929, -0.0008127396, 0.06105567, 0.028969157, 0.025295129, -0.017011864, 0.016154591, -0.010454281, -0.04649316, -0.011901625, 0.003262092, 0.03132944, -0.019717285, -0.010047911, -0.0039412305, 0.031886112, 0.0017201133, 0.019149482, -0.04965505, -0.020719294, 0.0022072005, -0.040035777, -0.02692061, -0.03161891, -0.02067476, 0.013972442, 0.015442053, 0.027766747, -0.06163461, 0.024426723, -0.0072645564, -0.033043988, 0.000690272, -0.023847785, 0.062391683, 0.06965067, -0.005213224, 0.0025091944, -0.0019399984, 0.027588613, 0.0123024285, 0.0021167414, -0.032375984, 0.034268666, 0.014851982, -0.0031479744, -0.037007485, 0.016199125, 0.025740465, -0.005113023, 0.034958936, 0.013538238, 0.028367953, 0.0301493, 0.0013012184, -0.0431754, 0.04235153, -0.06368316, 0.05740391, -0.008984669, -0.030416502, -0.03818763, -0.0049126213, -0.0431086, -0.050946526, -0.039701775, -0.023179779, 0.0083667645, 0.04346487, 0.021008763, 0.050768394, 0.04558022, 0.08773135, 0.022712177, -0.02839022, 0.020407557, 0.0026010452, -0.052816942, 0.01859281, -0.050144922, 0.054509223, -0.0012490305, -0.052371606, 0.05669137, 0.024894327, -0.06368316, -0.05749298, -0.022979379, -0.040325247, 0.048853446, -0.006117814, -0.053618547, -0.040058043, -0.017379267, -0.009635975, 0.034958936, 0.011667823, 0.014529113, -0.022678776, 0.014139443, -0.025428731, -0.02324658, 0.04488995, -0.04515715, 0.016132325, -0.0039412305, 0.035537876, -0.004211216, -0.029525828, 0.015898524, 0.0021069997, 0.02380325, -0.045736086, -0.02260084, 0.004336467, 0.010175945, -0.04197299, -0.048586242, -0.059853263, 0.0037074287, -0.01816974, 0.024448989, -0.014807448, 0.051391866, 0.013193103, 0.020786094, 0.04036978, -0.013616172, -0.021108963, 0.034001462, 0.00041019692, 0.0068637533, 0.009969977, -0.01627706, -0.004108232, 0.017902538, -0.02070816, 0.0067802523, -0.0129815675, -0.017535135, -0.016878264, 0.0036517617, -0.07517285, -0.013504838, -0.021186898, -0.009212905, -0.0028835556, -0.099488236, -0.015508854, 0.049877718, 0.026386205, 0.0040581315, -0.024359921, 0.021732435, 0.03353386, 0.0049933386, -0.021365032, 0.00783236, 0.049966786, 0.020719294, 0.016878264, 0.01461818, -0.017201133, -0.026675673, -0.034981202, -0.008372331, -0.0011147336, 0.0067023183, 0.018570544, -0.0014389944, -0.0068581863, 0.014317578, 0.028278885, 0.03649535, -0.0063182157, 0.0122801615, 0.024938859, 0.0017785637, 0.005035089, -0.027610881, -0.013003834, -0.0027972716, 0.03226465, -0.025985401, -0.023602849, -0.055221763, -0.013571639, 0.0026942876, 0.006635518, 0.04676036, 0.0026191368, 0.013694106, -0.025562331, 0.0725899, -0.022756709, 0.05228254, -0.030973174, 0.01764647, 0.011311554, 0.019060414, 0.0124916965, 0.033511594, 0.02282351, -0.06087754, 0.009546908, -0.013426904, 0.008639533, 0.038944703, 0.025094727, -0.05508816, 0.015865123, 0.007002921, 0.0018300558, -0.0030616904, -0.037920427, -0.06114474, -0.04417741, -0.014506846, -0.048363574, -0.02614127, 0.0071643554, -0.029392228, -0.024604857, 0.0126141645, -0.031730246, 0.040748317, -0.04578062, 0.005252191, -0.018615078, -0.03698522, 0.013404637, -0.025295129, 0.002942006, -0.0069194203, 0.003818763, 0.0055973264, 0.014807448, -0.0125028305, 0.033778794, -0.032197848, -0.017423801, 0.0028919056, 0.01069365, -0.04150539, -0.020129222, -0.0077377264, -0.025985401, 0.016978465, 0.04506808, -0.052460674, -0.009240738, -0.029125025, -0.02338018, 0.0023157513, -0.035983212, -0.07637526, -0.0007348057, 0.013571639, 0.04591422, -0.018158607, 0.0476065, 0.0036573282, -0.020485492, 0.02874649, 0.013560505, -0.02064136, 0.015542254, -0.041327253, 0.0064017163, -0.03190838, -0.018192008, -0.02656434, -0.02272331, 0.007136522, 0.040726047, 0.0014529113, 0.04965505, 0.0007584642, 0.017846871, 0.029080492, -0.031797048, -0.010882918, 0.05424202, 0.03952364, -0.0026177452, 0.021108963, 0.0012024093, 0.0128925, 0.0037046454, 0.050100386, -0.0076430924, -0.020062422, 0.049788654, -0.048096374, -0.02627487, -0.017590802, -0.011634423, -0.07463844, 0.029993432, 0.05072386, -0.015742656, -0.030327436, -0.024204055, 0.0002075339, 0.03297719, -0.016655596, 0.045736086, 0.010771584, 0.032509584, 0.018804345, -0.031596646, 0.03981311, -0.013939042, 0.055399895, 0.0036879452, 0.005057356, -0.021120097, 0.006735719, 0.039835375, -0.023513783, 0.016421793, 0.05664684, 0.007932561, 0.025027927, -0.011812558, 0.019160615, -0.02663114, -0.03734149, 0.028123017, 0.03783136, 0.030973174, -0.011923892, 0.0020388074, -0.018025007, -0.044199675, 0.00091085286, 0.01690053, -0.02204417, -0.007837927, -0.0073035234, -0.022678776, -0.009613708, -0.04252966, -0.03422413, 0.0026260954, 0.0344468, -0.007854627, 0.04796277, 0.001768822, -0.041995257, -0.022021905, -0.010582315, -0.020207155, 0.0076820594, 0.041238185, 0.0604322, -0.011127853, -0.017045265, -0.051258262, -0.04473408, 0.024760725, -0.014696114, -0.020763827, 0.0052661076, -0.067780256, -0.014918782, -0.0077933935, -0.007576292, 0.034958936, 0.008528199, 0.016366126, 0.0056112437, 0.023491515, 0.04880891, 0.038521633, 0.059496995, 0.026519805, -0.023580583, -0.041304987, -0.010187079, -0.024493523, -0.025562331, 0.012870233, 0.07183282, -0.023691917, -0.0020346325, 0.002261476, 0.03698522, 0.0026219203, 0.016232526, -0.019327616, 0.011823691, 0.021008763, 0.011356088, -0.029436762, -0.004904271, 0.056379635, 0.00062242773, -0.039278705, -0.002808405, -0.04404381, 0.013126302, 0.048274506, -0.017535135, 0.05023399, -0.06541997, 0.025317395, 0.013616172, -0.0042056493, -0.02627487, 0.0054637254, 0.026586605, 0.042997267, -0.0014348194, 0.009630408, -0.030305168, -0.05063479, -0.050545726, -0.020340757, -0.007971528, 0.018269941, 0.021643367, -0.0050323056, -0.01334897, 0.029414494, 0.010610149, -0.051124662, -0.031997446, 0.014484579, 0.01751287, -0.002191892, -0.04150539, 0.05415295, -0.0023839434, 0.00996441, -0.02103103, -0.025695933, 0.038788833, -0.00072854315, 0.013181969, 0.033934664, 0.009073737, 0.0027360378, 0.024538057, 0.00603988, -0.0011126461, 0.034402266, -0.03656215, -0.0040052477, -0.034357734, -0.010821683, 0.03616135, 0.024716191, 0.054464687, -0.007002921, 0.00563351, 0.0020694244, -0.033622928, -0.017379267, 0.023424715, 0.0473393, -0.0021515333, 0.05713671, 0.024604857, 0.019639352, -0.0032481751, -0.04689396, -0.033867862, 0.022055304, -0.007810094, -0.010766016, 0.024092719, 0.018537143, -0.008767568, -0.0019274732, 0.0086618, -0.004119365, 0.045736086, -0.029948898, 0.028345685, -0.005767111, 0.0008064771, 0.036606684, 0.025963135, -0.0021571, 0.03838803, 0.020585693, -0.015887389, 0.009619274, 0.021532033, 0.0063571827, 0.019260816, -0.01829221, 0.022623109, -0.02923636, 0.0035042437, -0.025785, 0.010142545, -0.029503562, 0.002808405, 0.0007167139, -0.020986496, -0.06314875, -0.034914404, -0.008194197, -0.019327616, -0.009313106, -0.014941049, -0.0343132, 0.04177259, 0.010203779, -0.025428731, -0.015776055, 0.0046148025, -0.010448714, -0.016978465, -0.0041054483, 0.013126302, -0.027766747, 0.030750504, -0.0060064797, -0.027855815, 0.049120646, -0.0124916965, -0.004367084, -0.0063349158, -0.026519805, 0.004854171, -0.043264467, 0.0083667645, -0.010960852, 0.007331357, -0.028011683, 0.013137435, 0.016533127, -0.011088885, 0.0087007675, 0.026052201, -0.0032092081, 0.013226503, -0.023335647, 0.018715277, 0.0172568, -0.030750504, 0.04319767, -0.01634386, 0.0073758904, -0.00045055558, 0.026898341, -0.02705421, 0.021231432, 0.0067023183, -0.033845596, -0.0079993615, 0.021409566, 0.027699947, -0.026029935, 0.037296955, -0.01605439, 0.011278154, -0.017045265, -0.020563425, -0.0123358285, 0.039701775, 0.0072033224, 0.02035189, 0.0120686265, -0.029369961, -0.0077043264, -0.035938676, -0.03502574, -0.0070084874, -0.029258626, -0.013950175, -0.0010214912, 0.011612156, 0.019873153, 0.03535974, 0.00068192196, -0.003465277, -0.023625117, 0.010899617, 0.004731703, 0.0015224951, 0.023714183, -0.01676693, 0.005939679, -0.04460048, -0.024872059, 0.018748678, 0.009936577, 0.02302391, -0.016366126, -0.015597921, 0.027432745, -0.010521081, 0.028724222, 0.005129723, 0.0014779614, 0.050545726, -0.016588796, -0.0039885477, 0.016844863, -0.03197518, 0.005789378, -0.031730246, 0.016499728, 0.00081830635, 0.00025119778, 0.015018983, -0.0126475645, 0.0024883193, -0.0020248906, -0.0081440965, 0.039545905, 0.004829121, 0.014785181, 0.019483484, -0.036784817, -0.031797048, -0.0059118457, -0.01937215, -0.028189817, 0.022122104, -0.025072461, -0.02373645, -0.025673665, -0.015263918, 0.0388111, 0.007019621, 0.030728238, 0.025139261, 0.0009908744, 0.020162623, -0.0023227097, -0.00019361712, -0.0124582965, -0.007142089, -0.013115169, -0.021442967, -0.027655413, 0.030461036, 0.021498634, 0.03662895, 0.024894327, -0.0052020904, -0.018481476, 0.017022999, 0.051881734, -0.044555943, -0.019182881, -0.020296223, 0.0062681152, -0.033890128, -0.02373645, -0.00017282894, -0.021832636, -0.01979522, -0.035960946, 0.029971166, 0.023936853, -0.025807267, -0.0121688275, -0.038276695, -0.009173938, -0.006390583, -0.00077029347, 0.023981385, 0.025027927, -0.023090713, -0.000927553, -0.0300157, -0.013471438, 0.022522908, -0.026230337, -0.045313016, 0.0068192193, 0.030483302, -0.025094727, -0.016911665, -0.013939042, -0.038232163, 0.009574741, 0.03253185, 0.0384103, -0.017668737, 0.029859832, -0.02060796, 0.031262644, -0.023981385, -0.01027058, -0.009769576, -0.0006252111, 0.0062235817, -0.007654226, -0.022322506, -0.023469249, 0.025517797, -0.019194014, 0.014384378, -0.033778794, 0.003378993, -0.038499366, -0.0043643005, 0.0073981574, -0.016878264, 0.015096917, 0.009981111, 0.0012267637, -0.003058907, 0.013961308, 0.026675673, -0.029815298, -0.00730909, -0.03535974, -0.010509948, -0.0025258944, 0.0019441734, 0.026096735, -0.00050761434, -0.0035571274, 0.0011488297, 0.01334897, -0.016611062, -0.023179779, -0.009969977, 0.010231612, 0.0063850163, -0.033689726, -0.01030398, 0.033422526, 0.00560846, 0.0061122472, -0.034157332, -0.008127396, 0.0016380043, -0.035003472, -0.03676255, -0.04486768, 0.019516885, 0.019683886, -0.007592992, -0.002214159, -0.012012959, 0.020797228, 0.004500685, 0.0388779, 0.01455138, 0.0121799605, 0.0017256801, 0.038477097, -0.0124137625, -0.002261476, -0.00216545, -0.0124694295, -0.0062347148, -0.02930316, -0.025896333, -0.0064406833, 0.005040656, -0.0020485492, 0.026831541, 0.011250321, 0.021320498, 0.010476547, -0.008361198, 0.014851982, -0.04578062, -0.04965505, -0.014440045, -0.01549772, 0.027588613, -0.025139261, -0.07837927, 0.00086910254, 0.03210878, 0.0073536234, 0.029503562, 0.013170836, 0.011422888, -0.053930283, 0.034001462, -0.011122286, -0.039545905, -0.010498814, 0.014874249, -0.00077516434, 0.020262824, 0.014829715, -0.014328711, 0.00026215723, 0.01165669, -0.019349882, -0.039345503, 0.011066619, 0.003818763, -0.01761307, 0.010949718, -0.022033038, 0.012603031, -0.031930648, 0.016677862, 0.016199125, -0.0009672158, -0.011077752, 0.0016978465, 0.05762658, -0.024471257, -0.0007668143, 0.028590621, -0.032643188, 0.016800331, -0.006891587, -0.018192008, -0.06822559, 0.00047699743, -0.025629131, 0.013070635, -0.029214093, 0.00472892, -0.019283082, 0.0031340576, -0.013582772, -0.01800274, -0.0030839571, -0.032509584, -0.02458259, 0.020908562, -0.003223125, 0.011968426, 0.014662714, -0.0046482026, -0.025139261, -0.025094727, 0.035203874, 0.062926084, -0.0122244945, -0.010637983, -0.04099325, -0.033600662, 0.024181787, 0.031730246, -0.011088885, -0.0051464234, -0.0021821503, -0.012814566, 0.0431754, 0.021576567, 0.01504125, 0.003262092, 0.016187992, -0.017557403, -0.0052995076, -0.021420699, 0.0025384196, 0.0123358285, 0.032776788, 0.011161253, -0.03324439, 0.020029021, -0.007080855, -0.019516885, -0.00428915, -0.005711444, -0.015018983, 0.007253423, 0.01757967, 0.0008447482, -0.032242384, 0.005363525, -0.019049281, 0.0215543, 0.014406645, 0.0060732802, 0.017891405, 0.027855815, -0.021231432, -0.017457202, 0.03380106, 0.035604674, 0.009134971, 0.045112617, -0.028167551, -0.019617084, -0.005310641, -0.019461216, -0.0386775, -0.020630226, -0.0015851206, 0.022166638, 0.038209897, 0.03727469, -0.036539882, 0.017568536, -0.010571182, -0.00343466, 0.008884469, -0.01962822, -0.04121592, 0.004642636, 0.010537782, 0.0064351163, 0.020062422, 0.046225958, 0.07468298, 0.008684067, 0.023780985, -0.009524641, -0.0052744574, -0.0014960533, 0.029748498, -0.020563425, 0.008812102, 0.005396925, 0.009012504, 0.03896697, 0.040815115, -0.023335647, 0.0012385929, 0.011768024, -0.011812558, -0.010643549, -0.004862521, 0.00686932, -0.056735907, 0.04395474, 0.02620807, -0.0121799605, 0.0016547045, -0.010771584, 0.031307176, 0.030282902, 0.043353535, 0.02246724, -0.010459848, 0.056735907, -0.018871145, 0.041594457, -0.02035189, -0.010476547, 0.018648477, 0.0072088894, 0.04506808, -0.01670013, 0.0124360295, 0.013682973, 0.05397482, 0.049076114, 0.024137253, 0.03324439, -0.008823235, -0.024025919, 0.015096917, -0.019472351, 0.020262824, -0.023936853, 0.0062736818, 0.029035958, -0.021821503, -0.045691554, -0.01207976, 0.015742656, -0.0002946877, 0.027098743, 0.020585693, -0.0021348333, -0.0027040292, 0.009986677, 0.0050879726, -0.04255193, -0.0013624522, -0.0027193378, -0.014217377, -0.06515277, 0.028701955, 0.0032676586, -0.0062347148, -0.007687626, 0.024025919, -0.014428912, -0.050100386, -0.041794855, 0.018247675, -0.03148531, -0.0014445612, -0.015408653, -0.0082331635, 0.0030700404, 0.0016727963, 0.01072705, 0.033711996, -0.017780071, -0.032375984, -0.02070816, -0.0388779, -0.013081768, 0.01816974, -0.013515972, -0.020808361, 0.06176821, -0.034068264, -0.014562513, 0.0010834209, -0.0009769576, 0.023847785, -0.00040149895, -0.022389306, -0.03493667, 0.0474729, -0.027878083, -0.003292709, 0.019216282, 0.03509254, -0.00007488964, -0.011317121, 0.058561787, 0.031017708, -0.012792299, -0.009624842, 0.028724222, 0.008834369, -0.0013499272, -0.036228146, -0.028301151, 0.012736632, -0.0019135565, 0.008962403, -0.01849261, -0.025785, 0.01823654, 0.039968975, 0.019038148, -0.029971166, 0.006735719, -0.036272682, -0.013259903, -0.039189637, -0.00084613985, -0.0038632965, 0.016321594, -0.005811645, -0.016844863, 0.023135245, -0.010732616, 0.046938498, -0.018871145, 0.03210878, -0.014417779, -0.019038148, 0.0122578945, 0.019394416, 0.03155211, -0.038365763, 0.0001691758, 0.00474562, -0.0048959213, 0.012035226, 0.00391618, -0.0035487774, -0.006719019, 0.0002165798, -0.00028233655, 0.0006307778, 0.0560679, 0.015386386, -0.004389351, 0.007960395, 0.03923417, -0.011645556, 0.0068748863, 0.0062569818, -0.010621282, -0.050812926, 0.032598652, 0.014785181, 0.03161891, 0.020819495, 0.049120646, -0.00477067, -0.037230156, -0.0069973543, -0.014039242, -0.025094727, 0.026831541, 0.0046482026, -0.00066417805, 0.02965943, 0.008478099, 0.00950794, -0.012057493, 0.010682516, -0.025651399, -0.0034151764, -0.007576292, -0.00077725184, -0.008795401, -0.00686932, -0.028857823, 0.0010667208, 0.0021946754, 0.019461216, -0.007615259, -0.0001341229, -0.026965141, 0.04506808, -0.0020902995, -0.0035654777, -0.02113123, -0.0035849612, -0.01121692, -0.0061122472, -0.00070905965, 0.0011342171, 0.010253879, -0.005090756, 0.009730608, -0.011166819, -0.01940555, 0.011500822, 0.021609968, 0.008906736, 0.013159702, -0.016922798, 0.032286916, 0.013293303, -0.045691554, 0.009647108, -0.015675854, 0.019995622, -0.002528678, -0.0024924942, 0.034892138, 0.014239644, -0.029681696, -0.0082331635, 0.020797228, -0.0024799693, -0.0074872244, 0.0039718472, 0.00041437196, 0.00563351, -0.022289107, -0.012235628, 0.011322687, 0.005945246, -0.022088705, 0.04564702, 0.019706152, -0.015275052, 0.0024799693, 0.04460048, -0.013783174, 0.025183795, -0.011005385, -0.030683704, -0.05629057, 0.0030616904, 0.013627306, -0.004734487, -0.04756197, 0.0052828076, -0.010610149, -0.010515515, 0.014595913, 0.022489507, 0.029770764, 0.0128925, 0.018637344, -0.0025551198, 0.037519623, -0.002325493, -0.0040970985, 0.00093381555, -0.010159246, -0.014261911, 0.011144553, -0.018514877, 0.004211216, -0.0431754, -0.015764922, 0.028523821, 0.03903377, -0.023513783, -0.032843586, -0.013415771, -0.020719294, -0.006713452, 0.017724404, -0.02705421, -0.014061509, 0.03324439, -0.004656553, 0.009953277, 0.0025690366, -0.002300443, 0.010259446, 0.011272587, 0.033890128, 0.020763827, -0.026052201, 0.051035594, -0.025272863, 0.022021905, 0.023068445, 0.029882098, -0.051302798, -0.03086184, 0.016455194, 0.015174851, 0.03175251, 0.011801424, -0.008639533, 0.032910388, -0.03184158, 0.03197518, 0.021186898, -0.024025919, -0.013504838, -0.020797228, -0.0038688632, -0.018904546, -0.04339807, 0.028835557, -0.027009675, 0.005383008, 0.013515972, -0.017657604, -0.010855084, 0.015397519, -0.027499545, -0.006563151, 0.029971166, -0.0033650761, -0.0052187904, -0.0020346325, -0.0125696305, 0.005480426, -0.012680965, 0.03549334, -0.064128496, -0.020106956, 0.0020109739, 0.033934664, 0.0021682335, 0.0069750873, -0.049254246, -0.0126141645, 0.04662676, 0.0048597376, 0.016822597, -0.0121465605, 0.0007675101, 0.0013958524, -0.0085337665, -0.006351616, 0.010866217, 0.02282351, 0.06172368, 0.0012093676, -0.018314475, 0.015642455, 0.007581859, -0.041616723, -0.027566347, 0.01878208, -0.038098563, -0.0052744574, 0.02035189, 0.030661438, 0.05134733, 0.0127700325, -0.0023449764, 0.0055444427, -0.03587188, 0.011261454, -0.023112979, 0.012914767, 0.010376347, 0.01373864, 0.004016381, -0.018815478, -0.0083444975, 0.036050014, -0.0121242935, 0.006524184, 0.010175945, -0.009908743, 0.025584597, 0.00896797, -0.022389306, -0.00079743116, -0.005497126, 0.019160615, -0.025139261, 0.03731922, -0.010832817, 0.00052814157, -0.050812926, 0.015820589, -0.0003614882, -0.0020986495, 0.023179779, 0.014284178, -0.02211097, -0.00052848953, -0.0060899802, -0.025094727, -0.007459391, -0.009958844, 0.0064406833, 0.0043810005, 0.024426723, -0.013927908, 0.0035738277, -0.014974449, 0.04219566, 0.0003473975, -0.011010952, -0.002584345, 0.020084688, -0.024693925, 0.010136979, 0.0128479665, 0.0053134244, -0.0058784457, 0.020719294, -0.019884286, 0.019093815, -0.004918188, 0.002843197, 0.024114987, 0.0010987293, -0.013883374, 0.0014835282, -0.01690053, 0.0010813334, 0.019650485, -0.037519623, 0.005385792, -0.032665454, 0.00988091, -0.0066466513, 0.015119184, 0.0035404274, -0.027388211, -0.028657421, -0.031685714, -0.016521994, -0.025629131, 0.019071547, 0.016666729, -0.033199858, -0.0062514152, -0.008917869, 0.0021459665, 0.0122244945, -0.0082776975, 0.028969157, -0.013994709, -0.028301151, -0.034424532, 0.0025147612, 0.022444975, -0.00036044445, 0.0042863665, 0.008272131, -0.030795038, 0.031863846, 0.024760725, 0.043932475, -0.038143095, -0.015631322, -0.0043726503, 0.009363206, 0.003537644, -0.018414676, -0.025695933, 0.03204198, -0.0005159644, -0.0002023151, 0.010860651, -0.0046704696, 0.017657604, -0.0048402543, 0.021209164, -0.019093815, 0.0017785637, -0.0069138533, -0.005246624, -0.04134952, 0.059630595, -0.056156967, -0.0063460493, -0.000983916, 0.011100019, -0.033912394, 0.0072812564, 0.0018189225, -0.0044895513, -0.008060596, -0.011790291, -0.031151308, 0.018837746, 0.028791023, -0.021242565, -0.006579851, -0.014974449, -0.009530207, 0.021799235, -0.0049209716, 0.018080674, -0.0013770649, -0.025918601, 0.04684943, 0.013616172, 0.025139261, 0.0006474779, -0.060966603, -0.07143202, -0.033355724, -0.031529844, -0.013493705, -0.009324239, -0.030483302, 0.0062681152, 0.020552292, -0.032197848, 0.009096004, -0.003223125, -0.009285272, -0.009730608, 0.022979379, 0.0072979564, 0.0009971369, -0.035515606, 0.021532033, -0.008762001, 0.015542254, 0.0076041254, 0.023536049, 0.03943457, -0.05727031, 0.028167551, 0.0062681152, 0.0032370416, 0.048363574, -0.014874249, -0.001894073, -0.0123469625, -0.011734624, -0.003378993, -0.0017284633, 0.022355907, 0.022801243, 0.023357915, -0.00045403477, -0.024716191, -0.002489711, 0.05219347, 0.0645293, 0.018025007, -0.010960852, 0.0171232, -0.014417779, 0.00193304, 0.0038521632, -0.021788102, -0.015820589, 0.040614713, 0.021509767, 0.010999818, 0.01023718, -0.0058728787, 0.019216282, 0.01774667, -0.019683886, -0.013037235, 0.025829533, 0.007882461, 0.003529294, -0.016989598, 0.021843769, 0.009719475, -0.023892319, 0.00095469074, 0.014929916, -0.007348057, -0.00091085286, -0.014673847, -0.034068264, -0.012525097, -0.016633328, -0.0128034325, 0.018971346, 0.013337837, -0.008595, 0.0086451005, -0.025540065, -0.020162623, -0.011645556, -0.0070919883, 0.007503925, -0.005076839, 0.009602575, -0.013527105, 0.00031643265, -0.063861296, 0.008739734, 0.0121242935, 0.023135245, 0.043643005, -0.020095821 ]
2401.09350
203
Extending the search algorithm to top-k requires a minor modification to the procedure above. It begins by initializing a priority queue of size k. When we visit a new node, we add it to the queue if its distance with q is smaller than the minimum distance among the nodes already in the queue. We keep moving from a node in the queue to its neighbors until the queue stabilizes (i.e., no unseen neighbor of any of the nodes in the queue has a smaller distance to q). This is described in Algorithm 3. Note that, assuming δ(·, ·) is proper, it is easy to see that the top-1 optimal- ity guarantee immediately implies top-k optimality—you should verify this claim as an exercise. It therefore suffices to state our requirements in terms of top-1 optimality alone. So, ideally, E should guarantee that traversing G in a best-first-search manner yields the optimal top-1 solution. # 6.1.1 The Research Question It is trivial to construct an edge set that provides the desired optimality guarantee: Simply add an edge between every pair of nodes, completing the graph! The greedy search algorithm described above will take us to the opti- mal solution. However, such a graph not only has high space complexity, but it also has a linear query time complexity. That is because, the very first step (which 75 76 6 Graph Algorithms
2401.09350#203
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 203, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Extending the search algorithm to top-k requires a minor modification to the procedure above. It begins by initializing a priority queue of size k. When we visit a new node, we add it to the queue if its distance with q is smaller than the minimum distance among the nodes already in the queue. We keep moving from a node in the queue to its neighbors until the queue stabilizes (i.e., no unseen neighbor of any of the nodes in the queue has a smaller distance to q). This is described in Algorithm 3.\nNote that, assuming δ(·, ·) is proper, it is easy to see that the top-1 optimal- ity guarantee immediately implies top-k optimality—you should verify this claim as an exercise. It therefore suffices to state our requirements in terms of top-1 optimality alone. So, ideally, E should guarantee that traversing G in a best-first-search manner yields the optimal top-1 solution.\n# 6.1.1 The Research Question\nIt is trivial to construct an edge set that provides the desired optimality guarantee: Simply add an edge between every pair of nodes, completing the graph! The greedy search algorithm described above will take us to the opti- mal solution.\nHowever, such a graph not only has high space complexity, but it also has a linear query time complexity. That is because, the very first step (which\n75\n76\n6 Graph Algorithms", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.010229541, 0.0059421165, 0.03411029, -0.01100961, -0.0078006904, -0.00642375, -0.009774501, 0.04559858, -0.026640538, 0.032786537, 0.056401353, -0.027940653, -0.054557554, -0.034819443, 0.03886162, -0.0112637235, 0.036663245, -0.046331372, 0.010448197, 0.040610865, 0.01437218, -0.0019235793, 0.025647724, 0.0105486605, -0.02064819, -0.0018482317, 0.052855585, 0.040421758, 0.042289197, -0.03458306, 0.024276692, -0.0232366, -0.03593045, 0.00055956654, 0.0010149762, 0.03455942, -0.029122576, 0.005750054, -0.012800223, 0.035717707, -0.0074106557, 0.024891293, -0.05904886, -0.03427576, 0.015341357, -0.03089546, -0.011594662, -0.009768591, -0.029879007, 0.006518304, 0.0016960591, 0.037750613, -0.01163603, -0.028129762, -0.010282728, 0.010471836, 0.014750396, -0.009520388, 0.06666044, 0.05417934, 0.01041274, 0.01269385, -0.00017913517, 0.033684798, -0.0062937387, 0.009094896, -0.023012036, 0.013355727, 0.013887593, -0.0031705077, -0.058954306, -0.02201922, 0.0029784453, -0.030990014, 0.000043329474, 0.01116917, 0.034819443, 0.047395103, 0.0376797, 0.005767783, 0.025482254, -0.01821343, 0.06647134, -0.024146682, -0.016015053, -0.042289197, -0.034535784, -0.064438425, -0.0890697, -0.040776335, -0.028413422, -0.017102422, 0.05796149, 0.0361432, 0.053139247, 0.054983046, 0.0890697, 0.033401135, -0.004801561, 0.038601596, 0.00689061, -0.043069266, 0.031415507, -0.029028023, 0.086185805, 0.014218531, -0.053186525, 0.03470125, 0.0092249075, -0.045929518, -0.053186525, -0.026262324, -0.027278777, 0.043542035, -0.004249012, -0.05649591, -0.059285246, -0.0051177256, 0.025718639, 0.027917014, -0.020435445, 0.009685857, -0.009195359, 0.01347392, -0.025198594, -0.005948026, 0.046402287, -0.04288016, 0.026356878, 0.00035900905, 0.011854685, 0.013828496, 0.017717022, 0.037537865, -0.005953936, 0.02493857, -0.056779567, -0.004981804, 0.022763832, -0.001874825, -0.017776119, -0.04113091, -0.036166836, 0.02186557, -0.007912973, 0.02954807, -0.014206711, 0.055503093, 0.0039269384, 0.03162825, 0.029949922, 0.006317377, -0.056732293, 0.03623775, 0.015223165, -0.010359553, -0.0036225931, -0.0044263005, -0.0027952474, 0.016570557, 0.016925134, -0.0074165654, 0.0036344125, 0.016736027, 0.02647507, 0.036048643, -0.08363286, -0.0035309943, -0.036332306, 0.01070822, 0.04113091, -0.09384467, -0.016570557, 0.05110634, 0.025104038, 0.016629653, -0.060041677, 0.011955149, -0.0024731734, 0.0020624553, -0.010264999, 0.011305091, 0.04436938, 0.009993156, -0.006382383, 0.002914917, 0.0026903516, -0.049357094, -0.039665326, 0.00011496046, 0.001805387, -0.006346925, -0.005049765, 0.005708687, -0.0033862088, 0.025104038, 0.04758421, 0.019312618, 0.0072865537, 0.034653977, 0.017043326, -0.025978662, 0.028413422, -0.03179372, -0.0013267082, -0.031226398, 0.03333022, -0.0014515489, 0.015849585, -0.05583403, -0.030020839, 0.009425834, 0.012552019, 0.06746415, 0.02874436, 0.017173337, -0.040989082, 0.04878977, 0.013284812, 0.07569034, -0.04434574, 0.021830114, 0.03640322, 0.010194084, -0.013272992, 0.039523497, 0.006193275, -0.046496842, 0.006612858, 0.007251096, 0.014135796, 0.0012757379, 0.0065892194, -0.03990171, 0.006896519, -0.013237535, 0.0046006343, 0.010761406, -0.0073870174, -0.044298466, -0.03302292, -0.007056079, -0.039996266, -0.00963267, -0.011890143, -0.0072274576, -0.047796957, 0.0066778637, -0.05044446, 0.02602594, -0.026096854, -0.011949239, 0.019241702, -0.07469752, -0.013556654, -0.027042393, -0.000596871, -0.0015793443, 0.004529719, 0.0015557058, 0.0022234921, -0.021830114, 0.036946904, -0.0327629, -0.010655033, 0.026545985, 0.018307984, -0.035575874, 0.003658051, -0.029477153, -0.014974961, 0.020364529, 0.014951323, -0.024513077, 0.021050043, -0.020281794, 0.00078671734, 0.020210879, -0.04238375, -0.080512576, -0.011293272, 0.016960591, 0.041556403, -0.01608597, 0.033873904, -0.011435103, -0.02798793, 0.018319802, 0.011588752, -0.026285961, 0.03259743, -0.041036356, -0.014833131, -0.007942521, -0.00872259, 0.004237193, -0.031439144, 0.0061696367, 0.044747595, -0.011641939, 0.05389568, -0.0057175513, 0.011984697, 0.021936486, -0.0278461, -0.008344375, 0.04838792, 0.03964169, -0.0137457615, 0.03333022, 0.003006516, 0.009153992, 0.005744145, 0.04711144, -0.018260706, -0.038908895, 0.07313738, -0.025056763, -0.0149040455, -0.01651146, 0.0045858603, -0.03642686, 0.022622002, 0.03075363, 0.00045614832, -0.014466735, -0.011736493, 0.0025115858, 0.042903796, -0.02921713, 0.021664644, -0.0010881076, 0.02694784, 0.0043672044, -0.03169917, 0.033306584, -0.005386613, 0.04694597, 0.0028174084, 0.008078442, -0.03931075, -0.004955211, 0.032810174, -0.018922584, -0.0051354542, 0.047607847, -0.00153059, 0.01589686, 0.019820845, 0.061081767, -0.028389784, -0.05583403, 0.012741127, 0.040941805, 0.016806941, -0.012481105, -0.0038737517, -0.018851668, -0.041036356, 0.005383658, -0.0015616154, -0.017362446, -0.016357811, 0.008084351, -0.01467948, 0.0030729992, -0.05342291, 0.009733134, -0.01958446, 0.048884325, -0.0014478554, 0.07446113, 0.0023978257, -0.019726291, -0.015955957, -0.007215638, -0.0039535314, 0.009295822, 0.0275388, 0.052855585, -0.016582375, -0.03151006, -0.05862337, -0.056543183, 0.022101955, 0.0052861497, -0.036474135, -0.0001743336, -0.060372613, -0.02952443, -0.016617835, 0.019218065, 0.019655375, -0.010306367, 0.019596279, -0.007251096, 0.024253055, 0.021357344, 0.03916892, 0.058528814, 0.013060247, -0.04193462, -0.029855369, -0.00856894, -0.0070915367, -0.019537183, -0.007469752, 0.059947122, 0.024276692, 0.0056377714, -0.0028942334, 0.03517402, 0.013296631, -0.016795123, -0.030233584, 0.024394885, 0.014939504, 0.011801499, -0.026285961, -0.017977046, 0.061081767, 0.030469969, -0.064296596, -0.0021333706, -0.04940437, 0.016499642, 0.023886658, 0.008911697, 0.035268575, -0.04595316, 0.034015737, 0.04283288, 0.03978352, -0.01941899, 0.0067487787, 0.031320952, 0.032077383, -0.008509844, -0.005847563, -0.008007526, -0.036639605, -0.045551304, 0.0014545037, 0.016180523, 0.01912351, 0.021676464, -0.038128827, 0.0057411897, 0.03562315, 0.0290753, -0.024654908, -0.0036314577, 0.018863488, 0.028531615, -0.014939504, -0.027042393, 0.055786755, 0.00045282414, 0.013509377, -0.01544773, 0.007629311, 0.0042608315, -0.01986812, 0.025174955, -0.016712388, 0.036332306, -0.0014234782, -0.000096031225, 0.0147385765, -0.0051443186, 0.021830114, -0.039452583, 0.016393268, -0.024300331, 0.017847033, 0.029713538, 0.004822245, 0.019466268, 0.0044499394, 0.021830114, -0.035268575, -0.053659294, -0.014478554, 0.03413393, 0.059616182, -0.011370097, 0.05923797, 0.018958041, 0.015802307, -0.034417592, -0.038625237, -0.010749588, 0.014963142, -0.010081801, -0.007830238, 0.034653977, 0.0032030107, 0.00887624, -0.012729308, 0.026451431, -0.008297098, 0.03148642, -0.049167987, 0.00040628595, 0.014017603, 0.007859786, 0.010584118, 0.008031165, 0.008155267, 0.060230784, -0.02066001, -0.012469285, 0.0153177185, 0.025174955, 0.0007409178, 0.0032207395, -0.008793505, 0.042147364, -0.024914932, 0.008279369, -0.0070738075, 0.009473111, -0.027727908, 0.006482846, -0.0061755464, -0.042643774, -0.06420204, -0.04805698, -0.019939037, -0.014478554, 0.023673913, -0.023472985, 0.010235451, 0.026144132, 0.0031439145, -0.045362197, -0.008072533, -0.016996048, 0.004293334, -0.039499857, 0.02295294, 0.008320736, -0.022598363, 0.017090604, -0.007251096, -0.0520046, 0.027940653, 0.01041274, -0.0000561875, -0.019856302, -0.012492923, 0.0023062269, -0.011943329, 0.017421542, -0.034157567, 0.030942738, -0.021227332, 0.021782836, 0.023933936, 0.0040421756, 0.01056048, 0.034157567, 0.006926067, 0.011594662, -0.04240739, 0.024867654, 0.017208796, 0.0045681316, 0.04484215, -0.011559204, -0.0023933935, -0.0054397993, 0.02541134, -0.013166619, 0.06131815, -0.010406829, -0.027184224, -0.020459082, 0.007298373, -0.0038796614, -0.026096854, 0.019371714, -0.016003234, 0.019797206, -0.0306118, -0.020920033, 0.000119762015, 0.05034991, -0.003244378, 0.04394389, 0.032668345, -0.028318869, 0.00073833234, -0.0151522495, -0.021203695, -0.009384466, -0.020979129, -0.0107968645, 0.0058386982, 0.018036142, 0.026735093, 0.032621067, 0.023082951, -0.02983173, -0.028153399, 0.020837298, 0.010182264, 0.00796025, 0.019785387, -0.012764766, 0.001827548, -0.033897545, -0.018627103, 0.012800223, -0.0055136695, 0.004547448, -0.005262511, -0.0075465767, 0.045385834, -0.0035044008, 0.036686882, -0.0014035333, 0.0025987527, 0.027349692, -0.013190258, -0.022763832, 0.029051661, 0.001136862, 0.0010341824, -0.026876923, 0.00825573, -0.0058121053, -0.019241702, -0.0073515596, -0.014147615, -0.0029459423, 0.022397436, 0.013804858, 0.013863954, 0.008042985, 0.023579359, -0.0067546885, -0.02003359, -0.03888526, 0.008373923, -0.037065096, -0.03370844, 0.030564522, -0.023886658, -0.015211346, -0.025576808, 0.0053629745, 0.01131691, 0.009626761, 0.027964292, 0.03181736, -0.010489564, -0.00054590055, 0.010873689, -0.00013287397, -0.019395351, -0.007617492, -0.02496221, 0.0011767518, -0.006086902, 0.021901028, 0.0269242, 0.038648874, 0.029949922, -0.0056407265, 0.007895244, 0.02372119, 0.041556403, -0.018142514, -0.0055166245, -0.048104256, -0.00082069763, -0.050680846, -0.02586047, -0.004727691, -0.017126061, -0.007239277, -0.03973624, 0.008113899, 0.0074933902, -0.030990014, 0.0044292556, -0.027326055, -0.011565114, -0.018532548, -0.006010077, 0.020399986, 0.01666511, -0.0038530682, 0.009088986, -0.00073316146, -0.023851201, 0.015353177, -0.044700317, -0.060987215, -0.001347392, 0.053753845, -0.029949922, -0.01300115, -0.021806475, -0.0180716, 0.00795434, 0.017326988, 0.06424932, -0.007587944, 0.039523497, -0.019489907, 0.016783303, -0.017267892, -0.013119343, -0.018828029, 0.0108500505, -0.0076884073, -0.0038648874, -0.023378432, -0.035268575, 0.01987994, -0.024394885, 0.03349569, -0.022361979, 0.028697085, -0.019714471, 0.007694317, 0.0058918847, -0.000849507, 0.013544835, 0.014915865, 0.0088644205, 0.015885042, 0.024276692, 0.042738326, -0.016499642, -0.018485272, -0.020080868, -0.0022057632, 0.0026888743, 0.010324095, 0.011943329, -0.0003804314, -0.0006216175, -0.010737768, -0.0057766475, -0.014147615, -0.0048399735, 0.00041293426, 0.01608597, 0.0084507475, -0.04373114, -0.019820845, 0.04193462, 0.010046343, 0.013946689, -0.00006625231, 0.004757239, 0.009662218, -0.020447263, 0.0066601345, -0.060703553, -0.0028440016, 0.021605548, 0.0026741002, -0.00054626993, -0.022527447, 0.028035207, 0.020364529, 0.05465211, 0.009679947, 0.042927433, 0.016558738, 0.04020901, 0.018296164, -0.0141594345, -0.009319461, -0.0253877, -0.007528848, -0.020707287, -0.021605548, -0.000079225756, -0.0015003032, -0.0019294888, 0.0023475941, 0.026427792, 0.032975644, 0.009171721, -0.021073682, 0.00036621137, -0.047938786, -0.04635501, 0.023390252, -0.010530932, 0.03148642, -0.03718329, -0.091528095, -0.006394202, 0.025600446, 0.025718639, 0.03179372, -0.01193742, 0.025576808, -0.06013623, 0.021794656, -0.009863146, -0.036592327, -0.00063860766, 0.0050438554, -0.0061459984, 0.028815277, 0.016145065, -0.018024322, 0.014608565, 0.019099873, -0.034464866, -0.01163012, 0.0064355694, 0.010247271, -0.027940653, 0.0014899614, -0.034015737, 0.016452365, -0.058954306, -0.011807408, 0.0052891043, -0.01378122, 0.0051384093, 0.015825946, 0.06467481, -0.013284812, -0.008019346, 0.024702186, -0.03673416, -0.013379365, -0.02281111, -0.006181456, -0.029571706, 0.01575503, -0.047135077, -0.022255605, -0.04850611, 0.0021555317, -0.02647507, -0.004393798, -0.0018511865, 0.0024377157, -0.016168702, 0.0029887871, -0.007924792, -0.007310192, -0.017965226, 0.020175422, 0.012646574, -0.013284812, -0.01086187, -0.016180523, 0.040421758, 0.069827996, -0.008220273, 0.008923517, -0.054368448, -0.019241702, 0.03964169, 0.0076411306, -0.0074993, 0.013863954, -0.0020004043, -0.032621067, 0.03994899, 0.009218997, 0.011872414, -0.017835215, 0.02005723, -0.041249104, 0.00031431759, 0.0031734626, 0.021239152, 0.016960591, 0.052335538, 0.025576808, -0.022929301, 0.025198594, -0.006104631, -0.013213896, -0.014041242, 0.0165351, -0.0024702186, 0.009626761, 0.029146215, 0.014644023, -0.0284607, 0.017634287, -0.00290753, 0.027633354, -0.005259556, -0.008220273, 0.039712604, 0.010761406, -0.02355572, -0.032881092, 0.0247731, 0.029689899, 0.00796025, 0.019549003, -0.031320952, -0.009431744, 0.0025041988, -0.011287362, -0.019407172, -0.01896986, -0.005534353, 0.01775248, 0.034677614, 0.030399052, -0.013686665, 0.028389784, 0.013568473, 0.0050409003, -0.0069083385, -0.020175422, -0.055786755, -0.0076470403, 0.027751546, -0.016180523, 0.013828496, 0.039688967, 0.051059064, -0.0018039095, 0.009473111, -0.023472985, -0.015187708, 0.0070088017, -0.009508569, 0.0015047354, 0.010678672, -0.0021762152, 0.0047690584, 0.038223382, 0.023697551, -0.0021954216, -0.0016310534, -0.010980062, -0.0038028364, 0.019017138, 0.004213555, 0.0022914528, -0.054510277, 0.040043544, 0.04285652, -0.011228266, 0.0020432489, 0.00025282067, 0.031415507, -0.0076588592, 0.016771484, 0.023012036, 0.00069844245, 0.027680632, 0.012812043, 0.023851201, -0.0024406705, -0.015707754, 0.036214113, 0.023283878, 0.04727691, -0.021747379, 0.019939037, 0.0073220115, 0.025836831, 0.03323567, 0.0247731, 0.033992097, 0.011653759, -0.0131548, 0.028507976, -0.022551086, 0.00673696, -0.0022308792, 0.0058859754, 0.015435911, -0.027302416, -0.03630867, -0.0143249035, 0.033732075, 0.02264564, 0.03285745, 0.0165351, 0.001508429, 0.013852134, 0.029429877, -0.019076234, -0.032408323, 0.005534353, -0.0008133106, -0.014620384, -0.055644922, 0.031108206, -0.029429877, -0.030328138, -0.0017167428, 0.021333706, -0.018118875, -0.02310659, -0.036805075, -0.009419925, -0.027964292, 0.0009573574, -0.04193462, 0.0005688003, 0.020813659, 0.007404746, 0.0027922925, 0.04134366, -0.046118625, -0.026285961, -0.035741344, -0.04006718, -0.005495941, 0.020778202, -0.012351093, -0.009532207, 0.033519328, -0.028862553, -0.005995303, 0.010985972, 0.007026531, 0.024678547, 0.0009241158, -0.028507976, -0.02890983, 0.0275388, -0.03106093, 0.013272992, -0.010359553, 0.034937635, -0.026262324, -0.002929691, 0.051295448, 0.015707754, -0.011718764, -0.0044647134, 0.02402849, -0.008048894, -0.018780753, -0.049688034, -0.03290473, 0.0002976968, 0.021711921, 0.010235451, -0.013379365, -0.014644023, 0.00011828461, 0.04096544, 0.008155267, -0.019667195, 0.004851793, -0.045811325, -0.011801499, -0.0333775, 0.003658051, 0.015660476, 0.011222357, -0.004712917, 0.005818015, 0.0077002267, -0.009461292, 0.0556922, -0.01836708, 0.035599515, -0.008054803, -0.0153177185, 0.016972411, 0.0033241578, 0.023591178, -0.048293363, 0.001659124, -0.008988523, 0.0031793723, 0.010188174, 0.0025662498, -0.021475537, -0.0012912506, 0.0039860345, 0.011305091, 0.010891418, 0.059474353, 0.022456532, 0.01821343, 0.020860936, 0.039712604, -0.012362912, 0.0061282692, -0.005492986, -0.0025588628, -0.03304656, 0.0186862, 0.0031380048, 0.015057696, -0.0017684519, 0.048837047, 0.014313084, -0.022716556, -0.004990669, -0.017646106, -0.02095549, 0.016097788, 0.006855152, -0.007859786, 0.004148549, -0.0035546327, 0.0010836754, -0.013367547, 0.034512144, -0.007440204, 0.016275076, 0.00014515489, -0.020849118, 0.010885509, -0.009780411, -0.023331156, -0.003640322, 0.009697676, 0.02602594, -0.015684115, 0.019052595, -0.038814344, 0.031297315, 0.011565114, -0.0059923483, -0.018993499, 0.01040092, -0.014265807, -0.0051088613, -0.025033124, 0.012102889, -0.0020077913, -0.0009551413, 0.0046449564, -0.025151316, -0.04578769, 0.0074224747, 0.0025278372, 0.0073515596, -0.002321001, -0.0028779819, 0.042052813, 0.001896986, -0.031202761, 0.012634754, -0.0039860345, 0.0023623682, -0.0074579325, -0.0005241089, 0.0464732, 0.019099873, -0.012351093, -0.0007202342, 0.012150166, -0.0068019656, -0.01667693, 0.012599297, -0.00004926217, -0.025009485, -0.024146682, -0.014088519, 0.008645765, -0.012859319, -0.015282261, 0.052382816, 0.0128475, -0.009685857, 0.020175422, 0.021286428, -0.018851668, 0.016771484, -0.010997791, -0.0061578173, -0.024111224, 0.029477153, 0.010371372, -0.011984697, -0.03704146, 0.012563839, -0.005753009, -0.0077711423, 0.007481571, 0.038483404, 0.009674038, 0.001332618, 0.023803923, -0.017007869, 0.033921182, 0.017657926, -0.006134179, -0.0062523712, -0.015388634, -0.014561288, 0.0023608906, -0.016594196, 0.006612858, -0.053281076, 0.011370097, 0.016901495, 0.048080616, -0.012800223, -0.0342994, -0.02172374, -0.03888526, 0.0001461706, 0.02110914, -0.041556403, -0.0055166245, 0.025718639, -0.007847967, 0.0145731075, -0.008137538, -0.0047483747, 0.0031852818, 0.0015025192, 0.02555317, 0.04959348, -0.008805324, 0.02675873, -0.026616901, 0.04053995, 0.016298715, 0.0107968645, -0.040138096, -0.036214113, 0.008072533, 0.03044633, 0.03411029, 0.03396846, -0.006536033, 0.0290753, -0.019643556, 0.03290473, 0.025009485, 0.0011686261, -0.009573574, -0.009159901, 0.0061164503, -0.021901028, -0.033944823, 0.01711424, -0.008899879, 0.0120910695, 0.014395819, 0.0022057632, -0.008498024, 0.0059155235, -0.004482442, 0.009313552, 0.041698236, 0.02524587, 0.002343162, -0.011435103, -0.0055757207, 0.0047542844, -0.019702652, 0.032550152, -0.039830796, -0.018768933, 0.0016665111, 0.011795589, 0.03472489, 0.009697676, -0.0526192, 0.0017581101, 0.039547134, 0.020553637, 0.00918354, -0.015932318, 0.019383533, -0.003031632, -0.025269508, 0.0001510645, 0.00045651765, 0.017326988, 0.047536932, 0.006624677, -0.022279244, 0.004642002, 0.0036816893, -0.04682778, -0.027066031, -0.00013047318, -0.044700317, -0.008433019, -0.007729775, 0.028129762, 0.037916083, 0.0083148265, -0.004955211, 0.005788467, -0.036592327, 0.0105486605, -0.03229013, 0.012622935, 0.00071284716, 0.012894778, -0.004089453, -0.009242636, -0.0063587446, 0.0060809925, 0.015695933, 0.011340549, 0.01100961, 0.016145065, 0.044274826, -0.014667661, -0.007511119, 0.008332555, -0.017019687, 0.038010634, -0.012173804, 0.03470125, 0.0003856023, 0.00083768775, -0.054463, -0.0005880066, 0.015589561, -0.008285278, 0.015778668, 0.019395351, -0.028129762, 0.0017817485, -0.00932537, -0.028602531, -0.0036491866, 0.00010692707, 0.021593729, 0.0071624517, 0.003303474, -0.0027583123, -0.004647911, -0.023981212, 0.03576498, -0.010483655, -0.019348076, -0.025198594, 0.010832322, -0.024347609, 0.017787937, 0.00060314994, 0.017326988, -0.0054072966, 0.024607632, -0.020730926, 0.018083418, 0.0049847593, 0.018237067, 0.0020417715, -0.014360362, 0.025364062, 0.019478086, -0.021026406, -0.007469752, 0.027633354, -0.02448944, 0.010655033, -0.017823394, 0.0074106557, -0.014395819, 0.0050556744, -0.02064819, -0.0346067, -0.011234175, -0.016227799, -0.0046094987, -0.010808684, 0.003717147, 0.015648657, -0.015695933, -0.0009854281, -0.0035221297, 0.0071683615, -0.0072924634, 0.010424559, 0.03195919, -0.023933936, -0.027018754, -0.015577742, -0.00040037633, 0.015223165, -0.017953407, 0.013190258, -0.004680414, -0.019371714, 0.017456999, 0.022574725, 0.028224315, -0.033732075, -0.008988523, -0.007050169, -0.0056850486, -0.004228329, -0.036166836, -0.013403004, 0.053470187, -0.00059391616, -0.0073929266, 0.005365929, -0.013804858, 0.009419925, 0.0060514444, 0.0013163665, -0.014029423, 0.019336255, -0.01608597, -0.0030006063, -0.021711921, 0.06041989, -0.059474353, -0.01590868, -0.0045799506, 0.013970327, -0.024465801, -0.011192809, -0.0073574693, 0.005410251, -0.008580759, -0.0020077913, -0.031037292, 0.013343908, 0.0361432, -0.040327203, -0.012351093, -0.016582375, -0.01636963, 0.011086435, -0.0072747343, 0.02342571, -0.016771484, -0.019052595, 0.052240986, 0.0075347577, 0.023532081, -0.010365463, -0.058812477, -0.054463, -0.024087586, -0.031131845, -0.0005654762, -0.0004620579, -0.048127893, 0.0072451863, 0.03169917, -0.03226649, 0.009685857, 0.020317253, -0.0058534723, -0.013272992, 0.028484339, -0.006642406, 0.011405555, -0.03195919, 0.004467668, -0.011612391, 0.007180181, -0.012930235, 0.010838232, 0.028649807, -0.0520046, 0.013852134, 0.010525022, -0.0056052688, 0.004148549, -0.03576498, 0.013119343, -0.027917014, -0.008297098, -0.0054870765, 0.018012503, 0.014502192, 0.018544368, 0.013355727, -0.0013296631, -0.011718764, -0.00016371477, 0.041059997, 0.042761967, 0.009526297, -0.0051620477, 0.0071624517, -0.008184815, 0.012221081, -0.005953936, -0.018272527, -0.024725825, 0.043565672, 0.013816677, 0.007966159, 0.02419396, -0.0056673195, 0.0075052097, 0.025765916, -0.038176104, -0.008858511, 0.007859786, 0.0050556744, 0.020258157, -0.03458306, 0.017161518, 0.0130838845, -0.02524587, 0.016925134, 0.036355942, 0.013343908, 0.0075820345, -0.010140897, -0.024985846, -0.006902429, -0.005862337, 0.0019708562, 0.008669403, 0.031320952, -0.009756772, -0.0058505177, -0.027633354, -0.0028912786, -0.015589561, 0.017527914, 0.0047542844, 0.0055373083, 0.017776119, -0.03316475, 0.007977978, -0.043423843, 0.0032946097, 0.044960342, 0.015412273, 0.03642686, -0.017126061 ]
2401.09350
204
However, such a graph not only has high space complexity, but it also has a linear query time complexity. That is because, the very first step (which 75 76 6 Graph Algorithms also happens to be the last step) involves comparing the distance of q to the entry node, with the distance of q to every other node in the graph! We are better off exhaustively scanning the entire collection in a flat index. The research question that prompted the algorithms we are about to study in this chapter is whether there exists a relatively sparse graph that has the optimality guarantee we seek or that can instead provide guarantees for the more relaxed, ϵ-approximate top-k retrieval problem. As we will learn shortly, with a few notable exceptions, all constructions of E proposed thus far in the literature for high-dimensional vectors amount to heuristics that attempt to approximate a theoretical graph but come with no guarantees. In fact, in almost all cases, their worst-case complexity is no better than exhaustive search. Despite that, many of these heuristics work remarkably well in practice on real datasets, making graph-based methods one of the most widely adopted solutions to the approximate top-k retrieval problem.
2401.09350#204
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 204, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "However, such a graph not only has high space complexity, but it also has a linear query time complexity. That is because, the very first step (which\n75\n76\n6 Graph Algorithms\nalso happens to be the last step) involves comparing the distance of q to the entry node, with the distance of q to every other node in the graph! We are better off exhaustively scanning the entire collection in a flat index.\nThe research question that prompted the algorithms we are about to study in this chapter is whether there exists a relatively sparse graph that has the optimality guarantee we seek or that can instead provide guarantees for the more relaxed, ϵ-approximate top-k retrieval problem.\nAs we will learn shortly, with a few notable exceptions, all constructions of E proposed thus far in the literature for high-dimensional vectors amount to heuristics that attempt to approximate a theoretical graph but come with no guarantees. In fact, in almost all cases, their worst-case complexity is no better than exhaustive search. Despite that, many of these heuristics work remarkably well in practice on real datasets, making graph-based methods one of the most widely adopted solutions to the approximate top-k retrieval problem.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.020686544, 0.018757839, 0.007367891, -0.030647604, 0.025402466, 0.025425985, 0.00675635, 0.018687276, -0.041890547, 0.041867025, 0.039232697, -0.051181264, -0.035704575, -0.014006637, 0.045183457, -0.007215006, 0.0116663175, -0.044995293, 0.0048129437, 0.010678444, -0.009743492, 0.0086909365, 0.012642431, -0.017158424, 0.012230816, 0.0050687324, 0.07691302, 0.030106625, 0.06021325, -0.015688375, 0.017146664, -0.008538051, -0.033070248, -0.03469318, 0.027448775, 0.044571918, -0.005839039, -0.014982751, 0.010049262, 0.00036898258, 0.01379495, 0.07028016, -0.028389607, -0.00820876, 0.027683983, -0.008467488, -0.013865512, -0.011954447, 0.0001621649, 0.030318312, -0.06703428, 0.014982751, -0.031776603, -0.02556711, -0.025614152, 0.012712993, -0.014406491, -0.02495557, 0.06755174, 0.023391437, 0.002377071, -0.023015104, -0.017734684, 0.036763012, -0.0123719415, 0.026978359, -0.020933513, 0.022321241, 0.007009199, -0.0053568627, -0.028860023, 0.015429646, 0.035375286, -0.025167257, 0.02935396, -0.0020668905, 0.0029253997, 0.03281152, 0.020627743, 0.0021227524, 0.040126488, 0.009079029, 0.047606103, 0.019275296, -0.02878946, -0.05400376, -0.017828768, -0.039514948, -0.061718583, -0.048005953, -0.03996184, 0.008349884, 0.043842774, 0.013112847, 0.045536272, 0.04146717, 0.087920755, 0.030929854, -0.0035016593, -0.014206564, -0.04174942, -0.03702174, 0.03114154, -0.03466966, 0.09017875, -0.013042284, -0.05781413, 0.010243309, 0.018993046, -0.008191119, -0.036598366, -0.0252143, -0.046500623, 0.05174576, 0.006403538, -0.05400376, -0.06924524, 0.0146887405, -0.0042719655, 0.061483376, -0.005841979, 0.009831695, 0.031282667, 0.015065073, -0.011807443, -0.018381506, 0.025731757, -0.03932678, -0.0032223498, -0.01614703, 0.015206198, -0.017675882, 0.026249215, 0.018475588, -0.0027666343, 0.03965607, -0.05659105, 0.014112481, 0.036551327, -0.0062036114, -0.010896011, -0.041867025, 0.0035575212, 0.01260715, 0.004721801, 0.055838384, 0.009508284, 0.06472924, 0.046006687, 0.034763746, 0.014465293, -0.012183775, -0.011225303, 0.032435186, -0.03137675, -0.021239283, 0.00050643226, -0.037492156, 0.018746078, -0.0044160304, 0.022074271, 0.004216104, -0.0004461602, -0.0036280835, 0.0054480056, 0.0136303045, -0.08994354, -0.025284862, -0.033093765, -0.042455047, 0.010096304, -0.079970725, -0.018357985, 0.025896402, 0.0439839, 0.013771429, -0.039021008, -0.008884982, 0.011772161, -0.011207662, -0.031259146, 0.020204369, 0.055462047, 0.0504286, 0.012807076, -0.0057184948, -0.008932024, -0.029001148, -0.0025152557, -0.009214274, -0.023285594, 0.020039722, -0.009126071, 0.04722977, -0.0024476333, 0.0115898745, 0.008790899, 0.040714506, -0.0068563134, 0.02323855, -0.00027710444, 0.021968428, 0.0064152987, -0.022086032, 0.022850458, 0.017475955, 0.029918458, -0.022133075, -0.003322313, -0.01935762, -0.028083837, -0.009084909, 0.026178652, 0.01731131, 0.033376016, 0.014571136, -0.058237504, 0.04407798, -0.0017067281, 0.041490693, -0.04109084, 0.046241894, 0.031776603, 0.03053, -0.003436977, 0.006485861, -0.012172014, -0.075172484, 0.0019110651, -0.015947104, 0.016958497, 0.013724388, -0.0046571186, -0.020921752, -0.029847898, 0.00705036, -0.015688375, 0.0027107724, -0.05024043, -0.045606833, -0.029753814, -0.034998953, -0.019263536, 0.018416787, -0.021839064, 0.018087497, -0.03024775, -0.0012958491, 0.0011539893, 0.023097428, -0.047488496, 0.0064446996, -0.02203899, -0.058849044, -0.04085563, -0.015100354, -0.018334465, 0.0138302315, 0.020815909, 0.0081381975, 0.011107698, 0.0066093453, 0.021392168, 0.014524095, 0.00049173174, 0.009161352, 0.0057949373, -0.028954105, -0.011472271, -0.010372673, 0.0211452, 0.025778798, 0.011137099, -0.054756425, 0.010725485, -0.014853386, -0.016194072, 0.0061212885, -0.0051863366, -0.040738028, 0.01848735, 0.028272003, 0.050099306, 0.008837941, 0.04146717, 0.008008833, 0.0056185313, 0.03558697, -0.0093965605, -0.05494459, 0.059131294, -0.053251095, 0.015488448, -0.020345492, 0.019875078, -0.031611957, -0.018522631, -0.016982019, 0.0323411, -0.0033693549, 0.04407798, -0.0069151158, 0.015359083, 0.03147083, -0.02965973, 0.027872149, 0.05899017, 0.044383753, -0.031165062, 0.037374552, -0.012383702, 0.0050657927, -0.01174864, 0.06726949, -0.029306918, -0.025355423, 0.059131294, -0.04878214, -0.0058949008, -0.04901735, -0.03227054, -0.10255069, 0.015206198, -0.0044807126, 0.0045542154, -0.043395877, -0.027731024, -0.0134303775, 0.044172063, -0.024226425, 0.020745346, -0.013112847, 0.023591364, -0.005024631, -0.0026799012, 0.012266098, -0.0151944375, 0.038950447, -0.006133049, -0.00047776627, -0.030859292, -0.018604953, 0.011031256, 0.010307991, 0.028295524, 0.060260292, 0.008914384, 0.00017364966, 0.009137832, 0.021345127, -0.028601294, -0.05174576, 0.009143711, 0.021886105, 0.06044846, -0.022638772, 0.001406838, -0.032247018, -0.032176457, -0.015018032, 0.04113788, -0.014865146, 0.015688375, -0.00089011533, -0.028436648, 0.007855947, -0.009561205, 0.014441772, -0.016699769, 0.0048541054, 0.008302843, 0.04407798, 0.0039279736, -0.047606103, -0.0032635112, 0.0048952666, -0.008332244, 0.0062859342, 0.038832843, 0.05776709, -0.0056567527, -0.020169087, -0.052075054, -0.03201181, 0.017487716, -0.023109186, -0.015947104, 0.0043542883, -0.061201125, -0.001733189, -0.006579944, 0.020098524, -0.014829865, -0.006726949, 0.031564914, -0.027425254, -0.005692034, 0.052310262, 0.033611223, 0.028272003, -0.015229719, -0.012818837, -0.00940244, 0.007920629, -0.028177919, -0.008979066, 0.026061047, 0.040926196, -0.013606784, 0.051181264, -0.009008467, 0.02641386, 0.010819568, -0.029142272, -0.008261682, 0.008632134, 0.01499451, 0.04436023, -0.025331903, 0.008673295, 0.017958133, 0.012324899, -0.036763012, -0.018840162, -0.022203635, -0.00041051148, 0.041184925, -0.022238918, -0.004236684, -0.06604641, 0.011478151, 0.03824482, 0.004051458, -0.0077089425, -0.011107698, 0.022074271, 0.029001148, 0.0030136027, 0.007197365, -0.020486617, -0.0074619744, -0.03405812, -0.054191925, 0.003639844, 0.0067328294, 0.023979457, -0.023638405, 0.00026773286, 0.05136943, 0.01819334, -0.018252142, -0.022768136, 0.004204343, 0.03824482, -0.015441406, -0.051557597, 0.014794584, -0.007567818, 0.000631019, -0.0077089425, 0.009743492, 0.021321606, -0.053909678, 0.011107698, 0.026249215, 0.0228975, -0.011648676, -0.024814446, -0.004163182, -0.02025141, 0.026037527, -0.041584775, 0.04167886, -0.058943126, 0.03083577, 0.050099306, 0.042102233, -0.013606784, 0.0001705258, 0.016605686, -0.03466966, -0.05960171, -0.016158791, 0.02554359, 0.049393684, -0.0016052946, 0.068022154, 0.027354691, 0.028036796, -0.0051745763, -0.051510554, -0.048405807, 0.057390753, -0.009584727, -0.013936074, 0.0146887405, -0.025449507, -0.004310187, 0.054709382, 0.014465293, 0.0016067647, 0.0010121295, -0.044148542, -0.0033958156, -0.015088594, 0.030365353, 0.016688008, 0.010108064, 0.0323411, 0.07978256, 0.0017449495, 0.011019495, 0.041349567, 0.01291292, 0.0024152922, 0.037092302, -0.006632866, 0.047417935, -0.029683251, -0.00058250735, -0.020439576, -0.0064623402, -0.03638668, -0.0066916677, -0.02172146, -0.023226792, -0.03702174, -0.073526025, -0.020075005, -0.010643163, -0.012207296, -0.010031622, 0.0051657557, 0.030200709, -0.016088229, -0.016546883, -0.010766647, -0.000455348, -0.0010297701, -0.0047512017, 0.034152202, 0.023050385, -0.02613161, 0.031517874, -0.016382238, -0.010290351, 0.060918875, -0.005597951, -0.009014347, 0.009314237, -0.007820667, 0.0065035014, 0.004254325, -0.013736147, -0.024579236, 0.010525558, -0.0010503507, 0.03939734, -0.014241845, 0.0014141882, -0.022356521, 0.028130878, 0.023885373, 0.050663806, -0.05254547, 0.026061047, 0.009020227, -0.038926926, 0.0076325, -0.03495191, -0.0042219837, -0.014724022, 0.03760976, -0.010431475, 0.026366819, -0.007009199, -0.043866295, -0.016252873, 0.003140027, 0.0115134325, -0.0275899, 0.0057184948, -0.021615617, 0.008296963, -0.002995962, 0.0021227524, 0.010319752, 0.0021109919, -0.014559376, 0.017817007, 0.027778067, -0.028648335, -0.0155942915, -0.021215763, -0.034505017, -0.0014200683, -0.0062094913, -0.026625548, -0.022638772, -0.004474832, 0.021286326, 0.027472295, 0.03323489, -0.033634745, -0.015382604, 0.038338907, -0.005306881, 0.06595232, 0.03469318, -0.017287789, -0.00045424548, -0.028083837, -0.00053032057, -0.0064329393, -0.02909523, 0.030083105, -0.0029621508, -0.0053568627, 0.024026498, -0.032129414, 0.007979432, -0.02523782, -0.024249947, 0.02784863, -0.008979066, 0.013007003, 0.018628474, -0.051886886, 0.0031488473, -0.023085667, 0.013112847, -0.0042219837, 0.016652727, 0.022062512, 0.010772527, 0.03208237, -0.014053679, 0.025355423, 0.01437121, 0.010831329, 0.022968063, 0.029918458, -0.031800125, -0.015370844, -0.0055920705, -0.047864832, -0.010602001, -0.0005045947, -0.06308279, -0.00097611325, -0.04052634, -0.0024446934, 0.0132774925, 0.021697938, 0.018840162, -0.01641752, -0.0024167623, 0.00498347, -0.006397658, -0.0056008906, -0.0012892339, -0.009173112, 0.003051824, -0.024908528, -0.025684714, 0.028389607, 0.030341834, 0.025190778, 0.000069092355, 0.022403562, 0.024767404, 0.026743151, 0.014159522, -0.005991924, -0.020710066, -0.04755906, -0.018357985, -0.029283397, -0.03523416, -0.0018713737, -0.03438741, -0.012466025, -0.046335977, 0.006897475, -0.013148128, -0.027095962, 0.007220886, -0.009167233, 0.0010165396, -0.0074619744, -0.0065975846, 0.013877273, 0.03638668, -0.021568574, 0.0033634745, -0.020227889, -0.0058272784, 0.02376777, -0.034011077, -0.0061095282, -0.00019257655, 0.06482333, -0.03283504, -0.034575578, -0.0090437485, -0.016864415, 0.0096258875, 0.008314603, 0.06755174, 0.0010180097, 0.022050751, -0.0050716726, 0.025190778, -0.04057338, -0.000018111476, -0.008790899, 0.00824404, 0.0019022448, -0.012560108, -0.012665952, -0.025026133, 0.001583244, -0.06576416, -0.005106954, -0.020592462, 0.007250287, -0.032858558, 0.012677711, 0.013700867, -0.027542857, 0.038056657, 0.027143005, 0.012818837, -0.008726217, 0.02526134, 0.018216861, 0.009037868, -0.008296963, -0.023062145, -0.019287057, -0.008338124, -0.0021109919, 0.0069092354, -0.009955179, -0.009173112, 0.006309455, 0.005253959, -0.03323489, 0.0033958156, 0.014300647, -0.0058949008, 0.008108797, -0.013348055, 0.008085275, -0.002233006, -0.015135636, 0.0055891303, -0.015276761, 0.0074502137, 0.007485495, -0.02027493, -0.00820876, -0.026507942, 0.020357253, 0.035445847, -0.01880488, -0.0057655363, -0.01671153, 0.017052582, -0.0030194828, 0.009584727, 0.04137309, 0.04513642, 0.02582584, 0.03372883, 0.014641698, 0.023944175, -0.022979822, -0.017781725, -0.0021536234, -0.03523416, -0.010502038, 0.013101086, 0.004662999, -0.0024241125, 0.02497909, 0.011930927, 0.019828035, -0.022732854, -0.019534025, 0.012383702, -0.024026498, -0.016194072, -0.009520045, -0.03845651, 0.013171649, -0.017969891, -0.065575995, 0.00045167288, 0.060260292, 0.011278224, 0.054238968, -0.001994858, 0.002553477, -0.019651629, 0.031047458, -0.024296988, -0.03612795, -0.029142272, -0.0093201175, 0.0187696, -0.0020801208, 0.0022197757, -0.025425985, 0.010066903, 0.0088438215, -0.028671857, -0.0038632916, 0.020615982, 0.034105163, -0.016288156, 0.021956667, -0.014806344, 0.013571503, -0.05701442, 0.011872124, -0.0018331525, -0.021509772, -0.018757839, 0.0069915582, 0.043207712, -0.018569672, 0.0077030626, 0.044430792, 0.0013009943, -0.0039103334, -0.0027431133, -0.010937173, -0.042948984, 0.015688375, -0.018475588, 0.010872491, -0.03986776, 0.026272735, -0.023026865, 0.00057405455, -0.039021008, -0.029894939, -0.025637673, -0.0057684765, -0.004072039, -0.0006986413, 0.005727315, 0.020063244, 0.024132341, -0.024602758, -0.0057978774, -0.020639503, 0.010384434, 0.06167154, -0.022826938, -0.021286326, -0.034269806, -0.007285568, 0.049581848, 0.013112847, 0.014876907, 0.0170173, 0.010384434, -0.031000417, 0.023803052, 0.0369747, 0.0063858973, -0.021780262, 0.0012980542, -0.04962889, 0.019181214, -0.033893473, -0.0046865195, 0.03932678, 0.028224962, -0.008155838, -0.010355033, 0.00790887, -0.0020727706, -0.0043983897, -0.010701965, -0.0020889412, -0.008749738, 0.019910358, 0.0107313655, 0.018452069, -0.03986776, 0.02376777, -0.04057338, 0.037797928, -0.0014325638, 0.02168618, 0.03144731, 0.010596121, -0.018851923, -0.039914798, 0.026014006, 0.024743883, -0.013336294, 0.033070248, 0.007785385, -0.004016177, 0.021356888, -0.0012149963, -0.015370844, 0.017546518, 0.017005539, -0.008779139, 0.019157693, 0.029306918, -0.03549289, 0.016617445, 0.027401734, 0.019486984, 0.021839064, 0.00790887, -0.028177919, 0.014006637, 0.038268343, -0.00940244, 0.04113788, 0.03424629, 0.07606627, -0.003872112, 0.032505747, -0.011654557, 0.015276761, 0.006550543, 0.01822862, 0.007955911, 0.024814446, 0.00035611962, 0.008649775, 0.015805978, 0.016805612, 0.022438845, 0.0073561305, 0.023708967, -0.007661901, -0.01084309, -0.008667415, 0.0053010006, -0.039726634, 0.03288208, 0.039985362, -0.024602758, 0.017111383, 0.013689106, 0.03497543, 0.010366793, 0.044289667, 0.017464194, -0.005371563, 0.0070327194, -0.02556711, 0.037774406, -0.017934611, 0.0010327102, 0.023614885, 0.012807076, 0.058049336, -0.027401734, -0.019287057, 0.0017537697, 0.06044846, 0.028389607, 0.03252927, 0.017522996, 0.000997429, -0.02054542, 0.020298451, -0.01905185, -0.011695718, -0.018111017, 0.018581433, 0.008661535, -0.0015332622, -0.0323411, -0.035469368, 0.014124241, 0.035610493, 0.023050385, 0.031282667, 0.011825083, -0.0014127181, 0.023344396, -0.023332635, -0.04130253, 0.013030523, 0.0014994511, 0.019639868, -0.07075057, 0.017852288, 0.005368623, 0.007109162, -0.003436977, 0.024579236, -0.020157326, -0.020721827, -0.03375235, -0.0032517507, -0.016829133, 0.033211373, -0.0065270225, -0.009061389, 0.012077931, 0.018063975, -0.005692034, 0.025684714, -0.036504284, -0.024132341, -0.050193388, -0.022497647, 0.009949299, 0.029212834, -0.013583262, -0.0130775655, 0.03370531, -0.0062094913, -0.009155472, -0.000011438827, -0.021051116, 0.03297616, 0.008161718, -0.035798658, -0.021792023, 0.0029209894, -0.0137831895, -0.0014016927, -0.0054244846, 0.011478151, -0.0036810054, -0.017699404, 0.027472295, 0.02909523, -0.014053679, -0.017487716, 0.02109816, -0.00023741309, -0.018346224, -0.018640235, -0.015276761, 0.009331878, -0.012136733, 0.024132341, -0.02874242, -0.018275663, 0.009531804, 0.024743883, 0.016629206, -0.033540662, 0.006521142, -0.013442138, -0.009796414, -0.033211373, 0.031023936, -0.0057184948, 0.022427084, -0.018357985, -0.016605686, -0.009731731, -0.04137309, 0.03502247, -0.01729955, 0.011583994, -0.034269806, 0.018275663, -0.018793121, 0.009208393, 0.004289606, -0.018969527, -0.016194072, -0.019651629, -0.019992681, 0.005927242, 0.017228987, -0.01084309, 0.004930548, -0.032035332, 0.004280786, -0.0076207398, 0.06223604, 0.0417259, 0.007197365, -0.019345859, 0.008555692, -0.00998458, -0.00441015, 0.0052686594, -0.01733483, -0.025966965, 0.029706772, 0.007279688, 0.033681788, -0.018604953, 0.050946057, 0.0064741005, -0.022474125, -0.0051863366, -0.038033135, -0.01085485, 0.017475955, -0.012148494, 0.016123509, 0.020192608, 0.00556561, -0.0026887215, -0.019334098, 0.010360913, -0.008373405, 0.0022550568, -0.029165793, 0.0058949008, 0.009343638, -0.023979457, -0.033893473, 0.011595755, 0.0144888135, 0.027731024, -0.01702906, 0.012701233, -0.028624816, 0.03558697, -0.01704082, 0.010784287, -0.027519338, -0.018263903, -0.014441772, -0.018581433, -0.032952644, 0.00070268393, 0.020686544, 0.012748274, 0.0056449925, -0.019192973, -0.036598366, 0.011525192, 0.0071385633, 0.014053679, -0.039091572, -0.0006729154, 0.03288208, -0.0053039407, -0.053627428, 0.005918422, 0.0064741005, 0.003254691, -0.024414591, 0.011572234, 0.03163548, 0.005906661, -0.016288156, 0.004954069, 0.0036310237, -0.014453532, -0.015359083, 0.00037247394, -0.010743126, 0.0027842748, -0.028601294, 0.010790167, 0.013865512, -0.0352812, -0.0076207398, 0.030200709, 0.019863317, -0.006803392, 0.0018713737, 0.026931318, -0.033211373, -0.0010724015, -0.009026107, -0.017381873, -0.042149276, 0.002372661, -0.02083943, 0.01878136, -0.033681788, -0.004783543, 0.004027937, -0.0093848, 0.015994145, 0.02876594, 0.0048835063, -0.013171649, 0.018687276, -0.016323436, 0.026602026, 0.013136367, 0.010919532, -0.015406125, -0.014912188, -0.016241113, 0.026319776, -0.014959229, -0.009455362, -0.025990486, 0.01702906, 0.025731757, 0.044148542, -0.010737246, -0.023603125, -0.007973552, -0.026249215, -0.008902623, -0.008667415, -0.060119167, -0.025755277, 0.014053679, 0.0016493961, -0.003966195, -0.0069092354, -0.003966195, -0.0021051117, -0.017993413, 0.033399537, 0.02462628, 0.011878004, 0.03024775, 0.02256821, 0.01912241, 0.008161718, 0.0007254697, -0.042478565, -0.0146887405, -0.0013392157, 0.024508676, 0.021274565, 0.028554253, 0.0022535867, 0.033658266, -0.024249947, 0.009714091, 0.013924315, -0.00082028797, -0.023356156, -0.024696842, 0.0056743934, -0.010213908, -0.0031047456, 0.02200371, -0.019886838, 0.027448775, 0.027378213, 0.009084909, -0.00615657, 0.005692034, -0.034293327, 0.00067695807, 0.04287842, 0.0026005185, 0.00969057, 0.021803783, 0.0015097414, 0.016605686, 0.007779505, 0.029683251, -0.040055923, -0.0021653837, 0.005462706, 0.008943785, 0.029165793, 0.008008833, -0.030929854, -0.00048805663, 0.04812356, 0.009420081, 0.005603831, 0.0076677813, 0.007726583, 0.009855215, -0.020721827, 0.004901147, 0.024743883, 0.028083837, 0.06487037, 0.028554253, 0.0046571186, 0.0032752715, -0.0003524445, -0.054380093, -0.03521064, 0.020686544, -0.042596173, -0.009431841, 0.018287422, 0.019957399, 0.019251775, -0.020439576, 0.0143359285, 0.010325632, -0.04019705, 0.020886471, -0.000020615154, 0.013642064, 0.002819556, 0.019145932, 0.0058802003, 0.011642797, 0.0026534405, 0.01935762, -0.01027271, 0.008420447, 0.003675125, -0.021498011, 0.049158473, 0.014018398, -0.017934611, -0.010725485, -0.009437721, 0.016852655, -0.0007747164, 0.02293278, 0.032105893, 0.0009298067, -0.03702174, -0.021345127, 0.013841991, 0.006332976, 0.016241113, 0.034834307, -0.03492839, -0.011554593, 0.019910358, 0.013771429, 0.0011517842, -0.0018008114, 0.015606051, -0.017158424, 0.004909967, -0.029259877, 0.0048305844, -0.009496523, 0.042172797, -0.0033311334, -0.0028548373, 0.023309113, 0.008149957, -0.02878946, 0.022074271, 0.01788757, -0.0012767385, -0.03730399, 0.024344029, -0.024108822, 0.016958497, 0.033822913, -0.006086007, 0.036480762, -0.0033840553, 0.01144287, 0.030506479, -0.034575578, 0.013301013, 0.033352494, -0.029401, 0.005780237, -0.0042719655, 0.028389607, 0.0010599061, -0.005048152, 0.0047100405, -0.0138302315, -0.010619641, -0.023708967, -0.023861853, -0.03083577, 0.027401734, 0.003613383, 0.019875078, 0.0073267296, -0.02909523, -0.008067635, 0.00822052, -0.023803052, 0.026954839, -0.008708577, -0.022956302, -0.023873612, 0.035328243, 0.026202172, -0.002284458, -0.005759656, 0.02348552, -0.009190753, 0.024202904, 0.029495085, 0.031000417, -0.017099623, -0.0033340736, -0.014430012, -0.027825108, 0.010719605, -0.053627428, -0.015911821, 0.017452434, 0.00999046, -0.0117898015, 0.013183409, -0.0032693914, 0.030506479, 0.015147396, 0.011595755, -0.029212834, 0.015182677, 0.0020036784, -0.0056802733, -0.0043278276, 0.052169137, -0.06853961, -0.0059331222, 0.0016611565, 0.00968469, -0.010619641, 0.0059478227, 0.009455362, -0.017993413, -0.02083943, -0.00065012963, -0.020757107, 0.044736564, 0.02432051, -0.021345127, -0.005348042, -0.03904453, 0.0030753447, 0.00969057, -0.023932416, 0.045089375, -0.0050363913, -0.012266098, 0.017769964, 0.00820288, 0.034434453, 0.0070974017, -0.053674467, -0.03899749, -0.018099256, -0.0065917047, 0.026860755, 0.0050834334, -0.016982019, 0.020227889, 0.012983482, -0.0042190435, -0.012001488, 0.026813714, -0.007403172, -0.013841991, 0.040596902, 0.03170604, 0.010701965, -0.029424522, 0.008543931, -0.00587726, 0.0035104796, 0.015112115, 0.010413835, 0.013336294, -0.012254338, 0.01908713, 0.011889765, -0.010249189, 0.022591729, 0.010196268, 0.021486253, 0.0016229353, -0.006544663, -0.02118048, -0.010990094, 0.02846017, 0.028648335, 0.008649775, 0.021545054, 0.009772893, -0.014900427, 0.021486253, 0.036080908, 0.028554253, 0.003872112, 0.0039779553, -0.0252143, -0.00019643545, -0.028366087, -0.015935343, -0.040079445, 0.022144834, 0.0050628525, -0.0034957791, 0.0127247535, 0.02965973, 0.017417153, 0.009378919, -0.023344396, -0.00030926178, 0.029001148, 0.019592827, -0.011542833, -0.039303258, 0.011054777, 0.009620008, -0.029847898, 0.015606051, 0.020204369, 0.008144078, -0.012407223, -0.013442138, -0.012489545, 0.008085275, -0.038385946, -0.052357305, 0.030647604, 0.013054045, -0.015947104, 0.015476687, -0.017769964, -0.026931318, -0.00014810755, 0.021215763, -0.009031988, -0.012818837, 0.010848969, -0.015053312, 0.0089202635, -0.04699456, -0.012560108, 0.017746445, 0.017052582, 0.03666893, -0.009596487 ]
2401.09350
205
In the remainder of this chapter, we will see classes of theoretical graphs that were developed in adjacent scientific disciplines, but that are seemingly suitable for the (approximate) top-k retrieval problem. As we introduce these graphs, we also examine representative algorithms that aim to build an ap- proximation of such graphs in high dimensions, and review their properties. We note, however, that the literature on graph-based methods is vast and growing still. There is a plethora of studies that experiment with (minor or major) adjustments to the basic idea described earlier, or that empirically compare and contrast different algorithmic flavors on real-world datasets. This chapter does not claim to, nor does it intend to cover the explosion of material on graph-based algorithms. Instead, it limits its scope to the founda- tional principles and ground-breaking works that are theoretically somewhat interesting. We refer the reader to existing reports and surveys for the full spectrum of works on this topic [Wang et al., 2021, Li et al., 2020]. # 6.2 The Delaunay Graph
2401.09350#205
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 205, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "In the remainder of this chapter, we will see classes of theoretical graphs that were developed in adjacent scientific disciplines, but that are seemingly suitable for the (approximate) top-k retrieval problem. As we introduce these graphs, we also examine representative algorithms that aim to build an ap- proximation of such graphs in high dimensions, and review their properties. We note, however, that the literature on graph-based methods is vast and growing still. There is a plethora of studies that experiment with (minor or major) adjustments to the basic idea described earlier, or that empirically compare and contrast different algorithmic flavors on real-world datasets. This chapter does not claim to, nor does it intend to cover the explosion of material on graph-based algorithms. Instead, it limits its scope to the founda- tional principles and ground-breaking works that are theoretically somewhat interesting. We refer the reader to existing reports and surveys for the full spectrum of works on this topic [Wang et al., 2021, Li et al., 2020].\n# 6.2 The Delaunay Graph", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.018217687, 0.009557407, 0.02257175, -0.048899475, 0.03265547, -0.011405491, -0.044425797, -0.006722482, -0.06282291, 0.027870787, -0.00009503953, -0.056698512, -0.007075352, -0.044999957, 0.05674636, 0.0010944966, 0.032248773, -0.020442564, 0.01678228, 0.031674612, -0.00033586242, -0.0046261917, 0.0047697322, -0.0052870763, 0.003684207, -0.017248787, 0.04375594, 0.022093281, 0.027488012, 0.029904278, -0.011010755, -0.020837301, -0.05507172, -0.0141148195, 0.016483238, 0.02069376, -0.015299029, 0.020251177, 0.00601076, 0.027344473, 0.050621964, 0.06258367, -0.05732052, 0.02013156, -0.02166266, -0.018708117, -0.008235638, -0.016531086, -0.006549037, 0.012631567, -0.069234386, 0.0367703, -0.008965302, -0.048062157, -0.034354035, 0.047416225, -0.04669852, -0.0005775264, 0.07856452, 0.023145912, -0.010047837, 0.005418655, -0.0021486224, 0.03593298, -0.05052627, 0.034617193, -0.041124362, 0.022822944, 0.02906696, 0.019330125, -0.042487998, 0.021997588, 0.00922248, -0.014090896, 0.019593284, -0.0028483826, -0.010245206, 0.0128827635, -0.010334918, -0.009174633, 0.053062152, 0.0018839695, 0.029617198, 0.039377954, -0.035980828, -0.038110014, -0.0027003563, -0.033779874, -0.08775111, -0.02200955, -0.0033672217, 0.016387545, 0.016052617, 0.042870775, 0.034712885, 0.04375594, 0.05703344, 0.024545431, 0.0081578875, -0.0076375525, -0.00024110325, -0.018121993, -0.028851647, -0.03200954, 0.08684202, 0.011626784, -0.06578941, -0.014198551, 0.0019691968, 0.02326553, -0.04011958, -0.01929424, -0.062679365, 0.03165069, 0.0019034073, -0.064066924, -0.059377935, -0.02495213, -0.00019194809, 0.038899485, -0.03150715, 0.011100468, -0.0021411462, 0.01572965, -0.011447358, -0.011447358, 0.014043049, -0.03688992, 0.008127983, -0.0072188927, 0.018827735, 0.0034001165, -0.0043630344, -0.024760742, -0.013253576, -0.004467699, -0.047607612, 0.016818166, 0.026794232, -0.04423441, 0.0095394645, -0.051483206, 0.025382752, 0.022595672, -0.00005966838, 0.036028676, -0.010107646, 0.056650665, 0.034354035, 0.04277508, -0.0047368375, 0.00971889, -0.0055472436, 0.010580134, -0.036291834, -0.0057565738, 0.03437796, -0.024425814, -0.0081638675, 0.006339707, 0.012027501, -0.0035586092, -0.018923428, -0.002084328, -0.029473657, 0.01642343, -0.064497545, -0.019796632, -0.039641112, -0.023995193, -0.010400708, -0.058181763, 0.019760747, 0.036531065, 0.022667443, 0.034401882, -0.039019104, 0.00866626, 0.032344468, -0.012039462, -0.010149512, 0.027105238, 0.033014324, 0.018014338, -0.020657875, 0.0014197056, 0.017799027, 0.007888748, 0.003995212, 0.012966495, 0.004775713, -0.00047622563, 0.017583715, 0.056028657, -0.010113627, -0.013229652, 0.03949757, 0.028779877, 0.012727261, 0.013121997, 0.004354063, 0.030215282, -0.00017793046, -0.041411445, 0.02075357, 0.0059330086, 0.06593295, -0.046650674, -0.017069362, -0.042176995, -0.024497585, -0.019055007, 0.003453944, 0.031674612, 0.0026016722, -0.003229662, -0.050861195, 0.05961717, -0.0035675804, 0.03990427, -0.044688955, 0.011405491, 0.0045304983, 0.02145931, 0.008241619, 0.025334904, 0.011632765, -0.04956933, -0.020179408, -0.005992817, 0.033588484, -0.010915061, -0.038612403, -0.013444964, -0.029090881, -0.017045438, -0.007882767, -0.01769137, 0.00034838484, -0.048133925, -0.018253572, 0.0007662971, -0.0111842, 0.023373185, 0.019988019, 0.024138734, -0.028827725, -0.0075119548, 0.0083133895, 0.006465305, -0.031483226, 0.005442579, 0.0020125578, -0.03174638, -0.011471281, -0.033038247, 0.00034894556, -0.0004328644, 0.014425823, -0.014294245, -0.022667443, -0.013169844, -0.002893239, 0.008271524, 0.0054216455, 0.044999957, -0.01467702, -0.008462911, -0.015753575, -0.05320569, 0.020801416, 0.046291824, 0.031435378, -0.05976071, 0.017643524, -0.020598067, 0.021614812, 0.023444954, -0.00040520297, -0.04325355, 0.04234446, 0.043995176, 0.072870746, 0.026196148, 0.016136348, 0.034832504, -0.02326553, -0.0034748772, -0.024258351, -0.035095662, 0.046602827, -0.008642336, 0.0089294175, -0.03765547, -0.0022772108, -0.033492792, 0.0099820485, -0.032679394, 0.019234432, -0.0059868367, 0.024521507, -0.021578927, -0.0015744603, 0.04411479, -0.024928207, 0.0038875563, 0.026961697, 0.047990385, 0.0029605236, 0.018851656, 0.0029261336, -0.027153084, -0.0080083655, 0.041483216, -0.0025702727, -0.022499979, 0.075167395, -0.021925816, -0.03215308, -0.02160285, -0.041267905, -0.09004776, 0.027775094, 0.022906678, 0.013265538, -0.04040666, -0.035765518, 0.005672842, 0.038157858, -0.03291863, 0.020394718, 0.004168656, 0.022667443, 0.011871998, -0.033995185, 0.01307415, 0.0050418614, 0.03208131, 0.0130382655, 0.01789472, -0.020143522, 0.000884419, 0.027870787, -0.0066865967, 0.026267918, 0.03662676, 0.009210518, 0.018600462, -0.0024207514, -0.020227253, -0.036865994, -0.056794204, -0.0047099236, 0.027416242, 0.029306192, 0.0314593, -0.020729646, -0.042583693, -0.017428214, -0.0049790624, -0.005074756, 0.0067284624, 0.022045434, 0.002334029, -0.020490412, 0.019521512, -0.056459278, -0.0035765518, -0.04583728, 0.014736828, 0.003989231, 0.071052566, -0.010580134, -0.0462679, -0.020119598, -0.03193777, -0.009210518, -0.012320562, 0.023947347, 0.054258324, -0.027894711, -0.0018002376, -0.038325325, -0.02677031, 0.050861195, -0.005759564, -0.037703313, 0.025980838, -0.07081333, 0.029210499, -0.0033732026, 0.014808599, -0.00030296773, -0.023660265, 0.009509561, -0.026889928, 0.012296639, 0.008827743, 0.031626765, 0.04150714, 0.0024835502, -0.020681798, -0.021028688, -0.005550234, 0.0040430585, 0.0020633952, 0.048755936, 0.046243977, 0.026315765, 0.020454526, -0.00055360293, -0.02495213, 0.0055352817, -0.021578927, -0.005167459, -0.008726069, 0.00062649464, 0.022057395, -0.037153076, 0.0367703, 0.0112081235, 0.019114815, -0.026363611, -0.034712885, -0.02600476, 0.016614817, 0.04220092, -0.0022488018, -0.0020932995, -0.075885095, 0.021447347, 0.03837317, 0.040023886, -0.012715299, 0.0034748772, -0.0036662645, 0.06622003, 0.0046650674, 0.04858847, -0.040215272, -0.01285884, -0.029545426, -0.040358815, -0.015741613, 0.027368395, 0.029832508, -0.022822944, -0.013325347, 0.03459327, -0.013050227, -0.04186599, -0.008761954, -0.000922547, 0.020633953, -0.04160283, -0.04787077, 0.02964112, -0.01104066, 0.013241614, -0.023050217, 0.024401892, 0.0329904, -0.06875592, 0.02509567, 0.005116622, 0.03956934, 0.0076016677, 0.0054964065, 0.018851656, -0.049330097, 0.041267905, -0.054258324, 0.010915061, -0.068612374, 0.0039593265, 0.04614828, 0.021052612, 0.014449747, 0.027655477, 0.015466493, -0.012990419, -0.049856413, 0.010125589, 0.019677015, 0.024210503, -0.008660279, 0.009234441, 0.03055021, 0.060287025, 0.003403107, -0.056220043, -0.045598045, 0.02887557, -0.011584917, 0.0049401866, -0.019964097, -0.04102867, -0.014437785, 0.03160284, 0.0011229056, 0.041889913, 0.032057386, 0.004724876, 0.01027511, 0.018397111, 0.010532287, -0.011626784, 0.0062798983, -0.01174042, 0.05473679, -0.020932995, 0.012212907, 0.0599521, 0.025191365, 0.018612422, 0.028851647, -0.0145693645, 0.016519124, -0.017105248, -0.0032954514, -0.024366006, -0.010711713, -0.06473678, 0.004999995, -0.0066686543, -0.010430613, -0.024688972, -0.07923438, -0.042105224, 0.024473662, 0.016184196, -0.0059389896, 0.0069796587, 0.046937756, -0.013492811, -0.026363611, -0.004781694, 0.0030143512, -0.009060997, -0.010962908, 0.012159079, 0.017655486, -0.014425823, 0.013732045, -0.03437796, -0.014389939, 0.051004738, -0.025909066, -0.011572956, 0.024246389, 0.010113627, -0.024366006, 0.0030532267, 0.013062188, -0.038540635, 0.019976057, -0.027248777, 0.039641112, -0.02355261, -0.03899518, -0.0062858793, 0.013827738, 0.003522724, 0.0409569, -0.004117819, 0.03583729, 0.014210513, 0.0010279595, 0.013217691, -0.019904288, 0.003187796, -0.044210486, 0.017799027, -0.045478426, 0.023588495, -0.0022129165, 0.007458127, -0.006244013, 0.014904292, 0.011710515, -0.04928225, -0.0026525094, -0.043086085, 0.0036812166, -0.016830128, 0.013361231, 0.0015340894, 0.012535874, 0.015430608, 0.003809805, 0.008851666, -0.028995188, -0.025071748, -0.039306182, 0.012954533, -0.02334926, 0.007422242, -0.016854052, -0.037511926, 0.002369914, 0.024294235, 0.035430588, -0.0072727203, -0.04674637, -0.003956336, 0.020466488, 0.010938985, 0.022153089, 0.028421026, -0.0019871392, -0.0047787037, -0.009629178, 0.006297841, -0.009659082, 0.0014989519, 0.0072009503, -0.014808599, -0.026363611, 0.0038875563, -0.011160277, 0.010586115, -0.0164952, -0.028492797, 0.021566965, 0.028755954, 0.009629178, 0.02020333, -0.069521464, 0.0066925776, -0.007805017, -0.010173435, -0.012571759, 0.034856427, 0.026818156, -0.008971283, 0.0027377366, -0.020023905, 0.0074820505, 0.05291861, -0.011543051, 0.01831338, 0.020155484, -0.036339678, -0.017344482, 0.009126786, -0.013492811, -0.01069377, 0.0004728614, -0.051531054, -0.018540652, -0.024234427, -0.017559793, 0.014342092, 0.01656697, 0.014976063, -0.0124282185, 0.0007053672, 0.0035257144, 0.010544249, -0.000105786385, -0.017595677, -0.015310991, 0.0075598015, -0.023098065, -0.026435383, 0.034521498, 0.027248777, 0.022093281, 0.019557398, 0.015717689, 0.012942571, 0.012954533, 0.045813356, 0.0039174603, -0.027416242, -0.01489233, -0.004647125, -0.02935404, -0.048133925, 0.013337309, 0.0020364814, -0.029904278, -0.0948803, 0.032200925, 0.03928226, -0.030526288, 0.003376193, 0.0019691968, 0.0017568764, -0.027440166, -0.0046770293, 0.020849263, 0.020287063, -0.020932995, -0.008702145, 0.016961707, 0.011638745, 0.0341148, -0.04193776, -0.041746374, 0.024019117, 0.04677029, -0.043086085, -0.021064574, 0.027703322, -0.022117205, 0.029019112, 0.03019136, 0.053923395, -0.023947347, 0.021423426, -0.002824459, -0.019413857, -0.014988025, -0.039760727, -0.0020005961, 0.020837301, -0.0010601067, -0.013098074, -0.030382747, -0.03866025, 0.018480845, -0.038612403, 0.009108843, -0.009138747, 0.026866004, -0.020633953, 0.0064054965, 0.011997596, -0.012703338, 0.016172234, 0.0409569, 0.012242812, -0.02523921, -0.0009875888, 0.018337304, -0.018791849, -0.0071411417, -0.017236825, 0.0027526887, -0.0043839673, 0.017093286, 0.01558611, 0.009479656, 0.0037828912, 0.011776305, 0.033732027, -0.03368418, -0.0016462305, 0.008498796, -0.015968885, 0.0077631506, -0.012631567, -0.01747606, -0.01398324, -0.023241606, -0.03138753, -0.026028683, -0.007583725, 0.015693765, -0.016136348, -0.012834916, -0.012194965, -0.00016456698, 0.011722477, -0.029880354, 0.006626788, -0.0023430001, -0.0025523303, -0.013779892, 0.026387535, 0.024856437, 0.025382752, 0.0030038848, 0.029760737, -0.002942581, 0.016172234, 0.014928216, -0.015645918, 0.021196153, -0.042822927, -0.010526306, 0.024401892, 0.018899504, 0.001740429, 0.010729655, -0.0045185364, -0.011734439, -0.02866026, -0.030861216, 0.011118411, -0.012906686, -0.009724871, -0.004829541, -0.02705739, 0.027559783, -0.008223676, -0.09047838, -0.0011617813, 0.034066953, 0.027846863, 0.04160283, -0.011560994, -0.00035212288, -0.011178219, 0.020861225, -0.04038274, -0.012559797, -0.03153107, -0.0066746348, 0.02887557, 0.020574143, 0.008397121, -0.01837319, -0.021614812, 0.00019792894, -0.035550207, -0.017093286, 0.037368387, 0.015765535, 0.01852869, 0.032799013, -0.023600457, 0.016351659, -0.061531045, 0.027511936, 0.0070155435, -0.031411454, 0.012679414, -0.018409073, 0.05110043, -0.027775094, 0.0072368355, 0.014999986, -0.009300231, 0.011339703, -0.033086095, -0.022834906, -0.031842075, 0.028301409, -0.039449725, 0.029545426, 0.0031758344, 0.03263155, 0.005789468, -0.018696155, -0.027870787, 0.008301428, -0.054401863, -0.008122002, -0.021782277, 0.016698549, 0.03404303, 0.016854052, -0.007990424, -0.021590889, -0.015418646, 0.0014825047, 0.04138752, 0.07143534, -0.0019273307, -0.04796646, -0.037368387, -0.009533484, 0.026578922, 0.022188975, 0.00468301, 0.01523922, -0.009180614, 0.016578931, 0.029401887, 0.022045434, -0.013971278, -0.01209329, -0.0023504763, -0.028468873, 0.025215287, -0.031339683, -0.027248777, -0.01614831, 0.013373193, -0.011854056, -0.017452138, 0.00503289, 0.03236839, -0.0024626174, 0.001352421, -0.0043929387, -0.0003954841, 0.025430597, -0.0007752684, 0.0049192538, -0.033851642, 0.018217687, -0.024485623, 0.048421007, -0.0051973634, 0.012171041, 0.03899518, -0.017583715, 0.0017763141, -0.024760742, 0.021124382, 0.03124399, -0.028636336, 0.009037073, -0.019748785, -0.040669817, -0.014162666, -0.018827735, -0.062057357, 0.0053857607, 0.017416252, 0.007368414, 0.024306197, 0.0041148285, -0.006267937, 0.009569369, 0.010705732, -0.015418646, 0.013588504, 0.004590307, -0.009461714, 0.013803815, 0.0044407854, 0.014629173, 0.041124362, 0.030717675, 0.023803806, 0.022834906, 0.054497555, 0.010681808, 0.0017314577, 0.024976052, 0.036937766, 0.019473666, 0.011776305, 0.016327735, -0.0067284624, 0.025909066, -0.0020529288, 0.033612408, -0.010095685, 0.012147117, -0.03265547, 0.035598055, -0.025789449, 0.016315775, 0.0041238, 0.020741608, 0.050143495, -0.027655477, 0.009946163, 0.01174042, 0.03892341, 0.027129162, 0.054784637, -0.00037025235, -0.008749992, 0.008403102, -0.018576538, 0.013014342, -0.0066088457, 0.018468883, 0.027583707, 0.019820556, 0.025287058, -0.031052602, -0.022200936, -0.0015430608, 0.09330135, 0.03727269, 0.04153106, 0.03040667, -0.003229662, -0.0039653075, 0.021710506, -0.010173435, -0.015059794, 0.022810983, 0.016447352, 0.013732045, -0.057607602, -0.016327735, -0.025813373, 0.0011759858, 0.009443771, -0.012476065, 0.025358828, 0.009300231, -0.024593279, 0.010574153, -0.023313375, -0.027488012, 0.022416247, 0.008959322, 0.0037230826, -0.063779846, 0.011895922, -0.008486834, 0.008654298, 0.033779874, 0.015610034, -0.010950946, -0.014234437, -0.009270326, 0.008092098, -0.02019137, 0.03291863, -0.0006406992, 0.01607654, 0.022428209, 0.016973669, -0.0031010737, 0.017440176, -0.022619596, -0.019126777, -0.025430597, -0.05507172, -0.018624384, 0.019796632, 0.0010354356, -0.005373799, 0.03947365, -0.024055002, 0.013660274, -0.005430617, 0.0018495796, 0.0095275035, -0.022559788, -0.009623197, -0.038684174, 0.0055023874, -0.019760747, 0.024641125, -0.0013868109, 0.005992817, 0.02258371, -0.025526293, 0.032751165, 0.004237436, -0.02034687, -0.046028666, 0.04069374, 0.015777497, -0.010119608, -0.008744011, -0.0121231945, 0.0011087011, 0.014736828, 0.04102867, -0.03818178, -0.013779892, -0.024928207, 0.021985626, 0.010430613, -0.006076549, 0.03320571, 0.0024999976, -0.020275101, -0.03968896, 0.014605249, 0.017200941, 0.009587311, -0.014354054, -0.006967697, 0.0053558564, -0.031004755, 0.0489234, -0.030956909, -0.011166258, -0.020777492, -0.011106449, -0.0021067564, -0.014988025, 0.0063277455, -0.014031087, -0.021028688, 0.014653096, -0.04153106, 0.01999998, -0.016578931, -0.0030442555, -0.0012851363, -0.021758353, 0.0011057106, -0.009551426, 0.03382772, 0.03473681, -0.00663875, -0.008151907, -0.029114805, -0.020490412, -0.017715294, 0.021184191, -0.011172239, -0.01516745, 0.0148803685, 0.019389935, 0.02978466, -0.0033313367, 0.03454542, 0.020358833, -0.042057376, -0.0014765237, 0.007087314, 0.0054635117, 0.0018121992, -0.018851656, 0.014318168, 0.015633957, -0.020741608, 0.017499983, -0.020705722, -0.008074155, 0.01627989, 0.017978452, -0.013708121, 0.031794228, -0.0038486805, -0.015191373, -0.029808585, 0.0049790624, 0.01837319, 0.036172215, -0.01893539, 0.0028917438, -0.04026312, 0.028110022, -0.031363606, 0.0047368375, -0.025741603, -0.003313394, -0.021495195, -0.021184191, 0.008803819, -0.010992813, 0.02775117, 0.003444973, 0.002887258, -0.023576533, -0.020586105, 0.0024252369, 0.013110036, 0.017380366, -0.030980833, 0.0036513123, 0.050574116, 0.0026465287, -0.052679375, 0.011315779, -0.019653091, 0.012153098, -0.024856437, -0.001978168, 0.00496411, 0.013253576, 0.023959307, 0.032870784, 0.0073983185, -0.0030278082, 0.018791849, 0.01069377, -0.005571167, -0.0078528635, -0.014760752, 0.01733252, 0.027703322, 0.008761954, -0.011997596, 0.017236825, 0.024318159, 0.01684209, 0.032129157, 0.011895922, -0.0018361227, 0.011895922, 0.02307414, -0.019114815, -0.03746408, 0.003621408, -0.01544257, 0.014712905, -0.01789472, -0.017787065, -0.014461709, -0.017882759, 0.0011916854, -0.015370799, 0.026172224, 0.021961702, 0.0008709621, -0.0038785848, 0.03684207, -0.0035406665, 0.0098385075, -0.018110031, -0.025382752, -0.0018735031, 0.01020334, -0.009425828, -0.015299029, -0.02873203, -0.02069376, 0.062105205, 0.02291864, 0.017224865, -0.0090909, -0.0058821714, -0.03767939, -0.0004732352, 0.014126781, -0.032200925, -0.02942581, -0.006381573, -0.013600466, 0.005340904, -0.004138752, -0.004040068, -0.018791849, -0.021375578, 0.037177, -0.003543657, 0.008564585, -0.0032894707, 0.007260759, -0.0062141092, 0.011154296, -0.009814584, -0.025789449, -0.030765522, -0.0015894123, 0.024078924, 0.020705722, 0.017177017, -0.014832522, 0.022751175, -0.018301418, 0.0071471226, 0.02473682, -0.0019034073, -0.025885142, 0.0028767916, -0.024449738, -0.021339692, -0.011148315, 0.022236822, -0.011411472, 0.01398324, 0.034019105, -0.006244013, -0.008863628, 0.011339703, -0.036650684, 0.009360039, -0.017392328, -0.011704534, 0.025119593, 0.004207532, 0.0053379135, 0.019031083, 0.02978466, 0.04653106, -0.05564588, 0.015047832, -0.00092852785, -0.007087314, 0.032751165, 0.014665058, 0.0018062184, -0.022452133, 0.058755927, 0.018133955, 0.014641135, -0.021794237, 0.020574143, 0.009342097, -0.02495213, 0.014198551, 0.026243994, 0.03705738, 0.051578898, 0.026818156, -0.012452141, -0.014988025, -0.028397102, -0.008068174, -0.010011952, 0.0367703, -0.042248763, -0.02684208, -0.018755963, 0.0066865967, 0.014198551, -0.019198546, -0.034282263, 0.0050298995, -0.04124398, -0.012751184, -0.002894734, 0.030287053, 0.0013927917, -0.015119603, 0.009611235, -0.016052617, 0.008175829, 0.03746408, -0.007888748, 0.0013830728, 0.034282263, -0.022105243, 0.04255977, 0.0045693736, -0.028755954, -0.008343293, -0.011028698, 0.0012941076, -0.011261951, 0.0095394645, 0.01789472, 0.0074880314, -0.035310972, -0.0074401842, 0.003675236, 0.005613033, 0.0099820485, 0.026602846, -0.039377954, -0.019425819, 0.033253558, -0.0042224843, -0.027799018, 0.018648308, -0.0042553786, -0.0062380326, -0.00079022057, -0.01006578, 0.028397102, 0.0045962874, 0.019318163, -0.0037380347, -0.002026015, 0.017930605, 0.012667452, 0.006244013, 0.031866, 0.005583129, 0.01167463, -0.02600476, -0.0031788247, -0.020227253, 0.011453339, 0.026291842, 0.0053857607, 0.042607617, -0.0133492695, 0.03488035, -0.008301428, -0.014964101, 0.0017807998, 0.013217691, -0.011016736, -0.0056010713, -0.0024506557, 0.010185397, -0.006872003, -0.012535874, 0.018672232, -0.0038546615, 0.010657885, -0.015849268, 0.005026909, -0.04423441, 0.0047338475, 0.012619605, -0.006178224, 0.012296639, -0.019928211, -0.0039294222, -0.0068420987, 0.014521518, 0.027655477, -0.007930615, -0.044186562, -0.0054126745, 0.03138753, 0.02782294, 0.031866, 0.0076734377, 0.01978467, -0.020956919, 0.0109090805, 0.017428214, 0.027655477, -0.01285884, -0.006614826, -0.008421045, -0.003998202, 0.010532287, -0.046937756, -0.021411464, 0.053588465, 0.034354035, 0.012141137, 0.016626779, -0.009694967, 0.0031160258, -0.0022667444, 0.034019105, -0.02153108, -0.001586422, 0.006997601, 0.008636355, -0.028851647, 0.05521526, -0.07976069, -0.0048953304, -0.010418651, 0.0071231993, -0.021746391, -0.0034090877, -0.0054455693, 0.002194974, -0.023779882, 0.0027003563, 0.0076375525, 0.033086095, 0.015849268, 0.0077272654, -0.032033462, -0.026435383, 0.0128947245, 0.021471271, -0.022595672, 0.024999976, -0.019162662, -0.0054844446, 0.018564576, 0.016650703, 0.03662676, 0.009964106, -0.0042254743, -0.05459325, -0.03586121, -0.010442574, 0.0013150406, 0.00085900037, 0.00503289, 0.015669841, 0.022631558, 0.004482651, 0.0064114775, 0.03026313, -0.016255965, -0.017834911, 0.03971288, 0.00761961, -0.0027855835, -0.026411459, 0.0018570557, 0.033851642, 0.0024506557, -0.00901315, 0.0050358805, 0.013145921, 0.0045364792, 0.042464074, 0.016949745, 0.013947356, 0.016375583, -0.020741608, -0.006889946, 0.0057924585, -0.032942552, 0.010795444, 0.012296639, 0.013803815, 0.025143517, 0.008492815, 0.016590893, -0.0013621398, 0.00038539138, 0.016866013, 0.040287044, 0.019389935, -0.0067344434, 0.013325347, -0.013708121, 0.0035406665, -0.0031937768, -0.0127392225, -0.020980842, 0.03968896, 0.007422242, 0.005472483, -0.0020888138, 0.012404295, 0.0043450915, -0.00594198, -0.010592096, 0.001356159, 0.03535882, -0.0024446747, -0.0024297226, -0.024784666, 0.012111233, -0.0039383937, -0.016531086, 0.0032416238, 0.008761954, 0.007452146, -0.004291264, 0.008122002, -0.023253568, -0.02076553, -0.025980838, -0.032320544, 0.021435387, -0.004509565, -0.030023895, 0.017308597, -0.037703313, -0.016830128, -0.022212898, -0.022751175, -0.003187796, -0.0024057992, 0.005565186, -0.035765518, -0.004431814, -0.03334925, -0.0024626174, 0.0076435334, 0.0153229525, 0.06143535, -0.03968896 ]
2401.09350
206
# 6.2 The Delaunay Graph One classical graph that satisfies the conditions we seek and guarantees the optimality of the solution obtained by best-first-search traversal is the De- launay graph [Delaunay, 1934, Fortune, 1997]. It is easier to understand the construction of the Delaunay graph if we consider instead its dual: the Voronoi diagram. So we begin with a description of the Voronoi diagram and Voronoi regions. 6.2 The Delaunay Graph (a) Voronoi diagram (b) Delaunay graph
2401.09350#206
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 206, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "# 6.2 The Delaunay Graph\nOne classical graph that satisfies the conditions we seek and guarantees the optimality of the solution obtained by best-first-search traversal is the De- launay graph [Delaunay, 1934, Fortune, 1997]. It is easier to understand the construction of the Delaunay graph if we consider instead its dual: the Voronoi diagram. So we begin with a description of the Voronoi diagram and Voronoi regions.\n6.2 The Delaunay Graph\n(a) Voronoi diagram (b) Delaunay graph", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.0069941212, -0.0015307177, 0.030725896, -0.03378884, 0.026408836, -0.0030493764, -0.005697797, -0.018630892, -0.043315314, 0.04046943, 0.0036297077, -0.034222957, -0.013397359, -0.08335063, 0.011630741, 0.026240014, 0.030822368, -0.014494712, 0.016749714, 0.04674002, 0.026529424, -0.011335299, 0.0074523566, -0.026312366, 0.024491483, 0.01143177, 0.030605309, 0.037020605, 0.022537952, -0.015628243, -0.0038196342, -0.021766188, -0.012324124, -0.0024554792, 0.03644178, 0.010177652, -0.013349124, 0.015797066, -0.018522361, 0.04387002, 0.007844268, 0.06424944, -0.019342363, -0.014494712, 0.045510024, -0.020029716, -0.0029996338, -0.008441181, -0.031980015, 0.020572362, -0.04153061, 0.05561532, 0.01895648, -0.016773831, -0.053058848, -0.00041452225, -0.030026484, -0.023575012, 0.05522944, 0.022622364, -0.011703094, 0.036369428, -0.018462067, 0.060487088, 0.009194857, 0.01988501, -0.046305906, 0.024913542, 0.010593682, 0.008145739, -0.064201206, 0.026240014, 0.032004133, -0.021416482, -0.0040728697, -0.020922069, 0.026336484, 0.0029529058, 0.019414715, -0.023731776, -0.00065306097, -0.0020922069, 0.03501884, -0.002719266, -0.038250607, -0.049368847, 0.021392364, 0.029640602, -0.06386356, -0.03750296, 0.030460604, -0.029761191, 0.030870603, 0.041554727, 0.047945905, 0.064394146, 0.057834145, 0.046016492, 0.009303387, 0.01071427, -0.027132366, -0.04604061, -0.0036387518, -0.017425008, 0.07037533, -0.01916148, 0.007777945, 0.038347077, -0.018498244, 0.018208832, -0.024961777, -0.0012021145, -0.0028323175, 0.04676414, 0.032920603, -0.06270591, -0.0271806, -0.022079717, 0.029134132, -0.010129416, 0.0021856627, -0.040228255, -0.0071870624, -0.006746915, 0.015170007, 0.029857662, 0.022308834, -0.06752945, 0.012758241, 0.020982362, 0.017473243, -0.0046366197, -0.0024645233, -0.05498826, -0.036900017, 0.016207067, -0.024865307, -0.050550614, 0.030147074, 0.010967505, 0.00783221, -0.016532656, 0.027976485, -0.0007808092, -0.011166476, 0.029809427, -0.0006232907, 0.0344159, -0.0038105901, 0.046595316, 0.0032800017, 0.0047300756, 0.008073386, 0.010129416, -0.017075302, -0.022260599, 0.029206485, -0.031135898, 0.0051521347, 0.013095888, 0.003481987, 0.008959711, 0.0060203704, -0.03738237, 0.029302955, 0.0048958845, -0.06294709, 0.016508538, -0.03337884, -0.032341782, 0.02421413, -0.033402957, -0.022706775, 0.04201296, 0.061210617, 0.040204138, -0.050743554, -0.03427119, 0.008923533, -0.011051917, -0.007681474, 0.044014726, 0.060101207, -0.027662955, 0.016315596, 0.020777363, 0.03921531, -0.032052368, 0.008670298, 0.03142531, -0.023104718, 0.007241327, 0.025926484, 0.011359417, 0.019173538, -0.03849178, 0.03492237, 0.014410301, 0.009707358, 0.03542884, -0.0021720966, -0.038877666, -0.017738538, -0.014868537, -0.025420012, -0.0027976483, 0.040300608, -0.031787075, 0.010473093, -0.037985314, -0.044955317, -0.028868837, -0.0058455174, 0.020102069, 0.014084713, -0.013240594, -0.01884795, 0.040204138, 0.01349383, 0.020873833, -0.03885355, 0.017630009, 0.0067348564, 0.007976916, 0.0028338248, 0.02121148, 0.034777664, -0.030942956, -0.01793148, 0.014482654, 0.05571179, -0.016797949, -0.03902237, -0.030364132, -0.023128835, -0.045606494, -0.006656474, -0.015025302, 0.03417472, 0.009044122, -0.047680613, 0.0018645965, 0.017135596, -0.013915889, 0.04133767, 0.003831693, -0.030147074, -0.006740886, -0.0061017675, 0.026722366, -0.008175886, 0.017593833, 0.03140119, -0.0673365, -0.011112211, -0.021042658, -0.048235316, 0.021066776, 0.012541182, 0.023611188, -0.0058786795, -0.026674131, 0.023442365, 0.017015008, -0.033644132, 0.044255905, -0.0151458895, -0.0068554445, -0.033499427, -0.030315896, 0.011859858, 0.008326622, 0.024177954, -0.011003681, 0.02739766, -0.0397459, -0.002050001, 0.01749736, 0.018003833, -0.032317664, -0.007542798, 0.030171191, 0.04553414, 0.0061530177, 0.0055470616, 0.027445896, -0.020415599, 0.020897951, -0.0155438315, -0.02009001, 0.022574129, -0.009496328, -0.022115894, -0.01421736, -0.04358061, -0.021332068, -0.0070604444, -0.010364564, 0.033402957, 0.009249122, 0.030701779, -0.0025006998, 0.01431383, 0.065262385, -0.010678093, 0.0094179455, -0.007663386, 0.026264131, 0.010485152, 0.043701198, -0.011618682, -0.010207799, -0.012939124, 0.030412368, -0.024672365, -0.0085135335, 0.05633885, -0.03173884, -0.020849716, 0.005064708, -0.0057731643, -0.025275307, 0.017630009, 0.01936648, 0.003264928, -0.0044044876, -0.04100002, 0.008616034, -0.016653243, -0.059377674, 0.0027117291, 0.0022323907, 0.036200605, -0.0155438315, -0.0663718, -0.000013954797, -0.0005972889, 0.022839423, 0.015435302, 0.03649002, -0.014277654, -0.053203557, 0.006644415, -0.012830595, -0.015688537, 0.045244727, 0.016701479, 0.016701479, 0.00365684, -0.0027675014, -0.07119533, -0.06299532, -0.019294128, 0.060631793, 0.03149766, -0.039601196, 0.010949417, -0.02028295, -0.060197677, 0.04223002, 0.03895002, -0.04324296, -0.03246237, 0.030291779, -0.04572708, 0.0115282405, -0.03791296, 0.033137664, -0.01957148, 0.035091195, -0.011612653, 0.07838239, 0.026457071, -0.011944271, -0.025492365, -0.019957362, 0.024262365, -0.01957148, 0.041651197, 0.041940607, -0.03378884, -0.035670016, -0.030098839, -0.042398844, 0.016412066, -0.015387067, -0.033523545, -0.00037872262, -0.032824133, -0.022996187, 0.031184133, -0.025420012, 0.030291779, 0.0028368395, -0.017750597, 0.000070562994, 0.05860591, 0.041892372, 0.014808242, 0.031762958, 0.04071061, -0.019101186, -0.040493548, -0.011600594, -0.028579425, -0.021247657, -0.012685888, 0.006336915, 0.026022954, 0.03574237, -0.026915308, -0.012577359, -0.002012317, -0.013373242, -0.005993238, 0.015507654, -0.0022263613, 0.0057942676, -0.0073438273, 0.01906501, 0.004503973, 0.05233532, -0.0123603, -0.040445313, -0.01906501, 0.03120825, 0.02874825, 0.010545447, 0.004883826, -0.087595336, 0.02153707, 0.038588256, 0.06386356, 0.020656774, -0.014181184, 0.0038889726, 0.039938845, -0.018944422, 0.055856496, -0.020174421, -0.0069398563, -0.03945649, 0.008441181, 0.01720795, 0.037430607, 0.021645598, -0.0075548566, 0.011395594, 0.005477723, 0.021271775, -0.027662955, 0.042688254, 0.019004716, 0.01722001, -0.016677361, 0.003162428, 0.002970994, 0.004962208, -0.000788346, 0.0062766206, 0.015109713, -0.0012963242, -0.03800943, 0.032534722, -0.009134564, 0.055277675, 0.015025302, -0.013554124, 0.015266478, -0.0017636038, -0.0020575377, -0.029206485, 0.025275307, -0.03668296, 0.0043803696, 0.041940607, 0.02059648, 0.012601477, 0.03967355, 0.02708413, 0.0007404875, -0.0697965, -0.0039733844, -0.011461917, 0.017461184, 0.028482955, 0.037671782, 0.0086401515, 0.0053119143, 0.0050858115, -0.032896485, -0.01731648, 0.0043411786, -0.01143177, 0.022103835, -0.01689442, -0.03832296, -0.0057400027, 0.03813002, 0.040855315, 0.03357178, 0.026047071, 0.009345593, -0.00013208187, 0.07601886, 0.0034578694, 0.032775898, -0.0052486053, 0.014989125, 0.04430414, -0.012999418, 0.0074825035, 0.027542366, -0.0036086047, 0.0055018407, 0.005414414, -0.013361183, 0.025612954, -0.05580826, -0.009442063, 0.00005619603, -0.040927667, -0.047680613, -0.007488533, -0.005574194, 0.0007966364, -0.016725596, -0.047222376, -0.071870625, 0.016954714, 0.037864726, -0.013204418, 0.002066582, 0.012637653, -0.0034036045, -0.039335903, -0.027035896, -0.006849415, -0.036176488, -0.008628093, 0.01473589, 0.015423243, -0.028241778, 0.0073197093, -0.00091571733, -0.052094143, 0.037768252, -0.009321475, 0.028145308, 0.0072172093, 0.0008102026, 0.0037412518, -0.0473912, 0.0060927235, -0.019957362, 0.023912659, -0.024033247, 0.018365597, -0.010485152, -0.036707077, -0.035766486, 0.020174421, 0.044665903, 0.020258833, 0.013976183, 0.04977885, 0.0017440082, 0.015338831, -0.015411184, -0.017774714, 0.0020952215, -0.02276707, 0.019487068, -0.011564418, 0.015833244, 0.010991623, 0.0017500377, -0.023611188, 0.011660888, 0.020210598, -0.017171772, -0.031714723, -0.015797066, -0.015604125, -0.029110014, -0.009514417, -0.018389715, -0.020982362, -0.00088707765, -0.013047653, -0.0124808885, -0.02616766, -0.021283833, 0.010262064, -0.0094179455, -0.032172956, -0.009737505, 0.0017394861, -0.0020409569, -0.00055056094, 0.037358254, 0.015326772, 0.0344159, -0.024575895, -0.016954714, 0.016568832, 0.008055298, 0.013120007, 0.01924589, -0.015121772, -0.016508538, 0.0021751113, 0.040059432, 0.01555589, 0.015049419, 0.026842954, -0.00074387906, 0.0013068756, 0.036007665, -0.037165314, 0.07085768, 0.028507072, -0.00058485323, 0.02183854, -0.021778246, 0.020126186, 0.020391481, -0.047656495, -0.023261482, -0.015097654, -0.04654708, -0.017907362, 0.024431188, 0.030725896, -0.022501776, -0.013530007, 0.0019806628, 0.0046215462, 0.03328237, -0.026215894, -0.0029845603, -0.01246883, -0.022706775, -0.033113547, 0.018401774, -0.015459419, 0.006439415, -0.002016839, -0.0116428, -0.015857361, -0.04666767, 0.019354422, 0.030340014, 0.018835891, 0.00731368, 0.043652963, -0.020958245, 0.011130299, -0.010057064, 0.019535303, 0.014434419, -0.023502659, 0.020439716, -0.012902947, -0.03378884, 0.0051611788, -0.0012232175, 0.025998836, 0.017280303, 0.015290596, -0.0016475376, 0.0058364733, 0.06704709, 0.013710889, -0.043918256, -0.019004716, -0.0050225025, -0.07587416, -0.013361183, -0.0009971145, -0.011057947, -0.026312366, -0.04789767, 0.030267661, 0.04637826, -0.017521478, -0.012330153, 0.008230151, -0.018546479, -0.024069423, 0.0123844175, 0.015037361, 0.044376493, -0.012227653, 0.016074419, -0.0018706259, 0.01081074, 0.04449708, -0.018450009, -0.06347768, -0.006373091, 0.023225306, -0.0148926545, -0.023297658, 0.018003833, -0.009303387, 0.008718533, 0.007651327, 0.0490312, -0.020970304, 0.037864726, -0.010985593, -0.019752363, -0.039311785, -0.01308383, 0.006722797, 0.0068011796, 0.0019188612, -0.00046351124, -0.030991191, -0.0494412, 0.01708736, -0.02833825, 0.024563836, 0.004705958, 0.023550894, -0.05079179, -0.04225414, 0.0120045645, 0.001093585, 0.026264131, 0.050116494, 0.021392364, -0.0011470962, 0.0058214, -0.0073076505, -0.0037412518, -0.031449426, -0.02215207, -0.021717953, -0.011546329, 0.014024419, -0.02988178, 0.01699089, -0.0073800036, 0.0023786041, 0.004253752, -0.0036990459, -0.018148538, 0.06767415, -0.02481707, 0.008121622, 0.001961067, -0.03706884, -0.0091164755, -0.002826288, -0.02988178, 0.020644715, 0.006879562, 0.021344127, -0.02790413, -0.010219858, -0.05715885, 0.024961777, 0.008097504, -0.015037361, -0.034560606, -0.013132066, 0.029134132, -0.014145006, 0.017991774, 0.003316178, 0.003491031, -0.025395894, 0.046812374, 0.029399427, -0.00948427, 0.045606494, -0.051129438, -0.0062585324, -0.034874134, -0.0056133852, 0.029110014, -0.007820151, -0.015182066, -0.0063007385, 0.036297075, 0.0040005166, 0.019824715, -0.0494412, -0.004817502, -0.013771183, -0.026842954, -0.009731475, -0.0101957405, 0.014036478, 0.011853829, -0.08335063, -0.031859428, -0.0032588986, -0.004317061, 0.006933827, -0.015845302, 0.03740649, -0.032679427, 0.042085316, -0.012408535, -0.0770318, -0.023864424, -0.0029649646, -0.016327655, 0.017702362, 0.019752363, -0.016725596, 0.013373242, 0.012770301, -0.029520014, 0.009671181, 0.0073257387, 0.02203148, -0.015157948, 0.033499427, -0.021380305, 0.0009503865, -0.02906178, 0.015917655, 0.020126186, -0.0072955918, 0.0017078317, -0.017485302, 0.04133767, 0.0018947435, -0.028000602, 0.027035896, -0.018823832, 0.023635305, 0.012281918, -0.0063489736, -0.036321193, 0.020463834, -0.02937531, 0.018691186, -0.03328237, 0.012577359, -0.0038588254, -0.024033247, -0.027470013, -0.017557656, -0.03750296, 0.0015842287, -0.01566442, -0.0020228687, 0.0046607377, -0.013759124, -0.0010189711, 0.014072654, -0.012119124, -0.008760739, 0.02203148, 0.07134003, 0.0008976291, -0.0067650033, -0.036634725, -0.0083386805, 0.025395894, 0.00525162, -0.009677211, 0.011817653, 0.026529424, 0.006584121, 0.018365597, 0.034657076, -0.028290013, -0.023743834, -0.028000602, -0.042567667, 0.021561187, -0.015278537, -0.02276707, -0.009502358, 0.05469885, 0.009586769, -0.032679427, 0.009713387, -0.0070302975, -0.0015171515, -0.01793148, -0.0021886774, -0.006342944, 0.0010445961, 0.0251306, 0.006529856, -0.009454122, -0.01822089, -0.014494712, 0.044738255, 0.011564418, 0.026529424, 0.032414135, 0.0025836043, -0.018317362, -0.024045305, 0.023116777, 0.036900017, -0.00068509224, 0.0017018022, -0.0025263247, 0.009303387, -0.0007344581, -0.040590018, -0.010557505, -0.031160016, -0.020861775, 0.053782377, 0.05397532, -0.0073438273, 0.01689442, 0.02761472, -0.015567949, 0.007856327, 0.0027177588, -0.0076754447, -0.022308834, -0.0042899284, 0.007367945, -0.029712956, 0.01865501, 0.01678589, 0.04307414, -0.02906178, 0.028724132, 0.034464136, 0.026143542, 0.0049501495, 0.025492365, -0.01914942, 0.0026665085, -0.011039859, -0.0015299639, 0.03470531, 0.0052455906, 0.008706475, 0.0014749456, 0.0048144874, -0.02162148, 0.0015005706, 0.030364132, 0.022200305, -0.023140894, 0.025878249, -0.0018977582, -0.021693833, 0.015604125, 0.00096546, 0.0029604426, 0.011184564, 0.010786623, -0.0082602985, 0.019728245, -0.016870303, -0.04336355, 0.05653179, 0.013300889, 0.002131398, 0.029182367, 0.008525592, 0.011793535, -0.015616184, -0.05932944, -0.00071448565, 0.07085768, 0.017871184, 0.026191777, 0.026481189, 0.028507072, -0.032076485, 0.034584723, 0.016797949, 0.0029860677, 0.0107504465, 0.022634422, 0.018088244, -0.013120007, -0.016532656, -0.03407825, -0.001989707, 0.020897951, -0.0075186803, 0.026939426, 0.017786773, -0.00854368, 0.036224723, 0.027445896, -0.018510303, 0.01596589, 0.007982945, -0.047584143, -0.055374146, 0.0118478, -0.010262064, -0.0030373177, 0.021971187, 0.014880596, -0.015990008, -0.026650013, -0.027783543, 0.0030403323, -0.0051521347, 0.0056676497, -0.025227072, 0.010702211, 0.021983245, 0.05016473, 0.011944271, -0.007440298, -0.008917504, 0.005221473, -0.028458837, -0.05387885, -0.033740606, 0.026022954, -0.028820602, -0.011691035, 0.032679427, -0.016677361, 0.013964124, 0.012999418, -0.007976916, 0.0063851504, 0.0076392684, 0.006951915, -0.022212364, -0.010358535, 0.0013189345, 0.0059992676, 0.0139400065, 0.0123844175, -0.018570596, -0.060583558, 0.037623547, 0.0069760326, 0.00010193479, -0.028482955, 0.037985314, 0.0022610305, 0.006572062, -0.0086401515, -0.046402376, 0.026746484, 0.009870152, 0.048838258, -0.053203557, -0.007181033, -0.0010438424, 0.038274724, -0.008441181, 0.008405004, 0.014470595, -0.0034699282, 0.011811623, -0.039601196, -0.010647946, -0.017015008, 0.0088150045, 0.011974418, 0.0014101294, 0.0097194165, -0.0052817673, 0.03984237, -0.004956179, -0.00034198086, -0.035067074, -0.012396476, -0.0004974267, -0.0011516182, 0.007958828, -0.02174207, -0.007181033, -0.006270591, 0.015977949, 0.025781777, -0.01369883, -0.0026182733, -0.0016897435, -0.023960894, 0.0055983113, 0.01843795, 0.025468247, 0.008278387, 0.030340014, -0.0023801115, 0.022417365, -0.013252653, -0.022200305, 0.011835741, -0.01689442, -0.020005599, 0.012794418, 0.014651477, 0.025588837, -0.020355305, 0.07008591, -0.0074644154, -0.01442236, -0.014542948, -0.02966472, 0.009007946, 0.02327354, -0.015061478, -0.0066263266, 0.029399427, -0.01689442, -0.004398458, -0.0046818405, 0.0004295958, -0.0018992657, 0.002544413, 0.0024012143, -0.0026484204, 0.021850599, -0.0010883093, -0.0007875923, -0.01709942, 0.02163354, 0.036176488, -0.015592067, -0.003533237, -0.030074721, 0.017075302, 0.031135898, -0.00011210943, -0.008386916, 0.011624712, -0.041482374, -0.0236956, -0.00958074, 0.013554124, 0.01884795, -0.022574129, 0.018365597, 0.0023966923, -0.044159435, 0.018618833, 0.024575895, 0.018088244, 0.020415599, 0.040324725, 0.045365315, 0.006819268, -0.03998708, 0.037334137, -0.014687655, -0.020270891, -0.017171772, 0.0275906, 0.043532375, 0.018787656, -0.00494412, -0.003234781, -0.014374125, -0.028868837, 0.01895648, 0.0008132173, 0.00003356217, -0.01925795, -0.0032166927, -0.017798832, 0.021163246, 0.026457071, -0.023936776, 0.030315896, 0.016870303, 0.0041030166, -0.0018359568, 0.007976916, -0.036900017, 0.032896485, 0.010165594, 0.022200305, -0.016363831, 0.011311182, 0.011564418, -0.023466483, -0.034150604, -0.007946769, -0.026264131, 0.0034759576, -0.010171623, 0.0016128684, -0.009442063, 0.01380736, 0.0012443204, 0.01618295, 0.057930615, 0.032631192, 0.004913973, -0.022947952, 0.025420012, -0.01020177, 0.0046366197, -0.026505306, -0.015953831, -0.02081354, 0.010388682, 0.009803828, 0.013156183, -0.01637589, -0.036755312, -0.0043713255, -0.019173538, -0.01750942, 0.008465298, -0.042205904, -0.00006453358, 0.029495897, -0.045678847, 0.006342944, 0.01637589, -0.01380736, -0.0009315446, -0.018196773, 0.014386184, 0.03829884, -0.005076767, 0.013505889, 0.0012933095, 0.0045250757, -0.015592067, -0.02101854, -0.037334137, -0.044979434, -0.009532505, 0.027035896, -0.00047896162, 0.024057364, -0.04264002, -0.0008659747, -0.022670599, 0.033306487, 0.02525119, 0.0023921703, -0.026529424, -0.0053269877, -0.004787355, -0.022899717, -0.01761795, 0.0006481621, 0.012649712, 0.01586942, 0.042374726, 0.0032317662, -0.032293543, 0.010581623, -0.021090893, -0.0056133852, -0.0022052585, -0.020150304, 0.013722948, 0.0020530156, 0.011853829, -0.022803247, 0.023032364, 0.075343564, -0.0426159, 0.0025006998, 0.017159713, -0.0070001506, 0.02566119, -0.008127651, -0.030942956, -0.010250005, 0.03489825, -0.017835008, 0.01884795, 0.008435152, 0.0081638275, -0.0033945604, -0.013915889, 0.008061327, 0.032486487, 0.048235316, 0.003328237, 0.017461184, -0.004724046, 0.008953681, -0.02585413, -0.022550011, -0.025926484, 0.035983548, -0.045148257, -0.00824824, -0.0023198172, 0.010629858, 0.031714723, -0.0006730334, 0.008181916, 0.034970604, -0.04760826, -0.0061379443, -0.017883243, -0.018486185, -0.006982062, -0.033113547, -0.00003148956, 0.000035564124, 0.0107504465, -0.025733542, -0.00028225197, 0.018944422, 0.05643532, 0.0039010313, 0.016713537, 0.0115764765, -0.0381059, -0.02071707, -0.00401559, -0.0118478, 0.011853829, 0.004751179, 0.03480178, 0.015399125, -0.032631192, 0.00885721, 0.0042115464, 0.0065961797, 0.033499427, 0.02318913, -0.008356769, -0.0016219126, 0.024129717, -0.00052229804, -0.031811193, 0.0073619154, 0.010141475, -0.0067348564, -0.013735007, -0.0030312883, 0.04008355, -0.023321776, 0.009918387, 0.0125653, -0.036007665, 0.0057430174, -0.0007581989, 0.010822799, 0.03649002, 0.0061258855, 0.035356488, -0.015230302, 0.00010532634, 0.019221773, -0.04264002, -0.01659295, 0.0123844175, 0.029905897, 0.027325308, 0.0067650033, 0.024684424, -0.008646181, -0.017364714, -0.00027678782, -0.027445896, 0.0214406, -0.0074945623, 0.014952948, 0.007265445, -0.01462736, -0.019173538, -0.027011778, 0.017352656, -0.020970304, -0.01071427, -0.020861775, 0.01494089, -0.024021188, -0.020355305, -0.029785309, -0.014928831, 0.025106482, -0.006789121, -0.021874717, 0.03955296, -0.02277913, -0.03378884, 0.016858244, 0.011082064, 0.032004133, 0.023888541, 0.00432912, -0.021802364, -0.035163548, 0.015471478, 0.029399427, 0.010032946, -0.042398844, -0.011920153, -0.0015352397, -0.02028295, 0.026360601, -0.052817672, -0.00041075388, 0.065841205, 0.022923835, 0.026457071, 0.0103223575, 0.041385904, 0.01937854, 0.027687073, 0.03472943, -0.0275906, -0.00016816414, 0.015218243, 0.004048752, -0.018896185, 0.018450009, -0.03089472, 0.0087667685, -0.016448243, 0.007036327, 0.0018088244, -0.015772948, -0.009568681, -0.01009324, -0.01328883, -0.006014341, 0.010563535, 0.030122956, 0.008380886, -0.00053096534, -0.0344159, 0.016436184, -0.002539891, 0.02853119, -0.0011501109, 0.009628975, -0.03839531, -0.0037111046, 0.02493766, 0.011835741, 0.02399707, 0.0025383835, 0.02163354, -0.051804733, -0.024889424, 0.01925795, 0.01864295, -0.011763388, -0.026408836, 0.009628975, 0.0074463272, 0.01987295, -0.0007785482, 0.0041482374, -0.002169082, -0.03542884, 0.043725315, -0.034970604, 0.014916772, -0.017871184, 0.018425891, 0.003204634, 0.0142897125, -0.0075669154, 0.00044240832, 0.013952065, -0.0101957405, 0.030050604, -0.01369883, 0.030315896, -0.0036477959, 0.002233898, -0.008405004, -0.016641185, -0.0044888994, -0.005571179, 0.027349425, 0.0072051506, 0.029905897, 0.041554727, -0.00096470636, 0.007615151, -0.0015661404, 0.005408385, 0.056194145, 0.011413682, 0.00977971, 0.011317211, 0.015845302, 0.0038889726, -0.004437649, -0.028868837, -0.011781476, 0.027518248, 0.017340597, -0.014772066, -0.0051611788, 0.002050001, 0.010792652, -0.020114128, -0.016713537, -0.0010250005, 0.004154267, -0.023852365, -0.0030373177, -0.026457071, -0.018691186, 0.010780593, -0.018052068, 0.010026917, -0.017774714, 0.005067723, 0.013059712, 0.006566033, -0.013650595, -0.00042432005, -0.032052368, -0.010485152, 0.043435905, 0.021066776, -0.017557656, -0.018293245, -0.02761472, 0.0038919873, -0.011003681, 0.0015359934, -0.01586942, 0.004500958, 0.012245742, -0.022537952, 0.02174207, -0.057930615, -0.008103534, 0.0077116215, 0.04760826, 0.04483473, -0.023502659 ]
2401.09350
207
Fig. 6.2: Visualization of the Voronoi diagram (a) and its dual, the Delaunay graph (b) for an example collection X of points in R2. A Voronoi region associated with a point u (shown here as the area contained within the dashed lines) is a set of points whose nearest neighbor in X is u. The Delaunay graph is an undirected graph whose nodes are points in X and two nodes are connected (shown as solid lines) if their Voronoi regions have a non-empty intersection. # 6.2.1 Voronoi Diagram For the moment, suppose δ is the Euclidean distance and that we are in R2. Suppose further that we have a collection X of just two points u and v on the plane. Consider now the subset of R2 comprising of all the points to which u is the closest point from X . Similarity, we can identify the subset to which v is the closest point. These two subsets are, in fact, partitions of the plane and are separated by a line—the points on this line are equidistant to u and v. In other words, two points in R2 induce a partitioning of the plane where each partition is “owned” by a point and describes the set of points that are closer to it than they are to the other point.
2401.09350#207
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 207, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Fig. 6.2: Visualization of the Voronoi diagram (a) and its dual, the Delaunay graph (b) for an example collection X of points in R2. A Voronoi region associated with a point u (shown here as the area contained within the dashed lines) is a set of points whose nearest neighbor in X is u. The Delaunay graph is an undirected graph whose nodes are points in X and two nodes are connected (shown as solid lines) if their Voronoi regions have a non-empty intersection.\n# 6.2.1 Voronoi Diagram\nFor the moment, suppose δ is the Euclidean distance and that we are in R2. Suppose further that we have a collection X of just two points u and v on the plane. Consider now the subset of R2 comprising of all the points to which u is the closest point from X . Similarity, we can identify the subset to which v is the closest point. These two subsets are, in fact, partitions of the plane and are separated by a line—the points on this line are equidistant to u and v. In other words, two points in R2 induce a partitioning of the plane where each partition is “owned” by a point and describes the set of points that are closer to it than they are to the other point.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.025397502, 0.004852937, 0.03251328, -0.023786383, -0.002717365, -0.021257821, 0.043455463, 0.0010517028, -0.034057267, 0.043097436, -0.0159098, -0.016458029, -0.009319876, -0.013851149, -0.018371234, 0.022678738, 0.026851986, -0.008184262, 0.036608208, 0.04560362, -0.0054710917, 0.021145938, 0.006226304, 0.0034432076, 0.024905216, -0.003457193, 0.040210847, 0.048870612, 0.016223075, -0.032602783, -0.022544479, -0.002135572, 0.013023213, -0.024189163, -0.000010882396, 0.023495486, -0.017957265, 0.054688543, -0.03980807, 0.04806505, -0.020608898, 0.057731766, -0.027590415, -0.042448513, 0.030320367, -0.0006667544, -0.0003216644, -0.049989447, -0.035690762, 0.0062374924, -0.022958446, 0.032155253, 0.0031271374, -0.02982808, -0.024054904, 0.023226967, -0.026605843, -0.009940828, 0.042649902, -0.044529542, -0.014142046, -0.00274114, -0.0054990626, 0.057597507, 0.012295972, -0.002580308, -0.03056651, 0.020194931, 0.0062095216, 0.007395484, -0.011758932, 0.041016407, 0.016961504, 0.008273768, 0.0338335, 0.0099688, 0.023584994, 0.010075089, -0.013325297, -0.0033648894, 0.029000144, -0.014723838, 0.060148448, 0.04455192, -0.054464776, -0.043433085, -0.0063997232, 0.048423078, -0.01019816, 0.01799083, -0.024390552, 0.034348164, -0.026046425, 0.0044641425, 0.010908619, 0.04900487, 0.03880112, -0.010321232, -0.023764007, -0.014969981, -0.06851731, -0.03770466, -0.018002018, -0.0042991145, 0.050257966, 0.02253329, 0.01471265, 0.034728568, -0.010349203, -0.0008782837, 0.003907523, 0.023115084, 0.026270192, 0.06377346, 0.0050739064, -0.06341544, 0.00031397244, -0.031483952, 0.023182213, -0.033363592, 0.009717062, -0.02032919, 0.014052539, -0.013549064, 0.02761279, -0.010237319, 0.0027341475, -0.045446984, 0.039114393, 0.008654171, 0.04569313, -0.005845901, -0.005362006, -0.024994723, -0.03871161, -0.011216298, -0.007977277, -0.014052539, 0.010354796, 0.021649413, -0.009610773, -0.004679518, 0.049720924, -0.014108481, 0.0014418956, 0.026337322, -0.038957756, 0.050123706, -0.0029593124, 0.023294097, 0.0034655842, 0.012150523, 0.076617666, 0.01718527, -0.039203897, -0.0041173045, 0.010785547, -0.0075353384, -0.0085590705, 0.024927592, -0.02535275, -0.020843854, 0.035399865, -0.04072551, -0.017576862, -0.019311052, -0.03665296, 0.019501254, -0.028194584, -0.06314692, -0.06878583, -0.03251328, -0.039092015, 0.024770956, 0.039315782, 0.008609418, -0.031260185, -0.024972346, 0.022208828, 0.0033033537, -0.017554484, 0.020922171, 0.049318146, -0.04461905, 0.043365955, 0.07071023, 0.015932178, -0.007227659, 0.0103324205, 0.030902158, -0.007283601, 0.025285618, 0.023786383, 0.046095908, 0.0064556645, -0.071113005, 0.0050599207, 0.012116958, -0.019534819, -0.03965143, -0.013291732, 0.018471928, -0.012474985, -0.04191147, -0.033923008, -0.019411748, 0.03739139, 0.0030180512, -0.012016263, 0.008905908, -0.05303267, -0.022454973, -0.0026040832, 0.003941088, 0.00009247851, -0.04405963, -0.034169152, 0.054733295, 0.01578673, 0.04099403, -0.036966234, 0.008995415, 0.0139854085, 0.0043914183, -0.015439891, 0.0035802647, 0.02441293, -0.067219466, 0.017196458, -0.0052501224, 0.059969433, -0.010248507, -0.02340598, -0.040568873, -0.0047997925, -0.01844955, -0.040031835, -0.023719253, -0.047975548, 0.027500909, -0.026561089, -0.010293261, 0.018248161, 0.040076587, 0.06350494, -0.016525159, -0.014567202, 0.04240376, 0.004002624, -0.015551775, 0.006830474, 0.02848548, 0.02535275, -0.0015579745, -0.0046990975, 0.0062654633, -0.028754001, 0.0070654284, 0.022980824, -0.014645521, -0.009207993, -0.009851322, -0.0142091755, 0.01203864, -0.0112610515, 0.0486916, -0.03164059, 0.027993195, -0.032267135, -0.009644338, 0.008022031, 0.00017813915, -0.006231898, 0.009174428, -0.03759278, 0.0005454309, 0.017934889, 0.024726203, 0.038196947, -0.039427664, -0.001590141, 0.01156873, 0.022857752, 0.01691675, 0.012072205, -0.0070374575, -0.04085977, 0.02535275, -0.023629747, 0.01183725, 0.05424101, -0.019713832, -0.01324698, -0.030723145, -0.02494997, -0.022231206, 0.0039326968, -0.034102023, 0.014701461, 0.012721128, 0.028798753, -0.012284783, 0.055807374, 0.050436977, -0.05629966, 0.005680873, 0.0034963521, 0.054554284, -0.009605179, -0.0018810375, -0.00033495054, 0.0006401821, -0.027970817, 0.023629747, -0.025979295, 0.02814983, 0.027881311, 0.010108653, 0.001334208, -0.007798264, 0.028172208, -0.044775683, 0.050929263, 0.00943176, 0.0022278756, -0.0036501917, -0.062296607, -0.004355056, 0.020586522, -0.052450877, -0.00051081704, -0.0031690937, 0.019892845, 0.019747397, -0.020586522, -0.04354497, -0.029402923, 0.04126255, -0.0051438333, -0.0026250612, -0.007412267, -0.027277142, 0.0036418005, -0.009185617, 0.015954554, 0.050615992, 0.021134749, 0.030007094, 0.0069311685, -0.025330372, -0.09004366, -0.060909253, -0.061670057, 0.036541075, 0.029291041, -0.013056777, 0.020564144, -0.025061853, -0.019691456, 0.027657544, 0.02327172, -0.02494997, 0.004438969, 0.02307033, -0.015025923, 0.008704519, -0.03698861, -0.02333885, 0.0121057695, -0.012407855, -0.03598166, 0.02649396, -0.023562618, 0.026382076, -0.020978114, -0.0008824793, 0.011893191, -0.00041606592, 0.008900315, 0.027120505, 0.012217653, 0.0023775196, -0.028933015, -0.027500909, 0.038152196, 0.01203864, -0.03244615, -0.009359036, -0.027791804, 0.013146284, 0.00581793, -0.008094755, 0.0003730608, 0.017207647, -0.032110497, -0.025330372, 0.062296607, 0.0046123876, -0.016670607, 0.013515499, -0.005334035, -0.040143717, -0.008178667, 0.013448369, -0.018415986, 0.042761788, 0.03591453, 0.02293607, 0.016077626, 0.044596672, -0.032244757, -0.024994723, -0.010159001, 0.014746215, -0.026919115, 0.041307304, 0.020955736, 0.0035942502, 0.014175611, 0.035131346, 0.007076617, 0.047125235, -0.013851149, -0.015887424, -0.008094755, 0.020843854, 0.00615358, 0.035623632, 0.022242393, -0.056657687, 0.0032977595, 0.037279505, 0.053122178, 0.013045589, -0.038756367, -0.029939963, 0.059208628, -0.0069815163, 0.015462268, -0.017867759, 0.015361573, -0.0710235, -0.043164566, -0.010942183, -0.013593817, 0.030991666, 0.044775683, -0.0062822457, 0.030454626, 0.010114248, -0.024189163, 0.049586665, 0.0031383256, 0.014063727, 0.0030376308, -0.069501884, -0.016894374, 0.054554284, -0.016346145, 0.036630582, -0.006226304, 0.014746215, -0.045782633, 0.010393956, -0.0056976555, 0.01765518, -0.0030404278, -0.0040837396, -0.008833184, -0.020127801, 0.009101704, -0.027299518, 0.0500342, -0.04173246, -0.019624326, -0.0013565846, 0.024972346, -0.03611592, 0.043433085, 0.04168771, 0.032334264, -0.026561089, -0.028664494, -0.02360737, 0.013325297, 0.014410566, 0.062162343, 0.037100494, 0.011937945, -0.0037732634, -0.07156054, -0.02848548, -0.007870988, -0.007361919, 0.03130494, 0.009079328, -0.044350527, 0.024838086, 0.04676721, 0.034079645, 0.0358474, 0.044149138, 0.052808903, 0.0076472214, 0.035556503, 0.030790277, 0.033990137, -0.012363101, -0.0063102166, 0.04748326, 0.0042963177, 0.03998708, 0.03365449, -0.003115949, -0.019478878, 0.03356498, 0.01866213, 0.0135043105, -0.032155253, -0.012284783, -0.01846074, -0.020183742, -0.032535654, -0.016491594, 0.027411401, 0.020038294, -0.0032697886, -0.03049938, -0.09451899, -0.021750107, 0.008077973, -0.023965396, -0.030790277, 0.0486916, 0.015081865, -0.020295626, -0.02374163, 0.013761642, 0.0144441305, 0.009644338, 0.0014460912, -0.034862828, 0.0064444765, 0.006461259, 0.0014139249, -0.007518556, 0.02327172, -0.017341906, 0.009599585, 0.007971683, -0.0057340176, 0.015663657, -0.02286894, -0.009588396, -0.03544462, 0.016111191, -0.01852787, 0.018740447, -0.018315291, -0.039203897, -0.033408344, 0.030297989, 0.03683197, 0.018438363, 0.008715707, 0.0280827, -0.0033592952, -0.0027942846, -0.0093814125, 0.008480752, -0.027568039, -0.04106116, 0.03745852, -0.017878946, 0.0015761555, -0.030342743, 0.035892155, -0.03859973, 0.008749272, 0.022891317, -0.027142882, 0.02868687, -0.0038767552, -0.01752092, 0.015451079, -0.0110372845, -0.007015081, -0.03443767, 0.0096275555, -0.016804866, 0.0010258297, -0.012575679, -0.0118596265, 0.0075129615, -0.0102149425, -0.008704519, -0.0013356066, 0.00055766816, -0.025263242, 0.027053375, 0.0076807863, 0.026784856, 0.0026040832, -0.056612935, 0.010276479, -0.0048025893, 0.019713832, 0.012351913, 0.005336832, -0.008659765, 0.001122329, 0.014690273, 0.03631731, 0.009957612, 0.02814983, 0.011423282, 0.010108653, -0.008178667, 0.02120188, -0.028351221, 0.04247089, 0.010175783, -0.019109663, 0.016211886, 0.03289368, 0.029470054, 0.026986245, -0.046856713, 0.0048613283, -0.040255602, -0.052271865, -0.015350385, 0.04788604, 0.047796533, -0.0062151155, -0.01046668, -0.032289512, 0.027254764, 0.017565673, -0.04119542, -0.02535275, 0.009370224, -0.0064556645, -0.017028634, -0.0075800917, 0.015484645, 0.017162893, 0.039338157, -0.07017319, 0.0005447317, -0.050347473, 0.0057396116, -0.01430987, -0.024166787, 0.005857089, -0.002805473, 0.013213415, 0.026135933, 0.0051522246, 0.01791251, -0.009051356, -0.027299518, -0.0033592952, -0.06278889, -0.016368523, -0.0123183485, -0.017890135, 0.0009859713, 0.013795207, 0.037615154, 0.04200098, -0.013705701, 0.035623632, 0.011535165, -0.01938937, 0.011328181, -0.014321059, -0.02642683, -0.01277707, 0.025979295, -0.0070262696, -0.023786383, -0.03557888, 0.061893824, 0.012206465, -0.017677557, -0.013537875, -0.0027830964, -0.007898959, -0.045290347, 0.00397745, 0.027993195, 0.06869633, -0.013862337, -0.0036473947, -0.016648231, 0.0073675136, 0.0125644915, 0.001988725, -0.045446984, 0.029402923, 0.005823524, -0.03880112, -0.011277834, -0.0025970903, -0.038129818, -0.0033033537, -0.016301392, 0.022544479, 0.013258168, 0.035623632, -0.008324116, -0.04909438, 0.014231552, -0.045626, -0.0028809942, 0.0036809596, 0.03056651, -0.014007785, -0.027970817, -0.03880112, 0.015495833, -0.04267228, 0.040345106, 0.010058306, -0.009722657, -0.038129818, -0.014074915, 0.008738084, -0.014018974, 0.016088814, 0.036608208, 0.010058306, 0.006332593, 0.00424597, -0.011210703, 0.010701635, -0.0033564982, -0.018158656, -0.022578044, -0.02073197, -0.007703163, 0.012161711, -0.0066514607, 0.038331207, 0.025598893, 0.010556187, -0.03255803, 0.00012158565, 0.07352968, -0.015641281, 0.006388535, -0.011188327, 0.0025257648, -0.012967271, 0.008967444, -0.048244067, 0.0052948757, 0.011736555, 0.039159145, -0.025464632, -0.006394129, -0.006701808, 0.04072551, 0.073126905, -0.007557715, -0.021324951, -0.0043858243, 0.009677903, -0.030924536, 0.007518556, 0.013683324, -0.008469564, -0.021985063, 0.07446951, -0.005202572, -0.0067633437, 0.020485828, -0.08610536, -0.0030292396, -0.03184198, -0.026091179, 0.00077479164, -0.027523285, 0.029514806, -0.033318836, 0.04285129, -0.021246633, 0.04354497, -0.05007895, -0.008995415, 0.0102149425, -0.025598893, -0.019008968, 0.0039019291, 0.022578044, 0.011087632, -0.052406125, -0.004757836, 0.0125644915, -0.022454973, -0.005678076, 0.002570518, 0.035668388, -0.049049627, 0.024905216, -0.02595692, -0.056478675, -0.007076617, -0.026784856, -0.0151489945, 0.0003384469, 0.0011887598, -0.016961504, 0.033050317, 0.0053843823, -0.031662967, 0.009778598, 0.013750454, 0.0345048, 0.025128983, -0.024748579, -0.0004566236, -0.006696214, -0.028597364, -0.017464979, 0.007496179, -0.0024012947, 0.009269529, -0.028306467, 0.04708048, -0.0031075578, -0.009207993, 0.013705701, 0.037301883, 0.02086623, 0.01886352, 0.019042533, -0.038443092, -0.007731134, -0.03164059, 0.046409182, -0.035064217, 0.016525159, -0.01825935, -0.0050095734, -0.036339685, -0.0050123706, -0.030588886, 0.0236745, -0.026829608, 0.00044998052, 0.037615154, -0.0123183485, -0.012609244, -0.0076807863, -0.032043368, 0.010679258, 0.015417514, 0.048467834, 0.014645521, -0.03960668, -0.009280717, 0.018505493, 0.016223075, 0.0035047436, -0.022734681, 0.016961504, 0.01684962, -0.002903371, 0.01270994, 0.009856916, -0.0045564463, 0.035332736, -0.023450734, -0.049586665, 0.013358862, -0.0028376395, -0.0062710573, -0.020474639, 0.053748723, 0.013135096, -0.01270994, 0.0030376308, -0.014802157, -0.004553649, -0.0037369013, 0.006701808, 0.0029229505, -0.002766314, 0.010886243, 0.009823351, -0.0017915309, -0.010181378, -0.025442256, 0.023898266, 0.040949278, 0.020966925, 0.020407509, 0.016167132, 0.0025761123, -0.024323422, 0.03877874, 0.033274084, -0.02962669, 0.009482107, -0.02848548, 0.01066807, -0.0064780414, -0.0636392, -0.013336486, -0.026449205, 0.004553649, 0.03168534, 0.02548701, -0.019109663, -0.0086262, -0.0034488018, 0.0060025374, 0.03685435, -0.0075129615, -0.00866536, -0.0008279362, -0.010970155, 0.019355806, -0.04099403, 0.015663657, 0.004248767, 0.04405963, 0.014992358, 0.036093544, 0.053077422, 0.0446638, -0.00869333, 0.03117068, -0.02140327, 0.0063102166, -0.015943365, 0.01839361, 0.031528704, 0.0040250006, -0.00662349, 0.01017019, 0.007546527, -0.01866213, -0.010136625, 0.030454626, 0.018874709, 0.00022813698, 0.018572623, -0.01686081, -0.01190438, 0.02340598, 0.012553303, -0.00031537097, 0.020653652, 0.029939963, -0.0069255745, 0.008620606, -0.021649413, -0.032244757, 0.048423078, 0.009252747, 0.005261311, 0.012922518, -0.024256293, 0.013437181, 0.009532454, -0.03873399, -0.028507857, 0.069501884, 0.01100372, 0.038129818, 0.010220537, -0.012754693, -0.011669425, -0.011680613, -0.0026474379, -0.010707229, -0.0067521553, -0.016458029, 0.006836068, -0.011372934, -0.02173892, -0.052316617, 0.0123407245, -0.013862337, -0.0011461043, 0.021179503, -0.012553303, -0.024524814, 0.008682142, 0.011238675, -0.044305775, 0.013683324, 0.031282563, 0.0018684507, -0.06905436, -0.0063381875, -0.0054654977, -0.01039955, -0.016155945, 0.000017416205, -0.021515153, -0.03157346, 0.0028306467, 0.0074402373, -0.0011698795, 0.021022867, 0.0020390726, 0.002293607, 0.01250855, 0.01644684, 0.012833011, 0.007417861, 0.025621269, 0.015876235, 0.027657544, -0.047259495, -0.024323422, 0.006936763, -0.028172208, -0.0121729, 0.010220537, 0.0028586176, -0.025979295, 0.0207991, 0.012116958, 0.0062878397, 0.0002603034, -0.0033844688, -0.05195859, -0.030297989, 0.015059488, -0.019098474, 0.0034627873, -0.025710776, -0.007949307, -0.039338157, 0.007921335, 0.011356152, -0.0049844, -0.04654344, 0.02949243, 0.019478878, 0.012598056, 0.032244757, -0.0046403585, -0.02387589, -0.010002364, 0.057776522, -0.02247735, 0.013112719, 0.012855388, 0.025330372, -0.0026180686, -0.005381585, -0.010103059, -0.021123562, 0.007261224, -0.023786383, -0.015014735, -0.015025923, -0.009924046, 0.020508204, 0.020138988, 0.005708844, -0.013470746, 0.030879783, -0.010091871, -0.01578673, -0.0035662793, -0.000009642284, 0.04213524, 0.025845036, 0.013795207, -0.0015677643, -0.0017677557, 0.003588656, 0.01637971, 0.04401488, -0.010237319, 0.022220017, 0.032535654, -0.0030180512, 0.0018334871, 0.022645174, 0.0076751923, -0.0107352, 0.018371234, 0.034818076, 0.05509132, -0.0054431213, -0.026270192, 0.0004765528, 0.0037061335, -0.026561089, 0.0074066725, 0.0016712564, 0.047393754, -0.017420225, 0.056389168, 0.020787911, -0.0066514607, 0.016032873, -0.04146394, 0.0025257648, 0.045223217, -0.054196257, 0.019680267, 0.026068803, -0.027366647, 0.043186944, 0.0019481675, -0.008732489, -0.0035159318, 0.02106762, -0.037615154, 0.045558866, 0.032468524, 0.00048879004, -0.020541769, -0.027478531, 0.00992964, 0.010914213, -0.020497015, 0.01156873, -0.048244067, 0.033475474, 0.0078598, -0.014936416, 0.001251694, -0.01686081, -0.012911329, -0.027411401, -0.0121057695, 0.007177312, 0.018270537, 0.00021205377, 0.013191038, -0.03960668, -0.0025453444, -0.004511693, 0.03866686, 0.03544462, 0.02120188, 0.022723492, 0.024703827, 0.01684962, -0.011512789, 0.011221892, 0.0294253, 0.01631258, -0.01938937, 0.0026698145, 0.0046683294, -0.012295972, -0.0053564114, 0.013481935, -0.0065172007, -0.010483462, -0.0015090256, 0.011188327, 0.019120852, -0.009666715, -0.012665186, 0.0153839495, 0.020217307, -0.017162893, -0.008726895, 0.023159837, 0.039763313, -0.002662822, 0.008514317, 0.012228842, 0.014097292, 0.0012719729, -0.011177138, -0.010175783, -0.028642118, 0.0021327748, -0.0023845122, -0.004517287, 0.015104242, -0.023383604, -0.010393956, -0.027858935, -0.012217653, -0.038443092, -0.003152311, 0.007848611, -0.019076098, 0.0056221345, 0.046095908, 0.005132645, 0.010164595, -0.026113555, 0.033296462, 0.045178466, 0.044305775, 0.009207993, -0.0013740665, -0.03403489, 0.004441766, 0.012620433, -0.010270884, -0.00006227877, -0.02441293, 0.006058479, -0.007043052, 0.015954554, -0.0132693555, -0.03117068, -0.04401488, -0.01163586, -0.04206811, -0.021190692, 0.01952363, -0.030051846, 0.009325471, -0.013067966, -0.00089576544, 0.013325297, -0.008743677, 0.025106605, -0.0048669223, 0.0006999697, 0.004827763, -0.0243458, -0.03372162, -0.008251391, 0.0005429835, -0.0028208569, -0.0006223507, 0.0051857894, -0.01791251, 0.0014880475, -0.007708757, 0.034258656, 0.00444736, -0.026762478, -0.021783672, 0.0011076444, 0.014522448, -0.0075353384, 0.017106952, 0.004553649, -0.03190911, -0.006696214, 0.06359445, 0.022421407, 0.01631258, -0.0056640906, -0.014377001, -0.023047954, 0.004369042, -0.008749272, 0.017241212, -0.03739139, 0.0059018424, -0.017632803, 0.007882176, 0.02976095, -0.038017936, 0.033676863, -0.02508423, 0.026068803, 0.026583465, -0.013381239, -0.012251218, -0.0017929294, 0.029402923, -0.011087632, 0.0068696328, 0.005336832, 0.011937945, 0.0021453616, -0.006696214, 0.022768246, 0.03338597, 0.027433777, -0.025845036, 0.030946912, -0.036294933, 0.00018600594, -0.011579919, 0.015697222, -0.010125436, 0.008536694, -0.01511543, -0.010835894, 0.0046963003, -0.009884887, 0.008273768, -0.0007894763, 0.014634332, -0.0060528847, -0.033341214, -0.010326826, -0.026941491, -0.008301739, -0.018427175, -0.040882148, -0.029604314, -0.0029621096, 0.00008662212, -0.017084576, 0.026225438, 0.01230716, 0.03779417, -0.0103324205, 0.008268174, -0.0031075578, -0.015943365, -0.032155253, -0.028821131, 0.010522622, -0.04374636, 0.00076290406, 0.021436835, -0.0063493755, -0.025375126, 0.002187318, 0.0026222642, -0.011210703, 0.04569313, 0.0236745, -0.014634332, -0.024390552, 0.028395975, 0.014377001, -0.0069815163, 0.0040949276, -0.014018974, -0.0134931225, -0.006394129, -0.02394302, 0.050392225, 0.0037732634, 0.02494997, 0.036093544, -0.02488284, 0.0066626486, 0.0123183485, 0.0060696676, 0.02374163, -0.0044977074, 0.011758932, -0.030387497, -0.01177012, -0.014332247, 0.015596528, -0.037122868, -0.0062430864, 0.043321203, 0.015025923, 0.0114065, 0.014321059, -0.002092217, 0.00097618153, 0.00379564, -0.015406326, 0.034795698, 0.0071101817, 0.00662349, 0.031931486, -0.0033704836, 0.022510914, 0.010321232, 0.033878256, -0.040098965, 0.014119669, -0.0071940944, -0.0078653935, -0.032804176, -0.014567202, -0.012967271, -0.025375126, 0.03437054, -0.024435306, -0.014153234, 0.009773004, -0.009224775, -0.020944549, -0.0018264944, -0.03497471, 0.056881454, 0.043321203, 0.025196113, -0.005588569, -0.021246633, -0.031058796, 0.021649413, 0.028105078, -0.012463796, -0.013314109, -0.018941838, -0.03470619, 0.04855734, -0.069859914, -0.034012515, 0.031864356, 0.027948441, -0.0010230327, 0.003927103, 0.026001671, 0.00089786324, 0.006405317, 0.021034054, 0.020373944, -0.020351566, 0.017755875, -0.021615848, -0.040837392, 0.035668388, -0.044574294, -0.007283601, -0.0023565413, -0.0075017735, -0.0018950229, 0.017218836, -0.05392774, 0.0032222383, 0.011440065, -0.0030124572, 0.005717235, -0.009722657, 0.011468035, 0.017297154, -0.04567075, 0.017140517, 0.008710112, 0.038196947, -0.026784856, 0.039629053, 0.022443784, 0.026471581, 0.0052445284, 0.020105423, 0.026359698, 0.010147813, -0.010768765, -0.0066626486, -0.0436121, 0.0023033968, -0.000049167455, -0.0012502956, 0.002595692, 0.0034627873, 0.0058123358, 0.004346665, 0.0058962484, 0.009991176, 0.0033844688, -0.008877938, -0.010047118, -0.02949243, -0.013895902, -0.0086262, -0.007356325, -0.010483462, -0.011591107, -0.0054934686, -0.0041872314, 0.005778771, 0.0013957438, 0.023115084, -0.0070038927, -0.00035872572, -0.0017355892, 0.018953025, 0.027277142, -0.014130857, -0.01980334, 0.0005013769, 0.002339759, 0.010455492, 0.033788748, 0.013828772, 0.019579573, -0.0089226905, -0.032065745, 0.013470746, 0.036004037, 0.022186453, 0.014455318, -0.0032530061, -0.0030404278, 0.0087940255, 0.03358736, -0.013828772, -0.018617377, 0.013403616, -0.0010286268, -0.013918279, -0.018774012, -0.0054207444, -0.005879466, 0.008531099, -0.016681796, 0.013392428, 0.028216962, -0.02086623, -0.006198333, -0.024524814, -0.036473945, 0.0172524, -0.033363592, 0.004998385, -0.018718071, -0.0035718735, 0.0071605295, 0.0000075881767, -0.023629747, -0.0076416275, -0.00017044717, -0.030118976, 0.037615154, 0.0038711613, 0.0019537616, -0.009068139, -0.016670607, -0.041777212, -0.0006478741, -0.007764699, -0.031416822, 0.0032334265, 0.010774359, -0.013459558, -0.0032977595, -0.04976568, 0.023428356, 0.01177012, 0.01772231, 0.0038040313, -0.0017537703 ]
2401.09350
208
We can trivially generalize that notion to more than two points and, in- deed, to higher dimensions. A collection ¥ of points in R¢ partitions the space into unique regions R = Uc Ru; where the region R,, is owned by point u € ¥ and represents the set of points to which wu is the closest point in X. Formally, Ry = {x | u = arg min, 0(a,v)}. Note that, each region is a convex polytope that is the intersection of half-spaces. The set of regions is known as the Voronoi diagram for the collection ¥ and is illustrated in Figure 6.2(a) for an example collection in R?. 77 78 6 Graph Algorithms # 6.2.2 Delaunay Graph The Delaunay graph for X is, in effect, a graph representation of its Voronoi diagram. The nodes of the graph are trivially the points in X , as before. We place an edge between two nodes u and v if their Voronoi regions have a non-empty intersection: Ru ∩ Rv ̸= ∅. Clearly, by construction, this graph is undirected. An example of this graph is rendered in Figure 6.2(b).
2401.09350#208
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 208, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "We can trivially generalize that notion to more than two points and, in- deed, to higher dimensions. A collection ¥ of points in R¢ partitions the space into unique regions R = Uc Ru; where the region R,, is owned by point u € ¥ and represents the set of points to which wu is the closest point in X. Formally, Ry = {x | u = arg min, 0(a,v)}. Note that, each region is a convex polytope that is the intersection of half-spaces. The set of regions is known as the Voronoi diagram for the collection ¥ and is illustrated in Figure 6.2(a) for an example collection in R?.\n77\n78\n6 Graph Algorithms\n# 6.2.2 Delaunay Graph\nThe Delaunay graph for X is, in effect, a graph representation of its Voronoi diagram. The nodes of the graph are trivially the points in X , as before. We place an edge between two nodes u and v if their Voronoi regions have a non-empty intersection: Ru ∩ Rv ̸= ∅. Clearly, by construction, this graph is undirected. An example of this graph is rendered in Figure 6.2(b).", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.021055683, -0.021223173, 0.026223896, -0.00056789035, 0.01290857, -0.04105858, 0.015600347, 0.0005032129, -0.020481437, 0.025123259, 0.002751595, -0.020864269, -0.013363181, -0.009905742, 0.000050938153, 0.019021897, 0.008069351, -0.026750289, 0.038905162, 0.05603683, -0.010450079, 0.028257685, 0.025625724, -0.0030297453, 0.014092952, 0.020864269, 0.043283787, 0.037780594, 0.027444169, -0.013482816, -0.007106293, -0.017047925, 0.025506089, -0.0023926913, 0.013135876, 0.027252754, -0.012741081, 0.053883407, -0.020888194, 0.052543502, -0.0051353136, 0.06618184, -0.02197687, -0.025912847, 0.034622245, -0.0027590722, -0.023891022, -0.0387616, -0.025314674, 0.013769939, -0.052064963, 0.04294881, 0.0012127954, -0.02682207, -0.0472078, -0.00038432603, -0.038857307, 0.0010176415, 0.054218385, -0.042063512, -0.015492676, -0.0067892615, -0.0060624816, 0.0688138, 0.009702363, 0.013518706, -0.033473752, 0.02751595, 0.030889645, 0.017574318, -0.045532916, 0.050246518, 0.022682713, 0.007991589, 0.032947358, 0.014966284, 0.019165458, 0.011114051, -0.026558874, 0.001837886, 0.021235134, -0.00283833, 0.06709106, 0.019368837, -0.017502537, -0.041249998, 0.018016966, 0.023304813, -0.035220414, 0.004803328, 0.0032002246, 0.011502864, -0.019057786, 0.042183146, 0.024596866, 0.052064963, 0.042326707, 0.0031523707, -0.017215414, -0.014033134, -0.04302059, -0.036368906, -0.009911723, -0.019297056, 0.06795243, 0.017993039, -0.008870903, 0.06905307, -0.023376593, 0.00034301472, -0.031918503, -0.0022521208, 0.0021369725, 0.047542777, 0.009636564, -0.06493764, -0.037421692, -0.032038137, 0.016354045, -0.014535599, -0.013638341, -0.029286541, 0.022515224, -0.010814965, 0.023783352, -0.00086062116, 0.03184672, -0.03675174, 0.030482886, 0.010491951, 0.04804524, -0.012023274, 0.016760802, -0.052830625, -0.022993764, 0.0015238452, -0.020409657, -0.0136622675, 0.023891022, 0.0047883736, 0.025793212, -0.015660165, 0.042757392, 0.0030252591, 0.0033796765, 0.056132536, -0.04644214, 0.044360496, 0.00612529, 0.057137467, 0.008679488, 0.017598245, 0.055941124, 0.015779799, -0.023101434, -0.044240862, 0.013135876, -0.004905017, -0.0020786505, 0.034430828, -0.00841031, -0.007237891, 0.030746084, -0.028951565, -0.0041303835, -0.008350492, -0.05402697, 0.014870577, -0.022802347, -0.051969256, -0.049289443, -0.05517546, -0.053739846, 0.021103537, 0.032971285, 0.032301333, -0.042374562, -0.0064602667, 0.010109121, 0.0036309091, -0.017670026, 0.050581492, 0.052352086, -0.045221865, 0.034454755, 0.035698954, 0.04357091, -0.020912122, 0.010468025, 0.02876015, -0.01667706, 0.017574318, 0.02564965, 0.07149362, 0.011724187, -0.07426914, 0.02682207, 0.014631308, -0.003191252, -0.049098026, -0.024716502, 0.018974042, -0.011466973, -0.023125362, -0.022096504, 0.0053596287, 0.04689675, -0.0052190577, -0.020684816, -0.020840341, -0.02665458, -0.030267544, 0.00045834994, -0.009433186, 0.009696381, -0.010396244, -0.044193007, 0.05555829, -0.0071661104, 0.049720123, -0.050581492, 0.009217843, 0.005186158, 0.019464543, -0.015971214, -0.0013257005, 0.014332221, -0.069627315, 0.005263921, 0.0034664115, 0.055366877, -0.008900812, -0.025458235, -0.053883407, -0.027611658, -0.0102526825, -0.037637033, 0.002488399, -0.027611658, 0.023520155, -0.03163138, -0.015121809, 0.0018438677, 0.02572143, 0.054984044, -0.0013608432, -0.013722084, 0.035124708, 0.0022715614, 0.00757885, -0.010456061, 0.020744633, -0.0011694279, -0.0192492, -0.009002501, 0.006388486, -0.05555829, 0.0063705407, 0.017430756, -0.013351218, 0.011855786, -0.029980421, -0.003956913, 0.024836136, -0.011855786, 0.041632827, -0.01667706, 0.029860787, -0.021259062, -0.010779074, 0.026271751, 0.027276682, 0.0023747461, -0.002720191, 0.015061991, 0.0063047414, 0.020062717, 0.006478212, 0.0108867455, -0.04361876, 0.013111948, -0.001277099, 0.03323448, 0.030889645, -0.0001998271, -0.014188659, -0.040891096, 0.02775522, -0.014906467, 0.0090383915, 0.04751885, -0.017430756, -0.024309743, 0.002093605, -0.0013713113, -0.023771388, -0.0229818, -0.023065545, 0.029119054, -0.0072618183, 0.015361078, -0.015983177, 0.02201276, 0.058238108, -0.066947505, 0.006867024, -0.021366734, 0.015492676, -0.021031756, 0.017562354, 0.025362527, 0.0009495994, -0.02239559, 0.01073122, -0.021175317, 0.013076058, 0.037780594, 0.004244036, -0.015313224, 0.004728556, -0.009283642, -0.047805972, 0.03967082, 0.010246701, -0.0035591284, -0.0108867455, -0.074077725, -0.009845925, -0.0057753585, -0.055606145, 0.006627755, -0.0066217734, 0.018507468, 0.035842516, -0.03493329, -0.039431553, 0.008852958, 0.032133844, 0.0156242745, 0.006914878, -0.00044638646, -0.033449825, 0.016868474, -0.016772766, -0.0033407952, 0.072689965, 0.018292125, 0.042039584, 0.027420241, -0.026630655, -0.07929379, -0.059338745, -0.047566704, 0.05326131, 0.04644214, -0.011736151, 0.010390262, -0.047614556, -0.031248549, 0.032612383, 0.02564965, -0.010916654, -0.007824101, 0.0027067321, -0.045532916, 0.02003879, -0.05225638, -0.0043247896, 0.019237239, 0.005263921, -0.0016748839, 0.041824244, -0.0013182233, 0.0072079827, 0.013650304, -0.021821344, 0.020266095, -0.012310397, 0.017777696, 0.03610571, -0.025530016, -0.009732272, -0.019368837, -0.0028712295, 0.024979698, -0.0030775992, -0.038043793, 0.019368837, -0.03519649, 0.0136622675, 0.0064423215, -0.025434308, 0.0024211046, 0.014679161, -0.035986077, -0.0447194, 0.062449243, -0.00066771044, -0.0012449472, 0.03914443, -0.0046926658, -0.007237891, -0.0026947686, 0.002883193, -0.017466646, 0.039335843, 0.035770737, 0.031966355, 0.042829175, 0.011855786, -0.031894576, -0.0142365135, -0.018579248, 0.004821273, -0.026032481, 0.03541183, 0.015253407, -0.027922707, -0.0009166999, 0.024465268, 0.0006045284, 0.050629348, -0.016880438, -0.0121608535, -0.0068849693, 0.042207073, 0.0041453377, 0.016485643, -0.004471342, -0.027276682, 0.017586282, 0.042661685, 0.046872824, 0.022407554, 0.00010729725, -0.005897984, 0.06996229, -0.0036219365, 0.008571817, -0.020720707, -0.009469076, -0.037684888, -0.02734846, 0.02349623, -0.013985281, 0.008571817, 0.032301333, -0.02270664, 0.034071922, 0.03285165, -0.034167632, 0.03931192, 0.004899035, 0.035842516, -0.013040167, -0.054457653, 0.008051407, 0.04294881, -0.017143633, 0.014762905, 0.013052131, 0.013422999, -0.0512993, 0.029549738, 3.680165e-7, 0.018148564, -0.016629204, -0.0050964323, 0.009140081, 0.0008718369, -0.0020607053, -0.020409657, 0.059003767, -0.01906975, 0.0005469543, 0.015301261, 0.0012868193, -0.019919155, 0.06029582, 0.03287558, 0.017777696, -0.05153857, -0.028305538, -0.015708018, 0.00965451, 0.021474404, 0.054936193, 0.04256598, 0.021151392, 0.01720345, -0.08604118, -0.014978248, 0.010270627, -0.0099655595, 0.024740428, 0.003873169, -0.033689093, 0.015839616, 0.049624417, 0.04247027, 0.014774869, 0.042494196, 0.038785525, 0.010186884, 0.005790313, 0.02391495, 0.031128913, -0.02170171, -0.018878335, 0.0644591, 0.013339254, 0.03392836, 0.0384984, 0.009475058, -0.012717154, 0.028185904, 0.015145736, 0.01844765, -0.045891818, -0.0031733068, -0.013829756, -0.032732017, -0.051682133, -0.03419156, 0.003651845, 0.023591936, -0.00276954, -0.054361947, -0.07297708, -0.007877936, 0.0061671617, -0.024321707, 0.005856112, 0.04156105, 0.016832583, -0.04175246, -0.025793212, -0.008446201, 0.022228101, -0.0011088629, -0.009355423, -0.01820838, -0.011502864, 0.019883264, -0.017909294, -0.02945403, 0.036847446, -0.007525014, -0.0018692901, 0.019919155, -0.006053509, 0.013614413, -0.0030267546, -0.017347012, -0.020170387, 0.01263341, -0.017969111, 0.029884715, -0.021306915, -0.041680682, -0.02270664, 0.035029, 0.025218965, 0.02384317, 0.0020263104, 0.05139501, 0.002443536, 0.007393416, -0.005894993, 0.005655724, -0.029238688, -0.035818588, 0.04433657, -0.012453958, 0.03007613, -0.029095126, 0.025936773, -0.024405451, -0.0035172561, 0.0030237637, -0.027204901, 0.0043008626, 0.0006568685, -0.015755871, -0.00965451, -0.010372316, -0.0071601286, -0.020014863, 0.007830082, -0.0022027714, -0.0070704026, -0.013016241, -0.0218692, 0.0062329606, -0.0192492, -0.016377972, -0.0058441483, 0.0029609555, -0.019153494, 0.01910564, 0.033784803, 0.03727813, -0.006687572, -0.039599042, 0.010874782, -0.011855786, -0.00047779054, 0.03239704, -0.0003104891, -0.01228647, -0.010061267, 0.012800898, 0.030722156, 0.011389211, -0.0012995305, 0.015636237, 0.0077283927, -0.022263993, 0.017358975, -0.03596215, 0.050725054, 0.017729843, -0.017239342, 0.019009933, 0.020266095, 0.044671547, 0.039551187, -0.045461133, 0.0036937173, -0.0181366, -0.046561774, -0.021127464, 0.037254203, 0.049480855, -0.003191252, -0.0126214465, -0.028066268, 0.016377972, 0.023029653, -0.039240137, -0.0068969326, -0.0065260655, -0.008314602, -0.00872136, -0.0037266167, 0.011401174, 0.010940581, 0.045221865, -0.05326131, -0.0046627573, -0.025506089, 0.021223173, -0.0034185576, -0.011371265, -0.0072797635, -0.0025661613, -0.011676334, 0.0122745065, 0.0018872352, 0.021247098, -0.011000399, -0.028999418, -0.0029056245, -0.026176043, -0.03541183, -0.0032540602, -0.03828306, 0.006861042, 0.010497933, 0.034071922, 0.027922707, 0.026726361, 0.058238108, 0.020912122, -0.013411035, -0.0027486042, -0.013064095, -0.036297128, -0.022874128, 0.025338601, -0.011939529, -0.016102813, -0.05029437, 0.06479408, 0.021235134, -0.01965596, -0.013698158, 0.006687572, -0.006286796, -0.03749347, 0.0045640585, 0.031966355, 0.050677203, -0.0033198593, -0.0034634206, -0.011275558, -0.010468025, 0.02883193, -0.011245649, -0.059338745, 0.021067647, 0.027827, -0.04278132, -0.017981075, -0.008236839, -0.022874128, -0.0015896442, 0.0044055427, 0.019739702, -0.0070345122, 0.023544082, -0.013303364, -0.035842516, -0.007949716, -0.035148636, 0.011760077, 0.0028682386, 0.012172817, -0.0061492166, -0.026750289, -0.02363979, 0.01682062, -0.029741153, 0.034909368, 0.0051472774, -0.008631634, -0.046537846, -0.029190835, 0.0146432705, -0.016641168, -0.017466646, 0.042135295, 0.024836136, -0.00012056921, 0.0017975094, 0.001959016, 0.040508263, -0.00841031, -0.013686194, -0.027707364, -0.025338601, -0.01941669, 0.018567285, -0.0044175065, 0.025482163, 0.033689093, 0.019978972, -0.02058911, 0.0047913645, 0.083792046, -0.024549013, 0.008703414, -0.009851906, 0.012992314, -0.01259752, 0.015767835, -0.045078304, -0.0074293064, -0.0072079827, 0.009839943, -0.026104262, -0.002827862, -0.011341357, 0.037182424, 0.06082221, -0.02332874, -0.024979698, -0.013518706, 0.008799123, -0.04799739, 0.018627102, 0.030435033, 0.0162703, -0.02135477, 0.050629348, 0.012705191, 0.0031404074, 0.0067114993, -0.07637471, 0.0024525085, -0.027300607, -0.014930394, 0.0021414587, -0.026869923, 0.007465197, -0.007889899, 0.036297128, -0.026941704, 0.021773491, -0.052017108, -0.014703088, -0.008236839, -0.016102813, -0.022335773, 0.010222774, 0.030698229, -0.001045307, -0.08340922, 0.0045072325, 0.00809926, -0.02274253, -0.00070472236, 0.0021025776, 0.03246882, -0.038163427, 0.024118328, -0.012765008, -0.03187065, -0.011532772, -0.01914153, -0.013446925, -0.021510296, 0.0071661104, -0.027252754, 0.015875507, 0.0028951564, -0.036919225, 0.02305358, -0.0051412955, 0.056993905, 0.02007468, -0.0033647222, 0.0058830297, -0.005201113, -0.04773419, 0.002575134, 0.023244996, -0.005003716, -0.009086246, -0.03153567, 0.03641676, 0.0008254785, -0.011634462, 0.015612311, 0.023436412, 0.018232308, 0.012860715, 0.020517329, -0.03108106, -0.011580626, -0.037708815, 0.023161251, -0.027109193, 0.023316776, 0.009475058, -0.0030716176, -0.028592661, -0.014200623, -0.036991008, 0.006466248, -0.01747861, 0.013375144, 0.024034584, -0.0023164242, -0.008350492, -0.0013802839, 0.00062172586, 0.009361405, 0.012041219, 0.05311775, -0.0140690245, -0.048547707, -0.030817864, 0.009193916, 0.023508191, 0.0096904, -0.03610571, 0.018986005, 0.01021081, 0.002672337, 0.028257685, 0.027635584, -0.017418792, 0.008769213, 0.008069351, -0.0440973, 0.010683367, -0.0073694894, -0.0026499056, -0.005613852, 0.0465857, 0.006364559, -0.0187587, 0.0011985888, -0.023244996, 0.0071900375, -0.0018139591, -0.00713022, -0.007931772, 0.006687572, 0.019057786, 0.009337477, -0.03648854, -0.02045751, -0.024596866, 0.039048724, 0.028473027, 0.011131996, 0.034550462, -0.0102526825, 0.00030207727, -0.036464617, 0.033449825, 0.037469547, -0.034670096, -0.005877048, -0.036560323, -0.0027022457, -0.0045072325, -0.07580046, -0.044886887, -0.011933547, 0.01820838, 0.04115429, 0.01616263, -0.011048252, -0.007501087, 0.008601725, 0.005362619, 0.033689093, 0.008535926, 0.0066995355, -0.013614413, -0.017454684, 0.0303154, -0.025362527, 0.012418068, -0.0030955444, 0.033689093, -0.008254785, 0.060056552, 0.046155017, 0.03167923, 0.014104915, 0.019799521, -0.021749564, -0.013411035, -0.021127464, -0.00029871255, 0.04208744, -0.012262543, -0.0016330119, 0.0010236233, 0.015552494, -0.027779145, -0.011957475, 0.03679959, 0.011676334, -0.004064584, 0.024118328, -0.0003802136, -0.032612383, 0.026558874, 0.008314602, 0.0057125506, 0.00910419, 0.037541326, -0.009899761, -0.0042081457, -0.015863543, -0.051586423, 0.030004349, -0.0036847447, -0.0026289695, 0.0046358393, -0.029908642, 0.016174594, -0.009558802, -0.05278277, -0.013363181, 0.08704611, 0.018435687, 0.033832654, 0.019332945, -0.010803001, -0.021426551, 0.015696054, 0.011622498, -0.00037628808, 0.004910999, -0.006837115, 0.022503262, -0.010569714, -0.036919225, -0.03675174, 0.0048751086, -0.009403277, 0.007501087, 0.021067647, 0.0077583017, -0.020852305, 0.00885894, 0.0037325984, -0.042039584, 0.010354372, 0.040627897, -0.009738253, -0.044384424, 0.016952218, -0.015420895, -0.012226652, -0.0035352013, 0.024285818, -0.03222955, -0.033689093, -0.00536561, 0.015755871, 0.0039270045, 0.0015118818, -0.0125616295, 0.005721523, 0.013363181, 0.029980421, 0.008733323, 0.011383229, 0.027013484, -0.01259752, 0.010569714, -0.05551044, -0.03734991, 0.02322107, -0.020948011, -0.0033557496, 0.005900975, -0.0019709794, -0.030028276, 0.012262543, 0.009702363, -0.0015133773, 0.0023164242, 0.013853682, -0.043690544, -0.028377319, -0.011096106, 0.0005768629, -0.014463819, -0.01709578, -0.010779074, -0.024477232, 0.018962078, 0.01914153, -0.014774869, -0.036297128, 0.022969836, 0.011742133, 0.009421222, 0.024237962, -0.02011057, -0.02201276, -0.0018991987, 0.048882682, -0.034454755, 0.0038253153, -0.00037722275, 0.02828161, -0.018316051, -0.0103663355, -0.010683367, -0.009893779, 0.00027553336, -0.05144286, -0.0047435104, -0.005461318, 0.0025676568, -0.0060893996, 0.022335773, -0.0067234626, -0.020230206, 0.035555393, -0.005195131, -0.011215741, -0.02076856, 0.012346287, 0.0149902105, 0.011365283, 0.004806319, 0.008523962, 0.0003357245, 0.016736876, 0.00095857197, 0.021749564, 0.0026813096, 0.018914225, 0.016533498, 0.0006378018, -0.0047853827, 0.017681988, 0.027683439, -0.025290746, 0.019428654, 0.009971541, 0.036177494, -0.0090982085, -0.025075404, -0.009630582, 0.0069746953, -0.014392038, 0.016354045, -0.0193808, 0.044193007, -0.021689747, 0.06776102, 0.027204901, 0.0058022765, 0.015133772, -0.024620794, 0.005856112, 0.048164874, -0.040412556, 0.0013518706, 0.019859338, -0.014092952, 0.035387903, -0.0077164294, -0.0039987853, -0.010354372, 0.028257685, -0.044145156, 0.04046041, 0.032779872, -0.022838239, -0.018112672, -0.01588747, 0.017837513, 0.011443046, -0.014631308, -0.009014465, -0.045843966, 0.02976508, -0.00026057905, -0.00647223, 0.004839218, 0.01519359, -0.029669372, -0.022969836, -0.01588747, 0.023819242, 0.022072578, -0.021318879, -0.0021608993, -0.035316125, 0.0002467463, 0.010162956, 0.030100057, 0.0031762978, 0.008978575, 0.020218242, 0.035316125, 0.018495504, -0.029932568, 0.012657337, 0.018076783, 0.02914298, -0.022024723, 0.011221722, 0.0045251776, -0.027707364, -0.007351544, 0.007686521, -0.008344511, -0.018339979, 0.022551116, 0.012776972, -0.011389211, -0.015313224, -0.012992314, -0.0006643457, 0.03184672, -0.004166274, 0.0014064539, 0.020397693, 0.037014935, 0.00567666, 0.023244996, 0.015277334, 0.0030716176, -0.010264645, -0.0013698158, -0.00536561, -0.022072578, -0.004555086, -0.010808983, -0.008727342, 0.017646099, -0.020290023, 0.000787345, -0.03541183, -0.011508845, -0.0303154, -0.0022401572, 0.008039443, -0.01522948, 0.025530016, 0.060343675, 0.026152115, -0.004800337, -0.020601071, 0.035363976, 0.027324535, 0.04014936, -0.0043696524, -0.009576747, -0.025314674, -0.001500666, 0.016832583, -0.0043277806, 0.021366734, -0.022945909, 0.024154218, 0.0077822283, 0.013805829, -0.025841067, -0.048715197, -0.028784076, -0.01872281, -0.0344069, -0.002488399, 0.014200623, -0.018866371, 0.0082906755, -0.017119706, -0.0001482347, -0.0033138774, 0.0008209922, 0.006861042, 0.011460992, 0.03931192, 0.020708743, -0.035387903, -0.034813657, -0.024644721, 0.005392528, 0.009594692, -0.004719584, 0.025912847, -0.025003623, 0.026845997, -0.00585013, 0.03187065, 0.002969928, -0.030578595, -0.02018235, -0.007949716, 0.0048541725, -0.013231583, 0.015480713, 0.013506742, -0.025697505, -0.0146432705, 0.052543502, 0.0156242745, 0.00809926, -0.009564783, -0.018399796, -0.014164733, -0.0067952434, -0.008703414, 0.021821344, -0.039120503, -0.01557642, -0.011712224, 0.021952942, 0.03610571, -0.048763048, 0.020900158, -0.03246882, 0.011431083, 0.02713312, -0.0058920025, 0.012549666, -0.013375144, 0.03969475, -0.0060505182, 0.007638667, 0.008846976, 0.013279437, 0.0034454754, -0.014559527, 0.030865718, 0.027827, 0.02682207, -0.010043322, 0.023268923, -0.011556699, -0.0032959322, -0.02557787, 0.010952544, -0.013817792, 0.035340052, -0.012244598, -0.023101434, -0.0032480785, -0.007028531, 0.01069533, 0.0009974532, -0.014858613, -0.001650957, -0.040986802, 0.00036208148, -0.036943153, 0.0009914715, -0.0054015005, -0.029334396, -0.00903241, -0.00678328, 0.0049648345, -0.023364631, 0.025458235, -0.001837886, 0.041632827, -0.0072319093, -0.0005170456, 0.003433512, -0.014691125, -0.015349114, -0.0072977087, 0.005990701, -0.02852088, 0.021450477, 0.010402226, -0.014140805, -0.010294555, -0.0041034655, 0.002530271, -0.016330117, 0.047447067, 0.037684888, -0.020397693, -0.03780452, 0.026319604, 0.0039479407, 0.0026543918, -0.005679651, -0.0109465625, -0.008236839, -0.006765335, -0.0073395805, 0.058716644, -0.013028204, 0.024716502, 0.023065545, -0.033665165, 0.009325515, 0.015791763, 0.011646425, 0.040484335, -0.0044982596, 0.021175317, -0.052208524, -0.006998622, 0.01294446, 0.009642546, -0.03215777, 0.0029534784, 0.04007758, 0.0010976471, 0.017933222, 0.0259607, 0.0065440107, 0.0057125506, 0.015564457, -0.03797201, 0.02820983, 0.009493003, 0.017634135, 0.007525014, 0.0043995613, 0.0005768629, -0.0027949626, 0.026678508, -0.053452723, 0.021235134, -0.029262615, 0.00019384538, -0.020505365, -0.022263993, 0.0039060686, -0.027683439, 0.021857236, -0.03163138, -0.011203777, 0.010133048, 0.0049498803, -0.023819242, -0.016796693, -0.013997244, 0.027683439, 0.03766096, 0.0217376, -0.010240719, -0.041249998, -0.021653857, 0.01488254, 0.030195763, -0.03215777, -0.00046993952, -0.026032481, -0.020134497, 0.034000143, -0.04869127, -0.015109845, 0.039766528, 0.04548506, -0.0006538777, 0.013399071, 0.02852088, 0.010133048, 0.022886092, 0.039718676, 0.0075429594, -0.019165458, 0.0067473897, -0.017634135, -0.03797201, 0.053500578, -0.053452723, 0.0006774307, -0.029358322, 0.017179523, -0.018280162, 0.008392365, -0.036010005, -0.0002585228, -0.01135332, -0.00979807, 0.0012569106, 0.010509896, 0.0038701782, 0.0088110855, -0.033282336, 0.009002501, 0.02495577, 0.045915745, -0.02395084, 0.034861512, 0.0028263666, 0.011443046, 0.004091502, 0.024931842, 0.031272475, 0.011389211, 0.022407554, -0.019356873, -0.03426334, 0.002495876, 0.012537702, 0.006496157, 0.0059338743, 0.0049648345, 0.009134099, 0.0043487162, -0.0027590722, 0.01720345, 0.008147114, -0.022335773, 0.019356873, -0.035938222, 0.0037236258, -0.020828377, -0.007686521, 0.009923687, 0.0019051804, -0.024381524, 0.005984719, 0.0020397694, -0.009977522, 0.0362732, 0.016258337, 0.010402226, -0.005748441, -0.001519359, 0.01810071, -0.012358251, -0.016114775, -0.015050028, 0.00046433165, 0.025123259, 0.018459613, 0.016066922, 0.009810034, -0.00046993952, -0.02820983, 0.01073122, 0.03665603, 0.012382178, 0.0060684634, 0.009923687, -0.005655724, 0.010898709, 0.0022506253, 0.0078001735, -0.018806554, 0.03208599, 0.025290746, -0.01865103, -0.01554053, 0.008745287, -0.021330843, -0.017993039, -0.02274253, 0.019440617, 0.036703885, -0.023065545, -0.011359302, -0.019021897, -0.027850926, 0.019799521, -0.020337876, 0.005649742, -0.01180195, 0.0007402389, 0.01000145, -0.009750217, -0.02588892, -0.016246375, -0.010276609, -0.009708345, 0.046370357, 0.0010430638, -0.00024842864, -0.009050355, -0.035387903, -0.026941704, -0.021426551, 0.0021549177, -0.024166182, -0.00069051574, 0.021247098, -0.010641495, 0.01367423, -0.055797562, 0.025841067, 0.01353067, 0.010378298, 0.0033946307, -0.0019006941 ]
2401.09350
209
There is an important technical detail that is worth noting. The Delaunay graph for a collection X is unique if the points in X are in general posi- tion [Fortune, 1997]. A collection of points are said to be in general position if the following two conditions are satisfied. First, no n points from X ⊂ Rd, for 2 ≤ n ≤ d + 1, must lie on a (n − 2)-flat. Second, no n + 1 points must lie on any (n−2)-dimensional hypersphere. In R2, as an example, for a collection of points to be in general position, no three points may be co-linear, and no four points co-circular. We must add that, the detail above is generally satisfied in practice. Im- portantly, if the vectors in our collection are independent and identically distributed, then the collection is almost surely in general position. That is why we often take that technicality for granted. So from now on, we assume that the Delaunay graph of a collection of points is unique. # 6.2.3 Top-1 Retrieval
2401.09350#209
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 209, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "There is an important technical detail that is worth noting. The Delaunay graph for a collection X is unique if the points in X are in general posi- tion [Fortune, 1997]. A collection of points are said to be in general position if the following two conditions are satisfied. First, no n points from X ⊂ Rd, for 2 ≤ n ≤ d + 1, must lie on a (n − 2)-flat. Second, no n + 1 points must lie on any (n−2)-dimensional hypersphere. In R2, as an example, for a collection of points to be in general position, no three points may be co-linear, and no four points co-circular.\nWe must add that, the detail above is generally satisfied in practice. Im- portantly, if the vectors in our collection are independent and identically distributed, then the collection is almost surely in general position. That is why we often take that technicality for granted. So from now on, we assume that the Delaunay graph of a collection of points is unique.\n# 6.2.3 Top-1 Retrieval", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.006767707, -0.027019894, 0.04550853, 0.016451322, 0.052562736, -0.023645591, 0.009543549, -0.020767882, -0.041535765, -0.0036226013, 0.021188078, -0.031527456, 0.0029381907, -0.012421257, 0.016451322, 0.040160578, -0.024053054, -0.018246705, 0.021417277, 0.043700412, 0.01739358, 0.013153417, 0.030534264, -0.039778583, 0.028038552, 0.020449553, 0.022741532, 0.025886638, 0.028013086, 0.023505526, 0.035653017, -0.023785656, 0.0046985582, 0.001090282, -0.006436643, 0.07074577, 0.015050666, 0.06478663, -0.013229816, 0.027019894, 0.019443627, 0.071051374, -0.023314526, -0.030737994, 0.063156776, -0.006729507, 0.01827217, -0.027503757, -0.03083986, 0.039829515, -0.062392782, 0.053122997, -0.0068504727, -0.015750993, -0.025173577, 0.0019656909, -0.015368997, 0.020678751, 0.04494827, -0.0059495973, -0.0030066317, -0.005736316, 0.019596426, 0.045635864, 0.015050666, -0.0011794146, -0.046756387, 0.036595277, 0.045559462, 0.030788928, -0.05852188, 0.04293642, 0.019201696, 0.0032883543, 0.032215048, 0.016846051, 0.00948625, 0.022486867, -0.015559996, -0.020780616, -0.008117428, -0.0056026173, 0.05302113, 0.0065034926, -0.054345384, -0.04744398, 0.015368997, 0.012408524, -0.045533996, -0.013255282, -0.027554689, 0.018628702, -0.008448492, 0.029210009, 0.0027010345, 0.03919285, 0.07120417, 0.044668138, -0.05159501, 0.0047972407, -0.041255634, -0.019723758, -0.011128834, -0.031578388, 0.058674682, 0.013420815, -0.053428594, 0.05182421, -0.009288885, -0.012981518, -0.047214784, -0.034379695, -0.010320275, 0.080066495, 0.0029604738, -0.03835246, -0.04708745, 0.0039918646, -0.017559111, 0.016349455, -0.016986117, -0.003092581, -0.0038358828, 0.012421257, -0.011498098, -0.046985585, 0.029821202, -0.07308868, -0.0072643026, -0.007315235, 0.057706956, -0.020131221, 0.0050391722, -0.022945264, -0.015496329, -0.04059351, 0.013548147, -0.03198585, -0.009951012, -0.019430894, 0.003051198, -0.03784313, -0.00826386, 0.021302678, 0.02146821, 0.049939692, -0.072120965, 0.041917764, 0.058929347, 0.030228665, -0.0016004067, 0.033692103, 0.029846668, 0.018615969, -0.036671676, -0.033106375, 0.008734989, 0.025721105, 0.018119372, 0.015534529, 0.000985233, 0.03091626, -0.0024797947, 0.000023501745, -0.0072961356, -0.0031498806, -0.039447516, -0.016451322, -0.01641312, -0.040058713, -0.0065257754, -0.045457598, -0.07013458, -0.012262091, 0.028013086, 0.020118488, -0.0488701, -0.02905721, 0.009002387, -0.015585462, -0.01731718, 0.03641701, 0.040797237, -0.054294452, 0.016667785, 0.022155805, -0.003202405, -0.025491908, -0.021124413, 0.04235069, -0.0124530895, -0.0037753999, 0.012516756, 0.03575488, 0.0011356442, -0.06830099, 0.0006680962, 0.008760456, -0.0023540542, -0.047622245, -0.01592926, 0.048564505, -0.007709965, -0.00084118836, -0.019749226, -0.0028013086, 0.042554423, 0.015661862, -0.07802918, -0.025861172, -0.037766732, -0.04680732, -0.026204968, 0.030381465, -0.002175789, 0.016145723, -0.020704217, 0.054701917, -0.012102926, 0.048411705, -0.044184275, 0.011332566, 0.03292811, 0.014541338, 0.0050741886, 0.03198585, 0.047214784, -0.03919285, 0.02676523, -0.01538173, 0.041204702, -0.0030400564, 0.007238836, -0.090049334, -0.0052333535, -0.020067556, -0.039625783, -0.021582808, -0.015496329, 0.017087983, -0.02661243, -0.011396232, -0.031196391, 0.0414339, 0.027274558, -0.014082942, -0.016756918, 0.015050666, 0.02004209, -0.002158281, 0.014897868, -0.009677248, -0.0042783623, -0.033004507, -0.022194004, 0.0029700238, -0.03850526, -0.017240781, -0.031883985, 0.0042942786, -0.032673445, 0.0008356176, -0.0061692456, -0.0023795206, -0.046094257, 0.009562649, 0.0023031214, -0.0071688034, 0.027809354, -0.00933345, -0.014490405, 0.050270755, 0.0056344504, -0.041866828, -0.0018447253, -0.01282872, -0.028369615, -0.0014802369, -0.03343744, -0.045330264, 0.0089769205, 0.007385268, 0.05480378, 0.010874171, 0.028446015, -0.014503138, -0.023785656, 0.019239897, -0.032877177, -0.016769651, 0.055720575, -0.023900256, 0.017228048, -0.024002122, 0.0009955787, -0.056841098, -0.027580155, -0.0071688034, -0.009530815, -0.021137146, 0.033870365, 0.007480767, 0.018730568, 0.04578866, -0.020653283, -0.010250242, 0.018679634, 0.0015327614, -0.010186576, 0.03440516, 0.009658148, 0.0077035986, -0.05791069, -0.034532495, -0.06045733, -0.004638076, 0.04138297, 0.0020404987, -0.02111168, 0.033743035, -0.02941374, -0.07252842, 0.0376394, 0.03134919, 0.00009012733, -0.015610929, -0.049965158, 0.0054179854, 0.010033778, -0.04400601, 0.033411972, -0.016591387, 0.012497656, 0.0414339, -0.026714297, -0.045457598, 0.017533645, 0.029668404, -0.0073598013, -0.015585462, 0.0028283666, -0.017380847, 0.011351666, 0.0043579447, 0.010816871, 0.02526271, -0.005901848, 0.07991369, 0.0113453, -0.040033247, -0.053632326, -0.06320771, -0.016069325, 0.06045733, 0.00488319, -0.010192943, -0.029541072, -0.025211778, -0.035525687, 0.014808736, -0.01925263, -0.013650012, 0.022639666, 0.0127013875, -0.013331682, 0.020895215, -0.044413473, -0.012599522, -0.005850915, 0.021671942, -0.021137146, 0.050423555, -0.0066212746, -0.029133609, 0.006092846, 0.005488018, -0.009498983, 0.016120257, 0.0491757, 0.015750993, -0.01241489, -0.04049164, -0.027249092, -0.053632326, 0.047978774, 0.007951897, -0.049634095, -0.007646299, -0.06453196, -0.008149262, 0.0020420903, -0.02612857, -0.009772747, 0.02890441, -0.019723758, -0.004778141, -0.0016107524, 0.008875055, 0.0226142, 0.020067556, -0.022601467, -0.036289677, -0.00488319, -0.0043865945, 0.008824122, 0.021251746, 0.00794553, 0.04823344, 0.0013505173, 0.01538173, -0.021188078, 0.045763195, -0.0029541072, 0.0054689185, -0.016731452, 0.04013511, 0.012344858, 0.005141038, -0.016234856, 0.037945, 0.01316615, 0.015483596, -0.016642319, -0.005666283, -0.04077177, 0.01759731, 0.022537801, 0.027860288, 0.0009780705, -0.047825977, 0.003909099, 0.029795736, 0.035653017, 0.0021821556, -0.0065321424, -0.00068560435, 0.043038286, -0.007525333, 0.014146608, -0.022359535, -0.02719816, -0.024600582, -0.046043325, 0.009951012, 0.030457864, 0.01545813, 0.016731452, -0.017495446, 0.039727647, 0.016273055, -0.055924304, 0.018959766, 0.017928375, -0.000581749, -0.00032032008, -0.019583693, 0.037766732, -0.014414006, 0.0128987525, -0.01641312, -0.018399503, 0.0189725, -0.048004244, 0.0015096825, 0.0027599256, 0.026918028, -0.007741798, -0.013828278, -0.00069555215, -0.002424087, -0.0078754965, -0.037231937, 0.09320717, -0.017444512, 0.019329028, 0.017177114, 0.012956052, -0.009639048, 0.052460868, 0.02719816, 0.05475285, -0.03613688, -0.044744536, -0.011549031, 0.0263323, 0.036722608, 0.08836855, 0.07482041, 0.02719816, -0.020615084, -0.059082143, -0.021952072, 0.020271286, -0.013102484, -0.010173843, 0.02036042, -0.00032151383, -0.015878325, 0.025300909, -0.0075635333, 0.039498452, 0.02482978, 0.03234238, 0.020093022, 0.0069205053, 0.018705102, -0.0077608977, -0.009626315, -0.042910952, 0.07059298, 0.031960383, 0.07655212, 0.019010698, 0.0057522324, -0.0016760102, 0.01810664, 0.000055011493, 0.034252364, -0.036951806, -0.009015121, 0.020462286, -0.01778831, -0.049022898, -0.020143956, -0.0109442035, -0.005819082, -0.018042974, -0.028777078, -0.032393314, 0.011886462, 0.0050423555, -0.044056945, -0.021748342, 0.043904144, -0.0023699708, -0.03901459, -0.027885754, -0.006697674, -0.016451322, -0.0006836148, -0.0014635245, 0.00044566274, 0.0049500396, -0.015152533, 0.0009892121, -0.024651514, -0.0012104518, 0.005535768, -0.007124237, 0.013815545, -0.0061819786, 0.012370324, -0.03471076, 0.006990538, -0.0070669376, -0.00820656, -0.01280962, 0.014006543, 0.017240781, -0.045253865, -0.017113449, 0.022206737, 0.015241665, 0.049634095, -0.016043859, 0.049048364, 0.009569015, 0.0031833053, 0.009231585, -0.020895215, -0.055364043, -0.0453812, 0.024804315, -0.038046863, 0.030585196, -0.0042051463, 0.017953841, -0.030585196, 0.0137773445, 0.02798762, -0.01592926, -0.0032597044, -0.025721105, -0.006646741, -0.014261208, 0.013433548, 0.016374921, 0.022601467, 0.021557342, 0.00047391455, -0.0051919706, -0.030075867, -0.01652772, 0.006665841, -0.022486867, 0.0011889645, -0.013548147, 0.0050837384, 0.018794233, 0.0100783445, 0.026039436, 0.031934917, -0.00820656, -0.025211778, -0.022461401, -0.0036862674, 0.010154744, 0.048488103, 0.0102884425, -0.01660412, -0.016145723, -0.013484481, 0.022053938, -0.024842514, 0.044056945, 0.023492793, -0.01585286, -0.006965072, -0.011498098, -0.00865859, 0.019685559, 0.0019067997, -0.029515605, 0.027300024, 0.012720487, 0.013700945, 0.022792464, -0.07339428, -0.0062424615, -0.012796886, -0.02747829, -0.018081173, 0.03313184, 0.02819135, 0.0068886722, -0.0017333097, -0.04543213, 0.028216816, 0.03162932, -0.02601397, -0.002689893, 0.012344858, -0.0076080994, -0.020500485, -0.00083163846, -0.026586965, 0.013968343, 0.0488701, -0.050627284, -0.020678751, -0.018297639, -0.004090547, 0.010135643, -0.025313642, 0.024014855, -0.027249092, -0.010313909, 0.000256654, 0.004704925, 0.017113449, 0.0133571485, -0.029668404, 0.00079821376, -0.03468529, -0.018628702, 0.0030655228, -0.033233706, -0.0000011999568, 0.005975064, 0.017342646, -0.013268016, 0.01692245, 0.05332673, 0.033692103, -0.00641436, -0.022525067, 0.009721814, -0.031731185, -0.057350427, 0.021442743, -0.021200811, -0.013191616, -0.059642404, 0.03412503, 0.013408082, -0.012841453, -0.007856397, 0.0053734193, -0.012854186, 0.003422053, -0.008034662, 0.010606773, 0.06560155, -0.0015693695, 0.0040841806, -0.02308533, -0.031018125, -0.008384826, -0.004268812, -0.03455796, 0.005363869, 0.041637633, -0.021990271, -0.01624759, -0.019303562, -0.017533645, 0.037563, 0.00040189226, 0.024320452, 0.022244936, 0.005363869, -0.0035080023, -0.007754531, -0.0093971165, -0.03264798, -0.012803254, 0.019545494, -0.0017794676, 0.0043261116, -0.0074107344, -0.027885754, 0.019596426, -0.033972234, 0.024447784, -0.003156247, -0.013815545, -0.05322486, -0.019188963, 0.008448492, -0.022868864, -0.03203678, 0.009403483, 0.027325492, 0.014070209, 0.023390926, 0.020118488, 0.025377309, 0.026383232, -0.017419046, 0.004746308, -0.019914757, -0.017380847, 0.029286407, -0.0051442212, 0.029031742, 0.034430627, 0.05116208, -0.018259438, 0.018641435, 0.049710494, -0.020309487, 0.010307542, -0.0014356707, 0.011727296, -0.014541338, 0.018450437, -0.020576885, -0.005290653, -0.003724467, 0.025288176, 0.006646741, 0.0054179854, -0.019520028, 0.04324202, 0.054294452, -0.019125298, 0.008779556, -0.0030257315, -0.0064239097, -0.049812358, 0.008894155, 0.041892298, 0.031018125, -0.019672826, 0.03178212, 0.031018125, -0.003032098, -0.008792289, -0.073445216, -0.021455476, -0.025759306, -0.0031737552, -0.014592271, -0.01699885, 0.012325757, 0.012720487, 0.011771862, -0.024575116, 0.017291714, -0.045712262, -0.008983287, -0.016667785, -0.0102884425, -0.020958882, -0.014248474, 0.0717135, -0.014528605, -0.105736665, -0.022003004, 0.0264087, -0.017928375, 0.017368114, 0.003229463, 0.049812358, -0.012504023, 0.025390042, -0.01775011, -0.015254398, -0.009963745, -0.009492616, -0.001516049, -0.0024654698, 0.013089751, -0.009288885, 0.010651339, -0.0017237597, -0.031323723, -0.010269342, -0.006627641, 0.008416659, 0.025211778, 0.009460783, -0.020678751, 0.0029445572, -0.046603587, 0.0010624281, 0.025784772, 0.01247219, 0.014337607, -0.021480944, 0.049150232, 0.010657705, -0.038148727, -0.006006897, -0.021480944, 0.00414148, 0.02763109, 0.017890176, -0.046883717, -0.025199044, -0.052766465, 0.028649746, -0.05088195, 0.025822971, -0.019812891, -0.007544433, -0.035602085, 0.0006704836, -0.042325225, -0.035525687, -0.011058802, 0.0022378636, 0.0037276503, -0.0138028115, -0.007939163, -0.0069396053, -0.011771862, 0.003114864, 0.0017460429, 0.042248826, -0.019991156, -0.018259438, -0.010473074, -0.037563, 0.010727738, 0.021455476, 0.0072897687, 0.0021996638, -0.0094225835, 0.005685383, 0.026064903, 0.009161552, 0.026383232, 0.0023445042, -0.0037944997, -0.043827746, 0.00486409, 0.0032819875, -0.016311256, -0.00638571, 0.015432663, -0.015878325, -0.0033520204, 0.0072452025, -0.023543725, -0.0100656105, -0.0042083296, -0.009651781, -0.016082058, -0.00015011274, 0.026637897, 0.0008937129, -0.0133571485, -0.026179502, -0.04408241, 0.028471481, 0.0064684763, 0.0068377396, 0.017126182, -0.011491732, -0.013026085, -0.034583427, 0.043343883, 0.047316648, -0.029337341, 0.01320435, 0.010103811, 0.008512158, 0.012924219, -0.05439632, -0.05337766, 0.009136085, -0.014859669, 0.026637897, 0.016935183, 0.006825006, -0.003358387, 0.023199927, -0.027809354, 0.007990096, 0.026510565, -0.0042815455, -0.024256784, 0.019660093, 0.01799204, -0.034201432, 0.0124785565, -0.00078906177, 0.017941108, 0.0017205764, 0.03878539, 0.020156689, -0.0004631709, 0.017979307, -0.010001944, -0.047316648, -0.018017508, -0.00937165, 0.012013794, 0.0338449, -0.023098063, 0.01435034, -0.0018861083, 0.018845167, -0.006188345, 0.0066212746, 0.018832434, 0.040262442, -0.010664072, 0.021060746, 0.009912812, -0.0302796, -0.00032171278, -0.014974267, 0.0022203554, -0.012650454, 0.047265716, -0.0003055973, -0.006188345, -0.031247323, -0.033946767, 0.07420921, -0.009193385, -0.0044884603, 0.0010544698, -0.027707487, 0.019494561, -0.010059244, -0.028216816, -0.03140012, 0.07813104, -0.014592271, 0.018539568, 0.0011993102, 0.005519851, -0.023747457, 0.017113449, 0.017520912, 0.024103986, -0.005058272, -0.019430894, 0.029923068, 0.019036165, -0.054905646, -0.023671057, -0.0036257845, -0.0049627726, 0.019889291, 0.0038740824, 0.0087413555, 0.0021550977, 0.035653017, -0.01827217, -0.05230807, 0.0007500663, -0.0009056503, -0.0021773807, -0.026867095, 0.023429126, -0.04077177, -0.027860288, 0.000014983917, 0.014324873, -0.027249092, -0.04448987, -0.009282518, 0.03083986, -0.03313184, -0.012574055, 0.005488018, -0.01247219, -0.0033456536, -0.010727738, 0.00860129, 0.030890793, 0.02684163, -0.031323723, -0.0059495973, -0.032215048, -0.028828012, 0.020398619, 0.0010886904, -0.006096029, 0.014095675, 0.0058572814, -0.024231318, -0.024651514, 0.01470687, 0.007665399, 0.021570075, 0.0012836677, -0.042961888, -0.01213476, 0.001030595, -0.02150641, -0.019596426, 0.013751878, -0.0060132635, -0.02949014, 0.025377309, 0.0083211595, -0.022703333, -0.03463436, 0.003912282, -0.018870633, 0.013509947, -0.00035573434, 0.007690865, -0.0107213715, -0.008270226, 0.020067556, -0.00303369, 0.019952957, -0.005924131, 0.04021151, -0.016782384, -0.02526271, -0.01846317, -0.0017460429, 0.012765054, -0.036391545, -0.008060128, -0.02949014, 0.013242549, 0.0048354403, -0.018335838, -0.025020778, -0.03254611, 0.00338067, -0.034456097, 0.0058127153, -0.015827393, -0.0013688212, 0.02107348, 0.001095057, 0.025071712, 0.016273055, 0.009677248, -0.004638076, -0.021952072, -0.0031403305, -0.020105755, 0.013624546, -0.00860129, -0.010638606, 0.03901459, -0.01435034, 0.03641701, 0.0026278184, 0.0035971347, 0.0014014501, 0.020907948, -0.008715889, -0.0068186396, 0.0017906091, 0.035805818, -0.026510565, -0.011873729, -0.000067297064, 0.04408241, -0.0074553005, 0.04364948, 0.020258553, -0.027376425, -0.010829604, -0.007219736, -0.03427783, 0.04881917, -0.03514369, -0.009378017, 0.016553188, -0.023836588, 0.014974267, -0.0003077858, -0.01660412, 0.009505349, 0.008066495, 0.013637279, 0.030712528, 0.027300024, -0.023976654, -0.009511716, 0.014910601, -0.010383941, 0.008181094, -0.005035989, -0.01164453, -0.054701917, 0.00081890525, 0.0063443272, -0.02064055, 0.011790962, 0.025109911, -0.029948534, -0.0056503667, -0.037690334, 0.0015033159, 0.0047622244, -0.013930144, 0.01834857, -0.0036480678, -0.011237067, 0.027860288, 0.008314793, 0.008817756, -0.000056603145, -0.011052435, 0.04400601, 0.00413193, -0.05210434, 0.0060005304, -0.00013131133, 0.017928375, -0.030432397, -0.020525951, 0.023543725, -0.0027137676, 0.00014682995, 0.014057475, -0.0080728615, -0.0039472985, 0.01624759, 0.003985498, -0.02122628, -0.024409585, 0.00863949, -0.006156512, 0.039320186, -0.0030209566, -0.011746396, 0.013446281, 0.018488636, -0.014019276, 0.027300024, -0.0006247236, -0.026867095, -0.0011961269, 0.00007296732, -0.009518082, -0.042554423, -0.0018144839, 0.014897868, -0.002524361, -0.006446193, -0.021646475, 0.004119197, -0.028420549, -0.016935183, -0.025912104, 0.008257493, -0.014070209, -0.010759572, 0.008333893, 0.003329737, 0.023836588, 0.0059495973, -0.04123017, 0.014159341, 0.029642938, -0.0071815364, -0.009199752, -0.036722608, -0.025912104, -0.010549474, 0.0075699, 0.008970554, 0.014477672, 0.0020739234, 0.014503138, -0.015763728, 0.0072324695, 0.004548943, -0.009346184, -0.022588734, -0.03585675, -0.02139181, 0.025440974, 0.030254133, -0.017584577, 0.020233087, -0.0008602882, -0.01585286, -0.007690865, 0.011498098, 0.01641312, -0.030457864, 0.015559996, 0.028420549, 0.009721814, -0.017253514, -0.021455476, -0.016578654, 0.021671942, -0.024893446, -0.0034443361, -0.018654168, 0.0412811, -0.024091253, 0.03190945, 0.0377158, -0.047214784, -0.013930144, -0.0006573525, -0.0046571754, -0.011765496, 0.009798213, 0.013242549, -0.0052842866, 0.012001061, 0.022486867, 0.018310372, -0.01731718, -0.0011889645, -0.026637897, -0.023199927, -0.026204968, -0.018310372, 0.0092124855, -0.03812326, -0.014796003, 0.013268016, -0.00828296, 0.019940224, -0.045126535, 0.027096294, -0.0037817666, 0.022359535, 0.022308603, -0.010173843, 0.004790874, 0.012860552, 0.044184275, -0.019354496, 0.022563267, -0.01237669, 0.008868688, 0.016196657, -0.026026703, 0.007270669, 0.029286407, 0.0067231404, 0.02404032, 0.0047303913, -0.011975594, 0.011237067, -0.01316615, -0.013229816, 0.017444512, 0.00824476, -0.017037049, -0.044184275, 0.026892561, 0.003998231, -0.0071815364, -0.016896984, -0.024982579, 0.01680785, -0.037410203, -0.024498716, -0.04487187, 0.018450437, 0.027019894, -0.016425855, 0.005370236, -0.03226598, 0.021557342, 0.008423026, 0.0020054823, -0.0030273232, 0.031833053, -0.007627199, 0.00095260405, -0.011892828, -0.0027233176, -0.009804579, -0.032164115, 0.022741532, -0.023250861, 0.0046253423, 0.0023556459, -0.0007500663, -0.018055707, -0.0059113977, -0.007073304, -0.0055548674, 0.013153417, 0.023747457, -0.01680785, -0.0187433, 0.02154461, -0.0074107344, -0.013739145, 0.011956494, -0.024244051, -0.0073407018, -0.0146559365, -0.020093022, 0.038479794, 0.008423026, 0.017902909, 0.005411619, -0.013255282, -0.0037276503, 0.034150496, -0.014936068, 0.032724377, -0.017622778, 0.017699176, -0.016896984, -0.014897868, -0.020958882, 0.017380847, -0.03185852, 0.008403925, 0.04494827, -0.021480944, 0.0038104162, 0.031247323, -0.00643346, 0.0015423114, 0.0015590237, -0.03175665, 0.03562755, 0.023276327, 0.013038818, 0.0032628877, 0.011313466, 0.000810947, 0.006474843, -0.016680518, -0.05409072, -0.01632399, -0.017164381, -0.003839066, 0.0029143158, -0.019278096, -0.010377575, -0.034303296, -0.025415508, -0.0057999818, 0.005382969, 0.027427357, -0.02747829, -0.0046985582, 0.018246705, 0.028471481, 0.0045839595, 0.020806082, 0.043216553, 0.021570075, -0.034099564, -0.0017030683, -0.00039472984, 0.04550853, -0.021761075, 0.006697674, -0.010842337, -0.008855955, 0.005112388, -0.034303296, -0.0056630997, 0.038148727, 0.012714121, -0.012007427, 0.02139181, 0.012822353, 0.009314351, 0.008041029, 0.02554284, 0.0076844986, 0.0008121407, 0.022385001, -0.0005001768, -0.053785123, 0.049761426, -0.04235069, -0.025708372, -0.030152267, 0.031552922, 0.0066722077, -0.024855247, -0.011326199, 0.021913873, -0.01652772, -0.0377158, -0.021888407, -0.00042815454, -0.0008626757, 0.024103986, -0.014554071, -0.009963745, 0.033182774, 0.020156689, -0.01592926, 0.036111414, 0.052562736, 0.020589618, 0.014554071, 0.009893713, 0.0068950388, 0.029617472, 0.0016616853, -0.020105755, -0.029362807, -0.001648952, 0.0116126975, 0.012166592, 0.013331682, 0.007022371, 0.01053674, 0.0042083296, 0.014375806, 0.0022060305, 0.0036862674, -0.008900521, 0.0009271376, -0.024511449, 0.006417543, 0.0057840655, -0.011116101, 0.014617737, -0.028395083, 0.02083155, -0.011046069, 0.0032230965, -0.010715005, 0.03578035, 0.00786913, 0.0049309395, -0.0035812182, -0.0058668316, 0.0038804489, 0.009301618, -0.011580864, 0.0008029887, 0.0043706778, 0.007614466, 0.056637365, 0.011784595, -0.007372535, -0.0069205053, -0.006372977, 0.0006665045, 0.043038286, 0.05368326, -0.03292811, -0.004364311, -0.0012582013, 0.0022553718, -0.006293394, -0.011116101, -0.009199752, 0.017941108, 0.058572814, -0.0072133695, -0.0113771325, 0.018603235, 0.018081173, 0.01850137, -0.033233706, -0.0070924037, 0.021799274, -0.024384117, -0.00824476, -0.027019894, 0.0077608977, 0.011593597, -0.013382615, -0.0057331324, -0.006627641, -0.008066495, -0.021200811, -0.013038818, -0.028446015, -0.008550358, 0.0021041648, -0.008582191, 0.025364576, 0.004724025, 0.008346627, 0.026230434, -0.034074098, -0.0059304973, -0.018845167, -0.00410328, 0.00058891147, -0.0060992124, 0.019303562, -0.024638781, -0.008945088, -0.045050133, 0.021659208, 0.006945972, 0.020564152, 0.012217525, 0.021188078 ]
2401.09350
210
# 6.2.3 Top-1 Retrieval We can immediately recognize the importance of Voronoi regions: They ge- ometrically capture the set of queries for which a point from the collection is the solution to the top-1 retrieval problem. But what is the significance of the dual representation of this geometrical concept? How does the Delaunay graph help us solve the top-1 retrieval problem? For one, the Delaunay graph is a compact representation of the Voronoi diagram. Instead of describing polytopes, we need only to record edges be- tween neighboring nodes. But, more crucially, as the following claim shows, we can traverse the Delaunay graph greedily, and reach the optimal top-1 solution from any node. In other words, the Delaunay graph has the desired property we described in Section 6.1. Theorem 6.1 Let G = (V, E) be a graph that contains the Delaunay graph of m vectors X ⊂ Rd. The best-first-search algorithm over G gives the optimal solution to the top-1 retrieval problem for any arbitrary query q if δ(·, ·) is proper. The proof of the result above relies on an important property of the De- launay graph, which we state first. 6.2 The Delaunay Graph
2401.09350#210
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 210, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "# 6.2.3 Top-1 Retrieval\nWe can immediately recognize the importance of Voronoi regions: They ge- ometrically capture the set of queries for which a point from the collection is the solution to the top-1 retrieval problem. But what is the significance of the dual representation of this geometrical concept? How does the Delaunay graph help us solve the top-1 retrieval problem?\nFor one, the Delaunay graph is a compact representation of the Voronoi diagram. Instead of describing polytopes, we need only to record edges be- tween neighboring nodes. But, more crucially, as the following claim shows, we can traverse the Delaunay graph greedily, and reach the optimal top-1 solution from any node. In other words, the Delaunay graph has the desired property we described in Section 6.1.\nTheorem 6.1 Let G = (V, E) be a graph that contains the Delaunay graph of m vectors X ⊂ Rd. The best-first-search algorithm over G gives the optimal solution to the top-1 retrieval problem for any arbitrary query q if δ(·, ·) is proper.\nThe proof of the result above relies on an important property of the De- launay graph, which we state first.\n6.2 The Delaunay Graph", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.018180028, 0.014820023, 0.04533607, -0.0009375015, 0.017100027, -0.015492024, 0.0005133758, 0.024912039, -0.05006408, 0.016632026, 0.026448041, -0.029928047, -0.02498404, -0.04015206, 0.023508037, 0.026712041, 0.004575007, -0.023772037, -0.018120028, 0.03184805, 0.030768048, -0.015276024, 0.005838009, -0.016536025, 0.042024065, -0.012036019, 0.05184008, 0.046176072, 0.030720048, -0.013608022, -0.0052830083, -0.016476026, -0.024420038, -0.014604023, 0.010098016, 0.010440016, -0.015240024, 0.014796023, -0.028728046, 0.047832076, 0.021336034, 0.07968012, -0.046536073, -0.035256054, 0.028080044, -0.022080034, -0.011154017, -0.033528052, -0.03163205, 0.0024120037, -0.0073500113, 0.053328082, -0.018360028, 0.0042750067, -0.020280031, 0.007668012, 0.003153005, 0.009834016, 0.0633601, -0.009168014, -0.03784806, -0.024108037, -0.0032460052, 0.015528024, 0.0062100096, 0.009300015, -0.034440055, 0.04555207, 0.035208054, -0.017232027, -0.054528084, 0.022404036, 0.05131208, -0.012420019, 0.03626406, 0.0011167517, 0.022272035, 0.026472041, -0.016176024, -0.041496065, 0.029880047, -0.03168005, 0.067680106, 0.020220032, -0.030696047, -0.035064057, -0.0059010093, -0.016344026, -0.04944008, -0.016764026, -0.012288019, 0.01276802, 0.01898403, 0.029640047, 0.05140808, 0.066000104, 0.045168072, 0.04408807, -0.015888024, 0.00646801, -0.036744058, -0.027792044, -0.0058350093, -0.009702015, 0.059712093, -0.0048600077, -0.027312042, 0.058560092, 0.017736027, -0.021492034, -0.048600078, -0.028680045, -0.03237605, 0.063024096, 0.015264024, -0.060240094, -0.04485607, 0.008826014, -0.0017475027, -0.01260002, 0.0027495043, 0.011676018, -0.010992018, 0.009498015, 0.011178018, -0.0011160017, 0.0028980046, -0.07113611, 0.002422504, 0.005856009, 0.049248077, -0.00059850095, 0.00627001, -0.035328057, -0.022260034, 0.0059280093, -0.0068160105, -0.035256054, 0.011064017, 0.049104076, -0.0066840104, -0.034368053, 0.00646801, 0.001888503, -0.033720054, 0.030840049, -0.030360047, 0.04408807, 0.046320073, 0.022944035, 0.0026220041, -0.0022125035, 0.009666015, 0.008448013, -0.020244032, -0.036288057, 0.02632804, -0.0073620114, -0.00042262566, -0.0029190045, -0.0073980116, 0.023424037, 0.0024435038, -0.021516034, -0.00658201, 0.009606015, -0.07036811, 0.012288019, -0.03139205, -0.061104096, -0.022800036, -0.036432058, -0.036936056, 0.020460032, 0.039936062, 0.012408019, -0.04492807, -0.014280022, 0.009966016, -0.02570404, -0.029904047, 0.028248044, 0.047424074, -0.0083760135, 0.01267202, 0.028800044, 0.0073320116, 0.0023565036, -0.02524804, 0.04418407, -0.0021480033, 0.00646201, 0.01888803, -0.0018030028, -0.0093060145, -0.048096076, 0.037344057, 0.034968056, 0.0072480114, -0.042864066, 0.01974003, 0.03196805, -0.008898014, -0.032304052, -0.03122405, -0.030288048, 0.05145608, -0.0011835018, -0.036648057, -0.030024046, -0.034248054, -0.027888043, -0.01944003, 0.0008197513, 0.009180014, 0.0033210053, -0.04010406, 0.054672085, 0.024072038, 0.02635204, -0.024372038, 0.0031080048, 0.013692021, -0.03228005, -0.01286402, 0.03974406, 0.033528052, -0.060816094, 0.0021765034, -0.0033240053, 0.046776075, -0.011988019, 0.022224035, -0.053424083, 0.013500021, -0.022428036, 0.0068880105, -0.014964024, 0.013740022, 0.0031770049, -0.0075960117, -0.005628009, -0.015012023, 0.016596027, 0.03684006, -0.0066240104, -0.021792034, 0.036936056, 0.017760027, 0.027096042, -0.015480024, 0.023496037, -0.0010492516, -0.05731209, 0.0011587518, -0.01920003, -0.04528807, 0.027648043, -0.008346013, -0.008652014, 0.020376032, 0.001250252, 0.008784014, 0.022488035, -0.022308035, 0.05625609, -0.03160805, -0.020556033, 0.013380021, -0.012336019, 0.008658013, 0.030720048, 0.003786006, -0.013572021, -0.0074040117, -0.015432024, -0.028440045, -0.020988032, -0.017100027, -0.020820033, 0.02534404, 0.035400055, 0.011784018, -0.0040740063, -0.004488007, -0.00096525153, -0.05688009, 0.015660025, -0.029928047, -0.020112032, 0.045744073, -0.016272025, 0.01266002, -0.0123480195, -0.02476804, -0.033672053, -0.0036420056, -0.0018645029, 0.013404021, 0.020016031, 0.046272073, 0.010482016, 0.015288024, 0.037872057, -0.060288094, -0.0028755045, 0.01288802, 0.01945203, -0.015456025, 0.041664064, -0.0061620097, -0.013716022, -0.04005606, 0.03242405, -0.051888082, -0.02608804, 0.059856094, -0.01266002, -0.012324019, 0.0052230083, -0.008346013, -0.04356007, 0.0022005034, 0.036552057, 0.011922019, -0.03144005, -0.06849611, 0.00006857823, 0.03297605, -0.037176058, 0.020532032, 0.014580023, 0.027768044, -0.021540035, -0.05673609, -0.013356021, 0.0018135029, 0.028272044, -0.005910009, 0.033456054, 0.003846006, -0.018852029, 0.020088032, 0.0036120056, 0.00071550114, 0.058080092, -0.0069120107, 0.042144068, -0.0073380116, -0.020688033, -0.0625921, -0.05208008, 0.007158011, 0.036048055, 0.03295205, 0.0041310065, -0.007914012, -0.035280056, -0.055776086, 0.020592032, -0.011316017, -0.014724023, 0.008082013, 0.018612029, -0.00618001, 0.02005203, -0.034752056, 0.015864024, -0.01282802, 0.026904043, -0.00645001, 0.059136093, -0.021516034, 0.015792025, 0.0021630034, -0.020304032, -0.004410007, -0.008820014, 0.032784052, 0.033792052, -0.0055170087, -0.041760065, -0.047928076, -0.066000104, 0.03189605, -0.010554017, -0.028800044, -0.01276802, -0.054960087, -0.02005203, -0.01261202, -0.017280027, 0.0015990025, -0.010218016, -0.014088022, 0.009378015, 0.01863603, 0.000078234494, 0.030312048, 0.053088084, 0.017796028, -0.036720056, -0.05068808, -0.0034920054, -0.03158405, -0.00029418795, 0.03864006, 0.022344034, 0.017604027, -0.0020640031, -0.012258019, 0.016176024, -0.003777006, 0.034512054, -0.01946403, 0.04392007, 0.011766018, 0.008982014, -0.010962017, 0.0059910095, 0.016116025, 0.053184085, -0.036960058, 0.021756034, -0.017604027, 0.03285605, 0.023916038, 0.013344021, 0.017832028, -0.069696106, 0.0067140106, 0.011370018, 0.041160066, 0.0041040066, -0.022080034, -0.007776012, 0.053712085, 0.028296044, 0.023748036, -0.008580013, -0.012192019, -0.07401612, -0.05222408, -0.010392016, 0.009246014, 0.015168023, -0.0038940061, -0.016764026, 0.040248062, 0.01282802, -0.018852029, 0.03312005, 0.0031470049, 0.0074760118, 0.0048480076, -0.028056044, 0.046416074, 0.01290002, -0.022512035, -0.009756016, -0.016464027, -0.001282502, -0.048096076, -0.0055650086, 0.005715009, 0.00055012584, -0.014472023, -0.02580004, 0.017808028, -0.03804006, -0.020328032, 0.00082275126, 0.03626406, -0.030792048, -0.022560036, 0.031104049, 0.048456077, 0.0060600094, 0.05683209, 0.0053430083, 0.03751206, -0.059808094, -0.05169608, -0.016392026, 0.02563204, 0.040296063, 0.05716809, 0.0627361, 0.030696047, -0.011232018, -0.03117605, -0.03888006, 0.009618015, -0.010956017, 0.0011565018, 0.009600015, -0.0048210076, -0.03417605, 0.030792048, 0.026280042, 0.03189605, 0.03888006, 0.021744033, 0.015456025, 0.05131208, 0.018516028, 0.030840049, 0.0055710087, 0.0048000077, 0.100608155, 0.010140016, 0.048864078, 0.021156034, 0.026544042, -0.022296036, 0.0079380125, 0.009594015, 0.024132038, -0.034728054, -0.0074640117, 0.008472013, -0.005004008, -0.046656072, -0.0074400115, -0.016296025, -0.023496037, -0.036000058, -0.005832009, -0.059808094, 0.0067380103, 0.027168043, -0.035832055, -0.0103020165, 0.034200054, 0.0032460052, -0.030168047, -0.020784032, 0.012708019, -0.03338405, 0.01981203, 0.030624047, 0.00021187533, -0.016752027, 0.023688037, 0.009264015, -0.041520067, 0.034968056, -0.011016017, 0.009714015, 0.007998013, -0.007128011, 0.018024027, -0.029856047, -0.012252019, -0.018780028, 0.009492015, -0.030816048, 0.013512021, 0.015960025, -0.04586407, -0.007014011, 0.028152045, 0.028752046, 0.029304046, -0.013572021, 0.035160054, 0.023808038, 0.0022620035, -0.0028770044, -0.010878017, -0.028008044, -0.032304052, 0.041616064, -0.008640014, 0.034440055, 0.0055770087, 0.013476021, -0.011400018, 0.011766018, 0.01914003, -0.04531207, 0.00650401, -0.031032048, -0.008262013, -0.0068880105, -0.016548026, -0.009006014, 0.00636601, 0.030840049, 0.0074100117, 0.02002803, -0.03880806, -0.007032011, -0.023448037, -0.013380021, -0.010476016, -0.027456043, -0.0013545022, -0.017256027, 0.024816038, 0.045648072, 0.04360807, 0.005763009, -0.04339207, -0.013104021, -0.0017010027, 0.010590017, 0.030480048, 0.017700028, -0.009036014, -0.015816025, -0.01304402, 0.00060937594, 0.020148031, 0.02553604, 0.020748032, -0.010002016, -0.018564029, -0.015912024, -0.019980032, 0.049344078, -0.003927006, 0.014472023, 0.027768044, -0.013596022, 0.016008025, 0.024072038, -0.059280094, -0.0059400094, -0.017736027, -0.035664055, -0.021420034, 0.047688074, 0.017376028, -0.0052770083, -0.011964018, -0.024360038, 0.003984006, 0.03890406, -0.03880806, 0.018828029, 0.0029910046, -0.03895206, -0.022308035, 0.002590504, -0.036816057, -0.00085650134, 0.027960043, -0.05793609, -0.029088045, -0.05169608, 0.010092015, 0.029400045, 0.017724028, 0.0074760118, 0.030336047, -0.027264042, 0.030192047, 0.015432024, 0.021756034, -0.016896026, -0.027168043, -0.010920017, -0.04324807, -0.033312052, -0.0028185043, -0.018120028, 0.0047490075, 0.016116025, 0.002499004, 0.006864011, -0.009510015, 0.07411212, 0.008412013, -0.015216024, -0.0037350059, 0.010566017, -0.037176058, -0.030216048, 0.0077880123, 0.0021255033, -0.01920003, -0.059088092, 0.023976037, 0.008964014, -0.016248025, -0.022368034, -0.02505604, -0.019596031, -0.0021870034, -0.007014011, 0.012420019, 0.04459207, -0.0130920205, 0.0032100051, -0.011736019, -0.013308021, 0.021876033, -0.008382013, -0.026184041, -0.0036450056, 0.016200025, -0.027768044, -0.043584067, 0.009726015, -0.020856032, 0.0057690092, 0.011220017, 0.062496096, -0.0033210053, 0.020556033, -0.01903203, -0.028776046, -0.023424037, -0.035880055, 0.012210019, 0.004293007, 0.03266405, -0.003885006, -0.0074160118, -0.042264067, 0.040896066, -0.041256063, 0.009408015, 0.016524026, -0.013140021, -0.04005606, -0.0017475027, 0.0101040155, -0.009258014, -0.01906803, 0.040776063, 0.024120038, -0.012264019, -0.008574014, 0.01263602, 0.0033870053, 0.009270014, -0.04447207, -0.015396024, -0.010800017, -0.0058740093, 0.020532032, 0.010446017, 0.025992041, 0.03962406, 0.034728054, -0.027096042, -0.00639001, 0.023688037, -0.01952403, 0.008148013, -0.006864011, -0.017532028, 0.008142013, -0.008544013, -0.020400032, -0.020376032, -0.022788035, 0.037920058, -0.015672024, -0.023556037, -0.016440026, 0.023712037, 0.01874403, -0.013704021, -0.008406013, -0.007710012, 0.024564039, -0.04509607, 0.03297605, 0.022608036, 0.0067440104, -0.022272035, 0.03657606, 0.02558404, -0.013944021, 0.027768044, -0.079968125, 0.020364031, -0.05769609, -0.011088017, 0.017076027, 0.0015172524, 0.006960011, 0.0011475018, 0.0041970066, -0.011298018, 0.027408043, -0.03967206, -0.0030720048, -0.02558404, -0.023712037, -0.003951006, -0.010482016, 0.040080063, -0.003855006, -0.08467213, -0.028416045, 0.02498404, -0.030744048, 0.0071040113, 0.009378015, 0.054240085, -0.061248094, 0.01263602, -0.017172027, -0.042936068, -0.0028560045, -0.011898018, -0.011340017, 0.020748032, 0.0062880097, -0.028416045, 0.034752056, 0.001900503, -0.029208045, -0.018252028, 0.00045712572, 0.021408033, -0.012138019, 0.009372015, -0.028848045, 0.0040530064, -0.040488064, 0.0061080097, 0.0073620114, -0.0054780087, 0.015228024, -0.003885006, 0.058656093, -0.011544018, -0.026880043, 0.026592042, -0.030432047, 0.016092025, 0.010536017, 0.003918006, -0.068544105, -0.0011587518, -0.03220805, 0.023520038, -0.030960048, 0.039072063, -0.03127205, -0.00647401, -0.033504054, 0.0014700023, -0.03777606, -0.026304042, -0.024300039, 0.004443007, 0.022236034, 0.0017775028, 0.0037920058, 0.0030810048, -0.02474404, -0.004527007, 0.007056011, 0.060192093, -0.022692036, -0.017220028, -0.028224044, -0.011418018, 0.036816057, 0.034344055, -0.017916027, 0.02632804, 0.010320016, -0.009228014, 0.028992046, 0.0046590073, -0.000068250105, 0.017136026, -0.008862014, -0.035976056, 0.023844037, -0.014856023, -0.0076560117, -0.0035880057, 0.049680077, -0.004944008, -0.029664047, 0.0028665045, -0.04418407, 0.01905603, -0.01905603, -0.004917008, -0.00611401, -0.0007717512, 0.026784042, 0.0005141258, -0.017724028, -0.003090005, -0.022644036, 0.023940038, 0.014232023, 0.026208041, 0.015972026, -0.0071880114, 0.0029670047, -0.03333605, 0.0035370055, 0.034416053, -0.034584053, 0.037656058, -0.020388031, 0.014580023, 0.011088017, -0.0626881, -0.052896082, -0.027144043, 0.017832028, 0.03132005, 0.028680045, -0.010524017, -0.004680007, 0.02613604, -0.0020670032, 0.014376023, 0.012300019, -0.015864024, -0.023820037, 0.009390014, 0.018936029, 0.0045660073, 0.007824012, 0.024372038, 0.093744144, 0.009162014, 0.034848053, 0.020412032, 0.033624053, -0.005232008, 0.01898403, -0.052368082, -0.010326016, -0.0053430083, 0.016248025, 0.02005203, 0.016740026, -0.0059610093, 0.007272011, -0.009294014, -0.022704035, -0.0063540097, 0.021540035, 0.023340037, -0.024288038, 0.021540035, 0.030768048, -0.021024033, 0.0036930058, 0.013284021, 0.011988019, 0.027000042, 0.01957203, 0.016344026, -0.010032016, 0.011412018, -0.036120057, 0.03784806, 0.0043170066, 0.024312038, 0.016668025, -0.03861606, 0.047928076, -0.023232037, -0.012456019, -0.0027180042, 0.086640134, 0.02031603, 0.024312038, 0.019668031, 0.02500804, -0.0027495043, 0.0013545022, -0.0010560016, 0.014028022, 0.005091008, 0.008436013, 0.021804035, 0.005034008, -0.022140035, -0.03931206, -0.0071160113, -0.0034290054, 0.017424027, 0.042600065, 0.013872022, -0.0018315029, 0.035232056, -0.010758017, -0.024888039, 0.016668025, -0.01308002, -0.027432043, -0.047664076, 0.00092325144, -0.017820029, -0.013908022, 0.0029355045, 0.030648047, -0.011322018, -0.059088092, 0.001244252, 0.023724036, -0.0072300113, -0.004707007, -0.021636033, -0.010386016, -0.0016665026, 0.0130920205, -0.005775009, 0.042312067, 0.018624028, -0.019860031, -0.015576025, -0.04593607, -0.02577604, 0.024144039, -0.011748019, -0.018564029, 0.0651841, -0.009774015, -0.013908022, 0.015240024, -0.005976009, 0.00033825054, 0.005067008, 0.015900025, -0.05049608, 0.016272025, -0.037920058, -0.017436028, -0.009714015, -0.0075180116, -0.0072420114, -0.047688074, 0.024936039, 0.0029295045, -0.0081240125, -0.03355205, 0.04620007, 0.008628014, -0.012168019, -0.0066780103, -0.004398007, 0.0100500155, -0.01294802, 0.054672085, -0.020352032, 0.012144019, 0.015000024, 0.025944041, 0.00029831295, -0.01288802, 0.021324033, -0.016728027, -0.00036225058, -0.036336057, 0.018612029, -0.04365607, 0.0134640215, -0.0048060077, 0.0034590054, 0.013968022, -0.003711006, 0.041400064, -0.029184045, -0.023412036, -0.021588033, -0.014028022, 0.014640023, 0.0056430087, 0.0023385037, -0.01250402, -0.0037980059, 0.00619201, 0.007488012, 0.021780035, -0.011214018, 0.0073200115, 0.013140021, 0.0133320205, 0.013536021, 0.0059460094, 0.046488073, 0.015984025, 0.026856042, 0.0014902523, 0.05270408, -0.015876025, -0.0143280225, 0.004503007, 0.008790013, -0.037344057, 0.014100022, 0.0055260086, 0.038712062, -0.0037980059, 0.06974411, -0.003180005, -0.010668017, -0.0128400205, -0.023472037, -0.0044010067, 0.027264042, -0.024240037, 0.004965008, 0.016152026, -0.015504024, 0.013356021, 0.015108024, 0.0007638762, -0.014484023, 0.007002011, -0.017028026, 0.030168047, 0.002028003, -0.017124027, -0.007074011, -0.016320026, 0.01268402, 0.029520046, -0.013140021, 0.019932032, -0.022332035, 0.024840038, 0.012066019, 0.01291202, 0.0005617509, -0.00645601, -0.015732024, -0.012240019, -0.01940403, -0.0028275044, 0.022836035, -0.01288802, 0.03213605, -0.0142080225, -0.017472027, 0.036600057, 0.026928043, 0.015696025, 0.0067020105, 0.01306802, 0.03957606, 0.01237202, -0.041568063, 0.01944003, 0.0027795043, 0.016884027, -0.016404025, 0.006930011, 0.012312019, 0.0034830053, -0.022848036, 0.010092015, -0.012180019, -0.010578017, 0.0018600029, 0.016920026, 0.012126019, 0.0058470094, -0.0034680055, 0.0040740063, 0.023004036, 0.021144032, -0.024816038, 0.027432043, -0.008928014, -0.0060480093, 0.0068460107, 0.028800044, -0.01272002, -0.0002553754, 0.0005167508, -0.016908027, -0.042528067, 0.020760033, -0.005589009, -0.016416026, -0.03417605, -0.003240005, 0.006924011, -0.010596016, -0.013308021, 0.0035460056, 0.020772032, 0.022332035, 0.007026011, 0.0028170045, 0.035784055, 0.013572021, 0.008100012, -0.02522404, -0.00066037604, 0.018588029, 0.022728035, -0.011394017, -0.014640023, -0.05011208, 0.0010740017, 0.011958019, -0.011316017, -0.0036150056, -0.022512035, 0.008256013, -0.054144084, 0.014040022, 0.0037680059, -0.022824036, -0.03228005, -0.0034800055, -0.022800036, 0.014160022, 0.035568055, -0.016164025, 0.014880023, -0.016596027, -0.011748019, 0.022992035, 0.015984025, 0.037440058, -0.021852033, 0.0008092513, 0.005076008, 0.001321502, -0.048648074, -0.04372807, -0.004488007, 0.029784046, -0.0049320078, -0.0017130027, -0.034608055, 0.023028037, -0.012234019, 0.052608084, 0.026448041, -0.027864043, -0.029688047, 0.0058410093, 0.005715009, -0.02611204, 0.0006918761, 0.021300033, -0.022356035, 0.027984044, 0.045216072, -0.0010170016, -0.020400032, 0.014892023, -0.022068035, -0.023736037, 0.0017205027, -0.005706009, -0.010482016, -0.013104021, -0.011544018, 0.012432019, -0.00641401, 0.03271205, -0.05222408, 0.010938017, -0.029088045, 0.001936503, 0.021816034, -0.00078225124, -0.027360043, -0.0029010046, 0.032880053, 0.0084960135, 0.014220023, -0.0048930077, 0.00646201, 0.0009367515, -0.017184027, 0.010824017, 0.03868806, 0.009132015, 0.022632034, 0.016476026, 0.0059460094, -0.0013155021, -0.0041250065, -0.023976037, -0.01274402, 0.031008048, -0.03880806, -0.017760027, 0.00085575134, 0.014076022, 0.027048042, 0.02505604, -0.011940018, 0.011964018, -0.027840044, -0.0069660107, -0.020352032, -0.0073320116, 0.01813203, -0.01950003, 0.01306802, -0.014664023, -0.002610004, 0.010632017, 0.017256027, 0.004473007, 0.02577604, 0.026808042, 0.0041850065, -0.0018375028, -0.01839603, 0.0018360029, -0.020112032, -0.003234005, -0.03820806, 0.014760023, 0.0056100087, 0.00019762531, -0.043704066, 0.007980012, -0.015132024, 0.020964032, 0.026832042, 0.014412022, -0.003222005, -0.003990006, 0.015312023, -0.021108033, -0.011664018, 0.015972026, -0.010014015, -0.0073140115, 0.00003358599, -0.009732015, 0.03856806, 0.008574014, 0.032928053, 0.014436022, -0.009768016, 0.0008272513, 0.023112036, 0.021024033, 0.036936056, -0.007854012, 0.027936043, -0.023112036, 0.001986003, -0.009876016, 0.009732015, -0.0021030032, -0.0031110048, 0.04442407, 0.01863603, 0.016128026, 0.0018780029, -0.0022545035, -0.0036810057, 0.02534404, -0.0641761, 0.036216058, 0.0041730064, 0.009870015, 0.0048630075, 0.008526013, -0.02582404, -0.0055440087, -0.009498015, -0.03868806, -0.017136026, -0.01264802, 0.011718018, -0.0001290002, -0.017676027, -0.021420034, -0.025176039, 0.014112022, -0.0036990058, -0.007704012, 0.027408043, -0.019908031, -0.021120032, 0.0033720052, -0.0052560084, 0.024624038, 0.028656045, 0.022836035, 0.0066360105, -0.021624034, 0.004740007, 0.03285605, 0.042288065, -0.021768034, -0.01308002, -0.0068940106, 0.0030180048, 0.01262402, -0.036984056, -0.015552024, 0.059760094, 0.0139560215, 0.0077280123, 0.02558404, 0.034920055, -0.0041010063, -0.0022920035, 0.022968035, -0.015708024, -0.0016350026, 0.020568032, 0.0025395039, -0.042192064, 0.04452007, -0.05784009, -0.03727206, -0.0048240074, 0.021732034, 0.0033990054, -0.026280042, -0.041640066, 0.009096014, -0.00651001, -0.026712041, -0.016440026, 0.035136055, -0.021216033, -0.0024120037, -0.024648039, 0.0018495029, 0.01891203, 0.007050011, -0.017628027, 0.011502018, 0.00646201, 0.006918011, 0.03684006, 0.01960803, 0.01992003, 0.0059970096, -0.03148805, -0.053520083, -0.03312005, -0.010890017, 0.00021787533, 0.0071040113, -0.03240005, 0.027480043, 0.023112036, -0.009534015, 0.011136018, 0.01927203, -0.01264802, -0.0028560045, 0.024012037, -0.033984054, 0.011778018, -0.033048052, -0.004452007, 0.016824026, -0.0059400094, -0.004380007, -0.0072960113, 0.030384047, -0.008268013, 0.017676027, 0.0053070085, 0.007062011, 0.021156034, 0.0071700113, 0.016728027, -0.015708024, -0.016404025, 0.0048900074, 0.021468034, 0.0010102516, 0.03909606, 0.026880043, 0.009450015, -0.013788021, -0.011316017, 0.01899603, 0.061104096, 0.03204005, 0.0043740068, 0.0001611565, 0.014220023, 0.01873203, 0.028560044, 0.002485504, -0.00644401, 0.008220013, 0.01903203, 0.0047640074, -0.010236016, 0.0041550063, 0.008076013, 0.0016620026, -0.016836027, -0.001918503, 0.009294014, -0.023808038, 0.007764012, -0.015588025, -0.009810016, 0.010692017, -0.023928037, -0.013488021, -0.014544022, 0.011094017, 0.003219005, 0.0067260107, -0.03187205, 0.00024150038, -0.023544038, -0.0103020165, 0.01954803, 0.008172013, -0.0017805027, 0.006870011, -0.03684006, -0.012276019, -0.020292033, -0.0055050086, -0.00653401, -0.007134011, 0.03180005, 0.001926003, 0.010818017, -0.06744011, 0.008142013, -0.00039487562, 0.03835206, 0.0652801, 0.0047820075 ]
2401.09350
211
Fig. 6.3: Illustration of the second case in the proof of Lemma 6.1. Lemma 6.1 Let G = (V, E) be the Delaunay graph of a collection of points X ⊂ Rd, and let B be a ball centered at µ that contains two points u, v ∈ X , with radius r = min(δ(µ, u), δ(µ, v)), for a continuous and proper distance function δ(·, ·). Then either (u, v) ∈ E or there exists a third point in X that is contained in B. Proof. Suppose there is no other point in X that is contained in B. We must show that, in that case, (u, v) ∈ E. There are two cases. The first and easy case is when u and v are on the surface of B. Clearly, u and v are equidistant from µ. Because there are no other points in B, we can conclude that µ lies in the intersection of Ru and Rv, the Voronoi regions associated with u and v. That implies (u, v) ∈ E.
2401.09350#211
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 211, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Fig. 6.3: Illustration of the second case in the proof of Lemma 6.1.\nLemma 6.1 Let G = (V, E) be the Delaunay graph of a collection of points X ⊂ Rd, and let B be a ball centered at µ that contains two points u, v ∈ X , with radius r = min(δ(µ, u), δ(µ, v)), for a continuous and proper distance function δ(·, ·). Then either (u, v) ∈ E or there exists a third point in X that is contained in B.\nProof. Suppose there is no other point in X that is contained in B. We must show that, in that case, (u, v) ∈ E.\nThere are two cases. The first and easy case is when u and v are on the surface of B. Clearly, u and v are equidistant from µ. Because there are no other points in B, we can conclude that µ lies in the intersection of Ru and Rv, the Voronoi regions associated with u and v. That implies (u, v) ∈ E.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.010027197, -0.007346012, 0.029296856, 0.005547656, 0.0003050053, -0.023542115, -0.005171636, 0.00874655, 0.010326924, 0.034528438, 0.0032016188, 0.0005272453, -0.02437045, -0.021078913, 0.0016266948, 0.0499616, 0.010272428, 0.014888208, 0.020599352, 0.046255898, 0.053100552, 0.040174186, 0.04573274, 0.013874589, 0.016207004, 0.003997255, 0.030103391, 0.015367771, 0.041678265, -0.04438125, 0.0039836313, 0.004346027, 0.009618481, -0.05658827, -0.039389446, 0.0787353, 0.013133449, 0.060599152, -0.016784657, 0.032196023, 0.009918206, 0.05719862, -0.030604752, -0.025656547, 0.023890888, 0.04082813, -0.0017574844, -0.007084433, 0.018179744, -0.016337793, -0.022582993, 0.025438564, 0.041351292, -0.060206782, -0.05022318, 0.011716562, -0.034506638, 0.029689224, 0.03047396, -0.03821234, -0.038277738, 0.010920926, -0.01861571, 0.009967253, -0.017602092, 0.0050027, -0.030277777, 0.018463122, 0.05658827, 0.016021717, -0.071323894, 0.020272378, 0.0024727397, 0.021078913, 0.037492998, 0.026114311, 0.02598352, -0.00075885176, -0.037166025, -0.012152527, 0.013830993, -0.011836452, 0.05824494, 0.016392289, -0.04435945, -0.07611951, -0.0029291406, 0.02711703, -0.06395608, -0.0060272175, 0.0037956212, -0.04159107, 0.026179705, 0.014888208, 0.035422165, 0.036839053, 0.032108832, -0.0101198405, 0.006435935, -0.008735651, -0.034136068, -0.012523098, 0.016828254, -0.03550936, 0.0899832, 0.00813075, 0.024544835, 0.064392045, -0.034899008, -0.009460443, 0.022931766, 0.00015463137, 0.031171506, 0.049787216, 0.039542034, -0.052141428, -0.004959103, -0.038822692, -0.00033889475, -0.010108941, 0.0021444033, 0.0054577384, 0.011651168, -0.06199424, 0.028860891, -0.018168846, 0.0018419526, -0.053318534, 0.04512239, 0.0037928964, 0.028577514, 0.00450134, 0.020272378, -0.0001719167, -0.024130668, 0.011226102, 0.00059127767, -0.029427646, 0.009634829, -0.012163427, -0.00725337, -0.0063650906, -0.011978141, 0.0031770957, 0.0031716463, 0.026223302, -0.013885489, 0.036642868, 0.06587433, 0.025765538, -0.04174366, 0.004474092, 0.025765538, 0.030713743, -0.014048976, -0.038953483, -0.020969922, 0.051923446, 0.026397688, 0.03208703, -0.018768298, -0.0073623606, 0.018670205, -0.018746499, 0.0150516955, 0.03437585, -0.0036157856, 0.022953562, -0.044032477, -0.04970002, -0.035465762, 0.009662077, -0.02936225, 0.025700143, -0.00924791, 0.007841922, -0.010915477, -0.04300796, 0.052315813, -0.014899108, 0.003989081, 0.020784637, 0.073634505, -0.041460283, 0.002512249, 0.07563995, 0.016817354, -0.027008038, -0.0071062315, -0.010228831, -0.027073434, 0.0069645424, 0.00059604604, 0.01862661, 0.013024458, -0.07389609, 0.009722022, 0.007956363, 0.0132097425, -0.00001689152, 0.0437055, 0.030953523, -0.004596707, -0.03332953, -0.03635949, -0.033046156, 0.046909846, 0.0073950584, -0.030604752, 0.003836493, -0.030888129, -0.028228741, -0.03734041, 0.0025490336, -0.008708403, 0.039912608, -0.055759937, 0.018430425, 0.0037819974, 0.037710983, -0.029580234, 0.029841812, 0.027792776, 0.0017234245, -0.014539436, 0.028904486, 0.01650128, -0.061427485, -0.0053678206, -0.00030790037, 0.046691865, -0.023258738, -0.01710073, -0.07899688, 0.021144308, -0.017765578, -0.03513879, 0.021187905, -0.034179665, 0.008577613, -0.008446824, 0.028206943, -0.010593953, 0.006931845, 0.02772738, -0.009057175, -0.006321494, 0.040413965, 0.007885519, 0.0039046125, -0.017318714, 0.033438522, 0.0064250357, -0.03437585, -0.018463122, -0.0039046125, -0.012294216, 0.00020469924, -0.008174346, -0.010425015, 0.012653887, -0.0029809114, -0.004781992, -0.005771088, 0.018528517, 0.011389589, -0.016076213, 0.004103522, 0.036163308, -0.013471322, -0.006408687, 0.04185265, -0.032653786, -0.017155226, 0.013078953, -0.017547596, 0.00040497072, -0.0074986, 0.009275158, -0.060773537, 0.032566592, 0.021798255, 0.022517597, 0.028272338, 0.012675686, -0.028294135, -0.041198704, 0.014277858, -0.009972702, -0.023760099, 0.05759099, -0.01937865, -0.013384129, 0.0035449413, -0.010174336, -0.05523678, -0.021460382, -0.044948004, 0.013580313, -0.0014441344, 0.0116075715, 0.017296916, 0.008359631, 0.07080074, -0.0362505, 0.0017956313, -0.0020653848, 0.038931683, -0.021198804, 0.010724742, -0.006408687, -0.028054355, -0.046343092, 0.0075912424, -0.04037037, -0.00009409013, 0.004051751, -0.0012690672, -0.0424848, -0.008643009, 0.04335673, 0.009711123, 0.017111631, -0.0011164794, -0.0033814544, -0.002397808, -0.042114228, -0.005574904, 0.019596633, -0.029623829, -0.015193384, 0.03324234, -0.0037956212, 0.0020681096, 0.00079154916, 0.0036675564, -0.006512229, 0.036076114, 0.0059781717, 0.0137982955, -0.015542156, -0.01935685, 0.04887169, -0.043814495, 0.012566694, 0.0412423, 0.006185255, 0.028708303, 0.055977922, 0.0026852726, -0.07032117, -0.056675464, -0.03550936, 0.028315933, 0.003847392, -0.036773656, -0.023934485, -0.04435945, -0.01686095, 0.014092572, 0.01449584, -0.0153241735, -0.008217942, 0.024566634, -0.005787437, 0.03646848, -0.01237051, -0.014713823, -0.02088273, 0.00029563883, -0.0042070635, 0.08453363, -0.023585713, 0.024544835, -0.023956282, 0.0012445442, -0.011454984, 0.0060653645, -0.007651188, -0.012708383, -0.016490381, -0.010604851, -0.037318613, -0.029732822, 0.012163427, -0.003264289, -0.04512239, 0.010343272, -0.0005909371, 0.027661987, -0.007863721, -0.0015708368, -0.016632069, -0.007989061, 0.0032833621, -0.015836433, 0.049525637, 0.019847311, 0.0124904, 0.028860891, -0.027138827, -0.041198704, -0.029711023, 0.0019536687, 0.0028528466, 0.04311695, 0.0040435763, 0.030888129, 0.014277858, -0.0021798254, -0.034942605, 0.0056293993, 0.0018978106, -0.015226082, -0.0058528315, 0.05022318, 0.02299716, 0.008986331, -0.00007927413, 0.04274638, -0.00010865068, 0.04084993, -0.049176864, 0.021209702, -0.0071552773, -0.026899047, -0.028708303, 0.07258819, 0.022844572, -0.044686425, -0.008087153, 0.018986281, 0.0662231, 0.020599352, -0.027770977, -0.03435405, 0.046430286, -0.05671906, -0.036664665, -0.026070714, -0.027422206, -0.029929005, -0.022713782, 0.033046156, 0.006572174, 0.030168787, 0.012555795, -0.022430405, 0.018986281, 0.0112152025, -0.032523, 0.007509499, 0.01061575, 0.014637529, -0.022670185, -0.012675686, 0.036446683, 0.032544795, -0.008860991, -0.0027847271, 0.02835953, 0.01813615, -0.017209724, 0.007841922, -0.025547555, 0.02537317, -0.0067465603, 0.027836373, -0.019029878, -0.018517619, -0.015956324, -0.02137319, 0.079432845, -0.032217823, -0.0034986201, 0.02648488, 0.022604791, -0.029950803, 0.062386606, 0.06561275, 0.0549752, -0.020446764, -0.022691984, -0.0237383, -0.002198899, 0.024196064, 0.0649152, 0.014343252, 0.004697524, -0.007220672, -0.059552833, -0.028032556, -0.0005115778, -0.0077002337, -0.011356891, 0.0155966515, -0.000419957, -0.02986361, 0.051749058, 0.048435725, 0.01910617, 0.03173826, 0.021035317, 0.039912608, 0.043291334, 0.015226082, -0.013514918, -0.0067901565, -0.019727422, 0.018190645, 0.02162387, 0.018157948, 0.0387137, 0.0063923383, 0.005672996, -0.0050435713, -0.014790117, 0.035749137, -0.03149848, -0.014572134, 0.013100752, 0.013961783, -0.019760119, -0.00368663, -0.008779247, 0.0016730161, -0.01161847, -0.009820114, -0.055977922, -0.0077165826, 0.01523698, -0.025939925, -0.047650985, 0.024196064, 0.03572734, -0.026986241, -0.0149972, -0.005425041, 0.03725322, -0.007509499, 0.0073787095, -0.007405957, 0.017939964, 0.031672865, -0.0021839128, -0.0025572078, 0.02785817, -0.004920956, 0.011901848, 0.028664706, 0.0014059875, -0.0017343237, -0.0056185005, -0.003446849, -0.012708383, 0.014234261, -0.03274098, 0.029580234, -0.020239681, -0.008779247, 0.001062665, 0.0073569114, 0.02136229, 0.029078873, -0.0063051456, 0.07420126, 0.010702943, -0.020588452, 0.006544926, 0.015825534, -0.026419485, -0.025721941, 0.020817334, -0.025569353, 0.02399988, -0.015422266, 0.019509438, 0.0025830932, -0.0162615, -0.011836452, -0.010272428, -0.003724777, -0.029318653, -0.01574924, 0.00092642586, -0.017700184, 0.0023078902, -0.02849032, -0.00081062265, 0.0031825453, -0.025155187, -0.027792776, -0.04071914, 0.0034768218, -0.01149858, -0.0008910037, -0.02137319, 0.005125315, -0.013776498, 0.011204303, 0.013645708, -0.012283317, 0.029950803, -0.016850052, 0.015836433, 0.0076075913, 0.020948123, 0.028381329, 0.028097952, -0.013536717, 0.008604862, 0.01810345, 0.015640248, 0.02674646, 0.012904568, 0.038277738, 0.0100054, -0.036577474, 0.036076114, -0.009640278, 0.048522916, 0.022844572, 0.0069154967, -0.0073569114, -0.012196124, 0.023912687, 0.021885449, -0.035661947, 0.02161297, -0.03707883, -0.03424506, -0.029449442, 0.033852693, 0.0084740715, 0.0067465603, -0.040326774, -0.038255937, 0.04335673, -0.0054877107, -0.030037995, -0.0054495637, -0.026463082, -0.015542156, -0.020566653, -0.022256019, -0.013187945, -0.013776498, 0.04185265, -0.04660467, -0.014310555, -0.041830853, 0.0039427597, 0.021460382, -0.0008971345, 0.0072315712, -0.0054332153, -0.009651178, 0.02737861, 0.017907267, -0.007847372, 0.007487701, -0.012675686, 0.010441365, -0.03790717, -0.030931724, 0.0032833621, -0.01586913, 0.018147048, -0.0022397707, 0.029166065, 0.043269537, -0.019258758, 0.029187864, -0.003610336, 0.003675731, -0.0026648368, -0.026201503, -0.01524788, -0.044817213, -0.007335113, -0.05423406, -0.017885469, -0.05048476, 0.036642868, -0.016010819, -0.016283296, -0.012196124, 0.017209724, -0.04786897, -0.035596553, 0.01712253, 0.011760158, 0.084010474, -0.0016416811, 0.008141648, 0.0022002615, 0.013907287, -0.009569434, -0.0055667297, -0.075770736, 0.008855541, 0.035073392, -0.024937205, -0.033809096, -0.0063160444, -0.04296436, 0.012806475, -0.016326893, 0.0337219, 0.009563984, 0.009711123, -0.016010819, -0.003237041, -0.016468583, -0.025460362, 0.00537327, -0.0027029838, 0.033896286, 0.0020435865, 0.020163387, -0.020599352, 0.0074005076, -0.04699704, 0.012795576, 0.014288757, -0.020457663, 0.0012322826, 0.012163427, 0.0038637407, -0.04673546, 0.008212493, 0.027705584, 0.032021638, -0.014528537, -0.01024518, 0.01461573, 0.028010758, -0.0021580274, -0.030299576, 0.006201604, -0.029841812, 0.0015721992, 0.008054456, 0.020272378, 0.021602072, 0.052403007, 0.0174822, -0.061296694, -0.0148555115, 0.07821214, -0.0071934243, 0.005645748, -0.025678346, -0.0026444008, -0.010141638, 0.000017519496, -0.018386828, 0.0055176835, -0.017721983, -0.03184725, 0.01362391, -0.027095232, -0.014877309, 0.05161827, 0.033089753, -0.023062555, -0.039912608, -0.02063205, 0.07385249, -0.0063814395, 0.012969962, 0.0077002337, 0.015672946, -0.017024437, 0.05148748, 0.017078932, 0.0006372584, -0.0016266948, -0.04948204, -0.012207023, -0.0069590933, -0.010795586, -0.02223422, -0.017416807, 0.015454963, 0.002429143, 0.009563984, 0.0034386748, 0.0041171457, -0.042898968, 0.011356891, -0.052795377, -0.02286637, -0.015651148, 0.012860971, 0.050877128, -0.009645728, -0.08544916, 0.011662067, 0.017972661, -0.018539416, 0.010664796, 0.025721941, 0.034768216, -0.0072261216, 0.026332293, -0.018081654, -0.012719282, -0.008888239, -0.030626548, -0.0187574, 0.008773798, 0.007182525, -0.028512118, 0.046648268, 0.034136068, -0.029929005, 0.04387989, 0.0005756102, 0.032566592, 0.008163447, -0.002049036, 0.0091007715, -0.012337812, -0.06025038, -0.0021907247, -0.010207033, 0.008359631, 0.0042315866, -0.010528557, 0.021656567, 0.007596692, -0.0108228335, 0.014059875, -0.019280557, -0.005408692, 0.021187905, 0.048304934, -0.02859931, -0.015302376, -0.0362287, 0.037928965, -0.02674646, 0.01523698, -0.02661567, 0.0059672724, -0.009019028, -0.018779198, -0.0174931, 0.0013010834, 0.0008766986, -0.0016784656, 0.0062179524, 0.005307875, 0.02199444, -0.026310494, -0.006931845, 0.0030762788, -0.016196104, 0.017765578, -0.01287187, -0.043465722, -0.033896286, 0.0010183873, 0.026157906, -0.02463203, 0.0016362316, -0.010534007, -0.0061307596, -0.0003743169, 0.0042288615, 0.0042806324, -0.003073554, -0.033700105, 0.027073434, -0.07106231, 0.028185144, -0.022539396, 0.0064795315, -0.031324092, 0.083269335, 0.01111711, -0.028708303, 0.017667485, -0.009918206, 0.00071866123, -0.015454963, -0.007220672, -0.023520317, -0.01823424, 0.018681105, 0.0044059725, -0.024392247, 0.00072683557, -0.055803534, 0.034027077, -0.002170289, 0.026681066, 0.041787256, -0.00206266, 0.0046321293, -0.04074094, 0.018724702, -0.009809215, -0.04847932, 0.017395008, -0.034419447, 0.016283296, 0.03186905, -0.025198784, -0.040762737, -0.016174305, -0.0013828268, 0.030779136, 0.007520398, -0.0043514767, 0.005386894, -0.0035939873, 0.0061961543, 0.047389407, 0.00033651057, 0.007956363, -0.01762389, -0.02524238, 0.046517476, -0.040086992, 0.020730142, 0.0034686474, 0.013765599, 0.021187905, 0.027400408, 0.000007136587, 0.0036076114, -0.016653867, 0.013471322, 0.008326934, 0.0023501245, -0.015553055, -0.00949859, 0.054670025, 0.025809135, -0.031890847, -0.01436505, -0.029035276, -0.009144369, -0.013384129, 0.013711103, 0.0062288516, 0.007574894, -0.008991781, -0.010686595, -0.012305115, -0.006283347, 0.009585783, -0.003997255, -0.030822733, 0.044424847, 0.028010758, 0.0039427597, -0.03958563, -0.036446683, 0.01849582, -0.015542156, -0.007825574, 0.006299696, -0.031912647, 0.022888169, -0.033852693, -0.039149668, -0.04074094, 0.059640028, -0.020185186, 0.033918086, 0.0060653645, -0.0132097425, -0.014550336, 0.011269698, 0.029078873, 0.009438645, -0.011280597, -0.03023418, -0.017057136, -0.012817374, -0.0162397, -0.01962933, 0.027923565, 0.005771088, 0.016043516, 0.013765599, -0.0024795516, -0.032675587, 0.064392045, 0.028228741, -0.048522916, 0.006724762, 0.012130729, -0.018724702, -0.0362505, 0.0027697408, -0.007841922, -0.040697344, 0.0045422115, 0.010768338, -0.018321434, -0.030582953, -0.01037597, -0.007694784, 0.017275117, 0.004645753, -0.018223342, 0.014888208, 0.011520378, 0.009411396, 0.005171636, 0.031803656, 0.0147356205, -0.0034550235, 0.023411326, -0.045645546, -0.012610291, 0.05196704, 0.00023909962, 0.017602092, -0.0009489053, -0.019803716, 0.0011832366, -0.0040326775, 0.0012063972, 0.014593932, -0.026550276, -0.01948764, -0.02487181, -0.031345893, -0.016185205, -0.01937865, -0.022408606, 0.0009039464, 0.0027029838, -0.033067953, -0.0055394815, 0.0076402887, 0.0060381168, -0.030321373, 0.032675587, 0.011051715, -0.020969922, 0.009389599, -0.023258738, -0.011057165, 0.0031389487, 0.030343171, 0.0034168765, 0.030037995, 0.0045667347, 0.011335093, -0.012316015, -0.028948084, 0.0014468592, -0.023760099, 0.0038310434, -0.020773737, -0.00887189, -0.012414106, 0.024087073, 0.019923605, -0.0023501245, -0.005160737, -0.017961763, 0.024566634, -0.011433185, -0.014070774, -0.02262659, -0.009405947, 0.045296773, 0.012065334, -0.009106222, -0.00029768242, 0.021177005, -0.013591212, 0.016032618, 0.00038896262, 0.0048555615, -0.0038174195, 0.0027152451, -0.027792776, 0.01886639, 0.0069972402, 0.018855492, -0.00912257, 0.0025176986, 0.0011539451, 0.0662231, -0.01650128, -0.023149747, 0.018713802, -0.017929066, 0.0016975391, 0.013569414, -0.0045885327, 0.036163308, -0.01900808, 0.057939764, 0.04045756, 0.027051635, 0.055193182, -0.023215143, -0.01962933, 0.040152386, -0.028163346, 0.014692024, 0.02061025, -0.026702862, 0.005506784, -0.005024498, 0.020294176, -0.007444104, 0.015781937, -0.006893698, 0.023018958, 0.013656607, 0.007732931, -0.02923146, 0.0089045875, 0.015258779, 0.008653907, -0.04300796, 0.016207004, -0.046648268, 0.014768318, 0.0044577434, -0.029972602, -0.00089985924, -0.015694745, -0.038321335, -0.030561155, -0.01897538, 0.023258738, 0.03686085, 0.00437055, 0.006490431, 0.0046157804, -0.0032343161, 0.031825453, 0.032108832, 0.0072806175, 0.00356129, 0.013416827, 0.047389407, 0.013809195, -0.011847352, 0.035378568, 0.03023418, 0.0474766, -0.010828284, 0.011901848, 0.013711103, -0.0162506, -0.01588003, 0.012588493, 0.0046784505, -0.021939944, 0.0108609805, 0.02735681, -0.008419576, -0.0052915267, -0.027182424, 0.008953634, -0.0028501218, -0.03300256, -0.0041798153, 0.026266897, 0.008381429, 0.0074277557, 0.037667386, 0.014953603, -0.012305115, 0.0099618025, -0.0024264182, 0.017700184, -0.02386909, 0.011182505, 0.004247935, -0.010365071, 0.016533976, -0.009569434, 0.013220642, -0.015215183, -0.018059855, -0.025024397, -0.033024356, -0.007880069, 0.01198904, -0.013493121, 0.025678346, 0.024479441, 0.0019495814, -0.018855492, 0.030561155, 0.035749137, 0.019215163, -0.0033351332, -0.010201584, -0.031890847, -0.0063705402, 0.022931766, -0.013057156, 0.008108951, -0.030888129, 0.012544896, -0.007449554, -0.0035803635, -0.011967243, -0.0006502011, -0.031454884, -0.011967243, -0.030168787, 0.010087143, 0.0287301, -0.023847291, 0.043683704, -0.025678346, -0.0036021618, -0.011585773, -0.019171566, 0.00813075, -0.024697423, 0.010833733, 0.009569434, 0.007520398, -0.014539436, 0.0037438504, -0.019847311, 0.016893648, 0.026637468, -0.010768338, -0.023934485, -0.009814665, -0.002463203, 0.023607511, 0.003313335, -0.054670025, 0.008168897, 0.011182505, -0.0018583013, -0.006207053, 0.0019836412, 0.011160707, -0.025656547, -0.0013365055, 0.047563795, -0.0025721942, 0.006599422, -0.006697514, -0.037035238, -0.045776337, 0.004514964, 0.0030899027, 0.005798336, -0.038648307, 0.0109808715, 0.0024618404, 0.013939984, 0.002234321, -0.049438443, 0.023127949, 0.013591212, 0.021351391, 0.04725862, 0.02711703, 0.0022874544, 0.041569274, 0.031803656, 0.002505437, 0.007324214, 0.017155226, 0.021078913, 0.0044413945, -0.04708423, -0.0077220323, 0.019018978, -0.010888229, 0.0097274715, 0.024305055, -0.013035357, 0.0072915163, -0.002254757, 0.0036076114, 0.0035558403, -0.009602131, -0.021100711, -0.030931724, 0.0129372645, -0.011814655, -0.0061416584, 0.0058528315, -0.0048555615, 0.007471352, -0.028097952, 0.005585803, -0.059073273, -0.008196144, -0.007558545, 0.001780645, -0.0038228692, 0.006583073, 0.0016757409, -0.013100752, 0.021830954, 0.01897538, 0.040784538, 0.028926285, 0.005553106, -0.01848492, -0.008435925, 0.008174346, -0.02210343, 0.014397748, -0.017013539, -0.006414137, 0.019084373, -0.002704346, -0.04285537, 0.0004805834, 0.020969922, 0.005201609, 0.0021716512, 0.04361831, -0.01450674, -0.015084393, 0.027226022, 0.004095347, -0.02737861, -0.023258738, 0.006686615, -0.0062343013, -0.045165986, -0.03686085, 0.05209783, -0.0046866247, 0.032065235, 0.012610291, -0.030343171, -0.014637529, 0.011155257, -0.004136219, 0.038452122, -0.012010839, 0.041133307, -0.043836292, 0.028860891, 0.002753392, -0.010343272, -0.0574602, -0.0017084383, 0.024326853, -0.026637468, -0.0020027147, 0.019531237, -0.016730161, -0.019411346, 0.030779136, -0.04586353, 0.031781856, -0.001369203, -0.026332293, 0.0400216, -0.0054114168, 0.0009925019, -0.019062575, -0.0015899102, -0.03688265, 0.0028937184, 0.009307855, 0.030561155, -0.009836463, 0.01937865, -0.032021638, -0.042877167, 0.0062179524, -0.014801015, -0.0174931, 0.030561155, -0.013046256, -0.005972722, -0.009231561, -0.047215022, 0.0054904358, 0.020424966, 0.021929044, -0.009013578, -0.03897528, -0.018365031, 0.01573834, 0.0124686025, -0.027988961, -0.011738361, -0.028839093, -0.04525318, 0.019160667, -0.026833653, 0.005645748, 0.019160667, 0.04111151, 0.008408677, 0.0031825453, 0.025351372, 0.021983542, -0.00056539226, 0.05785257, 0.010108941, 0.0068664504, 0.032043435, -0.013809195, -0.015411367, 0.03862651, -0.039716423, 0.002348762, -0.0077765277, 0.006643018, 0.013068054, -0.0038283186, -0.030626548, 0.0056293993, -0.018539416, -0.021732861, -0.010768338, 0.009329653, 0.009885509, 0.009280607, -0.0009611668, 0.008032657, -0.0009747907, 0.019258758, -0.013057156, 0.016414087, 0.021972641, 0.0287301, 0.021275098, 0.0038228692, 0.029711023, -0.020305075, 0.028664706, -0.0034659225, -0.025525758, -0.0073678102, -0.007547646, 0.0054931603, -0.0249808, 0.016828254, -0.002425056, -0.010425015, -0.007536747, 0.029841812, -0.015585753, -0.009629379, 0.02112251, -0.00986916, -0.0053814445, -0.010414117, -0.02085003, 0.0262451, 0.013634809, -0.00091484556, 0.011520378, -0.009656628, 0.014888208, 0.013645708, 0.011792856, -0.017558495, -0.00083650806, -0.0262451, 0.029623829, 0.0027656537, -0.022713782, -0.0187356, 0.012359611, 0.040915325, 0.013035357, 0.0073405625, 0.013013558, -0.008419576, -0.0064195865, 0.04900248, 0.029950803, 0.022408606, -0.01813615, 0.005149838, -0.020065295, 0.018092552, 0.014964502, -0.014779218, -0.01723152, 0.0046866247, 0.022212423, -0.0048092403, 0.000103541715, -0.011836452, 0.0118800495, 0.01312255, 0.0019250584, -0.019084373, 0.02074104, -0.018277837, 0.002568107, -0.051443882, -0.012414106, 0.016174305, -0.021678366, -0.0033405826, 0.023825493, -0.011781957, 0.009563984, 0.019662026, -0.024130668, -0.00786917, -0.000023565106, -0.04187445, 0.007978162, -0.016392289, -0.022005338, 0.010266978, -0.023585713, -0.003035407, -0.002742493, -0.0053106, 0.012773777, -0.003626685, 0.025482161, -0.027008038, 0.0154440645, -0.0699288, 0.023585713, 0.038408525, 0.037166025, 0.029057074, 0.023302335 ]
2401.09350
316
Part III Compression Chapter 9 Quantization Abstract In a vector retrieval system, it is usually not enough to process queries as fast as possible. It is equally as important to reduce the size of the index by compressing vectors. Compression, however, must be done in such a way that either decompressing the vectors during retrieval incurs a negli- gible cost, or distances can be computed (approximately) in the compressed domain, rendering it unnecessary to decompress compressed vectors during retrieval. This chapter introduces a class of vector compression algorithms, known as quantization, that is inspired by clustering. # 9.1 Vector Quantization
2401.09350#316
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 316, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Part III Compression\nChapter 9 Quantization\nAbstract In a vector retrieval system, it is usually not enough to process queries as fast as possible. It is equally as important to reduce the size of the index by compressing vectors. Compression, however, must be done in such a way that either decompressing the vectors during retrieval incurs a negli- gible cost, or distances can be computed (approximately) in the compressed domain, rendering it unnecessary to decompress compressed vectors during retrieval. This chapter introduces a class of vector compression algorithms, known as quantization, that is inspired by clustering.\n# 9.1 Vector Quantization", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.015614148, 0.06468201, -0.01810564, -0.0013583765, 0.025906667, 0.009439847, 0.044846833, 0.035316277, -0.042645615, 0.02481815, 0.058102533, 0.02895451, -0.05442577, -0.0048680827, 0.019460237, 0.0039247028, 0.024866529, -0.010812586, 0.023475649, 0.021685645, 0.0066520385, -0.011169378, -0.018528951, -0.036743443, 0.033477895, -0.003782591, 0.035630737, 0.034977626, 0.09032259, -0.048330083, 0.022375038, -0.029027076, -0.007589371, -0.054812796, 0.024177136, 0.0260518, -0.036041953, 0.002899684, 0.009113293, 0.043226156, 0.045088727, 0.015215026, -0.025761532, 0.0024703252, 0.046080485, 0.03246195, 0.028107887, -0.0635693, -0.05819929, 0.02801113, -0.011774108, 0.029946268, -0.039839663, -0.023161188, -0.010123193, 0.039138176, -0.032824785, 0.0012502809, 0.062214702, -0.005203708, 0.033187624, -0.07571229, -0.010256234, 0.010105051, -0.020972064, 0.049200896, -0.015081986, 0.031591136, -0.007819169, -0.031615324, -0.018045167, 0.013799956, -0.0017144118, -0.00049134373, 0.026366262, 0.025422882, -0.034203574, 0.03546141, 0.015783474, -0.022713687, 0.012614684, -0.002051549, 0.032220054, -0.026172748, -0.015819756, 0.018964358, -0.043903455, -0.0027938562, -0.040734664, -0.053941984, -0.056215774, 0.046370756, -0.03642898, 0.04992657, -0.0038188747, -0.005757037, 0.055780366, 0.035001818, -0.022205714, -0.026656533, -0.028543292, -0.0017506956, 0.053603336, -0.030962216, 0.0680685, -0.029801132, -0.0014808344, 0.023173284, 0.021129293, 0.002821069, -0.020222196, 0.007504709, -0.043564804, 0.047120623, 0.013122657, -0.0077163647, -0.040323447, 0.0021059748, -0.007722412, 0.00408798, -0.025543828, -0.020451995, -0.012185325, -0.017549288, 0.008411805, -0.05307117, 0.03047843, -0.03771101, 0.020718075, -0.020294765, 0.04932184, -0.0128444815, 0.043177776, -0.025979234, -0.00103031, -0.037590064, 0.048838057, 0.010020389, -0.008097345, 0.0199924, -0.0022480867, -0.025132611, 0.02578572, -0.008042919, -0.021685645, 0.020899495, -0.046274, 0.06231146, 0.035630737, -0.023959434, -0.037590064, -0.036308035, -0.03236519, -0.021685645, -0.019762602, -0.020379428, 0.016569624, 0.0115685, 0.013013806, -0.017839558, -0.02984951, 0.005826581, 0.03962196, -0.034808304, 0.014489349, -0.03202654, -0.044363048, -0.020052873, -0.04117007, -0.057715505, 0.023354702, -0.08180798, 0.0046866634, -0.038581822, 0.024866529, 0.014840093, -0.021141388, -0.019145776, -0.0064706192, -0.0045385044, -0.01138708, 0.0063980515, 0.012076474, 0.053409822, 0.03807385, -0.01936348, -0.04438724, -0.007468425, -0.026463019, 0.022145241, -0.028132075, 0.025132611, -0.0053427964, 0.015130364, 0.008708123, 0.0016751043, -0.009778497, 0.0108428225, 0.017912125, -0.059360374, 0.030962216, 0.011574547, 0.027454777, 0.029365726, -0.0064887614, -0.038993042, -0.007486567, 0.021105103, -0.035485603, -0.009965963, -0.021770308, -0.0018293106, 0.0008881983, -0.041097503, -0.0087504545, 0.0188676, -0.04506454, 0.049007382, -0.049200896, -0.02801113, -0.013775767, 0.017658139, 0.011296371, 0.00824248, -0.01116333, -0.01866199, 0.0033260193, -0.07140661, 0.059553888, -0.07924392, 0.07043904, -0.00064290443, -0.014114416, -0.00911934, -0.048692923, -0.018758748, -0.027067749, -0.025664775, -0.054619282, -0.010310659, -0.036961146, -0.018601518, 0.025930855, 0.007153965, -0.036961146, 0.023088621, -0.017646044, -0.034518033, 0.052297115, -0.012384886, -0.040420204, 0.014223267, -0.015202931, -0.023959434, -0.019448142, -0.013461307, 0.0067306533, 0.042379532, 0.025326125, 0.0431294, -0.015178742, -0.03021235, 0.04117007, 0.0007014877, 0.0025625466, 0.029825322, 0.005128117, -0.0066520385, -0.031083161, -0.021262335, 0.02250808, 0.010268329, 0.036308035, -0.0077345064, -0.04842684, 0.03171208, -0.0048287753, -0.011616878, 0.0017159235, 0.031591136, -0.026487207, -0.022713687, 0.031566948, 0.023173284, 0.021939632, -0.020476185, 0.0010325778, 0.01821449, -0.02198801, -0.0020953922, 0.05002333, -0.03180884, -0.02389896, 0.013183131, -0.0010522315, 0.037057903, -0.04283913, -0.049974952, -0.011223803, -0.021334901, 0.039162364, -0.006159183, 0.034397088, 0.030115593, -0.06569795, 0.04719319, -0.019012736, 0.0072083906, -0.047435082, -0.028204642, 0.0067548426, 0.0503136, -0.009107245, -0.0009902467, -0.06947147, -0.008224338, 0.010540457, -0.0015798592, 0.03625966, 0.010752114, -0.001057523, -0.018408004, 0.028881941, -0.03679182, 0.021286523, -0.017198544, -0.07459959, 0.011495932, 0.018202396, -0.03621128, 0.0056391144, 0.016025366, 0.030575188, -0.0061108046, -0.023560312, -0.022786256, -0.0060200947, 0.028857753, -0.037662633, -0.035050195, -0.024600448, -0.018262869, 0.014803809, 0.013400834, -0.015614148, 0.049878195, 0.05655442, 0.04523386, 0.049491167, -0.03524371, -0.040420204, -0.037130468, -0.003093198, -0.025979234, 0.05374847, 0.028059509, 0.031663705, -0.06226308, -0.04022669, -0.008036872, -0.04905576, 0.0074200467, 0.049128328, 0.007256769, -0.01664219, 0.012880766, -0.03991223, -0.020004494, -0.015372256, -0.015432729, -0.0015473549, 0.0009728606, -0.013134752, -0.035388846, 0.010371133, 0.0045324573, 0.01603746, 0.032510325, 0.05471604, 0.030236538, 0.029438294, -0.003546746, -0.004069838, -0.0036828103, 0.019036924, 0.019496521, -0.019375574, -0.0021543533, -0.04968468, 0.024745584, -0.041000746, -0.021818686, -0.0042149737, 0.04187156, -0.0008798833, 0.0044750078, 0.023838487, 0.022689499, 0.015444824, 0.029510861, 0.022919295, 0.011465696, -0.016726853, -0.007843358, 0.0043903454, -0.02924478, 0.03330857, 0.021746118, -0.018408004, -0.0030130711, 0.0074744723, -0.028640049, 0.037299793, 0.003256475, -0.02518099, 0.00014721414, 0.029801132, -0.008683934, 0.010352991, 0.035993576, 0.004305683, 0.021963822, -0.017392056, -0.024019906, -0.028398156, 0.012433264, 0.018746654, -0.004958792, 0.02675329, -0.04467751, 0.0014574012, -0.050845765, -0.06981012, 0.00016006468, 0.001974446, 0.013352456, 0.012396981, -0.002331237, -0.0021951727, -0.012771914, -0.064972274, 0.008405758, -0.016738947, -0.031179918, -0.031373434, -0.005128117, 0.013074279, 0.035050195, 0.03468736, -0.028567482, -0.016412392, -0.022895107, 0.03514695, 0.026317883, -0.007287006, -0.08592015, 0.056167394, -0.03342952, 0.020451995, -0.0065734233, -0.017295301, 0.008206196, -0.0072083906, 0.030091403, -0.0036102426, 0.0022571576, -0.030768702, -0.0016887106, -0.004849941, 0.0058568176, -0.004332896, -0.024479501, 0.029535051, -0.03800128, 0.01952071, 0.028688427, 0.026898425, -0.013352456, 0.0016342849, -0.042258587, 0.035388846, -0.07261607, -0.017029218, -0.0036374556, -0.030647755, 0.031204108, 0.025640585, 0.00506462, 0.037662633, -0.027188696, -0.030115593, -0.03746912, 0.06511741, -0.011296371, -0.013231509, 0.032800596, -0.027745048, -0.0010197272, 0.05249063, -0.017283205, 0.0224597, 0.023681257, 0.024673015, -0.020548752, 0.028567482, 0.018323343, 0.030986404, 0.014138605, -0.010770255, 0.045693457, 0.06802012, -0.0037432835, -0.020464089, 0.010873059, -0.02248389, 0.040976558, 0.020814832, 0.026027612, 0.0035890772, 0.021093009, 0.028906131, -0.043008454, 0.017658139, -0.0051583536, -0.058247667, 0.008290859, -0.05747361, -0.006893931, 0.00008697729, -0.012820292, -0.0045294333, -0.0235845, 0.01462239, 0.043201968, -0.02232666, 0.00826667, -0.0016116075, 0.011737824, 0.005914267, 0.028712617, -0.02675329, 0.01866199, -0.016751042, 0.026946804, 0.0014831022, 0.013497591, 0.010709782, -0.009820827, -0.011864818, -0.0035921007, -0.016267257, -0.0055332864, 0.0026562798, -0.016726853, -0.0037977092, 0.047338326, 0.030381674, 0.03292154, -0.031276677, -0.029414104, -0.0064887614, -0.016944556, 0.0030448195, 0.011864818, -0.0031415764, 0.010776303, 0.022786256, -0.05844118, -0.024443218, -0.020766454, -0.00405472, -0.038751148, 0.015021512, -0.028785184, -0.002724312, -0.005212779, -0.008877448, -0.043322913, -0.00950032, 0.038823716, -0.00644643, 0.0072628167, 0.0048227278, 0.0039065606, -0.01637611, 0.012929144, 0.014755431, -0.014356309, 0.0015828828, -0.011913196, 0.01805726, -0.028373968, -0.011217756, -0.015166648, -0.042984262, 0.03529209, -0.022338755, -0.020343143, -0.031252485, 0.016702663, 0.014731241, 0.010522315, -0.007540993, 0.0044568656, -0.016001176, 0.017851653, 0.0038218985, 0.010758161, 0.035050195, 0.016158406, 0.013110563, -0.022858823, 0.009560794, -0.030260729, -0.021286523, -0.010365086, -0.014259552, -0.039791286, 0.021552606, -0.019145776, -0.018807126, -0.049974952, -0.00707535, 0.020572942, 0.035316277, 0.016521245, -0.014428876, -0.056989826, 0.017803274, 0.004378251, -0.025543828, 0.009699882, 0.0057419185, -0.008309001, 0.01477962, -0.0038914424, -0.004952745, 0.028712617, 0.02801113, -0.017827462, -0.0015783473, 0.05650604, 0.013727388, -0.00927657, 0.0015586936, -0.020185914, -0.025906667, 0.00052951736, -0.01873456, -0.016315635, -0.014235362, -0.021105103, 0.0144409705, 0.045645077, 0.014162795, 0.0030115591, -0.024697205, -0.022266187, -0.020391522, -0.040396016, -0.017295301, -0.025930855, 0.0063557206, -0.048039813, -0.0013508174, 0.039234933, 0.001982005, 0.015396445, -0.0030055118, 0.017295301, -0.01760976, 0.04566927, 0.03263127, 0.0011648627, -0.0049739107, 0.015892325, -0.015057797, 0.010697687, -0.007565182, 0.013932997, -0.018770844, 0.01412651, -0.012505832, 0.00032088527, -0.007250722, -0.00043842982, -0.001965375, 0.016859895, 0.000073890544, -0.018698275, 0.012360697, -0.010316707, 0.0024869554, -0.039428446, -0.0036737395, 0.010873059, 0.000117639036, -0.022592742, -0.00810944, -0.034227762, 0.03021235, 0.030647755, -0.028881941, -0.048233327, -0.029801132, -0.040105745, -0.008194102, 0.010897248, 0.052635767, -0.007135823, 0.012880766, 0.029075455, 0.010800492, 0.002855841, 0.002881542, -0.0039972705, -0.014574012, 0.016279353, 0.0067306533, -0.049249273, -0.014162795, 0.02172193, -0.048692923, -0.023475649, -0.010637214, -0.010770255, -0.035921007, -0.0044357004, 0.012269988, 0.047991432, -0.012469549, 0.027599912, 0.044725887, 0.015348067, 0.02701937, 0.012215561, -0.02297977, 0.05650604, -0.033163436, -0.0015231656, -0.03650155, -0.024419028, 0.018045167, 0.013896713, 0.001057523, 0.022302471, 0.0025217272, -0.010933532, 0.016255163, 0.012433264, -0.028567482, 0.008115487, -0.025229368, -0.008030824, 0.022157336, -0.0129412385, 0.008188055, -0.005487932, 0.006936262, -0.013267793, -0.016884083, 0.010383227, -0.053167928, 0.049587924, -0.01734368, -0.011864818, -0.029510861, -0.0006054867, 0.0058779833, -0.023681257, 0.0062771053, 0.052345496, -0.008067109, 0.0204399, 0.024237609, 0.0042875414, 0.009766402, -0.0037674727, -0.059215236, 0.01873456, -0.0015586936, -0.010262282, 0.0017144118, -0.04651589, -0.0044145347, 0.03800128, 0.0096515035, -0.008913731, -0.026172748, -0.031881407, 0.01891598, -0.0035346514, 0.012989617, -0.020633414, -0.036912765, 0.0036132664, 0.003205073, -0.077018514, 0.017621854, 0.014283741, -0.0023448435, 0.01682361, 0.010177619, 0.019448142, 0.013799956, 0.004378251, -0.03113154, -0.006410146, -0.010232044, 0.015456919, 0.0066338964, 0.00083528436, 0.010165525, 0.0020243363, -0.018541045, -0.011864818, -0.015940703, 0.010171572, 0.0045838594, 0.022157336, -0.0058416994, 0.0053065126, 0.011864818, 0.0016100957, 0.019460237, 0.012530021, -0.023644973, 0.0045717647, -0.016896177, -0.020222196, 0.04499197, 0.010461843, -0.020355238, 0.014501444, 0.018976452, 0.039791286, -0.017186448, 0.0085448455, -0.056360908, -0.027914373, -0.02518099, 0.009137482, -0.04903157, 0.04622562, -0.0070088296, -0.005415364, -0.021746118, -0.001808145, 0.0038007328, -0.022629026, -0.010770255, 0.03546141, -0.008786738, 0.031397622, -0.010183666, -0.025664775, -0.009978058, -0.020681793, -0.0071842014, 0.009330995, -0.033792354, -0.024249705, -0.0251568, -0.015638338, 0.024866529, 0.010026436, -0.016122123, -0.018819222, 0.013231509, -0.011810392, 0.041605476, 0.021093009, 0.004199855, 0.012808198, -0.0007101807, -0.03993642, -0.016726853, 0.013400834, -0.00019559261, -0.0054970025, -0.013787862, 0.0024688134, 0.00361629, 0.0019699105, -0.035098575, -0.02895451, 0.012433264, -0.0010907832, 0.024866529, 0.015130364, -0.006803221, 0.03843669, -0.03621128, 0.013461307, -0.02769667, -0.017827462, 0.008254575, 0.07135823, -0.0071660597, 0.01446516, -0.042645615, -0.024358556, 0.0022178502, 0.007504709, -0.03485668, 0.032945734, -0.0030327248, 0.023826392, -0.008502515, -0.01386043, 0.014537727, 0.029680187, 0.035050195, 0.02012544, 0.0033169482, 0.013666916, -0.063279025, -0.0027681552, -0.0051492825, -0.017065503, 0.013352456, -0.025882477, 0.003250428, 0.02607599, 0.04143615, -0.0028104864, 0.0016070721, -0.0020591083, 0.04126683, -0.01109681, 0.056989826, -0.009633361, -0.006645991, -0.015444824, 0.029825322, -0.039355878, 0.0059717163, 0.004060767, 0.025374504, 0.00011470987, 0.020839022, -0.021685645, 0.023137, 0.021395374, -0.022592742, -0.013739483, -0.019157872, 0.018504761, 0.008605319, 0.0211172, 0.045741834, -0.01109681, 0.048862245, -0.008913731, 0.023632878, 0.0022511103, 0.030744512, 0.0267291, 0.0095426515, -0.04240372, -0.00021997083, 0.0065310923, 0.003283688, -0.019121587, -0.010727924, -0.03371979, 0.03928331, 0.028180454, -0.050700627, -0.0021089986, 0.049974952, 0.010667451, 0.0071418704, 0.024648827, 0.0065189977, 0.016243069, -0.050555494, 0.014767526, -0.012820292, -0.026293693, 0.028712617, 0.0043177777, 0.046298187, -0.027212884, -0.022568552, 0.018855505, 0.044822644, 0.011508026, 0.012294177, 0.0036828103, 0.00405472, -0.016618002, 0.034058437, -0.044459805, 0.025060043, -0.004638285, -0.0015692763, 0.0015889301, 0.03401006, 0.039501015, -0.006839505, -0.0031204107, 0.020185914, -0.0028679357, 0.010794444, -0.013932997, 0.032195866, -0.021322807, 0.0021392351, -0.024479501, -0.015577865, -0.008115487, -0.011707588, 0.0007215194, 0.027745048, -0.022604836, -0.0117438715, -0.009699882, -0.011175425, -0.042355344, 0.026317883, -0.03202654, -0.031446, 0.052055225, 0.013558064, -0.03335695, 0.010056673, -0.01902483, 0.036332224, 0.0045717647, -0.021709835, -0.038533445, -0.005004147, -0.022266187, -0.02198801, 0.02827721, -0.05215198, 0.0115685, -0.007426094, 0.03560655, -0.020718075, -0.010105051, -0.026221126, 0.027454777, -0.0070027825, -0.02041571, -0.00016167099, 0.014392592, 0.0062589636, 0.008472278, 0.036017764, 0.006990688, -0.021758214, -0.006482714, 0.013751578, 0.045330618, -0.005019265, 0.001912461, -0.020137535, 0.033405326, -0.027478967, -0.0007853941, -0.035098575, 0.007214438, -0.010225997, -0.0224597, -0.010256234, -0.0060140477, 0.020645509, -0.0061682537, -0.02473349, 0.0076982225, 0.015021512, 0.018504761, 0.015323877, 0.030599376, -0.06700417, -0.02984951, -0.022072673, -0.0012328948, 0.03238938, 0.024890719, -0.01635192, -0.0054697897, 0.011798297, 0.02544707, -0.019085303, 0.013291982, -0.0028754948, 0.021504227, 0.0024295058, 0.002707682, -0.044000212, -0.033381138, 0.008212244, -0.0003737992, -0.012554211, 0.018940168, 0.01242117, 0.026801668, 0.0068515996, 0.032582894, 0.0017930267, -0.032341003, 0.0028634002, -0.02675329, -0.008496467, 0.040637907, 0.037880335, 0.015420634, 0.028494913, 0.0129412385, 0.013122657, -0.036888577, -0.021842875, -0.0071116337, 0.0041303113, 0.009494273, 0.03894466, 0.010232044, -0.008526704, -0.011931338, -0.03333276, -0.0025444047, 0.014803809, 0.024455313, 0.020137535, -0.0014846141, 0.0020364309, 0.009754308, 0.012542116, 0.004078909, -0.0011958551, 0.005920314, -0.0052823233, -0.012663063, -0.010050626, -0.0069846404, -0.00761356, 0.0155415805, 0.014791715, -0.031905595, 0.020959968, 0.015795568, 0.031010594, -0.0070088296, -0.009415658, 0.037009522, -0.027454777, -0.029631808, 0.013533874, 0.031179918, -0.0053579146, 0.0051069516, 0.016073745, -0.03838831, -0.019883547, -0.025543828, 0.021637267, -0.019871453, 0.0007101807, -0.014574012, -0.013013806, -0.0040728617, 0.049297653, 0.014453066, 0.0021558653, 0.002356938, -0.009470084, 0.0027711787, 0.00237508, -0.0010257745, -0.017222732, -0.0019366503, 0.052926037, -0.0049708867, 0.007885689, 0.03393749, -0.012191372, -0.0099417735, -0.0029752755, 0.015469013, -0.02295558, -0.032873165, -0.014053944, 0.00045846152, -0.0128444815, -0.0110484315, 0.022145241, -0.023560312, 0.00015675755, 0.022907201, -0.02607599, 0.010286471, 0.011961575, 0.023378892, -0.032341003, 0.0029495743, 0.009464037, 0.030599376, -0.030889647, -0.016073745, -0.0139450915, -0.0074986615, 0.010528362, -0.0013802979, -0.009524509, -0.022701593, -0.010032483, -0.04651589, -0.007129776, -0.006990688, -0.00556957, -0.028906131, -0.0010340896, 0.013388739, -0.011973669, 0.02030686, 0.01734368, -0.00018056882, -0.0030947097, 0.0011255551, 0.024588354, -0.005448624, 0.0032776408, -0.0061470885, 0.037299793, 0.012221609, -0.003658621, -0.018698275, -0.011459648, -0.0053488435, 0.031518567, 0.025326125, -0.018335437, 0.030696133, 0.016593812, -0.010304612, 0.028785184, 0.03052681, -0.0016312612, -0.020947874, -0.012481643, 0.00042142175, -0.038847905, 0.0026880284, 0.014489349, -0.03521952, -0.010570694, 0.013001712, 0.013848335, 0.016303541, 0.010310659, -0.04842684, -0.035800062, 0.03642898, 0.008012683, -0.007426094, -0.014368403, 0.00896211, -0.002988882, -0.012771914, 0.042186018, -0.03671925, -0.003065985, -0.014029754, -0.03589682, 0.00045543787, -0.020185914, 0.011532215, 0.02675329, 0.033792354, -0.008411805, 0.0025307983, 0.003694905, 0.017730705, 0.024467407, 0.029776944, -0.018528951, 0.0053155837, 0.040057365, 0.03079289, 0.006899978, 0.0067911264, 0.010867012, 0.01839591, 0.01367901, 0.01525131, 0.01855314, 0.010286471, -0.0014037313, 0.0046080486, -0.01053441, -0.007383763, 0.02227828, 0.045161296, -0.03180884, -0.020028682, 0.011592689, -0.00824248, 0.016061649, 0.03243776, 0.016001176, -0.020198008, -0.0016055602, 0.02992208, -0.005711682, 0.008762549, -0.004230092, -0.003250428, -0.033453707, 0.036574118, 0.0011580595, 0.005442577, -0.014586106, -0.01821449, -0.013376645, -0.053167928, -0.00008801668, 0.0011482326, 0.0057509895, -0.013703199, 0.0017310418, 0.00096152193, 0.012130899, 0.012868671, 0.033115055, -0.0065189977, -0.041291017, 0.00025965628, 0.03560655, 0.009578936, -0.0014823463, 0.0039791283, 0.008980252, 0.004438724, -0.0025398692, 0.030236538, -0.018940168, 0.010461843, 0.024914907, 0.039380066, 0.016255163, -0.016085839, -0.01760976, 0.0028694475, 0.038557634, 0.004499197, -0.016618002, 0.014876377, -0.019750508, 0.023185378, -0.0032292623, 0.04782211, 0.03461479, 0.023802204, -0.002550452, 0.02544707, -0.021492131, 0.042355344, 0.040033177, -0.03575168, 0.013437117, -0.0016176548, -0.00569354, -0.01194948, -0.018565234, 0.0146465795, 0.01671476, -0.015057797, -0.012614684, -0.008339237, 0.010026436, 0.020899495, 0.0021845899, 0.03171208, 0.018250775, -0.047870487, 0.01619469, 0.011471743, -0.005965669, 0.017513003, 0.016291447, -0.013618537, -0.014501444, 0.031179918, 0.005376057, -0.038823716, -0.005669351, 0.05282928, 0.008538798, 0.049176708, 0.015710905, 0.016146312, -0.03296992, 0.014840093, -0.01731949, -0.003223215, 0.05200685, -0.04274237, -0.010764208, 0.01936348, 0.019375574, -0.007873595, 0.0051129987, 0.01996821, 0.022217808, -0.027938562, -0.010014341, 0.009064915, 0.0071721068, -0.005926362, 0.008061062, -0.0049860054, 0.05534496, -0.034759924, 0.020572942, -0.038025472, -0.00783731, 0.0027212885, -0.05631253, 0.006029166, 0.015444824, 0.022181524, -0.0047471365, 0.009718023, 0.017621854, 0.0026532563, -0.009306806, -0.024261799, -0.006525045, 0.009324948, 0.026898425, -0.030550998, -0.0012260916, 0.006313389, 0.0054970025, 0.022701593, 0.008659745, 0.026003424, 0.0069483565, -0.05655442, -0.021637267, -0.024588354, 0.022665309, 0.00042709112, 0.0068092686, 0.0017234827, 0.010576741, -0.0049920524, -0.019012736, -0.0055363104, -0.015614148, -0.01412651, 0.029002888, 0.043032642, 0.019387668, -0.017742801, -0.023088621, 0.0022495985, -0.00141507, -0.026172748, -0.0000021437233, -0.018504761, 0.028132075, 0.0075530875, 0.056844693, 0.009397516, 0.008992347, 0.018492667, 0.005294418, 0.06705255, -0.012638873, -0.010419511, -0.029123833, -0.0010613025, 0.0021619126, 0.034977626, 0.011018194, 0.009778497, -0.009633361, 0.02311281, 0.035558168, 0.026970992, 0.03621128, 0.006803221, -0.017742801, -0.0063315313, -0.00021297862, 0.016061649, -0.025761532, 0.024419028, 0.027745048, -0.03553398, 0.01933929, 0.0035104621, -0.0066338964, 0.02641464, 0.034953438, -0.0069241673, 0.027575724, 0.019944021, -0.03115573, 0.018649897, 0.041750614, 0.040444393, -0.009391469, -0.027769238, 0.034711547, -0.035993576, 0.017851653, 0.008121534, -0.010032483, -0.03589682, 0.009113293, -0.0062347744, -0.008756502, -0.024987476, 0.01727111, -0.00012831631, 0.04557251, -0.010788397, -0.03173627, -0.035098575, 0.030067215, -0.03335695, -0.013932997, 0.018637802, -0.0020167772, 0.009355185, 0.009597077, 0.029389916, 0.02772086, -0.009548699, 0.024358556, 0.0139450915 ]
2401.09350
317
# 9.1 Vector Quantization Let us take a step back and present a different mental model of the clustering- based retrieval framework discussed in Chapter 7. At a high level, we band together points that are placed by ζ(·) into cluster i and represent that group by µi, for i ∈ [C]. In the first stage of the search for query q, we take the following conceptual step: First, we compute δ(q, µi) for every i and construct a “table” that maps i to δ(q, µi). We next approximate δ(q, u) for every u ∈ X using the resulting table: If u ∈ ζ −1(i), then we look up an estimate of its distance to q from the i-th row of the table. We then identify the ℓ closest distances, and perform a secondary search over the corresponding vectors.
2401.09350#317
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 317, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "# 9.1 Vector Quantization\nLet us take a step back and present a different mental model of the clustering- based retrieval framework discussed in Chapter 7. At a high level, we band together points that are placed by ζ(·) into cluster i and represent that group by µi, for i ∈ [C]. In the first stage of the search for query q, we take the following conceptual step: First, we compute δ(q, µi) for every i and construct a “table” that maps i to δ(q, µi). We next approximate δ(q, u) for every u ∈ X using the resulting table: If u ∈ ζ −1(i), then we look up an estimate of its distance to q from the i-th row of the table. We then identify the ℓ closest distances, and perform a secondary search over the corresponding vectors.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.028906561, 0.03962051, -0.023784028, 0.0075665796, -0.015027661, -0.01703213, 0.02115829, 0.0418477, -0.05246787, 0.055187386, 0.016879743, -0.01473461, -0.00774241, 0.018274667, 0.01800506, 0.0052104485, 0.026632484, -0.021111403, -0.0055943457, 0.021064514, -0.0029495594, -0.023573032, -0.003463864, -0.01800506, 0.017383792, -0.0018081253, 0.021170013, 0.038120087, 0.048669927, -0.020103306, 0.004495404, -0.014195396, -0.018989712, -0.04494232, 0.0077365492, 0.012952859, -0.03021943, 0.050733007, -0.025296172, 0.030360095, 0.0016352251, 0.04794316, -0.007666217, -0.032305956, 0.049232587, -0.0040675495, -0.0076369117, -0.048435487, -0.040909935, 0.0068105077, -0.0022520977, 0.036900997, -0.048013493, -0.0019312068, 0.011182831, 0.009547605, -0.0064940127, -0.00825818, 0.06719076, 0.013691348, 0.0022271883, -0.018555997, 0.008228875, 0.014547057, 0.011669295, 0.018309833, -0.008557092, 0.004715192, 0.00089600374, -0.01691491, -0.027570248, 0.02454596, 0.028859673, -0.020525299, 0.05734424, 0.006353348, -0.036619667, 0.0053921402, -0.011288329, -0.00013068249, 0.013386575, -0.005946007, 0.06587789, -0.019458594, -0.033407826, -0.031954292, -0.03584601, 0.00053591724, -0.025788497, -0.043488786, -0.04742739, 0.038635857, -0.013386575, 0.032704502, 0.026327712, 0.016750801, 0.033759486, -0.0051196027, -0.012413645, -0.05968865, -0.042175915, -0.015965424, 0.027476473, -0.047028843, 0.0579069, -0.05509361, -0.040558275, 0.042808905, 0.01284736, 0.0018198474, -0.033290606, 0.02895345, -0.013433463, 0.053874515, 0.000759735, -0.019060044, -0.063111484, -0.007132864, -0.021509951, 0.035048913, 0.009776185, -0.018251223, 0.023233091, -0.014617389, 0.00030220897, -0.065033905, 0.014511891, -0.045903526, -0.0038389696, -0.00006653176, 0.037862204, -0.016258476, 0.019716479, 0.020501856, -0.0394564, -0.027499916, 0.01628192, 0.025741609, -0.02115829, 0.0069218674, 0.004820691, -0.034298703, -0.006324043, -0.000991978, -0.03521302, 0.026913814, -0.04667718, 0.035564683, 0.025389949, 0.0044074887, -0.014570501, -0.054999832, -0.017161073, -0.00435767, -0.015051105, -0.03228251, -0.008562953, 0.016762523, -0.039761174, 0.037182324, -0.013269355, -0.019364817, 0.019927476, -0.026984146, -0.0067812027, -0.02843768, -0.059079103, 0.007836186, -0.0337126, -0.07619329, -0.025905717, -0.08796222, -0.013105245, -0.0124605335, 0.025647832, -0.006118907, -0.005143047, -0.032938946, -0.009447968, -0.018591162, -0.027054477, 0.028765896, 0.022904875, 0.0029026712, 0.047966607, 0.04362945, -0.021193456, -0.009102168, -0.011692739, 0.010573284, 0.003027218, 0.02907067, 0.047403947, 0.030149098, 0.028812785, 0.008973225, -0.021709226, 0.032423176, 0.018942824, -0.038495194, 0.012859083, 0.025108619, 0.0036719304, -0.041824255, -0.0408396, -0.022635268, 0.019235875, 0.018731827, -0.046489626, 0.008820838, -0.037487097, -0.022119498, 0.02677315, -0.033665713, -0.0012777029, 0.018473942, -0.0654559, 0.06840985, -0.033970483, 0.018884214, -0.017418958, 0.023244813, 0.028930005, 0.019915754, -0.022236718, -0.013234188, 0.0076838, -0.099965595, 0.04060516, -0.06123596, 0.06592478, 0.022330495, 0.04238691, -0.049326364, -0.030195987, 0.011358661, -0.035306796, -0.024077078, -0.066206105, -0.008551232, -0.043043345, -0.020900406, 0.034603477, 0.007666217, -0.00012418041, 0.014769776, -0.02454596, 0.030875865, 0.049982797, -0.018766994, -0.043559115, 0.009840656, -0.026749706, 0.00688084, -0.010889779, 0.013925789, -0.022564935, 0.03922196, 0.013890622, 0.020830072, -0.0065057348, -0.031508856, 0.00094289193, 0.011757211, -0.02689037, 0.025811942, -0.0101747345, -0.025507169, -0.044473436, -0.01003407, -0.03744021, 0.022119498, 0.03537713, -0.019188987, -0.051295664, 0.00007408698, -0.0017934728, -0.0102333445, 0.022412548, 0.0005304225, -0.026632484, 0.0035810845, 0.05406207, 0.007408332, 0.03521302, -0.011329356, 0.018931102, 0.014136786, -0.03406426, -0.008135099, 0.07895969, -0.035002023, -0.026351156, -0.024780402, -0.04283235, 0.03612734, -0.03307961, -0.021568561, -0.0035810845, -0.0049760076, 0.062408164, -0.0062126834, 0.051108114, 0.02189678, -0.078303255, 0.02569472, 0.0113528, 0.0051576993, -0.029375443, 0.013878901, 0.020501856, 0.02946922, -0.011259024, 0.031555742, -0.065033905, -0.026069827, 0.03239973, -0.0031473688, 0.017864395, -0.0021583214, -0.002769333, -0.040276945, 0.0168563, -0.01639914, 0.0323294, -0.00055752974, -0.067003205, -0.020197082, 0.027898466, -0.028508011, 0.038964074, 0.023033816, 0.021967111, -0.0044543766, -0.014933884, -0.036268003, -0.043652892, 0.054437175, -0.025249284, -0.039010964, -0.016715635, -0.004609694, 0.028461123, -0.006189239, 0.014629112, 0.049982797, 0.0064705685, 0.039878394, 0.008961502, -0.01564893, -0.00934833, -0.037604317, 0.015496543, -0.023655085, 0.061423514, -0.008955642, 0.020044696, -0.046536516, -0.058610223, 0.009899266, -0.0097117135, 0.02517895, 0.053405635, -0.009571049, 0.0013685487, 0.030149098, -0.012015095, -0.021662338, -0.02946922, -0.0150393825, -0.035470907, -0.036221117, -0.039550178, -0.005195796, 0.0005813401, -0.01071981, 0.032751393, 0.019810256, 0.07037915, 0.067472085, 0.049935907, -0.041027155, -0.036502447, -0.03331405, 0.013445185, -0.02024397, -0.0024689555, -0.0026770218, -0.047614943, 0.035635013, -0.054015182, -0.011862709, 0.011727905, 0.018872492, -0.0075431354, -0.0004223599, 0.021978833, 0.034087706, 0.02792191, 0.021087958, 0.010942528, -0.029351998, -0.03699477, -0.0067694806, -0.02982088, -0.019704757, 0.017794063, 0.030899309, -0.014511891, 0.012659808, 0.016657025, -0.02998499, 0.017688565, -0.0027341668, -0.03303272, 0.011171108, 0.008422289, 0.040511385, 0.008668452, 0.058000676, 0.015379322, 0.0018271736, -0.03113375, 0.022740766, -0.02064252, -0.009952015, 0.019200709, 0.008633286, 0.025929162, -0.058844663, 0.0019443941, -0.0010586472, -0.02064252, 0.005052201, -0.014629112, -0.028015686, 0.032704502, -0.015918536, -0.0072442233, -0.002501191, -0.018837325, -0.021873334, -0.03779187, -0.052092765, -0.0015780802, -0.0072735287, 0.020677686, 0.022928318, 0.041777365, 0.00008425219, -0.04231658, -0.027031034, -0.0015561014, 0.0073321387, -0.010737393, -0.07816259, 0.033525046, -0.027359251, 0.01949376, -0.029047227, -0.02621049, 0.048951257, -0.037768427, 0.044449992, 0.020501856, 0.014898718, -0.018743549, -0.011241441, 0.03354849, 0.011329356, -0.015508264, -0.045551863, 0.0446141, -0.05664092, -0.0023986234, 0.01209715, 0.060016867, -0.0097410185, 0.049467027, -0.015930258, 0.033853263, -0.060767077, -0.020232249, 0.013339686, 0.0014967585, 0.053030528, 0.02494451, 0.0027327016, 0.052139655, 0.008990808, -0.054390285, -0.030758644, 0.04942014, -0.009957877, -0.0012996816, 0.03469725, -0.0034931693, -0.007449359, 0.014347782, -0.0059899646, 0.0088149775, 0.028367348, 0.025038287, 0.022236718, 0.01152277, 0.06404925, 0.049232587, 0.025671277, 0.0116517125, 0.049232587, 0.06812852, 0.015344156, -0.015203492, 0.01358585, 0.012366757, 0.018016782, 0.023713695, 0.0063064597, -0.0051342556, 0.0067577586, -0.012612919, -0.014453281, -0.008416428, -0.014394671, -0.027218588, -0.0042638937, -0.0307352, -0.04271513, -0.063111484, -0.029961545, -0.018450499, -0.018333277, -0.031907406, 0.020197082, -0.016012313, -0.003290964, -0.025389949, 0.014254006, 0.023936415, 0.03272795, -0.034486253, 0.027382696, -0.046888176, 0.020654242, 0.013597571, 0.01725485, 0.0017070227, -0.019071765, -0.0040148003, 0.01869666, -0.015789595, -0.013046635, -0.029680217, -0.010626033, 0.0028587135, 0.012870804, 0.014125063, 0.01324591, -0.0307352, -0.032985833, -0.004328365, 0.034134593, 0.0052544065, 0.019071765, -0.018169168, -0.016809411, 0.036666553, -0.02970366, 0.020853518, -0.0049877297, -0.032540396, -0.024756957, 0.03209496, -0.011387966, -0.010766698, 0.010561562, -0.0059430767, -0.03462692, -0.013292798, 0.04196492, -0.014945607, 0.035986677, 0.0027165837, -0.012167482, -0.016235031, -0.011487603, -0.0024909345, -0.021474786, -0.0020440314, 0.0033964624, 0.054671615, -0.013492073, -0.018766994, -0.031063417, -0.034931693, 0.01891938, -0.017969893, -0.01427745, -0.024381852, 0.0017964033, 0.026374599, 0.016070923, -0.01370307, -0.01342174, -0.025132064, -0.0009260415, -0.0030946196, 0.027265474, 0.00980549, -0.0014586619, 0.016633581, -0.02728892, -0.018227778, 0.002466025, 0.016305363, -0.0009795233, -0.0190366, -0.036197674, 0.01869666, -0.027101366, -0.02247116, -0.03331405, 0.011323495, 0.011528631, 0.010760836, 0.040112834, 0.029398886, -0.064940125, 0.006804647, -0.017805785, -0.021779558, -0.0032440757, 0.025014842, 0.0069863386, 0.016434306, 0.019775089, -0.00071174785, 0.020326024, 0.023022095, -0.007871353, 0.0010088284, 0.057578683, -0.00040697472, -0.04076927, 0.010965972, -0.0064881514, -0.00848676, 0.002357596, -0.042527575, 0.0007256678, -0.03898752, -0.020912128, 0.03617423, -0.0030828977, 0.015508264, -0.032071512, 0.008422289, -0.007179752, -0.0082933465, 0.0026315989, -0.0027253754, -0.025296172, 0.01639914, -0.048669927, 0.0033671572, 0.034908246, 0.012425367, 0.019235875, 0.0009187152, 0.024381852, -0.01141141, 0.042691685, 0.018849047, -0.013480351, -0.004448516, 0.023608197, -0.011311773, -0.002168578, 0.006851535, -0.011768932, -0.03387671, 0.01427745, -0.025811942, 0.0063885143, 0.023068983, -0.007865491, 0.014675999, 0.018591162, 0.006833952, 0.0075431354, 0.0072735287, -0.018415332, 0.036432113, 0.0010051653, -0.008152681, -0.009916849, -0.010227484, 0.00819957, -0.016821133, -0.00447196, -0.0045774584, 0.039925285, -0.009137333, -0.02672626, -0.034369033, -0.041027155, -0.019411705, 0.010198179, 0.052327204, 0.012823916, 0.016363975, -0.005995826, 0.012308147, -0.006300599, 0.0072500845, 0.020490134, 0.0039591203, 0.016586693, -0.0074434984, -0.026116714, -0.009940294, 0.023760583, -0.04742739, -0.015754428, -0.01485183, -0.021087958, -0.054484062, -0.03244662, 0.007713105, 0.011423132, -0.013386575, 0.048810594, 0.010450203, 0.004439724, 0.02958644, 0.019950919, -0.025132064, 0.039597064, -0.05256165, -0.0044133496, -0.01737207, -0.018450499, 0.015168325, 0.02086524, 0.01491044, 0.059079103, 0.008246458, -0.009283859, -0.0071563083, 0.0021920223, 0.00076632865, 0.008158543, -0.016141254, 0.0036719304, 0.017207962, -0.012507421, 0.015953703, -0.025085175, 0.0051987264, 0.01932965, -0.0064588464, 0.0031796044, -0.018884214, 0.03905785, 0.011282467, -0.013902345, 0.0048646485, 0.0017934728, -0.0018989712, -0.016610136, -0.009887544, 0.041027155, 0.006869118, 0.017407237, 0.040628605, 0.004964286, 0.025835386, 0.0062009613, -0.048716817, 0.019411705, -0.014664277, -0.015660651, -0.012870804, -0.04426244, 0.009283859, 0.032634173, -0.011440715, 0.0048353435, -0.009559327, -0.022752488, 0.020091584, 0.021451341, -0.004949633, -0.00085204607, -0.016668746, 0.0020074002, 0.0113528, -0.08814977, 0.0144298365, 0.02074802, -0.011042166, 0.028226683, 0.019200709, 0.014605667, -0.027499916, 0.027476473, -0.003909302, -0.027945355, -0.021334121, 0.013785124, 0.010069236, -0.015848204, -0.0020997112, -0.016000591, -0.014722887, -0.017618233, -0.023068983, -0.019470315, 0.005093228, 0.02803913, 0.0029539552, -0.009219388, -0.020044696, -0.00053152145, 0.0049232584, 0.026233936, -0.0041789087, 0.0017758897, -0.023432367, -0.0096824085, 0.06175173, 0.0049554943, -0.014746332, 0.003739332, 0.03331405, 0.010684643, -0.029539552, 0.014394671, -0.041425705, -0.016387418, -0.008451594, 0.04208214, -0.036221117, 0.022693878, -0.015555153, -0.008510204, -0.018837325, -0.018098837, -0.019915754, -0.008914615, -0.0017524456, 0.036549333, 0.004826552, 0.026116714, 0.0006699881, -0.018321555, -0.009881684, -0.0067812027, -0.03164952, 0.033173386, -0.021814724, -0.028789341, -0.012894249, -0.032024626, 0.05190521, 0.02442874, -0.017594788, 0.008328512, 0.004964286, -0.023209648, 0.045223646, 0.026984146, -0.019857144, 0.04287924, 0.0021744391, -0.015555153, -0.0111886915, 0.0015780802, 0.0070039215, -0.014406392, 0.0018110558, -0.024170855, -0.007865491, -0.023889527, -0.03715888, -0.014265728, 0.00034506767, 0.015097993, 0.009125612, 0.0032675199, 0.013749958, 0.030688312, -0.021111403, -0.008117516, -0.02397158, 0.03129786, 0.017747175, 0.047685277, 0.016539805, 0.03474414, -0.033665713, -0.0073204166, 0.0061130463, 0.027007591, -0.045481533, 0.043582562, -0.0101747345, 0.021861613, -0.015262102, -0.018286388, -0.026421487, -0.005913771, 0.049701467, -0.013468629, 0.005957729, 0.036830664, -0.046255186, 0.01198579, -0.023584753, 0.030547647, -0.00214953, -0.025272727, -0.01421884, 0.038120087, 0.0045100567, -0.002997913, -0.006558484, -0.003710027, 0.07009783, 0.021345843, 0.045317423, 0.00024945976, 0.0038213865, -0.030266318, 0.025905717, -0.052655425, 0.024686625, 0.012952859, 0.014195396, 0.023197927, 0.0125191435, -0.009096307, 0.023420645, 0.009453828, -0.01473461, -0.015297268, 0.027992241, 0.0077951597, 0.0069628945, 0.018075392, 0.032751393, 0.0012571892, -0.0047444976, 0.018134002, -0.01421884, 0.047333617, 0.0535463, 0.030758644, -0.005474195, 0.009670687, -0.01966959, 0.039643954, -0.006570206, -0.01788784, -0.012190926, -0.021310676, 0.08411739, 0.028625233, -0.022611823, 0.02195539, 0.06193928, 0.011997513, 0.020595632, 0.014465002, -0.009506578, -0.001983956, -0.032188732, -0.004993591, 0.008000296, -0.040417608, 0.002293125, 0.02276421, 0.033689156, -0.022447715, -0.034603477, 0.02982088, 0.03176674, 0.032188732, 0.026632484, -0.0019971433, 0.011458298, -0.019188987, 0.02189678, -0.054108955, 0.02684348, 0.0044133496, 0.021392731, -0.029938102, 0.040159725, 0.024100523, 0.003033079, -0.016199864, -0.012917693, -0.0028220823, -0.035939787, -0.015133159, -0.0067343144, -0.006159934, 0.007466942, -0.019306207, 0.0042345887, -0.011370383, -0.023643363, -0.0020586841, 0.023573032, -0.0055914153, -0.0022257231, -0.028648676, -0.015121438, -0.033056166, 0.030688312, -0.0107842805, -0.019950919, 0.054484062, -0.010227484, -0.06020442, 0.004193561, -0.014171951, 0.022107776, -0.0017040921, 0.0015282616, -0.04210558, 0.021627171, -0.019505482, -0.04203525, 0.009125612, -0.027195143, 0.0120854275, 0.025905717, 0.052514758, 0.024241189, -0.015625484, -0.027148254, 0.060907744, 0.0049173976, -0.021263788, -0.017336903, -0.003446281, -0.0039708423, -0.0035752235, 0.0125777535, -0.023584753, -0.0036660694, -0.006370931, 0.029164447, 0.045106426, -0.0008044253, 0.016938355, -0.02517895, 0.02115829, -0.018227778, -0.006083741, -0.02982088, 0.023186203, -0.019130377, -0.013116968, -0.016434306, -0.02252977, 0.015004217, -0.013878901, -0.00906114, -0.014547057, -0.01433606, 0.0057232883, 0.019470315, 0.025507169, -0.019810256, -0.011335216, 0.0069746166, -0.008984947, 0.019165542, 0.025999494, 0.008850143, 0.0055591795, -0.002936372, 0.02569472, -0.016059201, 0.032657616, -0.0021993485, 0.019024879, 0.009295581, 0.013456907, -0.032376286, -0.026140159, -0.002546614, -0.0055035, -0.042527575, 0.024592848, 0.013433463, 0.045270536, 0.0008666986, 0.02161545, 0.0078596305, -0.029117558, 0.009213527, -0.04149604, -0.011751349, 0.01479322, 0.016598415, 0.035166133, 0.019775089, 0.008305068, 0.013480351, -0.039831508, 0.02207261, -0.019646145, 0.009547605, -0.028789341, 0.007935824, 0.016586693, -0.026140159, -0.0136796255, -0.031719852, 0.007906519, 0.030078765, 0.013949233, 0.017512735, -0.02143962, 0.019693034, 0.015215213, 0.009623799, -0.020560466, -0.021404453, -0.005453681, -0.023362035, -0.0018740619, -0.0037774288, 0.012284703, -0.00710942, 0.02105279, -0.011880292, -0.01485183, 0.03652589, 0.046137966, 0.03842486, 0.029375443, -0.019411705, 0.044168662, -0.0018301042, -0.02998499, 0.013046635, 0.01777062, 0.0075314133, -0.0017744245, 0.010760836, -0.022295328, -0.026937257, -0.024288075, 0.0032030486, -0.0063885143, 0.003686583, -0.00023315879, -0.0024865386, 0.005436098, 0.034955136, 0.0032206317, 0.028812785, 0.02684348, -0.004723984, 0.00963552, 0.016094366, 0.02660904, -0.016903188, -0.011909597, 0.0039473986, -0.011862709, 0.010104402, -0.012683252, -0.027593693, -0.033009276, -0.030289762, -0.012542588, -0.01691491, -0.025929162, 0.003950329, 0.012355035, -0.005852231, 0.035635013, 0.013140412, 0.0024689555, 0.017981617, 0.020501856, -0.010567423, 0.023010373, 0.0067987856, 0.0051752827, -0.018497385, -0.0008784207, 0.0037627763, 0.03331405, -0.028461123, -0.0067460365, -0.027781244, -0.024100523, 0.0040792716, 0.030453872, -0.011575519, -0.00027217122, -0.0057877596, -0.0372761, -0.0062654326, -0.01622331, -0.034158036, -0.02367853, 0.014476725, -0.0057320795, 0.010280233, 0.015660651, -0.005893258, -0.009319025, -0.018544273, 0.012952859, -0.01054984, 0.0017685634, 0.047380503, -0.014675999, 0.05293675, -0.0017333973, 0.016996965, -0.034134593, -0.0026828828, 0.015508264, 0.009928572, 0.0038917188, -0.011317634, 0.0213224, 0.033642266, -0.01564893, 0.010620172, 0.032657616, 0.0026799524, -0.030711757, -0.00487344, -0.002168578, -0.044637546, 0.013749958, 0.008744645, -0.051576994, 0.029281667, 0.051764548, -0.015695818, 0.022986928, 0.017383792, -0.03577568, -0.02218983, 0.032774836, -0.013105245, 0.0010652408, -0.001657204, 0.00172021, 0.0077775763, -0.030406984, 0.034814473, -0.048154157, 0.021920223, -0.010848752, 0.007138725, 0.018216057, -0.0067812027, 0.00019176531, 0.022928318, 0.026022939, -0.0024777472, 0.018497385, -0.025249284, 0.010883918, 0.038354527, 0.009834795, 0.018966267, 0.011147664, 0.021861613, 0.049467027, -0.0075783017, -0.005922563, 0.004237519, 0.015226936, 0.024733514, -0.003416976, 0.006382653, -0.0025729886, 0.0018169169, 0.010965972, -0.009395218, 0.0064471243, 0.0026008287, 0.019833699, -0.017688565, -0.019282764, 0.0013223931, -0.010039931, 0.015285546, 0.017712008, 0.015285546, -0.00009478372, 0.009360053, -0.0013157994, 0.000722371, 0.015437933, 0.01869666, 0.0030975502, -0.04564564, 0.0380732, 0.013105245, -0.0028513873, -0.013199022, -0.0075138304, -0.028086018, -0.046653736, 0.03406426, -0.010473646, -0.023139315, -0.038237307, -0.018485663, -0.002855783, 0.007507969, 0.006283016, 0.01777062, -0.006857396, -0.014840108, 0.006159934, 0.024334963, 0.0045950413, -0.013222466, 0.00015815602, 0.0039239544, 0.01192718, 0.002482143, 0.010045792, -0.02167406, 0.023924692, 0.016657025, 0.037088547, 0.012988025, -0.0038419, -0.01662186, 0.023666808, 0.026257379, 0.0010168874, -0.027640581, 0.009629659, -0.017442401, 0.04250413, -0.012319868, -0.0071856133, 0.030406984, 0.014347782, 0.006904284, 0.03221218, -0.02768747, 0.021181734, 0.02970366, -0.05120189, 0.015859926, 0.0015678235, 0.010057514, 0.00072896463, -0.005228032, 0.02970366, 0.012167482, -0.017923005, -0.009606215, -0.0006582661, 0.019200709, 0.017817507, -0.00003640244, 0.009670687, 0.028086018, -0.047403947, 0.0064412635, 0.023010373, -0.011288329, -0.0020909198, 0.0036279727, -0.011991652, -0.011804098, 0.015789595, 0.01427745, 0.003704166, 0.013386575, 0.040276945, 0.0021128985, 0.032141846, 0.032657616, 0.022799376, -0.02224844, 0.0062126834, -0.028976893, -0.005075645, 0.04287924, -0.039995614, -0.043066792, 0.0033642268, 0.014511891, 0.00023462404, 0.00064691034, -0.004237519, 0.016785968, -0.024053635, 0.008076489, 0.016996965, 0.030125653, 0.03406426, 0.005711566, -0.038166977, 0.055750042, -0.017993338, 0.013081801, 0.004879301, -0.0040470357, 0.002603759, -0.009201805, -0.014441558, 0.014382948, 0.041378815, 0.0023238952, -0.0049965214, 0.011200413, 0.017524457, -0.012437089, 0.0107256705, -0.0022110706, -0.013058357, 0.023748862, -0.030946197, 0.00785377, -0.005890327, 0.0032968249, 0.0061833784, 0.002115829, 0.048201047, 0.011886153, -0.046020746, -0.037111994, -0.008680174, -0.00825818, -0.008533648, 0.011815821, 0.006904284, 0.0036250423, -0.006792925, -0.00012546251, -0.010139569, 0.0019121584, -0.0040470357, 0.0031209942, 0.01891938, 0.019587535, -0.01003407, -0.03652589, -0.007982712, -0.00082640414, -0.03779187, 0.0032147707, 0.0012579219, 0.020959016, -0.011856847, 0.024100523, 0.0001978095, -0.0061540734, 0.0024865386, 0.019646145, 0.04505954, -0.027265474, -0.0036543473, -0.01915382, -0.01358585, 0.013023191, 0.04960769, 0.022682156, 0.013878901, 0.007689661, -0.002918789, 0.014418115, 0.014089897, 0.01576615, 0.004999452, 0.0023077775, 0.021123124, -0.0011275142, -0.0065526227, -0.024592848, 0.017442401, 0.028883116, -0.03169641, -0.00050514686, 0.0069921995, 0.0051401164, 0.014582223, 0.0065291785, -0.031274416, 0.009905128, 0.0345097, 0.0077658542, -0.0020367051, 0.0067577586, 0.0061423513, -0.001863805, -0.044238996, 0.021603728, -0.031555742, -0.007232501, 0.005778968, -0.027570248, -0.04386389, -0.001869666, -0.022119498, -0.03755743, -0.0050609927, 0.0112766065, 0.015379322, 0.028601788, -0.014722887, -0.05457784, -0.026304267, 0.01818089, -0.05017035, -0.022869708, 0.02087696, 0.00024048507, -0.0034931693, -0.025905717, 0.033220273, 0.023655085, 0.014558779, 0.022224996, -0.0026755566 ]
2401.09350
318
This presentation of clustering for top-k retrieval highlights an important fact that does not come across as clearly in our original description of the algorithm: We have made an implicit assumption that δ(q, u) ≈ δ(q, µi) for all u ∈ ζ −1(i). That is why we presume that if a cluster minimizes δ(q, ·), then the points within it are also likely to minimize δ(q, ·). That is, in turn, why we deem it sufficient to search over the points within the top-ℓ clusters. Put differently, within the first stage of search, we appear to be approx- imating every point u ∈ ζ −1(i) with ˜u = µi. Because there are C discrete choices to consider for every data point, we can say that we quantize the 127 128 9 Quantization vectors into [C]. Consequently, we can encode each vector using only log2 C bits, and an entire collection of vectors using m log2 C bits! All together, we can represent a collection X using O(Cd + m log2 C) space, and compute distances to a query by performing m look-ups into a table that itself takes O(Cd) time to construct. That quantity can be far smaller than O(md) given by the na¨ıve distance computation algorithm.
2401.09350#318
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 318, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "This presentation of clustering for top-k retrieval highlights an important fact that does not come across as clearly in our original description of the algorithm: We have made an implicit assumption that δ(q, u) ≈ δ(q, µi) for all u ∈ ζ −1(i). That is why we presume that if a cluster minimizes δ(q, ·), then the points within it are also likely to minimize δ(q, ·). That is, in turn, why we deem it sufficient to search over the points within the top-ℓ clusters. Put differently, within the first stage of search, we appear to be approx- imating every point u ∈ ζ −1(i) with ˜u = µi. Because there are C discrete choices to consider for every data point, we can say that we quantize the\n127\n128\n9 Quantization\nvectors into [C]. Consequently, we can encode each vector using only log2 C bits, and an entire collection of vectors using m log2 C bits! All together, we can represent a collection X using O(Cd + m log2 C) space, and compute distances to a query by performing m look-ups into a table that itself takes O(Cd) time to construct. That quantity can be far smaller than O(md) given by the na¨ıve distance computation algorithm.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.025563888, 0.030513288, -0.011694758, 0.007117765, 0.0073700403, -0.004267656, 0.050503097, 0.053674556, -0.05992137, 0.038273755, 0.020133965, -0.012253367, -0.03791336, 0.0017358938, 0.02974445, 0.027221696, 0.005303786, -0.04603422, 0.00493138, 0.035726976, -0.01015708, -0.022776848, 0.036087368, -0.013598835, 0.025539862, -0.0066552605, 0.031402256, 0.008162905, 0.061987624, -0.006943575, -0.004333728, -0.012589735, -0.043799784, -0.028639244, 0.006577175, 0.010769749, -0.040484164, 0.036111396, -0.016385876, 0.037937388, 0.0067874044, 0.037937388, -0.018344013, -0.05588497, 0.025035312, -0.018740445, 0.0001454712, -0.035991263, -0.03183473, 0.020170005, -0.013875137, 0.04886931, -0.048364762, -0.014607936, 0.016181653, -0.0200739, 0.00009948353, -0.016770296, 0.08135275, 0.0064690574, 0.014319622, -0.02599636, 0.015364762, -0.014788133, -0.00010239295, 0.015148526, -0.013334547, 0.012601748, 0.04046014, 0.01601347, -0.021671642, 0.014692028, 0.02174372, -0.0014092874, 0.0684747, -0.0030513287, -0.047067348, 0.02340153, -0.004120495, 0.0218158, 0.015112487, -0.009898799, 0.0752501, 0.0053698584, -0.015617037, -0.038754277, -0.031041864, -0.008877685, -0.06539935, -0.03651984, -0.059056427, 0.035174374, 0.009214052, 0.026789226, 0.03507827, 0.039402988, 0.07222279, 0.008126866, -0.004781216, -0.020061886, -0.03601529, -0.03817765, 0.020326175, -0.04781216, 0.058287587, -0.003282581, -0.044664726, 0.04781216, 0.0023755915, 0.0090759015, -0.0013785039, 0.02561194, -0.05516418, 0.06799418, -0.019100837, -0.031810705, -0.0440881, 0.028807428, -0.035871133, 0.038153622, -0.030465236, -0.02517947, 0.022596652, 0.018908627, 0.0038862396, -0.06439024, 0.045553695, -0.034597743, -0.002477703, -0.018812524, 0.02371387, 0.010133054, 0.02374991, 0.018752458, -0.011040044, -0.025131417, -0.007958682, 0.037336733, -0.0057452675, -0.009754642, 0.009790681, -0.05156025, -0.017959593, 0.031594466, -0.04819658, 0.032315254, -0.06501493, 0.06304478, 0.018331999, 0.015785221, 0.0010226156, -0.05891227, -0.038417913, 0.022260284, 0.00003470192, -0.018728431, 0.0021848835, 0.004135512, -0.02085475, 0.0133826, 0.00009361775, -0.020518385, -0.0015737169, -0.03202694, -0.0026338734, -0.012325446, -0.06458245, 0.0077124136, -0.05103167, -0.036760103, -0.012277394, -0.0744332, -0.004303695, 0.00018939412, 0.00036902758, -0.012103204, -0.03748089, -0.034405533, -0.005219694, -0.004021387, -0.046130326, 0.020254096, 0.04920568, 0.032699674, 0.0025828178, 0.020878777, 0.0004411062, -0.016001457, 0.014295596, 0.021875866, 0.012601748, 0.0032255189, 0.0030783582, 0.023545686, -0.011850929, 0.019220969, -0.013370587, 0.0041865674, 0.0030227976, -0.019929742, -0.0058263564, 0.04077248, 0.026933383, -0.042069897, -0.016385876, -0.025275575, 0.017875502, 0.007201857, -0.030200947, -0.0028981618, -0.035294503, -0.011268293, 0.01543684, -0.0049704225, 0.021083001, 0.022488534, -0.06400583, 0.028206771, -0.039619222, 0.027798327, -0.013442665, 0.029119767, 0.025756098, -0.024338553, -0.04387186, 0.015689116, -0.01146651, -0.07087732, 0.02204405, -0.00984474, 0.039523117, 0.024050238, -0.0017373954, -0.024422644, 0.009658537, 0.027269749, -0.0058173463, -0.026452858, -0.0625162, -0.037312705, -0.06674481, -0.028831454, -0.015292684, 0.011220241, -0.020109938, 0.02293302, -0.033036042, 0.002037723, 0.025948308, 0.0010699172, -0.035414636, -0.003183473, -0.03188278, -0.033756826, -0.025323626, 0.02371387, 0.011178195, 0.013262468, 0.044880964, 0.015040408, -0.0051235897, -0.03442956, -0.006901529, -0.020746633, -0.024014197, 0.005631143, -0.014355661, -0.010883873, -0.019797597, -0.021947945, -0.041325085, 0.021383328, 0.020890791, 0.01949727, -0.019244995, 0.0047661997, 0.0014783628, 0.0076763746, -0.027870405, -0.031041864, -0.012457591, 0.02390608, 0.05674991, -0.004282672, 0.04673098, -0.017010557, 0.040892612, 0.016349837, -0.031113943, -0.06035384, 0.058672007, -0.048749182, -0.013803058, -0.010505461, -0.058864217, 0.0097125955, -0.06660066, -0.028326903, -0.006505097, 0.0075682565, 0.056221332, -0.009250091, 0.04764398, 0.006270841, -0.05674991, 0.03531853, 0.053482346, 0.004778213, -0.0143676745, 0.030249, 0.0072439024, 0.037000366, -0.007814525, 0.049878415, -0.04901347, -0.02111904, 0.054683656, -0.031786676, -0.007904624, -0.029456135, 0.012854023, -0.07337605, 0.0064810705, -0.014211504, 0.036688026, 0.031930834, -0.04209392, -0.0252996, 0.030345105, -0.06366946, 0.032699674, 0.013442665, 0.016313797, -0.007748453, -0.022140153, -0.027630143, -0.0218158, 0.041373134, -0.03829778, -0.016770296, -0.013755006, -0.010853841, 0.0006321897, -0.021191118, 0.05771096, 0.05439534, 0.0061026574, 0.03673608, 0.019809611, 0.008150892, -0.03512632, -0.020362213, 0.036471788, -0.0023545688, 0.06439024, 0.0010901893, -0.0047121407, -0.035558794, -0.05929669, 0.01702257, 0.022464508, 0.015496906, 0.049349837, -0.016626138, 0.025059339, 0.022152167, -0.040484164, -0.023041137, -0.030969786, -0.0006182995, -0.021191118, -0.015605024, -0.027245723, -0.040364034, -0.029720424, -0.0046430654, -0.00061154214, 0.030080816, 0.0565577, 0.04324718, 0.036255553, -0.037120495, -0.018476157, -0.037120495, 0.02340153, 0.017791409, 0.004393793, -0.0007808519, -0.053097926, 0.002054241, -0.0535304, 0.006931562, 0.006108664, 0.0116407, -0.0069135423, 0.0071958504, 0.017154714, 0.038826358, 0.018980706, 0.03265162, -0.001955133, -0.020049874, -0.030080816, -0.019605389, -0.02409829, 0.000029727744, 0.02374991, 0.03036913, 0.019593375, 0.0066792867, 0.0066432473, -0.025780125, 0.009388242, -0.038706224, -0.025659993, 0.006919549, 0.000023979284, 0.035726976, -0.0062408084, 0.019737532, 0.013682927, 0.009952858, -0.04800437, 0.024002185, -0.04185366, 0.0038381873, 0.031354204, 0.0063549327, 0.021095013, -0.05929669, -0.011574627, 0.006108664, 0.019124864, -0.006745359, -0.0011630188, -0.028398981, 0.017971605, 0.00029751207, -0.023797963, -0.023581726, -0.02998471, -0.031282127, -0.057278488, -0.046827085, -0.021323262, 0.023005096, 0.01791154, -0.0037961414, 0.06914744, 0.0048412816, -0.031113943, -0.02827885, -0.02320932, 0.023569712, -0.018680379, -0.08553331, 0.0744332, -0.0027134602, -0.0041565346, -0.028567165, -0.01319039, 0.041301057, -0.048292685, 0.024206407, -0.005108573, 0.017010557, -0.0225486, 0.0049133603, 0.020590464, -0.008000729, 0.024470696, -0.0824099, 0.026164545, -0.027245723, -0.003901256, -0.00032867107, 0.044328358, -0.035582818, 0.046490718, -0.014343648, 0.036808155, -0.059200585, -0.03957117, 0.017647251, 0.016854387, 0.01574918, 0.05415508, 0.042334184, 0.04793229, 0.011886968, -0.039787404, -0.02808664, 0.056317437, -0.010313251, -0.014728067, 0.025900256, 0.0049373866, 0.009159993, -0.009117947, 0.018968694, -0.001997179, 0.036471788, 0.03202694, 0.03632763, 0.0025753095, 0.054827813, 0.008685475, -0.009057881, 0.02308919, 0.0481245, 0.03880233, 0.022152167, 0.0134546785, 0.022416456, 0.0038261742, 0.0143676745, 0.013214416, 0.006258828, -0.018428104, 0.012517656, -0.018163815, -0.021058975, 0.003216509, -0.020842738, -0.016145613, -0.017455043, -0.04692319, -0.07986312, -0.031186022, -0.028014563, -0.006087641, -0.014343648, -0.018307973, 0.028038587, -0.018211868, -0.01918493, -0.015737168, 0.002183382, 0.0277743, 0.024014197, -0.0060245725, 0.014223517, -0.036784127, 0.0050364947, 0.008745541, 0.0020497362, 0.030513288, 0.00702166, -0.007105752, -0.0099888975, -0.00422561, 0.00048953405, -0.0040454133, -0.008012742, -0.026164545, 0.0012854023, 0.018476157, 0.055836916, -0.011718784, -0.023473607, 0.0030077812, 0.046971243, 0.012577722, 0.03918675, -0.025443757, -0.02827885, 0.023918092, -0.029023662, 0.023221333, 0.011130142, -0.02561194, 0.0016052512, 0.021407355, -0.015016382, 0.019064799, -0.005195668, 0.0028786403, -0.017058609, 0.00561913, 0.009135967, -0.018055698, 0.026741173, 0.0048532947, 0.0021398345, -0.028158719, -0.01693848, 0.0028350928, -0.008168912, -0.016806334, 0.034982163, 0.04046014, -0.039619222, -0.009586458, -0.027245723, -0.014391701, 0.018680379, -0.010403349, 0.012385512, -0.012553696, -0.0011029532, 0.009976884, 0.034862034, -0.0072378963, -0.036423735, -0.02796651, 0.017863488, -0.0057392614, 0.02587623, 0.01075173, -0.0034747908, 0.016277758, -0.025708046, -0.020914817, 0.0051145796, 0.008667456, -0.019569349, -0.00074856664, -0.07659556, 0.018896615, -0.0059164544, -0.0036219512, -0.04134911, -0.0060035493, 0.019461231, 0.011322352, 0.037144523, 0.013779032, -0.06621624, 0.011983072, -0.011184202, -0.013947216, 0.014475793, -0.0027374865, 0.010054969, 0.0021067983, 0.025275575, 0.00012651301, 0.05410703, 0.013430652, -0.007706407, 0.020638516, 0.057470698, 0.0035468694, -0.055068076, -0.0025302602, 0.0040454133, -0.012781944, 0.017154714, -0.050406992, -0.009370223, -0.016758282, -0.023125228, 0.04495304, -0.0020512377, 0.023785949, -0.016433928, 0.006745359, 0.003174463, -0.0004478636, -0.0019701493, -0.0140913725, 0.0010609074, 0.00013430277, -0.046779033, -0.00051168323, 0.02561194, -0.003934292, 0.03190681, -0.016818348, 0.025059339, 0.0021428377, 0.037072442, 0.03654387, -0.019317074, 0.0025783128, 0.013370587, -0.012661813, -0.023437569, -0.031594466, -0.0018995723, -0.03779323, -0.006595195, -0.041613396, -0.0017163724, -0.0091720065, -0.00967055, 0.01636185, 0.0039042593, 0.00019483756, -0.016385876, 0.011226247, -0.012019112, 0.030753551, -0.0007703404, 0.0070576994, -0.0153767755, -0.026837278, 0.00027780308, 0.010799782, -0.013406626, 0.000076020435, 0.05795122, -0.052521296, -0.02247652, -0.032243174, -0.028158719, -0.0055830907, -0.00043810293, 0.060978524, -0.0026864307, 0.028062614, -0.029960684, 0.019208957, 0.0022029032, -0.011646706, -0.000045283778, -0.025900256, 0.0139111765, -0.008547325, -0.0086194035, -0.027173644, 0.026837278, -0.048941392, 0.0039282856, 0.0029041683, -0.016998544, -0.023942119, 0.0025167456, 0.010547507, 0.004183564, -0.012733892, 0.03342046, 0.024698945, -0.0052857664, 0.023942119, 0.030032763, -0.016241718, 0.04173353, -0.028230797, 0.0011998089, -0.018824536, -0.009586458, 0.008535312, 0.018692393, 0.01972552, 0.036447763, 0.018656353, 0.00057287497, -0.0053548417, 0.030921733, 0.0017479069, 0.008721515, -0.024867129, 0.006312887, 0.03798544, -0.008018748, 0.008018748, -0.0073940665, 0.009814708, 0.00756225, -0.008859665, 0.01775537, -0.03601529, 0.046995267, 0.019569349, -0.01508846, -0.0006562159, -0.021599565, 0.012854023, -0.02998471, 0.005673189, 0.008397161, 0.024819076, 0.01690244, 0.030825628, 0.009087915, -0.0024176375, -0.02146742, -0.046995267, 0.01914889, -0.021551512, -0.019953769, 0.0018530216, -0.033708774, 0.008775573, -0.003739079, -0.01740699, 0.006859483, 0.009904806, -0.017431017, 0.027606117, 0.009208045, -0.009964871, 0.006715326, -0.028903533, 0.004108482, 0.0052016745, -0.08740736, 0.009370223, 0.022416456, 0.00845122, 0.008018748, 0.008601383, -0.009706589, -0.033756826, 0.018872589, -0.00039830952, -0.024026211, -0.032891884, 0.007646342, 0.028350929, -0.023449581, 0.013310521, -0.009382236, 0.010895886, -0.011856935, -0.019485258, -0.012517656, 0.00019802853, 0.02719767, 0.01663815, -0.013610848, -0.020242082, 0.0032765744, -0.04134911, 0.012181289, -0.0075982893, 0.0056431564, 0.0041895704, -0.0065891882, 0.06189152, 0.0030843648, -0.0086194035, 0.0027540044, -0.012313433, -0.0035378595, -0.0006329405, 0.011718784, -0.052040774, -0.00984474, -0.022776848, 0.02765417, -0.04151729, 0.02599636, -0.03469385, -0.01601347, -0.0228249, -0.0013094285, -0.019172916, -0.017683292, -0.001398776, 0.026741173, 0.00017015438, 0.0027900438, 0.014379688, -0.025828177, -0.013959229, -0.022596652, 0.0035498727, 0.047355663, -0.017202767, -0.005237714, -0.025395704, -0.035222426, 0.057086278, 0.038225703, 0.002922188, 0.013646888, 0.004162541, -0.0070456862, 0.032867856, 0.023257373, -0.0076643615, 0.021995997, 0.019629415, -0.03615945, 0.0069676014, -0.00316245, -0.015905352, -0.0014588415, 0.022248272, -0.011688752, -0.0140913725, -0.03442956, -0.022344377, -0.025900256, -0.0070817256, 0.00808482, -0.0016067529, -0.00808482, 0.0106315985, 0.0074060797, -0.01073371, -0.008691482, -0.010757736, 0.02247652, 0.029528214, 0.04591409, 0.018151803, 0.029023662, -0.03454969, -0.01566509, 0.0035228431, 0.03481398, -0.028423008, 0.04173353, -0.005664179, 0.008937751, -0.019401165, -0.012373499, -0.011694758, -0.009087915, 0.04387186, -0.022260284, 0.027269749, 0.03183473, -0.043919913, 0.02885548, 0.005763287, 0.018596288, -0.018235894, -0.019136878, -0.00965253, 0.0055170185, 0.021070987, 0.0009798189, 0.013502731, 0.005237714, 0.07856571, 0.017671278, 0.055596653, -0.008649436, 0.013010194, -0.013598835, 0.025924282, -0.012529669, 0.013779032, 0.0069255554, 0.03551074, 0.037576996, 0.025780125, 0.0016427921, 0.011898981, 0.0040123775, 0.00003212098, -0.026164545, 0.012529669, 0.004474882, -0.036447763, 0.036976337, 0.037649073, -0.036231525, -0.01648198, -0.011148162, -0.024014197, 0.039907537, 0.04120495, 0.035726976, -0.008871678, 0.025107391, -0.0101690935, 0.052713506, -0.0018695395, -0.04497707, 0.0040724427, -0.019641427, 0.08769567, 0.015977431, -0.019257009, 0.014475793, 0.04209392, 0.025756098, 0.033252276, 0.017202767, 0.00072529126, -0.0075982893, -0.013959229, -0.027245723, 0.008505278, -0.030825628, -0.012445577, 0.029504187, 0.0013304515, -0.03577503, -0.04267055, -0.0044929013, 0.02441063, 0.05674991, 0.01899272, -0.0017028577, 0.0056431564, 0.008403167, 0.002353067, -0.05574081, 0.013298508, 0.0013372088, 0.0056791957, -0.028158719, 0.03188278, -0.01334656, 0.0038712232, -0.0031414272, 0.009556426, -0.011610666, -0.016530033, -0.0200739, -0.012385512, -0.013610848, 0.008271024, -0.009976884, -0.0036339643, 0.0051145796, -0.01594139, -0.01582126, 0.036039315, -0.03493411, -0.0127218785, -0.01477612, 0.0047091376, -0.020758646, 0.05213688, -0.007958682, -0.019797597, 0.05256935, -0.01508846, -0.058431745, 0.014271569, -0.0057873135, 0.007856571, 0.014151438, -0.021791773, -0.03469385, 0.009382236, -0.02998471, -0.04978231, -0.010000911, -0.017455043, 0.009772661, 0.017995631, 0.046442665, 0.03354059, -0.0168664, -0.0067753918, 0.040123772, 0.0057873135, -0.029263925, -0.029528214, -0.008973789, 0.0019100838, 0.007748453, 0.011802876, -0.0037510921, 0.015268657, 0.007129778, 0.030681472, 0.034982163, -0.0066252276, 0.02042228, -0.02916782, 0.002971742, -0.037961412, 0.0027780307, -0.028999636, 0.0070456862, -0.006973608, -0.015388789, -0.0073940665, -0.030729525, 0.045313433, -0.013995268, 0.0036549873, 0.0067633786, 0.016001457, 0.004363761, 0.003249545, 0.027558064, -0.022560611, -0.018680379, -0.007063706, -0.011118129, 0.009520386, 0.014980342, 0.0017449036, -0.0057993266, -0.025659993, 0.035006188, -0.012661813, 0.026020387, 0.0071958504, 0.01015708, 0.021803787, 0.012902075, -0.029720424, -0.017274845, -0.0011532581, 0.003444758, -0.038706224, 0.01019312, -0.0015887332, 0.057422645, -0.008829633, 0.017935567, 0.019160904, -0.021287223, 0.019761559, -0.047403716, -0.008925738, 0.01632581, 0.00984474, 0.03207499, 0.009250091, -0.005574081, -0.0011097107, -0.015364762, 0.034862034, 0.00020854, 0.012553696, -0.019953769, 0.006835457, 0.00918402, -0.013755006, -0.020133965, -0.014175464, 0.012457591, 0.011772843, -0.0038502002, 0.037336733, -0.023425557, 0.014331635, 0.0065231165, 0.0056131235, -0.03017692, 0.011382418, -0.0060275756, -0.031041864, -0.023689844, -0.002141336, 0.018380051, 0.0060666185, 0.0067393524, -0.026645068, -0.043391336, 0.040219877, 0.04507317, 0.021599565, 0.0024251456, -0.020602476, 0.028543139, -0.01775537, -0.032171097, 0.0060245725, 0.014619949, 0.017851476, 0.001701356, 0.0068114307, -0.0032645615, 0.008379141, -0.026909357, 0.0018064708, 0.009093921, 0.0072559156, -0.020746633, 0.012397525, -0.001755415, 0.032699674, -0.012926102, 0.02549181, 0.025900256, -0.027485985, -0.0040904623, 0.01423553, 0.029720424, -0.0059825266, -0.012253367, -0.0031894795, -0.041325085, 0.0066432473, -0.014403714, -0.020782672, -0.032819804, -0.0012486122, -0.01423553, -0.020434292, -0.020350201, 0.017479068, -0.0011667729, -0.0337328, 0.0046761013, 0.02390608, 0.007964689, 0.030777577, -0.009658537, -0.003901256, 0.025155444, 0.006204769, -0.010030943, -0.023437569, -0.008090827, -0.012950128, 0.019785585, -0.013334547, 0.000975314, -0.020794686, 0.008631417, 0.03531853, 0.028158719, 0.0024506736, -0.0146439755, -0.002336549, -0.031354204, -0.015292684, -0.0037030398, -0.035294503, -0.036639974, 0.0061026574, 0.0076763746, 0.012866036, -0.0010451402, -0.009520386, -0.018007645, 0.0007421847, 0.011202221, -0.00076508464, 0.0049704225, 0.028687296, -0.019269021, 0.041781582, -0.013598835, 0.011796869, -0.027678195, -0.0023575719, 0.017322898, 0.016578086, 0.020794686, -0.0002083523, 0.011580634, 0.051079724, -0.02738988, 0.011748817, 0.019485258, -0.006805424, -0.022308337, -0.008210958, 0.007850564, -0.032363307, 0.016782308, 0.027918458, -0.063909724, 0.008727522, 0.03442956, -0.0051716417, -0.0015511923, 0.0043607573, -0.038514018, -0.023149254, 0.026741173, 0.0011322352, -0.0017163724, -0.0030393158, 0.005324809, 0.026284674, -0.016662177, 0.029287951, -0.04615435, 0.0220921, -0.012902075, 0.007442119, 0.02247652, -0.0044838917, -0.009754642, 0.02220022, 0.029047688, 0.011724791, 0.0075982893, -0.01547288, -0.005823353, 0.019100837, -0.005402894, 0.008361122, 0.0020242082, 0.010517474, 0.03856207, 0.008409174, -0.009694576, 0.009033855, 0.021791773, -0.0079827085, -0.008835639, 0.014355661, -0.014019294, 0.015845286, 0.018440116, 0.013214416, 0.0078926105, -0.0013206908, -0.0041715507, -0.009123954, -0.025035312, 0.013899163, -0.0089858025, 0.023894068, 0.0063188937, 0.020410266, -0.0019911723, -0.0055170185, 0.011178195, 0.01899272, 0.014607936, 0.017587187, -0.0000933362, -0.01841609, 0.041877687, 0.0064089918, -0.004306698, -0.0063068806, -0.004096469, -0.024122316, -0.023389516, 0.028807428, 0.00984474, -0.007934656, -0.014680015, -0.025467783, -0.010421369, -0.0012839007, -0.0038381873, 0.016998544, -0.002560293, -0.015400801, 0.03654387, 0.03880233, 0.028062614, -0.0047571897, 0.0007816027, 0.00014406341, 0.016962506, 0.011280306, 0.00057625363, -0.003979341, 0.04259847, -0.010397343, 0.020121953, 0.0046851113, 0.005919458, -0.0013514743, 0.019088825, 0.002901165, 0.015112487, -0.026260648, -0.00060778804, -0.040219877, 0.061555155, -0.014944303, -0.0012215826, 0.03209902, 0.0014701037, 0.014788133, 0.035895158, -0.01740699, 0.012890062, 0.033324353, -0.056509648, 0.02298107, -0.006300874, -0.0011735302, -0.015064434, 0.014319622, 0.02669312, -0.011346378, -0.006204769, -0.028831454, -0.0071838372, 0.0140913725, 0.0043517477, 0.020410266, 0.03404514, 0.023509648, -0.020182017, 0.0017674281, 0.020974882, 0.011130142, 0.01594139, 0.00068211916, -0.031089917, -0.014932291, 0.0014355661, 0.017491082, -0.005979523, -0.012757918, 0.04298289, -0.020758646, 0.010649618, 0.014836186, 0.025083365, -0.022728795, 0.010127048, -0.017947579, -0.016914453, 0.029215872, -0.031378232, -0.0376731, 0.007658355, 0.0017118675, -0.0073219878, -0.015232618, 0.015653076, 0.015016382, -0.008427193, 0.027534038, -0.0036429742, 0.029600292, -0.0006562159, -0.015580998, -0.019929742, 0.055788863, -0.056990173, -0.0003108391, -0.015617037, 0.01369494, -0.0014753595, -0.014896251, -0.00333664, -0.00022975064, 0.027269749, -0.0056341463, -0.025059339, -0.0029236895, 0.022524573, -0.008289043, 0.013779032, -0.03298799, -0.029960684, 0.025035312, -0.021010922, 0.029696397, -0.0036970333, -0.0032105024, 0.021095013, 0.014619949, 0.021695668, 0.012697852, -0.0465628, -0.053818714, -0.018440116, -0.0074060797, -0.00040394068, 0.007958682, 0.0070396797, 0.0082530035, 0.006463051, -0.005814343, 0.002980752, 0.023761922, -0.026092466, 0.025924282, 0.012769931, 0.014535857, -0.0054839826, -0.012553696, -0.004694121, -0.007838551, -0.032555517, 0.021287223, 0.0069676014, 0.024278486, -0.03673608, 0.030417183, 0.0021713688, -0.022921005, 0.011748817, -0.00037841283, 0.008463233, -0.006105661, 0.0017959593, 0.0031113944, -0.0070276666, 0.0011562614, 0.054635603, 0.0090759015, 0.009111941, -0.017743357, 0.0012335958, 0.034477614, 0.045433566, 0.030969786, 0.013502731, -0.0015677103, 0.01604951, 0.00050004554, -0.030008737, -0.01984565, -0.0042015836, 0.037456863, -0.032891884, 0.023065163, -0.006997634, 0.0017599199, -0.001929605, 0.048052423, -0.035582818, 0.009051875, 0.029239899, 0.0052407174, -0.008385148, -0.024674919, -0.0088957045, 0.019809611, -0.041949764, 0.010433382, -0.008361122, 0.008090827, 0.000392303, -0.008114853, -0.022464508, -0.00025884487, -0.028831454, -0.01763524, -0.012793957, 0.02023007, -0.001016609, 0.0032465418, 0.012553696, -0.032050967, -0.019317074, 0.02688533, -0.02286094, -0.0032465418, 0.017455043, -0.006276848, 0.0011840417, -0.013646888, 0.03462177, 0.038970515, -0.009202039, 0.03346851, -0.012481617 ]
2401.09350
319
Clearly, the approximation error, ∥u− ˜u∥, is a function of C. As we increase C, this approximation improves, so that ∥u − ˜u∥ → 0 and |δ(q, u) − δ(q, ˜u)| → 0. Indeed, C = m implies that ˜u = u for every u. But increasing C results in an increased space complexity and a less efficient distance computation. At C = m, for example, our table-building exercise does not help speed up distance computation for individual data points—because we must construct the table in O(md) time anyway. Finding the right C is therefore critical to space- and time-complexity, as well as the approximation or quantization error. # 9.1.1 Codebooks and Codewords
2401.09350#319
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 319, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Clearly, the approximation error, ∥u− ˜u∥, is a function of C. As we increase C, this approximation improves, so that ∥u − ˜u∥ → 0 and |δ(q, u) − δ(q, ˜u)| → 0. Indeed, C = m implies that ˜u = u for every u. But increasing C results in an increased space complexity and a less efficient distance computation. At C = m, for example, our table-building exercise does not help speed up distance computation for individual data points—because we must construct the table in O(md) time anyway. Finding the right C is therefore critical to space- and time-complexity, as well as the approximation or quantization error.\n# 9.1.1 Codebooks and Codewords", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.024048544, 0.024152933, 0.0044006356, 0.035283376, 0.02463573, 0.038467232, 0.051489722, -0.00094520696, -0.031916842, 0.02463573, 0.019912142, -0.0066515165, -0.04355618, 0.03275195, 0.010308383, 0.0016848986, 0.025118528, -0.031995133, 0.023448309, 0.00779653, -0.004051586, 0.013309558, 0.014379541, 0.034944113, 0.03525728, -0.02001653, 0.0132769365, 0.037814803, 0.056996223, -0.028732987, -0.0022345704, -0.017746078, -0.02372233, -0.038258456, -0.014014182, 0.053499203, -0.014979777, 0.032543175, -0.019781657, 0.018698623, -0.03275195, 0.011254406, -0.020551523, -0.043973736, 0.0021693273, 0.0008098279, -0.03977209, 0.012304816, -0.032543175, 0.0023471145, -0.0012967032, 0.058718637, -0.015110263, -0.020616766, 0.014340396, -0.033430476, 0.002223153, 0.0048671225, 0.057257194, -0.024296466, 0.007848725, -0.01910313, -0.045722246, -0.013068159, 0.004257101, 0.025536083, -0.019585928, 0.010327956, -0.01901179, 0.01992519, -0.045461275, 0.029933456, 0.03157758, -0.023383066, 0.049610723, -0.01855509, -0.027428128, 0.07077553, 0.032725852, 0.04086817, 0.023409164, -0.056369893, 0.06753948, -0.037031885, -0.0086120665, -0.032151718, -0.032830242, 0.030324914, -0.03744944, -0.025588278, -0.04115524, 0.016389024, -0.019233616, -0.009792964, 0.035283376, -0.014405639, 0.043060333, 0.019794704, 0.018763866, -0.065712675, -0.005366231, 0.012109088, 0.058927413, -0.054490894, 0.06999262, -0.04011135, -0.03181245, -0.027923973, -0.049819503, 0.0015144515, -0.029307123, 0.033456575, -0.024074642, 0.020186162, -0.00048116661, 0.0006495749, -0.02399635, 0.00498456, -0.030977342, 0.029646387, -0.016558656, -0.008344571, 0.04833196, -0.046844423, 0.028393723, -0.024192078, 0.008853465, -0.0029000482, 0.015840983, 0.026266804, 0.019077033, 0.033743642, 0.013413946, 0.026462533, 0.00588165, 0.01993824, -0.0105693545, 0.039380632, 0.024426954, 0.028811278, 0.04373886, 0.03423949, 0.02177809, 0.018855207, -0.00992345, 0.020564571, -0.016493414, 0.048227575, 0.007868297, -0.01678048, -0.026175464, -0.03155148, -0.007587753, -0.032621466, 0.00387543, -0.012324389, -0.016049761, 0.010027838, -0.012754993, -0.00534992, 0.014014182, 0.032282203, -0.010047412, -0.015384283, 0.053760175, -0.009075291, -0.058927413, -0.026345095, -0.03350877, -0.0507851, -0.017798271, -0.020447135, -0.020238357, -0.0323083, 0.033091214, -0.046009313, -0.037501637, -0.06727851, -0.032934632, -0.011273978, 0.008709931, 0.023278678, 0.035570446, 0.031029537, 0.03238659, -0.0061556706, -0.005366231, 0.012383108, 0.008318474, -0.058614247, -0.01606281, 0.013557481, 0.035309475, 0.025157673, -0.011084774, -0.008873039, 0.05068071, -0.018515943, 0.0028886306, -0.020525426, 0.016193295, 0.016075859, 0.042277418, -0.006077379, 0.0076008015, -0.014575271, 0.0030615246, 0.03734505, -0.038441133, 0.03256927, -0.035570446, 0.00913401, -0.026658261, -0.0031365538, -0.0057707373, 0.028367626, -0.031864647, 0.0030908838, -0.042042542, 0.033273894, -0.050054375, 0.051541913, 0.036718722, 0.006452526, -0.061798103, 0.0023144928, 0.031916842, -0.04640077, 0.016128052, -0.0021497544, 0.041207433, -0.006605847, -0.008912184, -0.022169547, 0.02740203, 0.013015965, -0.0051313564, -0.019168373, -0.052272636, 0.031681966, -0.05480406, -0.0064264284, 0.0069157504, 0.013146451, -0.03773651, 0.03684921, -0.048697323, -0.033691447, 0.032099523, -0.007711714, -0.031264413, 0.004051586, 0.013146451, -0.006165457, -0.04825367, 0.037866995, 0.014784048, 0.033091214, 0.056161113, -0.021269195, -0.009792964, -0.054334313, -0.027532516, -0.014940631, 0.0083249975, 0.027010573, -0.024192078, -0.007326781, -0.00427015, -0.005163978, 0.03439607, 0.0148884365, -0.028967861, 0.03590971, -0.009336263, -0.039328437, -0.050889485, 0.04097256, 0.016649995, 0.0004750501, -0.02907225, 0.017419862, 0.03922405, 0.028080557, 0.041859865, -0.02186943, 0.027010573, 0.026606066, -0.024909751, -0.067696065, 0.049793404, -0.063938074, -0.0024515032, -0.026162416, -0.0765691, 0.026671309, -0.009597235, -0.069522865, -0.017511202, 0.028550306, 0.036379457, 0.04347789, 0.0023911535, 0.005389066, -0.060962994, 0.060232274, 0.04934975, -0.004204907, -0.014771, 0.024648778, -0.010732462, 0.054021146, -0.02132139, 0.049140975, -0.06456441, -0.025784006, 0.017302426, -0.052377023, -0.009336263, -0.047888312, 0.03303902, -0.040398423, 0.01569745, -0.013048586, 0.006129573, 0.027636904, -0.06503415, -0.009290594, -0.0022084732, -0.04760124, 0.02141273, 0.009173156, 0.0075290343, 0.048958294, -0.031447094, 0.005451047, -0.022313083, 0.07354183, -0.028002266, 0.00033049623, -0.031942938, 0.0073789754, 0.03541386, 0.019181421, 0.02907225, -0.008846941, 0.01148928, 0.02214345, 0.091705464, 0.01144361, -0.054490894, -0.048149284, 0.036770914, -0.009721196, 0.06325954, 0.026201561, 0.003611196, -0.049976084, -0.05028925, 0.0013970142, 0.02186943, -0.013988084, 0.04005916, -0.007848725, -0.011332697, 0.029489804, 0.027558614, -0.027741294, -0.034552656, -0.044025928, -0.09259277, 0.013818452, -0.03810187, -0.028498111, -0.03812797, -0.015814885, -0.0387804, 0.019338004, 0.023200385, 0.0415206, -0.00262929, 0.00761385, -0.02907225, -0.0088991355, 0.056213308, 0.019233616, 0.010523684, -0.0034252538, -0.02048628, -0.03776261, -0.013126877, 0.024909751, 0.0013382956, 0.026671309, 0.016167197, 0.02554913, 0.06101519, 0.038467232, 0.018489847, 0.00992345, 0.009447176, -0.021269195, -0.0027597758, -0.017211085, -0.029281028, -0.021099564, 0.041129142, 0.025249014, 0.0014753058, 0.058979608, 0.054960646, 0.0072484897, 0.04298204, 0.003138185, -0.009127486, -0.028028363, -0.033639256, 0.020042628, 0.042016447, -0.011691533, -0.0148884365, -0.025705714, -0.030742468, 0.0016196558, -0.022495762, -0.020199211, -0.015345138, 0.03765822, -0.0122982925, -0.034109004, -0.01717194, 0.007124528, 0.024714021, 0.002423775, -0.026632164, -0.033874128, -0.0024906488, -0.0048410255, -0.019311907, -0.017028404, -0.05370798, -0.007698666, -0.025823152, -0.02427037, 0.003699274, -0.0016661413, 0.005496717, -0.012370059, 0.050445832, 0.033456575, -0.0313949, -0.06033666, -0.0078617735, 0.028967861, -0.0044430434, -0.036875304, 0.06352051, -0.0027499895, -0.01725023, -0.02564047, -0.022991609, 0.013100781, 0.0031316606, 0.012376584, 0.0064720986, 0.057361584, 0.015149408, -0.0048214523, 0.0052944636, 0.003363273, -0.0184507, -0.04567005, 0.07098431, -0.033874128, 0.025053285, 0.013087732, 0.0030647865, -0.037579928, 0.010373626, -0.0061556706, -0.011450134, -0.047731727, -0.004368014, 0.03173416, -0.015084165, 0.050445832, 0.03212562, 0.0253795, 0.04282546, -0.0075290343, -0.047549047, -0.052585803, 0.035700932, -0.01420991, 0.048462447, 0.027454225, 0.010588927, -0.0020845116, 0.035648737, 0.034709238, -0.015240748, -0.022835026, -0.014105521, 0.012122137, -0.0076464713, 0.008187988, -0.006253535, -0.014992826, 0.009349312, 0.038519427, 0.012037321, 0.0025102217, 0.015540866, 0.009538516, -0.008520727, 0.039432827, 0.019598976, 0.045696147, 0.0018316952, 0.011104346, -0.010008265, -0.019546783, -0.0031300297, -0.011848116, 0.022913316, -0.028472014, -0.040502813, -0.03700579, -0.0112022115, -0.04454787, 0.00534992, -0.00627637, -0.009903877, 0.009029621, -0.02094298, 0.007998783, -0.0012648973, -0.0018594235, 0.027819585, -0.0030191166, -0.0034774481, -0.044521775, 0.012807188, 0.009166632, 0.004534384, -0.0014557329, 0.024883654, 0.03082076, -0.009688575, -0.0007494782, 0.014353445, 0.018594235, -0.0014304513, 0.00613936, 0.006429691, 0.011887262, 0.019429345, 0.04901049, -0.026227659, -0.01725023, 0.01069984, 0.01028881, 0.011221784, 0.036040194, -0.035648737, 0.031969037, -0.0074898885, -0.055012837, 0.02648863, -0.009492846, -0.025222916, 0.026984476, 0.022508811, -0.0017729766, -0.0055554355, 0.0013529753, 0.04760124, 0.0086120665, -0.004358228, 0.004204907, -0.018346312, 0.0064264284, 0.019142276, -0.022482714, -0.020329697, 0.03131661, 0.017511202, -0.0332478, -0.016115004, 0.030951247, 0.017837416, 0.004596364, -0.029281028, -0.011300076, -0.015305991, 0.0323083, -0.026958378, -0.0062470105, -0.01338785, -0.015632207, 0.021334438, -0.006452526, 0.040267937, -0.014914534, -0.02094298, -0.01678048, -0.0073006838, 0.035857514, 0.005627203, 0.0061719813, 0.0037710413, 0.03358706, -0.010399723, 0.012748469, -0.023826718, -0.015540866, 0.014588319, -0.05741378, 0.012565788, 0.00020194726, -0.010314907, -0.015266846, 0.011371843, 0.010327956, -0.01411857, 0.038806494, 0.027584711, -0.01919447, 0.005989301, -0.0057576885, -0.03264756, -0.0044397814, -0.0152929425, -0.01578879, 0.03118612, 0.028028363, 0.020747252, 0.027375933, -0.045983218, -0.046740036, 0.040737685, 0.023839766, -0.008037929, -0.009838634, 0.010817278, -0.0012991498, 0.022717588, 0.0014174026, -0.03376974, -0.007959638, -0.017184988, -0.0013554218, -0.00055619597, -0.017184988, -0.00030827284, -0.036040194, -0.0075290343, 0.0150058735, 0.008742552, -0.05287287, -0.022861123, -0.013479189, -0.0062926807, -0.038075775, -0.027114961, 0.014914534, -0.0019491325, 0.010249664, -0.0017746077, 0.015214651, -0.009903877, 0.052377023, -0.0071506253, -0.012109088, -0.032073423, -0.006325302, -0.0020160065, -0.012285244, -0.028445918, -0.016206345, -0.042955946, 0.00076211896, -0.032595366, -0.022965511, -0.022574054, 0.006922275, 0.015997566, -0.018137535, -0.005451047, -0.021634556, 0.006628682, -0.0020013268, 0.04371276, -0.010412771, -0.0032882437, -0.020512378, 0.0011123919, -0.011345745, 0.024988042, -0.05673525, 0.006240486, 0.052820675, -0.052846774, -0.036666527, -0.008683834, -0.053864565, -0.015305991, -0.013250839, 0.014771, 0.008670785, 0.04718369, -0.024700973, 0.0036829633, -0.012050369, -0.01800705, -0.012539691, -0.040920366, 0.011195687, 0.015279894, -0.001735462, -0.021386633, 0.012343963, -0.057622556, -0.003979819, -0.014196862, -0.019116178, -0.004469141, 0.024961945, -0.0032442047, -0.010327956, -0.005013919, 0.03515289, 0.03027272, -0.01661085, -0.0035068074, 0.024335613, 0.0029326696, 0.028054459, -0.005826194, -0.026880087, -0.069418475, -0.011345745, -0.013100781, 0.010999958, 0.014679659, 0.04384325, 0.005320561, -0.030533692, -0.0152277, 0.03820626, -0.03147319, 0.010784657, -0.0066449926, -0.016167197, -0.00592732, -0.0406333, 0.009277545, 0.024857556, -0.019625073, 0.0014051696, -0.0018235398, 0.030585885, -0.024974994, 0.012265671, 0.024948897, -0.0166239, -0.010464966, -0.04908878, 0.032856338, -0.009916926, -0.0046420344, 0.018333264, -0.0077443356, 0.016101955, 0.020995175, -0.0461659, -0.030846857, -0.012500545, -0.023448309, 0.003032165, -0.054125536, -0.02224784, -0.0055586975, -0.026645213, -0.022104304, -0.0054282118, 0.0091862045, -0.023604892, 0.0013407422, -0.04235571, 0.04366057, -0.011906834, -0.014849291, 0.024309516, -0.008481581, -0.015175506, 0.013074683, -0.0691575, 0.024479147, 0.017237183, -0.008651213, 0.011163065, -0.0062600593, -0.021934673, 0.0029212523, 0.013883696, -0.008194512, 0.012161282, -0.0039374107, -0.00007023809, 0.029542, 0.0066254195, -0.025249014, -0.0332217, 0.0052031237, 0.008148842, -0.0044365195, 0.013289985, 0.00042367127, 0.050915584, 0.028915666, -0.017224133, -0.0024351925, 0.008749077, -0.0070005665, -0.009323215, -0.016558656, -0.0046877046, 0.02721935, 0.022391373, 0.053186037, 0.015214651, -0.022743685, 0.021086516, -0.016141102, -0.010797705, -0.014340396, 0.012546215, -0.064303435, -0.010099606, 0.008037929, -0.0026912708, -0.03358706, 0.017002307, -0.021608459, -0.0066678273, -0.050811194, -0.073594026, 0.009792964, 0.0018855206, -0.014718805, 0.0072745867, -0.018515943, -0.0016571705, 0.012467924, -0.010732462, -0.016297683, -0.005575008, 0.012030796, 0.018515943, 0.000695245, -0.00627637, -0.04272107, 0.0058000963, 0.03985038, 0.01854204, -0.0045996266, -0.001393752, 0.0049812975, -0.030063942, 0.020499328, 0.010262713, -0.0011963922, 0.009975644, 0.019155324, -0.015749643, 0.013303033, -0.02370928, -0.030063942, 0.0035818368, 0.019820802, -0.01826802, -0.017498154, -0.010040887, -0.009297118, -0.028211042, 0.017928757, -0.00908834, 0.007868297, -0.002542843, -0.0047496855, 0.010327956, -0.0038852165, -0.0013888589, -0.018972645, 0.019311907, 0.00079025497, 0.015606109, 0.019585928, 0.0156844, -0.054386508, 0.013922841, 0.031864647, -0.0036764392, -0.03606629, 0.052194346, 0.0005945262, 0.018737769, -0.025170723, -0.012905052, 0.027558614, 0.0019899094, 0.02564047, -0.009081816, 0.048775613, -0.0075290343, 0.0021513856, -0.0036862255, 0.017485105, 0.038884785, -0.016088907, -0.023043802, -0.0244661, 0.012115612, 0.044052027, -0.015814885, 0.005940369, 0.010099606, 0.060493246, 0.001358684, 0.037632123, -0.00645905, -0.015018922, -0.031447094, 0.030142233, -0.0433735, -0.011437085, 0.006054544, 0.049140975, 0.0014312668, -0.03857162, 0.009114438, 0.01319212, -0.020903835, 0.009414555, -0.0005729145, 0.017980952, 0.016349878, -0.025536083, 0.031890742, -0.0025917755, 0.00037637015, -0.045617856, -0.008455484, -0.018568138, 0.015658304, 0.023761475, 0.030794663, -0.00992345, -0.0041266154, 0.028315432, 0.03525728, -0.03329999, -0.040320132, 0.014705757, 0.0028021839, 0.053081647, 0.032438785, 0.0015715391, -0.002718999, 0.030611983, 0.04178157, 0.016362926, 0.0066710897, 0.0061980784, 0.004645297, -0.015932323, -0.010549782, -0.023317823, -0.034735337, 0.038545523, 0.005190075, -0.009727721, 0.020525426, -0.05887522, 0.003630769, 0.030377109, 0.011521901, 0.024400856, 0.022521859, -0.007059285, 0.027897878, -0.0022117354, -0.03442217, 0.029150542, 0.012148233, -0.022861123, -0.014679659, -0.0063122534, -0.0064199045, 0.00039431197, -0.013296509, 0.018946547, -0.008377193, 0.0166239, -0.02870689, 0.018111438, -0.018020097, 0.013557481, -0.015462575, -0.014614416, -0.016101955, -0.025679618, 0.0062894183, 0.03734505, -0.02648863, -0.0016098693, 0.007822627, 0.008488106, -0.01863338, 0.004547432, -0.0152277, 0.004097256, 0.024687925, -0.01411857, -0.02425732, -0.015710497, 0.028080557, -0.017263278, 0.018359361, -0.051828984, -0.019794704, 0.026201561, -0.013975035, -0.03129051, -0.008285852, -0.012056894, 0.014470882, -0.0027059505, -0.0025836201, 0.011469707, -0.008246707, -0.000030710053, -0.005033492, 0.05360359, -0.004009178, -0.027428128, -0.017198035, 0.014144667, 0.016506461, -0.003454613, 0.0198469, -0.0010846637, -0.014431736, 0.024609633, 0.020903835, -0.008716456, 0.011698057, -0.008938282, 0.008879563, -0.025027188, -0.011097822, -0.006028447, -0.015906226, 0.004257101, -0.01578879, -0.03718847, -0.018359361, 0.0276891, 0.035935804, -0.0016897919, 0.03515289, 0.02841982, 0.006478623, 0.0002997097, -0.004961725, -0.011247881, -0.028680792, -0.002335697, -0.003428516, -0.007829152, 0.012056894, 0.0143142985, 0.01965117, 0.010954288, 0.031264413, 0.0011221784, 0.011691533, 0.011750252, -0.004234266, 0.009603759, 0.0304554, -0.016428169, -0.034291685, 0.015175506, 0.0061621945, -0.007959638, 0.00065324485, -0.0002497581, 0.043999832, -0.049871694, 0.02518377, -0.008846941, -0.003898265, 0.014810145, -0.042199127, 0.014927583, 0.009910401, -0.015279894, 0.03977209, 0.008833893, 0.030872954, 0.012415729, -0.01725023, 0.009492846, -0.0014948787, -0.0002687193, 0.015906226, 0.00021774828, 0.007972686, -0.005588057, -0.020564571, -0.007104955, 0.0076464713, -0.02539255, 0.03499631, 0.033743642, -0.008174939, 0.0016628791, 0.0076268986, -0.016141102, -0.024061592, 0.01670219, -0.029176638, -0.0062209135, 0.0057576885, -0.0022378324, 0.012533166, 0.021921625, 0.0062241754, -0.034265585, -0.044025928, 0.045174204, 0.043112528, 0.006393807, -0.033352185, -0.013544432, 0.05083729, -0.022273935, -0.040189646, 0.013139926, 0.034657046, 0.008070551, -0.003696012, 0.012533166, -0.02288722, -0.010967337, -0.020525426, 0.021725895, -0.0011539843, -0.0031985347, -0.010941239, 0.010862947, -0.0027499895, 0.03356096, -0.010562831, 0.026332047, 0.021569313, -0.057779137, 0.014249056, 0.02519682, 0.010432345, -0.016389024, -0.009610283, -0.009832109, -0.033978518, 0.011822019, -0.009251447, 0.021843333, -0.029829068, -0.02564047, -0.021138709, 0.012200428, -0.017054502, 0.0027304166, -0.045852732, -0.02732374, 0.011919883, 0.010171372, -0.006168719, 0.011932932, 0.004116829, -0.036405556, 0.037606023, -0.013557481, 0.021021271, -0.0053075124, 0.008227133, -0.069522865, 0.02139968, -0.022469666, 0.018515943, 0.0006703711, 0.016937064, 0.033821937, 0.013505287, 0.0066449926, -0.007392024, 0.019324956, -0.021086516, 0.0029326696, -0.029698582, -0.035648737, -0.0480188, -0.008429387, -0.021099564, 0.01948154, -0.0120047, 0.010504112, -0.012546215, -0.012330914, 0.0071114795, 0.008077075, -0.039719895, -0.008416338, -0.017863514, 0.036222875, -0.014562222, -0.03165587, -0.016010614, -0.028915666, 0.0017240444, -0.036405556, 0.003516594, 0.03092515, 0.017967902, 0.0064460016, -0.014001133, 0.006720022, -0.0035329047, -0.0323083, 0.013857598, -0.019612025, 0.027845683, 0.0006703711, 0.037475538, 0.034109004, -0.054490894, -0.00073520624, 0.0024531342, 0.014170764, 0.0025509985, -0.020747252, -0.013570529, -0.026149366, 0.0267757, 0.01531904, -0.021908576, -0.014183813, 0.0029000482, -0.0010822171, 0.024479147, 0.013231266, -0.012272195, -0.01531904, 0.0038232356, -0.030664178, 0.036379457, 0.021099564, 0.006214389, 0.03885869, -0.005855553, 0.015984518, 0.004857336, -0.0020502592, -0.0013154605, 0.00876865, 0.022195645, 0.010066984, 0.007972686, 0.01762864, 0.004142926, 0.024948897, 0.015488671, 0.0041494505, -0.014966728, -0.006540604, -0.0039961296, 0.043999832, -0.0015682769, 0.012728896, 0.01632378, 0.026253754, -0.013961987, -0.015488671, -0.010889045, -0.0036829633, -0.026044978, 0.02085164, 0.0015617526, -0.009760343, 0.014731853, 0.01586708, 0.0059599415, 0.013674919, 0.00031683597, 0.014144667, 0.054490894, 0.0058914367, -0.016271587, 0.017863514, 0.005434736, 0.0050693755, 0.012898527, -0.020838592, -0.022365276, -0.033534866, -0.021843333, 0.008873039, -0.010889045, 0.002092667, -0.010882521, -0.053760175, -0.000023293765, 0.0035133318, 0.023474406, 0.021712847, 0.005966466, -0.02047323, 0.008664262, 0.028080557, 0.029463707, -0.00542495, 0.02139968, -0.0013725482, 0.025353402, 0.006191554, 0.0029995437, -0.000099393525, 0.0068896534, -0.0053923284, -0.009584187, 0.0010088189, -0.0027777178, -0.022104304, 0.037527733, -0.009727721, 0.01761559, -0.0341351, -0.0024580273, 0.0012999654, 0.0065503903, 0.013609675, 0.02455744, 0.040372323, 0.029594192, 0.0452264, 0.027923973, -0.033848032, 0.0016963162, 0.044808846, -0.016963162, 0.0014728592, -0.012996391, -0.021112612, -0.040163547, -0.0009264496, -0.019755559, -0.013061634, 0.009838634, -0.0076790927, -0.036196776, 0.03818016, -0.008364144, -0.00534992, 0.020381892, 0.03810187, -0.025053285, -0.0072745867, -0.014262104, -0.0062861564, 0.027767392, 0.03246488, 0.0018741032, -0.029046152, -0.009277545, 0.029959554, -0.0027516205, 0.001569908, 0.043216918, -0.032073423, -0.014262104, 0.0041755475, -0.006364448, -0.0150058735, 0.008364144, -0.0057609505, -0.006279632, 0.02787178, 0.008657737, -0.013818452, 0.004364752, -0.021830285, 0.0079204915, -0.0077769575, 0.022065159, -0.001758297, -0.017863514, 0.013988084, -0.007770433, 0.01038015, -0.016180247, 0.0030876216, -0.029281028, 0.015097214, -0.041311823, 0.011476232, -0.013426995, -0.021582361, -0.022900268, 0.007509461, 0.033639256, -0.0060480195, 0.017550347, 0.0028380675, -0.00076375005, -0.004837763, 0.045252495, -0.017772174, 0.028393723, -0.012474448, -0.000534992, 0.0072484897, -0.030794663, 0.013596627, -0.0015813255, 0.0127027985, 0.0015291312, 0.019063985, 0.04420861, 0.009727721, -0.016428169, -0.042851556, -0.00046730248, 0.040267937, 0.022260888, 0.0061067385, -0.020825543, 0.034448266, -0.02196077, 0.0122395735, 0.00931669, 0.0074703153, -0.008455484, 0.047966603, 0.040163547, 0.03985038, 0.015084165, 0.032778047, 0.0098777795, 0.008507678, -0.019899094, 0.0139097925, -0.013029013, 0.020460183, 0.00040593336, 0.032699756, -0.00029196212, -0.025966685, 0.0010226829, 0.005914272, -0.01366187, 0.0069744694, 0.0022394636, -0.024857556, 0.005764213, -0.008644688, 0.02361794, 0.01273542, 0.0030533692, -0.025901442, 0.032595366, 0.02685399, 0.013355228, 0.03246488, 0.03606629, -0.026058026, -0.027636904, -0.00770519, -0.019781657, -0.024648778, 0.001937715, 0.02057762, -0.0056206784, 0.009669002, 0.01144361, 0.013805404, -0.007900919, 0.023239532, -0.03332609, 0.020551523, 0.032725852, -0.011254406, -0.0002483309, -0.04994999, -0.0016604326, -0.011221784, -0.032621466, 0.019951288, -0.0267757, 0.0020013268, -0.010536733, 0.02630595, -0.014105521, -0.011013007, 0.021804187, 0.00007151237, -0.003271933, 0.04574834, -0.002957136, 0.000026071686, 0.0033110788, -0.013648821, 0.01633683, 0.032073423, 0.013687966, -0.0007156334, 0.008762126, -0.034213394, 0.003956984, -0.03063808, 0.03682311, 0.018424604, -0.057361584, 0.0203036, 0.017511202 ]
2401.09350
320
# 9.1.1 Codebooks and Codewords What we described above is known as vector quantization [Gray and Neuhoff, 1998] for vectors in the L2 space. We will therefore assume that δ(u, v) = 2 in the remainder of this section. The function ζ : Rd → [C] is called ∥u − v∥2 a quantizer, the individual centroids are referred to as codewords, and the set of C codewords make up a codebook. It is easy to see that the set ζ −1(i) is the intersection of X with the Voronoi region associated with codeword µi. The approximation quality of a given codebook is measured by the famil- iar mean squared error: E[∥µζ(U ) − U ∥2 2)], with U denoting a random vector. Interestingly, that is exactly the objective that is minimized by Lloyd’s al- gorithm for KMeans clustering. As such, an optimal codebook is one that satisfies Lloyd’s optimality conditions: each data point must be quantized to its nearest codeword, and each Voronoi region must be represented by its mean. That is why KMeans is our default choice for ζ. # 9.2 Product Quantization
2401.09350#320
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 320, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "# 9.1.1 Codebooks and Codewords\nWhat we described above is known as vector quantization [Gray and Neuhoff, 1998] for vectors in the L2 space. We will therefore assume that δ(u, v) = 2 in the remainder of this section. The function ζ : Rd → [C] is called ∥u − v∥2 a quantizer, the individual centroids are referred to as codewords, and the set of C codewords make up a codebook. It is easy to see that the set ζ −1(i) is the intersection of X with the Voronoi region associated with codeword µi. The approximation quality of a given codebook is measured by the famil- iar mean squared error: E[∥µζ(U ) − U ∥2 2)], with U denoting a random vector. Interestingly, that is exactly the objective that is minimized by Lloyd’s al- gorithm for KMeans clustering. As such, an optimal codebook is one that satisfies Lloyd’s optimality conditions: each data point must be quantized to its nearest codeword, and each Voronoi region must be represented by its mean. That is why KMeans is our default choice for ζ.\n# 9.2 Product Quantization", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.008970016, 0.03205516, -0.030229077, -0.0015677478, -0.0074523925, -0.0116968015, 0.027563982, 0.01833486, -0.03805162, 0.023516987, 0.021703243, 0.006144522, -0.031956453, 0.024010522, 0.014139804, 0.017113358, 0.05354865, -0.020086912, -0.033782534, 0.017298434, -0.039384168, -0.026280789, -0.015904196, 0.035707325, 0.032474663, -0.016274348, 0.021814289, 0.02512098, 0.03982835, -0.045627397, 0.003911272, -0.014843093, -0.027070446, -0.05715146, -0.0039143567, -0.038693216, 0.0063604442, 0.06272842, 0.015114538, 0.016471762, -0.020555772, -0.010617192, -0.0012685416, -0.016459424, 0.0078348825, 0.019840144, -0.0046577454, -0.038545158, -0.05078485, 0.0092969835, -0.003760127, 0.05725017, -0.0018785212, -0.050315987, 0.0013957813, 0.011672125, -0.005823724, 0.002057428, 0.07037822, -0.036373597, 0.030870672, -0.04444291, 0.017125696, 0.008371604, 0.01826083, 0.022468224, -0.036645044, 0.0047965525, -0.025984667, 0.004068587, -0.015854841, 0.06001397, 0.0126345195, -0.0015746881, 0.012387752, 0.020086912, -0.058089178, 0.034251392, 0.024207937, -0.015521705, 0.0111785885, 0.009778181, 0.04784831, -0.015645089, -0.01232606, -0.049945835, -0.021616874, 0.009734997, -0.041012835, -0.019778453, -0.041605078, 0.021974687, -0.04691059, 0.008513494, 0.0195687, 0.031018734, 0.034646224, -0.0056910864, 0.012430936, -0.05261093, -0.024750827, 0.004525108, 0.059816554, -0.03373318, 0.07314202, -0.03420204, -0.024084553, 0.0026589248, -0.004173463, -0.01163511, -0.03474493, 0.043011658, -0.017125696, 0.043332454, 0.029414741, -0.049822453, -0.028822498, -0.030722613, -0.024516398, -0.0013741892, -0.023122158, -0.046614468, 0.029365389, -0.009340168, 0.01101819, -0.0075449306, 0.0111847585, -0.022073394, 0.028748468, -0.0053579495, 0.04752751, 0.0033406212, -0.0009045588, 0.012110138, -0.04399873, 0.03931014, 0.011653617, 0.05016793, -0.005367203, 0.050365344, 0.02087657, -0.01833486, 0.04128428, -0.016841915, -0.046959944, 0.0081865275, -0.037706144, 0.05399283, -0.028797822, 0.0041179406, -0.028328963, -0.060507506, -0.009111907, -0.023159174, -0.027563982, -0.023455296, 0.009420367, 0.040001087, -0.009081061, 0.01755754, 0.019914174, 0.026182082, 0.04658979, -0.029390065, 0.039704967, -0.020173281, -0.060408797, -0.00077809027, -0.043850668, -0.03657101, -0.0060674073, -0.021296075, 0.0033899748, -0.02512098, 0.017138036, -0.033881243, -0.015965888, -0.03819968, -0.04868732, -0.03652166, -0.025836606, -0.029932953, 0.031142117, 0.011110728, 0.011918893, 0.0068601496, -0.008482649, -0.03765679, -0.041382987, -0.0020620548, -0.009913903, -0.002186981, 0.05369671, 0.003627489, 0.013695622, -0.045972873, 0.004836652, 0.0019664322, -0.008840462, -0.06415967, 0.0054165567, 0.031462915, 0.008532003, -0.031685006, 0.0042320704, -0.016496439, -0.029982308, 0.045331277, -0.06978598, 0.013658607, -0.016928282, -0.013954729, -0.0019047402, -0.0027036516, 0.006116761, 0.025515808, -0.052117396, 0.06717024, -0.024701474, 0.04274021, -0.018569289, 0.033831887, -0.0018260829, 0.021999365, -0.0631726, -0.011450034, 0.027243184, -0.051870625, 0.05152515, -0.06894697, 0.065146744, -0.026453527, 0.017384803, -0.048169106, -0.019852484, -0.015447674, -0.036398277, -0.0061969603, -0.027366567, 0.0005494443, -0.021160353, -0.035707325, 0.022048717, -0.005027897, -0.007057564, 0.018347198, -0.03657101, -0.0043801316, 0.008340757, -0.04967439, -0.0021838965, 0.021777272, 0.011376003, 0.0048273983, -0.038347743, 0.019198548, 0.019864822, 0.03612683, 0.019309593, 0.02072851, 0.0047780448, -0.08942871, -0.03286949, 0.018396553, -0.010179179, 0.026774324, -0.028304286, -0.014546972, -0.01965507, 0.0058730775, -0.00924763, -0.014226173, 0.0070760716, 0.032548696, -0.013461192, -0.033387706, -0.023554003, 0.008093989, 0.03844645, 0.03212919, -0.0083530955, 0.03082132, 0.020543434, -0.01270855, 0.030253753, -0.0038650034, -0.03674375, 0.058434654, -0.05344994, -0.034399454, 0.050044544, -0.020111589, -0.021703243, -0.025713222, -0.01548469, 0.04005044, -0.0029041504, -0.043924697, -0.014435926, -0.013387162, 0.044467587, 0.03484364, 0.021764934, 0.013103379, -0.07817609, 0.039260782, 0.035657972, -0.014164481, -0.0051266043, 0.0177056, 0.033461735, 0.045306597, -0.002638875, 0.029612156, -0.05715146, -0.046713177, 0.027341891, -0.002288773, 0.014238511, 0.009883057, 0.0046392377, -0.036003448, 0.036546335, -0.030895349, 0.04644173, 0.017520526, -0.09944749, 0.00020107733, 0.041382987, -0.057348877, 0.017816648, 0.008464141, 0.007964436, 0.052018687, -0.047576863, -0.014115128, -0.026231434, 0.05068614, -0.04323375, -0.0149418, -0.028279608, 0.012523474, -0.0050340667, -0.011647448, 0.007285824, 0.041506372, 0.061889406, 0.022455884, 0.07220431, -0.008939169, -0.059865907, -0.058878835, 0.00693418, -0.0056108865, 0.06070492, -0.026996415, 0.017458834, -0.0029643, -0.055966973, 0.0340293, -0.040025763, 0.021382444, 0.07077305, -0.0014081197, -0.018630981, -0.025318393, -0.0017875255, -0.03866854, -0.009846042, -0.0072241323, -0.058434654, -0.009833704, -0.061445225, -0.02781075, 0.005151281, -0.01764391, 0.015743796, 0.059026897, 0.040840097, 0.031462915, 0.028921206, 0.015534043, -0.011542572, 0.006156861, 0.056904692, 0.02380077, -0.007180948, 0.020543434, -0.03612683, 0.0013603084, -0.032770786, -0.00847648, -0.009062554, 0.021987027, 0.010080472, 0.004485008, 0.021333091, 0.0354112, 0.016286686, 0.041605078, 0.0022455885, -0.019013472, 0.010617192, 0.005222227, -0.010376593, -0.02288773, 0.040790744, 0.03282014, 0.00018575073, 0.038397096, 0.056509864, -0.017372465, 0.027144477, -0.010931821, -0.00824205, 0.01124645, -0.0035657971, 0.019556362, 0.034473486, 0.033289, -0.0065516895, 0.005607802, -0.07037822, -0.014929462, 0.0021468813, -0.008649217, -0.038100973, 0.002797732, 0.020284327, -0.032696754, -0.009266137, 0.0063419365, 0.025466453, -0.028822498, -0.006564028, -0.041827172, -0.012363075, 0.014769062, 0.02704577, -0.020814879, -0.06963792, 0.026428849, -0.035756677, -0.035386525, -0.005953277, 0.014830755, 0.03227725, -0.037558086, 0.064949326, 0.011505556, -0.02481252, -0.044714354, 0.014621002, -0.020284327, -0.004290678, -0.061494578, 0.05113032, -0.009772011, -0.0031678837, -0.028625084, -0.025861284, 0.00554611, -0.026379496, 0.0055584484, 0.010210024, 0.02581193, -0.014423587, -0.015188568, 0.029044589, 0.024281967, -0.0059255157, -0.027169153, 0.037854206, -0.04153105, -0.011838693, 0.024331322, 0.036176182, -0.048021045, 0.022122748, 0.010499977, 0.021752596, -0.07541229, -0.031956453, 0.020247312, -0.018014062, 0.07866963, 0.021826627, -0.0026820593, 0.027415922, 0.002268723, -0.06746636, -0.04745348, 0.036916487, -0.011888047, -0.0023288727, 0.021407122, -0.013732637, 0.009691812, 0.012504967, 0.0042629167, 0.0046484917, 0.012930642, 0.028600408, 0.016619822, 0.031314854, 0.05113032, 0.0388166, -0.013794329, -0.008427126, 0.053598, 0.035781354, -0.010469131, -0.026404172, -0.018396553, -0.028106872, 0.006631889, 0.0016703106, 0.0077855294, -0.04390002, 0.0045744614, -0.024935903, -0.029562803, -0.021616874, 0.007254978, 0.0055276025, 0.004250578, -0.040223178, -0.07521488, -0.029982308, -0.043702606, 0.015694443, -0.015460013, -0.03442413, 0.035485234, -0.027613336, -0.008408618, -0.01525026, 0.0020450896, 0.034053978, -0.0017751871, -0.0057373554, -0.033066906, 0.016274348, 0.0050340667, 0.014991154, -0.005694171, 0.023196189, -0.010777591, -0.00970415, 0.016817236, 0.006786119, -0.009395691, 0.0024152414, -0.01980313, -0.0027653435, 0.030426491, 0.024380675, 0.04829249, -0.026083374, -0.022073394, 0.0032789293, -0.0014852347, 0.021049308, 0.024306644, -0.0240352, 0.021616874, 0.006810796, -0.017495848, 0.01363393, 0.019630391, -0.02187598, -0.023368927, 0.03518911, 0.0032480834, -0.02820558, -0.007878067, 0.03148759, -0.018038739, 0.0025972328, 0.032400634, -0.0207902, -0.006409798, 0.013115717, -0.06825602, -0.040321887, 0.024133908, 0.010364255, -0.008735586, 0.0015399863, 0.017767293, 0.02820558, -0.0034393286, -0.05016793, -0.000025737128, -0.044023406, 0.023146836, -0.015163892, -0.005916262, -0.023011113, 0.028600408, 0.019864822, 0.011832524, 0.003195645, -0.012319891, -0.05113032, -0.008124835, 0.010351916, 0.032770786, 0.035238467, 0.013300793, 0.0036459968, -0.011474711, -0.013621592, 0.008383942, -0.008260557, -0.020827217, -0.008914493, -0.043653253, 0.035732, -0.014028759, 0.013905375, -0.037632115, 0.021197367, -0.0038372418, -0.006804627, 0.03859451, 0.03119147, -0.036102153, 0.0071747787, -0.024750827, -0.054733135, -0.023196189, 0.02056811, 0.00021437967, 0.02296176, -0.00053479243, 0.0059131775, -0.009204445, 0.024096891, 0.0074709, 0.020148605, 0.028452346, 0.011918893, -0.009537582, 0.024306644, -0.01270855, -0.0021777274, 0.03136421, -0.030253753, -0.00985838, -0.0012947606, -0.029686186, 0.006928011, 0.019112179, 0.017002312, -0.013843683, -0.00024310501, -0.004006895, -0.0025972328, -0.017236743, -0.01826083, -0.049945835, 0.011135405, -0.050932907, 0.01855695, 0.027786072, -0.02966151, 0.006221637, -0.02889653, 0.03205516, -0.014435926, 0.0039143567, -0.011406849, -0.03314094, -0.010740575, 0.022554591, -0.02503461, -0.008821955, -0.0022764346, -0.027934134, 0.0031647992, 0.019864822, -0.018976457, -0.004537446, -0.014448265, -0.012140984, 0.03143824, 0.0015222499, 0.022628622, -0.035855386, -0.011036697, -0.00620313, -0.0035873894, -0.0068786573, -0.019173872, 0.0064036287, -0.010987343, 0.007489408, -0.0033251983, -0.036472306, 0.0064221364, 0.038224358, -0.022011703, -0.017754955, -0.03827371, -0.015139215, -0.016299024, 0.02487421, 0.031018734, 0.023862462, 0.028131548, 0.0032696757, -0.00209907, -0.0040778406, -0.026182082, 0.0013178951, -0.0068601496, -0.0052499883, 0.023677386, 0.0013024722, -0.04069204, 0.022085734, -0.06524545, -0.0026095712, -0.0051481966, 0.007507915, -0.009093399, -0.018371874, -0.018667996, 0.021111, -0.007927421, 0.025022272, 0.03634892, -0.02726786, 0.0059687, 0.014904785, -0.028748468, 0.045035154, -0.04029721, -0.010746745, -0.055522792, -0.01054933, -0.00067012926, 0.045109183, -0.0018276252, 0.032622725, 0.004623815, -0.024763165, -0.0360528, 0.017619234, -0.00048852345, 0.009352506, -0.033881243, -0.01217183, 0.02726786, 0.010574007, 0.017051667, -0.0084394645, 0.0024260376, 0.03188242, -0.028279608, 0.025737898, -0.025713222, 0.024787841, 0.008198866, -0.018236153, -0.034621544, -0.019556362, 0.009716488, -0.0044757538, 0.01294298, 0.036941163, -0.007995282, 0.012184168, 0.042246677, -0.046293672, -0.0065578585, -0.0003373781, -0.043554544, 0.025540484, -0.03319029, -0.009994103, 0.038569834, -0.020271989, -0.0064406437, -0.034177363, 0.0038403266, 0.006286414, 0.014460603, -0.03659569, 0.0098090265, 0.010271717, 0.0012322975, 0.010438285, -0.021666227, 0.0052530733, -0.0092908135, -0.07442522, 0.008457972, -0.0040840097, -0.0063666133, 0.033486415, 0.011974416, 0.013781991, -0.00793976, -0.020222634, -0.0097288275, -0.0006975051, -0.0132391015, 0.025466453, -0.029488772, -0.020420048, -0.02211041, -0.009839873, 0.007180948, -0.013905375, 0.016089272, -0.0010526197, 0.0019880245, 0.03343706, 0.0017304603, -0.017212065, -0.023862462, 0.013646268, -0.0027483783, 0.023356589, 0.0030182807, -0.006570197, -0.019272579, -0.022061056, 0.043085687, -0.0022594691, -0.002001905, 0.035929415, 0.02719383, 0.00954992, -0.0377555, 0.017286096, -0.060655568, -0.027440598, -0.020555772, 0.01563275, -0.044813063, -0.0018846904, -0.0074770693, 0.0025540486, -0.019161532, -0.01817446, -0.003143207, 0.03003166, -0.023134496, 0.0133254705, -0.008593694, -0.014004082, -0.006409798, -0.032227896, -0.010290224, -0.0042073936, -0.00008260943, 0.03652166, -0.0105555, -0.03119147, -0.050735492, -0.0023628033, 0.035090405, -0.00040099793, -0.04121025, -0.026971739, 0.026601586, -0.006915672, -0.0018939441, -0.017940031, -0.019667407, 0.024479382, 0.0037940575, -0.013535223, -0.017088681, 0.01610161, -0.020938262, 0.015373644, 0.016286686, -0.0056880014, -0.0006388977, 0.0036583352, -0.018273167, -0.032474663, 0.02296176, -0.009136584, 0.0040377406, -0.012184168, -0.0023643456, 0.017606894, 0.010043456, 0.0055862097, -0.02103697, -0.0041025174, -0.0031833067, 0.025639191, 0.022764346, -0.0033375367, -0.055966973, -0.009599274, 0.027909458, 0.0132391015, -0.02980957, 0.039951734, -0.0052654115, 0.035781354, -0.025540484, -0.026897708, 0.03373318, -0.016508777, 0.029316034, 0.025244363, 0.038076296, 0.022505239, -0.016187979, -0.0015623497, 0.0012261283, 0.051475797, -0.014534634, -0.008840462, -0.0064468132, 0.0018245407, 0.04577546, -0.03750873, -0.01811277, -0.027317215, 0.041234925, 0.010697391, 0.023529325, 0.0075634383, 0.017076343, -0.039778996, 0.038421772, -0.053746063, 0.0012184168, 0.0071377633, 0.01032107, 0.036719073, 0.012103968, 0.012696212, 0.0026573825, -0.010401269, 0.0096424585, -0.043702606, 0.03286949, 0.033560444, 0.007828713, 0.025466453, 0.0130663635, 0.00080893625, 0.02610805, 0.014769062, -0.032400634, 0.03889063, 0.023455296, -0.0035565433, 0.0036953504, -0.0015446133, -0.000043039803, 0.0079212515, 0.0012747108, -0.038693216, -0.0021777274, 0.000053932297, 0.045084506, -0.0013302335, -0.034473486, 0.021456474, 0.048489906, 0.03528782, 0.022690315, -0.0031154456, -0.01248029, 0.028748468, -0.030451167, 0.015583397, 0.008106328, -0.044788387, 0.031117441, 0.0019432977, 0.010814606, 0.0041426173, -0.0449858, 0.0037385346, 0.030401813, 0.019001134, 0.029167974, 0.005629394, 0.0041888864, 0.0023890224, -0.0098953955, -0.025589839, 0.013313131, 0.028254932, 0.02018562, -0.035263143, -0.009580766, -0.0016147878, -0.019284917, -0.03965561, 0.024898889, -0.015336629, -0.004608392, -0.00015529031, 0.020851893, -0.01663216, 0.010648037, -0.013794329, -0.009173599, -0.0254171, -0.041382987, 0.022085734, 0.026058698, -0.024010522, 0.012529643, -0.016693853, 0.012073123, -0.035978768, 0.014978816, -0.028921206, -0.009599274, 0.030525198, 0.0064529823, -0.025392424, 0.009926242, -0.0081865275, -0.007600453, 0.0025154909, -0.013140394, -0.022209117, 0.0015392152, -0.01224586, -0.05739823, 0.0008073939, -0.032375958, 0.02225847, 0.0074277157, 0.0031447492, 0.017471172, -0.00362132, -0.017113358, -0.0023427533, 0.052660283, -0.01116625, -0.007989113, 0.019223224, -0.023257881, 0.009772011, -0.001388841, 0.009957087, -0.019864822, -0.00037458606, 0.02225847, 0.03474493, -0.012190337, 0.025540484, -0.005940939, 0.025540484, -0.03644763, -0.017532865, -0.01170914, -0.010351916, 0.0019217056, -0.006415967, -0.02534307, -0.038742572, 0.008433295, 0.028279608, -0.0050556585, 0.028945882, -0.00419814, -0.012967656, 0.0064406437, 0.016126286, -0.0020312087, -0.017606894, -0.011024359, -0.02503461, 0.016508777, 0.03249934, 0.0045281923, 0.017767293, 0.0005386482, 0.019223224, -0.0043338626, 0.005885416, 0.0127208885, 0.013448854, 0.028871853, 0.034942344, -0.03666972, -0.03827371, 0.00078965747, -0.0012616012, 0.00570034, 0.009044046, 0.011999092, 0.054486368, -0.0121224765, 0.024072215, 0.01933427, -0.021468813, 0.002768428, -0.036694396, 0.011345157, 0.022974098, -0.0064899977, 0.026749648, 0.026478203, 0.03035246, 0.00947589, -0.010691222, 0.014509956, 0.010197686, 0.004759537, 0.007557269, 0.011980585, -0.0047441144, 0.0025386254, -0.02781075, -0.030377137, -0.0078348825, 0.004691676, 0.03082132, 0.018470582, -0.01909984, 0.01594121, 0.044590972, -0.022381855, -0.023837786, -0.0006616466, 0.006724427, 0.020395372, 0.005829893, -0.008192697, 0.0019510093, -0.012597505, 0.020580448, -0.031709682, -0.029932953, 0.0141768195, 0.033017553, 0.023763755, 0.00058530277, -0.017039329, 0.038298387, -0.020629803, -0.009852211, 0.0026743477, 0.028822498, 0.0052499883, -0.0019201633, 0.021863641, -0.038100973, -0.032400634, -0.023159174, 0.0005463597, -0.01425085, 0.016385393, -0.016619822, 0.0014543887, -0.0012916761, 0.0016039917, -0.0119374, 0.0008066228, 0.022616284, -0.038964663, -0.0053486954, -0.0027792242, 0.02064214, -0.023554003, -0.0002554434, 0.024627443, 0.0007618961, -0.0040408256, -0.0037477885, -0.029784894, -0.011931231, -0.013448854, -0.009987934, 0.023739079, -0.0141768195, -0.0073228395, -0.011160081, -0.0013356316, -0.011746155, 0.01086396, -0.02934071, 0.021370105, 0.013041687, -0.029760217, 0.0315863, 0.019679746, -0.013584577, -0.033412382, 0.024787841, -0.012696212, 0.072993964, -0.022653298, -0.004916852, -0.026971739, 0.006564028, 0.010999682, 0.010259378, -0.0151268765, 0.005151281, 0.043110363, -0.036916487, -0.007618961, -0.023467634, -0.021197367, -0.0035010206, 0.009025538, 0.014658017, 0.021962348, 0.046713177, 0.0003726582, -0.026947062, -0.009198276, -0.0055584484, 0.0008737128, -0.019284917, -0.010123656, -0.015965888, 0.061741345, -0.023554003, -0.0014451349, -0.011314311, -0.0071315942, 0.025836606, 0.0044634156, 0.0030984802, 0.034399454, 0.0072611473, 0.0064591514, -0.01795237, 0.0149418, 0.031413563, -0.0069588567, 0.0024352914, -0.021962348, 0.017273758, -0.0050186436, 0.027218508, 0.031561624, -0.030475844, -0.01108605, 0.0054659103, 0.030870672, 0.013930052, -0.004691676, -0.039853025, -0.025293717, 0.029044589, -0.011314311, -0.0072117937, -0.024553413, 0.023307234, -0.011493218, -0.004993967, 0.00039752777, -0.04345584, 0.021629212, 0.0011389884, -0.01987716, 0.02372674, 0.004577546, -0.0033375367, 0.031142117, -0.0049569514, 0.024207937, -0.0037385346, -0.014892447, 0.0065146745, 0.0026820593, 0.028797822, 0.00832225, 0.0015608073, 0.006385121, 0.026626263, 0.02412157, 0.00012049217, 0.010672715, 0.014423587, 0.020839555, -0.004728691, 0.00075611245, 0.0069773644, 0.0115240645, 0.005706509, 0.0013155817, 0.0019109094, -0.012147153, -0.004429485, -0.004811975, 0.010512316, 0.025910636, -0.0036953504, 0.024528736, -0.010401269, 0.005231481, 0.0013857563, -0.0018307099, 0.011925062, 0.0042999317, 0.028847175, 0.008982354, -0.03898934, -0.0053363573, 0.008624541, 0.018236153, 0.002834747, -0.025861284, -0.03595409, -0.015965888, -0.024837196, 0.043628577, 0.02635482, 0.025614515, -0.009839873, -0.03827371, 0.0054659103, 0.022826036, 0.014386573, 0.0016625992, -0.0022147426, 0.019926513, 0.0104136085, 0.037878882, 0.015497028, 0.007952098, -0.0127208885, 0.009630119, -0.0044942615, 0.010450623, 0.03889063, -0.0067676115, -0.007871898, 0.013115717, 0.017927693, 0.012517305, 0.008192697, -0.021111, 0.016212655, 0.04298698, 0.017397141, -0.0047626216, 0.0014119755, -0.015003492, 0.02897056, 0.0029874346, 0.020518756, 0.041481696, 0.04135831, 0.016200317, 0.04153105, -0.05270964, 0.037484054, 0.06312325, -0.0049785436, 0.013794329, -0.004145702, -0.0019402131, -0.004981628, -0.034917668, 0.022900067, 0.00824205, 0.024244953, 0.00010169539, -0.011493218, 0.056361802, -0.0119497385, -0.011764662, 0.017853662, 0.027070446, -0.003482513, -0.0056725787, -0.008451803, 0.0032234066, -0.009272306, 0.02049408, -0.007742345, -0.0024476298, 0.014435926, 0.015706781, -0.010814606, 0.008883647, 0.0029982307, -0.032153867, 0.01479374, 0.037706144, 0.008032298, -0.01078376, 0.003457836, -0.019581039, 0.007915082, 0.042345382, -0.03304223, -0.029612156, 0.0034794284, 0.00061499205, -0.0057342704, 0.014423587, 0.0192479, -0.004907598, -0.019889498, 0.0064529823, -0.0028748468, 0.011807847, 0.03612683, 0.01855695, -0.016360717, 0.042049263, -0.012979995, 0.0019278747, -0.022752006, 0.011005851, 0.0008976185, -0.0026481287, 0.014312542, 0.03188242, 0.03013037, 0.0042351554, 0.010734406, 0.0018137445, 0.016829574, -0.02396117, -0.0092106145, -0.016126286, 0.007822544, 0.01756988, -0.009420367, -0.004537446, -0.0038896801, 0.0037570423, -0.012955318, 0.0015746881, 0.033338353, -0.01093799, -0.017754955, -0.016940622, -0.015385983, 0.009790519, -0.004552869, 0.013609254, -0.0062648216, -0.0015530959, -0.025096303, 0.008587525, 0.019013472, 0.019136855, 0.0044942615, 0.03583071, 0.015274937, 0.025318393, 0.02412157, -0.0014929462, -0.018186798, -0.031931777, -0.027514629, 0.0023011114, -0.0071994555, 0.024985256, -0.018347198, 0.01116625, -0.03050052, -0.025367746, 0.0045189383, 0.0027113631, -0.0038711724, -0.0064591514, -0.0003046042, -0.014213835, 0.0073228395, 0.033387706, 0.0354112, 0.028082194, 0.020777863, -0.0083530955, 0.008895985, 0.011992923, -0.012116307, 0.0036675888, 0.01755754, -0.024639782, -0.008797278, 0.011203266, 0.028526377, -0.018100431, 0.0042875935, 0.05438766, -0.02719383, 0.021271398, 0.023060467, -0.03304223, -0.021678565, 0.030895349, -0.050636787, 0.019741436, 0.04792234, -0.009118076, 0.0012970741, -0.02156752, 0.006385121, -0.013103379, -0.030771965, 0.023307234, 0.014472941, 0.00095931045, 0.012430936, -0.027662689, -0.042468768, -0.01256049, 0.024997596, -0.016706191, -0.007588115, 0.0354112, 0.027317215, 0.027440598, -0.0092106145, -0.019766115, -0.02334425, 0.0042166477, -0.023430618, -0.003683012, 0.032400634, -0.018458243, 0.008081651, -0.016150963, 0.035880063, 0.03819968, -0.018606305, 0.023603356, -0.004099433 ]
2401.09350
321
# 9.2 Product Quantization As we noted earlier, the quantization error is a function of the number of clusters, C: A larger value of C drives down the approximation error, making the quantization and the subsequent top-k retrieval solution more accurate and effective. However, realistically, C cannot become too large, because then the framework would collapse to exhaustive search, degrading its efficiency. How may we reconcile the two seemingly opposing forces? 9.2 Product Quantization J´egou et al. [2011] gave an answer to that question in the form of Product Quantization (PQ). The idea is easy to describe at a high level: Whereas in vector quantization we quantize the entire vector into one of C clusters, in PQ we break up a vector into orthogonal subspaces and perform vector quantization on individual chunks separately. The quantized vector is then a concatenation of the quantized subspaces.
2401.09350#321
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 321, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "# 9.2 Product Quantization\nAs we noted earlier, the quantization error is a function of the number of clusters, C: A larger value of C drives down the approximation error, making the quantization and the subsequent top-k retrieval solution more accurate and effective. However, realistically, C cannot become too large, because then the framework would collapse to exhaustive search, degrading its efficiency. How may we reconcile the two seemingly opposing forces?\n9.2 Product Quantization\nJ´egou et al. [2011] gave an answer to that question in the form of Product Quantization (PQ). The idea is easy to describe at a high level: Whereas in vector quantization we quantize the entire vector into one of C clusters, in PQ we break up a vector into orthogonal subspaces and perform vector quantization on individual chunks separately. The quantized vector is then a concatenation of the quantized subspaces.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.006830186, 0.016405094, -0.001849842, 0.010789164, 0.01854269, -0.033543803, 0.043359034, 0.07498027, -0.061876427, 0.029622769, 0.04323255, -0.015152894, -0.050821643, 0.028054357, 0.026890695, 0.015532349, 0.030887619, -0.033341426, -0.010928297, 0.009309291, -0.03741424, -0.032228358, -0.020794122, -0.0051574227, 0.02575233, -0.017809078, 0.025954707, 0.016898386, 0.05489446, 0.003236433, -0.0014379754, -0.019288952, -0.020933256, -0.042524233, -0.0045249984, -0.0056475517, -0.023197336, 0.048797883, 0.008468166, 0.022868475, -0.0059669265, 0.011061107, -0.05403436, -0.033518504, 0.046774127, 0.018517394, 0.01128878, -0.053326044, -0.060712766, 0.013862748, 0.0066720797, 0.058081876, -0.024993422, -0.029875739, 0.031747717, -0.004265704, 0.01170618, 0.002902829, 0.076953426, 0.009201778, 0.036958896, -0.047027096, 0.036098797, 0.023488251, -0.009910094, 0.015797967, -0.018479448, -0.018833606, -0.0106816515, 0.014052475, -0.046774127, 0.016911035, -0.0014601103, -0.0050973427, 0.035466373, 0.024588669, -0.048064273, 0.056159306, 0.048317242, -0.02281788, 0.00067985646, -0.018909497, 0.06243296, -0.015810616, -0.009138536, -0.040753443, -0.03045757, 0.0008909282, -0.06476028, -0.046040513, -0.056108713, 0.04019691, -0.020073157, 0.03986805, 0.018808309, 0.004183489, 0.046166997, 0.023450306, 0.012831896, -0.04965798, -0.019352194, 0.021856595, 0.02046526, -0.027573714, 0.055147428, -0.018593283, -0.021085037, 0.06556979, 0.005049911, -0.03288608, -0.0032696354, 0.029799849, -0.06911136, 0.063040085, -0.009758312, -0.056715842, -0.06314127, 0.017176652, -0.011130674, 0.050821643, -0.020439964, -0.017809078, 0.0053787716, -0.0014980559, -0.0055052564, -0.024285106, 0.024879584, -0.021236818, -0.002309931, -0.039134435, 0.027573714, -0.007936929, -0.010877703, 0.005521067, -0.023475602, -0.01879566, 0.0023731734, 0.037970774, -0.024095379, -0.0139006935, 0.0034593628, -0.031848904, 0.0047368603, -0.0006423063, -0.018062048, 0.022438426, -0.011212889, 0.05102402, -0.004509188, 0.03053346, -0.028889157, -0.04176532, -0.03766721, -0.03144415, -0.0065392707, -0.011257159, 0.016329205, 0.054692082, -0.02482899, -0.0055052564, 0.005906846, 0.010030255, 0.0010450816, -0.041107602, 0.01237655, -0.021034444, -0.07568858, -0.0021960945, -0.04077874, -0.01854269, -0.015140246, -0.059751477, -0.023918299, -0.028661484, 0.02198308, -0.004442783, -0.017429622, -0.027826684, -0.019731648, -0.014975815, -0.028712079, -0.014242203, 0.01812529, 0.008411247, 0.026966587, 0.027826684, -0.021578329, -0.018074695, -0.0021913513, -0.004117084, -0.0018877875, -0.014318094, 0.044497397, -0.0034625249, 0.012597899, -0.021502437, -0.0014031922, 0.043586705, 0.0015723658, -0.052314166, 0.021666868, 0.031317666, 0.037768397, -0.0018118966, -0.007861038, -0.0310394, -0.025828222, 0.00884762, -0.038653795, -0.00637484, -0.026055895, -0.005834117, -0.00856303, 0.010397061, 0.039437998, 0.0039178706, -0.040475175, 0.071894035, -0.034100335, 0.044851556, -0.019605163, 0.01720195, 0.009865824, 0.025006069, -0.028003763, -0.004287839, 0.026005302, -0.044598583, 0.097140424, -0.05297189, 0.04664764, 0.028130248, 0.021995729, -0.030179303, -0.014191609, -0.009410478, -0.017353732, -0.008297411, -0.056007527, -0.044269726, -0.038805574, -0.01601299, 0.020427315, -0.0066847284, 0.0056665246, 0.01729049, -0.027978465, -0.012686438, 0.03647825, -0.051732335, -0.018466799, 0.020035213, -0.021666868, 0.002956585, -0.036807112, -0.0028854373, 0.047457144, 0.00780412, 0.0012632682, 0.028737376, 0.0017059654, -0.049885653, -0.02022494, -0.012484062, -0.0093345875, 0.029445691, 0.00033261583, -0.0057202806, -0.020174345, -0.02298231, 0.0068428344, -0.004679942, 0.0008735365, -0.006830186, 0.0034783354, 0.013280917, -0.0068428344, -0.000064428255, -0.014191609, -0.010555167, -0.041259382, -0.000022999506, 0.032430734, -0.000519774, 0.047608927, -0.027826684, 0.040829334, 0.021122983, -0.02861089, -0.015127597, 0.07067978, -0.020553801, -0.008778054, -0.013154432, -0.027346041, 0.00780412, -0.016708659, -0.052314166, -0.0044332966, -0.015835913, 0.058537222, 0.0064633796, 0.011301428, 0.022931717, -0.07088215, 0.031342965, 0.04237245, -0.0016759252, -0.02006051, 0.016493633, 0.030482868, 0.041309975, -0.0155449975, 0.020275533, -0.05798069, -0.04768482, 0.017859671, -0.020553801, 0.017556109, -0.00019318596, -0.018719768, -0.0965333, -0.01057414, 0.0036364417, 0.047836598, -0.0020743527, -0.09152449, -0.01653158, 0.02022494, -0.0604092, -0.0034214172, 0.022539614, 0.003158961, -0.0048380485, -0.037135974, 0.0012577345, 0.00564439, 0.031342965, -0.012047689, -0.0511758, -0.0055621746, -0.01094727, 0.012250065, -0.032506626, 0.03792018, 0.022640802, 0.036427658, 0.03389796, 0.064456716, -0.005397744, -0.013951288, -0.029445691, 0.01620272, -0.01267379, 0.04910145, 0.024904883, 0.028332623, -0.030356383, -0.097140424, -0.0070515345, -0.0131670805, 0.028003763, 0.050568674, -0.0012664304, -0.023855057, -0.0019447057, -0.010491924, -0.019744297, -0.036199987, 0.013698317, -0.02022494, -0.004569268, 0.01254098, -0.057828907, -0.027902575, -0.037894882, -0.013382105, 0.051479366, 0.069971465, 0.026334161, 0.027877277, -0.016771901, -0.019314248, -0.01359713, 0.023285875, -0.004955047, -0.0018356125, 0.001693317, -0.09719101, 0.009435776, -0.044446804, -0.018492097, 0.020996498, 0.02635946, 0.015216136, 0.008076062, 0.009435776, 0.03480865, 0.03683241, 0.025360228, 0.002466456, -0.026232973, -0.0066910526, -0.007905308, -0.017353732, -0.018062048, 0.012528332, 0.050138626, 0.041689433, 0.014798736, 0.032456033, -0.030331085, 0.04095582, 0.013584481, -0.015886506, 0.01745492, 0.015127597, 0.024613967, -0.0050024786, 0.030862322, -0.00054388517, 0.0033170672, -0.010827109, 0.014115717, -0.024474833, -0.009302966, -0.019706352, -0.0076649864, 0.00431946, -0.035795234, 0.018226478, 0.011820016, 0.011320401, -0.03078643, -0.0064697037, -0.0055811475, -0.011984447, 0.0062293825, 0.012686438, -0.023500899, -0.04851962, -0.009423127, -0.0022688233, -0.03708538, 0.0042530554, 0.010846082, 0.002077515, -0.012294334, 0.053629607, 0.01233228, -0.04343492, -0.015367919, 0.000116306845, -0.0012632682, -0.020098455, -0.035795234, 0.0663287, -0.03321494, 0.0027383987, -0.041259382, -0.026789507, 0.031393558, -0.028965048, 0.046166997, 0.010820786, 0.021413898, -0.022944365, -0.018694472, 0.018011453, -0.008202547, -0.018909497, -0.052061196, 0.065721564, -0.06025742, -0.028003763, 0.020692933, 0.03506162, 0.014861979, 0.020857364, -0.026308864, 0.027219556, -0.07781353, -0.05297189, 0.027346041, -0.012054013, 0.07796531, 0.023298522, 0.031267073, 0.03281019, 0.009676097, -0.05772772, -0.04356141, 0.0545403, -0.012831896, -0.00421511, 0.01745492, 0.021856595, -0.0026783184, 0.0045787543, 0.0066151614, 0.032506626, 0.020768825, 0.036275875, 0.0073108287, 0.01913717, 0.034783356, 0.045458682, -0.01526673, 0.0068618073, 0.053730797, 0.056766436, 0.013647723, -0.013812154, -0.017227247, -0.009505342, 0.044016752, 0.014937869, -0.002283053, -0.013559184, 0.006956671, -0.026561834, -0.026713617, -0.012977353, 0.0022103242, -0.023753868, -0.009733015, -0.03207658, -0.057930097, -0.046369374, -0.04348552, 0.026081191, -0.01325562, -0.035719343, 0.0092650205, -0.023956245, 0.0030166656, -0.010555167, 0.015646186, 0.005726605, 0.02299496, -0.0070641832, -0.030659946, -0.011073755, 0.012964705, -0.007905308, 0.0056412276, 0.038830873, -0.02969866, -0.01711341, 0.011383643, -0.003285446, 0.012452441, -0.0046166996, -0.022273995, -0.008815999, 0.012199471, 0.01274968, 0.04763422, -0.026308864, -0.044598583, 0.02868678, 0.009587557, 0.009985985, 0.018947441, -0.022501668, 0.02592941, 0.045939326, -0.031520043, 0.003135245, -0.001580271, -0.056159306, -0.0057708747, -0.0047336984, -0.02424716, 0.02399419, 0.005185882, 0.032860782, -0.03238014, 0.03207658, 0.04211948, -0.0139892325, 0.013280917, 0.00015919314, -0.012269038, -0.03736365, -0.02105974, 0.0075195287, 0.0060206824, -0.0075195287, 0.01937749, 0.021439195, -0.028357921, -0.021262117, -0.009808906, -0.02424716, 0.00738672, -0.021274764, 0.0009494275, -0.01729049, -0.00082768576, 0.014824034, 0.019187763, -0.005160585, -0.010567816, -0.05271892, 0.008076062, 0.0064886766, 0.039210327, 0.039665673, -0.007184344, 0.020186994, -0.031267073, -0.003389796, 0.010643707, -0.025221094, -0.032354843, 0.00826579, -0.049025558, 0.012022392, 0.00018775107, -0.006466542, -0.032101873, 0.0075132046, 0.0035447401, -0.003155799, 0.03900795, 0.015443809, -0.077155806, 0.0031779339, -0.0100871725, -0.0018356125, 0.00033637084, -0.009499018, -0.0002731284, 0.0255879, 0.026637726, 0.013812154, 0.013154432, 0.0137615595, -0.006336895, 0.033518504, 0.07351304, 0.00029150822, -0.04146176, 0.01309119, -0.019605163, 0.004607213, 0.035188105, -0.007443638, -0.00780412, -0.0053819334, -0.024057433, 0.02508196, -0.000750609, 0.01980754, 0.006722674, -0.03741424, -0.019782243, -0.00025059827, 0.004385865, -0.040045127, -0.0021960945, 0.034378603, -0.04464918, 0.009214426, 0.03933681, 0.014899924, 0.011763098, -0.014444578, 0.024171269, -0.007778823, 0.037060082, 0.0302046, -0.018441502, -0.015203488, 0.0051131533, -0.018732417, -0.0051258015, -0.009049997, -0.0061566536, -0.041107602, 0.02342501, -0.042928983, 0.008721136, -0.0247531, -0.013420051, -0.005315529, 0.006564568, 0.017467568, -0.0050783698, -0.008740108, -0.021843947, 0.014077772, -0.016114179, -0.024006838, -0.02551201, -0.016341852, 0.0064823525, -0.025802925, 0.008765405, 0.0040190583, 0.01221212, -0.021363303, -0.012964705, -0.052567136, -0.0055621746, -0.03933681, 0.024778398, 0.05378139, 0.023260579, 0.031089995, -0.006760619, 0.0075195287, -0.020528503, 0.007968551, -0.009676097, -0.019693702, 0.033670288, 0.020073157, -0.0058499277, -0.0103148455, -0.00030613304, -0.050341, 0.029926334, 0.0014134691, 0.007633365, -0.028307326, -0.008120332, -0.0021186224, 0.01736638, -0.005951116, 0.007241262, -0.007620717, 0.006238869, 0.0014474619, -0.0018561663, -0.025195798, 0.07179284, -0.022501668, -0.0082847625, -0.018428853, 0.007993847, 0.005622255, 0.039792158, 0.01359713, 0.04381438, 0.009499018, 0.0022008377, 0.01519084, -0.018188532, 0.008974105, 0.010340143, -0.026688319, 0.018099993, 0.037515428, 0.002747885, 0.012762329, 0.0015763184, -0.011086403, 0.024968125, -0.011440561, 0.018201182, -0.0068365103, 0.02525904, 0.005448338, -0.03926092, 0.003952654, 0.0017707889, 0.010934622, -0.019061279, 0.02843381, 0.03374618, -0.013103838, 0.027067775, 0.018833606, -0.022349887, -0.013609778, -0.004834886, -0.044370912, 0.04874729, -0.03129237, -0.0020316641, -0.008525084, -0.016480986, -0.003598496, 0.00075811904, -0.006703701, 0.00069724815, -0.012477738, -0.016898386, 0.019453382, 0.019162467, -0.017809078, 0.016974278, -0.03490984, 0.024398942, -0.014178961, -0.083935395, 0.0048380485, 0.01694898, -0.02071823, 0.05160585, 0.0029344503, 0.019934025, -0.007367747, 0.018656526, -0.016683362, 0.03169712, 0.0062009236, 0.012300659, 0.021388602, -0.011086403, -0.00822152, -0.022779936, -0.018922145, -0.017100763, -0.020756176, 0.014242203, 0.0072728833, 0.013609778, 0.011282455, 0.0022198104, -0.0013818478, -0.0053850957, -0.02299496, 0.017189302, 0.011592343, -0.007905308, -0.0014925221, -0.011263482, 0.04768482, -0.0050024786, -0.02132536, 0.018011453, -0.006754295, 0.008240493, -0.032531925, 0.00810136, -0.04297958, -0.013660372, -0.0142675, 0.0027320744, -0.05489446, 0.024234511, -0.017416975, 0.0072286134, 0.0066594314, -0.008872918, -0.016265962, 0.0023510386, -0.040045127, 0.03490984, 0.002798479, 0.008702163, -0.018074695, -0.017341083, 0.001848261, -0.017088113, 0.01443193, 0.014899924, -0.038122557, -0.013812154, -0.036301173, -0.041132897, 0.02929391, 0.009233399, -0.0072539104, -0.011541749, 0.01267379, 0.0011091147, 0.024360998, -0.032177765, -0.020832067, 0.053680204, 0.0015114949, -0.004774806, -0.007449962, 0.004724212, -0.008341681, 0.011933853, 0.015823264, -0.007449962, 0.005059397, 0.0056285793, -0.03842612, -0.008120332, -0.007835741, -0.0070831557, 0.0076839593, -0.018808309, 0.00016956886, 0.010675328, 0.00018152563, -0.0046040514, -0.008594651, -0.00032075786, -0.0027352364, 0.027295446, -0.005878387, 0.0131670805, -0.047608927, -0.039412703, 0.0020490559, 0.05008803, -0.031950094, 0.04925323, 0.007215965, 0.03281019, -0.032709002, -0.0047653196, 0.017341083, 0.015279379, 0.05722178, 0.018150587, 0.0076713106, 0.010605761, -0.020996498, 0.025183149, 0.017075464, 0.008828647, 0.020237587, -0.010403385, -0.0139892325, -0.0022451074, 0.038603198, -0.014052475, 0.03458098, -0.0010371763, 0.06476028, -0.011143322, 0.038603198, 0.0012774977, -0.004743185, -0.003598496, -0.0051226397, -0.057171185, 0.004392189, 0.025727034, 0.016544228, 0.025271688, 0.008139305, -0.0055843093, 0.013698317, -0.0032791216, 0.004490215, 0.006036493, 0.013394753, 0.010074524, -0.0022419454, 0.0293698, 0.051808227, -0.01603829, 0.035263997, 0.005827793, 0.021198874, 0.030482868, 0.03852731, -0.0024949152, 0.0007901355, -0.008853945, -0.008044441, 0.035112217, -0.011807368, -0.016063586, -0.00390206, 0.003933681, 0.046344075, 0.0099290665, -0.03212717, 0.02929391, 0.03792018, 0.029243315, -0.012806599, 0.007854714, 0.006042817, 0.01729049, -0.0064032995, -0.011744126, -0.013571832, -0.028231435, 0.015835913, 0.019541921, 0.005903684, 0.015582942, -0.024588669, 0.023488251, 0.017669944, 0.025739683, 0.02886386, 0.01603829, 0.002822195, -0.013533887, 0.021843947, -0.064962655, -0.0038736009, 0.008259466, -0.004471242, -0.045205712, 0.011782071, 0.006520298, -0.022248698, -0.0018071533, 0.00018646645, -0.0141283665, -0.0018055723, 0.005985899, 0.021338006, -0.016063586, 0.032709002, 0.0029676526, -0.011320401, -0.0028870185, -0.03465687, 0.02381711, 0.038603198, -0.022526965, -0.007114777, -0.018580636, 0.0071084527, -0.036655333, -0.0031463124, -0.019326897, -0.021768056, 0.05595693, -0.024183918, -0.029015642, 0.003674387, -0.016114179, 0.003361337, -0.014925221, 0.0059542777, -0.052010603, 0.017138707, -0.039792158, -0.03632647, -0.005166909, -0.04563576, 0.0018150586, 0.028509703, 0.034783356, 0.016063586, -0.016329205, -0.03933681, -0.005109991, 0.014495173, -0.027725495, -0.030280491, -0.0012087215, 0.007601744, 0.012977353, -0.0056285793, -0.008063414, -0.0067922403, -0.021616274, 0.03207658, 0.033366725, -0.005723443, 0.00868319, -0.006558243, 0.033695586, -0.017012222, -0.0036111446, -0.021995729, 0.019617813, 0.0064823525, -0.009372533, -0.01149748, -0.03281019, -0.0003118644, 0.010188361, 0.009366209, 0.019352194, -0.0015296771, 0.010257928, 0.0137615595, 0.00009387553, -0.03622528, -0.026991883, 0.0028901806, -0.04128468, 0.040146314, 0.035213403, -0.016000343, -0.004566106, -0.003392958, 0.04320725, -0.011604992, 0.034631573, -0.0059353053, 0.013318863, 0.015899155, 0.016847793, -0.030584056, -0.014571063, 0.019503975, 0.0016221692, -0.034454495, 0.013774209, -0.02408273, 0.029799849, 0.017492866, 0.008417572, 0.0021375953, -0.038375527, 0.0031763527, -0.016480986, 0.006004872, 0.028965048, 0.012831896, 0.023943596, -0.007943253, 0.03756602, 0.021173576, 0.0007549569, -0.00020929302, -0.007785147, 0.0059953853, 0.0062768143, 0.015722075, 0.014824034, -0.019326897, -0.000042021653, -0.037515428, -0.018998036, 0.0014363944, 0.0014664346, 0.01073857, 0.0040032477, 0.022248698, 0.04356141, 0.020515855, -0.046394672, 0.0060491418, 0.0018435178, -0.034707464, -0.0037313052, -0.014507821, 0.005928981, -0.019314248, 0.028737376, -0.01837826, -0.050113328, 0.015823264, 0.02576498, 0.0010363859, -0.003056192, -0.03984275, 0.04877259, -0.03313905, -0.036377065, -8.6773105e-7, 0.016329205, 0.0129394075, 0.0074815834, 0.008088711, -0.026005302, -0.01979489, -0.019314248, 0.018884199, -0.022109564, 0.01988343, -0.026005302, 0.0076966076, -0.00574874, 0.031140588, -0.017252544, -0.015241434, 0.009163833, -0.008607299, 0.013571832, -0.0013960773, 0.016518932, -0.043080766, -0.01660747, -0.0021549868, -0.019782243, 0.016379798, 0.00369336, -0.010744895, -0.012484062, -0.014798736, 0.022666099, 0.007677635, -0.03673122, -0.016139476, 0.006621486, -0.02223605, 0.019288952, 0.030988807, -0.00801282, 0.022779936, 0.0072475863, 0.0010340143, 0.027826684, 0.03306316, -0.01359713, -0.0352387, 0.011345698, -0.0050435863, 0.021350656, -0.008025468, -0.008999403, -0.0034846596, -0.029015642, 0.0106816515, 0.0072539104, 0.013103838, -0.0052554486, 0.028990345, -0.015937101, 0.01896009, -0.020364072, -0.018618582, -0.011541749, 0.0112065645, 0.015216136, 0.026789507, 0.022539614, 0.03321494, 0.00018537947, -0.03121648, 0.01988343, 0.012528332, 0.00075772376, 0.018694472, -0.015785318, 0.039437998, -0.009922743, -0.0010324332, -0.019908728, -0.024183918, 0.014191609, 0.026232973, -0.012079311, 0.030154007, 0.009442099, 0.0243357, -0.016898386, 0.02727015, 0.025980003, -0.0071274256, -0.01794821, -0.022767287, -0.0038166826, -0.019415436, 0.0069187256, 0.040728144, -0.037996072, 0.0028633026, 0.026915992, 0.032354843, 0.0022941204, -0.0059416294, -0.028838564, 0.0005964555, 0.041487057, -0.004398513, -0.0019320572, 0.00755115, -0.011510128, 0.005356637, -0.015696779, 0.042423043, -0.05438852, 0.048595507, -0.0026024273, -0.0025739681, 0.026131786, 0.004237245, -0.015393215, 0.034454495, 0.01720195, 0.035618156, 0.009669772, -0.022084268, 0.0050214515, 0.0133062145, 0.009511666, 0.012477738, 0.01065003, 0.012768653, 0.053073075, 0.00889189, -0.013141784, 0.0027036152, 0.010295873, 0.023627384, -0.0029850441, -0.0081962235, -0.006008034, 0.0033044186, -0.024550725, 0.00085377326, 0.008234168, 0.0072728833, -0.014609009, -0.0352387, -0.006931374, 0.018770363, 0.004294163, 0.0031194345, 0.01242082, 0.007823093, -0.023209983, 0.0037502781, 0.012174174, 0.009770961, 0.02542347, 0.015443809, -0.0035510643, -0.025600549, 0.031899497, 0.011174943, 0.017252544, -0.009094266, -0.0045787543, -0.016556878, -0.018517394, 0.03063465, 0.016999574, 0.0036680629, -0.020186994, -0.026030598, 0.0043162983, 0.02929391, -0.008632597, 0.018833606, -0.01913717, -0.009138536, 0.0026767373, 0.008398599, 0.0009241305, 0.029723957, 0.0047906167, 0.002437997, 0.009644476, 0.0050277757, 0.0012395523, -0.008797026, 0.020262886, -0.003367661, 0.032152466, 0.012844544, 0.011851638, -0.001297261, 0.002926545, 0.028762672, -0.0064760284, -0.008069738, -0.010409709, -0.028636187, 0.029142126, -0.026941288, 0.01870712, 0.017657295, 0.015026409, 0.023032906, 0.03212717, -0.017214598, 0.0146849, 0.038577903, -0.04540809, 0.007449962, -0.0034182551, -0.0008268952, -0.038400825, -0.028535, 0.046192296, 0.009467397, 0.005473635, -0.008291087, -0.0040475177, 0.029218018, -0.0059669265, -0.0008759081, 0.015582942, 0.0024949152, -0.045104526, -0.005011965, 0.02969866, 0.009739339, 0.01811264, -0.007753526, -0.014115717, -0.018428853, 0.020528503, 0.0008450774, -0.014533118, -0.009992309, 0.03867909, -0.007943253, 0.015646186, -0.017758483, 0.020402018, -0.016076233, 0.011301428, -0.029749254, 0.0033550127, 0.041057006, -0.034682166, -0.031014103, 0.008183574, -0.0010672165, 0.00057511113, -0.010302197, 0.0077219047, 0.01602564, -0.03281019, 0.010093497, -0.0042910012, 0.030482868, 0.0054767975, 0.02810495, -0.032961972, 0.04034869, -0.0026767373, -0.008253141, -0.006804889, 0.0063021113, 0.0020759339, -0.015747374, 0.0051953685, 0.032607812, 0.018466799, 0.021439195, -0.01309119, 0.010605761, -0.006178789, -0.007677635, 0.013875396, -0.03574464, 0.002721007, 0.042827796, -0.033847366, 0.02256491, -0.020098455, -0.018087344, 0.018517394, -0.0006853902, 0.015507052, 0.023500899, -0.027927872, -0.038729683, -0.013268269, -0.0058689006, -0.021135632, -0.011263482, -0.015620888, -0.0037313052, -0.017581405, 0.0018292882, 0.012035041, 0.025296984, -0.005233314, 0.012174174, 0.03169712, 0.028661484, 0.02828203, -0.017075464, 0.0061440053, -0.02542347, -0.037768397, 0.002003205, -0.02777609, 0.006087087, -0.03599761, 0.02298231, -0.010479276, -0.0085820025, -0.0028301002, -0.016518932, 0.022552263, -0.004796941, -0.0025281175, -0.031342965, -0.0029202206, -0.010194685, 0.028636187, 0.016556878, 0.018239126, -0.015975047, 0.023703275, 0.022919068, 0.017631998, 0.017138707, 0.0055811475, -0.0062262206, 0.03053346, 0.0014229554, 0.012661141, -0.02022494, 0.03533989, 0.06754295, -0.013837451, 0.022843178, 0.029192721, 0.002283053, -0.0076586623, 0.015962398, -0.06597453, 0.025651142, 0.042777203, -0.0103148455, 0.0035289293, 0.00759542, 0.011491155, -0.009271345, -0.03288608, 0.019706352, -0.0006098945, -0.008322708, 0.031646527, -0.008645245, -0.04103171, 0.02248902, -0.007949578, -0.020250237, -0.023045553, 0.03592172, 0.021603625, 0.044370912, -0.027624307, -0.029774552, -0.024057433, -0.00621041, -0.020604394, -0.01644304, 0.016594822, -0.029066237, 0.0033265536, -0.020376721, 0.029850442, 0.015987694, -0.003310743, 0.04146176, 0.008657893 ]
2401.09350
322
Formally, suppose that the number of dimensions d is divisible by d◦, and let L = d/d◦. Define a selector matrix Si ∈ {0, 1}d◦×d, 1 ≤ i ≤ L as a matrix with L blocks in {0, 1}d◦×d◦ , where all blocks are 0 but the i-th block is the identity. The following is an example for d = 6, d◦ = 2, and i = 2: g, — 001000 21000100 For a given vector u € R¢, S;u gives the i-th d.-dimensional subspace, so that we can write: u = @, Su. Suppose further that we have n quantizers G through ¢;, where ¢; : R¢° — [C] maps the subspace selected by S$; to one of C clusters. Each ¢; gives us C centroids ju;,; for 7 € [C].
2401.09350#322
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 322, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Formally, suppose that the number of dimensions d is divisible by d◦, and let L = d/d◦. Define a selector matrix Si ∈ {0, 1}d◦×d, 1 ≤ i ≤ L as a matrix with L blocks in {0, 1}d◦×d◦ , where all blocks are 0 but the i-th block is the identity. The following is an example for d = 6, d◦ = 2, and i = 2:\ng, — 001000 21000100\nFor a given vector u € R¢, S;u gives the i-th d.-dimensional subspace, so that we can write: u = @, Su. Suppose further that we have n quantizers G through ¢;, where ¢; : R¢° — [C] maps the subspace selected by S$; to one of C clusters. Each ¢; gives us C centroids ju;,; for 7 € [C].", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.014600214, -0.031475462, 0.014775217, 0.016712746, 0.0013672075, -0.006956352, 0.020987807, 0.010575155, -0.03900057, 0.009656391, -0.025000365, -0.014437712, 0.011443918, 0.018650273, 0.047375694, 0.014775217, 0.011975176, -0.04662568, 0.043575637, 0.03142546, 0.009368887, -0.01165017, 0.01091891, 0.012618935, 0.027700406, -0.0057594595, 0.036850538, 0.026200384, 0.07470109, 0.020750305, 0.016050234, -0.017612757, -0.02795041, -0.05062574, -0.00820637, 0.0052907025, -0.012850189, 0.09670141, -0.059850875, 0.04922572, -0.029125426, 0.02118781, -0.024937864, -0.04300063, 0.02255033, -0.0020062793, -0.028800422, -0.020125294, -0.019675288, -0.009812644, -0.00510945, 0.043425635, -0.014475212, -0.0021562816, 0.012887688, 0.007256356, -0.043975644, -0.0047969455, 0.050850745, -0.040750597, 0.013962705, -0.0026078506, -0.0076001114, 0.014262709, 0.006768849, -0.003196922, -0.04860071, 0.044475652, 0.0073938584, 0.020812806, -0.025062867, 0.035775524, 0.06505095, 0.017975263, 0.051700756, 0.014287709, 0.0054032044, 0.0476757, 0.01641274, 0.033800494, 0.027875409, 0.013462697, 0.013487698, 0.020575302, -0.0105001535, -0.021725317, -0.011012661, 0.006618847, -0.017250253, -0.029075425, 0.0018875276, -0.0039250576, -0.06370094, 0.02115031, -0.025625376, 0.00088595046, 0.05195076, 0.029075425, -0.07685112, -0.0068438505, -0.025437873, -0.021062808, 0.025137868, -0.019537786, 0.0054907054, -0.0546008, -0.020775305, 0.006968852, -0.019437784, 0.0064313444, -0.003556302, 0.03280048, 0.033700492, 0.031800468, 0.059650876, -0.0050156983, -0.065850966, -0.026250385, -0.039925586, 0.005943837, -0.03222547, -0.04722569, 0.048250705, -0.004253187, -0.022962837, -0.026800392, 0.00048125704, -0.05000073, -0.03480051, 0.032875482, 0.02455036, 0.021100309, 0.0007558704, -0.05870086, -0.0019000279, -0.009262635, 0.016700245, 0.019450285, -0.011731422, 0.015375225, 0.022037823, 0.027550403, 0.043600637, 0.017837761, 0.015550228, 0.020262796, -0.10000146, 0.05930087, 0.0106751565, 0.01712525, -0.05790085, -0.03062545, 0.02862542, -0.024337856, 0.0044000642, -0.031650465, -0.021275312, 0.005793835, -0.018812776, 0.036825538, 0.009237635, -0.017450256, 0.0044656903, 0.006900101, 0.018587772, -0.019625288, -0.013850203, -0.020312797, -0.035300516, -0.012950189, 0.007168855, -0.05730084, -0.055800818, -0.04665068, 0.057000834, -0.0053407033, -0.010806409, -0.02121281, -0.019650288, -0.061050896, 0.0014898656, -0.009631391, 0.04715069, -0.0044313148, 0.0068501, -0.016900247, -0.019350283, -0.06385093, 0.038600564, -0.040150587, -0.029675435, 0.0033594242, 0.035175513, 0.031075455, 0.018262768, -0.016587744, 0.011506419, 0.002692227, 0.058900863, -0.03060045, 0.012681436, 0.022387829, 0.010750158, -0.034275502, -0.01503772, -0.0272504, -0.003343799, 0.0033000484, -0.020225296, -0.024625361, -0.016912747, -0.024675362, -0.008956381, 0.0136502, -0.022275327, 0.020800306, -0.0069813523, -0.026050381, -0.030925453, 0.046500683, -0.0035094265, 0.025650376, 0.013525198, -0.00042266244, -0.024975365, 0.015425226, 0.0020984681, -0.027725406, -0.0016640868, -0.016200237, 0.03337549, 0.01571273, -0.0022703458, -0.02262533, -0.023437843, 0.006906351, -0.050875746, -0.020187795, -0.032550476, -0.0032531726, -0.029300429, -0.01505022, 0.04705069, 0.025850378, 0.032475475, 0.02387535, 0.0038438062, 0.035225514, -0.034450505, -0.017675258, -0.01298769, 0.028925424, -0.029700436, -0.018825276, -0.029175427, 0.055200808, 0.01910028, 0.023362841, -0.004650068, 0.016037734, -0.016900247, -0.050900746, -0.0136502, 0.046800684, -0.01705025, -0.010368902, -0.008356373, 0.020875305, 0.013675201, -0.027125398, 0.020900305, 0.0043844394, -0.03677554, 0.013900204, -0.027175399, -0.004656318, 0.045425665, 0.019837791, -0.016850246, 0.017525258, -0.027675405, -0.01910028, 0.038275562, 0.020012794, 0.00582821, -0.029050425, 0.026275385, 0.00953764, -0.028350415, -0.012000176, 0.0749511, -0.03325049, -0.0035250515, -0.019587787, -0.026275385, 0.0042563123, -0.058550857, -0.03762555, -0.01838777, 0.028475417, 0.013962705, 0.014850218, 0.02597538, -0.006090714, -0.06870101, 0.026900394, 0.01563773, 0.0546008, 0.011312665, -0.01905028, 0.038800567, 0.0015828357, -0.0033937998, 0.042150617, -0.050400738, -0.0408756, 0.00410631, 0.025562875, 0.005990713, -0.035725523, -0.008025117, -0.009087633, -0.0025015993, -0.015375225, 0.05200076, 0.014037706, -0.077001125, 0.012506433, -0.00478132, -0.059100866, 0.017550258, -0.009662641, -0.012800188, 0.06395093, -0.03362549, -0.06070089, -0.022200326, 0.04182561, -0.048000704, -0.02655039, -0.055150807, -0.015837733, -0.010050147, -0.023625346, -0.029150426, -0.01022515, -0.02261283, 0.028425416, 0.05530081, -0.01166267, -0.013687701, -0.039850585, -0.023537844, -0.023537844, 0.013475197, -0.014950219, -0.012100177, -0.031825468, -0.105301544, -0.012025177, -0.003893807, 0.008843879, 0.043575637, 0.04912572, 0.003893807, 0.034575507, -0.0102314, 0.0050344486, 0.00037285703, 0.008400123, -0.0037781803, -0.00016435787, -0.014912719, 0.014212708, -0.0038688066, -0.03620053, -0.004512566, 0.027875409, 0.0341505, -0.0075438605, -0.0042563123, 0.034950513, -0.029200427, -0.01228768, 0.01022515, -0.0012226742, 0.017937763, -0.014387711, -0.040575594, -0.033900496, -0.0409756, 0.008712628, 0.051550753, 0.051550753, -0.02527537, -0.050375737, 0.03352549, 0.01227518, 0.015850233, -0.007568861, 0.020912806, -0.057000834, 0.009256385, -0.024487859, 0.015287724, 0.015112721, 0.050325736, 0.056500826, 0.019700289, -0.0139502045, 0.0055594565, -0.018550271, 0.023650346, 0.026450388, -0.03282548, 0.02331284, -0.01838777, 0.0137127, 0.03325049, 0.07905116, -0.028425416, 0.03077545, -0.038500562, -0.031600464, 0.013675201, -0.009031382, -0.029475432, 0.024762863, 0.0000022308677, -0.028800422, -0.02672539, 0.039825585, 0.03672554, 0.010581405, -0.031975467, 0.009875145, 0.023800349, -0.007568861, 0.0106751565, 0.0035813025, -0.00053477346, 0.024737863, 0.016837746, -0.008856379, -0.029125426, -0.011687671, 0.02257533, -0.04375064, 0.039300576, -0.0056532077, -0.018862776, -0.022312827, -0.00096095155, 0.005728209, -0.03547552, -0.046775684, 0.049025718, 0.015837733, 0.028950425, -0.035700522, 0.023800349, 0.025062867, -0.022212826, -0.020550301, -0.008681377, 0.029150426, -0.009893895, -0.043100633, 0.006296967, 0.021000307, -0.04030059, -0.006000088, 0.088451296, 0.03007544, -0.010362652, 0.00047813202, 0.016100235, -0.038800567, 0.024300355, 0.0017875262, 0.027475402, -0.06425094, -0.060900893, 0.03890057, 0.044625655, 0.068501, 0.02932543, -0.0014062705, 0.081551194, 0.008018867, -0.029550433, -0.010350152, 0.02246283, -0.012212679, -0.004968823, -0.009581391, 0.008356373, -0.008081368, -0.02940043, 0.009437638, 0.06075089, -0.0011390792, 0.029575434, 0.016512742, 0.036475535, -0.011831423, 0.0018312768, -0.0057750847, -0.017550258, 0.032575477, 0.009075133, 0.014912719, -0.0091563845, 0.0139502045, 0.015175222, 0.026050381, 0.026275385, -0.037275545, -0.042525623, 0.015950233, -0.018612772, -0.01982529, -0.023625346, -0.0031141082, 0.02190032, -0.016837746, 0.0010195462, -0.0885013, -0.0043406887, -0.039725583, 0.005678208, -0.04845071, -0.012625185, 0.033850495, 0.025175368, -0.0015414289, 0.008981382, -0.006768849, 0.030400446, 0.019462785, -0.005534456, -0.014550213, 0.020937806, -0.003203172, -0.0012953315, -0.023662847, -0.004243812, 0.024150353, 0.00817512, 0.022262827, -0.016275238, -0.033750493, -0.006393844, -0.0069313515, -0.048800714, 0.016250238, 0.018212767, 0.046200678, -0.018787775, -0.030525448, -0.032600477, 0.023087839, 0.017437756, -0.014612714, -0.0039969333, -0.004396939, -0.018075265, -0.006562596, 0.011350166, -0.014875218, -0.056250826, 0.01563773, 0.036300533, -0.024700362, 0.009481389, -0.0016468992, 0.019000279, -0.007625112, -0.006700098, 0.009931396, -0.020250296, 0.0019234656, 0.03007544, -0.056500826, -0.019650288, -0.011950175, -0.003821931, 0.0060219634, -0.008587626, 0.023737848, 0.0028219162, 0.020712804, -0.018875277, 0.026600389, -0.03217547, -0.01707525, -0.031675465, 0.02332534, 0.024887865, -0.0059813377, 0.04037559, 0.0028297289, -0.008437623, -0.031700466, -0.057750847, -0.008956381, 0.0272504, 0.02672539, 0.0008804817, -0.010050147, -0.024200354, -0.0007230575, -0.0044875657, -0.010856409, -0.00582821, 0.014612714, -0.004965698, -0.025187869, 0.014950219, -0.015812732, 0.0020328423, -0.011043912, 0.030925453, 0.037325546, 0.02522537, 0.06615097, 0.029650435, -0.053650785, -0.001500022, -0.020025292, -0.023950351, -0.011337666, 0.029100426, -0.004568817, -0.020300297, 0.021637818, 0.0076501123, -0.005575082, 0.031650465, -0.0012648623, -0.0005000073, 0.036850538, 0.042150617, -0.034625508, 0.001807839, 0.008643877, -0.0013312695, 0.01094391, -0.027650405, -0.011068912, -0.03625053, 0.017337754, -0.009656391, -0.033950496, 0.022375328, -0.013312695, 0.000953139, -0.014850218, -0.00953764, -0.017250253, -0.016925247, -0.009175135, 0.009481389, -0.03557552, 0.0036625536, -0.0052250763, 0.0018359644, -0.029775437, -0.029275429, -0.006756349, 0.03672554, 0.016987748, 0.001909403, -0.002685977, 0.0020859682, -0.03125046, -0.022100324, 0.033750493, -0.0137127, 0.015787732, -0.016750246, 0.00066446286, 0.008406373, 0.011912675, -0.01563773, -0.021325313, -0.01298769, 0.0088626295, 0.009993897, -0.026300386, 0.016700245, 0.024462858, 0.04425065, -0.004765695, 0.043100633, 0.0017281503, -0.0057750847, 0.02192532, -0.005328203, -0.041950613, -0.0028578544, 0.03337549, -0.040075585, -0.01501272, -0.022137824, -0.02935043, -0.0204378, -0.0017578383, 0.04490066, -0.017962763, 0.011906425, -0.0023078462, -0.023562845, -0.02595038, 0.0273004, -0.011350166, -0.00018584257, -0.018912777, -0.010431402, -0.0041813115, -0.043925643, -0.027775407, -0.07400108, 0.029925438, -0.0019406534, -0.024112852, -0.035250515, -0.037925556, 0.0052094515, 0.002279721, 0.0058594607, 0.059850875, 0.027625404, 0.027650405, 0.02528787, -0.007850115, -0.0025094117, 0.023637846, -0.023262842, -0.021400314, -0.02940043, -0.020000294, 0.004228187, 0.011125163, 0.025025366, 0.054900803, 0.006396969, -0.013437697, 0.0026844144, 0.03077545, -0.020625303, 0.009881395, -0.005056324, -0.01848777, 0.014475212, -0.005181326, -0.005215701, -0.042650625, 0.04045059, 0.04370064, 0.024925366, 0.007462609, 0.0011250165, 0.028025411, 0.03947558, -0.003556302, -0.029600434, 0.016875247, -0.0024875365, -0.016875247, 0.009456389, 0.044025645, 0.010137648, 0.004365689, 0.043325633, -0.030875452, -0.040800598, -0.056150824, -0.030525448, 0.017537758, -0.01703775, -0.007025103, 0.012118927, 0.0030906703, -0.000067042, 0.017950263, 0.021700317, 0.0015992422, 0.05395079, -0.05045074, 0.0066313474, 0.024187854, -0.044750657, 0.01431271, -0.026475389, 0.029100426, 0.0021500315, -0.09845144, -0.029475432, 0.03340049, -0.006337593, 0.00028613702, 0.012800188, 0.02935043, 0.004562567, -0.00085470005, 0.0204503, 0.0005925868, -0.024662862, 0.008375123, 0.029825438, 0.0013820515, -0.035450518, -0.0021109683, 0.011350166, -0.0036000528, -0.0014047081, -0.0075501106, -0.020800306, 0.019687789, 0.05740084, -0.03555052, -0.013400196, 0.012087677, -0.025900379, 0.008587626, 0.00045313165, 0.011187664, -0.033775494, -0.040600594, 0.07395108, -0.00816887, -0.050150733, 0.021675317, 0.010318901, 0.010825159, -0.003137546, 0.017600257, -0.04295063, -0.014487713, -0.045600668, -0.0047375695, -0.031175457, 0.03617553, 0.001807839, 0.008350123, 0.01837527, -0.00014824436, 0.029525433, -0.013225194, -0.009937646, 0.011918925, 0.0023156588, 0.010650156, 0.0047906954, 0.017012749, 0.0023625346, -0.016162736, 0.030575449, 0.040775597, -0.0065375958, -0.038550563, -0.035950527, -0.02940043, -0.005165701, 0.015900234, -0.060550887, 0.0021719069, 0.012950189, 0.0012422057, 0.04385064, 0.016525242, -0.017387755, -0.0076813623, 0.010600155, -0.014637714, -0.0050813244, -0.023612846, 0.034000497, -0.008237621, 0.0012406432, 0.019587787, -0.0014289272, 0.010393903, 0.0005414142, -0.034400504, 0.03185047, -0.004703194, -0.012631435, -0.0025062866, -0.004371939, -0.0033844246, -0.01636274, -0.0049375724, -0.014775217, -0.0025469123, 0.024250355, 0.059150867, 0.047450695, -0.008843879, -0.02862542, -0.016862746, -0.0124314325, 0.035325516, -0.034450505, 0.061150897, 0.021512816, 0.015900234, -0.012037677, -0.016875247, 0.012656435, 0.008562625, 0.038750567, 0.0205003, 0.021112809, 0.010568905, -0.0065688463, 0.0020969056, 0.008793878, -0.010725157, 0.047500696, -0.028300414, -0.00030430133, -0.0015531478, 0.017537758, -0.024500359, -0.00016504148, -0.013212694, 0.045025658, 0.0055594565, 0.04242562, 0.038400564, 0.020537801, -0.011531419, 0.037400547, -0.05540081, -0.027175399, 0.029950438, 0.026150383, 0.022862835, -0.0014390836, -0.004084435, 0.024825364, 0.01922528, -0.01851277, -0.019250281, 0.0061157146, -0.008956381, -0.015775232, 0.024012852, 0.02940043, 0.021425314, 0.023525344, -0.008681377, -0.017362755, 0.015337724, 0.012318931, 0.011068912, -0.008606376, -0.010600155, 0.023562845, 0.0069876024, 0.011168914, -0.020912806, -0.011850174, -0.042050615, 0.028800422, 0.030000439, -0.057650845, -0.012718936, 0.017325254, 0.0013867391, 0.009693892, -0.013187693, 0.002148469, -0.014075207, -0.035225514, 0.021737818, 0.033975497, -0.02655039, 0.0061282148, 0.011387667, 0.03475051, 0.003959433, -0.03817556, 0.031125456, 0.03327549, 0.021075308, 0.042700626, 0.013137693, -0.012681436, 0.041325606, 0.006487595, -0.022650331, -0.018262768, 0.018987779, -0.00044961597, 0.011956425, 0.001467209, -0.013025191, -0.023937851, -0.041375607, 0.010406403, 0.011237665, 0.012418932, -0.0073501077, 0.023012837, 0.015100221, 0.032300472, -0.008237621, -0.0032906733, -0.0012070489, -0.01566273, 0.042075615, 0.01228143, 0.02382535, -0.0032500476, -0.0030766076, -0.022150325, -0.0548008, -0.016937748, -0.001598461, -0.01157517, 0.012237679, -0.022212826, -0.048075706, 0.01836277, 0.037425548, 0.013787702, -0.0066750976, -0.016812745, -0.036825538, 0.027350402, -0.016537743, -0.005684458, 0.019437784, 0.0027750407, 0.005662583, 0.0070876037, 0.017512757, 0.014000205, -0.00751886, -0.018037764, 0.008931381, 0.010393903, 0.029175427, -0.012425182, -0.023962852, -0.013137693, 0.013362695, -0.012675186, 0.006481345, 0.003681304, 0.0044281897, 0.012437683, 0.016025234, -0.00084219984, -0.0025297245, -0.0035250515, 0.027200399, -0.032375474, 0.0035406768, -0.013162693, 0.026500389, -0.0034594256, -0.02258783, -0.0075938613, -0.013162693, -0.021687817, 0.013787702, 0.0010054834, 0.03280048, 0.018412769, -0.0062438413, 0.029875437, 0.016512742, -0.010468903, -0.013887703, -0.011287665, -0.008968881, 0.005271952, 0.0018015889, -0.008693878, 0.0014742403, 0.012450183, 0.075451106, -0.0044188146, 0.028025411, 0.021237811, -0.01781276, -0.008706378, 0.038650565, -0.039750583, -0.014775217, 0.019962793, -0.022512829, -0.042750627, 0.0015523665, -0.011625171, 0.0015554916, -0.044525653, 0.031575464, -0.0014101769, -0.0020859682, 0.022937836, -0.061650902, -0.0008961069, 0.022150325, -0.017625257, 0.025212869, 0.028350415, 0.022975337, 0.00685635, -0.010825159, 0.015962733, -0.0039000572, 0.026825393, -0.025475373, 0.035425518, -0.009218885, -0.009081383, -0.015112721, -0.019625288, 0.00887513, -0.016987748, -0.005312578, 0.024750363, -0.0044844407, -0.0009445451, -0.008112619, -0.020362798, -0.047300693, 0.0043813144, -0.011887674, -0.020950306, 0.03222547, 0.0077376133, -0.00075352663, -0.009925146, 0.0042000613, 0.0074001085, -0.029100426, 0.019525286, 0.020325297, 0.011487668, 0.0022984713, -0.01505022, 0.038400564, -0.010443903, -0.0018828401, 0.0040125586, 0.015575228, 0.005668833, 0.0119626755, 0.015100221, -0.03280048, -0.013925204, -0.012037677, 0.012168928, -0.022712832, 0.0092126345, 0.009350137, 0.020925306, -0.024662862, -0.007100104, 0.030550448, -0.002360972, 0.02321284, -0.019487785, 0.0274004, 0.0010039209, 0.032525476, -0.02597538, -0.00043555326, -0.005328203, -0.014187708, -0.0011015786, -0.026275385, -0.012531433, 0.0030250442, -0.030400446, -0.0031562962, 0.0028500417, 0.005740709, 0.02452536, 0.008806379, -0.023925351, -0.008743878, -0.0101501485, 0.007718863, 0.03702554, -0.007712613, -0.00821262, -0.006087589, 0.014675215, 0.0031250457, -0.016475242, 0.011343916, 0.00751261, 0.023362841, -0.02655039, -0.021787819, -0.017375255, 0.010800159, 0.014137707, -0.0056438325, 0.0031219206, -0.025900379, 0.03125046, 0.009906395, 0.03345049, -0.0031328583, -0.036400534, -0.02118781, -0.011793923, -0.013512698, 0.024212854, 0.028975425, -0.028125413, -0.015075221, -0.023000337, 0.016987748, 0.009637641, 0.0274254, 0.009068883, -0.022662831, 0.05530081, 0.0100313965, -0.0032875482, -0.00074805785, 0.0006851663, -0.004984448, 0.010318901, -0.010043897, -0.0029500432, 0.005540706, 0.028500417, 0.0037688052, 0.013962705, 0.016112735, 0.035275515, -0.0036500534, -0.013437697, 0.0076501123, -0.014875218, 0.02531287, -0.008231371, -0.010112648, 0.020600302, 0.021537816, 0.019912792, 0.0063094674, 0.017625257, -0.040500592, 0.0050844494, 0.0020594052, -0.029550433, -0.0058625857, -0.009887645, -0.011925175, 0.02318784, 0.0057125837, -0.006487595, -0.0548008, 0.03550052, 0.009837644, -0.0004015684, 0.03687554, -0.0039094323, -0.012693936, 0.01633774, -0.003631303, 0.014287709, -0.017275253, -0.0052344515, -0.0036375532, 0.008993882, 0.012156428, 0.005531331, 0.05535081, 0.018775275, 0.014775217, 0.00060977455, 0.036825538, -0.039700583, 0.010287651, 0.03002544, -0.013137693, -0.01165017, -0.013100192, -0.02121281, 0.041425608, 0.022750333, -0.0014601776, -0.008112619, -0.014375211, -0.024700362, 0.02662539, -0.017550258, -0.023712847, 0.012118927, 0.020312797, 0.019012779, -0.0055094557, 0.01832527, 0.0038406812, -0.0013320508, 0.03135046, -0.011150164, 0.009100134, -0.0035781774, 0.020900305, 0.0065188454, -0.0072751064, -0.03607553, -0.021950321, -0.021375313, -0.0024719113, 0.03185047, 0.011906425, 0.008050118, -0.04152561, -0.011793923, -0.007425109, 0.011156414, 0.04517566, 0.036825538, -0.01975029, -0.014837718, -0.0003560599, 0.0031844217, 0.0060438383, 0.023475343, -0.00818137, -0.0057625845, -0.03062545, 0.002462536, 0.03325049, -0.030675448, 0.018550271, -0.041425608, 0.0027000397, -0.0074938596, 0.006962602, -0.03465051, 0.027900409, 0.026950395, 0.034500506, -0.020387799, -0.0008953256, -0.008268871, 0.033500493, -0.047400694, 0.012850189, 0.039825585, 0.04300063, -0.0020656553, 0.042475622, 0.00024590205, 0.020362798, 0.01635024, -0.016950248, 0.016800245, 0.01091266, 0.0052219513, 0.011637671, -0.015812732, 0.025362872, 0.0058563356, 0.018100265, -0.005521956, -0.018275268, 0.014575213, 0.000735167, -0.014487713, 0.034900513, 0.01973779, 0.0037656801, -0.010156399, 0.0021578441, -0.024200354, -0.00025351933, 0.012162678, 0.00046602247, 0.007718863, -0.028975425, -0.0007949335, -0.004696944, 0.017387755, 0.038675565, -0.034025498, 0.019275282, 0.035300516, 0.015862733, -0.033075485, -0.0015250223, -0.015162722, -0.023037838, 0.03560052, 0.019350283, -0.022937836, 0.008306372, 0.0477507, -0.0054313294, 0.016737746, 0.034600507, 0.02115031, -0.04040059, -0.0045906925, 0.019200282, -0.039775584, 0.017587757, -0.020787805, -0.022000322, 0.012056426, -0.0073563578, -0.006962602, -0.017525258, -0.01435021, -0.002787541, -0.020225296, 0.030450447, 0.03675054, -0.004859446, 0.00102189, -0.01707525, 0.021412814, 0.0204253, -0.017387755, 0.009812644, -0.011037662, 0.0409006, 0.052300766, -0.026850393, 0.016062735, 0.009237635, 0.014100206, -0.002250033, -0.0059563373, 0.02187532, -0.0124876825, -0.006643847, -0.006034463, 0.014925218, 0.021687817, 0.006296967, 0.0048781964, 0.0132501945, 0.0038469313, -0.036850538, -0.008075118, 0.013962705, 0.048300706, -0.019012779, 0.031100456, 0.018262768, -0.0039156824, 0.00056016445, 0.0127814375, -0.021812819, -0.011881424, -0.015525227, -0.0017281503, -0.01505022, -0.013687701, 0.00047735075, 0.04987573, -0.012037677, 0.018000264, 0.011487668, 0.010537654, 0.0544508, 0.014075207, 0.006296967, -0.031600464, 0.008943881, -0.009406388, 0.031150457, 0.008643877, -0.005053199, -0.014025206, 0.006418844, 0.018537771, 0.024400357, 0.016100235, -0.0073501077, 0.0026453512, -0.023975352, -0.00048867904, 0.008575126, -0.0010086085, -0.0022344077, 0.022862835, -0.01906278, -0.012937689, 0.025387872, 0.0051563256, 0.00010625156, 0.0049469476, -0.03697554, -0.008012617, 0.029900437, 0.0004183655, -0.04852571, -0.031550463, -0.020987807, 0.0068876008, -0.009062633, -0.010668906, 0.011093913, -0.015837733, 0.029950438, -0.010475153, -0.009293886, 0.00078048016, 0.0054407045, -0.04297563, 0.015787732, 0.024362857, 0.038550563, 0.011131413, -0.001303144, -0.03275048, -0.031975467, 0.0065063452, 0.037400547, 0.018175267, 0.035775524, -0.010481403, 0.00048867904, -0.014800217, 0.04640068, 0.016037734, -0.012331431, -0.0079813665, 0.020150295 ]
2401.09350
323
Using the notation above, we can express the PQ code for a vector u as L cluster identifiers, ζi(Siu), for i ∈ [L]. We can therefore quantize a d- dimensional vector using L log2 C bits. Observe that, when L = 1 (or equiva- lently, d◦ = d), PQ reduces to vector quantization. When L = d, on the other hand, PQ performs scalar quantization per dimension. Given this scheme, our approximation of u is &@ = Dj i µi,ζi(u). It is easy to see that the quantization error E[∥U − ˜U ∥2 2], with U denoting a random vector drawn from X and ˜U its reconstruction, is the sum of the quantization error of individual subspaces: L EIIV — 813) = =F [lu- Brrccoold] i=l nex L 1 / . = > [dolsiw - H¢5(0) 3] uEX i=1 As a result, learning the L codebooks can be formulated as L independent sub-problems. The i-th codebook can therefore be learnt by the application of KMeans on SiX = {Siu | u ∈ X }. # 9.2.1 Distance Computation with PQ
2401.09350#323
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 323, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Using the notation above, we can express the PQ code for a vector u as L cluster identifiers, ζi(Siu), for i ∈ [L]. We can therefore quantize a d- dimensional vector using L log2 C bits. Observe that, when L = 1 (or equiva- lently, d◦ = d), PQ reduces to vector quantization. When L = d, on the other hand, PQ performs scalar quantization per dimension.\nGiven this scheme, our approximation of u is &@ = Dj\ni µi,ζi(u). It is easy to see that the quantization error E[∥U − ˜U ∥2 2], with U denoting a random vector drawn from X and ˜U its reconstruction, is the sum of the quantization error of individual subspaces:\nL EIIV — 813) = =F [lu- Brrccoold] i=l nex L 1 / . = > [dolsiw - H¢5(0) 3] uEX i=1\nAs a result, learning the L codebooks can be formulated as L independent sub-problems. The i-th codebook can therefore be learnt by the application of KMeans on SiX = {Siu | u ∈ X }.\n# 9.2.1 Distance Computation with PQ", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.00024373921, -0.018141603, -0.029322753, 0.017882437, 0.00775029, -0.0008368894, 0.010156829, 0.021819288, -0.029618943, 0.04973514, 0.017549224, 0.017968826, -0.0054208837, 0.018795688, 0.019190606, -0.00452923, 0.03813439, -0.029470848, -0.004933405, 0.021325639, -0.021560121, -0.04316961, 0.019239971, 0.012933604, 0.015784428, -0.023818566, 0.02697792, 0.049957283, 0.041343108, -0.016290419, 0.0034555432, -0.013032335, -0.037097726, -0.028804421, -0.0013351664, 0.01248315, -0.03332131, 0.06945642, -0.021732898, 0.014476258, -0.023423648, -0.021424368, -0.039763432, -0.061064385, -0.013057017, 0.025595702, -0.010243217, -0.020906037, -0.033049803, 0.02668173, 0.0014053572, 0.076318145, -0.031025842, -0.024016026, -0.006732139, 0.002189025, -0.006867892, 0.0013575349, 0.072220854, -0.0481061, 0.037122406, -0.012008013, 0.013192771, 0.007731778, 0.02485523, 0.020745602, -0.008503105, 0.003055996, -0.008719076, 0.024522016, -0.026706412, 0.0541533, 0.045637853, -0.05104331, 0.039516605, 0.029199341, -0.050056014, 0.07691052, 0.012063549, -0.02063453, 0.0129089225, -0.005920703, 0.065754056, -0.014636694, -0.0233496, -0.039022956, -0.040627316, 0.018684616, -0.023892613, -0.041293744, -0.032235283, 0.012896582, -0.038282484, 0.00392451, 0.037418596, 0.013957927, 0.03208719, -0.016932162, 0.0005530412, -0.04608214, -0.035592094, -0.019869374, 0.060817562, -0.05193188, 0.06600088, -0.022275914, -0.056325357, 0.043515164, 0.00018222592, -0.000079302015, -0.01147117, 0.068370394, -0.02374452, 0.054992504, 0.042824056, -0.031865045, -0.030186638, -0.05257362, -0.0036468322, 0.014328163, -0.038702086, -0.015241414, 0.042824056, -0.02001747, -0.015142685, -0.059632804, 0.0326302, -0.065211035, 0.019054852, 0.007194935, 0.032852344, -0.01592018, -0.00093407655, 0.024472652, -0.0010266358, 0.018215649, 0.013563007, 0.029446166, 0.002522238, -0.0040664338, 0.01147734, 0.012995311, 0.010798573, 0.019844692, -0.031025842, 0.006118163, -0.048278876, 0.03613511, -0.005636855, -0.0050969264, -0.027496252, -0.04763713, -0.008626517, -0.0071702525, -0.037221137, -0.047069438, -0.014612012, 0.000005619235, -0.019474454, 0.007386224, 0.00037872136, 0.011298392, 0.045859996, -0.036604077, 0.043836035, -0.047069438, -0.05094458, -0.014068997, -0.04114565, -0.0386774, 0.001034349, -0.03423456, 0.003492567, -0.04109628, 0.022757221, -0.028458867, -0.022991704, -0.047908638, -0.039788112, -0.07118419, -0.0069172573, 0.007633048, 0.039615337, 0.0052419356, 0.022325277, 0.015068637, -0.004819249, -0.016154665, -0.00986681, 0.005010538, -0.004196017, 0.0018681531, 0.028137995, 0.017080257, 0.0009888407, -0.029421482, 0.01530312, -0.0056152577, -0.017030891, -0.032358695, 0.008922706, 0.030334733, 0.012008013, -0.0136740785, 0.0053776894, -0.054992504, -0.016339783, 0.004097287, -0.038652718, 0.033173215, -0.015759746, 0.003511079, 0.013057017, -0.02133798, -0.007997114, 0.021992065, -0.03351877, 0.052968543, -0.034826938, 0.017055575, -0.020461753, 0.01258188, 0.007127058, 0.011304563, -0.041219696, -0.019881716, 0.043663256, -0.04924149, 0.0071085463, -0.05667091, 0.044230953, 0.0042638937, -0.00579112, -0.026385542, 0.021412028, -0.00071309146, -0.0079415785, -0.014068997, -0.038603354, -0.008188403, -0.023115117, -0.015105661, 0.017376447, -0.0025068116, 0.013945585, 0.024201144, -0.0069604516, 0.014328163, 0.02143671, -0.050993945, -0.00996554, 0.016426172, 0.008145209, -0.026829826, -0.037542008, 0.050278153, 0.03208719, 0.026755778, 0.012662098, 0.0017910204, -0.0055041867, -0.046970706, -0.033839643, 0.017697318, 0.008861001, 0.017401129, 0.00815755, -0.013044676, -0.019462114, -0.012008013, -0.018376086, -0.013797491, -0.008861001, 0.03744328, -0.0090831425, -0.01672236, -0.020214928, 0.01641383, 0.009897663, 0.007188764, -0.013637055, 0.0073245177, 0.059632804, 0.036875583, 0.026829826, -0.029618943, -0.019017829, 0.039097004, -0.07873702, -0.03472821, 0.04620555, -0.03591297, -0.0058312295, -0.016154665, -0.00548259, 0.031470127, -0.021362662, -0.07325752, -0.016932162, 0.04561317, 0.011403292, 0.020757942, 0.022695515, 0.013859197, -0.086191125, 0.034037102, 0.044749286, 0.004902552, -0.032901708, 0.018252673, 0.02133798, 0.03230933, -0.004498377, 0.0189191, -0.04652642, -0.052277435, -0.023880273, -0.021189885, 0.023867931, -0.02848355, 0.009397844, -0.039319146, 0.011224345, -0.027594982, 0.006985134, 0.034752894, -0.09433633, -0.0030374844, 0.04188612, -0.038726766, 0.017647954, -0.011063909, -0.01791946, 0.028878469, -0.03280298, -0.031149255, -0.018450134, 0.057460748, -0.0503522, -0.0033629842, -0.043465797, 0.021017108, 0.009181872, -0.0063865846, 0.015574628, 0.012575709, 0.0457119, 0.04650174, 0.064273104, -0.01127371, -0.038183752, -0.026138717, 0.059040423, -0.020856673, 0.0755283, -0.04652642, 0.032877028, -0.019239971, -0.06733373, 0.021473734, -0.020066833, 0.003563529, 0.04398413, -0.023213847, -0.02396666, 0.011384781, 0.0032642542, -0.024904594, -0.017166646, 0.005979324, -0.045637853, -0.04859975, -0.040923506, -0.047982685, 0.007768802, -0.025373561, -0.008694394, 0.051685054, 0.03240806, 0.03946724, 0.013649396, 0.013600031, -0.009410185, 0.01942509, 0.064223744, 0.023497695, 0.025891893, -0.016981527, -0.045934044, -0.004751372, -0.03443202, -0.023522377, 0.020400047, 0.017549224, 0.00010827497, -0.02374452, 0.0293968, 0.048550382, 0.009484232, 0.020511117, -0.0034370315, -0.031766314, 0.020264294, -0.028162679, -0.017956484, -0.017462835, 0.028088631, 0.014278798, 0.017722001, 0.04689666, 0.03845526, -0.0040108985, 0.03571551, -0.028952517, 0.008231598, 0.00051756017, -0.012575709, 0.0059854947, 0.038331848, 0.0513395, -0.0011994129, 0.008422887, -0.052672353, -0.011113274, -0.021387344, -0.021288615, -0.01690748, 0.013859197, 0.023904955, -0.03028537, -0.0023432903, 0.017228352, -0.015475897, -0.009212725, -0.013748126, -0.0368509, 0.000027189264, -0.00945338, 0.0028631645, -0.000026514354, -0.021165203, 0.025422925, -0.008780782, -0.011613093, 0.0046125334, -0.017092599, 0.03233401, -0.0072319587, 0.075330846, 0.014574988, -0.034333292, -0.030754335, 0.027693711, 0.00015609723, 0.01783307, -0.079526864, 0.029026564, -0.02969299, -0.029174658, -0.021856312, -0.014612012, 0.05262299, -0.04275001, 0.01762327, 0.011606923, 0.025348878, -0.028261408, -0.013303841, 0.0054023718, 0.007256641, -0.005966983, -0.032778297, 0.05938598, -0.029125294, 0.0054239687, 0.012538685, 0.013451937, -0.03996089, -0.018030532, 0.008404375, 0.028606962, -0.054992504, -0.04047922, 0.02606467, -0.0026348517, 0.06664262, 0.04558849, 0.0152167315, 0.0378382, -0.0048315898, -0.09078206, -0.042330407, 0.03675217, -0.011896942, -0.008941218, 0.039615337, -0.013698761, 0.010428336, 0.035493366, 0.018351404, 0.04460119, 0.0090831425, 0.0007053782, 0.008262451, 0.011483511, 0.056177262, 0.017536882, -0.022818927, 0.0026394797, 0.07078927, 0.06762992, 0.011804382, 0.0054301396, -0.018696958, -0.022843609, 0.001072144, -0.00468041, -0.017339423, -0.033864323, 0.016031252, -0.008077333, -0.041540567, -0.024571382, -0.000109335546, -0.018376086, -0.017438153, -0.0652604, -0.09734759, -0.02001747, -0.0652604, -0.019054852, -0.028212043, -0.035592094, -0.007238129, -0.029544896, 0.0068493807, -0.030433463, 0.0028755057, 0.013094041, 0.008237768, -0.015846135, -0.025225466, 0.02002981, 0.006485314, 0.038529307, -0.0019005488, 0.034209877, -0.0051894854, -0.015056295, 0.007633048, 0.0069542807, -0.009885322, -0.017734341, -0.004964258, 0.021313297, 0.02576848, 0.022559762, 0.032605518, -0.015673356, -0.015253755, 0.004078775, 0.015327803, 0.01742581, 0.015364827, -0.011748848, 0.01519205, 0.015574628, -0.05464695, 0.017191328, 0.028878469, -0.050993945, 0.0016984612, 0.011323075, -0.006602556, 0.011212003, -0.0074355886, 0.040429857, -0.026039988, 0.022115476, 0.030458147, 0.002144288, -0.014068997, 0.03885018, -0.024287533, -0.036579393, 0.024484992, 0.010551748, -0.01842545, -0.026015304, 0.044946745, 0.01974596, -0.018585887, -0.0396647, -0.011508193, -0.049784508, 0.026903873, -0.03028537, -0.011094762, -0.037492644, -0.005010538, 0.0074726124, 0.006756821, -0.004387306, -0.025348878, -0.027298791, -0.008145209, 0.01419241, 0.038109705, 0.029051246, -0.0006405868, 0.009817446, -0.011631605, 0.00040726046, -0.0055011017, -0.018956123, -0.029322753, -0.0063557313, -0.045563806, 0.044354368, -0.029717673, -0.001997736, -0.030630924, 0.011261369, -0.006448291, -0.0015010017, 0.024090074, 0.022411667, -0.04126906, 0.022177184, -0.011532876, -0.03472821, -0.0027598066, 0.016956845, -0.0010636594, 0.0155993095, 0.02628681, -0.010088952, 0.014661376, 0.02305341, -0.0038813157, 0.025225466, 0.040257078, 0.021078814, -0.022769563, 0.016487878, -0.0035357613, -0.0075281477, 0.0054795044, -0.0308037, -0.029767036, -0.018030532, -0.016660655, 0.027051967, 0.014525623, 0.01943743, -0.033395357, -0.0018758663, -0.0079415785, -0.0038103536, -0.025620386, -0.043046195, -0.034703527, 0.00815755, -0.03823312, 0.012760827, 0.015043954, -0.020659212, -0.013205112, -0.021769922, 0.021214567, 0.009539768, 0.045267615, 0.0042484673, -0.021375004, -0.03391369, 0.0061767837, -0.037665423, -0.012970628, 0.0004142024, -0.018005848, -0.020363024, 0.0067815036, -0.035937652, 0.026731096, -0.044206273, -0.01811692, -0.015463556, -0.019153582, -0.011859918, -0.03381496, -0.0056522815, 0.000925592, 0.017104939, -0.010557919, 0.0022430178, -0.006284769, -0.022695515, 0.002607084, -0.0092744315, -0.03855399, 0.0052697035, 0.041984852, -0.019585526, -0.01499459, -0.034209877, -0.032284647, -0.038208436, 0.014488599, 0.03300044, 0.030927112, 0.016969185, 0.020782625, -0.01479713, -0.017870095, -0.030087909, -0.0035357613, -0.01592018, -0.017722001, 0.010459189, 0.017499859, -0.0061521013, 0.006247746, -0.050253473, -0.002696558, -0.015463556, -0.03011259, -0.03282766, -0.021769922, -0.015179708, 0.02868101, -0.018709298, 0.021868652, 0.0476865, -0.012365908, 0.025447609, -0.005109268, -0.011495852, 0.046797927, -0.030754335, -0.010156829, -0.04126906, -0.034382656, -0.013970268, 0.026632367, -0.0055874903, 0.044206273, 0.0010929698, -0.022090795, 0.0059145326, 0.014871177, -0.011520535, 0.009404014, -0.018450134, -0.0055628074, 0.026657049, 0.0010559461, 0.023004046, 0.024398604, 0.0012472351, 0.007559001, 0.011310734, 0.02384325, -0.014007292, 0.005146291, 0.02114052, -0.020301316, -0.019906398, -0.018733982, 0.029174658, -0.04336707, -0.0115698995, 0.05356092, -0.010736867, 0.03662876, 0.02316448, -0.041738026, -0.01862291, -0.019388067, -0.037122406, 0.02789117, -0.029125294, -0.01974596, 0.015759746, -0.042601913, -0.020659212, -0.011563729, -0.01066899, 0.010878791, 0.012008013, -0.040405173, 0.012433785, 0.0023278638, -0.0152043905, 0.016919822, -0.0075466596, 0.0041651637, -0.012871899, -0.07621941, -0.002321693, 0.009829787, 0.009706374, 0.041244376, 0.015278438, 0.016660655, -0.0035912967, -0.011144127, -0.013229794, 0.0010042673, -0.01700621, 0.040923506, -0.0036005527, -0.021547781, -0.02628681, -0.003816524, -0.019560844, -0.0017894778, -0.020301316, 0.0027937451, -0.0044397563, 0.029075928, 0.019758303, -0.02596594, 0.0014446948, 0.018129261, -0.011903113, 0.007380053, 0.009015266, -0.007441759, -0.01922763, -0.007275153, 0.04702007, 0.003563529, -0.018055214, 0.00986681, 0.007811996, 0.009132507, -0.046230234, 0.008533957, -0.050278153, -0.033469405, -0.017697318, 0.0038103536, -0.034950353, 0.020190246, -0.004418159, -0.0011353928, 0.0054702484, -0.02998918, -0.016487878, -0.0051771444, -0.025040347, 0.018956123, -0.018499497, 0.005346836, 0.002468245, -0.0161053, -0.01680875, -0.027101332, 0.015068637, 0.042725325, -0.015006931, -0.05286981, -0.0125263445, -0.022843609, 0.023115117, 0.009798934, -0.034061782, -0.006210722, 0.01659895, 0.003119245, 0.031568855, -0.0044582677, -0.024596063, 0.031124571, 0.011082421, -0.042799372, -0.031223303, 0.0024805865, -0.011267539, 0.009842128, -0.0012649756, -0.01016917, 0.0026996431, 0.030532192, -0.038973592, -0.03956597, 0.019017829, -0.019363383, 0.02326321, -0.00987298, 0.014204751, 0.02547229, -0.0067074564, -0.0015033156, -0.029248705, 0.0001833829, 0.008139038, 0.032852344, 0.03682622, 0.0012333513, -0.04277469, -0.030581558, 0.03349409, 0.026138717, -0.015093319, 0.050599027, -0.010502383, 0.035592094, -0.0040417514, -0.033395357, 0.015944865, -0.006472973, 0.034160513, 0.01659895, 0.03169227, 0.021263933, -0.026632367, 0.0030220577, 0.008546299, 0.0293968, 0.015994228, -0.0049889404, -0.040084302, 0.016228713, 0.04657579, -0.0368509, 0.0050321347, -0.019857032, 0.040503904, -0.005408542, 0.02264615, 0.01783307, 0.015327803, -0.030458147, 0.029767036, -0.019696597, -0.014599671, 0.017660294, 0.023078093, 0.025793163, 0.015537604, 0.012575709, 0.025595702, 0.006411267, 0.012711463, -0.022670832, 0.042527866, 0.021486074, 0.0041589933, -0.007441759, 0.028853787, 0.0058805943, 0.005152462, 0.0193387, -0.02274488, 0.03904764, 0.015759746, 0.06289089, 0.017413469, -0.010286412, 0.02557102, -0.0034277756, 0.0019869374, -0.01007044, -0.0115698995, -0.0083241565, 0.035789557, 0.0046680686, -0.053462192, 0.026805144, 0.044058178, 0.015722722, 0.013019994, 0.0051987413, 0.026755778, 0.0000578495, -0.033148535, 0.01841311, 0.006201466, -0.028656326, 0.031445444, 0.010101293, 0.025114395, 0.009144848, -0.058892332, 0.024694793, 0.03541932, 0.042552546, 0.033469405, 0.0075158067, 0.00057965197, 0.034654163, -0.00033167045, -0.045341663, 0.011643947, 0.010212365, -0.0031578112, -0.009533597, 0.010588772, 0.0006432864, -0.008645029, -0.031544175, 0.0030991903, 0.0006012491, 0.0005634541, -0.02233762, 0.023312576, -0.014649035, 0.008552469, 0.013797491, 0.016784068, -0.030087909, -0.03936851, -0.0008839403, 0.01841311, -0.030137274, -0.008064991, 0.000651771, 0.0015310834, -0.0293968, 0.008570981, -0.028582279, -0.032580838, 0.023732178, -0.02436158, -0.051092677, 0.010533236, 0.014710741, 0.008280963, -0.016895138, -0.021473734, -0.04911808, 0.002446648, -0.014068997, -0.05375838, -0.012433785, -0.02464543, 0.042404454, 0.0057818643, -0.0022970107, 0.023769202, 0.022584444, -0.009724886, 0.014414552, 0.01832672, -0.0136740785, -0.034777574, 0.013846856, -0.0076453895, -0.0035604436, 0.0062230635, 0.008836318, -0.007929238, -0.003242657, 0.01942509, 0.030186638, -0.021078814, 0.0032457425, -0.00006493606, 0.01672236, -0.03949192, 0.0019869374, -0.043959446, 0.0069789635, 0.007497295, -0.0027351242, -0.0042021875, -0.0233496, 0.0040479223, 0.019610208, -0.019968104, 0.026657049, 0.016228713, -0.0011168809, 0.0052697035, 0.014710741, -0.009829787, -0.02526249, -0.013118723, -0.030310052, 0.005174059, 0.017635612, -0.0052511916, 0.0067259683, 0.008947389, 0.038331848, -0.00074625853, 0.010533236, -0.008151379, 0.0011608466, 0.015759746, 0.03793693, -0.04842697, -0.01921529, 0.037295185, 0.0023864845, -0.010687502, 0.007176423, -0.0049148933, 0.034975033, 0.023608765, 0.020794965, 0.010699843, -0.02316448, 0.014068997, -0.018869735, -0.0148341535, 0.02193036, 0.009601474, 0.021819288, 0.026854508, 0.028261408, 0.030137274, -0.031470127, 0.0027382094, 0.0032148894, 0.006472973, -0.014167728, 0.024744159, -0.016253395, -0.011045397, -0.002153544, -0.036604077, -0.01027407, -0.00070923485, 0.03756669, 0.02929807, 0.0036684293, 0.0053776894, 0.02566975, -0.028212043, -0.0275703, 0.010323436, 0.006855551, -0.021375004, -0.011360099, 0.0023833993, 0.0072628115, -0.012495492, 0.017462835, -0.014673717, -0.03731987, 0.031050526, 0.034678847, 0.004371879, 0.010088952, -0.01207589, 0.036381934, -0.004742116, -0.024127098, -0.00024451053, 0.028656326, 0.02205377, 0.012174619, -0.00003217878, -0.043095563, -0.01921529, -0.010983692, 0.006275513, -0.0015071722, 0.024435628, 0.0036715148, 0.023522377, -0.0020100772, 0.00996554, 0.020844331, 0.0059638973, 0.014352846, -0.03282766, 0.010921985, -0.0102679, -0.01651256, -0.027940536, -0.010866449, 0.007404736, -0.0049673435, 0.0036375765, -0.008484593, -0.006806186, -0.019560844, -0.018808028, -0.010385142, 0.0068802335, 0.0013243678, 0.012168448, 0.0075651715, -0.002732039, 0.0087561, 0.0023031812, -0.010903473, 0.030260686, -0.0063557313, -0.01699387, 0.035172496, 0.02979172, -0.012538685, -0.008478423, 0.021671193, -0.023324918, 0.033345994, -0.026015304, -0.023004046, -0.017092599, 0.0015519091, 0.0051154383, 0.0061243335, 0.0006108907, -0.025200784, 0.019388067, -0.026953237, 0.0052388506, 0.00074818684, -0.02668173, -0.016586607, 0.0070715225, -0.010576431, 0.0625947, 0.0057417555, 0.00080603635, -0.021560121, -0.025817845, 0.0037671593, 0.0012102114, -0.0033537282, 0.0115698995, -0.017499859, 0.0386774, -0.009095483, 0.0013490503, -0.012359737, -0.011680971, 0.02495396, -0.005892935, -0.0032148894, 0.018129261, 0.0011222803, 0.03201314, -0.020869013, 0.017561564, 0.024990983, -0.0042392113, -0.007984773, -0.013550666, 0.0015789056, -0.017968826, 0.031149255, 0.005584405, -0.05084585, 0.0024744158, 0.017759025, 0.02083199, 0.002006992, 0.0029665222, -0.013525983, -0.03393837, 0.031346712, -0.012322715, -0.008823977, -0.008441399, 0.00016246067, 0.00096878625, 0.007380053, 0.023719836, -0.016327443, 0.025398243, 0.0062971106, -0.0013027707, 0.025348878, 0.008293304, 0.010181512, 0.053906474, 0.0026981006, 0.032161236, -0.0041929316, -0.011792041, 0.011020714, 0.016524902, 0.014303481, 0.015525263, 0.015488239, 0.009434868, 0.026015304, 0.020165563, 0.008287134, 0.018203309, 0.0005391573, 0.018388426, 0.01157607, -0.02890315, 0.0046372158, 0.03443202, 0.0072257877, 0.025521655, 0.0029356692, -0.037862882, 0.007330688, -0.038776133, 0.0058528264, 0.020696236, -0.015179708, 0.024299875, 0.009496573, 0.027002603, -0.0096631795, 0.026583001, 0.016537244, 0.012501662, 0.029717673, 0.0044644387, -0.021856312, -0.014574988, 0.0030390269, 0.039393194, -0.0005480276, -0.027249428, -0.01872164, -0.00765156, -0.02678046, 0.014599671, 0.019326359, 0.0026981006, -0.022164842, -0.013797491, -0.0030775932, 0.0060070916, 0.01147734, 0.022288254, -0.005109268, 0.0030837639, 0.01399495, 0.0019483711, 0.029125294, 0.007330688, 0.0067197974, 0.011946307, 0.0111873215, -0.01399495, 0.030877747, -0.011625435, 0.028310772, -0.008046479, 0.011489681, -0.0037363062, 0.032037824, -0.03070497, 0.03564146, 0.018610569, -0.0044551827, -0.003702368, 0.0075034653, -0.009175702, 0.016549584, -0.029224023, 0.022929998, 0.013970268, 0.019918738, 0.008632688, 0.0471188, -0.036801536, 0.015130343, 0.041293744, -0.0007875245, -0.0071208873, 0.018845052, -0.019474454, -0.0017786792, -0.018585887, 0.04492206, 0.0030760507, 0.006503826, -0.011927795, -0.0092744315, 0.04721753, -0.00055998313, -0.003961534, 0.014229434, 0.019276995, -0.032580838, -0.004754457, 0.0008561726, -0.0036776853, 0.014574988, 0.017487517, 0.0096570095, -0.029199341, -0.00019331374, 0.035789557, 0.009218896, -0.0003320561, 0.030458147, -0.053017907, 0.0035141641, 0.030260686, 0.011255198, -0.0045323153, 0.0063063665, -0.04015835, 0.017993508, 0.051734418, -0.030260686, -0.022399325, 0.008441399, -0.005485675, -0.009151019, -0.0013451936, 0.005899106, 0.0033537282, 0.0025345793, 0.0052295947, 0.01831438, 0.010150658, 0.015327803, 0.013057017, -0.027520934, 0.04990792, -0.00865737, -0.0076021953, -0.013192771, -0.004708178, 0.012125255, -0.0042947466, 0.013575349, 0.027496252, 0.023004046, 0.030927112, -0.0011585326, -0.0023833993, 0.02900188, -0.020005127, -0.013217453, -0.01761093, 0.002664162, 0.031124571, -0.010601114, 0.008675882, -0.009595303, 0.019597868, 0.0013127979, -0.012649757, 0.021115838, -0.023028728, -0.014315822, -0.027397523, 0.022818927, 0.026336176, 0.002745923, 0.026755778, -0.008928877, 0.001223324, -0.017030891, 0.0036283205, 0.017993508, 0.031470127, 0.0061551863, 0.02033834, 0.006824698, 0.026928555, 0.014291139, -0.010952838, -0.0036715148, 0.013797491, 0.0016984612, 0.011804382, -0.011755018, 0.02655832, -0.006284769, 0.033642184, 0.0008985955, -0.00996554, 0.009638498, 0.011995671, 0.029051246, -0.024583722, -0.0007809682, -0.018030532, 0.009311455, -0.0042577228, 0.04771118, 0.0163151, 0.016672997, -0.007306006, -0.0048377607, 0.03776415, 0.011464999, 0.0219427, 0.0015064009, -0.026188081, -0.013451937, -0.0019452857, -0.008225427, -0.016784068, 0.010397483, 0.027619664, -0.010255558, 0.008521616, 0.046625152, -0.005328324, 0.00012591908, 0.016302759, -0.04156525, 0.02357174, 0.0471188, -0.010810914, 0.0053499215, -0.03492567, -0.01592018, 0.01438987, -0.04702007, 0.018659934, 0.0023664301, -0.003733221, -0.0014369815, -0.024608405, -0.035690825, -0.03184036, 0.0023463755, -0.044329684, 0.0071023754, 0.013933244, 0.037986293, 0.030630924, -0.0011670172, -0.02828609, -0.021325639, 0.01993108, -0.0059052766, -0.008114357, 0.031544175, -0.044576507, 0.02576848, -0.011218174, 0.046797927, 0.029075928, -0.019795327, 0.014550306, -0.0067629917 ]
2401.09350
324
# 9.2.1 Distance Computation with PQ In vector quantization, computing the distance of a vector u to a query q was fairly trivial. All we had to do was to precompute a table that maps i ∈ [C] to ∥q − µi∥2, then look up the entry that corresponds to ζ(u). The fact that 129 130 9 Quantization we were able to precompute C distances once per query, then simply look up the right entry from the table for a vector u helped us save a great deal of computation. Can we devise a similar algorithm given a PQ code? The answer is yes. Indeed, that is why PQ has proven to be an efficient algorithm for distance computation. As in vector quantization, it first com- putes L distance tables, but the i-th table maps j ∈ [C] to ∥Siq − µi,j∥2 2 (note the squared L2 distance). Using these tables, we can estimate the distance between q and any vector u as follows:
2401.09350#324
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 324, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "# 9.2.1 Distance Computation with PQ\nIn vector quantization, computing the distance of a vector u to a query q was fairly trivial. All we had to do was to precompute a table that maps i ∈ [C] to ∥q − µi∥2, then look up the entry that corresponds to ζ(u). The fact that\n129\n130\n9 Quantization\nwe were able to precompute C distances once per query, then simply look up the right entry from the table for a vector u helped us save a great deal of computation. Can we devise a similar algorithm given a PQ code?\nThe answer is yes. Indeed, that is why PQ has proven to be an efficient algorithm for distance computation. As in vector quantization, it first com- putes L distance tables, but the i-th table maps j ∈ [C] to ∥Siq − µi,j∥2 2 (note the squared L2 distance). Using these tables, we can estimate the distance between q and any vector u as follows:", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.023670787, -0.015784495, -0.015796408, 0.014783818, 0.019286867, -0.0091430945, -0.00085474533, 0.046626803, -0.052416436, 0.042957652, 0.017940717, 0.0013059436, -0.005604985, 0.03442807, 0.039383806, -0.024516597, 0.024468945, -0.04648385, 0.015832147, 0.03156899, -0.0011168275, -0.017297424, 0.0014369847, -0.025636403, 0.022122119, -0.014390695, 0.007487212, 0.0528453, 0.028304877, -0.04543552, -0.00855341, -0.01011399, -0.042457316, -0.05579968, 0.013938007, 0.023968607, -0.04769896, 0.03957441, -0.030330056, 0.03118778, -0.03206933, -0.009113313, -0.041099254, -0.07185817, 0.0018762702, 0.03366565, 0.0011689462, -0.0056377454, -0.021979166, 0.0148791205, 0.013544884, 0.08610591, -0.025421971, 0.013211325, 0.009673215, -0.0033385698, -0.009256266, 0.000024546938, 0.053750675, -0.035500225, 0.011573311, -0.023992432, 0.01537946, -0.001526331, 0.02031137, 0.028185748, 0.020573452, 0.012401253, -0.01285394, -0.0057390044, -0.04429189, 0.05036743, 0.06780781, -0.03507136, 0.07033333, 0.009155007, -0.035285793, 0.041742545, 0.012079607, -0.010769196, 0.0092443535, -0.03283175, 0.05684801, -0.029639114, -0.013818879, -0.012794376, -0.042290535, 0.031711943, -0.04362477, -0.03190255, -0.03025858, 0.03852608, -0.004092056, 0.011918783, 0.022276986, 0.006066607, 0.04791339, 0.022944104, 0.017988369, -0.032259934, -0.023635048, -0.013664012, 0.06523464, -0.04150429, 0.082960926, 0.010638154, -0.013735489, 0.046626803, 0.0033832428, -0.001554624, -0.0006265402, 0.049605012, -0.014235828, 0.059135273, 0.013604448, -0.01222256, -0.028686088, -0.053798325, 0.026684731, 0.009560044, -0.019703815, -0.006641401, 0.043267388, -0.031640466, 0.00870232, -0.063614495, -0.0077612065, -0.06332859, 0.029448507, -0.022050641, 0.012806289, 0.00607852, 0.028757565, 0.022920279, 0.012496555, 0.020323282, 0.009357525, -0.008136461, -0.0063316673, 0.017738199, 0.022670109, 0.015879799, 0.004077165, 0.019286867, -0.026946815, 0.0039312327, -0.02427834, 0.02402817, 0.014974424, -0.015188854, -0.04757983, -0.049080845, -0.02439747, -0.022539068, -0.038883466, -0.013866531, -0.0029648046, 0.012067693, -0.015022075, 0.0050748643, -0.016415875, 0.0037019108, 0.028852867, -0.04040831, 0.02949616, -0.032927055, -0.054036584, -0.013116023, -0.033856254, -0.036810637, -0.020299457, -0.04495901, -0.008749971, -0.016177619, 0.04128986, 0.0022723717, 0.0052356874, -0.047389224, -0.01951321, -0.055894982, 0.0011533105, 0.022157857, 0.029043471, 0.016153794, 0.05360772, 0.013354279, -0.014069049, 0.013628274, 0.014164351, 0.007332345, -0.0064924904, 0.011900914, 0.04121838, 0.00060308684, -0.026875338, -0.017738199, 0.022908365, 0.002105592, -0.0159751, -0.058468156, 0.05251174, 0.012794376, 0.006397188, 0.00783864, -0.009137138, -0.06051716, -0.008428325, 0.0015918515, -0.024921633, 0.0014585768, -0.034618676, 0.0058253724, 0.023468269, -0.022539068, -0.0053697065, 0.004568569, -0.033951554, 0.07142931, -0.040003274, 0.015188854, -0.026374998, 0.023087058, 0.027065942, 0.02031137, -0.046388548, 0.013771228, 0.024194952, -0.03864521, 0.014509823, -0.051844623, 0.053178858, 0.010626242, -0.012984981, -0.027756887, 0.022384202, -0.00037060058, 0.003168812, 0.0031926376, -0.050462734, -0.024969285, -0.032164633, 0.0050778426, 0.048103996, -0.0023751198, 0.0012694607, 0.0073561706, -0.02065684, 0.011662657, 0.05389363, -0.042671744, -0.05532317, 0.021085704, -0.004005688, -0.029186426, -0.045888208, 0.02195534, 0.008976315, 0.0109061925, 0.008875056, 0.01896522, -0.0075586885, -0.042266708, -0.004205228, 0.011829437, 0.015855972, 0.044982836, -0.009464741, -0.0011533105, -0.034713976, 0.007046437, 0.0023185338, 0.022860715, 0.0355717, 0.025779357, -0.032188457, 0.0033534607, -0.016106142, -0.0024093692, 0.031854898, 0.011329099, -0.022729674, 0.021836212, 0.05722922, 0.040860996, 0.008053071, -0.024635727, -0.012103432, 0.034880757, -0.03990797, -0.023230013, 0.056657404, -0.023158535, 0.013866531, -0.017333163, -0.0066116187, 0.039884143, -0.012210648, -0.06561585, -0.0146527765, 0.030878047, 0.042266708, 0.022646284, 0.037191845, -0.0101497285, -0.0655682, 0.053845976, 0.022944104, 0.018774616, -0.04724627, 0.013509146, 0.01167457, 0.05422719, -0.0049199974, 0.026756208, -0.039455283, -0.045530822, -0.0061351056, -0.028352527, 0.010364159, -0.043672424, 0.037525404, -0.009691085, 0.021395437, -0.02090701, 0.013223237, -0.006224452, -0.086534776, -0.014795731, 0.027042117, -0.025779357, 0.04045596, -0.002894817, -0.010644111, 0.031807248, -0.04402981, 0.00028199895, -0.03173577, 0.06590176, -0.03540492, -0.01512929, -0.03197403, 0.017857328, 0.03337974, -0.016106142, -0.02102614, 0.014390695, 0.057467476, -0.0047234357, 0.06289972, -0.013580622, -0.039431456, -0.026541779, 0.048699636, -0.043767724, 0.079768285, -0.036405597, 0.027709235, -0.043267388, -0.05112985, 0.008624886, -0.012436992, -0.002419793, 0.012496555, -0.029305553, -0.02499311, 0.019000959, 0.020454323, -0.0017809676, -0.009053748, -0.02241994, -0.04260027, 0.0054650092, -0.0052803606, -0.021466915, -0.0014340065, -0.04159959, -0.0075527322, 0.038406953, 0.010709631, 0.06561585, 0.0041724676, 0.014521736, -0.027590107, 0.0029886304, 0.017333163, -0.009929341, 0.02162178, -0.03114013, -0.045792907, -0.019132, -0.017202122, -0.040908646, -0.016201444, 0.027161244, -0.011817524, 0.002363207, 0.042004626, 0.046460025, 0.008738059, 0.020418584, 0.008571279, -0.03535727, 0.014497911, -0.016201444, -0.037739836, -0.026136741, 0.028686088, 0.017082993, 0.003588739, 0.080292456, 0.00060606503, -0.004497092, 0.030878047, -0.027709235, -0.010882367, -0.017368902, 0.019965898, 0.014390695, 0.018012194, 0.016630307, 0.005602007, -0.009720867, -0.022527155, -0.014509823, -0.040479787, 0.0069392216, -0.02022798, -0.005229731, 0.047317747, -0.03869286, 0.00032481068, 0.0013133892, -0.011001496, -0.016797086, -0.02398052, -0.019179652, -0.013175586, -0.010387985, -0.01673752, 0.004017601, -0.027590107, -0.019965898, -0.0057122004, -0.0273995, -0.024516597, -0.026303522, 0.025136065, 0.000850278, 0.05027213, 0.014605125, -0.0021234613, -0.02174091, 0.039598238, 0.018941395, -0.01152566, -0.06289972, 0.012687161, -0.014759992, -0.020918924, -0.015200767, -0.016094228, 0.028971994, -0.028257225, 0.047222447, 0.015879799, 0.017583333, -0.03764453, 0.011859219, -0.0026446476, 0.008487889, -0.040193878, -0.03514284, 0.07181052, -0.03409451, -0.020513888, 0.012002173, 0.023646962, -0.008088809, -0.027804539, -0.019072436, 0.013675925, -0.074907854, -0.0117103085, 0.0059117405, 0.004869368, 0.035214316, 0.039979447, -0.0020638972, 0.036405597, -0.011364837, -0.074526645, -0.045912035, 0.047436874, -0.010530939, -0.017297424, 0.037858963, 0.0023885218, 0.03404686, 0.019620426, 0.04017005, 0.02065684, 0.035119012, 0.031283084, 0.011025321, 0.019394081, 0.06685478, 0.037025064, 0.0241473, 0.0017065124, 0.020466236, 0.09006097, 0.00963152, 0.010816847, -0.031330734, -0.0126395095, 0.03704889, 0.01850062, 0.0057002874, -0.006355493, 0.025016936, -0.0037942354, -0.020716406, 0.003284962, 0.0055156387, -0.020251805, -0.015915537, -0.06623532, -0.060612462, -0.028161922, -0.059325878, -0.018071758, -0.024004346, -0.02789984, 0.02031137, -0.019906333, -0.0018703138, -0.013759315, 0.015581978, -0.005199949, 0.038883466, -0.019405995, -0.016713696, 0.010965757, 0.008642755, 0.027709235, 0.02258672, 0.025255192, -0.02439747, -0.023015581, -0.019584687, 0.00516421, 0.01904861, -0.0241473, 0.01059646, 0.01403331, 0.027709235, 0.010816847, 0.030782744, -0.01051307, -0.023265751, 0.019501297, 0.0142000895, -0.008041158, 0.011287403, -0.0032045504, 0.053274162, 0.024707202, -0.07185817, 0.015867885, 0.01066198, -0.021145267, -0.009524305, 0.026374998, -0.023920957, 0.038001917, 0.015450937, 0.0141762635, -0.019715728, 0.0132947145, 0.054084234, -0.007933943, 0.009667259, 0.028161922, 0.0028799258, -0.021431176, 0.009702997, -0.0031628555, -0.035261966, -0.023611223, 0.037763663, 0.0014824023, -0.0060993675, -0.030997176, -0.0246119, -0.0675219, 0.021538392, -0.040265355, -0.010006774, -0.040598914, -0.016070403, 0.016808998, -0.0029856523, 0.013687838, -0.0052148397, -0.02014459, -0.0030615965, 0.015069726, 0.022860715, 0.018393405, -0.020978488, 0.00544714, -0.02077597, -0.015987014, -0.000024919214, -0.0124131655, -0.026684731, -0.028281052, -0.020466236, 0.034999885, -0.043720074, 0.003588739, -0.013449581, 0.010000818, -0.011519703, -0.007963724, 0.031807248, 0.030687442, -0.033093832, 0.0035053494, -0.016618393, -0.0091192685, 0.0023140665, -0.0062482776, 0.013092197, 0.020001637, 0.04433954, 0.010721544, 0.013163674, 0.018286189, -0.025946137, 0.009101399, 0.041575767, -0.00415162, -0.024159214, -0.0031003132, -0.0050212564, -0.008607018, 0.010536895, -0.017059168, -0.02203873, -0.041671067, -0.023885218, 0.028328702, 0.0014474085, 0.011102755, -0.02313471, -0.0030020324, 0.0051344284, -0.0036989327, -0.014569387, -0.049319103, -0.017750112, 0.01702343, -0.028257225, 0.015415198, 0.020490061, 0.019906333, -0.0093337, -0.0011123602, -0.005890893, 0.02069258, 0.05432249, 0.016499264, -0.0072966064, -0.0063495366, 0.009065662, -0.011037234, -0.0056645493, 0.009971036, -0.017452292, -0.020466236, -0.00411886, -0.024194952, 0.033784777, -0.031211605, -0.030878047, -0.01474808, -0.006123193, -0.011650745, -0.049462058, 0.0034398288, 0.019882508, 0.028304877, -0.027733061, 0.00044114687, -0.018941395, -0.0010773663, -0.010858541, 0.0024719115, -0.052035227, -0.0045090048, 0.028185748, -0.016868563, -0.034999885, -0.02971059, -0.05870641, -0.040813345, 0.0018792484, 0.049080845, 0.031163955, 0.024754854, 0.00823772, -0.0097983, -0.026684731, 0.0017273598, -0.0011875599, -0.01926304, 0.013080284, 0.0018286189, 0.0058998275, 0.002046028, -0.0071536526, -0.03762071, -0.008505758, -0.004089078, -0.040598914, -0.05165402, 0.008642755, 0.014378782, 0.006367406, -0.030520663, 0.0139737455, 0.032760274, -0.00141986, 0.03600056, -0.008964403, -0.013961833, 0.049080845, -0.027733061, -0.015033987, -0.04884259, -0.022622459, -0.005950457, 0.015403285, 0.004237988, 0.055132564, -0.0087916665, -0.013842705, -0.0047621527, 0.0007222151, -0.00055878604, 0.008732102, -0.004681741, -0.0045745256, 0.0025538122, -0.02119292, 0.019417908, 0.027232721, -0.0006295184, -0.0031747683, -0.0035113057, 0.00015216775, -0.011656701, 0.014843382, 0.03700124, 0.0050063655, 0.0012635041, -0.027947491, 0.035619352, -0.044053633, -0.023527833, 0.04605499, -0.0014630441, 0.020073114, 0.03628647, -0.018095585, -0.0065937494, -0.0038121045, -0.022324637, 0.02680386, -0.014617039, -0.024516597, -0.011299316, -0.056800358, 0.0019000958, 0.020918924, -0.0038627342, 0.011996216, 0.019644251, -0.043052956, -0.0008986739, -0.006272103, -0.028257225, -0.0005956413, 0.020025462, -0.012675248, -0.0031449862, -0.07790989, 0.023361053, 0.018774616, 0.007743337, 0.036643855, 0.028686088, 0.0021100594, -0.0044553974, 0.025660228, -0.031854898, 0.015450937, -0.02031137, 0.023527833, 0.006096389, -0.016189532, 0.0012478686, 0.009566, -0.01647544, 0.014783818, -0.03178342, 0.008529584, 0.010632198, 0.029805893, -0.007677817, -0.02608909, 0.017380815, 0.009542175, 0.00021759522, 0.008726146, -0.013544884, 0.00768973, -0.012186822, 0.020025462, 0.0418855, -0.013818879, -0.02280115, 0.0056407233, 0.016046578, 0.00878571, -0.038406953, 0.022860715, -0.058515806, -0.028852867, -0.00042104398, 0.016654132, -0.039717365, 0.025136065, -0.016963866, 0.019822944, -0.009649389, -0.03025858, 0.0016633284, -0.011311229, -0.01567728, 0.028805215, -0.007683773, 0.01715447, -0.011501834, -0.0328794, -0.022181684, -0.024230689, 0.011072973, 0.03507136, 0.0036244777, -0.03831165, -0.016654132, -0.022539068, 0.03764453, 0.012258299, -0.019751467, 0.008148373, 0.014521736, -0.012121301, 0.030353883, 0.018238537, -0.026208218, 0.017678635, -0.007951812, -0.046007335, -0.01685665, 0.0102629, -0.00009004422, -0.015772583, 0.00152782, -0.010739413, 0.00018623099, 0.024290254, -0.04150429, -0.018512532, 0.0050480603, -0.0021160159, 0.01710682, -0.005199949, 0.028995821, 0.024540422, -0.028900517, -0.0068200934, -0.03299853, 0.0005096456, 0.006885614, 0.031616643, 0.03197403, 0.0030615965, -0.06971386, -0.033284437, 0.03347504, 0.009506436, -0.029281728, 0.04884259, -0.013687838, 0.008279415, -0.015486674, -0.017762024, 0.008940577, -0.012246386, 0.020764057, -0.013092197, 0.023241924, 0.022682022, -0.027113594, 0.010167598, 0.023039406, 0.025660228, 0.026160568, -0.029901195, -0.04429189, 0.02014459, 0.055704378, -0.018310014, 0.013461494, -0.019727642, 0.065806456, -0.018989045, 0.014140526, 0.0041873585, 0.008505758, -0.02949616, 0.022646284, -0.03712037, -0.0005710711, 0.036310297, 0.043434165, 0.023968607, 0.011537572, -0.015879799, 0.0109598, 0.01285394, 0.0028769476, -0.010245031, 0.031807248, 0.019489385, -0.028805215, 0.011859219, 0.016403962, -0.004175446, 0.02570788, 0.016785173, -0.021335872, 0.029853543, 0.015998926, 0.028733738, 0.014902947, 0.001396779, 0.009994862, 0.023742264, -0.0073442576, -0.0004947546, -0.0007795456, -0.019465558, 0.04319591, 0.006152975, -0.0053071645, 0.017797763, 0.04993857, 0.02060919, -0.0036066084, 0.014104787, 0.017094906, 0.006540142, -0.037477754, 0.003085422, 0.013604448, -0.008892925, 0.022777325, 0.013044545, 0.011090842, 0.020418584, -0.06690244, 0.038669035, 0.02313471, 0.058086943, 0.027256548, -0.0014876142, -0.007004742, 0.025279019, 0.031616643, -0.05541847, 0.012341688, -0.006021934, -0.013032633, 0.009935297, 0.032736447, 0.029996498, -0.015581978, -0.024135387, -0.0002935395, -0.004607286, -0.01836958, -0.019537035, 0.0043452037, -0.009542175, -0.0061887135, -0.0026997444, 0.005000409, -0.02102614, -0.015165028, -0.015939362, 0.017904978, -0.042028453, -0.011656701, -0.012579945, -0.023778003, -0.03156899, -0.00021889819, -0.02511224, -0.034952234, 0.04757983, -0.031997852, -0.04615029, 0.007362127, 0.0016916214, 0.019644251, -0.01778585, -0.01786924, -0.03654855, 0.032307588, -0.00048023582, -0.054084234, 0.003934211, -0.027018292, 0.013330453, 0.0029350226, 0.051939923, 0.022396114, 0.009756605, -0.008630843, 0.019942071, 0.012889679, -0.014759992, -0.025850834, 0.024731029, 0.009429002, -0.016713696, 0.01184135, 0.01441452, -0.025898485, 0.016403962, 0.01938217, 0.033570345, -0.009625564, -0.007177478, 0.0044553974, 0.022110207, -0.022253161, -0.0078029013, -0.04824695, 0.027566282, -0.005399489, 0.011132536, -0.004839586, -0.021705171, 0.009023966, 0.003028836, -0.010370116, 0.013056458, 0.019239215, 0.0110551035, 0.023110883, 0.023027495, -0.051511064, -0.028018968, -0.022693936, -0.008559366, 0.0039103855, 0.015939362, -0.013961833, -0.008475976, 0.0003789768, 0.03442807, -0.012258299, 0.027042117, -0.008481933, 0.024111561, 0.0108287595, 0.025231367, -0.03197403, -0.030330056, 0.03885964, -0.018560184, -0.019525124, 0.042338185, 0.0014831469, 0.044792227, 0.03399921, 0.035976738, 0.011877088, -0.035667002, 0.021288222, -0.029901195, -0.011775829, 0.016630307, 0.007421691, 0.008583192, 0.022062555, 0.03885964, 0.026160568, -0.01740464, 0.0067247907, -0.004875324, 0.019989723, 0.0021219722, 0.02233655, 0.003907407, 0.011507791, 0.0050510387, -0.00435116, -0.0018986068, 0.010739413, 0.045316394, 0.002693788, 0.0041665114, 0.01081089, 0.019143913, -0.0063495366, -0.018131323, -0.011192101, 0.029662939, -0.034189813, -0.0017988369, 0.0047234357, -0.0031181823, -0.021335872, 0.025183715, -0.0020341151, -0.033903904, 0.021657519, 0.028328702, 0.0012984981, 0.0141762635, -0.0047025885, 0.052273482, -0.015772583, -0.008184112, 0.008452151, 0.029067297, 0.036596205, 0.010483287, -0.004940845, -0.041647244, -0.013532971, -0.023944782, 0.008291327, -0.008922707, 0.020442411, -0.01474808, 0.019918246, 0.009071617, 0.024468945, 0.0150459, 0.0051076245, 0.008708277, -0.036643855, 0.01879844, 0.020013548, -0.022550981, -0.011460139, -0.028304877, 0.018869918, -0.027161244, -0.0011905382, -0.006081498, 0.006629488, -0.020132678, -0.016892388, 0.013425755, 0.0071536526, 0.0010989583, 0.010983626, 0.0027339938, 0.008958446, -0.00021536158, 0.014295392, -0.016427789, 0.028424004, 0.008190068, -0.0019864638, 0.02305132, 0.019012872, 0.008285371, -0.013938007, 0.014617039, -0.008803579, 0.038025744, -0.029091123, -0.0029796958, -0.01715447, 0.014354956, 0.00013094803, 0.006057672, -0.0042201187, -0.030997176, -0.0041397074, -0.02456425, 0.0074455165, -0.022074468, -0.028209575, -0.025469624, 0.012877766, -0.03885964, 0.019548949, 0.023087058, 0.007796945, -0.006373362, -0.025850834, 0.009994862, 0.019799119, -0.0040384484, 0.020537714, -0.017595245, 0.025064588, -0.0020832557, 0.019727642, -0.012055781, -0.014867208, 0.018726964, -0.016272921, -0.016951952, 0.0074276477, 0.0055096825, 0.025136065, -0.01576067, 0.023384878, 0.014378782, -0.023468269, -0.028352527, -0.017249772, 0.0021100594, -0.037954267, 0.031497516, 0.0037048892, -0.054084234, 0.009619608, 0.03619117, 0.012794376, 0.029138774, 0.013509146, -0.011668614, -0.05398893, 0.03514284, 0.0054501183, -0.024492772, -0.003660216, 0.010727501, -0.012996894, 0.0062363646, 0.039383806, 0.0007471576, 0.028805215, 0.025779357, -0.0077195116, 0.021943428, 0.013211325, -0.0016469483, 0.052082878, 0.021586042, -0.00043407362, -0.0059266314, 0.0086665815, -0.0027325046, 0.031163955, 0.01800028, 0.009524305, 0.0070881317, 0.02444512, 0.022646284, 0.01285394, -0.0025016936, 0.019525124, -0.00039647377, 0.014926772, -0.012198735, -0.02220551, -0.004092056, 0.029305553, -0.0006053205, 0.01144227, -0.006480578, -0.0172736, 0.019239215, -0.036643855, -0.02866226, 0.008190068, -0.0141762635, -0.001375187, -0.012675248, 0.016713696, -0.0067605292, 0.022443766, 0.015319895, -0.0066652265, 0.0070821755, 0.010763239, -0.018357666, -0.0150816385, 0.0037376494, 0.030377708, 0.0063435803, -0.0150459, -0.011233795, -0.016618393, -0.04302913, 0.013497232, -0.015367546, -0.010870455, -0.019918246, -0.020085026, -0.024230689, 0.0076599475, -0.007898204, -0.0003127117, 0.006569924, -0.017130645, -0.003502371, 0.010822803, 0.025040762, 0.0057241134, 0.021681344, -0.00041359846, 0.014902947, 0.0005785166, 0.027328024, -0.037692185, 0.026374998, -0.0011108711, 0.0061589316, -0.005390554, 0.012734812, -0.016618393, 0.03519049, 0.0111563625, -0.010530939, 0.008201981, -0.0039729276, 0.0004020579, 0.0008018821, -0.01019738, 0.010102077, 0.019179652, 0.007862465, 0.019834857, 0.019036697, -0.019489385, 0.003168812, 0.045626126, -0.031711943, -0.014366869, -0.00423501, -0.013532971, -0.019501297, 0.011483965, 0.023873305, 0.005393532, -0.0075050807, -0.011454183, -0.008845274, 0.012484643, 0.016237183, 0.006313798, 0.010751327, 0.008446194, -0.06494873, 0.015427111, 0.01496251, -0.025803182, 0.011859219, -0.0062006265, 0.026279695, -0.023527833, 0.016570741, 0.03762071, -0.0014354957, -0.003990797, 0.042290535, -0.036262646, 0.009738736, 0.011877088, 0.012162996, 0.003788279, 0.021717083, -0.029734416, -0.0022842844, 0.060374208, -0.044315714, -0.018989045, 0.024516597, -0.0011644788, 0.010989583, -0.016654132, 0.022014905, 0.009077574, -0.0056168977, 0.002622311, 0.0032909184, 0.012996894, 0.002650604, -0.0006749361, -0.047317747, 0.04648385, -0.006090433, 0.010370116, 0.013151761, -0.032379065, 0.024171125, 0.0077850325, 0.019572774, 0.008243676, 0.029186426, 0.0146527765, -0.009172876, 0.009929341, 0.03114013, -0.01521268, 0.016820911, -0.0020400716, -0.025564926, 0.034189813, -0.021824298, -0.008416412, -0.012865853, 0.018047933, 0.022265073, 0.00007468784, 0.032355238, -0.016523091, -0.041909326, -0.035500225, 0.023277663, 0.023218099, -0.012532294, 0.023087058, -0.025993789, 0.00056883745, -0.004291596, 0.011090842, 0.023861391, 0.013151761, 0.00064180355, 0.0023795872, 0.021300135, 0.021645606, -0.019918246, -0.018679311, 0.0037555187, 0.00642697, -0.0023021537, 0.00019916757, -0.008279415, 0.018858004, 0.0015650477, 0.065091684, -0.0015367547, -0.0159751, 0.0141762635, -0.015498588, 0.03256967, -0.010054425, -0.01630866, -0.024349818, -0.002434684, -0.030210929, 0.019179652, 0.0059445007, 0.015867885, -0.0023855437, 0.0004698121, 0.048771113, 0.028281052, 0.043338865, 0.022360375, -0.017845415, -0.0053071645, 0.0012218093, -0.017130645, -0.017392727, 0.0013372148, 0.017440379, -0.014092874, 0.0030913786, 0.03245054, 0.0009292005, 0.012996894, 0.007993507, -0.01512929, 0.031235432, 0.044792227, -0.024087736, 0.00078029017, -0.026017614, 0.011478009, 0.0130683705, -0.035428748, 0.03683446, -0.023492094, -0.002853122, 0.0043898765, -0.033617996, -0.033737127, -0.02401626, -0.023563571, -0.05179697, -0.0005465009, 0.014914859, 0.02882904, 0.015987014, 0.0031330734, -0.035476398, 0.0033832428, 0.02137161, -0.027161244, -0.016963866, 0.031926375, -0.03509519, 0.02499311, -0.01135888, 0.048604332, 0.021455001, -0.025207542, 0.027709235, 0.0029484245 ]
2401.09350
325
lla — ula = lla — al L = Na - Deicwyll i=1 (Sia ~ Hic) IB ae i=l L = Dillsia = Hie(u)lldObserve that, we have already computed the summands and recorded them in the distance tables. As a result, approximating the distance between u and q amounts to L table look-ups. The overall amount of computation needed to approximate distances between q and m vectors in X is then O(LCd◦ + mL). We must remark on the newly-introduced parameter d◦. Even though in the context of vector quantization, the impact of C on the quantization error is not theoretically known, there is nonetheless a clear interpretation: A larger C leads to better quantization. In PQ, the impact of d◦ or, equivalently, L on the quantization error is not as clear. As noted earlier, we can say something about d◦ at the extremes, but what we should expect from a value somewhere between 1 and d is largely an empirical question [Sun et al., 2023]. # 9.2.2 Optimized Product Quantization
2401.09350#325
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 325, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "lla — ula = lla — al L = Na - Deicwyll i=1 (Sia ~ Hic) IB ae i=l L = Dillsia = Hie(u)lldObserve that, we have already computed the summands and recorded them in the distance tables. As a result, approximating the distance between u and q amounts to L table look-ups. The overall amount of computation needed to approximate distances between q and m vectors in X is then O(LCd◦ + mL).\nWe must remark on the newly-introduced parameter d◦. Even though in the context of vector quantization, the impact of C on the quantization error is not theoretically known, there is nonetheless a clear interpretation: A larger C leads to better quantization. In PQ, the impact of d◦ or, equivalently, L on the quantization error is not as clear. As noted earlier, we can say something about d◦ at the extremes, but what we should expect from a value somewhere between 1 and d is largely an empirical question [Sun et al., 2023].\n# 9.2.2 Optimized Product Quantization", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.018383337, 0.00020904781, -0.009699647, 0.02401229, 0.008566991, 0.00015906511, 0.015815984, 0.034926966, -0.039539963, 0.033663884, 0.017902816, -0.0023082139, -0.05947469, 0.023215998, 0.02674439, 0.018781481, 0.016982963, -0.03520155, 0.008079607, 0.023861269, 0.0027389661, -0.010598906, 0.02512435, -0.002083399, 0.035558507, -0.027197452, 0.03193401, 0.039155547, 0.056289528, -0.036739215, 0.014141028, -0.027815266, -0.029600054, -0.037892465, -0.016777026, 0.04154442, -0.026222683, 0.07320385, -0.043082085, 0.008875898, -0.048354078, 0.00023554079, -0.054889154, -0.07556526, 0.013674237, 0.005285724, -0.026359975, 0.009919314, -0.011484437, -0.006596858, -0.010324324, 0.08039792, -0.04623979, 0.013770341, 0.01636515, 0.0035060826, 0.01816367, 0.02708762, 0.05821161, -0.058650944, 0.006023666, -0.030039387, 0.0011910041, -0.004702235, 0.008766064, 0.02902343, -0.02287277, 0.024767393, -0.0017693447, 0.0063154106, -0.03196147, 0.034405258, 0.03956742, -0.053900655, 0.026195224, -0.030561095, -0.033306926, 0.051044993, 0.016323963, 0.030039387, -0.013282956, -0.028007474, 0.029215638, -0.0347073, -0.00002493772, -0.038688753, -0.017641962, 0.026771849, -0.05071549, -0.028419347, -0.029105805, -0.0056014946, -0.014401882, -0.008203169, 0.0052411044, 0.007070514, 0.064691775, 0.03728838, -0.030121762, -0.062000856, -0.013440841, -0.0016329112, 0.03586055, -0.05645428, 0.06633927, -0.028117307, -0.041928835, 0.032071304, -0.036135133, -0.0011412359, 0.03844163, 0.0343778, -0.017587045, 0.05464203, 0.014360694, -0.0076196804, -0.044647206, -0.00037411944, -0.01118926, 0.017641962, -0.045855373, 0.0064080823, 0.04283496, -0.022131395, 0.019715065, -0.036135133, -0.008093336, -0.07699309, -0.011937499, 0.008017826, 0.025989287, -0.0011558231, 0.009651595, -0.029105805, -0.019413022, 0.010104657, 0.025481308, 0.036080215, -0.021362564, 0.014909861, 0.03308726, 0.0013240052, 0.024753664, -0.0025313126, -0.028693931, 0.03457001, -0.021664605, 0.043713626, 0.017147712, 0.016021922, -0.031906553, -0.05304945, -0.02563233, -0.05304945, 0.0104616145, -0.03473476, -0.023174811, 0.014154757, 0.017696878, 0.002476396, -0.018877586, 0.009033783, 0.024643831, -0.036547005, 0.037755173, -0.02171952, -0.036601923, -0.009157346, -0.057827193, -0.03127501, -0.04154442, -0.013372195, -0.00013385924, -0.07342351, 0.028995972, -0.044235334, -0.004712532, -0.060957443, 0.0017170022, -0.011326551, 0.011340281, 0.0016191821, 0.015211902, -0.025028247, 0.022117667, 0.008237492, -0.016873129, 0.0069057643, 0.027334744, -0.017257545, 0.0012939727, 0.029407846, 0.04283496, -0.0070258942, -0.0022086776, -0.005055761, 0.026305057, -0.006425244, 0.032675385, -0.061396774, 0.048793413, 0.016269047, 0.057937026, -0.0033035774, -0.015294277, -0.033334386, -0.014223403, 0.0012296173, -0.044866875, 0.0055397134, -0.04816187, -0.0035558508, -0.015088339, -0.006126635, 0.011216719, 0.036025297, -0.04363125, 0.035503592, -0.037370756, 0.04382346, -0.009521168, 0.029709889, 0.03728838, 0.0162004, -0.07199568, 0.019152168, 0.024094664, -0.0175184, 0.0043143863, -0.03813959, 0.047777455, 0.0068508475, -0.022351062, -0.043796, 0.021623416, 0.0058657806, -0.01036551, -0.02399856, -0.041407127, -0.01444307, -0.046569288, -0.024451623, 0.02545385, 0.0074961176, -0.0008713722, 0.0104616145, -0.024067206, -0.0029363227, 0.022955144, -0.021472396, -0.042725127, 0.017312463, 0.01849317, -0.02675812, -0.05777228, 0.031220095, -0.013282956, -0.0006242474, 0.0084297005, 0.011676645, -0.019715065, -0.026359975, -0.0038887828, 0.03286759, 0.027458306, 0.012225811, -0.013763476, 0.011196124, -0.040089127, 0.0057765413, 0.00015563282, -0.0171889, -0.018012648, 0.031577054, -0.047777455, -0.018740295, -0.008676825, 0.026799308, 0.0015033423, 0.03391101, -0.017765524, 0.016639734, 0.024643831, 0.019097252, 0.0048498237, -0.02333956, 0.007750107, 0.030588554, -0.055383407, -0.024575185, 0.024753664, -0.015074611, 0.03467984, -0.031906553, -0.04684387, 0.017614504, -0.024657559, -0.07770701, -0.038386714, 0.021513583, 0.043576334, 0.073313676, 0.024547726, -0.009905584, -0.074631676, 0.05348878, 0.048903245, 0.005738786, -0.018410794, 0.024410434, 0.03956742, 0.08017825, 0.011978687, 0.033993382, -0.07161126, -0.014772569, -0.002891703, 0.0005573178, 0.0042560375, -0.028584097, 0.020497626, -0.019852355, -0.004571808, -0.046129957, 0.015678693, -0.0019478237, -0.057497695, -0.015239361, -0.022268686, -0.059749275, -0.007200941, 0.026085392, 0.005011141, 0.025906913, -0.01882267, -0.0009001176, -0.018905044, 0.04335667, -0.041214917, 0.003641658, -0.028941056, -0.0014338385, 0.03627242, 0.005093516, 0.009898719, 0.011134343, 0.0343778, 0.0010459899, 0.10604398, 0.016474985, -0.061232023, -0.025357746, 0.04494925, -0.046624206, 0.07018343, 0.013626184, 0.02369652, -0.07655376, -0.05821161, 0.008621909, 0.006092312, -0.01799892, 0.033691343, -0.003403114, -0.007317639, 0.009768292, 0.04330175, 0.0032074735, -0.01622786, -0.01978371, -0.027032703, -0.00017022005, 0.003166286, -0.0106263645, 0.0010288284, -0.03457001, -0.0021606255, 0.04901308, 0.03514663, 0.043137, 0.03599784, 0.0052788593, -0.0070636496, -0.0056495466, 0.02398483, 0.028995972, 0.0041942564, -0.0044825687, -0.040034212, -0.04343904, -0.00067444466, -0.023243457, -0.010427292, 0.0059138327, -0.02108798, 0.006799363, 0.06946952, 0.04832662, 0.035503592, 0.0029963877, 0.025440121, -0.050221242, 0.000011416381, -0.0025793647, -0.014182216, 0.005000844, 0.020978147, 0.0056152237, 0.016406339, 0.034432717, 0.026318787, 0.0074000135, 0.04621233, 0.0013634765, -0.007132295, -0.02399856, 0.0024575184, 0.0428075, 0.05252774, 0.037810087, 0.012191488, -0.004070694, -0.011251042, -0.017806713, -0.022776665, 0.000356958, -0.0353663, 0.030616011, 0.024671288, -0.049397495, -0.018218586, 0.02368279, 0.01813621, -0.0026874817, -0.018561816, -0.031439763, -0.02657964, -0.0073519615, -0.0013857865, -0.013028966, -0.020676104, 0.011985551, 0.021815624, -0.015967006, -0.007853076, 0.004046668, 0.016282776, -0.012054197, 0.058486193, 0.007310774, -0.026208954, -0.042697668, 0.014964777, 0.0059344266, -0.010241948, -0.046322163, 0.05060566, -0.026373703, -0.01183453, -0.041324753, -0.0023545497, 0.031659428, -0.0030272782, 0.018273503, -0.0138527155, 0.054092865, 0.0012133139, -0.010283136, -0.0019203654, 0.0076265447, -0.04917783, -0.059255026, 0.06397785, -0.027142536, -0.0097957505, 0.00025398933, 0.020799667, -0.042368166, 0.024369247, -0.016516171, 0.022049021, -0.08402242, -0.033224553, 0.0026445782, 0.03421305, 0.043521415, 0.0509077, 0.012795571, 0.049864285, -0.022076478, -0.0717211, -0.043576334, 0.05173145, -0.015967006, 0.011038239, 0.039375212, 0.0064938897, 0.012466071, 0.027362203, 0.017628234, 0.016255317, -0.013550675, 0.014841215, -0.010852896, 0.035613425, 0.04459229, 0.0065694, -0.011086292, -0.009802615, 0.020525085, 0.051539242, -0.013433977, -0.015774798, -0.014813757, -0.03245572, 0.028021201, 0.014511715, 0.022804124, -0.017079066, 0.029654972, -0.001749609, -0.04785983, -0.0017290153, 0.014010601, 0.012019874, -0.008903356, -0.04376854, -0.08380275, -0.0019958757, -0.04376854, 0.032126218, -0.01931692, -0.033197094, 0.046157412, -0.019852355, -0.010434156, 0.0069950037, -0.0064218114, 0.015280548, 0.009617272, -0.01118926, -0.017065337, 0.028474264, -0.0076814615, 0.015788527, -0.0018225451, 0.041846458, 0.011175531, -0.012932862, -0.013234904, 0.023119895, 0.04618487, -0.020607458, 0.0010271122, -0.012946592, 0.021444937, 0.008965137, 0.020607458, -0.01604938, -0.029764805, 0.013715425, -0.013070154, 0.0040741265, 0.004489433, -0.009191669, 0.017285004, 0.027279828, -0.037700254, -0.009843803, 0.013825257, -0.0515667, -0.016557358, 0.025275372, -0.0028642446, 0.0061918483, 0.0012836759, 0.049205285, -0.0049287663, 0.004163366, 0.034981884, -0.0127543835, -0.014223403, 0.01816367, -0.027623057, -0.039457586, 0.015280548, 0.014127299, -0.021678334, -0.035778172, 0.029600054, 0.024218226, -0.0036862777, -0.018053837, -0.0003927825, -0.030204138, -0.0058383225, -0.03080822, -0.021293918, -0.0033962494, -0.024698747, 0.019014878, -0.010949, -0.001987295, -0.010427292, -0.031577054, -0.017271275, 0.015445298, 0.023106165, 0.01799892, -0.006799363, -0.016008193, 0.007928586, -0.00074437755, -0.0071254307, -0.000036977544, -0.014209674, 0.008278679, -0.024259415, 0.03097297, -0.027526952, -0.0041496367, -0.02741712, 0.014731382, 0.0068371184, -0.0018534358, 0.049315117, -0.0070773787, -0.039594878, -0.020991875, -0.018603003, -0.042587835, 0.009850668, -0.01256904, -0.0027664243, 0.024561455, 0.033197094, -0.003070182, 0.004788042, -0.030231595, -0.039677255, 0.026469808, 0.034762215, 0.030478721, -0.01637888, 0.00866996, -0.009555491, 0.01930319, -0.011697238, -0.0252891, -0.016131755, -0.024273144, 0.00721467, 0.010729333, 0.02301006, 0.0004187392, -0.023572957, -0.00620901, -0.00037519203, 0.0008117362, -0.032702845, -0.03564088, -0.032840136, -0.0048395265, -0.037865005, 0.024465352, 0.0340483, 0.03193401, -0.021019334, -0.013578133, 0.0026583073, -0.0014098125, 0.041599333, 0.030039387, -0.0075098467, -0.020648647, -0.024355518, -0.027115079, 0.0026377137, -0.038194504, -0.014690194, -0.036849048, -0.011532489, -0.018081294, 0.005546578, -0.03791992, -0.014909861, 0.024122123, 0.025083164, -0.011546218, -0.027815266, 0.009946772, -0.018122483, 0.047475412, -0.0151157975, 0.018754024, -0.022021562, 0.00925345, -0.02447908, 0.023710247, -0.045690622, 0.00011648329, 0.0118208015, -0.03001193, -0.01004974, -0.038853504, -0.050852783, -0.041819002, -0.00737942, 0.04843645, 0.033993382, 0.057003446, -0.011120615, -0.0075304406, -0.0058863745, 0.008093336, -0.0018156805, -0.034295425, 0.021170355, -0.011134343, -0.004441381, -0.016474985, 0.0044825687, -0.058321442, -0.004211418, 0.0030084008, -0.009377012, -0.024657559, 0.0017075634, -0.002797315, -0.0024884092, -0.010255678, 0.040665753, 0.031988926, -0.0014209674, -0.000084037434, 0.0031508408, -0.024451623, 0.04376854, -0.027842723, -0.021376291, -0.04217596, -0.011573676, -0.0050385995, 0.033471677, 0.021046793, 0.037865005, -0.0052616983, -0.0022773233, -0.0162004, 0.010962729, -0.019907273, 0.012740654, -0.02480858, -0.021801896, 0.009747699, -0.013255497, 0.009356418, -0.0046988027, -0.008292409, 0.008882762, -0.0020199018, 0.025714705, -0.010015418, 0.036766674, 0.016474985, -0.022639373, -0.003641658, -0.014346966, 0.03797484, -0.039155547, -0.0045203236, 0.021746978, 0.014703923, 0.03360897, 0.05044091, -0.045306206, -0.010667552, -0.009685918, -0.023820082, 0.0148824025, -0.034762215, -0.024080936, 0.010804844, -0.03097297, -0.0034563143, 0.0007726939, -0.0082649505, -0.019907273, 0.029654972, -0.04036371, 0.010111522, 0.003833866, -0.022186313, 0.01223954, 0.030698387, -0.02107425, 0.0148824025, -0.063428685, -0.005701031, 0.015060881, -0.0001332157, 0.03863384, 0.02740339, 0.0015539685, 0.006394353, 0.0051106773, -0.012273863, 0.036135133, -0.0029809424, 0.012280728, 0.016310234, -0.0056975987, -0.044784497, -0.007297045, -0.005285724, 0.038331795, -0.012541582, 0.0024558024, 0.023119895, 0.0049768183, 0.0005976472, 0.0047331257, -0.029050888, -0.00009476334, -0.01849317, 0.041764084, -0.010887219, 0.01849317, -0.0016672341, -0.016900588, 0.05705836, -0.004963089, -0.0414895, 0.014978507, 0.015211902, -0.00038291467, -0.012720061, 0.0066963946, -0.059584524, -0.013008373, 0.0024558024, -0.010454751, -0.041214917, 0.00892395, -0.023765165, -0.011395197, -0.027650515, -0.015198173, 0.025426392, -0.0059481557, -0.022049021, 0.0022447165, -0.013523216, 0.0063154106, -0.0019392429, 0.00142869, -0.017175172, -0.022186313, 0.019550314, -0.012445478, -0.028446807, -0.033965927, -0.037700254, -0.00713916, 0.046129957, -0.0029363227, -0.028584097, 0.0069709774, 0.038029756, -0.030533638, 0.02563233, 0.008525805, -0.008855304, 0.027650515, 0.0055534425, -0.015129527, 0.009534897, -0.023078706, 0.016735839, -0.012081655, 0.022625646, 0.016447525, -0.0019014877, 0.0027870182, -0.0020542245, -0.02254327, 0.02188427, -0.020291688, 0.024685018, -0.0047914744, 0.028282056, 0.019481668, 0.006596858, -0.014731382, -0.019069795, -0.00087652064, 0.014649007, 0.038359255, 0.018232316, 0.0067924988, -0.064307354, 0.016090568, 0.037535507, 0.02059373, -0.04505908, 0.07704801, 0.0053989897, 0.015472756, -0.022982603, -0.016873129, 0.043164458, 0.00947998, 0.026716933, -0.007846211, 0.02480858, 0.051127367, -0.00892395, 0.0045649437, 0.0061472286, 0.012493529, 0.024410434, -0.029545138, -0.016873129, 0.014978507, 0.050001577, -0.013241769, 0.0010914677, -0.00005850979, 0.051154826, -0.012301321, 0.020030836, 0.020868313, 0.015459027, -0.009871261, 0.0069263577, -0.029050888, 0.008059013, 0.007901127, 0.05854111, 0.021046793, -0.0122875925, -0.018273503, 0.015939547, 0.003631361, -0.009933042, 0.010564583, 0.015376652, 0.0044104904, -0.026126578, 0.023312103, 0.01622786, 0.013612456, -0.026730662, 0.0027303854, -0.02625014, 0.023861269, 0.023504311, 0.010475344, 0.008347325, -0.025577413, 0.008052149, 0.032620467, -0.004177095, -0.028474264, 0.011161801, -0.025920643, 0.030094305, 0.028446807, 0.0037961109, -0.012884811, 0.037041254, 0.036601923, 0.014717652, 0.022186313, 0.024094664, -0.012040468, -0.004201121, 0.0065796967, 0.010585178, -0.039320294, 0.024918413, 0.027279828, 0.020854585, 0.042999707, -0.05527357, 0.035723258, 0.0047777453, 0.017792983, 0.029957013, 0.013797799, -0.019440481, 0.040281337, 0.014319507, -0.044564832, 0.0317418, 0.0031697182, -0.0034237076, -0.00015799253, 0.031549595, 0.02738966, 0.0037034391, -0.01621413, -0.017875358, 0.011642322, -0.009370147, -0.005584333, 0.019467939, 0.00004134835, -0.0005804858, 0.0063840565, 0.00027286692, -0.020991875, -0.044345167, 0.014937319, 0.052747406, -0.008807252, -0.04538858, 0.0005937859, 0.00080530066, -0.025906913, 0.01054399, -0.02771916, 0.0032177703, 0.031467218, -0.0106195, -0.049315117, -0.0004655041, 0.02026423, 0.008615044, -0.0080315545, -0.044509914, -0.030423803, 0.010852896, 0.0017118538, -0.027801536, -0.016626004, -0.016310234, 0.014456798, -0.007187212, 0.0010888935, 0.005271995, 0.003713736, 0.00088982075, -0.010969593, 0.020085752, -0.0171889, -0.019248273, 0.00011744862, 0.009713376, -0.0075510344, 0.012452343, 0.011573676, -0.013646779, 0.002085115, 0.018081294, 0.02398483, -0.027348474, -0.0023837243, 0.010015418, 0.026977787, -0.011827665, -0.013111342, -0.040583376, 0.0014252578, 0.026057933, 0.011251042, -0.0060168016, -0.028391888, 0.015980735, 0.030780762, 0.01151876, 0.030066846, 0.031714343, 0.021335104, -0.0119237695, 0.003392817, -0.030561095, -0.014937319, -0.0125553105, -0.035915464, -0.0050797868, 0.009500574, -0.02659337, 0.003868189, 0.007283316, 0.053900655, -0.028089847, 0.015486485, 0.027224911, 0.017243817, 0.018726565, 0.030149221, -0.029215638, -0.02366906, 0.011580541, 0.014072382, -0.016859401, 0.026085392, -0.00066457683, 0.024259415, -0.021815624, 0.04843645, -0.0000607086, -0.035283923, 0.020030836, -0.046322163, 0.001715286, 0.024177039, -0.0019443914, 0.02140375, 0.00066929625, 0.024437893, 0.027526952, 0.0016989828, 0.021898, -0.017490942, 0.024533996, 0.00940447, 0.0027818696, 0.013880174, -0.011395197, -0.004612996, -0.013358466, -0.023312103, -0.020236772, 0.04212104, 0.013990007, 0.00041573594, 0.017463483, 0.0019941595, -0.0010880354, -0.024410434, 0.003475192, -0.011175531, -0.018754024, -0.011731561, 0.0009498858, 0.014292048, 0.0028127604, 0.017545858, 0.0022584458, -0.04475704, 0.024122123, 0.030918054, -0.015445298, 0.00940447, -0.011717833, 0.060737774, -0.0053612343, -0.015417839, 0.00834046, 0.042944793, 0.01768315, -0.0036107674, 0.0024918413, -0.05008395, -0.016584817, -0.023325833, 0.026318787, -0.0077432427, 0.033801176, -0.029490221, 0.0075990865, 0.01670838, 0.020387793, 0.008566991, 0.011539353, 0.0142508615, -0.03113772, 0.0011601135, -0.004798339, 0.002095412, -0.027993744, -0.03533884, 0.011367739, -0.032483175, -0.0014235416, -0.024190769, 0.004163366, -0.018850127, -0.036080215, 0.0075922217, -0.0106263645, 0.0118894465, -0.007200941, 0.000017496626, -0.03179672, 0.013770341, 0.014086111, -0.013749748, 0.021623416, 0.014649007, -0.010324324, 0.0035180955, 0.022282416, 0.009123023, -0.007269587, 0.03761788, -0.036711756, 0.029133264, -0.02852918, -0.006428676, -0.028995972, 0.025481308, 0.0052411044, 0.0062776553, 0.013331008, -0.036107674, 0.017751796, -0.03196147, 0.009349554, -0.02333956, -0.025495037, -0.0042217146, 0.0033533457, -0.020209314, 0.013825257, 0.008985731, 0.01864419, -0.015102069, -0.047255747, -0.019577773, 0.011978687, -0.032840136, -0.0041942564, -0.020236772, 0.05285724, 0.0024918413, 0.003034143, -0.021925459, -0.016584817, -0.013337873, -0.016461255, 0.027691703, 0.0037446267, 0.006984707, -0.00859445, -0.011731561, 0.012699467, 0.018520627, -0.005405854, -0.011333416, -0.016104298, 0.011614864, -0.013276092, 0.039649796, 0.004626725, -0.055163737, 0.0148824025, 0.033746257, 0.016598547, 0.026716933, 0.01444307, -0.0013463151, -0.036849048, 0.03113772, -0.0006203861, -0.025192996, 0.008052149, 0.0031148016, -0.014813757, -0.009459387, 0.014800027, -0.02188427, 0.013392789, 0.010811708, -0.013921361, 0.010344917, 0.008244357, -0.0015642655, 0.04785983, -0.0029500518, -0.0042217146, -0.026401162, -0.008450294, -0.008649367, 0.021252729, 0.0327303, -0.0048635527, 0.0029912393, 0.024904685, -0.015857171, 0.013935091, 0.02009948, -0.01654363, -0.0011180679, 0.022982603, -0.008965137, 0.0046850736, -0.009116158, 0.023202268, 0.0050385995, 0.019536585, -0.000048454258, -0.0064835926, 0.009006324, -0.022254957, -0.00490474, 0.019975917, -0.0040329387, -0.022049021, 0.017696878, 0.0016123174, -0.010887219, 0.005855484, 0.019879814, -0.009116158, 0.022158854, -0.0038613244, -0.017765524, 0.009349554, 0.02513808, -0.0035215279, -0.0013677669, -0.014745111, -0.013509487, -0.019207086, -0.014923589, 0.0121228425, 0.019028606, -0.0021760708, -0.055355947, -0.0090612415, -0.010646959, -0.00965846, 0.022680562, 0.0017084215, 0.007928586, -0.014456798, 0.0040535326, 0.019234544, 0.00085120753, 0.0033962494, 0.017655691, 0.0013471731, 0.011408927, -0.004153069, 0.031906553, -0.0028024635, 0.0061369315, 0.0018723133, 0.031027887, 0.0036279287, 0.011786479, -0.027375933, 0.04796966, 0.0259481, 0.012651415, -0.020346606, -0.010502802, 0.0036039029, 0.027169995, -0.005251401, 0.014031195, 0.027321015, 0.04717337, 0.008580721, 0.031220095, -0.033856094, 0.021458667, 0.044674665, -0.024245685, -0.010811708, -0.00021430351, 0.013605591, -0.009219127, -0.013331008, 0.006675801, -0.0014887551, 0.01354381, -0.0064904573, -0.011244177, 0.0030324268, 0.018053837, 0.021829354, 0.0047914744, -0.008992596, -0.03193401, 0.018699108, -0.022323603, -0.0072558573, 0.00949371, 0.02074475, -0.0119237695, -0.01864419, -0.00072549994, 0.022900227, -0.0024231956, -0.0060065044, 0.037178546, -0.030121762, 0.0043658707, 0.01385958, 0.019014878, 0.0016509307, 0.01442934, -0.027842723, -0.03748059, 0.03874367, -0.011759019, -0.0118208015, 0.011642322, -0.010571448, 0.018026378, -0.020319147, 0.023298373, 0.025247913, -0.011251042, 0.015211902, 0.012740654, 0.011319687, 0.0010949, 0.005882942, -0.051539242, 0.030725846, -0.014854944, 0.02515181, 0.0036279287, -0.0133859245, 0.012527852, -0.020895772, -0.001786506, 0.015486485, 0.023710247, -0.004939063, -0.005556875, 0.0075853574, 0.036684297, -0.007605951, 0.026510995, -0.0049802503, -0.022351062, 0.032675385, -0.035531048, -0.0008366203, -0.013090747, 0.012589633, -0.021664605, -0.009445658, 0.033279467, -0.007091108, -0.018520627, -0.010255678, 0.020552542, 0.0035867414, 0.0016861117, 0.008532668, -0.027266098, 0.0073725553, -0.055685446, 0.041379668, 0.008333596, 0.01813621, -0.0055191196, 0.0007611099, 0.029709889, 0.006154093, -0.012466071, 0.016461255, 0.01199928, 0.00012109542, -0.024039747, -0.0015548266, -0.010001688, 0.0047296933, 0.010235084, 0.051649075, 0.0022841878, -0.019687606, 0.0009335824, -0.008752335, 0.013255497, -0.007921722, -0.0001363262, -0.015431568, 0.0020799667, -0.025728434, 0.010763656, 0.015733609, 0.008807252, -0.026497265, 0.0014003736, 0.05074295, 0.040940337, 0.019975917, 0.028748848, -0.009919314, -0.012871081, -0.0016294789, -0.013900768, -0.019728793, -0.0014132448, 0.017477212, -0.017600775, 0.012891675, 0.0067307176, 0.0017882222, -0.002109141, 0.019014878, -0.02155477, 0.014676465, 0.04283496, -0.021952916, 0.0026377137, -0.034789674, -0.00245237, -0.01703788, -0.033279467, 0.021609688, -0.00013965124, 0.011058833, 0.008161982, -0.0009370147, -0.031467218, -0.005577469, 0.0028590963, -0.034981884, -0.012692602, 0.055822738, 0.029270556, 0.0063840565, 0.03566834, -0.024890956, 0.00063583144, 0.011367739, 0.00052127877, -0.00835419, 0.025563683, -0.03402084, 0.0031456922, -0.00965846, 0.049342576, 0.019989647, -0.028693931, 0.023710247, 0.036876507 ]
2401.09350
326
# 9.2.2 Optimized Product Quantization In PQ, we allocate an equal number of bits (log2 C) to each of the n orthog- onal subspaces. This makes sense if our vectors have similar energy in every subspace. But when the dimensions in one subspace are highly correlated, and in another uncorrolated, our equal-bits-per-subspace allocation policy proves wasteful in the former and perhaps inadequate in the latter. How can we ensure a more balanced energy across subspaces? J´egou et al. [2011] argue that applying a random rotation R ∈ Rd×d (RRT = I) to the data points prior to quantization is one way to reduce the correlation between dimensions. The matrix R together with Si’s, as 9.2 Product Quantization defined above, determines how we decompose the vector space into its sub- spaces. By applying a rotation first, we no longer chunk up an input vector into sub-vectors that comprise of consecutive dimensions.
2401.09350#326
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 326, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "# 9.2.2 Optimized Product Quantization\nIn PQ, we allocate an equal number of bits (log2 C) to each of the n orthog- onal subspaces. This makes sense if our vectors have similar energy in every subspace. But when the dimensions in one subspace are highly correlated, and in another uncorrolated, our equal-bits-per-subspace allocation policy proves wasteful in the former and perhaps inadequate in the latter. How can we ensure a more balanced energy across subspaces?\nJ´egou et al. [2011] argue that applying a random rotation R ∈ Rd×d (RRT = I) to the data points prior to quantization is one way to reduce the correlation between dimensions. The matrix R together with Si’s, as\n9.2 Product Quantization\ndefined above, determines how we decompose the vector space into its sub- spaces. By applying a rotation first, we no longer chunk up an input vector into sub-vectors that comprise of consecutive dimensions.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.008527846, -0.0015671566, 0.0048389398, 0.020059604, 0.016930005, -0.020323547, 0.037127864, 0.058368925, -0.05987717, 0.026193118, 0.03509174, -0.0008177494, -0.018978698, 0.049847364, 0.022962969, 0.003333841, 0.021178218, -0.026570179, -0.023918187, 0.022422517, -0.03594641, -0.03670053, -0.022372242, 0.0057281735, 0.012304733, 0.0060172533, 0.030667566, 0.019783095, 0.051179644, -0.008684955, -0.012512116, -0.02504937, -0.0060078264, -0.04816316, 0.0056150556, -0.018702189, -0.033910286, 0.044819895, -0.0074029495, 0.009464212, -0.022158574, 0.003074612, -0.03139655, -0.015497176, 0.033181302, 0.02161812, 0.013486188, -0.057966728, -0.022020318, -0.0028389494, 0.0023503422, 0.06666425, 0.0020549784, -0.03604696, 0.030994352, 0.003428106, 0.011588318, 0.02455919, 0.05143102, -0.020763451, 0.040345445, -0.04713253, 0.057313155, 0.014164897, 0.0148436045, 0.0048892144, -0.04924407, 0.0011500338, 0.009369947, -0.0005589133, -0.036474295, 0.04067223, 0.04258267, 0.016150746, 0.025074506, -0.0009575759, -0.012549822, 0.043387067, 0.04220561, -0.0023786216, 0.00041476625, 0.0132976575, 0.044794757, -0.010318882, -0.00778001, -0.026695866, -0.038535558, -0.02418213, -0.036172647, -0.0067305253, -0.032100394, 0.0335835, -0.06540738, 0.022447653, -0.016515238, -0.020273272, 0.062189803, 0.035142016, 0.017193947, -0.04135094, -0.025589822, 0.0053699664, 0.042733494, -0.0039465637, 0.06681508, -0.019179799, 0.010545118, 0.03584586, -0.0059732627, -0.009596183, 0.023050949, 0.026922101, -0.024408367, 0.04572484, 0.008974033, -0.024898544, -0.03710273, -0.0039371373, -0.010306314, 0.0008994458, -0.04052141, -0.03355836, 0.0009630747, 0.0123361545, 0.008842063, -0.03396056, -0.015572588, -0.07717166, 0.0004006265, 0.0043299086, 0.061234582, 0.01280748, 0.021831788, -0.038761795, -0.045222092, 0.002142959, 0.029838035, 0.02144216, -0.010130352, 0.0071829977, 0.03016482, 0.0069567617, 0.011292954, -0.026142843, 0.0020785446, -0.01613818, -0.032200944, 0.038837206, -0.008999171, 0.014453976, -0.03443817, -0.07299887, -0.03127086, -0.028279519, 0.012870323, -0.027072925, 0.018651914, 0.040571682, -0.0001046735, -0.0030070555, 0.0023220626, 0.024672309, 0.0019827085, -0.04107443, 0.023314891, -0.014378564, -0.06822277, -0.017633852, -0.03838473, -0.027625946, -0.016339278, -0.07646782, -0.018287422, -0.045976214, 0.041728, 0.028405204, -0.014768193, -0.057413705, -0.0049457736, -0.008213629, -0.035418525, -0.005646477, 0.020864, 0.0057973014, 0.025300743, 0.043185968, -0.044995856, -0.027424848, -0.000028598644, 0.020499509, -0.021680964, 0.01128667, 0.028983364, 0.011858544, -0.008106795, -0.046101898, -0.008534131, 0.04114984, -0.010174342, -0.028606303, 0.012047075, 0.036876492, 0.034111384, -0.020084742, -0.029335286, -0.024609465, -0.013549032, 0.009885263, -0.058167826, 0.0054108147, -0.018765032, 0.01535892, -0.0003546723, 0.0081319325, 0.034940917, 0.012449272, -0.017948067, 0.08003732, -0.027324298, 0.043462478, -0.024144424, -0.0019811373, 0.01161974, 0.04238157, -0.046127036, 0.034010835, 0.034262206, -0.017495595, 0.08084171, -0.072496116, 0.042155337, 0.015798824, 0.003261571, -0.024370661, -0.010375441, -0.013988935, -0.025552116, -0.029938584, -0.07561315, -0.03597155, -0.010394294, 0.012920598, 0.04107443, -0.015384058, 0.019669976, 0.015547451, -0.030893803, -0.011198689, 0.015886804, -0.06998238, -0.03340754, 0.029812897, -0.0073086843, -0.004842082, -0.05319063, 0.006036106, 0.034563854, 0.010274892, -0.026896965, 0.02674614, -0.026318805, -0.044744484, -0.002177523, 0.0022403663, 0.003090323, 0.023289755, 0.0011830265, -0.01809889, -0.012631518, 0.0047383904, 0.011041581, -0.016615788, -0.01980823, 0.015006998, -0.0032458603, 0.019028973, -0.0132976575, -0.014567094, -0.024622034, 0.017822381, -0.017696694, -0.0044807326, 0.050400387, 0.023541128, 0.033156164, -0.041526902, 0.009659027, 0.05019929, -0.03242718, -0.00811308, 0.033055615, -0.003858583, 0.002366053, -0.021492435, -0.013385639, 0.012179046, -0.0044587376, -0.055704366, -0.018702189, -0.008188492, 0.06651343, 0.020260705, 0.03205012, 0.017206516, -0.04532264, 0.026721003, 0.019971624, -0.01412719, -0.011556896, 0.020235566, 0.03700218, 0.055855192, 0.002328347, 0.019318053, -0.0586203, -0.020562353, 0.020210428, -0.0092882505, 0.0050180433, -0.022824714, -0.015698275, -0.08672386, 0.015044704, -0.02218371, 0.047484454, -0.025728077, -0.09687935, 0.014378564, 0.010501128, -0.06254172, 0.0053762505, -0.019959055, 0.012882892, 0.02390562, -0.034312483, -0.030139683, -0.00018214759, 0.013888386, -0.023453148, -0.06108376, -0.04761014, -0.018840443, 0.014680212, -0.017017985, -0.013498757, 0.02674614, 0.037328966, 0.024735153, 0.05786618, 0.009118574, -0.008948896, -0.04816316, 0.00778001, -0.01622616, 0.053391732, -0.0002158277, 0.031899296, -0.047509592, -0.12870324, 0.00073723134, -0.045875665, -0.00094579277, 0.053341456, 0.0011704578, 0.011349513, -0.022799576, 0.0027823905, -0.00015995602, 0.011462632, 0.0014383277, -0.008150785, 0.021366747, -0.011368366, -0.03519229, -0.013549032, -0.012361292, -0.00071916386, 0.05851975, 0.020926844, 0.027198613, -0.0018303132, 0.019569427, -0.007465793, -0.00023546627, 0.020512078, 0.015673138, 0.024923682, 0.010136636, -0.08139474, 0.0032364337, -0.044040635, -0.02807842, -0.010708511, 0.053743653, -0.003424964, -0.025476703, 0.004898641, 0.021228492, 0.02504937, -0.006224636, 0.0055773496, -0.037153002, 0.0077611567, -0.007604048, -0.029712347, -0.024911113, 0.008043952, 0.03813336, 0.028983364, 0.009941822, 0.0007827928, -0.040722508, 0.031597648, 0.02342801, -0.019456308, -0.007641754, 0.011544328, -0.00036036747, 0.00307147, 0.07395408, -0.014680212, 0.0023016385, -0.020889137, -0.03091894, -0.034840368, -0.007057311, -0.04675547, 0.009765861, 0.0005750169, -0.05153157, 0.026343942, 0.0025451567, 0.0072332723, -0.04534778, 0.001956, -0.028003007, -0.026595315, -0.004006265, -0.006014111, -0.0104885595, -0.032477457, 0.0036763374, -0.02171867, -0.03584586, -0.008691238, -0.004414747, 0.010859335, -0.018790169, 0.028782265, 0.02570294, -0.031723335, -0.012128771, 0.035795584, -0.03290479, -0.009457928, -0.05052607, 0.051833216, -0.0126063805, -0.0011476771, -0.022812145, -0.01337307, 0.02286242, -0.015610294, 0.050149012, 0.018048616, 0.024307817, -0.021354178, -0.020047037, 0.016540376, 0.0092128385, -0.038460147, -0.030893803, 0.0669659, -0.040295172, -0.023981031, 0.011871113, 0.028003007, -0.013599306, 0.015094979, -0.02996372, 0.060279366, -0.05520162, -0.054899972, 0.029988859, 0.0021476722, 0.0719431, 0.039239403, 0.0049143517, 0.016804319, -0.0055679227, -0.049445167, -0.0350666, 0.026167981, -0.012788626, -0.02048694, 0.003780029, 0.047283355, 0.01896613, 0.00421679, 0.010626814, 0.049621128, 0.030265369, 0.021731239, 0.028958227, 0.018702189, 0.051732667, 0.012468126, 0.0036512, -0.0069379085, 0.05872085, 0.0753115, 0.021102805, -0.039063442, -0.022799576, -0.029712347, 0.048615634, 0.0036197784, 0.0042733494, -0.016904868, -0.016540376, -0.019456308, -0.024018738, -0.0046692626, 0.0038428723, -0.011921388, -0.021479866, -0.023503423, -0.08506479, -0.027902458, -0.08154556, 0.023101224, -0.021391885, -0.027248887, 0.013724993, -0.029511249, -0.008452434, -0.02817897, 0.0044618794, -0.0030243373, 0.019896213, 0.013285089, -0.03139655, -0.0060046846, 0.012210468, 0.0103691565, 0.008590689, 0.012047075, -0.015208096, -0.010400578, 0.0119905155, -0.00095836143, 0.0076857447, -0.002386477, 0.0021728096, -0.0060863807, -0.007893127, 0.009426506, 0.03971701, -0.016766611, -0.018149167, 0.013988935, 0.0128011955, -0.019770525, 0.0012395856, -0.028757129, 0.049445167, 0.019845938, -0.052285686, 0.017307065, 0.004769812, -0.047962062, 0.011160983, 0.02409415, -0.012769774, 0.016490102, -0.015346352, 0.029435836, -0.045398053, 0.031748474, 0.041979373, -0.0067682313, -0.019871075, 0.026218256, -0.027098063, -0.044166323, -0.01802348, 0.015949648, 0.00042340724, -0.015157822, 0.025539547, -0.0088672, 0.0061335135, -0.01811146, -0.00843358, -0.03878693, 0.016452394, -0.025728077, 0.01138722, -0.01038801, 0.0058884243, 0.03396056, 0.013963798, 0.00023055663, -0.004656694, -0.04911838, 0.00017085542, 0.008075373, 0.03225122, 0.005212858, -0.015811393, 0.0062592, -0.007189282, 0.0037486074, -0.007597764, -0.02571551, -0.023126362, 0.0011798843, -0.03272883, 0.02599202, -0.008640964, 0.011204974, -0.007943402, 0.023968464, -0.008421012, -0.013423345, 0.06349695, 0.0061523663, -0.06545766, -0.008100511, -0.025866333, -0.017017985, -0.013511325, -0.010274892, 0.00068538554, -0.0042199325, 0.0354688, 0.015698275, -0.011789417, 0.02845548, -0.0049897637, 0.015522313, 0.04313569, -0.005731316, -0.03463927, 0.01508241, -0.029033639, 0.026293667, 0.03946564, -0.0055365013, -0.01479333, -0.02579092, -0.03225122, 0.03112004, 0.0069567617, 0.0057061785, 0.0056684725, -0.025024232, -0.017658988, 0.0061994987, -0.004452453, -0.029737484, -0.039038304, 0.010432, -0.044040635, 0.034413032, 0.052486785, 0.01318454, -0.006761947, -0.007729735, 0.003258429, 0.018639345, 0.0063031903, 0.03725355, -0.028681716, 0.005159441, -0.008684955, -0.041526902, -0.00065160723, -0.006875065, 0.019506583, -0.019116955, -0.010903325, 0.0005600916, 0.014076916, -0.03838473, -0.025011662, -0.0040376866, -0.008804357, 0.011745427, -0.029033639, 0.0017611856, 0.016992848, 0.02570294, -0.027148338, -0.007836569, -0.014026641, 0.013900954, 0.0003923783, -0.018387971, -0.01783495, 0.028380068, 0.026796415, -0.0021146794, -0.022347104, -0.038837206, -0.026620453, -0.043764126, 0.002515306, 0.03670053, 0.02277444, 0.03217581, -0.017244222, 0.011789417, -0.0179355, 0.023453148, 0.0072584096, -0.0070510264, 0.03463927, -0.0066802506, 0.028003007, -0.0048452243, -0.023918187, -0.06505546, 0.010614246, 0.0011476771, -0.010450853, -0.06435162, -0.023817638, -0.01266294, 0.021190785, 0.00953334, 0.026896965, 0.0039088577, 0.009690449, 0.027827047, 0.024420936, -0.003055759, 0.02873199, -0.009709301, 0.0021649543, -0.040169485, -0.020512078, 0.012116202, 0.012103634, 0.04230616, 0.045875665, 0.0011256819, 0.009545908, 0.023063518, -0.008439865, 0.00896775, 0.01019948, -0.019481447, 0.011594603, 0.010281176, -0.0014477542, 0.018475952, -0.009508203, -0.02599202, 0.03858583, -0.012644087, 0.008238766, -0.0081319325, 0.0067116725, 0.006774516, -0.010922179, 0.004270207, -0.003277282, 0.015107547, -0.010846767, 0.0069567617, 0.04562429, 0.0019308627, 0.006309475, 0.029737484, -0.013448482, -0.012298448, -0.023390304, -0.036524568, 0.017231653, -0.017960636, -0.0050965976, -0.0022984964, -0.013800405, 0.0019434313, -0.008603258, 0.0058758557, -0.016578082, 0.028807404, -0.03328185, -0.010501128, 0.017181378, 0.0119968, 0.025765784, -0.013121696, 0.015823962, -0.012719499, -0.07395408, 0.004185369, -0.004785523, -0.031220589, 0.0459008, 0.025627527, 0.029184463, 0.00051885063, 0.04067223, -0.011016443, 0.036298335, 0.0014964578, -0.014403702, -0.0056496193, 0.00659227, -0.022208849, 0.0012678651, 0.006020395, -0.0008994458, -0.004355046, -0.0018381687, -0.008333031, 0.010727364, 0.014353426, -0.035368253, 0.01801091, 0.01972025, -0.02579092, 0.012436704, -0.010205764, 0.0047415327, 0.004656694, -0.009690449, 0.018953562, -0.03350809, -0.02817897, 0.01508241, 0.023691952, 0.0076103327, -0.01792293, 0.010136636, -0.038837206, -0.03091894, -0.014919017, 0.01686716, -0.060379915, 0.019531721, -0.019594563, 0.018538795, 0.027952733, -0.0013637012, 0.0065671327, 0.008138217, -0.027424848, 0.026896965, -0.014466545, 0.011594603, -0.03823391, -0.025162486, 0.022158574, -0.014655075, 0.028103556, 0.024458641, -0.01896613, -0.0044241734, -0.026695866, -0.046403546, 0.026896965, 0.0008798072, -0.03272883, -0.03217581, 0.04218047, -0.0076857447, 0.00346267, -0.02996372, -0.024056444, 0.03272883, -0.01470535, -0.031044627, -0.03622292, 0.02219628, -0.014479114, 0.022171142, 0.02408158, 0.0030808963, 0.010526265, 0.012449272, -0.023314891, -0.011016443, -0.014190034, -0.012179046, 0.004923778, -0.015384058, -0.011506622, 0.007095017, -0.008527846, -0.00028691927, -0.013938661, -0.010023518, 0.0022749302, 0.020763451, 0.009005455, -0.017671557, -0.07832798, -0.019770525, -0.0048829303, 0.04808775, -0.02476029, 0.03064243, -0.0037328964, 0.017847518, -0.035343114, -0.03054188, 0.041024156, 0.014064347, 0.03954105, 0.033809736, -0.0060455324, 0.03365891, -0.013398208, 0.01573598, -0.0031453108, 0.0044273157, 0.025338449, -0.030567016, -0.047333628, 0.00029006143, 0.027324298, -0.013938661, 0.010658236, 0.0023691952, 0.052386235, -0.0045907083, 0.026519904, 0.00029536386, 0.023591403, -0.0060015423, -0.004072251, -0.06611123, -0.010105214, 0.014617369, 0.02996372, 0.0040691085, 0.026067432, -0.03167306, 0.011688868, 0.019883644, -0.018878149, -0.0009245831, 0.019318053, 0.020411529, -0.0091374265, 0.021404453, 0.054497775, 0.009043162, 0.06173733, -0.015484608, 0.013511325, -0.0043864674, 0.024672309, -0.012015653, 0.031547375, -0.024735153, 0.0067179566, 0.039515913, -0.007095017, -0.009734439, -0.002589147, -0.009935537, 0.01498186, 0.022887556, -0.035292838, 0.0012670795, 0.052335963, -0.0060109687, -0.027927596, -0.006105234, -0.0040691085, 0.016427258, -0.021127943, 0.00035663616, 0.007264694, -0.040420856, 0.0029583517, 0.013134265, 0.03245232, 0.013523894, -0.034588993, 0.03453872, 0.004436742, -0.008402159, 0.029511249, 0.01906668, 0.017709263, 0.020889137, 0.038007673, -0.021995181, -0.015195528, 0.019129522, -0.0030353349, -0.011783132, 0.009527056, 0.011160983, -0.03830932, -0.007189282, 0.0041225255, -0.015911942, -0.011588318, 0.002719547, 0.019318053, -0.007968539, 0.030617291, 0.0067179566, -0.012135056, -0.0041382364, -0.048339125, 0.03330699, 0.0210651, -0.027625946, -0.0059858314, -0.014881311, -0.024131855, -0.04446797, 0.0009536482, -0.019468877, -0.0068624965, 0.030667566, -0.006460299, -0.039214265, 0.017671557, -0.015094979, 0.023302322, -0.019280348, -0.006887634, -0.04939489, 0.03481523, -0.019368328, -0.044342283, 0.00049292773, -0.02352856, -0.004763528, 0.0014477542, 0.0027619663, -0.007358959, -0.014089485, -0.042155337, 0.0057627372, -0.002699123, -0.008150785, -0.023113793, -0.0121099185, 0.00476667, 0.0066236914, -0.012813764, -0.0028169542, 0.0014650362, -0.008603258, 0.029259875, 0.031874157, -0.008364453, -0.030013995, 0.013599306, 0.045749977, -0.015044704, 0.000067998495, -0.030340781, 0.022321966, 0.000035521236, 0.008320463, -0.010821629, -0.040722508, -0.038359597, 0.02835493, 0.009432791, 0.019079247, -0.00033071326, 0.01062053, 0.028380068, 0.021190785, -0.022900125, -0.0086723855, -0.016540376, -0.041275527, 0.033432674, 0.01906668, -0.00080910843, -0.011588318, 0.0099481065, 0.05977662, 0.015208096, 0.032854516, -0.0022215133, 0.02654504, -0.0073715276, 0.029812897, -0.019016406, -0.033256713, 0.027550535, 0.0075914795, -0.020097312, -0.006058101, -0.021944907, 0.019305484, 0.01801091, 0.014328289, 0.016942574, -0.040270034, -0.001324424, -0.027726498, -0.0128011955, 0.0217061, -0.0018664482, 0.007000752, 0.0088672, 0.04220561, 0.014541957, 0.0032741397, -0.0077611567, -0.008100511, 0.01563543, 0.021944907, 0.0502747, 0.009376232, -0.0049049254, -0.010130352, -0.020600058, -0.019984193, -0.0024194699, 0.015937079, 0.024069013, -0.021907201, 0.016666062, 0.03101949, 0.0026095712, -0.02171867, -0.0007348747, 0.03499119, -0.018237147, 0.0019387181, -0.0031311712, 0.0029913445, -0.014579663, 0.0032678554, 0.01375013, -0.030039134, 0.028882815, 0.026896965, 0.00673681, -0.0039842697, -0.023666814, 0.049771953, -0.015886804, -0.027952733, -0.0022073735, 0.016427258, 0.009809851, 0.0036543421, 0.014680212, -0.0440155, -0.0035883565, -0.020021899, 0.014881311, -0.02760081, 0.014919017, -0.013574169, -0.0013566313, 0.0075160675, 0.046101898, 0.007314969, -0.013347933, 0.022749301, 0.0025247326, 0.0132222455, 0.0056213397, -0.00046700484, -0.03697704, -0.022359673, -0.0016182169, -0.006774516, -0.0073715276, -0.0007329109, -0.016087905, -0.013335364, -0.021580415, 0.0060109687, 0.028782265, -0.029938584, -0.005828723, 0.0031028916, -0.02455919, 0.019984193, 0.015572588, -0.03197471, 0.024860838, 0.014743055, -0.004691258, 0.0031751615, 0.019318053, -0.0078114313, -0.034136523, 0.03936509, 0.021366747, 0.036599983, -0.011701436, 0.003556935, 0.009853841, 0.006705388, 0.024609465, 0.012838901, 0.0075726267, -0.017721832, 0.028329793, -0.010689658, 0.024797995, -0.029184463, -0.011839692, 0.0016999133, 0.013021147, 0.010400578, 0.012750921, 0.026519904, 0.0048389398, -0.010884472, -0.016628357, -0.003242718, 0.015685705, -0.0055145063, 0.014076916, -0.00030753977, 0.05379393, 0.016590651, 0.009941822, -0.028405204, 0.0034972338, -0.0024477495, 0.011349513, -0.0067933686, 0.014906448, 0.00566533, 0.014453976, 0.003055759, 0.0250368, 0.035292838, -0.0065105734, -0.016552946, -0.016515238, -0.009671595, -0.01679175, 0.017068261, 0.04668006, -0.036876492, 0.0042764917, 0.024546621, 0.03584586, -0.014240309, 0.015069841, -0.0398427, -0.02626853, 0.055754643, 0.0037171855, -0.007277263, 0.014541957, -0.0046158456, 0.014931586, -0.019330623, 0.02342801, -0.04791179, 0.059726343, 0.010054939, -0.010394294, 0.024911113, 0.0012505831, -0.011845976, 0.026343942, -0.010526265, 0.0084461495, 0.013649581, -0.023402872, -0.017709263, 0.01754587, 0.021944907, -0.0035600772, 0.03838473, 0.026017157, 0.03215067, -0.0010384867, 0.0034312482, 0.015911942, -0.0016166458, 0.023138931, -0.021228492, -0.03139655, 0.009464212, 0.010601677, -0.0004442241, -0.011726574, 0.005237995, -0.007541205, 0.004229359, -0.041577175, -0.0013283518, 0.0072584096, -0.001882159, 0.010180627, 0.018978698, 0.011267817, -0.02031098, -0.024496347, 0.005703036, 0.012970872, 0.02579092, -0.015132684, -0.010438285, -0.01670377, 0.02531331, 0.013712424, 0.006479152, -0.019569427, 0.0021209638, -0.02019786, -0.025476703, 0.03272883, 0.003428106, -0.0030463326, -0.019204935, -0.026620453, -0.006158651, 0.020926844, -0.019292915, 0.01745789, -0.0027493977, 0.0019874217, 0.0038114507, 0.00711387, 0.011908819, 0.00901174, 0.0021492434, 0.008534131, 0.0026347085, -0.0014603229, 0.039691877, -0.027047789, 0.019996762, 0.0011759567, 0.020763451, 0.021995181, 0.037756298, -0.0066802506, 0.018237147, 0.027952733, 0.009143711, 0.014730487, 0.0006971687, -0.0045341495, 0.010658236, -0.023968464, 0.006353465, 0.011751711, 0.030340781, 0.010262323, 0.010482275, -0.02750026, 0.025640097, 0.044065773, -0.01990878, 0.0052097156, -0.0021178217, -0.005062034, -0.010501128, -0.021668395, 0.017483026, 0.015296077, 0.0045530023, -0.014391133, -0.004279634, 0.015849099, -0.020700607, -3.3753764e-7, 0.0045530023, -0.016829455, -0.031748474, -0.0064163087, 0.009250545, -0.025640097, 0.0073652435, 0.0071829977, -0.0033652626, -0.017960636, -0.013410776, -0.00059151324, -0.035519075, -0.016175885, 0.03252773, -0.010991306, 0.027148338, 0.01015549, 0.025514409, -0.0075726267, 0.00462213, -0.015861668, 0.0072898315, 0.029360425, -0.013134265, -0.036599983, 0.022409948, 0.017520733, -0.0035129446, -0.0057093203, 0.0166912, 0.026570179, -0.024496347, -0.010350304, 0.028204106, 0.0250368, 0.010959884, 0.016238729, -0.014215171, 0.021970043, 0.01745789, -0.023779932, -0.0116448775, -0.012474409, 0.0115254745, -0.0008208916, 0.014692781, 0.0375552, 0.026142843, 0.035292838, -0.00051806506, 0.01057654, 0.0056747566, -0.018073754, 0.010036087, -0.026067432, 0.019858506, 0.053542554, -0.028807404, 0.0022827855, 0.010897041, 0.01015549, -0.0030274796, 0.013058853, 0.01038801, 0.0018397397, -0.023063518, -0.021127943, -0.0058727134, -0.0046661207, -0.01479333, 0.00528827, -0.011701436, 0.0034501012, -0.02153014, -0.0011453205, 0.013624444, -0.00003694503, -0.016754044, 0.027148338, 0.023629108, 0.014642506, 0.032980204, 0.0006508217, -0.015497176, -0.047006845, -0.016892299, 0.0071075857, -0.0132222455, -0.019594563, -0.024345523, 0.048414536, -0.037680887, -0.015094979, 0.02277444, -0.0116008865, 0.0481883, -0.013171971, 0.0021555277, -0.02000933, 0.0006798867, -0.0038805783, 0.028003007, -0.00995439, 0.020738313, -0.020851431, -0.002108395, 0.027424848, -0.0015090265, 0.04258267, 0.0024556047, -0.017822381, -0.014365995, 0.0132976575, 0.02571551, -0.030491605, 0.009395084, 0.044794757, 0.0017486169, 0.026017157, 0.02958666, -0.0017737543, 0.026444491, 0.03556935, -0.03451358, 0.011607171, 0.03717814, -0.005681041, -0.00876665, -0.0073715276, -0.004848366, -0.0015153108, -0.030516742, 0.0070447423, 0.00080518075, -0.033256713, 0.02722375, -0.04391495, -0.016490102, 0.020838862, -0.0009662169, -0.042230748, -0.0029536386, 0.023641678, 0.035795584, 0.021354178, -0.025539547, -0.03946564, -0.018174304, -0.0071452917, 0.022535633, -0.03697704, 0.037328966, -0.021203354, -0.01133066, -0.0028028146, 0.039138854, -0.0019214362, -0.023302322, 0.036750805, 0.004603277 ]
2401.09350
327
Later, Ge et al. [2014] and Norouzi and Fleet [2013] extended this idea and suggested that the matrix R can be learnt jointly with the codebooks. This can be done through an iterative algorithm that switches between two steps in each iteration. In the first step, we freeze R and learn a PQ codebook as before. In the second step, we freeze the codebook and update the matrix R by solving the following optimization problem: min R ∥Ru − ˜u∥2 2, u∈X s.t. RRT = I, where ˜u is the approximation of u according to the frozen PQ codebook. Because u and ˜u are fixed in the above optimization problem, we can rewrite the objective as follows: min R s.t. RRT = I, where U is a d-by-m matrix where each column is a vector in X , ˜U is a matrix where each column is an approximation of the corresponding column in U , and ∥·∥F is the Frobenius norm. This problem has a closed-form solution as shown by Ge et al. [2014]. # 9.2.3 Extensions
2401.09350#327
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 327, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Later, Ge et al. [2014] and Norouzi and Fleet [2013] extended this idea and suggested that the matrix R can be learnt jointly with the codebooks. This can be done through an iterative algorithm that switches between two steps in each iteration. In the first step, we freeze R and learn a PQ codebook as before. In the second step, we freeze the codebook and update the matrix R by solving the following optimization problem:\nmin R ∥Ru − ˜u∥2 2, u∈X s.t. RRT = I,\nwhere ˜u is the approximation of u according to the frozen PQ codebook. Because u and ˜u are fixed in the above optimization problem, we can rewrite the objective as follows:\nmin R s.t. RRT = I,\nwhere U is a d-by-m matrix where each column is a vector in X , ˜U is a matrix where each column is an approximation of the corresponding column in U , and ∥·∥F is the Frobenius norm. This problem has a closed-form solution as shown by Ge et al. [2014].\n# 9.2.3 Extensions", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.022069704, -0.014611244, -0.022350924, 0.004206082, 0.0077091125, -0.0010568697, 0.014855783, 0.029149126, -0.038441632, 0.044995297, 0.006559776, 0.00076189387, -0.021482809, 0.02880677, 0.008791201, -0.028537776, 0.04008005, -0.040569127, -0.036167413, 0.009439231, -0.0015283728, -0.051842406, 0.03582506, 0.02248542, 0.010215644, 0.0127527425, 0.021140452, 0.03034737, 0.035678335, 0.020333473, -0.0037383998, -0.003912634, -0.019795485, 0.013914306, -0.0042397063, 0.002812206, -0.0011585066, 0.038246002, -0.017557947, 0.041718464, 0.033526387, -0.037952553, -0.041498378, -0.015528268, -0.0061746263, 0.033086214, -0.009237485, 0.0024499816, 0.0023506375, 0.027657434, 0.007128331, 0.055803947, -0.042916708, -0.064118296, -0.048687845, 0.0030674443, -0.0075746155, -0.022143066, 0.08304566, -0.018743964, 0.016176298, 0.0074829133, 0.0044017136, 0.0010408219, 0.034284458, 0.027926428, -0.056293026, 0.031863518, -0.03602069, 0.025383215, -0.07150339, -0.007733566, 0.054679066, -0.03594733, -0.021152679, -0.0043466925, -0.026777092, 0.07815487, 0.027804159, -0.034211095, 0.024784094, -0.046169087, 0.06436284, -0.0040838122, -0.033086214, -0.049372554, -0.03218142, 0.028073153, -0.022008568, -0.04039795, -0.03675431, 0.01267938, -0.04213418, -0.0031790154, 0.044921935, -0.0010591623, -0.013792036, 0.008620023, 0.04731842, -0.03893071, -0.023977112, -0.037536837, 0.0653899, -0.023280175, 0.06524318, -0.02824433, -0.015381544, 0.020871459, -0.016066255, -0.024771867, -0.05130442, 0.020981502, 0.0000022836039, -0.01632302, 0.009102988, -0.06807984, -0.010912582, -0.060645834, -0.015772806, -0.0032462638, -0.029320303, -0.03249932, 0.03582506, 0.015259274, 0.009512592, -0.046413627, 0.012037464, -0.06651478, 0.021568397, 0.019673215, 0.00877286, -0.0039248616, 0.026728183, 0.0075623887, -0.026116835, 0.032866128, 0.015234821, 0.030983174, 0.009524819, -0.011450569, 0.018059254, 0.002972685, -0.009304734, 0.014562336, -0.086322494, 0.0051628435, -0.021886298, 0.017068867, -0.043992683, -0.02151949, -0.00072406663, -0.01782694, -0.023023408, 0.018010344, -0.011957989, -0.035922874, -0.036583133, 0.0074340054, 0.013302957, -0.005236205, -0.010814766, 0.022656599, 0.018621694, -0.015051415, 0.053700905, -0.024759639, -0.04680489, -0.00020059894, -0.026385829, -0.016396383, 0.044677395, -0.007825268, -0.039077435, 0.00019410334, 0.030934265, 0.0017347031, -0.044848572, -0.035678335, -0.007788588, -0.053016197, -0.010087261, -0.01199467, 0.042158637, 0.03477354, -0.010081147, 0.017240046, 0.0025432124, -0.058689516, 0.01761908, -0.0076357503, -0.021005956, 0.0029451745, 0.019477583, 0.008069809, 0.032279234, -0.039615422, 0.020895913, -0.006150172, -0.024527326, 0.004059358, -0.00810649, -0.009861061, -0.00032535236, -0.021592852, 0.031178806, -0.055901762, -0.03643641, 0.030567456, -0.036289684, 0.030518549, 0.0141099375, -0.003582506, -0.001574224, 0.004053245, 0.0142811155, 0.019465355, -0.02118936, 0.026288012, -0.041107114, 0.036607586, -0.026239105, 0.021226041, -0.0032309801, 0.023035634, -0.0567332, 0.007544048, 0.03225478, -0.02597011, 0.035727244, -0.06137945, 0.058249343, -0.02118936, -0.03269495, -0.01763131, 0.06680823, -0.018939596, -0.032474864, -0.03245041, -0.0103073465, 0.015320409, -0.0043314085, 0.029613752, 0.021825165, -0.06186853, -0.027853066, 0.031178806, -0.0018921256, -0.013596404, 0.023720346, -0.018169295, -0.024661824, 0.01096149, 0.025481032, -0.021323858, -0.060303476, 0.015137005, 0.008748406, 0.013205141, -0.019673215, -0.04700052, -0.044677395, -0.0024255277, -0.04991054, 0.013156233, 0.004948871, -0.0106130205, -0.034015466, 0.0046187425, 0.012593792, -0.005743625, -0.013620858, -0.003976826, -0.02880677, 0.04670707, -0.023977112, -0.014501201, 0.001291475, 0.015895078, 0.00091855205, -0.0018676716, -0.024184972, 0.02208193, 0.064118296, 0.0027617696, 0.009029627, -0.013914306, -0.05076643, 0.051597867, -0.057369, -0.01097983, 0.042892255, -0.030811995, 0.019746577, 0.0011180047, -0.006663705, 0.0044078273, -0.005899519, -0.070916496, -0.011401661, 0.041180477, -0.017875848, 0.014476747, 0.0016506426, 0.011988556, -0.08050245, 0.04670707, 0.034064375, -0.0048999633, -0.0006304538, 0.020284563, -0.020113386, 0.03963988, -0.011927421, 0.0456311, -0.03751238, -0.048810113, 0.02439283, -0.073850974, 0.036925487, -0.008149284, -0.017985892, -0.058885146, 0.016995506, -0.0015360147, 0.024588462, 0.0076174103, -0.04076476, -0.016066255, 0.015858397, -0.010460184, -0.008057581, 0.004160231, 0.034577906, -0.0078069284, -0.032866128, 0.001430557, -0.025774479, 0.042647716, -0.025554392, -0.024307242, -0.053065103, 0.010790312, -0.017888075, 0.02253433, -0.0040196204, 0.002414829, 0.015907304, 0.0059667677, 0.05247821, -0.012037464, -0.021861844, -0.009702111, 0.040055595, 0.0014871068, 0.030934265, -0.053456366, 0.01730118, -0.0090173995, -0.048443306, 0.0109186955, -0.017557947, -0.005239262, 0.017863622, -0.0009239014, -0.030494094, 0.028024243, -0.00013134454, 0.028488869, 0.011884627, 0.014354478, -0.038955167, -0.0106130205, -0.06788421, -0.027241716, -0.021458354, -0.04964155, 0.01406103, 0.05330964, 0.029100219, 0.031863518, -0.007953652, 0.023463579, 0.0042825006, -0.00025370988, 0.059912216, 0.0206636, 0.0252854, -0.02253433, -0.028439961, 0.019159682, -0.034749083, -0.0059912214, -0.00982438, -0.0025477975, 0.005847554, -0.00931696, 0.0050619706, 0.052282576, 0.048027586, 0.045655552, -0.007079423, -0.018731738, -0.0062327045, -0.024478419, -0.03095872, -0.011438342, 0.03646086, 0.028024243, 0.0007469922, 0.047538508, 0.020895913, -0.018976277, 0.032059148, 0.003652811, 0.011744017, -0.008827881, -0.044921935, -0.010197303, -0.0028412452, 0.058298253, -0.0127527425, -0.015785035, -0.020272337, -0.05052189, -0.0074278917, -0.006712613, -0.033942103, -0.0039462587, 0.020125613, -0.047220606, 0.03528707, 0.044310585, -0.03465127, -0.050179537, -0.022558782, -0.0037536835, 0.022583237, 0.041229386, -0.0058567245, -0.013461907, 0.021739574, 0.004539267, -0.025725571, -0.0047196154, 0.019844392, -0.0139754405, -0.012367593, 0.004664594, 0.021446127, 0.022118611, -0.034308914, -0.012960602, 0.06671042, 0.0032126396, 0.016408611, -0.0734108, 0.061770715, 0.0043314085, -0.01612739, -0.0141833, -0.006535322, 0.016481973, -0.0136697665, 0.017729124, 0.041669555, 0.014916918, 0.014158846, 0.015149231, -0.008185965, -0.003912634, -0.040544674, 0.0066270246, 0.031447798, -0.027241716, -0.020957047, 0.02050465, 0.0031759588, -0.02763298, -0.037536837, 0.027119447, 0.0032248667, -0.02929585, -0.009585954, 0.02707054, 0.008803427, 0.08656704, 0.016543107, -0.01406103, 0.03528707, -0.012899467, -0.01434225, -0.023732573, 0.013571951, -0.0123125715, 0.010655815, -0.018951822, 0.024453964, -0.023475807, 0.038294908, -0.004062415, 0.040862575, 0.045313198, 0.00038094693, 0.0022069702, -0.01763131, 0.051597867, 0.013657539, -0.02670373, 0.0040410175, 0.08099153, 0.053505275, 0.012654927, -0.018658375, -0.0071466714, -0.01563831, 0.038074825, -0.003567222, -0.019807711, -0.038392726, 0.031007627, 0.006247988, -0.026361374, -0.039419793, 0.0024163574, 0.0036711516, -0.016469745, -0.05643975, -0.08333911, -0.01738677, -0.04188964, -0.014941373, 0.008185965, -0.030787542, 0.020749189, -0.019171908, -0.022191973, -0.03861281, -0.0127527425, -0.008351029, -0.020211201, -0.0094575705, -0.016665377, -0.0007309443, 0.00954316, 0.0027923372, -0.015405998, -0.008375483, -0.000040406358, -0.015026961, 0.0028825111, 0.025603302, -0.012404273, -0.011817379, 0.007281168, 0.031472255, -0.009861061, 0.028513324, 0.0093230745, 0.010668042, -0.011964102, -0.008870676, 0.035189256, 0.017105548, -0.008253213, -0.0062571582, 0.030763088, -0.016677605, -0.059374228, 0.00080850924, 0.03756129, 0.00555105, -0.00032477922, 0.021299403, -0.007788588, 0.011303845, 0.011799038, 0.046462532, -0.024612917, 0.025750024, 0.041596193, -0.03232814, -0.04773414, -0.005181184, -0.017765805, -0.026508098, 0.016543107, 0.007030515, -0.0081676245, -0.039811056, 0.03614296, 0.013461907, -0.0028733409, -0.027681889, -0.019428676, -0.056831013, -0.005144503, -0.020516876, 0.018878462, -0.032841675, -0.004398657, 0.029931653, -0.0017117775, 0.0076235235, -0.037121117, -0.04528874, 0.0009942065, 0.016298568, 0.025138676, 0.02565221, -0.03213251, -0.00042488764, 0.016836556, -0.01576058, 0.016433064, -0.029246941, -0.03868617, 0.0024469248, -0.018108161, 0.046291355, 0.00022161406, -0.008717839, -0.027730796, 0.036118507, 0.0047287853, 0.0020205087, 0.023365764, 0.019624308, -0.01406103, 0.0083388025, -0.006957153, -0.028219875, -0.0038790102, -0.009249712, 0.009787699, -0.009433117, -0.004037961, 0.00931696, -0.018780645, 0.03985996, -0.027094994, 0.024943044, 0.01766799, -0.02824433, 0.0067370674, 0.018132616, 0.0020220373, 0.025921203, 0.02192298, -0.03805037, -0.024417285, -0.0474896, -0.022460967, 0.023463579, -0.0041632876, 0.020602465, -0.04528874, 0.03157007, 0.025823386, -0.00082379294, -0.035482705, -0.0487123, -0.02755962, -0.0155038135, -0.016946597, -0.0129239205, 0.005214808, -0.028904587, 0.019991117, -0.0014152732, 0.029833836, -0.0017347031, -0.0039156913, -0.019685442, -0.016200751, -0.03509144, -0.0067737484, -0.008045355, 0.00940255, -0.017655762, -0.04047131, -0.011132668, 0.010325687, -0.015222593, 0.0024744356, -0.04656035, -0.026190197, -0.018010344, -0.051793497, -0.0379281, -0.044921935, -0.0066820458, 0.028782317, 0.026899362, -0.0071099903, -0.010099487, 0.0050558574, -0.008711725, 0.013156233, -0.018707283, -0.06509645, 0.003374647, 0.07160121, -0.021213815, 0.006896018, -0.019110773, -0.057320096, -0.036729854, 0.034088828, 0.04269662, 0.0107169505, 0.025260946, 0.0003373883, 0.010178963, -0.006712613, -0.031716794, -0.00007847239, 0.01434225, 0.004334465, 0.0081003755, 0.007592956, -0.01112044, 0.020174522, -0.032768313, -0.022717733, -0.0057130577, -0.040251225, -0.03743902, 0.023683665, -0.0401045, 0.0604502, 0.007079423, 0.024735186, 0.039199706, -0.030200647, 0.029711567, -0.027339533, -0.0020189804, 0.020871459, -0.013620858, -0.02001557, -0.033477478, -0.0585917, -0.024869682, 0.02005225, 0.0022650484, 0.023451352, 0.018401608, -0.005230092, -0.00034483912, 0.029711567, -0.0440905, 0.009078534, -0.0025768366, -0.011401661, -0.010808652, 0.037659105, 0.02905131, 0.039713237, -0.047269516, -0.008424391, -0.017557947, 0.009720451, -0.010423503, -0.022020796, -0.0020464913, -0.00083067064, -0.020406833, -0.031227713, 0.018743964, -0.027241716, -0.01977103, 0.037390113, -0.021470582, 0.006535322, 0.0003828574, -0.03609405, -0.027412895, -0.01276497, 0.0022253108, 0.03181461, -0.053554185, -0.009903856, 0.019905528, 0.0034082714, 0.005123106, -0.01884178, -0.0089501515, -0.018951822, 0.036045145, -0.005190354, 0.008803427, 0.009848834, -0.0032768312, 0.0046707075, 0.008381597, 0.03183906, -0.019917754, -0.08964823, -0.005123106, -0.0061562858, 0.013229595, 0.048321035, -0.0025279287, 0.008601682, -0.024759639, 0.015075869, -0.003726173, -0.006535322, -0.00036719156, 0.03699885, 0.0021993285, 0.024722958, -0.02395266, 0.009139669, -0.015711673, 0.032059148, 0.00035267204, -0.016433064, -0.025187584, 0.039933324, 0.023549167, -0.062210888, 0.0006136417, 0.042843346, -0.0026991065, -0.0040410175, 0.009744905, -0.03643641, -0.031301074, 0.0045973454, 0.05912969, -0.02236315, -0.026801545, 0.010606907, -0.010178963, -0.0006782154, -0.0012968243, -0.017900303, -0.046413627, -0.012006897, -0.0237448, -0.007079423, 0.00042985484, 0.016408611, -0.0091885775, 0.030640818, -0.023536941, -0.03846609, -0.004129663, -0.0056335824, -0.03359975, -0.002602819, -0.0033226826, -0.018658375, 0.0111571215, -0.031716794, -0.015405998, -0.006993834, 0.028097605, 0.039052982, -0.004530097, -0.027241716, -0.0160418, -0.01083922, 0.010802539, -0.01924527, -0.024869682, -0.011572839, 0.0052117514, -0.014904692, 0.003255434, -0.014427839, -0.037121117, 0.028782317, 0.0123125715, -0.040300135, -0.01705664, 0.005982051, -0.013376319, 0.03245041, -0.003377704, 0.0014924561, 0.0125143165, 0.044017136, -0.012899467, -0.020932594, 0.015039189, 0.012862786, 0.01701996, -0.002906965, 0.004037961, 0.02897795, -0.0027953938, -0.008944037, 0.005572447, 0.009249712, 0.00044628486, 0.020284563, 0.058249343, 0.002012867, -0.02824433, -0.028073153, 0.017154457, 0.0027143902, 0.016873235, 0.030151738, -0.020651374, 0.017325634, -0.0030491038, -0.036656495, -0.014941373, 0.005334021, 0.04822322, 0.017680217, 0.030053923, 0.019318633, -0.00865059, 0.00015579851, 0.017655762, 0.026165742, 0.0042947275, -0.0012181131, -0.046340264, 0.004792977, 0.061575085, -0.02309677, -0.007042742, 0.008675044, 0.014684606, -0.0010224814, 0.015137005, 0.016873235, 0.03963988, -0.0032890583, 0.024857456, -0.039737694, -0.0015039188, 0.025701117, 0.037708014, 0.018621694, -0.0035855626, 0.0065414356, 0.022986727, 0.0061807395, -0.00096363906, -0.03342857, 0.02621465, 0.05453234, -0.0030552172, 0.005083368, -0.0049947225, 0.008571114, 0.043503605, 0.002168761, -0.008351029, 0.01332741, 0.017741352, 0.03108099, 0.048345488, 0.0155038135, -0.011248824, -0.018511651, -0.018621694, -0.020810325, -0.0115972925, 0.008204306, 0.028562231, 0.0034816333, -0.055412684, 0.017472358, 0.04188964, 0.024820775, 0.011676768, -0.0054838015, 0.001541364, 0.01609071, -0.0011883099, 0.0150636425, 0.008571114, -0.0048938496, 0.013339638, -0.022130838, -0.00749514, -0.006620911, -0.05052189, 0.027950881, 0.023915978, 0.020125613, 0.02090814, 0.028024243, 0.013425226, 0.03416219, 0.0017698557, -0.027046084, -0.00017337479, 0.01738677, -0.039126344, -0.056928832, 0.0012716062, -0.0022314242, -0.036852125, -0.026777092, 0.01329073, 0.020394607, -0.040838122, -0.00013784012, 0.050472982, -0.015833942, -0.014770195, 0.016347475, -0.0013449681, -0.023610303, -0.018878462, -0.017154457, -0.01896405, -0.024160517, 0.020309018, -0.040544674, -0.007006061, -0.015320409, -0.0054838015, -0.024013793, -0.024331694, 0.0150636425, -0.0029283622, -0.025004178, -0.011108214, 0.005599958, 0.022350924, -0.009280279, -0.024246106, -0.029467028, 0.015956212, -0.016922144, -0.038246002, -0.02365921, 0.007501254, 0.015405998, 0.01791253, -0.012471522, 0.04509311, 0.043014523, -0.022130838, 0.019575398, 0.046535894, -0.012147507, -0.015173685, 0.00426416, -0.005205638, -0.0048816227, 0.0058231005, 0.011083759, 0.027339533, -0.000019916608, 0.02398934, 0.03724339, -0.0037659106, -0.0032951718, 0.0229745, 0.008571114, -0.026972724, 0.0041143796, -0.048272125, 0.010912582, -0.0029910256, 0.008748406, 0.0012288117, -0.0080331275, -0.013021736, 0.0090173995, 0.019954436, 0.002599762, -0.0008765218, -0.0003996695, -0.003399101, 0.021103771, -0.00889513, -0.021592852, -0.004878566, -0.01766799, 0.017484585, 0.012667154, 0.008889017, 0.040593583, 0.01267938, 0.029858291, 0.047954224, 0.01924527, -0.0014855784, -0.0111021, 0.00850998, 0.047342878, -0.0348469, -0.030029468, 0.027168356, 0.008204306, 0.0050497437, -0.005587731, -0.01763131, 0.019318633, 0.013987668, -0.0024469248, -0.004854112, -0.0012647285, -0.019465355, 0.0099344235, -0.029198034, 0.019257497, -0.029589297, -0.015210366, 0.013107325, 0.014488975, 0.0046340264, -0.007556275, 0.008815655, -0.012691608, -0.018303793, 0.008375483, 0.018743964, -0.02293782, 0.025945656, -0.031618975, -0.017680217, -0.01637193, -0.00567332, 0.013229595, 0.042329814, -0.024784094, 0.011383321, 0.01852388, -0.031961333, -0.0062663285, 0.006144059, 0.003123994, -0.011756243, -0.0030842563, -0.001225755, -0.047538508, -0.010710836, 0.00062701496, -0.03225478, -0.03164343, 0.021984115, 0.027584072, 0.03245041, 0.014195527, -0.00027376978, 0.058738425, 0.0068226564, 0.0016078482, 0.0024530385, 0.0028962665, 0.01248375, 0.010301232, -0.001754572, -0.028635593, 0.0064436197, 0.012239209, 0.011401661, -0.021433901, -0.0009323074, 0.0006037073, 0.006798202, -0.039444245, 0.015956212, 0.0040287906, 0.007904744, 0.03010283, -0.012716061, 0.01211694, 0.0023888466, -0.012337025, 0.004420054, 0.016310794, -0.0021122112, -0.0034510659, 0.014733514, 0.01632302, -0.031863518, -0.015283728, -0.01377981, -0.018364927, 0.026605913, 0.0025814218, 0.037952553, -0.00059300865, -0.027853066, 0.0067859753, 0.007183352, -0.00929862, 0.02941812, 0.0010813237, -0.010356254, 0.023646984, 0.015467132, 0.00917635, 0.0023796766, 0.029369213, -0.016029574, 0.026728183, -0.0061257184, -0.030543001, 0.005780306, -0.004490359, 0.01588285, 0.0059056324, -0.00861391, -0.0099344235, -0.005853668, -0.006663705, 0.030860905, -0.009793813, -0.04218309, 0.009494252, -0.012789424, -0.023194585, 0.045557737, -0.02467405, -0.01369422, -0.0050864248, -0.03594733, 0.009751018, 0.010649702, -0.0011676769, -0.000065767796, -0.03526262, 0.08050245, -0.0017362315, -0.007128331, -0.01721559, -0.003448009, 0.02236315, -0.0010683326, -0.0007924613, 0.02005225, 0.005010006, 0.03188797, -0.020590238, 0.025481032, 0.020639146, 0.01353527, 0.015149231, -0.0030735577, -0.0027388441, 0.009139669, 0.038074825, 0.010276779, -0.03264604, -0.0034052145, -0.0024117723, 0.003123994, -0.029784929, -0.004685991, -0.03188797, -0.0046554236, 0.03643641, 0.0068715643, -0.0040776986, -0.020969275, -0.0046951612, 0.029760476, 0.02127495, -0.00020155417, -0.023928205, 0.05414108, 0.0206636, -0.04213418, 0.0087789735, 0.011261051, 0.004826601, 0.01332741, -0.03582506, 0.0061837966, -0.01677542, -0.026116835, 0.01267938, -0.00006791707, 0.0075685023, 0.032352597, 0.02658146, -0.0075195944, 0.031398892, 0.0036864353, -0.018866234, 0.009335301, -0.00058727723, -0.0020816438, 0.02038238, 0.0042611035, 0.0036497542, 0.021739574, 0.01019119, 0.025432123, 0.014696833, -0.055803947, 0.013400773, 0.002824433, -0.0072506005, 0.01189074, -0.020895913, 0.03059191, 0.009096875, 0.025847841, 0.0007469922, 0.0066759326, 0.013082871, -0.009341415, 0.04008005, -0.005982051, -0.018377155, -0.022155292, 0.02905131, -0.009115215, -0.016995506, -0.008999059, -0.027046084, -0.02658146, -0.01434225, 0.0237448, -0.0030873131, -0.0031209374, -0.004300841, -0.012465409, -0.015100324, -0.026288012, 0.009793813, 0.02253433, -0.0068226564, 0.02824433, 0.020553557, 0.01470906, 0.020150067, 0.008497753, 0.005771136, 0.0040165638, -0.0073484164, -0.041840736, 0.025921203, 0.011939649, 0.035556067, -0.0009544688, -0.025603302, 0.0245151, 0.029882746, -0.014317797, 0.039419793, 0.02504086, 0.011982443, 0.0044873026, 0.017093321, -0.003172902, -0.002807621, -0.0054226667, 0.021739574, 0.03379538, 0.038001463, 0.014073256, 0.035409342, -0.042598806, 0.022008568, 0.02204525, 0.0064008255, 0.0067309537, 0.016567562, -0.0027694115, 0.008271554, -0.0045942888, 0.009689883, -0.018829552, 0.0047685234, 0.018169295, 0.00091855205, 0.06641697, -0.00426416, -0.029100219, 0.011737904, 0.001779026, -0.0039829398, -0.039199706, -0.0069143586, 0.002287974, 0.012147507, 0.015577176, 0.010723064, -0.022302017, -0.00007455594, 0.034749083, -0.003255434, 0.019856619, 0.02621465, -0.05130442, 0.02038238, 0.01458679, 0.026288012, -0.013217368, -0.017068867, -0.033477478, 0.03768356, 0.052869473, -0.022350924, -0.022412058, 0.003374647, -0.037977006, -0.015405998, -0.0038606697, 0.0070244013, -0.01632302, 0.03386874, 0.012208642, -0.0045912317, -0.011095987, 0.029833836, 0.011523931, -0.0047379555, 0.0026899362, -0.00072177406, -0.02597011, -0.010007785, -0.020993728, 0.002410244, 0.010215644, -0.004799091, 0.011407775, -0.0019517321, 0.028146513, -0.0029956107, 0.0002987969, 0.039004073, -0.029515935, -0.023035634, -0.02232647, 0.031692337, 0.019453129, -0.014366704, -0.006150172, -0.018462744, 0.004988609, -0.0045117564, 0.018670602, 0.018328248, -0.015907304, 0.0031759588, -0.026605913, -0.006150172, -0.016946597, -0.0020969275, 0.020969275, -0.01689769, 0.020076705, 0.0012761913, -0.007813042, 0.012282004, 0.01779026, 0.0026792376, 0.022497648, -0.0052698296, 0.037121117, 0.020272337, 0.0033868742, -0.007605183, 0.008228759, 0.024368376, 0.011658428, -0.007788588, 0.024221653, -0.015540495, 0.033453025, 0.019220816, 0.008791201, -0.025260946, 0.030518549, 0.026850453, -0.033624202, 0.0075990697, -0.010643588, 0.025627755, 0.010845333, 0.03034737, 0.00014844321, -0.005031403, -0.0141099375, -0.03225478, 0.014085484, -0.017472358, 0.022412058, -0.004242763, -0.013828717, -0.048638936, 0.028757863, 0.0034510659, -0.0112243695, -0.02038238, 0.01616407, -0.010105601, -0.003423555, 0.05502142, -0.021115998, -0.007666318, 0.019856619, -0.01705664, 0.03528707, 0.018059254, 0.010857561, 0.018878462, -0.026434736, -0.021653986, 0.014635698, -0.041718464, 0.04044686, -0.0014450765, -0.0062174206, 0.011456682, -0.032230325, -0.036363047, -0.023683665, 0.010117828, -0.056390844, 0.020480195, 0.022448739, 0.017276727, 0.03059191, -0.022094157, -0.015785035, -0.022656599, 0.030420732, 0.017985892, -0.014904692, 0.0038270454, -0.04643808, -0.0040349043, -0.023573622, 0.007220033, -0.0017347031, 0.0025768366, 0.011303845, -0.0056610927 ]
2401.09350
328
# 9.2.3 Extensions Since the study by J´egou et al. [2011], many variations of the idea have emerged in the literature. In the original publication, for example, J´egou et al. [2011] used PQ codes in conjunction with the clustering-based retrieval framework presented earlier in this chapter. In other words, a collection X is first clustered into C clusters (“coarse-quantization”), and each cluster is subsequently represented using its own PQ codebook. In this way, when the routing function identifies a cluster to search, we can compute distances for data points within that cluster using their PQ codes. Later, Babenko and Lempitsky [2012] extended this two-level quantization further by introducing the “inverted multi-index” structure. When combining PQ with clustering or coarse-quantization, instead of producing PQ codebooks for raw vectors within each cluster, one could learn codebooks for the residual vectors instead. That means, if the centroid of the i-th cluster is µi, then we may quantize (u − µi) for each vector u ∈ ζ −1(i). 131 132 9 Quantization
2401.09350#328
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 328, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "# 9.2.3 Extensions\nSince the study by J´egou et al. [2011], many variations of the idea have emerged in the literature. In the original publication, for example, J´egou et al. [2011] used PQ codes in conjunction with the clustering-based retrieval framework presented earlier in this chapter. In other words, a collection X is first clustered into C clusters (“coarse-quantization”), and each cluster is subsequently represented using its own PQ codebook. In this way, when the routing function identifies a cluster to search, we can compute distances for data points within that cluster using their PQ codes. Later, Babenko and Lempitsky [2012] extended this two-level quantization further by introducing the “inverted multi-index” structure.\nWhen combining PQ with clustering or coarse-quantization, instead of producing PQ codebooks for raw vectors within each cluster, one could learn codebooks for the residual vectors instead. That means, if the centroid of the i-th cluster is µi, then we may quantize (u − µi) for each vector u ∈ ζ −1(i).\n131\n132\n9 Quantization", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.024975453, 0.01998297, 0.026643958, -0.0051228353, 0.016502568, -0.013804282, 0.029746337, 0.025887916, -0.049898762, 0.036707137, 0.043068316, -0.010734491, -0.043667935, 0.034308657, 0.02682645, 0.014051951, 0.033604756, -0.021325596, -0.022146814, 0.05049838, -0.013465366, -0.03829743, -0.02547079, -0.016007232, -0.026109515, -0.023802284, 0.00019756482, 0.06726166, 0.03323977, -0.022629116, -0.010643245, -0.015120837, -0.012735395, -0.013869458, -0.033604756, -0.0070715984, -0.05407003, 0.047369935, -0.004897978, 0.039809514, -0.011953283, 0.0038062797, -0.0438765, -0.027113225, 0.01160785, 0.021925215, 0.008824834, -0.049273074, -0.037437107, 0.04849096, -0.0016448799, 0.04791741, -0.024506185, -0.050811227, -0.013908563, -0.0041875597, -0.017584492, -0.016789343, 0.07054653, -0.027347859, 0.008785728, -0.019774405, 0.035351474, 0.011659991, 0.018588202, 0.03553397, -0.009808991, 0.002916627, 0.0032115486, 0.012663702, -0.02487117, 0.04789134, 0.036733206, -0.016072407, 0.045518935, 0.0213647, -0.051176213, 0.04971627, -0.021325596, -0.012735395, 0.0030534966, -0.019383349, 0.048960228, -0.020374024, -0.010916984, -0.007423549, -0.04403292, 0.008394672, -0.059544813, -0.013986775, -0.051176213, 0.022694292, -0.04890809, 0.02171665, 0.031440914, 0.010649762, 0.03058059, 0.0060385587, 0.0063644387, -0.050107326, -0.03063273, -0.017701808, 0.037150335, -0.03162341, 0.07576061, -0.031675547, -0.039235964, 0.05912769, -0.011588297, -0.0013059645, -0.0029394387, 0.040904474, -0.028442817, 0.051358707, 0.009281065, -0.030502379, -0.066010274, -0.043068316, 0.00309912, 0.016450427, -0.015329401, -0.028964225, 0.00573549, 0.003050238, 0.0036172692, -0.055321407, 0.032275166, -0.051176213, -0.00812745, -0.017467175, 0.025392579, -0.014169267, 0.03884491, 0.011034301, -0.0318059, -0.020374024, -0.013256803, 0.015994197, -0.015733492, -0.037802093, 0.02378925, -0.03639429, 0.011275452, 0.017936442, -0.050837297, 0.019096576, -0.05798059, 0.038062796, -0.0016848001, 0.017845195, -0.050524455, -0.04285975, -0.025418648, -0.015016556, -0.03769781, -0.0062112752, -0.01595509, 0.021156138, -0.037958518, 0.016541675, 0.016737202, 0.003656375, 0.0076516652, -0.025900953, 0.040409133, -0.018679447, -0.0814961, -0.0021328854, -0.04974234, 0.0032767246, -0.014560323, -0.07602131, -0.008140486, 0.0026347407, 0.011132065, -0.014182302, -0.030971646, -0.036576785, -0.018796764, -0.016046338, 0.0067392006, 0.013009135, 0.01655471, 0.028599238, 0.00035907916, 0.007110704, -0.0031822193, -0.012689772, 0.00049655983, 0.050654806, -0.009092055, 0.0009808992, 0.04862131, 0.03868849, 0.007723359, -0.017519316, 0.009698193, 0.003104008, -0.038584206, -0.034074023, 0.006012488, 0.037176404, 0.019344244, 0.002212726, -0.016658992, -0.056885634, -0.0057322313, 0.0001229179, -0.031310562, -0.0043667937, -0.030372027, -0.005393316, 0.030111322, 0.0077103237, 0.005132612, -0.0010143019, -0.039105613, 0.04463254, -0.032405518, -0.008746622, -0.0031985133, 0.0048653902, -0.008629305, 0.024284586, -0.022811608, -0.017154329, 0.009085538, -0.06043121, 0.03764567, -0.07085937, 0.059649095, -0.00063546625, -0.0053346576, -0.028886013, -0.0069607995, 0.0056931255, -0.01402588, -0.003933373, -0.022055566, -0.013113416, -0.03952274, 0.004673121, 0.018914081, -0.004272288, 0.0045460276, 0.022185918, -0.019604947, -0.014273549, 0.027843198, -0.060066223, -0.014038916, 0.020569554, -0.023671933, -0.029146718, -0.043068316, -0.007599524, 0.013276356, 0.026904663, 0.004735038, 0.019292103, -0.0029215151, -0.059909802, 0.001582148, 0.01948763, 0.016215794, -0.002550012, -0.0024587654, 0.008199144, -0.04700495, -0.031519126, -0.032066602, -0.012116223, 0.057146337, 0.021625405, 0.0012570826, 0.017428068, -0.007762464, -0.032744434, 0.01720647, -0.015772598, -0.032770503, 0.0028644863, 0.029772406, 0.020491341, 0.027738916, -0.0045134397, -0.0001413505, 0.044476118, -0.030658802, -0.015081732, 0.043798286, -0.017401999, -0.02163844, -0.037150335, -0.0033288654, 0.015394577, -0.022681257, -0.06788734, -0.01595509, 0.01495138, 0.021468982, 0.024336727, 0.024753854, 0.0120119415, -0.064081065, 0.027452141, 0.022185918, -0.00011365069, -0.016776308, 0.011105995, 0.0022322787, 0.002127997, -0.011405804, 0.03177983, -0.04445005, -0.04650961, 0.024323693, -0.0029459563, 0.0039431495, -0.005067436, -0.004917531, -0.043772217, 0.016632922, -0.022381447, 0.007390961, 0.009176784, -0.07179791, -0.027895337, 0.019969933, -0.034569364, 0.021312559, -0.012038011, 0.027243577, 0.04139981, -0.05354862, -0.012924406, -0.028521027, 0.050733015, -0.047682777, -0.0096786395, -0.010141389, 0.0098676495, 0.014456042, -0.014156233, -0.016280971, 0.03363083, 0.05336613, 0.041504093, 0.037150335, -0.0076647005, -0.02737393, -0.03952274, 0.032170884, -0.021377735, 0.059492674, -0.032822646, 0.04257298, -0.026213797, -0.068930164, 0.015146907, -0.035429686, 0.008342531, 0.042625118, 0.0075734537, -0.01655471, 0.0044775927, -0.035221122, -0.01682845, -0.026135586, 0.016802378, -0.038010657, -0.022811608, -0.024271552, -0.06908658, -0.018053759, -0.0013695112, -0.00006354662, 0.0647589, 0.05349648, 0.051176213, 0.04531037, -0.008186108, -0.017662702, 0.012292198, 0.05855414, 0.018822836, 0.012240057, 0.005207564, -0.06720951, 0.018588202, -0.058189154, 0.003881232, 0.027817126, 0.028547099, -0.027035015, -0.01682845, 0.021351665, 0.023124453, 0.032066602, 0.0040767603, -0.0028481921, -0.017936442, -0.011079924, -0.009535252, -0.038766697, -0.012970028, 0.015863843, 0.030997716, 0.017649667, 0.0050739534, 0.01133411, -0.025927022, 0.019161751, -0.022198953, -0.03196232, -0.014664605, -0.024662606, 0.023606755, -0.014038916, 0.049507707, 0.0111711705, -0.01821018, -0.048829876, -0.003985514, -0.011829448, -0.011366699, -0.026800381, -0.02667003, 0.04403292, -0.05159334, 0.0086162705, 0.022850715, -0.0060222647, -0.02394567, 0.000008115178, -0.022081636, 0.008042721, 0.00070227165, 0.006895623, -0.015537964, -0.042885825, 0.0030860847, -0.034673646, -0.055060703, -0.0064980495, -0.026383255, 0.018366603, 0.003965961, 0.078576215, -0.0004069428, -0.062621124, 0.009685157, -0.005471527, 0.006309039, -0.013791246, -0.0624647, 0.04971627, -0.0071172216, -0.004523216, -0.050446242, -0.0037150334, 0.01913568, -0.024076022, 0.06491532, 0.014338725, 0.043485444, -0.061526164, -0.0137260705, 0.02667003, -0.034308657, -0.010767079, -0.032874785, 0.037880305, -0.027660703, 0.0026054115, -0.004379829, 0.052401524, -0.013556613, 0.0027993103, -0.017727878, 0.03579467, -0.059440535, -0.018327497, 0.034178305, 0.0074626547, 0.07284072, 0.03308335, 0.02481903, 0.028755661, -0.0022339083, -0.056468505, -0.025770599, 0.04385043, -0.01435176, 0.002277902, 0.019422455, -0.001138951, -0.0015715569, 0.020660799, 0.015811704, 0.033265844, 0.04473682, 0.044319697, -0.0050739534, 0.00010020813, 0.060483348, 0.021468982, -0.007755947, 0.0033663416, 0.05161941, 0.08274748, 0.010343435, -0.0026363702, -0.030319886, -0.012539867, 0.025549002, 0.015199048, -0.018549096, -0.0077754995, 0.0039431495, -0.012272645, -0.03840171, -0.02444101, 0.025588106, -0.029511703, -0.017310752, -0.04836061, -0.105689436, -0.044085063, -0.06809591, -0.009600428, -0.025027594, -0.032196954, 0.006771789, -0.026630923, 0.010943054, -0.025653282, 0.009600428, 0.0038649382, 0.0120119415, -0.027347859, 0.0015422277, -0.0063970266, 0.010467269, 0.033891533, 0.00037802092, 0.030919505, -0.030658802, -0.020165462, 0.021221314, -0.011705614, -0.01933121, -0.000614284, -0.005921242, 0.016789343, 0.027191436, 0.025079735, 0.024388868, -0.015498858, -0.03292693, 0.000023791794, 0.005403092, 0.033969745, 0.010643245, 0.0022697551, 0.019552806, 0.010675833, -0.041478023, 0.00065909256, 0.0038649382, -0.033604756, -0.004588392, 0.012970028, -0.016867556, 0.008179591, -0.014377831, -0.0082903905, -0.034282587, 0.02932921, 0.0073518553, 0.00065135286, 0.005605138, 0.016372217, -0.00557255, -0.030528449, -0.0059799002, 0.041790865, -0.017936442, -0.0232157, 0.032431588, 0.0033728592, -0.013973739, -0.019735299, -0.03642036, -0.030267745, 0.03566432, -0.026552713, -0.0101935305, -0.036446434, 0.010226118, 0.0013605495, 0.010558516, -0.019187821, -0.020074215, -0.022928925, 0.021886108, 0.009307136, 0.018731588, 0.029720267, -0.003737845, 0.031310562, -0.015290295, -0.012878782, -0.018301427, 0.001625327, -0.020973645, -0.010395575, -0.05094158, 0.029642055, -0.03235338, 0.011985871, -0.023306945, -0.010930019, -0.0033956708, 0.0069216937, 0.038636345, 0.0051554237, -0.05292293, 0.010675833, -0.0044221934, -0.005689867, 0.0028775213, -0.007997098, -0.0036922216, 0.011242864, 0.027035015, 0.014012845, 0.0035390581, 0.029824547, 0.009059467, 0.026930733, 0.04257298, -0.0016057743, -0.041034825, 0.023124453, -0.0070390105, 0.0049240487, 0.023932636, -0.0102782585, -0.01652864, -0.018314462, -0.017037012, 0.02930314, -0.0064589437, 0.032770503, -0.02742607, -0.014390866, -0.00017485506, -0.010662798, 0.006028782, -0.044189345, -0.018236252, 0.023580685, -0.039235964, -0.0060483348, 0.017597526, -0.020830257, 0.007723359, -0.021143101, 0.025549002, 0.004392864, 0.04958592, 0.042937964, 0.0032571717, -0.014091056, 0.033161562, -0.017089153, 0.003164296, -0.004031137, -0.02236841, -0.008948668, 0.015668316, -0.042077642, 0.035195053, -0.017063083, -0.020269744, -0.010011037, 0.004572098, -0.00011324334, -0.021377735, 0.014482113, -0.007293197, 0.010473787, 0.0039073024, -0.0072345384, 0.0078276405, -0.013269838, 0.024454044, -0.017545385, -0.046796385, 0.007065081, 0.016398288, -0.015459753, -0.0035390581, -0.033396196, -0.026031304, -0.042286202, 0.02601827, 0.037176404, -0.010630209, 0.0063807326, 0.023306945, -0.015616175, -0.008929115, -0.0077754995, 0.014234443, -0.026305042, 0.000093996045, 0.031675547, -0.015785633, 0.0040572076, 0.009437488, -0.029772406, -0.026956802, 0.0019878687, -0.008492436, -0.053313985, -0.008720552, -0.0006749792, 0.028286394, -0.040226642, 0.03310942, 0.025340438, -0.0036954805, 0.026982874, 0.010695386, -0.016359182, 0.05625994, -0.03759353, 0.00082162523, -0.018001618, -0.042937964, 0.00033239773, -0.013341532, 0.0064980495, 0.030763082, 0.01813197, 0.005438939, -0.005116318, -0.0069412463, -0.014169267, 0.010916984, -0.012644148, 0.006765271, 0.02812997, -0.002965509, -0.0051912703, 0.008837868, -0.018171076, 0.020556517, 0.0005548109, 0.024036918, -0.03438687, 0.016802378, 0.007521313, 0.001981351, -0.006771789, -0.03571646, 0.008472883, -0.028547099, -0.004360276, 0.04966413, 0.015264224, 0.020673834, 0.011914177, -0.01402588, 0.016932731, 0.001582148, -0.03954881, 0.034569364, -0.0051684584, -0.01785823, -0.03569039, -0.043641865, 0.0030290557, 0.008388154, -0.00763863, 0.0030453496, 0.009685157, -0.028807802, 0.018327497, 0.028964225, 0.005080471, 0.006804377, -0.00970471, 0.011627402, -0.013452332, -0.12732787, -0.0108452905, -0.0019634278, 0.0023772954, 0.026161656, 0.00733882, 0.008055757, -0.0092158895, 0.0027031756, -0.021077925, -0.004705709, -0.018014653, 0.034856137, 0.017193435, -0.031597335, -0.008948668, 0.007293197, -0.01081922, 0.009861132, -0.008694481, 0.012305234, 0.0018852165, 0.03438687, 0.02579667, -0.018275358, 0.012481209, 0.0008138856, -0.027817126, 0.0152511895, -0.002892186, -0.005471527, -0.016958801, -0.022850715, 0.0536529, -0.0096786395, -0.014169267, 0.006915176, 0.01500352, 0.006370956, -0.048725594, 0.0032262132, -0.028599238, -0.022146814, -0.00044156756, 0.014064985, -0.01467764, 0.029720267, -0.0022632375, 0.0024913535, 0.020465272, -0.005650761, -0.01933121, 0.0065599666, -0.0073518553, 0.03503863, -0.003962702, 0.026252903, -0.0120119415, -0.02098668, -0.0029231447, 0.005937536, 0.017232541, 0.044111133, 0.0061493577, -0.02547079, -0.026383255, -0.043381162, 0.03996594, 0.017506279, -0.011816413, -0.027817126, 0.009150714, 0.010147907, 0.02998097, -0.0016163654, -0.021260418, 0.03055452, 0.0017173882, -0.048230257, -0.031649478, 0.0020416388, -0.023176594, 0.012077117, -0.005178235, -0.0066055898, -0.020999715, 0.028521027, -0.060744055, -0.012833159, 0.022772502, 0.0025320884, 0.01465157, -0.0074170316, 0.019865653, 0.035872884, -0.017271645, 0.0013499584, -0.022576975, 0.0336569, 0.018001618, 0.039939865, 0.01598116, 0.007795052, -0.040409133, -0.03754139, 0.011490533, 0.012442103, -0.026357183, 0.01755842, -0.0027520575, 0.029772406, -0.0005454419, -0.023463368, -0.005403092, -0.014117126, 0.024805995, 0.024232445, 0.022485727, 0.012246575, -0.026213797, 0.028547099, -0.0014444636, 0.008583683, 0.004389605, -0.017297717, -0.01848392, 0.022459658, 0.011321075, -0.035898954, 0.013543578, -0.017571457, 0.050133396, -0.01016746, 0.0401745, 0.011581779, -0.007703806, -0.01818411, 0.0020888916, -0.06053549, 0.014377831, 0.03751532, 0.014390866, 0.051723693, 0.0048425784, -0.0042983587, 0.00033932267, -0.006175428, -0.024271552, -0.021182207, 0.019813512, 0.012344339, 0.009463559, -0.0014656459, 0.02479296, 0.00891608, 0.03712426, 0.016541675, -0.012435585, 0.037932444, 0.0025272004, 0.023815319, 0.028521027, 0.0037606566, -0.017923407, 0.008518506, -0.0016546563, -0.019631019, -0.004559063, 0.0005507374, 0.05354862, 0.020947574, -0.06913873, 0.03996594, 0.06684453, 0.010610657, 0.018614272, 0.015290295, 0.012670219, 0.006765271, -0.023411227, -0.009007326, 0.009124643, -0.021964319, 0.016789343, 0.015798667, 0.026187725, 0.0047415555, -0.051827975, 0.027947478, 0.034777924, 0.03496042, 0.032770503, 0.020204566, 0.016241865, -0.0022469433, 0.024427973, -0.04275547, -0.00557255, 0.004034396, 0.014638535, -0.019070504, 0.02990276, 0.0057778545, -0.0017336822, 0.0032392484, 0.005670314, -0.0031919957, -0.022198953, -0.010460752, 0.03811494, -0.015042626, 0.014821027, -0.014390866, 0.0027113226, -0.02133863, -0.019565843, -0.015199048, 0.015016556, -0.01785823, 0.0042299237, -0.015564035, -0.016085442, -0.058502, 0.034725785, -0.014990485, -0.013100381, 0.050081257, -0.032014463, -0.04976841, 0.004425452, 0.0012782648, 0.032040533, -0.0034608468, -0.016763274, -0.06455033, 0.012865747, -0.027817126, -0.035586108, 0.010284777, -0.03814101, 0.038558137, 0.016307041, 0.0332137, 0.033422265, 0.0034869171, -0.043537583, 0.026878592, 0.0017695291, -0.024284586, -0.03449115, -0.0066935774, -0.029511703, -0.0016513974, -0.010173977, -0.006491532, -0.004216889, -0.033969745, 0.03196232, 0.04888202, -0.005784372, 0.0054128687, 0.0022273907, 0.045623217, -0.02359372, -0.005425904, -0.023476403, 0.008244767, 0.0066805426, -0.011203758, -0.024128163, -0.029537773, 0.0071693626, -0.0032734657, -0.0146255, 0.011666508, -0.032040533, 0.0070781163, 0.015459753, 0.021455947, -0.034126166, -0.027556423, -0.00035419094, -0.02930314, 0.01813197, 0.015720457, -0.0042071124, -0.025640247, -0.0063188155, 0.038714558, -0.01753235, 0.03868849, -0.004953378, 0.020308848, 0.017415034, 0.011229829, -0.03292693, -0.029824547, 0.038479924, 0.029772406, -0.026630923, 0.020022074, -0.0027553164, 0.025288297, 0.055634253, 0.008446813, -0.0014697193, -0.029459562, -0.0027602045, -0.032979067, -0.0051912703, 0.0038290913, 0.012487726, 0.018979259, 0.016202759, 0.014117126, 0.011366699, -0.007214986, -0.004937084, -0.010890913, -0.0002385035, -0.020243673, 0.028547099, 0.008055757, 0.014807993, -0.008173074, -0.047369935, -0.009254996, 0.012924406, 0.025418648, 0.0075278305, -0.022889819, 0.039731305, 0.022902854, -0.004255994, -0.027608564, 0.028521027, 0.0050120363, -0.020973645, -0.016737202, 0.0043504997, 0.0056833494, -0.013426261, 0.014312655, -0.02256394, -0.025705423, 0.0139998095, 0.039209895, 0.019826546, 0.01948763, -0.021612369, 0.044971455, -0.0066805426, -0.01527726, 0.0127484305, 0.01239648, 0.012161846, 0.014247479, 0.013100381, -0.033265844, -0.020725975, -0.018914081, 0.013361085, -0.017167365, 0.0070064226, -0.012859229, 0.013882493, -0.012657184, 0.040044148, 0.010421646, 0.0028661157, 0.006732683, 0.006771789, 0.020582588, -0.011373216, -0.010825737, -0.019839581, 0.0015479305, 0.017232541, -0.03376118, 0.008296908, -0.018197145, -0.022238059, -0.01133411, -0.008133967, -0.020673834, 0.0001413505, -0.0033663416, 0.01913568, 0.046796385, -0.01595509, 0.020530447, 0.023280876, 0.0024783183, 0.032405518, -0.0010061548, -0.0049338248, 0.061421882, 0.013530542, -0.01783216, -0.026852522, -0.0072019505, -0.011914177, 0.03970523, -0.018940153, -0.022694292, -0.011666508, -0.01323725, 0.021625405, 0.0109821595, 0.0041451952, -0.030789154, -0.0057322313, -0.01848392, 0.015172978, -0.01068235, -0.023306945, -0.0152511895, 0.012781018, -0.012018459, 0.018275358, 0.006928211, 0.015055661, -0.014104092, 0.0025842292, -0.00026111145, 0.000267018, 0.022329306, 0.016150618, 0.0040735016, 0.060274787, 0.004141936, 0.0047969553, -0.029016366, -0.014012845, 0.01655471, 0.00038759367, -0.0043374645, 0.016502568, 0.0014004698, 0.034074023, -0.008661893, 0.011940247, 0.025210086, -0.0036237868, -0.013061275, -0.007260609, 0.0023561132, -0.028416745, 0.003104008, 0.0050087776, -0.041086964, -0.0006668322, -0.007553901, 0.028103901, 0.014051951, -0.0070324927, -0.021299524, -0.025927022, 0.031049857, 0.011712131, 0.015225119, -0.016541675, 0.012774501, 0.0181059, -0.012024976, 0.021429876, -0.0452843, 0.019722264, 0.012487726, -0.0037280684, 0.013491437, 0.005478045, -0.006129805, 0.029615985, 0.012024976, 0.030997716, 0.00028881125, -0.016919695, 0.010271741, 0.0064035445, 0.006947764, 0.03383939, 0.019370314, 0.039809514, 0.028442817, -0.00010957719, -0.022772502, 0.0071172216, 0.010962607, 0.034569364, 0.0061656516, -0.0023121194, 0.0007030864, 0.016515605, 0.0133480495, 0.004014843, -0.00052018615, -0.035429686, 0.0043472406, -0.027295718, -0.016841484, 0.013413225, -0.007873263, 0.023984777, -0.025900953, 0.028390676, -0.006247122, 0.016085442, 0.0035781637, 0.0038551618, 0.022707326, 0.025614178, -0.024454044, -0.02071294, 0.009737298, 0.02862531, 0.008929115, -0.024688678, -0.017623596, -0.027817126, -0.013934634, 0.029016366, 0.009320172, -0.014169267, -0.00750176, -0.027008943, -0.002892186, 0.002680364, -0.0037052569, 0.004917531, -0.000053770218, -0.01587688, 0.030241674, 0.025079735, 0.005983159, -0.002457136, -0.0032001426, 0.015107802, 0.03303121, 0.0060939584, 0.011066888, -0.022042532, 0.030606661, 0.0055855853, 0.02128649, 0.02291589, 0.011549192, -0.00079311075, 0.014156233, 0.02459743, -0.026318079, 0.009424453, 0.003473882, -0.011353663, 0.029694196, -0.027243577, 0.022003425, 0.009535252, 0.010799667, 0.000044528464, 0.03553397, -0.025340438, 0.031075928, 0.034803998, -0.02990276, 0.011190724, -0.009613464, 0.0058788774, -0.019696195, -0.02992883, 0.043615796, -0.0068565174, 0.015186014, -0.026643958, 0.023684967, 0.04085233, 0.009039914, 0.0023724074, 0.005673573, 0.0032311014, -0.046066415, -0.01527726, 0.0025907469, -0.0028628567, 0.003923597, -0.0022827901, -0.001027337, -0.033317983, 0.011881589, 0.020660799, -0.0011821301, -0.0058756187, 0.037358895, -0.034647573, 0.013660895, 0.03496042, 0.0067457184, -0.005442198, -0.0025174238, -0.036576785, 0.019161751, 0.07946261, -0.03232731, -0.03125842, 0.019891722, -0.0052988105, -0.005852807, -0.020856328, -0.007860228, -0.0022599786, -0.004425452, -0.00081021944, 0.0051912703, 0.021390771, 0.010571551, 0.029485634, -0.026487537, 0.061421882, -0.001261156, 0.0035292816, -0.007755947, -0.010434682, -0.008870456, -0.013556613, 0.0050413655, 0.033474404, 0.012357374, 0.033317983, -0.008557612, -0.0035390581, 0.026513606, -0.008238249, -0.00004045496, -0.01856213, -0.0014990486, 0.040435206, -0.005774596, 0.0031545195, -0.014403901, 0.01978744, 0.018249286, 0.00030042074, 0.021703616, -0.024558326, 0.0020758563, -0.027217507, -0.0021622146, -0.011614367, -0.002062821, 0.0059766416, 0.007273644, 0.012761465, -0.01318511, -0.016359182, 0.014182302, 0.018549096, 0.0026298526, -0.0095417695, 0.007723359, 0.0033011655, 0.00019491704, -0.007521313, -0.003038832, -0.005347693, -0.017923407, 0.0022632375, -0.02256394, 0.03696784, -0.02256394, 0.023176594, -0.007619077, -0.015942056, -0.0072997147, -0.007873263, 0.03897526, -0.03193625, -0.0036954805, -0.012383444, -0.01239648, 0.0065371552, 0.04533644, 0.008909563, 0.0015625951, -0.016698098, 0.0039561847, 0.045232162, 0.020765081, 0.013465366, -0.003161037, -0.010421646, 0.011523121, -0.006471979, -0.011112512, -0.016997907, 0.0325098, 0.034647573, -0.02672217, 0.008394672, 0.02639629, -0.018496955, -0.0064491676, 0.0055367034, -0.030241674, 0.033969745, 0.048543103, -0.02747821, 0.018653378, 0.0026510349, 0.010317365, 0.02674824, -0.043537583, 0.022785537, -0.008935633, -0.010408611, 0.008446813, -0.03900133, -0.032275166, -0.012917887, -0.0012497503, -0.028547099, -0.010812703, 0.03000704, 0.026852522, 0.03712426, -0.02742607, -0.03193625, -0.015811704, 0.004669862, -0.02386746, -0.022902854, 0.024323693, -0.030267745, 0.0041289013, -0.016932731, 0.026591817, 0.041738726, -0.025809705, 0.011686061, -0.0061493577 ]
2401.09350
329
131 132 9 Quantization This was the idea first introduced by J´egou et al. [2011], then developed further in subsequent works [Kalantidis and Avrithis, 2014, Wu et al., 2017]. The PQ literature does not end there. In fact, so popular, effective, and efficient is PQ that it pops up in many different contexts and a variety of applications. Research into improving its accuracy and speed is still ongoing. For example, there have been many works that speed up the distance com- putation with PQ codebooks by leveraging hardware capabilities [Johnson et al., 2021, Andre et al., 2021, Andr´e et al., 2015]. Others that extend the algorithm to streaming (online) collections [Xu et al., 2018], and yet other studies that investigate other PQ codebook-learning protocols [Liu et al., 2020, Yu et al., 2018, Chen et al., 2020, Jang and Cho, 2021, Klein and Wolf, 2019, Lu et al., 2023]. This list is certainly not exhaustive and is still growing. # 9.3 Additive Quantization
2401.09350#329
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 329, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "131\n132\n9 Quantization\nThis was the idea first introduced by J´egou et al. [2011], then developed further in subsequent works [Kalantidis and Avrithis, 2014, Wu et al., 2017]. The PQ literature does not end there. In fact, so popular, effective, and efficient is PQ that it pops up in many different contexts and a variety of applications. Research into improving its accuracy and speed is still ongoing. For example, there have been many works that speed up the distance com- putation with PQ codebooks by leveraging hardware capabilities [Johnson et al., 2021, Andre et al., 2021, Andr´e et al., 2015]. Others that extend the algorithm to streaming (online) collections [Xu et al., 2018], and yet other studies that investigate other PQ codebook-learning protocols [Liu et al., 2020, Yu et al., 2018, Chen et al., 2020, Jang and Cho, 2021, Klein and Wolf, 2019, Lu et al., 2023]. This list is certainly not exhaustive and is still growing.\n# 9.3 Additive Quantization", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.012993048, 0.02178065, 0.007164327, 0.0123218205, 0.013869753, -0.021136818, 0.019629981, 0.033451788, -0.06964328, 0.0065102223, 0.05994473, -0.003428055, -0.06449264, 0.040383242, 0.050355766, -0.0026831978, 0.026273765, -0.033807952, 0.028492926, 0.034438085, -0.02586281, -0.050903708, -0.0033869594, -0.006578715, -0.007712268, -0.04246542, -0.01973957, 0.046602372, 0.016534116, -0.041369535, 0.011438265, -0.020766959, -0.034712054, -0.019260122, -0.019410806, -0.009849237, -0.04189008, 0.03287645, -0.032849055, 0.019903952, 0.0032979192, -0.04846537, -0.048876327, -0.005441738, 0.04049283, 0.04780784, -0.0035205202, -0.022534069, -0.04290377, 0.059889935, 0.0041711996, 0.08262948, -0.037040804, -0.015205359, 0.004297911, 0.0054451623, -0.018493004, 0.003015387, 0.06745152, -0.01641083, 0.031424407, -0.04441061, 0.02493131, 0.017643696, 0.0032123034, 0.0008197709, -0.0133012645, 0.02835594, 0.010431424, 0.0015025566, -0.02649294, 0.046903737, 0.025451854, 0.0005492251, 0.022123113, 0.031369615, -0.046218812, 0.07567064, 0.0062122797, -0.025780618, 0.027602522, 0.0097328, 0.032410704, -0.0426024, -0.0046403743, 0.017136851, -0.017931364, 0.038246274, -0.049725633, -0.019671077, -0.03076688, 0.020794356, -0.027944984, 0.0011172857, 0.013102636, -0.022588862, 0.039588727, 0.059780348, 0.026246367, -0.041643504, -0.022410782, -0.009397185, 0.04734209, -0.03213673, 0.06515017, 0.011013611, -0.019616283, 0.031451806, -0.018260129, -0.0019058068, -0.027232662, 0.016177954, -0.051013295, 0.013684823, -0.0008317571, -0.01528755, -0.020999834, -0.0639447, 0.0039143525, -0.00060915615, -0.04783524, -0.021945031, 0.012753324, 0.003763669, 0.008376646, -0.068547405, 0.022383384, -0.071561076, 0.0067704944, 0.0032242895, 0.039150376, -0.0054588607, 0.014534132, -0.01250675, 0.0069896705, -0.009390336, 0.021917634, 0.018260129, -0.025534045, -0.03734217, 0.03668464, -0.024616243, 0.005116398, 0.021794347, -0.025629934, -0.005020508, -0.04142433, 0.033670966, -0.0066746045, -0.0032790836, -0.03402713, -0.020191621, -0.0194656, -0.021109423, -0.030465512, -0.0011318404, -0.0008625788, 0.04068461, -0.010308137, -0.0056848866, -0.00084588374, 0.0044417456, 0.024355972, -0.010588957, 0.054985866, -0.0130341435, -0.07397202, -0.02808197, -0.037013404, -0.014150573, 0.0058458443, -0.0398353, 0.008404043, -0.019794364, 0.016643703, 0.012294423, -0.029588807, -0.042684592, -0.044629782, -0.033807952, 0.0003471719, 0.019972445, -0.022301193, 0.04567087, 0.03326001, -0.03550657, -0.006828713, -0.017465616, 0.015835492, 0.049314678, -0.014986183, 0.010356083, 0.05846529, 0.05457491, 0.021725856, -0.044438004, 0.03454767, 0.0124108605, -0.042301036, -0.07123231, 0.01834232, 0.030054556, 0.022164209, 0.006023925, 0.015780697, -0.059451584, -0.012623188, -0.014383447, -0.043396916, -0.020808054, -0.012657434, 0.033451788, 0.04087639, -0.002515391, -0.0123218205, 0.02010943, -0.025451854, 0.041588712, -0.04224624, 0.009691704, -0.022999818, 0.0040205163, 0.014986183, 0.04364349, -0.009767046, -0.0026797734, 0.022123113, 0.009910881, 0.05021878, -0.06783508, 0.046218812, -0.011102652, -0.024410766, -0.011643743, 0.012041001, -0.031177836, 0.0005021364, 0.008116374, -0.045177724, -0.006404059, -0.012383464, 0.0041643507, 0.025616236, -0.0296436, -0.025040898, 0.027958682, -0.037259977, -0.018766975, 0.013602632, -0.045917444, -0.02010943, -0.0054999567, -0.013876602, 0.011445114, -0.03994489, -0.032218922, 0.02121901, 0.0012902295, -0.014602624, 0.04013667, -0.029150454, -0.073807634, -0.01602727, -0.001385263, -0.0017499861, 0.02631486, -0.017082056, 0.0052876296, -0.017246438, -0.030410718, -0.013376607, -0.008013635, 0.036109302, 0.020725863, -0.009397185, -0.00043385787, -0.0024314877, 0.0015873162, -0.012102644, 0.027753204, -0.002112997, 0.02093134, 0.038027097, 0.03679423, 0.031068247, 0.00016609457, -0.0018784098, 0.045424297, -0.030273734, -0.008739657, 0.029040866, -0.008732808, -0.009760196, -0.05115028, -0.000073469026, 0.018821768, -0.0003651512, -0.06328717, -0.0043492806, 0.0028492925, 0.046081826, 0.014794404, 0.0003080027, -0.0036643546, -0.05180781, 0.042848974, 0.020342305, -0.0035924374, -0.012123192, 0.0027260059, 0.021164216, 0.026191574, -0.005547901, 0.003433192, -0.052794103, -0.07123231, 0.017657394, 0.0027311428, 0.0019948473, -0.018314924, 0.0066883033, -0.04123255, 0.017314931, -0.006202006, -0.005417765, 0.0067876177, -0.083889745, -0.00898623, 0.034575067, -0.050027, -0.0019503271, -0.014123176, 0.024355972, 0.025095692, -0.08142401, 0.0015667684, -0.02047929, 0.054711897, -0.03698601, -0.00036814777, -0.03660245, 0.0064999484, 0.033780556, -0.016082065, -0.022164209, 0.011486211, 0.060821436, 0.021506678, 0.07167067, -0.0379723, -0.0472599, -0.04873934, 0.06569811, -0.012582093, 0.07901307, -0.030602498, 0.046301004, -0.031807967, -0.066081665, 0.008821848, -0.029451821, 0.02808197, 0.020356003, -0.010424575, -0.021027232, -0.015999874, -0.008013635, -0.049890015, -0.01259579, 0.005780776, -0.04991741, 0.020575179, 0.0067465217, -0.047561266, -0.02862991, -0.033780556, 0.0007106108, 0.048328385, 0.047561266, 0.03783532, 0.025616236, 0.03402713, 0.024164192, 0.028246352, 0.026109383, 0.012486203, -0.0036164096, 0.008294455, -0.07046519, 0.0059040627, -0.013540989, -0.024383368, -0.006198581, 0.012253327, 0.009739649, 0.00080478814, 0.015890285, 0.04939687, 0.028492926, 0.028739499, -0.027081978, 0.0112533355, 0.008212264, -0.01742452, -0.033862747, -0.021054627, 0.012540997, 0.016602607, 0.03783532, 0.04457499, 0.021657363, -0.014657418, 0.045259915, -0.0013013595, -0.0024725832, -0.03260248, -0.013725919, -0.0063595385, 0.015999874, 0.05753379, 0.018876564, -0.0040205163, -0.036931213, -0.048109207, -0.022355987, 0.0073903524, -0.03547917, -0.050794117, 0.027931286, -0.04550649, -0.0033047684, 0.0036814776, -0.0077876095, -0.07019123, 0.017123152, -0.016095763, -0.050465353, 0.012671133, 0.02798608, 0.0049588648, -0.052794103, 0.011999905, 0.001167799, -0.005417765, -0.00565064, -0.02473953, -0.011219089, -0.012287574, 0.07282134, -0.008451988, -0.021397091, -0.006506798, 0.03394494, -0.012027302, -0.010075263, -0.07178026, 0.05709544, -0.031835366, -0.005838995, -0.014219065, -0.025328567, 0.020205319, -0.033807952, 0.04613662, 0.011356074, 0.034246303, -0.049232487, 0.0024263507, 0.015027278, 0.010588957, -0.038383257, -0.020739561, 0.033588775, -0.022109414, -0.00889719, 0.013869753, 0.033095628, 0.035068214, -0.008465687, -0.024602545, 0.016232748, -0.04328733, 0.010198549, 0.030602498, -0.027862793, 0.07145149, 0.0146300215, 0.015794395, 0.018205335, -0.0463284, -0.05830091, -0.026438147, 0.044958547, -0.01593138, 0.007993087, 0.022260098, 0.010801285, 0.0022345714, 0.029150454, 0.009273899, 0.019040946, 0.013890301, 0.012698529, 0.0018818345, 0.039068185, 0.028794292, 0.04013667, 0.008643767, 0.016643703, 0.05367081, 0.07901307, -0.042684592, -0.0040102424, -0.043314725, -0.02612308, 0.04380787, 0.020205319, -0.01427386, -0.0072602164, 0.03287645, -0.007143779, -0.029314836, -0.012904007, 0.012294423, 0.0010967379, -0.017013565, -0.0509585, -0.07643775, -0.0096506085, -0.0686022, -0.013513592, -0.014986183, -0.035177805, 0.0074245986, -0.03723258, 0.009431432, -0.018575195, 0.014739609, -0.026643625, -0.0017636847, -0.017561505, -0.008821848, 0.010253344, 0.005571874, 0.017301233, 0.004438321, 0.038410656, -0.034273703, -0.04178049, 0.012082096, 0.007328709, -0.0025325143, -0.018561497, -0.0044143484, 0.0020513537, 0.021328598, 0.015671108, 0.04254761, -0.008047882, -0.035424378, 0.012150588, -0.0061574853, 0.030849071, -0.00097259507, -0.000008401046, 0.04336952, 0.011390321, -0.052848898, 0.0068150144, 0.028712101, -0.02956141, -0.011088953, 0.024232686, -0.0069828215, -0.0027653892, 0.0014049546, 0.026629927, -0.023890221, 0.030164145, 0.01732863, -0.028657308, -0.008513631, 0.0231779, 0.0005273931, -0.041972272, 0.026766911, 0.032328513, 0.015451932, -0.02399981, 0.03438329, -0.0076574734, -0.014006739, -0.032191526, -0.020273812, -0.041917477, 0.019136835, -0.031643584, -0.023712141, -0.033123024, 0.004787633, 0.01584919, -0.000029858496, -0.0022345714, 0.021986127, -0.016890278, 0.007712268, 0.012739625, 0.004513663, 0.034328494, -0.011904015, -0.011616346, -0.0008861231, -0.0075204885, -0.0023270363, -0.042958565, -0.03668464, -0.017575203, -0.026177876, 0.04476677, -0.00001618673, -0.013486194, -0.027369646, -0.001515399, -0.009849237, 0.008041033, 0.02419159, -0.011999905, -0.049698237, -0.0037465456, -0.005866392, -0.010904023, -0.006003377, -0.02030121, -0.0010034167, 0.009493075, -0.0031712078, 0.013938245, 0.0074930913, 0.04783524, -0.0065273456, 0.04528731, 0.051643427, 0.0019948473, -0.011712236, 0.029725792, -0.015671108, -0.0041917474, 0.0010933132, -0.01879437, -0.026027191, -0.015369741, -0.025712125, 0.04745168, -0.0024468985, 0.014643719, -0.036383275, -0.026547736, -0.005921186, -0.016356034, -0.016931374, -0.04139693, -0.033396997, 0.007616378, -0.045259915, 0.00011376194, 0.049232487, -0.008328701, -0.0066848784, -0.01797246, 0.011438265, -0.008862943, 0.038328465, 0.025451854, 0.00648625, 0.0006583852, 0.020246414, -0.007979389, -0.010479369, -0.005965706, -0.013767014, -0.010999913, 0.0060547465, -0.051232472, 0.026999786, -0.023314884, -0.02975319, -0.0014691665, -0.017903969, -0.004965714, -0.048931118, -0.004695168, -0.006400634, 0.011534155, 0.011910864, -0.0038698323, -0.0045170877, 0.002450323, 0.0012131754, -0.022903929, -0.06427346, -0.0049417415, 0.022753244, -0.012424559, -0.037479155, -0.023383377, -0.0074382974, -0.0343011, 0.026986087, 0.033698365, 0.024438163, 0.030931262, 0.0030992904, -0.01602727, 0.011513608, -0.012184835, -0.011314979, -0.031807967, -0.014958786, 0.01991765, -0.021082025, 0.010458821, -0.003015387, -0.013267018, -0.010664299, -0.006475976, -0.030410718, -0.021369694, -0.008417741, 0.000928931, 0.05246534, -0.026643625, 0.018191637, 0.048218798, -0.009602664, 0.023671046, 0.0006960561, -0.024890214, 0.05271191, 0.0050033852, -0.0007936581, -0.030273734, -0.021150518, 0.00852733, -0.010431424, 0.017725887, 0.025958698, -0.0024623093, -0.0067944666, -0.013595783, -0.014301256, 0.0018030679, 0.012712228, -0.007150628, -0.015917683, -0.0028492925, 0.011602648, 0.008047882, 0.0073698047, -0.030931262, 0.005568449, -0.016890278, -0.0077533633, -0.0029040866, 0.01704096, 0.018602593, -0.0153423445, 0.008397194, -0.033150423, 0.020616274, -0.0222327, -0.016931374, 0.041013375, -0.006198581, 0.022657355, 0.031643584, -0.022629958, 0.005345848, 0.006859535, -0.027465535, 0.027972382, -0.042383227, -0.023054613, -0.000031356773, -0.04068461, -0.009808142, -0.014314955, 0.0014606048, -0.0026198423, 0.006763645, -0.039150376, 0.012349217, 0.009554719, -0.0016309803, 0.010698546, 0.009232803, -0.013116335, -0.011267034, -0.117259346, -0.016438225, 0.0026301162, 0.00022302906, 0.042136654, -0.0051677674, -0.0024126521, 0.008267058, 0.007534187, -0.05041056, 0.036109302, -0.00005257343, 0.042273637, 0.008924587, -0.008958833, -0.026766911, 0.021616267, -0.03791751, 0.012760173, -0.011821824, 0.01278072, -0.001553926, 0.03205454, 0.016684799, -0.03391754, 0.012513599, 0.009684855, -0.0025736098, 0.019342313, 0.0024691585, 0.006393785, -0.018109446, 0.01325332, 0.04065721, -0.012130041, -0.03391754, 0.0033972333, 0.002515391, 0.019972445, -0.037643537, -0.00020772524, -0.038492847, -0.017766982, -0.021931333, 0.016273843, -0.039424345, 0.018890262, -0.0011857783, 0.0069006304, -0.009842387, -0.005948583, 0.006623235, -0.002972579, -0.03076688, 0.013739618, 0.0052739307, 0.00945198, -0.02549295, -0.024301177, -0.009328693, -0.010739641, 0.027205264, 0.017835476, -0.006952, -0.017273836, -0.022520369, -0.019561488, 0.0398353, 0.0070752865, -0.009198558, -0.02158887, 0.026575131, 0.00945883, 0.0063389908, -0.0268628, -0.01686288, 0.05024618, -0.005722557, -0.026890198, -0.027410742, 0.023520362, -0.015068374, -0.00824651, -0.02287653, 0.0016926236, -0.0108081335, 0.036657244, -0.045095533, 0.013404003, -0.0025547743, -0.002672924, -0.006849261, -0.0070547387, 0.008369797, 0.022355987, -0.034602467, -0.000815062, -0.017958762, -0.0032516867, 0.010609505, 0.026068287, 0.0038390106, -0.038520243, -0.080054164, -0.027136771, 0.033424392, -0.0041609257, -0.0031712078, 0.011801276, -0.0127670225, 0.015205359, -0.020246414, -0.011746482, 0.025410758, 0.010219097, 0.017588902, 0.0067602205, 0.03649286, -0.0064348807, -0.015068374, 0.011924563, -0.0039383247, 0.0016609457, -0.00044563002, -0.018410813, -0.027123073, 0.024150494, 0.048410576, -0.014136874, -0.006845836, 0.011335527, 0.04838318, -0.021082025, 0.0118766185, 0.014205367, -0.027109375, -0.010972516, 0.008410892, -0.052136574, 0.00072216894, 0.046958532, 0.016342336, 0.012328669, -0.005503381, -0.01417797, 0.007582132, 0.007061588, -0.013109486, -0.00022666772, -0.0043595545, 0.027739506, -0.019027246, 0.026438147, 0.031177836, 0.0031215507, 0.03589013, 0.009335542, -0.003568465, 0.020438194, 0.008835547, 0.030218938, 0.016356034, 0.011458813, -0.012273875, -0.0008214832, 0.00047388324, -0.0051848902, -0.020588879, -0.043479107, 0.020958738, 0.0021438187, -0.016465623, 0.022684751, 0.055835173, 0.020314908, -0.008650617, 0.014006739, 0.011376622, 0.01343825, -0.008513631, 0.016054668, 0.007609529, 0.009253351, 0.010328685, 0.016109461, 0.013986191, 0.013732768, -0.041451726, 0.016356034, 0.013260169, 0.002873265, 0.008582124, 0.002933196, 0.0031763448, 0.010150605, 0.012219082, -0.023506664, 0.0019177931, -0.015164264, -0.015150565, -0.015314947, 0.018520402, 0.022671053, -0.016082065, -0.023972413, 0.011294431, 0.0008737088, -0.0024948432, -0.015095771, 0.0444654, -0.03742436, 0.010883476, 0.012123192, 0.021766951, -0.021479283, -0.050054397, -0.01898615, 0.02056148, -0.032465495, 0.008547878, -0.036575053, -0.012362916, -0.061643347, 0.010876626, -0.02010943, -0.042383227, 0.055533808, -0.01621905, -0.04457499, -0.0111642955, 0.0028047722, 0.020013541, -0.016630005, -0.003732847, -0.048876327, -0.006308169, -0.017013565, -0.040054478, 0.006006802, -0.021287503, 0.02361625, 0.029534012, 0.015219058, 0.0049622892, 0.010794435, -0.024616243, 0.017643696, -0.0018869714, -0.012102644, -0.018260129, -0.0102738915, -0.036383275, 0.0016481034, 0.0069999443, 0.015643712, -0.028849086, -0.030903865, 0.011232788, 0.01936971, 0.0043390067, -0.0058321455, 0.02808197, 0.041944873, -0.0025958698, -0.00963691, -0.024246383, 0.01678069, 0.01621905, 0.017013565, -0.011232788, -0.02715047, -0.007910896, 0.008582124, 0.0016832058, -0.006188307, -0.012568394, 0.017725887, -0.00157533, 0.013095787, -0.01806835, -0.022821737, -0.01695877, -0.038054492, 0.014383447, 0.0047568115, -0.008862943, -0.02065737, 0.00014201514, 0.02909566, -0.0073629552, 0.041177757, -0.0045273616, -0.002792786, 0.010130057, 0.002597582, -0.04134214, -0.051259868, 0.045533884, 0.03504082, -0.017931364, 0.017890269, 0.010575259, 0.038794212, 0.043533903, 0.005763653, 0.015821792, -0.035369582, -0.020725863, -0.028465528, 0.025780618, -0.00861637, 0.01111635, 0.0053972173, 0.023698442, 0.023890221, 0.019328615, -0.011445114, -0.04325993, 0.0043150345, 0.00458558, -0.0014409133, 0.02093134, -0.008554727, 0.017616298, -0.010856078, -0.024671037, -0.026081985, -0.0044622933, 0.03356138, 0.013451948, -0.00482188, 0.0038972294, 0.026917595, -0.017451916, -0.002405803, 0.017712189, -0.01630124, -0.016794387, -0.0040787347, -0.0016772128, -0.008931437, -0.02613678, 0.015219058, -0.022903929, -0.03252029, 0.012041001, 0.017479314, -0.012301273, 0.020602576, -0.0076232273, 0.060492672, -0.011102652, -0.007746514, -0.0034023703, 0.02354776, 0.017246438, 0.0038013398, 0.010301288, -0.043232534, -0.013376607, -0.009013628, 0.026808007, -0.015999874, 0.009287598, -0.027260058, -0.0016121448, -0.008164319, 0.031944953, 0.02075326, -0.00094262953, 0.007246518, 0.010349233, 0.013636879, -0.0037122993, -0.028301146, -0.01928752, -0.010684847, 0.024821721, 0.00030393596, 0.00044134926, 0.0033475761, -0.0073081614, -0.018040953, -0.008417741, 0.011109501, 0.031095644, -0.015328646, 0.0005997384, 0.009623212, -0.0046540727, 0.022451878, 0.021109423, 0.003003401, 0.025355963, 0.018314924, -0.0016087202, 0.029807983, 0.007842404, -0.016561512, -0.0028047722, 0.0075478856, -0.01872588, 0.028273748, -0.009301296, -0.0063355663, -0.002200325, -0.00823966, 0.03197235, 0.021164216, 0.011780729, -0.05846529, 0.010088962, -0.027657315, 0.016835483, -0.0014203654, -0.03854764, -0.01296565, 0.015123168, -0.011109501, 0.02909566, 0.00068150146, 0.028903881, -0.008513631, -0.011835523, 0.007273915, 0.018739577, 0.002135257, 0.013184827, 0.01028074, 0.0416983, 0.0036061357, -0.010349233, -0.01111635, 0.0019965596, 0.017356027, -0.011219089, 0.0010924571, -0.0023013516, -0.014438242, 0.016314939, -0.035177805, 0.040931184, 0.016712196, 0.0061300886, -0.013349209, -0.01269168, -0.013273868, 0.0020085457, 0.019342313, 0.014301256, -0.035725746, -0.004133529, 0.007397202, 0.039424345, 0.01899985, 0.010520465, -0.016684799, -0.052492734, 0.016849183, 0.009102668, 0.02186284, -0.0116985375, -0.0024845693, -0.0135683855, 0.005585572, 0.025054596, -0.03235591, 0.022082018, 0.016630005, -0.028903881, 0.023095708, 0.029314836, 0.01427386, 0.03235591, -0.012164287, 0.01715055, 0.015794395, -0.0305751, -0.001825328, -0.0048321537, 0.027095675, 0.010904023, 0.019328615, 0.038465448, 0.018958755, 0.0036369576, 0.013308113, 0.00889719, 0.008219113, 0.041670904, 0.007794459, -0.011130049, 0.013130033, 0.020835452, -0.008842396, 0.0012945103, -0.0047396887, -0.041999668, 0.012397162, -0.0046198266, -0.04523252, 0.015534123, 0.00097430736, 0.010801285, 0.0017183083, 0.01083553, 0.0021232709, 0.016095763, 0.019328615, 0.002405803, 0.012705379, 0.0026352531, -0.023191597, -0.017821776, 0.0030547704, 0.020698465, 0.0030633318, -0.01935601, -0.017465616, -0.02843813, -0.0026540887, 0.013013596, -0.021136818, -0.008958833, -0.0014854334, -0.020150525, -0.0011395458, -0.0033818225, -0.008773903, 0.005116398, 0.0031301123, -0.023972413, 0.024205288, 0.030246336, 0.010876626, 0.029260043, 0.0008142059, -0.0015111181, 0.019013548, -0.010616355, 0.019109437, -0.017671093, 0.023369677, 0.014657418, 0.036931213, 0.005311602, 0.022520369, -0.0105410125, 0.011088953, 0.05216397, -0.02715047, 0.029123057, -0.0023236116, 0.0061026914, 0.014095779, -0.004743113, 0.03038332, 0.0016266995, 0.0097328, 0.0035513418, 0.011691689, -0.02306831, 0.01260264, 0.0426298, -0.012362916, -0.006225978, 0.002575322, 0.0035016846, -0.032301113, -0.009890333, 0.027629917, -0.0031472354, 0.028218955, -0.010054715, 0.015808094, 0.021849142, -0.009814991, -0.010869777, 0.0039417497, -0.0064417296, -0.047479074, -0.006725974, 0.021205312, -0.0006515359, 0.012068397, 0.00078894926, 0.021958731, -0.030712085, 0.024410766, 0.019164233, -0.012082096, -0.0010316699, 0.03158879, -0.019424504, 0.009164311, -0.0070033693, 0.016164256, -0.0075067896, 0.007534187, -0.01612316, 0.02104093, 0.058520086, -0.023561457, -0.04150652, 0.03216413, 0.004438321, 0.005996528, -0.01891766, 0.0055376273, -0.0026643625, -0.019013548, -0.0039417497, 0.0063835112, 0.0231642, 0.003568465, 0.029999763, -0.031725775, 0.041150358, 0.0056026955, 0.00032769432, -0.016054668, -0.012828666, -0.01824643, 0.006404059, 0.012212232, 0.034876436, 0.044629782, 0.015547822, -0.019945048, -0.0005513655, 0.047725648, -0.026616227, -0.014136874, -0.02084915, 0.015821792, 0.03224632, -0.0048527014, -0.0018801221, -0.0102738915, 0.005616394, 0.012568394, 0.0107190935, 0.005044481, -0.027643617, 0.0118766185, -0.008164319, -0.00037735148, -0.0096574575, -0.007609529, 0.018424511, -0.002515391, 0.010198549, -0.021739554, 0.020602576, 0.027123073, 0.022766942, -0.0003167783, 0.011472512, 0.01993135, 0.009746498, 0.0054143406, 0.009938277, 0.008965682, -0.020739561, -0.012417709, -0.007821856, -0.02613678, 0.020451892, -0.0067602205, 0.036739435, 0.0014623172, -0.0040273652, 0.006414333, -0.018205335, -0.0062431013, -0.029588807, -0.013972492, -0.026643625, 0.0066198106, -0.024082001, 0.027561426, 0.01084238, 0.01705466, -0.044328418, 0.015588918, 0.03438329, 0.0024297752, 0.03287645, 0.012561545, -0.02556144, -0.0083218515, -0.0000999564, -0.012657434, -0.03715039, 0.021903936, 0.03668464, -0.0115204565, 0.029534012, 0.040629815, 0.0014357764, 0.010575259, 0.030986056, -0.03402713, 0.057807762, 0.05616394, -0.009041024, 0.030328527, -0.003862983, 0.030246336, 0.019945048, -0.043999653, 0.009616362, -0.024314877, 0.005688311, -0.00078680884, -0.0222464, -0.04643799, 0.00057105714, 0.009814991, -0.040794197, -0.0010128345, 0.030794276, 0.024835419, 0.023150502, -0.02205462, -0.03049291, -0.025780618, 0.014342352, -0.002362995, -0.011657442, 0.0076026795, -0.045095533, 0.020986136, 0.0037259979, 0.030438116, 0.015040977, -0.03662985, 0.023205295, 0.009684855 ]
2401.09350
330
# 9.3 Additive Quantization PQ remains the dominant quantization method for top-k retrieval due to its overall simplicity and the efficiency of its codebook learning protocol. There are, however, numerous generalizations of the framework [Babenko and Lempitsky, 2014, Chen et al., 2010, Niu et al., 2023, Liu et al., 2015, Ozan et al., 2016, Krishnan and Liberty, 2021]. Typically, these generalized forms improve the approximation error but require more involved codebook learning algorithms and vector encoding protocols. In this section, we review one key algorithm, known as Additive Quantization (AQ) [Babenko and Lempitsky, 2014], that is the backbone of all other methods. Like PQ, AQ learns L codebooks where each codebook consists of C code- words. Unlike PQ, however, each codeword is a vector in R¢—rather than R*. Furthermore, a vector u is approximated as the sum, instead of the concatenation, of L codewords, one from each codebook: & = ean Hi,ci(u)s where ¢; : R¢ — [C] is the quantizer associated with the i-th codebook.
2401.09350#330
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 330, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "# 9.3 Additive Quantization\nPQ remains the dominant quantization method for top-k retrieval due to its overall simplicity and the efficiency of its codebook learning protocol. There are, however, numerous generalizations of the framework [Babenko and Lempitsky, 2014, Chen et al., 2010, Niu et al., 2023, Liu et al., 2015, Ozan et al., 2016, Krishnan and Liberty, 2021]. Typically, these generalized forms improve the approximation error but require more involved codebook learning algorithms and vector encoding protocols. In this section, we review one key algorithm, known as Additive Quantization (AQ) [Babenko and Lempitsky, 2014], that is the backbone of all other methods.\nLike PQ, AQ learns L codebooks where each codebook consists of C code- words. Unlike PQ, however, each codeword is a vector in R¢—rather than R*. Furthermore, a vector u is approximated as the sum, instead of the concatenation, of L codewords, one from each codebook: & = ean Hi,ci(u)s where ¢; : R¢ — [C] is the quantizer associated with the i-th codebook.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.030475589, 0.018452412, -0.00792264, 0.011972552, 0.020603927, -0.02452728, -0.0074923374, 0.058976844, -0.083124444, 0.020654552, 0.012883782, -0.025944749, -0.025628349, 0.038853843, 0.039765075, 0.011991536, 0.048776127, -0.03338646, -0.002483735, 0.0036702328, -0.05024422, -0.036525145, -0.016718542, 0.005590777, 0.021692341, -0.05376258, -0.014908738, 0.034297694, 0.020388776, -0.024375407, 0.0033664894, -0.014896083, -0.044068106, -0.048750814, -0.011453657, -0.020591272, -0.00823904, 0.021996085, -0.010770234, -0.010358916, 0.014921394, -0.029134054, -0.024641184, -0.015921216, 0.016516047, 0.035512667, 0.005113014, -0.040144753, -0.059229963, 0.027336907, -0.014453123, 0.071885936, -0.030273093, -0.019515514, 0.021578437, 0.0009207222, -0.0059293243, -0.014124068, 0.08428879, 0.0018983963, 0.00037967926, -0.011017026, 0.0012537325, 0.022426387, -0.007125314, 0.006657043, -0.02700785, 0.024539936, -0.017085567, 0.0021958116, -0.036246713, 0.019692697, 0.015035299, -0.0010773399, 0.036828887, 0.018224604, -0.064596094, 0.07451838, 0.022489667, -0.040448494, 0.0076885046, 0.0053028534, 0.015402322, -0.058369357, -0.0071822656, -0.024350096, -0.03404457, 0.030905891, -0.037942614, -0.03065277, -0.025653662, 0.045966502, -0.047054917, 0.022236548, 0.04287844, 0.015769346, 0.032627102, 0.047206786, 0.007150626, -0.03591766, -0.0048662224, -0.029564358, 0.045890566, -0.03232336, 0.06034369, -0.019452233, -0.023957761, 0.030526211, 0.009485654, -0.01902193, -0.031234946, 0.015326385, -0.042017836, 0.0372845, 0.0048314184, -0.046548676, -0.022236548, -0.031209635, -0.0144910915, 0.020730486, -0.029564358, -0.015288418, 0.043916233, 0.005214262, -0.0031576657, -0.060039945, 0.008751607, -0.05852123, -0.008694655, 0.008378255, 0.045738693, 0.0068911784, 0.014453123, 0.009631197, -0.012250984, -0.00517313, 0.0014214242, 0.023590738, -0.036525145, -0.01298503, 0.042549387, -0.018857403, -0.011953568, 0.0053977733, -0.042119086, 0.0032082896, -0.014630307, 0.013516582, -0.012706599, 0.010447508, -0.05669877, -0.05113014, -0.03844885, -0.015706064, -0.030981828, -0.02776721, -0.017047599, 0.0052459016, -0.024704464, 0.000016660404, 0.034323003, 0.021198759, 0.028779687, -0.022679508, 0.04062568, -0.03586703, -0.091325514, -0.032753665, -0.042650636, -0.025995372, -0.008201072, -0.05907809, -0.017756334, -0.036297336, 0.03556329, -0.011643497, -0.015921216, -0.031564, -0.03710732, -0.025476478, -0.021046886, -0.016186992, 0.0012521505, 0.045207143, 0.022945283, -0.011200538, -0.011187882, -0.011251162, -0.020085033, 0.028248137, 0.00707469, 0.0045498232, 0.042017836, 0.033690207, 0.018211948, -0.013402677, 0.0032968814, 0.024552591, -0.016338864, -0.07224031, 0.005979948, 0.021578437, 0.013200182, -0.020401431, 0.019983785, -0.039942257, -0.014921394, -0.0037841366, -0.06130554, -0.01849038, -0.008973086, -0.0011817517, 0.036145464, -0.004590955, -0.03115901, 0.035386108, -0.043966856, 0.06657043, -0.047206786, 0.023476833, -0.007593585, -0.009941269, -0.005565465, 0.022983251, -0.044852775, 0.020452056, 0.028653128, -0.0021420238, 0.04923174, -0.063128, 0.04751053, 0.011694121, -0.030678084, 0.0032684056, 0.010865155, -0.017060254, -0.000097490556, -0.017427277, -0.0372845, -0.008397239, -0.032804288, -0.007410073, 0.008954102, -0.028020328, 0.003572149, 0.030323716, -0.024362752, -0.004461231, 0.04933299, -0.035259545, -0.017768988, 0.0041922918, -0.0019521841, -0.0027795685, -0.027058475, -0.0103905555, 0.043916233, 0.019426921, -0.026982538, 0.019604106, -0.020717831, -0.067836024, -0.0053028534, 0.012972374, -0.008859183, 0.030678084, -0.023324963, -0.023413554, -0.01766774, 0.010181732, -0.024185568, -0.026324429, 0.022173269, 0.016389487, 0.012706599, 0.0009547351, 0.002058178, -0.025273982, -0.004913682, 0.030197157, -0.019287705, -0.000024236686, 0.07072159, 0.01946489, 0.038195733, -0.02257826, -0.010396884, 0.018832091, -0.017591806, -0.024641184, 0.048649568, -0.0379173, -0.0065051713, -0.05543317, -0.0021214578, 0.017629772, -0.010751251, -0.051889498, -0.00510985, 0.019034587, 0.047459908, 0.0181107, 0.016705887, -0.017908204, -0.033842076, 0.030526211, 0.024160257, -0.014465779, -0.0415116, 0.016959006, 0.038372915, 0.034196444, -0.0077138166, 0.00032490262, -0.074265264, -0.06489984, -0.00001886037, -0.03128557, 0.010498132, -0.017920861, 0.019199114, -0.04751053, 0.01726275, 0.005650893, 0.00052680494, -0.009156598, -0.0976535, -0.030931203, 0.015769346, -0.04163816, 0.009580573, -0.004932666, 0.02408432, 0.014630307, -0.05153513, -0.0022638375, 0.00036049754, 0.0499911, -0.04287844, 0.008700983, -0.015136546, -0.006732979, 0.019983785, -0.03556329, -0.011896617, 0.03776543, 0.02738753, 0.03568985, 0.038094483, -0.018566316, -0.030829955, -0.039916944, 0.052496985, -0.032829598, 0.07305029, -0.022097332, 0.03480393, -0.024641184, -0.06297613, 0.007865689, -0.026931915, 0.022274517, 0.036778264, -0.040701617, -0.012636991, -0.015971841, -0.009694477, -0.031462755, -0.007941624, 0.007745457, -0.0419419, -0.0013945303, -0.013073622, -0.04751053, -0.004470723, -0.020717831, 0.021540469, 0.044422474, 0.06621606, 0.03609484, 0.028627815, 0.010498132, 0.0100425165, 0.004964306, 0.07851767, 0.020426743, -0.0032430936, -0.017477902, -0.0692535, 0.011624513, -0.024362752, -0.024236193, 0.0084541915, -0.006236232, 0.016516047, 0.011415689, -0.015009986, 0.031234946, 0.02116079, 0.051231388, -0.009485654, -0.007606241, 0.0067962585, -0.022084676, -0.017490558, -0.024476655, 0.019186458, 0.03634796, 0.020148313, 0.03999288, 0.054825682, 0.00083924935, 0.04475153, 0.000254306, -0.012706599, 0.0023587574, -0.017553838, 0.017971484, 0.014288596, 0.04346062, 0.006638059, -0.003559493, -0.039613202, -0.059331212, -0.015706064, -0.0281722, -0.01889537, -0.01452906, 0.019034587, -0.02393245, 0.0130609665, 0.0027827325, -0.011738417, -0.05052265, 0.00911863, -0.0048915343, -0.022907315, 0.030045284, 0.011706777, -0.004647907, -0.050446715, 0.014617651, -0.035183612, -0.047434594, -0.030526211, -0.02219858, 0.0013439064, -0.010744923, 0.043713737, -0.0044106073, -0.044068106, 0.030171845, 0.038752597, 0.016680576, 0.009283158, -0.0610018, 0.05140857, -0.030728707, -0.0000031547243, -0.025894124, -0.00710633, 0.017680397, -0.030678084, 0.031994306, 0.00940339, -0.00011528802, -0.032753665, -0.006663371, 0.01113093, -0.005075046, -0.03493049, -0.038853843, 0.026653484, -0.03374083, -0.02738753, -0.008751607, 0.05300322, 0.007093674, -0.010289308, -0.021337973, 0.022274517, -0.04062568, -0.0073594493, 0.016591983, -0.026805354, 0.07021535, 0.038119797, 0.011643497, 0.029766854, -0.006201428, -0.053509463, -0.051028892, 0.043030314, -0.012744566, 0.008245368, 0.00694813, 0.011966225, 0.0024536771, 0.026906602, -0.0018794123, 0.013098934, 0.022236548, 0.04141035, 0.0321968, 0.019566137, 0.061710533, 0.054167572, -0.007530305, 0.0008147284, 0.07062034, 0.06662105, -0.024881646, -0.0006770947, -0.009061678, -0.019135835, 0.04647274, 0.03232336, -0.013795013, -0.017693054, 0.013200182, -0.023843857, -0.0321968, -0.0105487555, -0.0010409539, -0.002523285, -0.00092230417, -0.053205717, -0.07497399, -0.011827009, -0.054268822, -0.0068848506, -0.015769346, -0.021591093, 0.006046392, -0.030855266, -0.012276296, -0.02467915, -0.0088022305, -0.0094666695, -0.008795903, -0.017123533, -0.021932805, 0.004015108, 0.0058502243, 0.013503925, 0.0060369, 0.020515336, -0.02842532, -0.015073266, 0.009011054, 0.006549467, -0.010434851, -0.01135241, -0.0047554825, 0.012307935, 0.02609662, 0.014136724, 0.046498053, -0.018971307, -0.04606775, 0.02609662, -0.008625047, 0.0033569974, 0.0062204115, -0.03115901, 0.026248492, 0.018085388, -0.035183612, 0.022882003, 0.023071842, -0.017566493, -0.050851706, 0.014731555, -0.024413375, -0.002528031, 0.019819258, 0.01766774, -0.027159723, 0.04191659, 0.03804386, -0.030956514, -0.01628824, -0.0042176037, -0.0056983526, -0.035740472, 0.012712927, 0.01279519, 0.03946133, -0.018541003, 0.066924796, 0.03126026, -0.0013708003, -0.03660108, -0.02512211, -0.057306256, 0.040271312, -0.028627815, -0.02499555, -0.034727994, 0.014946707, 0.013858292, 0.011004371, 0.0009420791, 0.0034614091, -0.027716585, 0.026121933, 0.020338152, 0.021249382, 0.021629062, 0.00039233523, 0.017844925, -0.008783246, -0.016579328, 0.003970812, -0.021236725, -0.024261504, -0.039132275, -0.046320867, 0.016427455, -0.019237082, -0.012478791, -0.034171134, 0.0026387707, 0.00899207, 0.006587435, 0.028729063, 0.0021436058, -0.03401926, 0.010143764, -0.024603216, -0.009840021, 0.018781466, -0.0264763, 0.004049912, -0.0008669343, -0.0033728173, 0.009302142, -0.019161146, 0.051433884, -0.006030572, 0.018161325, 0.06722854, -0.012744566, -0.008935118, 0.020730486, -0.009877988, -0.018781466, -0.007834049, -0.0057932725, -0.019363642, -0.015339042, -0.05269948, 0.038853843, 0.006185608, 0.010523443, -0.039765075, 0.0019395282, 0.011314441, -0.0032842255, 0.003100714, -0.050699838, -0.039815698, 0.0064260713, -0.038777906, -0.008530127, 0.037967924, -0.022755442, -0.0073847612, -0.0048440746, 0.0148581145, -0.019059898, 0.008498487, 0.017237438, -0.03037434, 0.02194546, -0.0074923374, 0.0054009375, 0.0057521407, -0.029311238, -0.03138682, -0.0114726415, 0.009390733, -0.048978623, -0.005097194, -0.005179458, -0.019249737, 0.018465068, -0.0321968, 0.013326742, -0.031614624, 0.005470545, 0.0068342267, -0.01113093, -0.016705887, -0.012655975, 0.014972018, -0.01738931, 0.0125547275, -0.023590738, -0.02376792, 0.003058, 0.022844035, -0.024198225, -0.050927643, -0.03903103, 0.006612747, -0.015895905, 0.035386108, 0.03591766, 0.014794835, 0.0057932725, -0.015326385, -0.0024267833, 0.01544029, -0.009833693, -0.008530127, -0.024957582, -0.005065554, 0.016781824, -0.017174158, -0.02609662, 0.010675315, -0.022401076, -0.0037271846, -0.017300718, -0.0077770967, -0.015288418, -0.012782535, -0.019350985, 0.040068816, -0.03586703, 0.0030168681, 0.030424964, -0.0065304833, -0.003546837, -0.01103601, -0.037562933, 0.051611066, -0.005084538, -0.005410429, -0.031234946, -0.03774012, 0.028577192, -0.0011121439, -0.0024014714, 0.04687773, 0.011618185, -0.009643853, -0.0075429613, -0.027741898, -0.008517471, 0.010080484, -0.021110166, 0.0013620993, 0.0023207895, 0.013630485, 0.028703751, -0.023527458, -0.022426387, 0.013086278, -0.004556151, 0.015022642, -0.0018034765, 0.016857758, 0.0061982637, -0.030070597, 0.017819613, -0.024514623, 0.005410429, -0.023565425, -0.021249382, 0.048067395, -0.0049010264, 0.033285215, 0.03867666, -0.02135063, -0.00047143508, 0.0012616426, -0.033918012, 0.027463466, -0.03672764, -0.020262215, -0.0017813285, -0.038626038, -0.012814174, 0.0016120548, -0.02175562, 0.01584528, 0.016490735, -0.02700785, 0.026957227, 0.0059198323, -0.001501315, 0.0095362775, -0.0077074887, 0.03776543, -0.011668809, -0.09142676, -0.019313019, 0.0032114536, 0.0032747334, 0.0667223, -0.0038379245, -0.0052522295, -0.0004049912, 0.00067116215, -0.028501255, 0.013491269, 0.0056572207, 0.03323459, 0.0030817299, -0.01635152, -0.019262394, 0.007213906, -0.03505705, 0.022413732, -0.0004639206, -0.0032937175, -0.0054167574, 0.04518183, 0.018009452, 0.0048757144, 0.015288418, 0.0063691195, 0.0104601635, 0.02672942, 0.002469497, -0.03143744, -0.031310882, -0.01590856, 0.043713737, -0.025577726, -0.024818366, 0.024451343, -0.0281722, 0.015946528, -0.051585753, 0.02257826, -0.06090055, -0.019945817, -0.03568985, 0.01487077, -0.033006784, 0.03404457, 0.0067393067, -0.00071545807, -0.00022919179, 0.0038442523, -0.009162926, 0.0018208784, -0.02273013, 0.021515157, -0.009783069, 0.005486365, 0.0028760703, -0.03169056, -0.000067037116, -0.019097866, 0.009080662, 0.042245645, -0.016959006, -0.023400897, -0.02905812, -0.0011398287, 0.015490914, -0.002542269, -0.009390733, -0.03725919, 0.0031671578, -0.011270146, -0.003619609, 0.00029998616, -0.025704285, 0.037866678, 0.0113334255, -0.022223892, -0.009808381, 0.023185747, -0.044726215, 0.010472819, -0.011877633, -0.020654552, 0.008897151, 0.030399652, -0.04571338, -0.0072771856, 0.038524788, -0.0026229508, -0.011137258, 0.0048725503, -0.000058187823, 0.02219858, -0.02402104, 0.009751429, -0.018705532, -0.00019794736, -0.007675849, 0.025995372, 0.0067709466, -0.017756334, -0.032601792, -0.024501968, 0.01607309, 0.009833693, -0.00090490223, 0.036297336, 0.0021072198, 0.028045641, -0.02024956, -0.032525856, -0.005536989, -0.0000034297198, 0.034095198, 0.011529593, 0.048219264, 0.008998399, -0.012858471, -0.0052775415, 0.013693765, 0.0010797129, -0.007891, -0.022831379, -0.025767565, 0.026780043, 0.04477684, -0.014225316, 0.0073088254, 0.014402499, 0.06505171, -0.010599379, 0.024805712, -0.0044042794, -0.018085388, -0.029488422, 0.0006470367, -0.06808914, 0.00079218496, 0.035360795, 0.018376475, 0.03817042, 0.0082263835, -0.015478257, 0.0018699203, 0.0067709466, -0.009567917, -0.008928791, -0.0077517848, 0.030171845, -0.013491269, 0.032778975, 0.045612134, 0.005951472, 0.024691807, 0.03191837, -0.0007514485, 0.02226186, 0.03126026, 0.01569341, 0.0072075776, 0.02018628, 0.007087346, 0.024375407, -0.023362929, -0.007745457, -0.013225494, -0.008416223, 0.031361505, 0.0092388615, -0.029690918, 0.008840199, 0.062368646, 0.017528525, 0.0034139492, 0.007960608, 0.007720145, 0.0372845, 0.004622595, 0.0036037888, 0.01952817, -0.020679863, 0.0357911, 0.020857047, -0.00020941683, -0.009738773, -0.044194665, 0.028146889, 0.042625323, 0.015617473, 0.000016400858, 0.011763729, -0.0008115644, -0.0026735747, -0.009751429, -0.042296268, -0.008536455, -0.009068006, -0.0143518755, -0.050725147, 0.031893056, 0.039486643, -0.01849038, -0.029842788, 0.020072376, -0.0016183828, -0.0077897524, -0.001550357, 0.027134411, -0.037891988, -0.0053376574, -0.020679863, -0.001067848, -0.026982538, -0.030855266, -0.019971129, 0.038752597, -0.048598945, -0.0054420694, -0.043283433, -0.015402322, -0.055129427, -0.016554015, -0.016794479, -0.031462755, 0.0610018, -0.012225672, -0.03996757, -0.00046629357, 0.015997153, 0.017693054, -0.009200894, -0.013668453, -0.04968736, 0.02622318, -0.033158656, -0.03698076, -0.0090300385, -0.029285926, 0.015680753, 0.03270304, 0.018503036, 0.010675315, -0.009257846, -0.02452728, 0.016591983, 0.036398586, -0.006568451, -0.025514446, 0.008789575, -0.01984457, 0.01940161, -0.008201072, 0.01584528, -0.036677014, -0.009941269, 0.0074164015, 0.022008741, -0.012143408, -0.0033728173, 0.023805888, 0.042397518, -0.016022464, -0.010131108, -0.0305009, 0.018439755, -0.0002691372, -0.0033221934, -0.010415867, -0.023211058, -0.002564417, 0.018667564, -0.0030848938, -0.00011568352, 0.0074480413, 0.0050054383, 0.0042840475, 0.017971484, -0.0028349385, -0.0020645058, 0.010555083, -0.051990744, 0.012409183, 0.00905535, -0.013415334, 0.007606241, 0.005505349, 0.0143518755, -0.005685697, 0.017363997, 0.021958116, 0.0072518736, 0.022008741, 0.01795883, -0.021806246, -0.030399652, 0.027311593, 0.034879867, -0.016503392, 0.008587079, -0.008979415, 0.04751053, 0.021920148, 0.026273804, 0.0003778995, -0.024767743, -0.012288951, 0.001005359, 0.008099824, -0.01317487, 0.026197867, 0.010150092, 0.018616939, 0.022628883, -0.0029061283, -0.0152757615, -0.033690207, -0.008150448, -0.027590025, 0.0011754237, 0.022907315, -0.012928079, -0.00044335463, -0.0072075776, -0.030273093, -0.0058565526, 0.0021325317, 0.02490696, 0.03401926, 0.010263995, 0.010605707, 0.008707311, -0.010295636, -0.016933694, -0.0016690067, -0.018882714, -0.028931558, -0.0009729281, -0.0015558939, -0.0053503136, -0.024071664, 0.019705353, -0.032171488, -0.018654907, 0.001500524, 0.013908916, -0.011004371, 0.019566137, -0.014136724, 0.03892978, -0.009903301, -0.026172556, -0.0064102514, -0.006612747, 0.023691986, 0.0011026518, 0.0077644405, -0.03958789, -0.008935118, -0.022147955, 0.024172911, -0.006172952, 0.010232355, -0.02920999, -0.006011588, -0.007612569, 0.035259545, 0.013731733, -0.006492515, 0.01336471, -0.0072455457, 0.024185568, -0.008789575, -0.019945817, -0.021388598, -0.0054009375, 0.03493049, -0.004622595, 0.00047776307, 0.011599201, -0.02175562, -0.0345255, -0.007536633, -0.001020388, 0.021363286, -0.01719947, -0.012636991, 0.00498329, 0.0042144395, 0.016085744, 0.033310525, -0.0014198422, 0.015744032, -0.00849216, -0.002967826, 0.029412486, 0.015389666, -0.014794835, -0.0014150962, 0.00902371, 0.0020043901, 0.023350274, -0.016326208, -0.008903478, -0.0019316182, -0.02791908, 0.03244992, 0.016427455, 0.0027938064, -0.013946884, 0.022477012, -0.027362218, 0.014364531, -0.008821215, -0.035487354, -0.0060938518, 0.01452906, 0.010428524, 0.029766854, -0.0001754039, 0.011415689, -0.005979948, -0.0073214816, 0.013972197, 0.020882359, 0.002491645, 0.020502679, -0.0029298582, 0.055331923, -0.0058375685, -0.0130609665, -0.027134411, -0.020490024, 0.028475944, 0.006422907, -0.0023334455, 0.01675651, -0.0026735747, 0.027412841, -0.029539045, 0.020730486, 0.029614981, 0.015351698, -0.001500524, -0.017768988, -0.018034764, -0.004600447, 0.006688683, 0.035613913, -0.040170066, 0.0039075324, 0.004426427, 0.020262215, 0.013503925, 0.015832625, -0.026931915, -0.036018904, 0.022249203, 0.012807847, -0.008106152, -0.015997153, -0.0021024738, -0.004496035, 0.0008171014, 0.02361605, -0.033766143, 0.008568095, 0.009112302, -0.022350451, 0.0017164666, 0.020388776, 0.021679685, 0.027868457, 0.0052712136, 0.013858292, -0.0022812395, -0.022742787, 0.008074512, -0.000984002, 0.012776207, 0.0021262038, 0.017806957, 0.011263818, 0.02867844, -0.01745259, -0.0023492654, 0.012548399, -0.012883782, 0.040423185, 0.0067203226, -0.016705887, -0.004132176, 0.011630841, 0.012029504, -0.0003132354, 0.01927505, -0.014731555, -0.0052933614, -0.014200004, -0.03012122, 0.02842532, -0.012997686, 0.021806246, 0.016402144, 0.02493227, 0.014478436, 0.0010583559, 0.01864225, 0.018034764, 0.012618007, 0.011763729, -0.023388242, -0.029437797, 0.02958967, 0.029817477, -0.010770234, -0.017857581, -0.0017639265, -0.019882537, -0.022755442, 0.015604817, -0.027868457, -0.00009259625, -0.00943503, -0.026754731, -0.014124068, 0.01188396, -0.004005616, 0.012586367, -0.0049801264, -0.008498487, 0.009757757, -0.0018050584, 0.0152757615, 0.032272737, -0.0038822202, 0.014756867, -0.0016642608, -0.0034835571, 0.02974154, -0.027286282, 0.04713085, -0.0010456999, 0.019895192, 0.015377009, 0.040549744, -0.029032806, 0.024577903, 0.053155094, -0.025324605, 0.035841722, -0.0052522295, -0.019642074, 0.02116079, 0.0017338686, 0.026602859, 0.025172735, -0.0011058159, 0.019211771, 0.015351698, -0.030298404, 0.042296268, 0.03920821, -0.016364176, -0.009340109, 0.005068718, -0.0072012497, -0.017338686, -0.014326564, 0.022603571, 0.018920682, 0.00198066, -0.008118808, 0.013617829, 0.040246002, -0.011624513, -0.0043789675, 0.028754376, -0.010263995, -0.042600013, -0.021008918, 0.0207558, 0.0207558, 0.0053313295, 0.000081225655, 0.0034234412, -0.039916944, 0.022666851, 0.02128735, 0.0100425165, -0.004673219, 0.04386561, -0.0372845, 0.0067203226, 0.0061539677, 0.03715794, -0.012409183, 0.006682355, -0.019047242, 0.022692163, 0.033032093, -0.025046175, -0.04981392, 0.024539936, -0.016629951, -0.018161325, 0.00023611303, -0.0144910915, 0.0069860984, -0.022413732, -0.015199826, -0.0006727442, 0.021540469, 0.006049556, 0.027134411, -0.033690207, 0.06165991, -0.003143428, -0.017768988, -0.028197512, -0.0058565526, -0.019882537, 0.001543238, 0.011656153, 0.018768812, 0.025223358, 0.012491447, -0.020401431, 0.011276473, 0.024451343, -0.015022642, 0.0025881468, -0.027033163, 0.019490201, 0.027539402, 0.00035970655, -0.0009784651, -0.019768633, -0.010504459, 0.013630485, 0.018882714, 0.0068468824, -0.012352232, -0.029488422, -0.038777906, 0.0070367223, -0.0074164015, -0.028729063, 0.019882537, 0.009580573, 0.003920188, -0.00077043247, 0.0071759378, 0.021996085, 0.033690207, -0.0138456365, 0.04728272, 0.023084499, 0.041005358, 0.012124424, -0.01506061, 0.0016041448, 0.00041408767, -0.021008918, 0.0011445747, -0.003001048, 0.021932805, -0.024831023, 0.020300183, 0.010447508, 0.00021495382, 0.0036923806, -0.007846705, 0.012396527, -0.030399652, -0.02685598, -0.020123001, 0.0069860984, -0.031564, 0.025463821, 0.015655441, 0.02143922, -0.022211237, -0.006492515, 0.023957761, 0.010333603, 0.027412841, 0.001546402, -0.027590025, -0.021059543, -0.0014562281, -0.0005944353, -0.010555083, 0.043688424, 0.03546204, -0.02232514, 0.029690918, 0.05194012, -0.0058628805, 0.0109664025, 0.023324963, -0.021477189, 0.041764718, 0.052750103, -0.01675651, 0.01106765, -0.011137258, 0.029918725, 0.01525045, -0.029412486, 0.0007977219, -0.007979592, 0.025160078, -0.0010884139, -0.026653484, -0.043030314, 0.006486187, 0.00899207, -0.024641184, -0.0011121439, 0.03672764, 0.020603927, 0.018882714, -0.015756689, -0.025894124, -0.018844746, 0.009137614, -0.010308292, -0.0056129247, 0.020477368, -0.019502858, 0.027741898, -0.011618185, 0.027716585, -0.003477229, -0.028577192, 0.035208922, -0.015085923 ]
2401.09350
331
Let us compare AQ with PQ at a high level and understand how AQ is different. We can still encode a data point using L log2 C bits, as in PQ. How- ever, the codebooks for AQ are L-times larger than their PQ counterparts, simply because each codeword has d dimensions instead of d◦. On the other hand, AQ does not decompose the space into orthogonal subspaces and, as such, makes no assumptions about the independence between subspaces. AQ is therefore a strictly more general quantization method than PQ. In fact, the class of additive quantizers contains the class of product quantizers: By restricting the i-th codebook in AQ to the set of codewords that are 0 everywhere outside of the i-th “chunk,” we recover PQ. Empirical compar- isons [Babenko and Lempitsky, 2014, Matsui et al., 2018] confirm that such a generalization is more effective in practice. For this formulation to be complete, we have to specify how the codebooks are learnt, how we encode an arbitrary vector, and how we perform distance 9.3 Additive Quantization computation. We will cover these topics in reverse order in the following sections. # 9.3.1 Distance Computation with AQ
2401.09350#331
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 331, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Let us compare AQ with PQ at a high level and understand how AQ is different. We can still encode a data point using L log2 C bits, as in PQ. How- ever, the codebooks for AQ are L-times larger than their PQ counterparts, simply because each codeword has d dimensions instead of d◦. On the other hand, AQ does not decompose the space into orthogonal subspaces and, as such, makes no assumptions about the independence between subspaces.\nAQ is therefore a strictly more general quantization method than PQ. In fact, the class of additive quantizers contains the class of product quantizers: By restricting the i-th codebook in AQ to the set of codewords that are 0 everywhere outside of the i-th “chunk,” we recover PQ. Empirical compar- isons [Babenko and Lempitsky, 2014, Matsui et al., 2018] confirm that such a generalization is more effective in practice.\nFor this formulation to be complete, we have to specify how the codebooks are learnt, how we encode an arbitrary vector, and how we perform distance\n9.3 Additive Quantization\ncomputation. We will cover these topics in reverse order in the following sections.\n# 9.3.1 Distance Computation with AQ", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.00096940214, -0.02400454, -0.003210126, 0.03700648, 0.022961402, -0.0012759785, 0.01560978, -0.012554883, -0.043836534, 0.024737218, 0.031964656, -0.015733963, -0.026500614, 0.04227183, 0.017745724, -0.0017696052, 0.04669274, -0.047214307, 0.030027406, 0.020825459, -0.047884896, -0.025345713, -0.014516971, 0.0022057972, 0.015833309, -0.061992064, -0.004678588, 0.062985525, 0.03360387, -0.031244397, -0.0014389685, -0.01582089, -0.031045705, -0.007134303, 0.00007611048, 0.005811756, -0.0042035882, 0.014119587, 0.0044333264, -0.00022624557, 0.0065382253, -0.031492762, -0.031070542, -0.010816324, 0.010512075, 0.04199863, 0.005582018, -0.012778412, -0.059309714, 0.021620229, 0.00012214544, 0.09552143, -0.019211082, -0.042296667, 0.022787547, 0.0076434524, -0.026177738, -0.013672529, 0.05801821, -0.029679693, 0.0034522824, 0.0013132333, 0.0023594736, 0.016205858, -0.016441805, 0.007898027, -0.010810114, 0.01706272, -0.026152901, 0.014218933, -0.030474463, 0.038695365, 0.008351294, -0.008084302, 0.02393003, -0.0010299413, -0.0487045, 0.050269205, 0.021930685, -0.025681008, -0.0143431155, 0.056031287, 0.01293985, -0.041079678, 0.022650946, -0.010288547, -0.022886893, 0.03504439, -0.032138515, -0.04301693, 0.009555868, 0.017820235, -0.041650917, -0.004184961, 0.054590765, 0.028288847, 0.052901883, 0.027345058, -0.013399326, -0.051809072, -0.03330583, -0.032933284, 0.04885352, -0.04468098, 0.07197636, -0.013486254, -0.0034181322, 0.03968883, -0.019769905, -0.030772502, -0.0022787547, 0.028164662, -0.018205201, 0.0440849, 0.0019838205, -0.026873162, -0.03886922, -0.06586657, 0.0304993, -0.0056844684, -0.030697992, -0.0026528554, 0.050542407, 0.0009981194, 0.026177738, -0.045128036, 0.005405057, -0.08295412, -0.016255531, 0.011331682, 0.030623483, -0.0027708292, 0.014790174, -0.00484313, -0.031194724, 0.0070660026, -0.013771875, 0.02573068, -0.020986896, -0.007792472, 0.033206485, -0.0026901104, -0.0030191948, 0.0057062004, -0.04393588, 0.018093437, -0.00397385, 0.028586885, -0.0047251564, 0.015348996, -0.045500584, -0.050542407, -0.026922835, -0.037478376, -0.023371207, -0.017609123, -0.0056192726, -0.0053057107, -0.01337449, -0.012765993, 0.022439836, 0.0046071825, 0.02659996, -0.026550287, 0.026550287, -0.022377744, -0.07197636, -0.04793457, -0.041303206, -0.037826087, -0.045997318, -0.036460076, -0.02595421, -0.07142996, 0.04393588, -0.025246367, -0.03156727, -0.06243912, -0.019558795, -0.03795027, -0.000042202755, -0.014032658, 0.03268492, 0.015920237, 0.0146039, 0.0008964447, -0.032436553, -0.0035671515, 0.0052715605, 0.024588197, -0.01742285, 0.020837877, 0.04654372, 0.031269234, 0.01568429, -0.05334894, 0.028562048, 0.048480973, -0.024911074, -0.072324075, 0.044333268, 0.0073888777, 0.030399954, 0.006637572, 0.012269262, -0.02833852, -0.008469269, -0.007264695, -0.05161038, -0.017584287, -0.019124154, -0.013498672, 0.0154235065, 0.0012216485, -0.007345414, 0.0047810385, -0.051312342, 0.06288618, -0.048977703, 0.019186245, 0.0002906654, 0.013399326, -0.011760113, 0.030697992, -0.07609923, -0.005550972, 0.034249622, -0.022675782, 0.035441775, -0.07207571, 0.044109736, 0.029182963, -0.041650917, 0.00081339746, 0.026823489, -0.014678409, 0.0010291651, -0.0032070214, -0.04545091, -0.014939193, -0.03303263, -0.009574495, 0.0258797, -0.004712738, -0.00686731, 0.030524136, -0.012449328, -0.00249297, 0.030524136, -0.06710839, -0.01257351, 0.0043743397, 0.029505838, -0.02240258, -0.044979017, 0.005141169, 0.013833966, 0.01821762, -0.02262611, 0.012219589, -0.028239174, -0.04314111, -0.005805547, 0.016454224, -0.01214508, 0.038198635, 0.027369894, -0.008897699, -0.03439864, 0.0190869, -0.023532644, -0.023445716, 0.011623512, 0.024662707, 0.004749993, 0.0036075108, -0.014069913, -0.013163378, 0.003118541, 0.02905878, -0.0091460645, 0.0008320249, 0.053100575, 0.026028719, 0.0281895, -0.02826401, -0.023433298, 0.037751578, -0.037826087, -0.0112758, 0.04987182, -0.0113999825, 0.009779397, -0.036758114, 0.004141497, 0.013523509, -0.01770847, -0.0689463, -0.03578949, 0.026450941, 0.040558107, 0.02580519, 0.017224157, 0.01821762, -0.014107169, 0.025556823, 0.02052742, 0.018528076, -0.023458134, -0.001980716, 0.039440464, 0.04415941, 0.01503854, 0.00817123, -0.081116214, -0.04438294, -0.024749637, -0.060303178, 0.006960447, -0.014690828, 0.033926748, -0.027494077, 0.013598018, -0.036807787, -0.0019636408, 0.031145051, -0.077639095, 0.0045481957, -0.009077764, -0.03705615, 0.005904893, -0.013039196, 0.035913672, 0.03727968, -0.043737188, 0.015721545, 0.005737246, 0.061395984, -0.042246994, -0.001033822, -0.043637842, 0.005904893, 0.017112393, 0.01156763, -0.02400454, 0.024265323, 0.046022154, 0.03380256, 0.024948329, -0.020564675, -0.032362044, -0.0517594, 0.04259471, -0.03462217, 0.070982896, -0.026699306, 0.020850295, -0.034597334, -0.043041766, 0.024650289, -0.00722744, 0.007699335, 0.033405177, -0.040831313, -0.014728082, -0.023259442, -0.012095407, -0.031169888, -0.0017897849, -0.011033643, -0.021645065, 0.024886237, -0.010692141, -0.055037826, -0.021284936, -0.027270546, 0.000783516, 0.044060063, 0.0387202, 0.021347027, 0.0021188695, 0.02393003, 0.028586885, 0.027270546, 0.06830055, 0.01235619, -0.009711096, -0.0032504853, -0.08871621, -0.019111736, -0.008792143, -0.017932, -0.00401421, 0.022415, -0.0041725426, -0.015411088, 0.03822347, 0.01091567, 0.015709126, 0.019322846, -0.02463787, -0.013064032, 0.009363385, -0.027071854, -0.014790174, -0.01800651, 0.01611893, 0.023830682, 0.01719932, 0.05478946, 0.05687573, 0.00429983, 0.04184961, -0.009021882, -0.020216962, -0.0055975406, -0.019844415, 0.008953582, 0.034299295, 0.03492021, 0.015237232, -0.006799009, -0.048058752, -0.04309144, -0.015858145, -0.012585929, -0.009804234, -0.0014397446, -0.0015328816, -0.03273459, -0.011294427, 0.01827971, -0.036087528, -0.041079678, -0.015560107, -0.0009119676, -0.038248308, 0.020452911, -0.014765337, -0.0048928033, -0.042818237, -0.0024526108, -0.013188215, -0.045575093, -0.050219532, 0.0066251536, 0.011232336, -0.007866981, 0.07222473, 0.0067307088, -0.051063973, -0.0006624377, 0.021868594, -0.00018365475, -0.0146039, -0.048828684, 0.020837877, -0.021284936, -0.0143431155, -0.02508493, -0.01293985, -0.011735276, -0.036460076, 0.03765223, 0.024699962, 0.026277084, -0.015411088, -0.022613691, 0.01496403, -0.005526135, -0.02247709, -0.03795027, 0.048406463, -0.021533301, -0.015237232, -0.015411088, 0.027916297, -0.005560286, -0.012840504, -0.024737218, 0.018230038, -0.04162608, -0.020403238, 0.01863984, -0.036658768, 0.03628622, 0.014752919, -0.0005887042, 0.016094094, -0.036882296, -0.07416198, -0.04502869, 0.0453764, -0.01228789, 0.033554196, 0.023793427, -0.0020769576, -0.0032070214, 0.051113646, 0.01994376, 0.01785749, 0.014901938, 0.038347654, 0.014194096, 0.010033972, 0.0212601, 0.045277055, -0.0074758055, 0.0047251564, 0.046891432, 0.060054813, -0.02088755, -0.00845064, -0.0076434524, -0.045003854, 0.028065316, 0.025283622, 0.018490821, -0.01661566, 0.016330041, -0.022601273, -0.050964627, 0.009357176, 0.013039196, -0.019384937, -0.008494105, -0.05985612, -0.09005738, -0.0116483485, -0.07450969, 0.013448999, -0.0046816925, -0.019620886, -0.0014086989, -0.044333268, -0.011611094, -0.029108454, -0.02595421, 0.0040048957, -0.01113299, 0.006525807, -0.012368609, 0.010021553, -0.01769605, 0.018875789, 0.0037999942, 0.014504553, -0.027643096, -0.0010330458, 0.0010493448, 0.005883161, -0.0010058809, -0.026003882, 0.0000713081, 0.013051614, 0.030226098, -0.002115765, 0.034522824, -0.008369922, -0.058514945, 0.023532644, -0.0048990124, -0.0021390491, 0.009897371, -0.01481501, 0.043190785, 0.00350506, -0.055186845, 0.031691454, 0.021036569, -0.029182963, -0.0212601, -0.011729067, -0.022365326, -0.0034150276, 0.020726113, 0.015162722, -0.036385566, 0.01769605, 0.013473836, -0.01734834, -0.02537055, -0.014032658, -0.006569271, -0.030623483, -0.0013900715, 0.019260755, 0.005355384, -0.010381684, 0.047413, 0.0038589812, -0.0013784292, -0.040061377, -0.025420222, -0.06437638, 0.018478403, -0.02796597, -0.023569899, -0.04525222, 0.017447686, 0.03330583, -0.0068486826, -0.018850952, -0.0157588, -0.026699306, -0.008959791, 0.0074261324, 0.029679693, 0.034721516, -0.000035168963, 0.013498672, -0.01662808, -0.018478403, -0.000079166544, -0.047363326, -0.020688858, -0.03606269, -0.046494048, 0.03961432, -0.008928745, -0.016081676, -0.02913329, 0.021620229, 0.012169916, 0.011002597, 0.036807787, 0.0033094722, -0.038347654, 0.006699663, -0.014752919, -0.017720887, 0.025531987, -0.027196037, -0.003837249, 0.022737874, 0.014641155, 0.007898027, 0.0015678081, 0.020800622, 0.0114993295, -0.0034709098, 0.0669097, 0.019931342, 0.00020994658, 0.017025465, -0.003455387, -0.0019605362, -0.011182663, -0.020130035, -0.022588855, 0.0053833253, -0.040433925, 0.018192783, -0.0026575124, 0.011611094, -0.03171629, 0.0029648647, -0.013014359, -0.0066065257, -0.00954345, -0.044060063, -0.044904508, 0.014690828, -0.019099317, 0.021905849, 0.027295383, -0.014752919, -0.022253562, -0.02739473, 0.0068921465, -0.0012332906, 0.012045734, 0.022315653, -0.012126452, -0.0023268755, -0.018677097, -0.017671214, -0.0016562884, -0.022700619, -0.009276456, 0.007829727, 0.0021918267, -0.016864026, 0.0136601105, -0.01872677, -0.017075138, 0.01937252, -0.008357503, 0.005119437, -0.047760714, -0.015597362, 0.030375117, -0.011257173, -0.026922835, 0.0032566944, 0.010487239, 0.012840504, 0.004184961, -0.022874475, -0.024749637, 0.00888528, -0.0001643482, -0.014554227, -0.03693197, -0.03598818, -0.013759457, -0.026575124, 0.023917612, 0.023035914, 0.0012061256, 0.010220246, -0.014591482, -0.012803249, 0.021669902, 0.0052374103, -0.0024774473, -0.030052243, -0.02189343, 0.000036478705, -0.00635816, -0.018230038, 0.010623841, -0.016715007, 0.0026000778, -0.013722202, -0.027270546, -0.027121527, -0.013262725, -0.027916297, 0.011263382, -0.034746353, 0.0033932955, 0.040011704, -0.02234049, 0.009232992, -0.016094094, -0.013647691, 0.04761169, -0.0037689486, 0.008823189, -0.026575124, -0.030375117, 0.018292129, 0.0021980358, -0.013535927, 0.029803876, -0.014442462, -0.017807817, 0.02342088, 0.019347683, -0.0009911341, 0.009295084, -0.01488952, -0.036385566, -0.010474821, 0.019546377, 0.02804048, -0.0067617544, -0.008748679, -0.011735276, 0.014988867, 0.0119898515, -0.00657548, 0.015560107, 0.005349175, -0.020515002, -0.018552912, -0.03318165, 0.036410403, -0.036981642, -0.019546377, 0.03526792, -0.0066251536, 0.023607153, 0.03598818, -0.039564647, 0.0015010599, -0.02674898, -0.011393773, 0.006861101, -0.023979703, -0.018018927, 0.00055533, 0.00077847106, -0.012517628, -0.016777098, 0.010574167, -0.0027925612, 0.010766651, -0.037503213, 0.008432013, 0.007668289, -0.011561421, 0.01777056, 0.02046533, -0.0008514284, -0.02595421, -0.07128094, -0.022154216, 0.00056192727, 0.0020008956, 0.036981642, 0.009884953, 0.00780489, 0.0019124154, -0.011046061, -0.019546377, 0.040160723, -0.011095735, 0.019273173, -0.0120891975, -0.027047018, -0.0005708529, 0.0036230336, -0.02970453, 0.039663993, 0.020216962, 0.0030611064, 0.00025050002, 0.049300577, -0.004119765, -0.0028220546, 0.031691454, 0.017944418, 0.010679723, 0.011896714, -0.011474492, -0.003542315, -0.019235918, -0.0057186186, 0.030747665, -0.027419567, -0.013324817, 0.038894057, -0.00069736416, 0.020452911, -0.046643067, 0.0133620715, -0.058365926, -0.024054212, -0.019186245, 0.011822204, -0.05031888, 0.01770847, -0.005715514, 0.00037798146, -0.009605541, -0.0014172364, 0.0048089796, 0.017894745, -0.006274337, 0.022017613, -0.01063005, 0.005262247, -0.027220873, -0.023445716, -0.012132661, -0.0015515091, 0.03650975, 0.038695365, 0.007904236, -0.022737874, -0.029977733, 0.0065568527, 0.02659996, -0.011971224, -0.004777934, -0.020055525, -0.007264695, 0.0007319025, 0.008345085, -0.010636259, -0.0258797, 0.031815637, 0.008258157, -0.041824773, -0.008941163, 0.03628622, -0.020937223, -0.0011906028, -0.005240515, -0.016032001, 0.008761098, 0.031393416, -0.04885352, -0.031343743, 0.03238688, -0.008667961, 0.019981015, 0.0073329955, -0.005159796, -0.0054392074, 0.00303627, 0.0113441, -0.036683604, 0.009133646, -0.004141497, 0.013846384, 0.016950956, 0.0071529304, -0.052504495, -0.025209112, 0.012219589, 0.0032939492, -0.025246367, 0.034820862, 0.01719932, 0.044035226, -0.013126124, -0.03454766, 0.02073853, 0.0050387178, 0.012629393, -0.001246485, 0.04669274, 0.02067644, -0.0071963943, -0.0066810357, 0.001774262, 0.0042222156, -0.009506195, -0.010965343, -0.031269234, 0.036112364, 0.028586885, -0.013933312, 0.008059465, -0.01605684, 0.04979731, -0.03042479, 0.022737874, 0.010797696, -0.0021778562, -0.025358131, 0.013871221, -0.061992064, 0.0028981166, 0.02890976, 0.015336578, 0.049971167, 0.0032132305, -0.00058754, 0.010580376, -0.0011285114, 0.0045916596, -0.025035257, 0.0051722145, 0.038198635, -0.010834951, 0.013833966, 0.019906506, 0.01394573, 0.04559993, 0.008363713, -0.020651603, 0.016305204, 0.03310714, -0.005796233, 0.022849638, 0.007450969, 0.0192235, 0.032908447, -0.010021553, -0.01952154, 0.00538643, -0.014752919, 0.009071555, -0.0029182963, -0.021669902, -0.009257829, 0.0353921, 0.015833309, 0.008761098, 0.0012752024, 0.013622855, 0.009568286, 0.006063226, 0.0040669874, 0.0134614175, -0.021508465, 0.025358131, 0.037826087, 0.0068362644, 0.0032535898, -0.04959862, 0.046245683, 0.04942476, 0.010636259, -0.0070287473, 0.014715664, -0.022924148, 0.0053057107, 0.01040652, -0.03526792, 0.003216335, -0.005175319, -0.017360758, -0.034647007, 0.025345713, 0.033777725, -0.02977904, -0.0012581272, 0.0017602914, 0.0055758087, 0.01069835, -0.00588937, 0.025283622, -0.025631335, -0.025631335, -0.0038807131, 0.016777098, -0.02355748, -0.03554112, -0.0024572676, 0.02622741, -0.021669902, -0.0073888777, -0.018677097, -0.02154572, -0.059160694, -0.021632647, -0.03323132, -0.01980716, 0.04813326, -0.0055540767, -0.048381627, 0.0076124067, 0.015373833, 0.021781666, -0.015659453, -0.031070542, -0.053150248, 0.0029539987, -0.030300608, -0.0180686, -0.004032837, -0.008487896, 0.00643267, 0.020862713, -0.0036633932, 0.0111081535, -0.019260755, -0.041104514, 0.007531688, 0.05449142, 0.004594764, -0.028785577, -0.0020008956, -0.01394573, 0.0048741754, -0.022775128, 0.023979703, -0.032908447, -0.0060445988, -0.00089489244, 0.031815637, -0.022216307, -0.004153915, 0.047462672, 0.03934112, -0.027667932, -0.0152744865, -0.023122841, 0.0025938686, 0.010741814, -0.0019356997, -0.009431685, -0.017981673, 0.0033529361, 0.01605684, 0.0085561965, 0.04733849, 0.015336578, 0.0017075138, 0.0016252426, 0.010679723, -0.018490821, -0.018379057, 0.01011469, -0.046320193, -0.017311085, -0.0046009733, -0.010201619, -0.011946388, 0.0225516, 0.021247681, -0.0028996689, 0.026947672, 0.01445488, 0.004532673, 0.016541151, 0.018540494, -0.011704231, -0.02754375, 0.03492021, 0.022489509, -0.01821762, 0.0046071825, -0.022700619, 0.03939079, 0.024563361, 0.033430014, 0.012312726, -0.043886207, 0.00037798146, 0.002536434, 0.009009464, -0.0001866623, 0.017658796, 0.013448999, 0.007935282, 0.036832623, 0.005743455, -0.018776443, -0.024625452, -0.0027087377, 0.006351951, 0.011673185, 0.025681008, 0.015113049, 0.016963374, -0.005693782, -0.040508434, -0.00888528, 0.0023206663, 0.012101616, 0.022278398, 0.022328071, 0.01734834, 0.033206485, -0.013548345, -0.01994376, 0.015088213, -0.011871877, -0.013039196, -0.0065071797, 0.012815667, -0.014119587, -0.035491448, 0.019471865, -0.017174484, -0.02622741, 0.004566823, 0.027916297, -0.023160096, 0.005364698, 0.0020288369, 0.04026007, -0.016975792, -0.018453566, -0.011834622, 0.0020272846, 0.025681008, -0.0021887221, 0.00073384284, -0.05906135, -0.0076434524, -0.020937223, 0.04053327, -0.0012534703, 0.017745724, -0.026078392, 0.00317908, 0.00664999, 0.03303263, 0.029356819, -0.00016822891, 0.0067555453, -0.027717605, 0.028214337, 0.005414371, -0.02102415, -0.011480701, -0.0055789133, 0.031467926, -0.016367296, -0.005948357, -0.0035578378, -0.0041383924, -0.022054868, -0.019856833, 0.012710111, 0.022154216, -0.0046196007, -0.029580347, -0.0075068516, 0.014194096, 0.032088842, 0.02313526, -0.03765223, 0.015845727, 0.0043277713, 0.0023517122, 0.026053555, 0.008792143, -0.012952268, -0.00968626, 0.014231351, -0.007295741, 0.027742442, -0.010940506, -0.0031076751, -0.009332339, -0.011536584, 0.025531987, 0.008636915, 0.015026121, -0.0213967, 0.02313526, -0.022650946, 0.012561092, -0.027667932, -0.057471808, -0.010145736, 0.014777755, 0.0021483628, 0.023358788, 0.002095585, 0.025457477, -0.0069852835, -0.029307146, 0.018341802, 0.022526763, -0.014057495, 0.000021841139, 0.002395176, 0.03700648, -0.015485598, -0.038422164, -0.010257501, -0.018329384, 0.032833938, 0.0018084123, -0.021980358, 0.029456165, -0.0023967284, 0.024377087, -0.019831996, 0.003902445, 0.040756803, 0.006274337, -0.0071591395, -0.020490166, -0.021595392, -0.006799009, 0.034075767, 0.029903222, -0.026003882, -0.009065346, -0.009624168, 0.020664021, 0.027047018, 0.02096206, -0.02883525, -0.040657453, 0.03772674, 0.025681008, -0.010748023, -0.004663065, -0.0022135586, -0.005693782, -0.001289949, 0.010002926, -0.0055416585, -0.0116483485, 0.029853549, -0.036112364, 0.007699335, 0.012194753, 0.0009771636, 0.040359415, -0.007134303, 0.0153241595, -0.01770847, -0.010729396, -0.012424491, 0.018975135, 0.026947672, 0.005867638, 0.032511063, -0.0079663275, 0.0029602079, 0.000821935, 0.0033932955, 0.015572526, -0.0110088065, 0.041973792, 0.020353563, -0.0090467185, 0.0051939464, 0.02955551, 0.018267293, 0.014914356, 0.0097856065, -0.02674898, -0.00063682505, -0.01827971, -0.026997345, 0.037478376, -0.012765993, 0.0072771134, 0.0004990597, 0.026401266, 0.0180686, 0.025581662, 0.012294099, -0.00940064, 0.018962717, -0.0028825938, -0.04468098, -0.01965814, 0.006302278, 0.039490137, 0.015311741, -0.017907163, -0.021645065, -0.01568429, -0.016876444, 0.0052870833, 0.000023781495, 0.007898027, -0.017472522, -0.031691454, 0.0046133916, 0.004476791, -0.018416312, 0.009499986, 0.01221338, -0.013163378, 0.023371207, 0.015671872, 0.009419267, 0.026103228, 0.021272518, 0.0072895316, 0.014740501, 0.00751927, 0.025556823, -0.03601302, 0.023458134, -0.006749336, 0.009350967, 0.023669245, 0.03216335, -0.021794084, 0.024824146, 0.05523652, -0.019384937, 0.03961432, -0.018689515, -0.021198006, 0.0043681306, -0.0058862655, 0.01914899, 0.0116483485, 0.016441805, 0.03462217, 0.010828742, -0.033554196, 0.034001257, 0.02154572, 0.0009236097, -0.015982328, 0.015783636, 0.009841489, 0.00542058, -0.008102929, 0.022750292, -0.000107107684, 0.01640455, 0.0017463209, 0.010058808, 0.03136858, -0.01734834, -0.0071963943, 0.027369894, -0.017373176, -0.052703187, -0.010313383, 0.0040048957, 0.0014444015, -0.008879071, -0.0044923136, -0.0058024423, -0.043985553, 0.01394573, 0.04286791, 0.0042532617, -0.01048103, 0.04900254, -0.060104486, 0.011474492, 0.008978418, 0.0027584108, -0.021309773, 0.013548345, -0.05059208, -0.00014281024, 0.048679665, -0.019571213, -0.037925433, 0.018180365, -0.012163707, -0.0258797, -0.002269441, 0.0047593066, 0.017112393, -0.013088869, -0.012765993, 0.007395087, 0.024190813, -0.012536256, 0.026401266, -0.02890976, 0.033951584, -0.004042151, -0.0031061228, -0.014504553, -0.033131976, -0.009164692, 0.009344758, 0.013324817, 0.008301621, 0.017385595, 0.029406492, -0.022427417, -0.0027087377, 0.024327414, -0.0011533479, 0.029977733, -0.044333268, 0.014107169, 0.027916297, 0.010934297, -0.013647691, -0.013896057, -0.004684797, 0.0020272846, 0.0022958298, 0.008363713, -0.014827428, -0.0013256515, -0.019757487, -0.0077303806, 0.0077365898, 0.0015910923, 0.0085561965, 0.00946894, 0.0152744865, -0.015100631, 0.024786891, 0.01394573, 0.043414313, -0.016950956, 0.05732279, 0.04192412, 0.02796597, -0.0076931254, -0.010729396, 0.0055851224, -0.012014688, -0.002252366, -0.0006329443, -0.011145408, -0.0017339026, -0.0052653514, 0.03447315, 0.005960775, -0.010785278, -0.005072868, -0.015435925, 0.00809672, -0.016181022, -0.007674498, -0.016454224, -0.0077365898, -0.027071854, 0.01539867, 0.008537569, 0.031840473, -0.027568586, 0.0041508107, 0.039813012, -0.0050821817, 0.023222188, -0.0050325086, -0.035317592, -0.03713066, -0.009139855, -0.012405864, -0.017335922, 0.061793372, 0.032635245, -0.011219918, 0.041253533, 0.036335893, -0.014305861, -0.0007004687, 0.020415656, -0.02761826, 0.06338291, 0.060799908, -0.013064032, -0.009201947, -0.03385224, 0.028934596, 0.009009464, -0.026873162, 0.00012001105, -0.023122841, 0.018751606, -0.00043114723, -0.031989492, -0.045301892, -0.011300636, 0.006687245, -0.015833309, 0.0021731993, 0.029505838, 0.035913672, 0.032337207, -0.014045076, -0.043463986, -0.00473447, 0.012840504, 0.0049921493, -0.015460761, 0.016677752, -0.03380256, 0.02067644, -0.005392639, 0.04711496, 0.008109138, -0.03303263, 0.02306075, 0.008078093 ]
2401.09350
332
9.3 Additive Quantization computation. We will cover these topics in reverse order in the following sections. # 9.3.1 Distance Computation with AQ Suppose for the moment that we have learnt AQ codebooks for a collection X and that we are able to encode an arbitrary vector into an AQ code (i.e., a vector of L codeword identifiers). In this section, we examine how we may compute the distance between a query point q and a data point u using its approximation ˜u. Observe the following fact: ∥q − u∥2 2 = ∥q∥2 2 − 2⟨q, u⟩ + ∥u∥2 2. The first term is a constant that can be computed once per query and, at any rate, is inconsequential to the top-k retrieval problem. The last term, ∥u∥2 2 can be stored for every vector and looked up during distance computation, as suggested by Babenko and Lempitsky [2014]. That means, the encoding of a vector u ∈ X comprises of two components: ˜u and its (possibly scalar- quantized) squared norm. This brings the total space required to encode m vectors to O(LCd + m(1 + L log2 C)).
2401.09350#332
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 332, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "9.3 Additive Quantization\ncomputation. We will cover these topics in reverse order in the following sections.\n# 9.3.1 Distance Computation with AQ\nSuppose for the moment that we have learnt AQ codebooks for a collection X and that we are able to encode an arbitrary vector into an AQ code (i.e., a vector of L codeword identifiers). In this section, we examine how we may compute the distance between a query point q and a data point u using its approximation ˜u.\nObserve the following fact:\n∥q − u∥2 2 = ∥q∥2 2 − 2⟨q, u⟩ + ∥u∥2 2.\nThe first term is a constant that can be computed once per query and, at any rate, is inconsequential to the top-k retrieval problem. The last term, ∥u∥2 2 can be stored for every vector and looked up during distance computation, as suggested by Babenko and Lempitsky [2014]. That means, the encoding of a vector u ∈ X comprises of two components: ˜u and its (possibly scalar- quantized) squared norm. This brings the total space required to encode m vectors to O(LCd + m(1 + L log2 C)).", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.0016559995, 0.001551134, 0.0026959146, 0.008668873, 0.014156829, -0.008651395, 0.020938125, 0.0007675565, -0.055415537, 0.047911838, -0.0067288633, -0.031016855, -0.028453479, 0.012129432, 0.018223276, 0.014273346, 0.038986627, -0.042179193, 0.03900993, 0.022639275, -0.029665256, -0.024561808, -0.0043315236, -0.016801767, 0.009496145, -0.038730286, 0.0029813815, 0.05187342, 0.06552922, -0.06385138, -0.0003049471, -0.016976543, -0.031785868, -0.030014807, 0.002050701, 0.042319015, -0.017512523, 0.0016603689, -0.00983987, -0.008226108, -0.01477437, -0.01546182, -0.03351032, -0.042342316, 0.0042499616, 0.031366408, -0.002725044, 0.0028095187, -0.050335392, 0.03894002, 0.008529052, 0.08319322, -0.045954347, 0.0024424898, 0.029152581, -0.0013319362, -0.013539288, 0.0024293817, 0.07028312, -0.033766657, -0.004468431, -0.019062199, -0.0048092436, -0.0012532872, -0.011016693, 0.005729729, 0.008220282, 0.036236823, -0.01988947, -0.0014084006, -0.03309086, 0.037891366, 0.033067554, -0.015065663, 0.049263433, 0.004150922, -0.04963629, 0.04485909, 0.008383406, -0.004631555, 0.008861126, 0.012537241, 0.032042205, -0.050475214, 0.0068337284, -0.017524173, -0.059563547, 0.041363575, -0.051920023, -0.0025954186, -0.0109351305, 0.032718003, -0.020250674, 0.01879421, 0.04413668, 0.01655708, 0.06361834, 0.025843496, 0.017547477, -0.045861136, -0.03521147, -0.025214303, 0.059843186, -0.07279989, 0.06636815, -0.024188953, -0.008680524, 0.025866799, -0.006326879, -0.013714064, -0.023431592, 0.011319637, -0.0030731389, 0.03900993, 0.006291924, -0.032997645, -0.03854386, -0.045511585, 0.011966308, -0.008837823, -0.020262325, 0.00742214, 0.05094128, 0.0094145825, 0.017465916, -0.069910266, -0.0013996618, -0.05835177, -0.0019035983, -0.0022779095, 0.06725368, 0.0017069756, 0.01748922, 0.002135176, -0.006303576, -0.0024759886, 0.005575344, 0.0057151644, -0.016265789, 0.004002363, 0.04071108, 0.015368607, 0.009035902, 0.004788853, -0.03050418, 0.032834522, -0.023827748, 0.04194616, 0.031086765, -0.0109351305, -0.06445727, -0.043088026, -0.013154781, -0.040804293, -0.013760671, -0.00847662, -0.012840185, -0.00725319, -0.020029292, -0.021555666, -0.0045762095, 0.010603057, 0.026682418, -0.012548893, 0.036819406, -0.021497406, -0.0776004, -0.03050418, -0.04569801, -0.059983008, -0.035910573, -0.051453955, -0.0020332236, -0.040804293, 0.029525436, -0.014424819, -0.009705875, -0.05476304, -0.014110222, -0.023862705, -0.019050548, 0.011366244, 0.01995938, 0.034768704, 0.024631716, 0.005971502, -0.025983315, 0.015275394, 0.009577706, 0.01899229, -0.022382937, 0.02614644, 0.027078576, 0.036120303, -0.0080280285, -0.009822393, -0.007486224, 0.0031547009, -0.0013108175, -0.084964275, 0.050754853, 0.008441664, 0.021555666, -0.0034896876, 0.01778051, -0.03868368, -0.02254606, -0.019295234, -0.029199189, 0.0040606214, -0.027288307, -0.018549524, 0.023233512, -0.009245633, -0.009845695, 0.04024501, -0.051780205, 0.03798458, -0.07214739, -0.001613762, -0.02607653, -0.005152969, 0.028686512, 0.0044596926, -0.065202974, -0.018689344, 0.015671551, -0.03630673, 0.043810435, -0.060029615, 0.0551359, 0.00701433, -0.039103143, -0.0038101096, 0.031110069, -0.0007639153, -0.008913559, -0.015450168, -0.06012283, 0.011558497, -0.010480714, -0.025610462, 0.034512367, 0.008820346, -0.0134693775, 0.024468593, -0.022208162, 0.007946467, 0.06706725, -0.02873312, -0.03998867, -0.006053064, 0.027334914, -0.007544483, -0.034745403, -0.000549451, 0.0028386482, 0.023140298, -0.0024220995, 0.019306885, -0.008330974, -0.042388923, -0.004034405, 0.004710204, 0.0069910265, 0.04399686, 0.0014134982, 0.00054872275, -0.021765396, 0.02348985, -0.019563222, 0.000008710337, 0.011896397, 0.01436656, -0.02110125, 0.026915453, -0.004226658, -0.0097874375, 0.029711863, 0.0025109437, 0.010166118, 0.016906632, 0.052246273, 0.019516615, 0.028989457, -0.020075899, -0.019901123, 0.029898291, -0.04012849, -0.026589205, 0.05970337, -0.024305468, 0.005406394, -0.035840664, -0.019994335, 0.021637227, -0.03977894, -0.06259299, -0.019737998, 0.018677693, 0.05289877, 0.033556927, 0.043833736, -0.007917338, -0.03521147, 0.04194616, 0.01388884, 0.027404824, -0.02159062, 0.004319872, 0.048517726, 0.05821195, -0.030597392, 0.027661161, -0.07363881, -0.03141301, 0.0012015827, -0.035258077, 0.0041800514, -0.02056527, 0.04481248, -0.01416848, 0.0149841, -0.047422465, 0.008470794, -0.009653443, -0.084078744, -0.0073638815, 0.0022021735, -0.050335392, 0.023734536, -0.005487956, 0.026612507, 0.0019807909, -0.015916238, 0.0063967896, -0.031622745, 0.06823242, -0.041037325, 0.0040664473, -0.03819431, -0.011552672, 0.022732489, -0.007655174, -0.013818929, 0.020600226, 0.04166652, 0.004366479, 0.047585588, -0.009868999, -0.04262196, -0.05951694, 0.041526698, -0.03418612, 0.0653894, -0.012478982, 0.011884745, -0.050382, -0.051733598, -0.0048150695, -0.0036819407, 0.016766813, 0.041503396, -0.031273194, -0.01369076, -0.00827854, 0.023839401, -0.0129333995, -0.022732489, -0.02444529, -0.04166652, 0.031646047, -0.014110222, -0.056627315, -0.011535194, -0.02982838, 0.017267836, 0.018689344, 0.049170222, 0.055788394, 0.023140298, -0.0035683366, 0.0063909637, 0.0028619515, 0.052199665, 0.0007770235, -0.012234297, -0.011232249, -0.058864444, -0.023583064, -0.031273194, -0.019143762, -0.0058695492, 0.018234927, -0.004759724, -0.0013727172, 0.053504657, 0.03532799, 0.025004571, 0.014599594, -0.015356955, -0.03588727, -0.0037314605, -0.032298543, -0.010871046, -0.042668566, 0.031552833, 0.0422258, 0.010119511, 0.088972464, 0.029781774, -0.008365928, 0.04751568, -0.017722253, -0.02798741, 0.008109591, 0.010474889, 0.0235015, 0.026332866, 0.0137373675, 0.004328611, 0.015205483, -0.020483708, -0.029921593, -0.05257252, -0.017582431, -0.014086919, 0.0110691255, 0.02465502, -0.04168982, -0.025004571, -0.0019108806, -0.027055273, -0.029921593, -0.013539288, -0.011523542, -0.0163357, -0.0014637462, -0.022079993, -0.016452216, -0.051174317, -0.0077483878, -0.047911838, -0.040221706, -0.043693915, 0.005490869, -0.006414267, 0.01620753, 0.07485059, -0.0036207691, -0.039522603, -0.019644786, 0.01369076, 0.023594715, -0.026729025, -0.0741981, 0.015904585, -0.027265003, 0.014937494, 0.0023667538, -0.017349398, 0.023454895, -0.040547956, 0.029898291, 0.017116364, 0.0060355864, -0.025726978, 0.009589358, 0.0048558507, 0.008703828, -0.02852339, -0.026962059, 0.067160465, -0.038240917, -0.037029136, -0.0129916575, 0.023571411, -0.019248627, 0.00050539296, -0.021241069, 0.012047869, -0.052758947, -0.040547956, -0.008336799, -0.037401993, 0.032997645, 0.02982838, 0.008756261, 0.05052182, -0.03043427, -0.054856256, -0.050848067, 0.05476304, -0.009653443, 0.023373332, 0.03518817, -0.028383568, -0.0056336024, 0.035164863, 0.017256184, -0.019563222, 0.0009095617, 0.040547956, 0.011150688, 0.005327745, 0.029618649, 0.03663298, -0.0026012445, -0.006857032, 0.06510976, 0.065436006, 0.010917653, 0.007882383, -0.013585895, -0.03383657, 0.042505443, 0.01892238, 0.01120312, -0.0024089913, 0.018829165, -0.022161555, -0.032018904, 0.011261378, -0.0030498353, -0.004372305, -0.0062569687, -0.04931004, -0.054157153, -0.026053226, -0.038730286, -0.01730279, -0.020075899, -0.019458357, 0.032065507, -0.016848374, -0.037029136, -0.008464968, -0.0048267213, 0.006076367, -0.004640294, -0.008010551, 0.0009641791, 0.018013544, 0.008762087, 0.007567786, 0.0025240518, -0.0005512716, -0.023886008, -0.015147224, -0.020541966, 0.003067313, -0.010544798, -0.036609676, 0.008837823, 0.008424187, 0.035281383, 0.008156198, 0.01892238, -0.013049916, -0.06487673, 0.009804915, -0.007975596, -0.0076027415, 0.031692654, -0.025540551, 0.029711863, 0.004561645, -0.046350505, 0.023105344, 0.00046825313, -0.016510475, -0.026729025, 0.0139470985, -0.016592037, 0.0017841683, 0.020658484, -0.00020754611, -0.022849005, 0.014786022, 0.03418612, -0.0134693775, 0.01893403, 0.012700365, 0.0040984894, -0.021765396, -0.0068162507, 0.014762718, 0.0057355547, -0.007981422, 0.03481531, 0.03507165, 0.0011644429, -0.029315704, -0.028080624, -0.051593777, 0.018817514, -0.030364359, -0.031832475, 0.0033294763, 0.011436154, 0.03003811, -0.005453001, -0.0071075438, -0.009129115, -0.023163602, 0.013749019, 0.026169743, 0.018584479, 0.028500086, -0.0038829327, 0.012094476, -0.0088553, -0.017454263, 0.004002363, -0.022149902, -0.007649348, -0.018165018, -0.041550003, 0.03514156, -0.015100618, -0.0062569687, -0.030830428, 0.011704144, 0.020005988, 0.0033003471, 0.053225014, -0.0022560626, -0.040198404, 0.022371285, -0.021567317, -0.015578338, 0.01130216, -0.01873595, 0.00041545634, 0.011686666, 0.024981268, -0.013620851, 0.016405609, 0.01021855, -0.005755945, 0.008173675, 0.06296585, 0.020646833, -0.004150922, -0.0010282635, -0.003271218, -0.014949146, -0.013772323, -0.042249106, -0.014051964, -0.0122576, -0.043624006, 0.023571411, 0.004788853, 0.012677061, -0.025726978, 0.0100554265, 0.0021745006, 0.011267205, -0.009053379, -0.053364836, -0.032578185, 0.0036877666, -0.028849637, 0.004410173, 0.026239654, 0.013597547, -0.023443243, -0.0020710917, 0.0042237453, 0.0032799568, 0.0299682, 0.013783975, -0.004675249, 0.016254136, -0.013026613, 0.004031492, 0.019994335, -0.02642608, -0.01893403, 0.005607386, -0.004957803, -0.01852622, 0.0038508906, -0.0076784776, -0.01321304, 0.014378211, -0.00023794979, 0.007649348, -0.041037325, 0.00909416, 0.0043752175, 0.020099202, -0.008086287, 0.016452216, 0.002072548, -0.00044494972, -0.03078382, -0.0044189114, -0.038567163, 0.021497406, 0.024282167, -0.0090417275, -0.04045474, -0.03663298, -0.027404824, -0.011919701, 0.020262325, 0.046140775, 0.0100554265, 0.026495991, -0.032997645, -0.0026915453, 0.013877188, -0.011482761, -0.013329557, -0.031576138, 0.0022065428, -0.01893403, -0.0139470985, -0.016102664, 0.011943004, -0.01681342, -0.002175957, -0.028173838, -0.025983315, -0.039312873, 0.006414267, 0.0013705326, -0.0035945529, -0.02635617, 0.0057967263, 0.03486192, -0.012397421, 0.01776886, -0.011622582, -0.040338222, 0.04012849, -0.009962213, 0.004083925, -0.036819406, -0.030597392, 0.01748922, 0.009997168, 0.021870261, 0.05359787, 0.0035013391, -0.038520556, -0.008319322, 0.02982838, -0.0050684945, 0.007824124, -0.02812723, -0.032321848, -0.0037401991, -0.0020303107, 0.036073696, -0.00030403683, 0.0064666998, 0.020868214, -0.014552987, 0.001999725, 0.0081620235, 0.0388002, 0.015881281, -0.015275394, -0.0067405147, -0.039452694, 0.03917305, -0.02036719, -0.03763503, 0.047375858, -0.003626595, 0.026962059, 0.035491113, -0.016661948, -0.0132013885, -0.008989295, -0.011902222, -0.0028371916, 0.00024759886, -0.017314443, -0.0056336024, -0.04073438, 0.001736105, 0.0036994182, -0.0022808225, 0.013434423, 0.012385769, -0.040571257, 0.008872778, -0.0011673558, -0.009187374, -0.012502286, 0.0072007575, 0.013679109, 0.0068104253, -0.046303898, 0.001811841, 0.030410966, 0.007963944, 0.043297756, 0.024119042, -0.012886792, 0.007060937, 0.021613924, -0.03656307, 0.02022737, -0.010573928, 0.019621482, 0.0013821842, -0.017605735, -0.004870415, -0.0035013391, -0.026985362, 0.029618649, -0.0028153446, -0.00056510797, -0.00015411209, 0.04052465, 0.010288461, 0.0015001578, 0.01647552, 0.011459458, 0.016685251, 0.026938755, -0.00816785, -0.011150688, 0.0107254, 0.008255238, 0.05849159, -0.015263742, -0.017990243, 0.01750087, 0.013644153, -0.0019458358, -0.03956921, 0.032461666, -0.05406394, -0.007661, -0.0042150063, 0.03078382, -0.036539767, 0.034489065, -0.018001894, 0.0008141633, -0.040617865, -0.00888443, 0.014657852, 0.006076367, -0.019073851, 0.015916238, -0.00823776, 0.013154781, 0.007305623, -0.028360264, -0.015834676, -0.008820346, 0.020285629, 0.030341055, -0.002966817, -0.041107237, -0.025144393, 0.016650295, 0.05700017, 0.0053772647, -0.0028357352, -0.010865221, 0.001673477, -0.005837507, 0.011214772, 0.028150534, -0.030247841, 0.02526091, 0.020740045, -0.017209576, -0.019155413, 0.025447337, -0.0129916575, -0.003262479, -0.006769644, -0.0042062677, 0.0040169274, 0.01927193, -0.030294448, -0.020914821, 0.01892238, 0.02738152, 0.009000947, 0.026169743, 0.020693438, 0.026262958, 0.0014120417, 0.004197529, -0.03423273, 0.007789169, 0.0011826487, 0.035654236, 0.005994805, 0.012467331, -0.039103143, -0.008843648, 0.031552833, -0.01079531, -0.036236823, 0.033067554, -0.004552906, 0.02756795, 0.0026930016, -0.02894285, 0.0144830765, 0.005837507, 0.020576922, -0.014180132, 0.052805554, 0.038986627, -0.013667457, -0.004349001, 0.010469062, 0.016219182, -0.0044509536, -0.02254606, -0.03180917, 0.035118256, 0.025307516, -0.0065948684, -0.0110399965, -0.0055840826, 0.07410488, -0.009577706, 0.02206834, -0.017477566, 0.026262958, -0.048051655, 0.019819561, -0.07909182, 0.0053015286, 0.014145177, 0.02703197, 0.033277288, -0.015263742, 0.0069502457, 0.014051964, -0.012548893, 0.0009998624, -0.010195247, 0.0033003471, 0.01845631, -0.014040312, 0.030690607, 0.0204371, 0.022417892, 0.013877188, 0.0047801146, -0.022849005, 0.016289093, 0.042505443, 0.024258863, 0.009892303, -0.001613762, 0.031785868, 0.04159661, -0.022522757, -0.014459773, 0.0056772963, -0.013084872, 0.011500238, 0.017442612, -0.028290354, -0.012071173, 0.056627315, 0.017827118, 0.014180132, 0.014063615, 0.01892238, 0.0151239205, -0.009402931, 0.002863408, -0.004468431, -0.03593388, 0.021369237, 0.022755792, 0.026845543, -0.0094437115, -0.06580886, 0.028500086, 0.06995688, 0.024468593, 0.00095179916, 0.008348451, -0.0041742255, -0.013539288, 0.015520079, -0.056487497, 0.011814835, -0.003265392, -0.008156198, -0.05094128, 0.016452216, 0.019714694, -0.0047364207, -0.0062336656, -0.000935778, 0.018899076, 0.0010107859, -0.010241854, -0.007503702, -0.002336168, -0.016428912, -0.028593298, 0.010090382, -0.0064783515, -0.02777768, -0.028080624, 0.029641952, -0.025424033, -0.0024133606, -0.02852339, -0.008127068, -0.038916714, 0.0030440094, -0.012560545, -0.03290443, 0.051640384, -0.017279487, -0.042808387, -0.0026755242, 0.019306885, 0.0129916575, 0.0012744059, -0.012630455, -0.04739916, 0.028500086, -0.02397922, -0.043134633, 0.00091757224, -0.015170528, 0.008890255, 0.011319637, 0.017349398, 0.0022429544, -0.030620696, -0.039615817, 0.010672967, 0.057326417, 0.0015715245, -0.015578338, 0.0103991525, -0.017931983, 0.007090066, -0.0017346485, 0.009274762, -0.023816098, 0.009624314, -0.002923123, 0.0388002, -0.019633133, 0.01790868, 0.008989295, 0.022918915, -0.012945051, -0.010538973, -0.050335392, 0.0022269334, 0.0010042319, -0.011150688, 0.0015409387, -0.030597392, 0.0096825715, 0.008395058, 0.0028095187, 0.019528268, 0.01729114, 0.022837354, 0.013749019, 0.026519295, -0.028546693, -0.024165649, -0.009280588, -0.0292924, -0.038776893, -0.0002175593, -0.005234531, -0.0006266436, 0.019586526, 0.020949777, -0.0008753348, 0.0057355547, 0.022918915, 0.022382937, 0.03171596, 0.030154629, -0.01266541, -0.03628343, 0.00823776, 0.015648248, -0.019493314, 0.00888443, -0.011867268, 0.03847395, -0.0025298777, 0.047422465, 0.009595184, -0.032438364, 0.0035566848, -0.027591253, 0.008872778, 0.004838373, 0.0140053565, 0.032461666, 0.021648878, 0.01450638, -0.0065133064, -0.024608415, -0.0035566848, -0.012071173, 0.015240438, 0.0072124093, 0.023851052, 0.012012914, -0.0053044413, 0.0019837038, -0.025191, -0.0091757225, 0.0049723675, 0.02205669, 0.017139668, 0.0033556928, 0.00020008173, 0.0148559315, -0.0032100463, -0.023256816, -0.0022313027, 0.0031547009, -0.013131479, -0.012409072, 0.019190367, 0.0013363056, -0.022138251, 0.017547477, -0.0020201155, -0.03043427, 0.012059521, 0.009886477, -0.007631871, 0.014110222, 0.0026260044, 0.03998867, -0.011954656, -0.002725044, 0.0021890653, 0.021509059, 0.02593671, -0.003387735, 0.011902222, -0.045511585, -0.017372701, -0.018106759, 0.037378687, -0.009781611, 0.0004948336, -0.031646047, 0.017652342, 0.006851206, 0.025074482, 0.0052199666, 0.027334914, 0.005246183, -0.04255205, 0.025144393, 0.0052811382, -0.010404978, -0.012001262, -0.011173991, 0.04168982, -0.010603057, 0.0045703836, -0.007620219, 0.013294603, -0.022231465, -0.021474104, -0.00471603, 0.0062744464, -0.01607936, -0.010148641, -0.0034896876, -0.0035362942, -0.0044072596, 0.012910096, -0.033207376, 0.010300113, -0.014634549, -0.003670289, 0.012956703, -0.0053627, -0.0069502457, -0.014226739, 0.031203283, 0.0040081884, 0.036446553, -0.026402777, 0.004605339, -0.028383568, -0.010923479, 0.02253441, 0.012781927, -0.007497876, -0.016114317, 0.009915606, -0.031482924, 0.019143762, -0.020495359, -0.043833736, -0.03672619, 0.017943636, -0.010841917, -0.0054617394, 0.011727448, -0.0004511397, 0.007247364, -0.012956703, 0.0050859717, 0.02894285, -0.00967092, 0.0102942865, -0.004529603, 0.027940802, -0.00983987, 0.0057355547, -0.012001262, -0.017617388, 0.025983315, -0.02614644, -0.0034197771, 0.018398052, 0.011500238, 0.0204371, -0.019528268, 0.007538657, 0.02982838, -0.008709654, -0.0057151644, -0.009886477, -0.017081408, -0.017873725, 0.03637664, 0.02205669, -0.039662424, 0.0023900573, 0.0123508135, 0.030084718, 0.03670289, 0.020040942, -0.027195094, -0.043204546, 0.047096215, 0.009775786, -0.027591253, -0.015345303, 0.0043810434, -0.01934184, 0.001613762, 0.029898291, -0.0061928844, -0.0071599763, 0.016871678, -0.015415214, 0.014832628, 0.016918285, 0.016650295, 0.02444529, -0.00086004194, -0.0133645125, -0.003067313, -0.009513622, -0.011051648, 0.023035433, 0.012012914, -0.007952292, 0.012746972, 0.00871548, 0.01879421, 0.008965991, 0.00037868062, 0.005881201, -0.0060355864, 0.016778463, 0.020099202, 0.0064259185, -0.003143049, 0.023711232, -0.0033353022, 0.0067346888, 0.006460874, -0.01198961, 0.015881281, -0.021846958, -0.037075743, 0.0170348, -0.031273194, 0.010282635, -0.0016632817, 0.026915453, 0.019015592, 0.025447337, 0.017675646, -0.0020550706, 0.012374117, 0.0043752175, -0.034512367, -0.03954591, 0.026193047, 0.021276025, 0.0040897503, -0.014250043, -0.021975128, -0.020996382, -0.046210688, -0.0042557875, -0.007567786, -0.0009772873, -0.02254606, -0.04541837, -0.007538657, 0.008261063, 0.0069968523, 0.026565902, -0.0006954615, -0.026099833, 0.016289093, 0.03071391, 0.013655805, 0.0070376336, 0.027358217, 0.024491897, 0.02465502, 0.02233633, 0.032018904, -0.03385987, 0.022045037, 0.0015642422, 0.011051648, -0.007870731, 0.018095108, -0.046070866, 0.020273978, 0.044556145, -0.009880651, 0.018700996, -0.019225324, -0.009280588, 0.024888055, 0.010818614, 0.015019055, 0.03311416, 0.020530315, 0.036260124, 0.020064246, -0.042319015, 0.022010082, 0.028779726, -0.034885224, -0.009531099, 0.000756633, -0.0040897503, -0.0016399784, 0.0039266264, 0.0051558823, 0.016300743, -0.012642106, -0.014238391, -0.0068803355, 0.018957334, -0.00067397865, -0.0003739471, 0.021415845, 0.0009284957, -0.0469797, 0.0036091176, 0.024328772, 0.0037955448, -0.00029402366, -0.021835307, -0.0014302476, -0.04371722, 0.024981268, 0.04718943, 0.017652342, -0.019551571, 0.040058583, -0.03071391, 0.015753113, 0.012642106, 0.015531731, -0.001972052, 0.0117099695, -0.03535129, -0.03514156, 0.04315794, -0.019866167, -0.035584327, 0.008779564, 0.0074337916, -0.0074512693, 0.011925526, 0.0025590071, 0.035514414, -0.0068395543, -0.0071599763, 0.005977328, 0.021287676, -0.009653443, 0.02083326, -0.039103143, 0.044486232, -0.02247615, 0.009542751, -0.012245948, -0.015753113, 0.001494332, 0.0056539928, 0.0151239205, -0.009991342, 0.014809324, -0.000740976, -0.031436317, 0.0039266264, 0.037145656, 0.003148875, 0.031063462, -0.01831649, -0.021077946, 0.00280078, -0.021276025, -0.009898129, -0.016324047, 0.021846958, 0.013434423, 0.015892934, 0.023955919, -0.009880651, -0.03859047, -0.043018118, -0.02607653, 0.020740045, -0.0036207691, 0.028406871, -0.010527321, -0.0006077096, -0.008435839, 0.02097308, 0.0036091176, 0.03996537, -0.011698318, 0.03784476, 0.028639905, 0.031249888, -0.03274131, -0.0026667854, -0.016359001, -0.006408441, -0.022045037, -0.007870731, 0.0033353022, 0.0032479144, -0.0037576768, 0.053924117, 0.0059074173, -0.011523542, 0.009764134, -0.011494413, 0.025517248, 0.0016851287, -0.005648167, -0.03861377, -0.0026143526, -0.03220533, 0.020716742, 0.005563692, 0.01920202, -0.025750281, 0.0038188484, 0.046257295, 0.024188953, 0.03772824, 0.020285629, -0.023116995, -0.008045507, -0.008016377, -0.020658484, -0.027055273, 0.03975564, 0.016592037, -0.018106759, 0.015543383, 0.031646047, -0.005493782, 0.0027323263, 0.016836723, -0.02090317, 0.031016855, 0.050848067, -0.0074803983, -0.004436389, -0.007177454, 0.040897507, 0.0034751229, -0.030550787, 0.0100554265, -0.0071599763, 0.008890255, 0.0039674076, -0.008820346, -0.037355386, -0.01681342, -0.012618803, -0.030317752, 0.009985517, 0.035118256, -0.0008403797, 0.02192852, -0.0020142896, -0.054716434, 0.007259016, 0.024258863, -0.03688932, -0.025796888, 0.021241069, -0.04772541, 0.025960011, -0.0045266896, 0.050894674, 0.0139470985, -0.024305468, 0.024398683, -0.0017623213 ]
2401.09350
333
The middle term can be approximated by ⟨q, ˜u⟩ and can be expressed as follows: ⟨q, u⟩ ≈ ⟨q, ˜u⟩ = ⟨q, µi,ζi(u)⟩. As in PQ, the summands can be computed once for all codewords, and stored in a table. When approximating the inner product, we can do as before and look up the appropriate entries from these precomputed tables. The time complexity of this operation is therefore O(LCd + mL) for m data points, which is similar to PQ. # 9.3.2 AQ Encoding and Codebook Learning While distance computation with AQ codes is fairly similar to the process involving PQ codes, the encoding of a data point is substantially different and relatively complex in AQ. That is because we can no longer simply assign a vector to its nearest codeword. Instead, we must find an arrangement of L codewords that together minimize the approximation error ∥u − ˜u∥2. Let us expand the expression for the approximation error as follows: 133 134 9 Quantization
2401.09350#333
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 333, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "The middle term can be approximated by ⟨q, ˜u⟩ and can be expressed as follows:\n⟨q, u⟩ ≈ ⟨q, ˜u⟩ = ⟨q, µi,ζi(u)⟩.\nAs in PQ, the summands can be computed once for all codewords, and stored in a table. When approximating the inner product, we can do as before and look up the appropriate entries from these precomputed tables. The time complexity of this operation is therefore O(LCd + mL) for m data points, which is similar to PQ.\n# 9.3.2 AQ Encoding and Codebook Learning\nWhile distance computation with AQ codes is fairly similar to the process involving PQ codes, the encoding of a data point is substantially different and relatively complex in AQ. That is because we can no longer simply assign a vector to its nearest codeword. Instead, we must find an arrangement of L codewords that together minimize the approximation error ∥u − ˜u∥2.\nLet us expand the expression for the approximation error as follows:\n133\n134\n9 Quantization", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.010150032, -0.008260069, 0.00018570438, 0.019767158, 0.01186649, 0.00915238, 0.016718429, 0.019729977, -0.027066752, 0.039385594, 0.03851807, -0.020845365, -0.021650923, 0.030065907, -0.0030038024, -0.020609895, 0.04637536, -0.043822363, 0.0016529433, 0.012349825, -0.028975306, -0.025319312, 0.0055769407, 0.033709507, 0.015119706, -0.045458265, -0.011463712, 0.058396768, 0.023038963, -0.05160529, 0.012826964, -0.007882076, -0.024352642, -0.027463336, 0.010676743, 0.04146765, -0.04067449, 0.04892836, -0.0049851653, -0.002175007, -0.008445967, -0.0074421177, -0.039583888, -0.052001875, -0.002816355, 0.030834286, -0.016111162, 0.017709885, -0.023162894, 0.022865457, 0.021626137, 0.08496779, -0.010528025, -0.005756642, 0.004154821, -0.014029104, -0.0114079425, -0.0010247629, 0.079564355, -0.016210308, -0.009400244, -0.0044832407, 0.00023566448, 0.0018946107, 0.012597689, -0.00021358908, -0.006556004, 0.025901793, -0.004439865, -0.011135292, -0.040302694, 0.041616373, 0.03494883, -0.04749075, 0.027339403, -0.0041300347, -0.03271805, 0.074210495, 0.016210308, -0.00658079, 0.021626137, -0.01977955, 0.04996939, -0.02129152, -0.0049851653, -0.032098394, -0.043252274, 0.02198554, -0.033188995, -0.03789841, -0.015008167, 0.013149187, -0.030140268, -0.01730091, 0.0656344, 0.0130996145, 0.01691672, 0.008384001, 0.023745375, -0.046623226, -0.016854754, -0.025926579, 0.056612145, -0.04741639, 0.06846005, -0.037600975, -0.021279128, 0.04060013, -0.04853178, -0.018465871, -0.00045661203, 0.038617216, -0.03247019, 0.038840294, 0.027265044, -0.01343423, -0.026694957, -0.033982158, -0.00055304664, 0.0006092033, -0.052249737, 0.0048178574, 0.05210102, -0.011290207, 0.009883579, -0.024873156, 0.0036776827, -0.06930278, 0.017176978, -0.023274433, 0.022121865, -0.0031013987, 0.005496385, 0.00501305, -0.027339403, 0.0021719085, 0.012628673, 0.034824897, 0.01842869, -0.008700028, 0.043549713, 0.015739366, 0.0032965916, 0.007968829, -0.03653516, 0.025926579, -0.020994084, 0.02453854, 0.006119143, -0.016631678, -0.050960846, -0.048506994, -0.049548022, -0.024228709, -0.030512063, -0.010540418, -0.035394985, -0.016941506, -0.016693642, -0.01447526, 0.022976996, -0.007813914, 0.028727442, -0.04169073, 0.023993239, -0.014140643, -0.06712158, -0.03854286, -0.053340342, -0.03046249, -0.048209555, -0.031280443, -0.01106713, -0.014884235, 0.00880537, -0.042359963, -0.032693267, -0.087843016, -0.039658245, -0.021427846, 0.0015615434, -0.0041207396, 0.04231039, 0.018416299, 0.004216787, 0.013012862, 0.0013074828, 0.012399399, 0.0034669982, -0.022456482, 0.00012732079, 0.00488602, 0.033783868, -0.0043593086, -0.014623978, -0.028851373, 0.028702656, 0.0047930707, 0.009071824, -0.040054828, 0.05438137, 0.009672894, 0.050911274, 0.004864332, 0.013347479, -0.016445778, -0.014933808, -0.01602441, -0.048482206, 0.01164961, -0.017957749, -0.012312646, 0.031007791, 0.000564278, -0.0067357053, 0.02287785, -0.052894186, 0.035667636, -0.046028353, 0.003476293, -0.015392357, 0.012337432, -0.0146611575, 0.031255655, -0.08506694, 0.012219697, 0.026224015, -0.03789841, 0.031330016, -0.07188057, 0.040253118, -0.012715425, -0.047664255, -0.0012036897, 0.046077926, -0.005930147, 0.010837855, -0.014549619, -0.055025816, -0.0061625196, -0.028454792, 0.000023963417, 0.0415668, -0.018143648, -0.016929114, 0.008966481, -0.009660501, -0.01350859, 0.03824542, -0.036089003, -0.013074828, -0.021068443, 0.033684723, -0.011662003, -0.0461275, 0.043822363, -0.017176978, 0.025257345, -0.012430381, 0.0024662472, -0.028578723, -0.03626251, -0.017387662, 0.027314616, 0.026224015, 0.018242793, 0.021353487, 0.0049170027, -0.025368884, 0.0006901464, -0.03762576, -0.026893249, 0.0046133692, 0.066625856, -0.0068348506, -0.0105590075, -0.027265044, 0.01323594, 0.017152192, 0.011643413, -0.022146652, 0.009530372, 0.053241193, 0.014648764, 0.020300064, -0.010583795, -0.019321002, 0.03212318, -0.06503952, -0.017424842, 0.030165054, -0.02674453, 0.010007511, -0.033337712, -0.023175288, 0.018924419, -0.0277112, -0.0853148, -0.006292648, 0.033709507, 0.04880443, 0.028702656, -0.0032811002, 0.0048302505, -0.061718144, 0.06023096, 0.022617593, 0.012170124, -0.00973486, -0.00080245984, 0.029396676, 0.0672703, -0.00060533045, 0.016247487, -0.076441266, -0.052596748, -0.007714768, -0.06384978, 0.006754295, -0.020944512, 0.031280443, -0.02140306, 0.029099237, -0.04699502, -0.0017613838, 0.009263919, -0.07505323, -0.014921415, 0.00021397638, -0.0457557, 0.014983381, -0.021217162, 0.018279973, 0.03584114, -0.0046691387, 0.014351328, -0.025802646, 0.036783025, -0.03871636, 0.025926579, -0.052745465, -0.00082647166, 0.012393202, 0.010168622, 0.008439771, 0.022964602, 0.021874001, 0.009660501, 0.07376434, 0.012021406, -0.04811041, -0.042285606, 0.07049253, -0.017536381, 0.095080644, -0.028380433, 0.037947983, -0.035246264, -0.0576036, 0.03294113, -0.011872687, -0.021526992, 0.026893249, -0.04652408, -0.04454117, -0.015875692, 0.03576678, -0.026174443, -0.014648764, -0.012027603, -0.038865082, -0.0030254903, -0.033610363, -0.026918035, -0.043723214, -0.011984226, -0.023423152, 0.035915498, 0.0050936057, 0.05081213, 0.0019395361, -0.0077271615, -0.006952586, 0.025579568, 0.05755403, 0.013074828, 0.015206459, 0.006841047, -0.046003565, -0.0116682, -0.016458172, -0.0135829495, -0.00816712, -0.0013462115, 0.0064816447, -0.0015460519, 0.04273176, 0.035618063, 0.00882396, 0.026546238, 0.0065436107, -0.020870151, 0.013768847, -0.0036250115, -0.019321002, -0.01124683, 0.022357335, 0.02605051, -0.0051400806, 0.07331818, 0.06057797, 0.009648108, 0.044342875, -0.011717772, -0.004464651, -0.002267956, -0.026025724, 0.03487447, 0.027537694, 0.008842549, -0.007002159, 0.0020774105, -0.016842362, -0.023026569, -0.03660952, -0.012572903, -0.0025189184, -0.0017675804, 0.022828277, -0.03866679, 0.0027481925, 0.01799493, -0.031106936, -0.0421121, -0.024749223, -0.024736831, -0.03603943, 0.021762462, -0.018341938, -0.017077832, -0.026645385, -0.0026366536, -0.012752605, -0.044119798, -0.031577878, 0.0063886954, 0.029694112, -0.010304947, 0.03898901, 0.016619284, -0.032494973, -0.014500046, 0.029545393, 0.015330391, -0.009970331, -0.04823434, 0.034750536, -0.00047481456, -0.022344943, -0.0060664723, -0.022729132, -0.002052624, -0.012535724, 0.034428313, -0.003155619, 0.020498356, -0.012281663, -0.0026118674, 0.012566707, 0.013050041, -0.04099671, -0.023435544, 0.05844634, -0.04672237, -0.011947047, 0.014376114, 0.023324005, -0.020238098, -0.026918035, -0.026496666, -0.0012331236, -0.052497603, -0.026174443, 0.024253497, -0.025877004, 0.07153356, 0.037204392, -0.020188525, 0.03522148, -0.022766313, -0.049721524, -0.04340099, 0.034577034, -0.012300253, 0.021266734, 0.0145372255, -0.021204768, 0.0046319594, 0.056215562, 0.00720045, 0.02253084, 0.03569242, 0.035816353, 0.012318843, 0.027265044, 0.04694545, 0.019531686, -0.013248333, 0.0088673355, 0.071830995, 0.05725659, 0.023621442, -0.004179607, -0.009239132, -0.040030044, 0.0313548, -0.0024461083, 0.009517979, -0.003352361, 0.03088386, -0.037947983, -0.03266848, -0.0059270486, 0.008613275, -0.019767158, -0.02249366, -0.050142895, -0.09275072, -0.034477886, -0.061718144, 0.014029104, 0.01637142, -0.039137732, 0.018255187, -0.03603943, 0.0035475541, -0.02659581, -0.014884235, 0.00470322, -0.040897567, -0.00785729, -0.021588957, 0.016929114, 0.0049820673, 0.02523256, 0.0038387943, 0.008303445, 0.009307294, -0.012052389, -0.007138484, 0.007113698, 0.0027249553, 0.0006696202, 0.019655619, 0.012021406, 0.019147497, 0.014586799, 0.031553093, -0.015256031, -0.062560886, 0.015293211, 0.007287203, -0.008848746, 0.007126091, -0.022704346, 0.037278753, 0.016594497, -0.0457557, 0.027909491, 0.021526992, -0.030859072, -0.00470322, 0.0078015206, -0.019593652, -0.003981316, 0.010019904, 0.0128517505, -0.005483992, 0.0060912585, 0.025877004, -0.010187211, -0.010930804, 0.031131724, -0.014685944, -0.025381278, 0.030933432, 0.004951084, -0.009257722, -0.0061377333, 0.055818982, 0.02743855, 0.0041486244, -0.027661627, -0.02391888, -0.074408785, 0.015640222, -0.033040278, -0.030536849, -0.032767627, 0.0011773541, 0.013012862, -0.015900478, 0.0010325087, -0.022629987, -0.011785935, 0.0012950896, 0.015751759, 0.06196601, 0.030487277, -0.0012052389, 0.01378124, 0.0140538905, -0.018688949, 0.028925734, -0.02728983, -0.02450136, -0.03073514, -0.046474505, 0.034750536, 0.000023382487, 0.0013578301, -0.020225706, 0.02701718, 0.023038963, -0.013273119, 0.035394985, 0.011191062, -0.015875692, 0.0049758707, -0.016346633, -0.034626607, 0.0061129467, -0.019073138, 0.008353018, 0.013384658, 0.017709885, 0.014450474, 0.004659844, 0.013297905, -0.0031277344, 0.009914561, 0.05329077, 0.002599474, -0.0035320625, 0.024389822, 0.006989766, 0.008247675, 0.0007521124, -0.044342875, -0.033436857, -0.018255187, -0.034502674, 0.034849685, -0.007175664, 0.016148342, -0.028628295, 0.011079523, 0.0071322876, -0.002535959, -0.030512063, -0.05403436, -0.039608672, 0.0028922635, -0.03217275, 0.01474791, 0.024798797, -0.005198948, 0.0140538905, -0.009288705, 0.017945357, 0.011723969, 0.037551403, -0.00017631266, 0.0069339965, -0.005623415, -0.026818888, -0.01935818, -0.0120090125, -0.017821424, -0.029148811, -0.009852596, 0.00266144, -0.028628295, 0.020585109, -0.034775324, -0.0020495257, 0.0053259786, -0.022506054, -0.00329969, -0.029421462, -0.0036993707, 0.026347946, 0.007101305, -0.025331704, 0.00071415823, -0.010596188, 0.00042214344, 0.0042942446, -0.0035816354, -0.039757393, 0.0021517696, 0.008892123, -0.012021406, -0.024612898, -0.037848838, -0.045978777, -0.038642004, 0.013669701, 0.03673345, 0.022629987, 0.04231039, -0.022989389, -0.005772134, -0.00095427653, -0.0054685003, 0.006363909, -0.03502319, 0.010218195, -0.0092267385, 0.0028643787, -0.002484837, 0.031305227, -0.03251976, -0.00015094533, -0.019407755, -0.029421462, -0.025145806, 0.003916252, 0.002803962, 0.01343423, -0.023051355, 0.0029062058, 0.03239583, -0.033188995, 0.0040061027, -0.007454511, -0.016073983, 0.024315462, -0.015875692, -0.001004624, -0.026025724, -0.033387285, -0.016235095, 0.0226052, -0.014574406, 0.0497711, -0.0023020373, -0.011978029, -0.010484649, 0.030016335, -0.008160924, 0.009517979, -0.022047507, -0.023968453, -0.0057628388, -0.0012795981, 0.030908646, 0.013905172, -0.0047496944, -0.0037520418, 0.011785935, -0.012337432, -0.016891934, 0.007863486, 0.0103235375, -0.014252182, -0.00047094168, -0.04934973, 0.06345319, -0.020399211, -0.013211153, 0.027785558, 0.0027032671, 0.028702656, 0.011699183, -0.0648908, -0.021353487, -0.005660595, -0.014698338, 0.0054685003, -0.04067449, -0.02895052, -0.008594685, -0.016185522, -0.0059673265, -0.023782555, -0.006556004, 0.005496385, 0.016941506, -0.033461645, 0.039410383, 0.021874001, 0.014562012, 0.00887973, 0.01764792, -0.0012168575, -0.01099277, -0.08139855, 0.0046350574, 0.0053259786, 0.0024585014, 0.033759084, -0.0049448875, -0.009282508, -0.0024600506, -0.0036838793, -0.009635715, 0.026546238, -0.0081485305, 0.028900947, 0.0039224485, -0.03425481, -0.026447093, -0.005149375, -0.026149657, 0.045854848, -0.0053135855, 0.0016328043, -0.011748755, 0.05567026, 0.0067295088, -0.0077581443, -0.0002844627, 0.009982724, -0.0034484083, 0.011135292, 0.0064196787, -0.021663317, -0.008012205, 0.007925453, 0.04486339, -0.022592807, -0.018453477, 0.008080368, 0.0014732418, 0.005657497, -0.041740302, 0.011996619, -0.05700873, -0.014115857, -0.012021406, 0.008656652, -0.036138576, 0.006779081, -0.002712562, 0.012077175, -0.03115651, -0.058347195, -0.0036962724, 0.019680405, -0.03576678, 0.0054189274, -0.016185522, -0.007404938, -0.01757356, -0.029545393, -0.018874846, -0.006301943, 0.03358558, 0.02605051, -0.004681532, -0.025133414, -0.036931742, 0.019011172, 0.035444558, -0.012207304, -0.011705379, -0.00752887, 0.0007962632, -0.015181672, -0.008384001, 0.0047899727, -0.022654774, 0.027215471, 0.002772979, -0.022791099, 0.001990658, 0.013644915, -0.019333394, 0.020758614, 0.0010998966, 0.00020777977, -0.008092761, 0.037873626, -0.03819585, -0.0421121, 0.017387662, 0.00816712, 0.007888273, -0.01126542, 0.009809219, 0.014165429, 0.014314148, 0.02647188, -0.052348886, 0.021774856, 0.005518073, 0.020076986, 0.02384452, 0.0066241664, -0.06989766, -0.027537694, 0.028504364, -0.013706882, -0.009338277, 0.030958219, 0.008297249, 0.019891089, 0.00038283374, 0.0029031076, 0.029297529, 0.00040703922, 0.018688949, 0.0025483521, 0.05105999, 0.02840522, 0.0019674208, -0.011029949, 0.026818888, 0.019965447, -0.00453901, -0.038617216, -0.047069382, 0.01664407, 0.037724905, -0.027091539, -0.00818571, -0.028355645, 0.032420617, -0.024860762, 0.00723763, -0.0049448875, 0.013471411, -0.037650548, 0.025145806, -0.04687109, 0.013793633, 0.02225819, 0.058842923, 0.032841984, -0.008136137, -0.01919707, 0.015962444, -0.0050998027, 0.011686789, -0.031404372, 0.0026660876, 0.02264238, -0.044888176, 0.023931272, 0.008241479, -0.0026862265, 0.013954746, 0.0007544362, -0.028454792, 0.007002159, 0.012089568, 0.009294901, 0.020832973, 0.0053693545, 0.017288517, 0.007516477, -0.024216317, -0.04478903, -0.0027172095, 0.0034081305, 0.022084685, 0.014004318, -0.015689794, 0.019593652, 0.016991079, 0.030437704, -0.0077705374, 0.011451319, 0.031875316, 0.0037489436, 0.014388507, -0.014562012, 0.018019715, -0.044367664, 0.051109564, 0.013211153, -0.0066489526, 0.017325696, -0.056959156, 0.028653083, 0.027364189, 0.031825744, 0.028058209, 0.017722279, 0.0058836727, 0.008935498, 0.00061501266, -0.025009481, 0.018255187, 0.007900666, -0.014772696, -0.0054282225, 0.011692986, 0.021588957, -0.014029104, -0.012603886, -0.007658999, -0.010280161, -0.0035444556, -0.013273119, 0.008452164, -0.009691484, 0.010057083, -0.011364566, 0.0033058866, -0.024724437, -0.03839414, -0.02577786, 0.010218195, -0.028975306, -0.0073677585, -0.02411717, -0.007342972, -0.025381278, -0.011965636, -0.0078015206, -0.0026335553, 0.0043128342, -0.028603509, -0.037477043, 0.0024817386, 0.027413763, 0.002958877, -0.018800488, -0.028033422, -0.03383344, 0.015132099, -0.014153036, -0.041046284, 0.00047558913, -0.0155038955, 0.033139423, 0.010775889, -0.015231245, 0.012318843, 0.008433574, -0.0233364, 0.0047465963, 0.06984808, -0.011098112, -0.03824542, 0.003941038, -0.008811566, -0.0026521452, 0.0037179606, 0.016582103, -0.023633836, -0.0049355924, 0.012244483, 0.031057363, -0.011383156, -0.010825462, 0.02840522, 0.020758614, -0.023026569, -0.007944043, -0.020015022, -0.011036146, -0.010676743, -0.005422026, -0.013806026, -0.019420147, 0.007962632, 0.029892404, 0.014735517, 0.04887879, 0.021973146, -0.00012034961, 0.002001502, 0.02267956, -0.035271052, -0.039608672, -0.0016761805, -0.040005255, 0.0005309712, 0.020882545, -0.008222889, -0.001753638, 0.008662848, 0.02632316, 0.008792977, 0.0032656086, -0.0030270396, 0.018602196, 0.005995211, 0.020795792, -0.024488967, -0.044417236, 0.024055205, 0.011376959, -0.004269458, 0.0025545487, -0.017809032, 0.043822363, 0.0017551872, 0.046697583, 0.012517134, -0.028082995, 0.000631666, -0.00552427, 0.002432166, -0.0028101585, -0.000775737, 0.030685568, 0.022716738, 0.0415668, 0.023125714, -0.021613743, 0.000840414, -0.0075226733, -0.0029945073, 0.010459863, 0.014847056, 0.011978029, 0.012448971, -0.0051555717, -0.036411226, -0.010614777, -0.0026846773, 0.032222323, 0.0044367663, 0.0007160947, 0.008055581, 0.031206083, -0.016768003, -0.009586141, 0.0086256685, -0.015379963, -0.0062957467, -0.030016335, 0.0039720214, 0.012374612, 0.0031494224, 0.035122335, -0.005298094, -0.048630923, 0.030214626, 0.03410609, -0.014847056, 0.009567552, 0.0141778225, 0.045854848, -0.012764998, -0.019073138, -0.012777391, 0.0110423425, 0.023100927, 0.0022803491, -0.0012106609, -0.048358273, -0.009412637, -0.0005971974, 0.040079616, -0.007900666, 0.025344098, -0.015590648, 0.013558162, 0.021613743, 0.040773634, 0.026992394, -0.002783823, 0.015243638, -0.042830907, 0.029049665, 0.0008210496, -0.013545769, -0.0024104777, -0.005992113, 0.022828277, -0.0017489906, -0.0008411886, -0.00030227794, 0.01412825, -0.02360905, -0.011203455, -0.014723124, 0.020411603, -0.00024495937, -0.021601351, -0.018825274, -0.009548962, 0.020684253, 0.023782555, -0.023274433, 0.029446248, -0.013062434, -0.00019209462, 0.03217275, 0.007101305, -0.0064010886, 0.008346821, 0.00882396, -0.017127406, 0.02240691, -0.012690639, -0.006413482, -0.028653083, -0.0010898272, 0.003278002, 0.0014678198, 0.0071322876, -0.013050041, 0.0050316397, -0.0107944785, 0.008681438, -0.02647188, -0.033536006, -0.017858604, 0.027810344, -0.021960754, 0.029594965, 0.0010053985, 0.028504364, -0.00377373, -0.018874846, -0.0027667824, 0.0146611575, -0.016730823, -0.0055521545, -0.00075753446, 0.029941976, -0.008526523, -0.00092484266, -0.0067480984, -0.01792057, 0.024352642, -0.015045347, -0.003600225, 0.02419153, 0.004092855, 0.020634681, -0.034353957, 0.01761074, 0.040079616, -0.00018957726, -0.0040061027, -0.0012540371, -0.012529527, -0.016594497, 0.043748002, 0.020176133, -0.040773634, -0.0034639, 0.003990611, 0.01192226, 0.003237724, 0.007875879, -0.03851807, -0.026992394, 0.04307877, 0.020386817, -0.02233255, -0.0023283728, 0.03219754, -0.00006583888, -0.0065745935, 0.031677023, 0.0035351608, -0.0008992817, 0.03219754, -0.020300064, 0.007342972, 0.026199229, 0.0011804525, 0.044095013, 0.0042136884, 0.022939816, -0.014264575, -0.00073003705, 0.00024069921, -0.00065490324, 0.018713735, 0.010112853, 0.012641066, 0.004145526, -0.0002645174, 0.017400056, -0.0027265043, 0.014029104, -0.013533376, 0.016929114, 0.00036133928, -0.0064506615, 0.0073801517, 0.03906337, -0.00003166076, 0.029743684, 0.015392357, -0.03383344, -0.014289361, -0.018614588, -0.023373578, 0.027537694, -0.013768847, 0.012151535, -0.009871185, 0.01819322, 0.008452164, -0.0023066846, -0.002876772, -0.000038728755, 0.033436857, 0.004762088, -0.048953146, -0.017313303, 0.018676555, 0.030784713, -0.0018171532, -0.02222101, -0.00377373, -0.027760772, -0.0410215, 0.0034174253, 0.004405783, -0.004988264, -0.028430006, -0.035642847, -0.012876537, 0.0059363437, 0.001454652, 0.0145372255, -0.00016198301, -0.021613743, 0.030165054, 0.032866772, 0.021539384, 0.0020867053, 0.024203923, 0.0189616, 0.024798797, 0.0022958405, 0.02659581, -0.015726972, 0.0138556, -0.011345976, 0.0055118767, 0.008452164, 0.03046249, -0.027240258, 0.04498732, 0.056364283, -0.009121397, 0.034577034, -0.004164116, 0.010156229, 0.009307294, -0.0059425402, 0.006119143, 0.028330859, 0.035593275, 0.056513, 0.023324005, -0.04451638, 0.025877004, 0.04233518, -0.012046192, -0.009530372, 0.01718937, -0.008960285, -0.015912872, -0.011438925, 0.002207539, 0.0072933994, -0.0039379396, -0.0037706317, -0.006072669, 0.033759084, -0.010676743, -0.009034644, 0.0061129467, -0.009666697, -0.030041121, -0.036931742, -0.0025096233, 0.01099277, 0.022815885, 0.007999811, -0.00036288844, -0.04481382, 0.0076342123, 0.046424933, 0.018602196, -0.006828654, 0.021750068, -0.0638002, 0.013223547, -0.0048302505, 0.009530372, 0.01482227, -0.017536381, -0.029619751, 0.014524832, 0.06712158, -0.010707727, -0.028826587, 0.01323594, 0.0031695613, -0.0061501265, -0.01350859, 0.007962632, -0.012876537, 0.004659844, 0.008817763, -0.0019395361, 0.013731668, -0.005995211, 0.03308985, -0.033164207, 0.035618063, -0.008644259, 0.00077612425, -0.006218289, -0.018317152, -0.0042601633, 0.013979532, 0.008074171, -0.015590648, 0.0070889113, 0.01811886, -0.015107313, -0.019643225, 0.030561635, -0.014004318, 0.023683408, -0.037576187, 0.011476105, 0.01854023, -0.0128517505, -0.013496197, -0.017102618, 0.02101887, -0.002371749, 0.010038493, -0.0027249553, -0.022183832, -0.010001314, -0.01195944, -0.01660689, 0.0013245235, -0.000058238365, 0.026347946, 0.006475448, 0.03519669, -0.022419302, 0.02469965, 0.01977955, 0.027265044, -0.0031215376, 0.034081306, 0.022035113, 0.025480423, 0.014314148, -0.0052764057, 0.012913716, -0.00566989, 0.01070153, 0.0019333395, -0.005483992, 0.0026769317, 0.0012005914, 0.04183945, 0.006989766, -0.015293211, -0.0067604915, -0.0018264481, 0.0062864516, -0.006178011, 0.007944043, -0.006069571, 0.0037365505, -0.017387662, 0.01668125, 0.0074607073, 0.0057814284, -0.008377804, -0.017238943, 0.03279241, 0.0024414607, 0.032494973, 0.009871185, -0.036832597, -0.02233255, 0.006205896, -0.008253872, -0.030041121, 0.03251976, 0.016978687, -0.031106936, -0.00144923, 0.037328325, -0.022580413, -0.007361562, 0.019420147, -0.014698338, 0.029545393, 0.050093323, -0.0058743777, 0.009970331, -0.04060013, -0.025579568, 0.01885006, -0.028231714, 0.019705191, 0.0067914748, 0.014685944, 0.0020355834, -0.015925264, -0.04206253, -0.008600882, -0.0027667824, -0.021737676, 0.007466904, 0.040748846, 0.026521452, 0.018366724, -0.002949582, -0.030412918, -0.0030394327, 0.0074421177, 0.0015615434, -0.017201765, 0.028826587, -0.029000092, 0.00905943, -0.019606045, 0.044119798, 0.014314148, -0.040277906, 0.031999245, 0.00630814 ]
2401.09350
334
Let us expand the expression for the approximation error as follows: 133 134 9 Quantization L ju — GI)3 = lu — SP pircacuylld i=l Nw L L = llulls = 20, 7 piceeuy) + IDE Hncccny | i=l i=1 L = [ul + (D3 —2¢u, wiccscuy) + llccsc 1 i= SE Hiccups Hi.g(0))- 1<i<j<L N 3)+ Notice that the first term is irrelevant to the objective function, so we may ignore it. We must therefore find ζi’s that minimize the remaining terms. Babenko and Lempitsky [2014] use a generalized Beam search to solve this optimization problem. The algorithm begins by selecting L closest code- words from Uy fei ...fi,c} to u. For a chosen codeword juy,;, we com- pute the residual u — pz,; and find the L closest codewords to it from Uien (Hi ..-fi,c}. After performing this search for all chosen codewords from the first round, we end up with a maximum of L? unique pairs of code- words. Note that, each pair has codewords from two different codebooks.
2401.09350#334
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 334, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Let us expand the expression for the approximation error as follows:\n133\n134\n9 Quantization\nL ju — GI)3 = lu — SP pircacuylld i=l Nw L L = llulls = 20, 7 piceeuy) + IDE Hncccny | i=l i=1 L = [ul + (D3 —2¢u, wiccscuy) + llccsc 1 i= SE Hiccups Hi.g(0))- 1<i<j<L N 3)+\nNotice that the first term is irrelevant to the objective function, so we may ignore it. We must therefore find ζi’s that minimize the remaining terms.\nBabenko and Lempitsky [2014] use a generalized Beam search to solve this optimization problem. The algorithm begins by selecting L closest code- words from Uy fei ...fi,c} to u. For a chosen codeword juy,;, we com- pute the residual u — pz,; and find the L closest codewords to it from Uien (Hi ..-fi,c}. After performing this search for all chosen codewords from the first round, we end up with a maximum of L? unique pairs of code- words. Note that, each pair has codewords from two different codebooks.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.017245632, 0.008186302, 0.020254215, 0.0035592618, -0.021355571, -0.034679297, 0.032933246, 0.030032111, -0.021677919, 0.016587503, 0.024820814, -0.02455219, -0.06720961, 0.014102736, -0.012853636, 0.007783367, 0.04563914, -0.053375497, -0.008649678, 0.013941562, -0.028688993, -0.026217656, 0.0026291527, 0.04475268, 0.037929643, -0.019434912, 0.027587637, 0.0114769405, 0.053697843, -0.023370247, 0.010879253, -0.015566734, -0.012094774, -0.046042074, -0.025264043, 0.02385377, -0.011208317, 0.040320393, -0.013303581, -0.0027214922, -0.025895309, -0.025841584, -0.029414278, -0.042630553, 0.003248666, 0.004586747, -0.02420298, 0.021583902, -0.000033315613, 0.011470225, -0.0060776076, 0.052139826, -0.03698946, -0.012887214, 0.01962295, -0.020066177, 0.016614366, -0.0039386926, 0.06710216, -0.018024638, -0.000672818, -0.016063686, -0.0136460755, 0.024296999, -0.010812097, -0.009509273, -0.016829265, 0.019555794, -0.00034501334, 0.014908606, -0.047197156, 0.044725817, 0.025519235, -0.044457193, 0.0137669565, 0.010825529, 0.025492374, 0.069197424, 0.024001513, 0.0005561347, 0.008656394, -0.007917679, 0.07166876, -0.03438381, -0.050608672, -0.05034005, -0.03070367, 0.011799289, -0.030676808, -0.065382965, -0.02546551, 0.023934357, -0.024726797, 0.0056981766, 0.04244252, -0.0055537918, 0.032261685, -0.007716211, 0.03962197, -0.05364412, -0.0011458473, -0.0061414056, 0.07822318, -0.07064799, 0.06430847, -0.024928264, -0.033175007, -0.0011282188, -0.03677456, 0.0052112965, -0.02866213, 0.041368023, -0.035350855, 0.017259061, 0.03672084, -0.045827176, -0.01986471, -0.023947788, -0.011121014, 0.008246742, -0.023706026, -0.031966202, 0.045746587, -0.020804893, 0.021086948, -0.028742718, 0.030220147, -0.03537772, 0.038386304, -0.005513498, 0.030757394, 0.03250345, 0.0039689126, 0.014599689, -0.016936714, 0.0054261955, 0.01552644, 0.03494792, 0.018776786, 0.022846432, 0.044215433, 0.023988081, -0.016023394, -0.010227841, -0.036129866, 0.0193006, -0.040481567, 0.0015983101, -0.03618359, 0.008958595, -0.009267512, -0.04429602, -0.024632778, -0.017970914, -0.009119769, -0.046740495, -0.037150636, -0.0059332224, -0.030220147, -0.005644452, -0.035941828, 0.011040427, 0.04249624, -0.021301847, 0.07628908, 0.0018081722, -0.017554548, -0.008830999, -0.06307281, -0.032610897, -0.0386012, -0.051441405, -0.017406804, -0.0011240216, 0.02065715, -0.029951524, -0.028259195, -0.029870937, -0.045263067, -0.044672094, -0.010845675, -0.00030576912, 0.055067826, 0.03629104, 0.020818323, 0.001924016, 0.0112016015, -0.019340895, -0.0035491884, -0.0365328, 0.006671937, -0.013612498, 0.06946605, -0.010227841, -0.01770229, -0.010469602, 0.028232334, 0.017661998, 0.01198061, -0.018279832, -0.009186924, -0.0015899155, 0.020818323, -0.027695086, -0.022927018, 0.02146302, -0.013236425, 0.026499711, -0.03274521, 0.017635135, 0.009972649, -0.0038581055, 0.01643976, -0.017608272, -0.027130976, 0.020066177, 0.01678897, 0.02455219, -0.034544986, 0.011745564, -0.035753794, -0.0064167446, 0.01963638, 0.035485167, -0.057001915, -0.008468357, 0.032342274, -0.020643719, 0.016869558, -0.01963638, 0.041636646, -0.035243407, -0.020348232, -0.008226596, 0.029709762, 0.003344363, -0.037016325, -0.022524083, -0.034410674, -0.016574072, -0.05855993, -0.012088059, 0.00049863243, -0.048916344, -0.033255592, 0.025881877, -0.049453594, 0.0038245276, 0.01062406, -0.033363044, -0.030649945, -0.035673205, 0.033927154, 0.00015204512, -0.037284948, 0.020684011, 0.011006849, 0.026741473, 0.0038547476, 0.019246876, -0.0031982989, -0.031214055, -0.0127596175, 0.0124842785, 0.00056956586, -0.009979364, 0.0032201246, -0.009965933, -0.004120013, -0.020375095, -0.025734134, -0.014787725, -0.0028591617, 0.041045677, 0.0016579109, -0.018508162, -0.015042918, 0.019905005, -0.004304692, -0.0046841227, -0.049963977, -0.005009829, 0.029629176, 0.043597598, 0.050044563, -0.030435046, -0.015808495, -0.0037137202, -0.01836042, -0.014425084, 0.02887703, -0.04187841, 0.013941562, -0.036559664, -0.032100514, 0.023826908, -0.0085422285, -0.062965356, -0.0034215923, 0.0049023796, 0.005006471, -0.027533913, -0.0053556818, -0.0064234603, -0.08187645, 0.028688993, 0.014599689, 0.012114922, -0.03070367, 0.014519102, 0.045343652, 0.035001647, -0.031643853, 0.03255717, -0.04999084, -0.06275046, 0.029414278, -0.045988347, 0.036505938, -0.005661241, -0.0018165667, -0.02316878, 0.04018608, -0.013901268, 0.012598444, 0.020831754, -0.046068937, -0.022201736, -0.0028205472, -0.023988081, 0.016977007, -0.006080965, 0.015056349, 0.00821988, -0.026016189, -0.008810852, -0.045155615, 0.06683353, 0.010919547, 0.0017510897, -0.0691437, 0.018199245, 0.024095532, -0.003278886, 0.050178874, 0.006030598, 0.018763354, 0.0130953975, 0.10288281, 0.03255717, -0.04977594, -0.049802803, 0.02796371, -0.01917972, 0.053268045, -0.02624452, 0.044806406, -0.010456171, -0.047170293, 0.03720436, -0.033927154, -0.02979035, 0.03997118, -0.01927374, -0.03312128, -0.0064234603, 0.032825794, -0.023491127, -0.0071655326, -0.0054496997, -0.041690372, -0.0035995552, -0.015499578, 0.008004981, -0.07161503, -0.008152724, -0.0298978, 0.031805027, 0.041905273, 0.03355108, 0.009569713, -0.006460396, -0.05444999, 0.005416122, 0.032718346, 0.016627796, 0.0034014455, -0.010885969, 0.013464754, -0.03997118, -0.011033712, -0.027775673, 0.03527027, -0.018508162, 0.025653547, -0.0024595843, 0.037043184, 0.06060147, 0.00030555928, 0.035431445, -0.00907276, -0.04050843, -0.02831292, -0.040911365, -0.04999084, 0.0064503225, 0.03997118, 0.06269673, 0.022094285, 0.04496758, 0.035861243, 0.004841939, 0.054423127, -0.019528931, 0.0016453192, -0.02009304, 0.018226108, 0.011826151, 0.0128200585, 0.04625697, 0.019152857, 0.0019626308, -0.034168914, -0.024471603, -0.02624452, -0.022456927, -0.008501935, 0.0013548699, 0.02202713, -0.045934625, 0.010664354, 0.016292017, 0.032852657, -0.02213458, -0.04679422, -0.015150367, 0.027909985, 0.07215228, -0.0042140316, -0.051951792, -0.03414205, 0.034679297, -0.0028138314, 0.0014681955, 0.017621703, -0.0019424839, -0.0078706695, -0.0006749166, 0.021449588, 0.05651839, -0.011517234, -0.055228997, 0.052354727, 0.02922624, 0.035216544, -0.0460958, 0.061084993, -0.014854881, 0.04829851, 0.00090156775, 0.011369491, 0.0032083723, -0.013793819, 0.0061246166, 0.0027248499, 0.05149513, -0.009160062, -0.013088682, -0.009683878, 0.039138447, -0.03376598, -0.039057862, 0.038305715, -0.053617258, 0.00086379255, 0.014089304, -0.004358417, -0.02876958, -0.014478808, -0.025384923, -0.01363936, -0.0643622, -0.0013473149, -0.0008923338, -0.009562998, 0.060010497, 0.038977273, -0.0027836114, 0.020724306, 0.016990438, -0.047304604, -0.042066444, 0.03169758, -0.014478808, -0.011087436, -0.011859729, -0.013941562, 0.03253031, 0.025492374, 0.015016056, 0.033416767, 0.012867067, -0.031536404, 0.057001915, 0.030112699, 0.0119336005, 0.03537772, -0.046552457, -0.032288548, 0.05512155, 0.03169758, 0.01108072, 0.008226596, -0.028017435, 0.004637114, 0.021328708, -0.017970914, -0.010395731, -0.0230479, 0.008340761, 0.0012499389, -0.021234691, 0.006329442, -0.026566867, 0.010724794, -0.031590126, -0.04405426, -0.13979168, -0.024243275, 0.0006749166, 0.0014942184, -0.0074274405, -0.009099622, 0.015956238, -0.013001379, -0.0008176229, -0.009066044, -0.012188793, 0.026405694, -0.02443131, -0.022765845, -0.011913454, -0.010724794, -0.0022295753, 0.0056377365, -0.02100636, 0.030058973, 0.025170024, -0.034303226, 0.007984835, -0.0009250723, -0.02487454, -0.017044162, 0.0020482545, -0.01939462, 0.02169135, 0.021664487, 0.033524215, -0.031240918, -0.021288415, 0.0065947077, 0.0010140538, 0.011215032, 0.003784234, -0.037929643, -0.0038547476, 0.029978387, -0.016063686, 0.026929509, 0.016265156, -0.026069913, -0.011839583, 0.003602913, -0.02452533, 0.0032570604, 0.006050745, 0.0143176345, -0.0026190795, 0.007957973, 0.019931866, -0.006554414, -0.016184568, 0.032046787, -0.006970781, -0.036559664, 0.015701046, -0.00873698, 0.019112565, -0.002906171, 0.050125152, 0.038090818, -0.007481165, 0.0078706695, -0.009791328, -0.054960374, 0.014331065, 0.009106338, -0.00011689321, -0.025519235, 0.0059298645, 0.010476318, -0.011228464, 0.021892818, 0.005301957, -0.032476585, 0.0032721704, 0.011309051, 0.016077118, 0.04451092, -0.00459682, -0.020348232, 0.024068668, 0.0016285302, 0.025170024, -0.02568041, -0.04486013, -0.0145325335, -0.055658795, 0.040562153, -0.018682767, 0.008354192, -0.044779543, 0.012571582, 0.0022564377, 0.004835224, 0.012054481, -0.0057821213, -0.037822194, 0.003262097, -0.0042106737, -0.024861109, 0.01849473, -0.020012453, -0.015284679, 0.003067345, -0.009395108, 0.00770278, 0.008569091, -0.017984346, -0.03365853, 0.015607027, 0.013021526, 0.0014816266, -0.058183856, 0.007514743, 0.014169891, 0.009395108, -0.0013389204, -0.01272604, -0.022403203, -0.012128352, -0.018897666, 0.041475475, 0.00815944, 0.021086948, -0.038198266, -0.004761352, 0.003522326, 0.0010619024, -0.05684074, -0.035861243, -0.008246742, 0.008119146, -0.048835758, 0.007649055, 0.01004652, 0.008636246, 0.014062442, 0.0017191906, 0.015929375, -0.016574072, 0.0591509, 0.0027164554, -0.026298244, -0.032396, 0.0022480432, -0.023450835, -0.041582923, -0.036129866, -0.013968424, -0.027332444, 0.014143029, -0.026405694, -0.0460958, -0.035700068, 0.010785235, 0.013175984, -0.017890327, -0.008407917, -0.018924529, 0.011550812, 0.012840205, 0.023370247, -0.01506978, 0.013820681, -0.027144408, -0.017044162, 0.012564866, -0.012793195, -0.020952636, -0.016157705, 0.037714746, -0.02316878, -0.018978253, -0.037070047, -0.021771938, -0.023155348, 0.0406696, 0.040777054, 0.025693841, 0.023249367, -0.0013355627, 0.0038782523, -0.0026526575, -0.02807116, 0.006040672, 0.0058996445, -0.015687615, 0.0057317545, -0.015110074, -0.02785626, 0.013941562, -0.04201272, -0.0059600845, -0.017191906, -0.005268379, -0.016869558, -0.019716967, 0.009912209, 0.02009304, 0.0073199915, 0.024713365, -0.0021976763, 0.00525159, 0.010113676, 0.006587992, -0.025855016, 0.011275473, -0.028742718, -0.032718346, -0.0029716478, -0.03126778, -0.010415877, 0.01540556, -0.0049359575, 0.031912476, 0.030623082, -0.00918021, 0.0068499, 0.014707139, -0.03733867, 0.012571582, -0.033712253, -0.0061044698, 0.036049277, 0.0026627309, 0.020979498, 0.03193934, 0.0039655548, -0.008334045, 0.010738226, 0.005254948, -0.016681522, 0.006181699, 0.014519102, -0.0065678456, -0.05796896, -0.03207365, 0.045236204, 0.019045409, 0.0006413387, 0.0130349565, 0.0032117302, 0.038171403, -0.0044658664, -0.065329246, -0.039084725, -0.018293263, -0.032449722, 0.01506978, -0.05375157, -0.0011021959, 0.0025787859, -0.0038278853, -0.018588748, -0.029172515, 0.017191906, 0.027372738, 0.0129745165, -0.053590395, 0.043114077, 0.009502557, 0.012840205, -0.00036935735, 0.0037808763, 0.027466755, -0.018091794, -0.074623615, 0.015123505, -0.0005359879, 0.033792842, 0.007729642, 0.004418857, -0.0015773238, 0.00963687, -0.022403203, 0.038198266, 0.0016495164, -0.025183456, 0.028044296, -0.01295437, 0.012464132, -0.033739116, 0.009616722, -0.00747445, 0.012014188, -0.0116582615, -0.011047143, 0.017903758, 0.059526976, 0.007440872, -0.025626685, 0.020375095, -0.0007743913, -0.005040049, -0.003589482, 0.024807382, -0.029870937, 0.009348099, 0.009106338, 0.032691482, 0.006671937, -0.018226108, 0.00479493, -0.015741339, -0.011685124, -0.0018702913, 0.011074005, -0.05423509, -0.0042341785, -0.006574561, -0.014707139, -0.03811768, 0.0126991775, 0.009495842, 0.04907752, -0.009374961, -0.052569624, 0.0073535694, -0.010939693, -0.028232334, -0.0011609574, -0.021825662, 0.030542497, 0.0011257005, -0.012061196, 0.010570336, -0.026660886, 0.0051743607, 0.02682206, -0.018051501, -0.02933369, -0.018924529, -0.021704782, 0.02385377, -0.0024562264, -0.033282455, -0.029709762, -0.0091533465, -0.038977273, 0.043409564, 0.021986837, -0.028500957, 0.00076431787, 0.016198, -0.01678897, 0.013357305, -0.0036096286, -0.011832867, 0.01596967, 0.014465378, -0.015096643, 0.00890487, 0.045263067, -0.027332444, -0.034867335, 0.016184568, -0.010294997, 0.016802402, -0.007286413, 0.019569224, 0.021959973, -0.017661998, 0.013820681, -0.023356816, 0.0076423394, 0.021369003, 0.031240918, 0.041394886, -0.013283433, -0.06516807, 0.00963687, 0.014734001, 0.020845186, 0.0057384702, 0.0022413277, 0.008381054, 0.0296829, -0.00022392289, -0.03070367, 0.040830776, -0.002201034, 0.0479493, 0.024135824, 0.015230955, 0.021597331, 0.004680765, -0.017876897, 0.04475268, 0.018172381, 0.011879875, -0.028930755, -0.03621045, -0.00086211367, 0.04179782, -0.048379097, 0.0052952413, 0.03596869, 0.01986471, 0.0069237715, -0.023450835, 0.032664623, 0.006316011, -0.029306827, -0.0022396487, -0.035753794, 0.013807249, 0.017406804, 0.028608406, 0.026298244, -0.013686369, -0.0039386926, 0.010362153, -0.01461312, 0.0136460755, -0.0112016015, 0.027883124, 0.002071759, -0.033524215, -0.006772671, 0.0037976652, -0.022309184, -0.006527552, 0.02111381, -0.01997216, -0.009274228, 0.03911159, 0.047895577, 0.006587992, -0.002073438, 0.030435046, 0.0042073163, 0.0051844344, -0.07129268, 0.0054698465, 0.0076759174, 0.019152857, 0.012907361, -0.016198, 0.0017191906, 0.035216544, 0.04281859, -0.009119769, 0.0061716256, 0.027372738, 0.005087058, -0.0029279965, 0.011429931, -0.01341103, -0.049507316, 0.059526976, -0.0088780075, 0.015862219, -0.019716967, -0.037070047, 0.04778813, 0.024861109, 0.020966066, 0.03287952, 0.012464132, 0.018857373, 0.016842695, 0.009421971, -0.04107254, 0.018857373, 0.0006719786, 0.002645942, -0.01940805, 0.03277207, -0.006084323, -0.0042677564, -0.04244252, 0.007259551, -0.008038559, -0.020025885, -0.01347147, 0.023249367, -0.024901401, 0.010207694, -0.00724612, -0.0032839228, -0.027251858, -0.020106472, 0.011497087, 0.013887837, -0.052408453, 0.0008973705, 0.009314521, 0.01261859, -0.007635624, 0.015445854, -0.013236425, -0.0056713144, -0.0023941072, -0.02272555, -0.020603426, -0.00045917835, 0.0064402493, -0.00058089837, -0.000019281084, -0.025478942, -0.024941696, 0.00090156775, -0.016587503, -0.048137337, -0.0074140094, -0.02146302, 0.051441405, 0.0079311095, -0.016923282, 0.038735513, 0.0363179, -0.015002624, -0.0021489882, 0.036559664, -0.007830376, -0.036371626, 0.010556905, -0.013981855, 0.026983233, 0.01438479, 0.0045666, -0.0032520236, 0.0073670004, 0.019166289, 0.009945787, -0.014720569, -0.00701779, -0.032825794, -0.01998559, -0.022107717, -0.0063361577, -0.008199734, -0.021409295, 0.00073619635, -0.007649055, -0.03470616, 0.0026509785, 0.006299222, 0.020522838, 0.013364021, 0.016641228, 0.014290772, 0.024699934, -0.0072192573, 0.007293129, -0.006252213, -0.032449722, 0.004663976, -0.024444742, 0.0033040694, 0.027345875, -0.03024701, 0.0038748945, 0.0052146544, 0.031670716, 0.02214801, -0.0037405826, -0.0022833, -0.0021170892, 0.0057317545, 0.021677919, -0.027802536, -0.0116582615, 0.0028104738, -0.007024505, -0.0141967535, -0.028903892, 0.014828019, 0.031321503, -0.026701178, 0.01963638, -0.01461312, -0.0059600845, -0.012511141, -0.03376598, -0.027990572, 0.030972293, 0.01963638, 0.023021037, 0.013995286, 0.010301713, -0.020469112, 0.011819435, 0.014478808, -0.011228464, -0.0097644655, -0.0154189905, 0.010059951, -0.0009443796, 0.013337159, -0.0032755283, -0.035914965, 0.016063686, -0.017178476, 0.021194397, 0.018454436, 0.00070345786, 0.0012516178, 0.02717127, -0.0348942, -0.04778813, 0.010798666, -0.018629042, 0.006101112, -0.012182077, 0.0013968424, 0.024955126, 0.02922624, 0.021261552, -0.005812342, -0.02901134, 0.03884296, 0.0055067823, -0.008199734, 0.008569091, -0.000045172823, 0.054396264, -0.016923282, -0.04620325, 0.010664354, 0.009536135, 0.025814721, 0.007669202, -0.0109262625, -0.01484145, -0.023356816, -0.015660752, 0.033040695, -0.010200978, 0.010100245, 0.025881877, -0.0049628196, -0.008394485, 0.030945431, -0.024565622, -0.018346988, 0.011530665, -0.00012875041, 0.03878924, -0.019488636, -0.006020525, -0.004294619, -0.014290772, 0.03185875, 0.0056746723, 0.02558639, -0.00969731, 0.00080671004, -0.040562153, -0.014895175, -0.009777897, 0.03309442, -0.0068834783, 0.01204105, -0.037822194, -0.0032906383, 0.004113298, 0.01986471, -0.01306182, 0.033282455, -0.0035021794, -0.008179586, 0.0174471, 0.031321503, 0.006084323, 0.004190527, 0.021261552, -0.020804893, 0.0133707365, -0.03878924, -0.006755882, -0.00022371304, -0.014922038, 0.0015546588, 0.0116582615, 0.006279075, -0.0049292417, 0.017205337, -0.03803709, 0.010979987, 0.0069909273, -0.028903892, -0.0019324105, 0.01940805, -0.0080519905, 0.024095532, -0.013202847, 0.011611252, -0.012309673, -0.0061649103, 0.014653414, -0.019716967, -0.04829851, 0.016332312, -0.008575806, 0.06119244, -0.011053858, 0.0059130755, -0.018548455, -0.036022417, 0.034544986, -0.008018413, 0.035673205, 0.014062442, 0.0060742497, 0.010140538, -0.049587905, -0.0003863562, 0.022846432, -0.0067625972, -0.01450567, -0.025505805, 0.00724612, -0.009280943, 0.025881877, 0.0130349565, -0.005725039, -0.008562375, 0.022913588, 0.022644963, 0.0044490774, -0.012249233, -0.036022417, 0.007863954, 0.018508162, 0.013478186, 0.0026644096, -0.00701779, 0.029118791, -0.0036432066, 0.002169135, 0.026204227, -0.029065067, -0.03779533, 0.019005114, -0.017715722, -0.0030287304, -0.00043147654, 0.02009304, 0.019220013, 0.0055705807, 0.015365266, -0.011497087, -0.0020633645, 0.022268891, 0.012585012, 0.019045409, -0.016251724, 0.0069372025, 0.026660886, 0.03827885, -0.0016192963, 0.012182077, 0.0042106737, -0.015311541, 0.008743696, 0.011329197, -0.020643719, -0.025438648, 0.02715784, -0.008058706, 0.010697932, -0.010140538, -0.018575318, 0.006688726, -0.029387414, -0.034598712, 0.013498332, -0.02774881, 0.027560774, 0.015056349, 0.022067424, -0.003539115, -0.0011458473, 0.014304203, 0.030730532, 0.022268891, 0.014774295, -0.00039160275, 0.0066450746, 0.05549762, 0.015862219, -0.025425218, -0.01599653, 0.017675428, -0.004190527, -0.0261505, 0.009992795, 0.00981819, 0.011026996, -0.006732377, -0.032960106, -0.016533779, -0.015929375, 0.039648835, 0.013954992, -0.037392396, -0.031214055, 0.025425218, 0.003134501, 0.031133467, -0.013733378, 0.03962197, -0.0013078608, 0.022268891, -0.007481165, 0.021315277, -0.001280159, 0.0054732044, -0.0051139207, 0.026338538, 0.002545208, 0.004318123, -0.042093307, 0.037016325, 0.01907227, 0.02602962, 0.0057351124, 0.0034014455, 0.02100636, 0.004798288, -0.008360907, 0.03400774, 0.029091928, 0.0059432955, -0.017756015, 0.03457185, -0.030032111, -0.0061716256, 0.026580298, 0.008569091, 0.0015823605, 0.0024075385, -0.025787858, -0.03400774, -0.013753525, 0.03470616, 0.00079495774, 0.003525684, 0.021033222, -0.022188304, 0.033846565, 0.017165044, 0.018575318, 0.010617346, -0.002656015, -0.024404448, -0.0338197, 0.0015697688, -0.008515366, 0.0026946298, 0.020589994, 0.007964687, -0.030058973, 0.006033956, 0.021167535, -0.0263654, 0.00365328, 0.023880633, -0.029199379, 0.0006816322, 0.039756283, 0.034088325, 0.0033544365, -0.0109262625, -0.018924529, 0.011349345, 0.03983687, -0.0040730042, -0.04633756, 0.010395731, -0.019770691, -0.007514743, -0.00776322, 0.0015135257, -0.0011198244, -0.024740227, 0.013733378, -0.010657638, 0.01666809, -0.0007244441, 0.0050333333, -0.031643853, 0.02887703, 0.010530042, -0.025640117, -0.024055237, 0.0045430954, -0.03414205, -0.017191906, 0.0101606855, -0.007749789, -0.006537625, 0.028044296, 0.0068499, -0.013679653, 0.0593658, -0.02089891, -0.01015397, 0.0035693352, 0.0071252394, 0.010294997, -0.019005114, -0.0009393429, -0.013444608, -0.0034182344, 0.0068834783, 0.011517234, 0.018467868, -0.009354815, -0.027050389, -0.038332578, -0.002644263, 0.033846565, 0.01392813, 0.01860218, 0.010221126, -0.0071722483, -0.016386036, -0.008931733, 0.01782317, 0.0031764733, 0.031026019, 0.051521994, 0.016694952, 0.049507316, 0.014922038, 0.0026022904, 0.0059432955, -0.0044087837, -0.0070379367, 0.017165044, -0.0054631312, -0.005335535, -0.017326217, 0.017111318, 0.0008201412, 0.011617968, -0.017097889, 0.008334045, -0.0009368246, -0.03129464, 0.0044087837, -0.016533779, 0.032288548, 0.009401823, 0.047331467, 0.018132089, 0.00082811597, 0.010805381, -0.009482411, 0.01643976, 0.023706026, 0.014237047, 0.008683256, -0.024189549, -0.006507405, -0.00010194053, 0.0047076275, -0.022430064, 0.0057351124, 0.013102113, -0.015056349, -0.00867654, 0.03333618, -0.013343874, 0.017097889, 0.011087436, -0.027829397, -0.001925695, 0.040911365, 0.018776786, 0.015714476, -0.035700068, -0.020133333, -0.014626551, -0.07113151, 0.00930109, 0.01756798, 0.0090929065, 0.01198061, 0.010080098, -0.03169758, 0.010496465, 0.015929375, -0.016399467, 0.022524083, 0.05684074, 0.015620459, -0.00838777, -0.017675428, 0.023195643, -0.029387414, 0.0014186681, 0.00041091006, -0.0070916614, 0.016721815, -0.03981001, -0.0044692243, -0.042764865, 0.03868179, 0.02396122, -0.04486013, 0.020670582, 0.013001379 ]
2401.09350
335
Of the L2 pairs, the algorithm picks the top L that minimize the approx- imation error. It then repeats this process for a total of L rounds, where in each round we compute the residuals given L tuples of codewords, and for each tuple, find L codewords from the remaining codebooks, and ultimately identify the top L tuples from the L2 tuples. At the end of the L-th round, the tuple with the minimal approximation error is the encoding for u. Now that we have addressed the vector encoding part, it remains to de- scribe the codebook learning procedure. Unsurprisingly, learning a codebook is not so dissimilar to the PQ codebook learning algorithm. It is an iterative procedure alternating between two steps to optimize the following objective: L min S> ju — SO pi.cicwy l- i=l One step of every iteration freezes the codewords and performs assignments ζi’s, which is the encoding problem we have already discussed above. The second step freezes the assignments and updates the codewords, which itself is a least-squares problem that can be solved relatively efficiently, considering that it decomposes over each dimension. 9.4 Quantization for Inner Product # 9.4 Quantization for Inner Product
2401.09350#335
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 335, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Of the L2 pairs, the algorithm picks the top L that minimize the approx- imation error. It then repeats this process for a total of L rounds, where in each round we compute the residuals given L tuples of codewords, and for each tuple, find L codewords from the remaining codebooks, and ultimately identify the top L tuples from the L2 tuples. At the end of the L-th round, the tuple with the minimal approximation error is the encoding for u.\nNow that we have addressed the vector encoding part, it remains to de- scribe the codebook learning procedure. Unsurprisingly, learning a codebook is not so dissimilar to the PQ codebook learning algorithm. It is an iterative procedure alternating between two steps to optimize the following objective:\nL min S> ju — SO pi.cicwy l- i=l\nOne step of every iteration freezes the codewords and performs assignments ζi’s, which is the encoding problem we have already discussed above. The second step freezes the assignments and updates the codewords, which itself is a least-squares problem that can be solved relatively efficiently, considering that it decomposes over each dimension.\n9.4 Quantization for Inner Product\n# 9.4 Quantization for Inner Product", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.0022985144, -0.016061407, 0.0010698702, -0.013485409, -0.0020818694, 0.0038936744, 0.035470426, 0.02948746, -0.02476282, 0.015076118, 0.043875065, -0.017913276, -0.0613966, 0.018922308, 0.011170572, -0.026187334, 0.05261209, -0.016381923, -0.036135197, 0.0029573527, -0.040171325, -0.0490508, 0.032217782, 0.052232217, 0.025427593, -0.045489512, 0.044634804, 0.05683815, 0.028893914, -0.039696485, 0.012939345, -0.004329932, -0.042640485, -0.0088082515, 0.0040895455, -0.016773665, 0.010440508, 0.032906298, -0.017569019, 0.007923865, 0.012820635, -0.03416462, -0.031315587, -0.04074113, -0.00034147553, 0.0428779, 0.013615989, -0.01596644, -0.02067921, 0.0013777731, 0.006267866, 0.08124484, -0.009312767, -0.021486435, -0.0173316, 0.005686189, -0.0018340631, 0.007953542, 0.054179054, -0.032645136, 0.03962526, -0.019622695, -0.0029380622, 0.008701413, 0.019100372, 0.021403339, -0.029083848, 0.024929013, -0.035090555, 0.0013325152, -0.026852109, 0.01169883, 0.019978823, -0.030342171, 0.035066813, 0.018530566, -0.013675344, 0.07744613, 0.016833019, -0.02948746, 0.009876638, -0.013461667, 0.06832924, -0.0065171565, -0.018815469, -0.027706817, -0.036467586, 0.019325921, -0.038580615, -0.06415066, -0.02958243, 0.026709657, -0.03950655, 0.002963288, 0.077731036, 0.024287982, 0.05114009, -0.0062322533, 0.028466558, -0.044634804, -0.021177791, -0.02020437, 0.037441004, -0.046842802, 0.04643919, -0.039435323, -0.041192226, 0.0058316085, -0.024739077, -0.036586296, -0.032550167, 0.055651054, -0.041548356, 0.037963327, 0.047080223, -0.063770786, 0.00045740287, -0.019777017, -0.010108122, -0.0018147728, -0.02958243, -0.03589778, 0.01759276, -0.0003546449, -0.008369026, -0.02339766, 0.02266166, -0.06391324, 0.042141903, -0.020109404, 0.02266166, -0.009983476, 0.0018103212, -0.010559218, -0.03563662, 0.02984359, -0.0033832232, 0.0071166395, 0.014779343, 0.018352501, 0.026519721, -0.024715336, -0.020406177, 0.005528899, -0.06453053, 0.011841281, -0.024133658, 0.046985254, -0.035731584, -0.003326836, -0.0074015427, -0.039459065, -0.017770825, 0.026401011, -0.039957646, -0.041026033, -0.051852345, 0.00012733458, 0.004401158, 0.014031473, 0.008594574, 0.030128492, 0.05413157, -0.017284116, 0.049098283, -0.026519721, -0.04159584, 0.022317402, -0.05859505, -0.030769525, -0.0018963857, -0.03084075, 0.0027644495, 0.011229927, 0.016013924, -0.024050562, -0.04420745, -0.06590756, -0.033571072, -0.052137252, -0.009015993, -0.024477916, 0.028252881, 0.030627074, 0.006908898, 0.011663217, 0.0012019345, -0.023931852, -0.013521022, -0.040218808, -0.005950318, -0.01907663, 0.05142499, 0.011965926, 0.009075348, -0.019717662, 0.01608515, 0.02266166, -0.023623208, -0.01844747, 0.023017788, 0.010517669, 0.035019327, -0.012060894, 0.017450308, -0.021082822, -0.046154287, 0.010565153, -0.04444487, 0.004113287, -0.00044664482, -0.015539085, 0.007543994, -0.0033001264, -0.016429408, 0.034022167, -0.035826553, 0.03119688, -0.044539835, 0.015455988, -0.0144944405, 0.009870702, -0.012891861, 0.029867332, -0.06006705, 0.0016708374, 0.04394629, -0.053514283, 0.054891314, -0.055413634, 0.029250043, -0.021284629, -0.0012946764, 0.010636379, 0.02896514, -0.012951216, -0.023219595, -0.010784766, -0.023326434, -0.018791728, -0.027018301, -0.023350175, 0.03219404, -0.0117285075, -0.029155074, 0.019100372, -0.01857805, 0.0035879973, 0.025332626, -0.03008101, -0.02414553, -0.0054992214, 0.0040094163, -0.016381923, -0.041334677, 0.012737539, 0.047198933, 0.017284116, 0.018115083, -0.017604632, -0.006279737, -0.013319216, -0.019302178, 0.02773056, -0.0018726437, -0.032597654, -0.0088082515, -0.02860901, 0.0148030855, -0.023563853, -0.04209442, -0.016666826, -0.017438438, 0.061016727, -0.0088082515, -0.043518934, -0.05636331, 0.0024587724, 0.008398703, 0.027065786, -0.011615733, -0.0021827726, 0.0378921, -0.00048819318, 0.047863703, -0.016239472, -0.045014676, 0.015135473, -0.06742705, 0.008072251, 0.026424754, -0.020572372, 0.002246579, 0.023492627, -0.017379083, 0.044611063, 0.00026468528, -0.041144744, -0.005324125, 0.021332113, 0.03917416, 0.011870959, 0.018138824, 0.0011225475, -0.07127324, 0.024596626, 0.029653655, -0.016619341, 0.008167219, -0.00059725763, 0.026187334, 0.07530936, -0.005151996, 0.031291846, -0.023492627, -0.07782601, 0.009490832, -0.03691868, 0.0067723817, 0.0028341913, -0.028585268, -0.012191474, 0.0356841, -0.007187865, 0.039316613, 0.021901919, -0.081529744, -0.0007909026, 0.025522562, -0.04012384, 0.023516368, 0.0021827726, 0.017937018, 0.034117136, -0.03532797, -0.008357155, -0.016251342, 0.04743635, -0.03665752, 0.017865792, -0.049335703, 0.010968766, 0.010084379, 0.01907663, -0.0011611282, 0.031481784, 0.046106804, 0.026709657, 0.04895583, 0.0024216755, -0.034235846, -0.046866544, 0.027469398, 0.011888765, 0.06472047, -0.027231978, 0.043613903, -0.03008101, -0.04306784, 0.011158701, -0.008523349, 0.013853408, 0.040812355, -0.012417023, -0.027184496, 0.015420375, 0.010250573, -0.041334677, -0.031410556, -0.0024246434, -0.027303204, -0.014553796, -0.060256984, 0.017782696, -0.03566036, 0.004045029, 0.013521022, 0.037535973, -0.011289282, 0.057740342, 0.023919981, 0.006190705, -0.027754301, -0.02329082, 0.062346276, 0.045489512, 0.023017788, -0.003647352, -0.033381134, -0.0024498692, -0.03160049, -0.03665752, 0.014209538, -0.012678184, 0.025593787, 0.040954806, 0.0086658, 0.05436899, 0.01158012, 0.041168485, -0.009722315, -0.04928822, 0.01163354, -0.007413414, -0.046178028, -0.039221648, 0.044824738, 0.030555848, 0.038818035, 0.053419314, 0.04432616, 0.016536245, 0.036467586, -0.012856248, 0.01064825, -0.008636123, -0.00047558028, -0.0054636085, 0.037179843, 0.04309158, 0.0024098046, 0.011045927, -0.023314564, -0.015337278, -0.008505542, -0.024086175, -0.023646949, 0.016868632, 0.017485922, -0.020655468, -0.003442578, 0.018803598, -0.028822688, -0.067806914, -0.03060333, -0.023148369, -0.01437573, 0.03912668, 0.017474052, -0.043613903, -0.0022658692, 0.027967978, -0.017794566, -0.039459065, 0.0012375475, -0.016203858, 0.008926961, 0.00041993515, 0.029416235, 0.021973144, -0.02401495, -0.044919707, 0.057123054, 0.005445802, 0.014826828, -0.0707984, 0.03304875, -0.020750435, 0.007098833, 0.0064993496, -0.028134173, 0.028632753, -0.026638431, 0.007377801, 0.018898565, 0.025783721, -0.0051549636, -0.010891604, 0.021866307, 0.022970306, -0.018589921, -0.03454449, 0.02191379, -0.06130163, -0.030745782, 0.043281514, 0.025712496, -0.012191474, -0.019005405, -0.027042044, -0.012761281, -0.036610037, -0.010102185, 0.019373404, -0.0018385147, 0.06586008, 0.02737443, 0.01041083, 0.020489275, -0.004677158, -0.053229377, -0.04817235, 0.031006943, -0.011170572, -0.010108122, -0.0055467053, -0.00076864456, 0.007888252, 0.032217782, 0.007193801, 0.038461905, 0.037061132, 0.013402312, 0.012618829, 0.031054428, 0.04097855, 0.020287469, -0.023112757, 0.0066833496, 0.05536615, 0.045489512, 0.0034603844, -0.010671992, -0.022744756, -0.0245254, 0.008487735, -0.022424242, 0.0005275157, -0.04805364, -0.004985803, -0.036942422, -0.04135842, -0.03532797, 0.0034307071, 0.018008243, -0.0036443842, -0.06429311, -0.08813, -0.0074015427, -0.033832233, -0.016571859, -0.0009541283, -0.05004796, 0.008986316, -0.02427611, 0.022459853, -0.023231465, -0.006095737, -0.0030508363, -0.04275919, -0.00984696, 0.0020418048, -0.0011499991, -0.0037868358, 0.019325921, -0.012547603, 0.028015463, 0.026947076, -0.006291608, 0.005335996, 0.0035850294, -0.011111218, 0.005012512, 0.0011878378, 0.011752249, 0.014055215, 0.011348637, 0.029511204, -0.03478191, -0.029083848, 0.014138312, 0.015776504, 0.010434573, -0.000865838, -0.024881529, 0.02401495, 0.01034554, -0.048362285, 0.047863703, 0.040028874, -0.03665752, -0.02637727, 0.03297752, -0.021510176, -0.011271475, 0.0054220604, 0.022566693, -0.011675088, 0.051187575, 0.037464745, -0.01956334, -0.05028538, 0.01670244, -0.0051579317, -0.05019041, 0.02637727, -0.004169674, -0.00028434655, -0.014233279, 0.036823712, 0.010084379, -0.0000137489815, -0.022186821, -0.027089527, -0.055556085, 0.006291608, 0.0012590636, -0.014411344, -0.041168485, -0.00043959645, 0.0036206425, 0.022246176, 0.015586569, -0.008843864, -0.010007218, -0.018589921, 0.018613663, 0.042782936, 0.03888926, 0.0025255464, 0.025166431, -0.012654441, 0.012464507, 0.034971844, -0.0063687693, -0.04335274, -0.005309286, -0.028015463, 0.032122813, -0.019907597, 0.013378571, -0.03122062, 0.01561031, 0.015681537, 0.010054702, 0.01003096, 0.0073896716, -0.01523044, 0.023872498, -0.0077814134, -0.048219834, 0.018126953, 0.018661147, -0.002086321, 0.0029692235, -0.0021397404, 0.005184641, 0.00014328618, 0.03321494, 0.0007797736, -0.00073377363, 0.021711983, -0.011164636, -0.007104769, -0.0042409, -0.035874035, -0.0075143166, 0.009419606, -0.031647976, -0.027231978, -0.016334439, -0.0364201, 0.038794294, 0.010434573, 0.029083848, -0.006279737, 0.012891861, 0.005733673, 0.027018301, -0.028466558, -0.05384667, -0.04494345, 0.012120249, -0.04394629, 0.033119973, -0.00025374175, -0.016916117, 0.007739865, 0.0023712239, 0.018696759, -0.011609797, 0.022590434, 0.0022020629, -0.03960152, -0.04040874, -0.0047246413, -0.02761185, -0.022994047, -0.01559844, -0.019634565, -0.021332113, 0.009158445, -0.034876876, -0.0007909026, -0.047270156, -0.017058568, 0.00064919307, -0.03639636, -0.0074252845, -0.022329273, -0.009686702, -0.015396633, 0.0003887739, -0.043020353, -0.008493671, -0.0009823218, -0.027350688, 0.007104769, 0.008113801, -0.014625021, -0.013176764, 0.02761185, -0.014078957, -0.02007379, -0.067806914, -0.04050371, -0.014221408, 0.024620367, 0.024038691, 0.030294687, 0.025783721, 0.016666826, -0.001675289, -0.023670692, -0.038343195, 0.0056357374, -0.002997417, -0.029772364, 0.002268837, 0.00078941876, -0.049810544, 0.027920494, -0.012701926, 0.0017242568, -0.025688754, -0.028514042, -0.023599466, 0.015681537, -0.02749314, 0.03701365, -0.008220639, 0.013627861, 0.037535973, -0.027849268, 0.025451336, -0.010725411, -0.021391468, 0.037108615, -0.031030687, -0.017545277, -0.031244364, -0.018637406, -0.017806439, 0.035612877, 0.01561031, 0.012844377, 0.010185283, -0.0017405793, 0.009075348, -0.006190705, -0.010292121, 0.0076211556, -0.03556539, -0.03340488, 0.018649276, -0.0022391595, 0.032645136, 0.018791728, -0.02327895, -0.010256508, -0.014257021, 0.00979354, -0.026472237, 0.006481543, 0.020287469, -0.02154579, -0.021403339, -0.032289006, 0.029392494, -0.0014927731, -0.01536102, 0.014565666, -0.0039411583, 0.03651507, 0.012713796, -0.05508125, -0.010440508, -0.0037838682, -0.010600766, 0.02737443, -0.051804863, -0.018293148, 0.018055728, -0.0122508295, -0.012476377, -0.032289006, -0.012031216, 0.033001266, 0.014470698, -0.034473263, 0.015491601, 0.0013933538, 0.010102185, 0.0008265155, -0.0022495466, 0.023694433, -0.013734699, -0.08855735, -0.016536245, -0.0094848955, 0.022519208, 0.049763057, -0.0009726767, 0.009051606, -0.011526701, -0.024098046, -0.0015639988, 0.0073837363, -0.015895214, 0.034093395, -0.021996886, -0.0032496748, -0.018257534, -0.009769799, 0.005300383, 0.009662961, -0.012737539, -0.019041017, 0.008090058, 0.02464411, -0.030484622, -0.048101123, 0.0036532874, 0.011615733, 0.0015966439, -0.0048997384, 0.011847217, -0.033784747, -0.004938319, -0.0018578051, 0.04556074, -0.0077576716, -0.011609797, 0.013378571, -0.006481543, 0.0043833517, 0.008529284, 0.0005983705, -0.054701377, -0.03293004, -0.032645136, -0.004457545, -0.032336492, -0.022388628, -0.015883343, 0.023563853, -0.016417535, -0.0346632, -0.013544763, -0.007193801, -0.038984228, -0.02007379, -0.0005857576, 0.0018207083, -0.0052024475, -0.019539598, -0.030175976, -0.031244364, 0.01895792, 0.020857275, -0.008659864, -0.030983202, -0.038628098, -0.008683606, 0.0169636, -0.027967978, -0.022507338, -0.024038691, 0.0026012238, -0.0024765788, 0.0102208955, -0.029558687, -0.010903476, 0.043139063, 0.01831689, -0.028086688, -0.0030389654, 0.019895727, -0.017889535, 0.018898565, 0.004745416, -0.006487479, 0.008042575, 0.024549142, -0.032431457, -0.046367966, 0.018483082, -0.013485409, 0.010060637, -0.0067248982, -0.0030834815, 0.015681537, -0.010559218, 0.013069926, -0.031339332, -0.022566693, 0.0041192225, 0.036206424, 0.044159967, -0.021700112, -0.05968718, -0.014553796, 0.03786836, 0.015764633, 0.029416235, 0.017034825, -0.008463994, 0.014636892, -0.016370052, -0.03440204, 0.030294687, -0.028466558, 0.022934692, 0.035066813, 0.033879716, 0.04938319, -0.010078444, -0.0024825141, 0.031885393, 0.017189149, 0.0025240625, -0.03544668, -0.033832233, 0.0027852238, 0.06548021, -0.03604023, 0.004677158, -0.019907597, 0.03333365, -0.0015966439, -0.018720502, 0.019302178, 0.03974397, -0.037084874, 0.022210564, -0.050475314, 0.007330317, 0.027421914, 0.033761006, 0.021450821, 0.009556122, -0.019990694, 0.016987342, 0.008446187, -0.01176412, -0.014102699, 0.011039992, 0.018364374, -0.008226574, -0.0008509993, 0.0129274735, -0.0098528955, 0.0015996117, 0.027873011, -0.005534834, 0.037583455, 0.000324782, 0.022436112, 0.010749153, -0.005517028, 0.021771338, -0.0072590914, -0.0018874825, -0.028941397, -0.018732373, -0.0065112207, 0.002519611, 0.006837672, 0.00458219, 0.014280763, 0.0393641, 0.03544668, -0.004843351, 0.021830693, 0.04397003, 0.021890048, -0.0030196751, 0.012452636, 0.0086539285, -0.04620177, 0.050712734, -0.005000641, 0.012417023, 0.0024350304, -0.050950155, 0.02018063, 0.029819848, 0.016108891, 0.02514269, -0.0061491565, -0.007241285, 0.014898053, 0.0011069669, -0.012428894, 0.020275597, 0.011437668, -0.00047409642, 0.00024298369, 0.015052375, 0.007110704, -0.021842564, -0.024620367, -0.009651089, 0.0006473382, -0.0053597377, -0.006166963, 0.02934501, -0.013402312, 0.004932383, -0.012084636, -0.015657794, -0.027398173, -0.055888474, -0.001801418, 0.015942696, -0.018494954, -0.002440966, -0.009751992, 0.018091341, -0.01473186, -0.010594831, -0.02104721, -0.021961274, 0.028466558, -0.0021976111, -0.024667852, 0.01101625, 0.0050926413, -0.012891861, -0.02587869, -0.023825014, -0.031291846, 0.014221408, -0.0029573527, -0.059354793, -0.026306044, -0.021830693, 0.040195066, -0.0102387015, -0.011663217, 0.009152509, 0.03589778, -0.011123088, 0.0035612877, 0.036301393, -0.0050807702, -0.020263726, 0.02896514, -0.017474052, 0.004991738, 0.013188635, 0.0065527693, -0.012084636, -0.023955595, 0.019788887, 0.04420745, -0.014791215, -0.00028527397, 0.0034307071, 0.007330317, -0.033571072, -0.0072887684, -0.00749651, -0.02229366, 0.0024469013, 0.00048077383, -0.00953238, -0.033499844, 0.018969791, 0.011479217, 0.0019201275, 0.024881529, 0.01772334, -0.00037449165, 0.0008836445, 0.019314049, -0.024976498, -0.023219595, -0.0041489, -0.025783721, 0.007419349, 0.03321494, -0.026757142, 0.019159727, -0.00038580617, 0.011342701, 0.006279737, -0.0006573543, -0.00953238, -0.004786964, 0.023326434, 0.030365912, -0.028988881, -0.019207211, 0.031647976, 0.0041103195, 0.0048938026, 0.0118828295, -0.0071225753, 0.039079197, -0.0013406763, 0.011876894, 0.014874311, -0.0066477368, -0.009496767, -0.03727481, -0.013069926, 0.021225274, 0.01821005, 0.00909909, 0.01894605, 0.03575533, 0.016856762, -0.0146487625, 0.0049412865, 0.006089802, -0.0048403833, 0.015313537, -0.008024768, -0.014506311, 0.004107352, -0.025095206, -0.02587869, 0.005585286, -0.01101625, 0.034093395, 0.02649598, 0.0049887705, -0.0038818035, 0.032455202, -0.041809518, -0.040764872, -0.0019052889, 0.008505542, -0.002908385, -0.025332626, -0.015242311, 0.014826828, 0.0019690953, 0.02872772, -0.0051015443, -0.03713236, 0.026116109, 0.022364886, 0.013794054, 0.008873542, 0.009817283, 0.041928224, -0.010375218, -0.028276624, -0.012440764, 0.023089014, 0.009971606, -0.0114970235, 0.0045851576, -0.032478943, -0.016844891, -0.007840768, 0.03575533, -0.003852126, 0.029606171, -0.0039619324, 0.016916117, 0.010025024, 0.015396633, 0.015942696, 0.008891348, 0.011615733, -0.015218569, -0.010796637, -0.009039735, -0.018103212, 0.0012790958, -0.0065171565, 0.021486435, -0.008084123, 0.0012353216, -0.0021679339, -0.028941397, -0.031125654, 0.0044723838, -0.0073956074, 0.021260887, 0.001447515, 0.00025578207, -0.01596644, -0.0046682544, -0.0245254, 0.017474052, -0.018542437, 0.020726694, -0.01919534, -0.016025795, 0.0356841, 0.02587869, -0.0012716764, 0.00501548, 0.020572372, -0.023967465, 0.046106804, -0.015503472, -0.018862953, -0.027279463, -0.029677397, -0.0029484492, 0.022376757, -0.018221922, -0.025047723, 0.02958243, -0.041572098, 0.023635078, -0.014921795, -0.025237657, -0.008030703, 0.020038178, 0.002040321, 0.049952995, 0.0077695423, 0.022020629, -0.035209265, -0.019658307, 0.002267353, 0.01014967, -0.0067545753, -0.0089447675, -0.023611337, 0.035612877, -0.009461154, 0.008695478, -0.027873011, -0.016821148, 0.022376757, -0.011004379, 0.027018301, 0.014945537, -0.007377801, 0.0015491601, -0.036135197, 0.016631212, 0.045774415, -0.0032199975, 0.01108154, -0.015289795, -0.008636123, 0.0031161266, 0.024834046, 0.018613663, -0.03174294, -0.0010550314, -0.014933666, 0.021688242, -0.0043329, -0.009443347, -0.050332863, -0.010042831, 0.03084075, 0.0074015427, 0.009318703, -0.020726694, 0.039696485, 0.006897027, 0.0044249, 0.029083848, -0.0321703, 0.008274058, 0.013521022, -0.03938784, -0.009170315, -0.0059028342, 0.018874824, 0.030270945, -0.004801803, 0.02216308, -0.028561527, -0.0056030923, 0.007846704, -0.0076448973, 0.023670692, -0.009633283, -0.0032229652, 0.006220382, 0.028988881, 0.018411856, -0.006873285, 0.022305531, 0.002918772, 0.012583216, 0.000122048295, -0.02564127, -0.009134702, 0.025807464, 0.0016426439, 0.019539598, 0.027849268, -0.031624235, 0.005938447, -0.021700112, -0.0053270925, 0.024098046, -0.030294687, 0.011223991, -0.011639475, 0.0024899335, -0.011591991, -0.006920769, 0.02291095, 0.019824501, 0.032882556, -0.0042082546, -0.02267353, 0.0063747047, 0.018423729, 0.026306044, 0.002952901, -0.01918347, 0.003602836, -0.008582703, -0.05076022, 0.008386833, 0.031647976, 0.017390955, 0.005870189, -0.0106067015, -0.0072472203, 0.0084224455, 0.009348379, 0.0084818, -0.019005405, 0.012618829, 0.0027080625, 0.018150697, 0.035494167, 0.018779857, -0.0045554806, 0.011473281, 0.017485922, -0.0066061886, 0.025451336, 0.012138055, 0.012701926, -0.0084224455, 0.014423215, -0.018673018, 0.020536758, -0.019527728, 0.010422702, 0.018815469, 0.0064340597, -0.003976771, -0.006261931, -0.010505798, 0.009360251, 0.013509151, 0.016334439, 0.038343195, 0.029558687, 0.002325224, 0.031386815, -0.031268105, 0.02142708, 0.056315828, 0.017533407, 0.0064993496, 0.0041459324, -0.04370887, -0.011568249, -0.011740378, 0.038556874, -0.0131411515, -0.0010639346, 0.02998604, -0.007704252, 0.062203825, -0.0056713503, -0.0048730285, 0.01771147, 0.00076419296, -0.025617529, -0.03328617, 0.007276898, 0.016298827, -0.0012946764, 0.0029885138, 0.0016604504, -0.03181417, 0.03433081, 0.040432487, -0.0010416766, 0.006009673, 0.014162053, -0.029677397, 0.022210564, 0.014814956, 0.036253907, 0.027849268, -0.019254696, -0.031268105, 0.050712734, 0.03198036, -0.031505525, -0.03444952, 0.017497793, -0.0015803213, 0.0018874825, 0.011461411, -0.008173155, -0.0045525124, 0.012963086, 0.009787605, -0.0048611574, 0.015776504, 0.023124628, 0.014019602, -0.03900797, 0.024109917, 0.011675088, -0.010600766, -0.004549545, 0.000070066475, -0.01720102, -0.015040505, -0.016643085, 0.0042498033, -0.004024255, 0.011045927, 0.0042438675, -0.0047899317, 0.02339766, -0.019824501, -0.03046088, -0.012227087, 0.0067308336, 0.0063212854, 0.0012583216, -0.0021115467, -0.008659864, 0.0027095464, -0.015028633, 0.0049650283, 0.008274058, -0.017390955, -0.040100098, -0.019278437, -0.01905289, 0.014553796, -0.0031932879, 0.032502685, 0.011111218, 0.031268105, -0.0002029192, 0.0072116074, 0.039720226, 0.016239472, -0.0014059667, 0.047958672, -0.011491088, 0.026044883, 0.011277411, -0.008932896, -0.00854709, -0.013568506, 0.013532893, 0.0058256728, 0.010671992, 0.018388115, -0.036325134, 0.04829106, -0.009449283, -0.003202191, -0.00068591884, 0.03169546, 0.005493286, -0.024905272, -0.01238141, -0.020904759, 0.03575533, 0.0072590914, 0.038414422, 0.013461667, -0.0009904831, 0.007371865, -0.0004069513, 0.03433081, 0.022732886, 0.014067086, 0.010232766, -0.033262424, -0.037369777, 0.01807947, 0.014541924, -0.019515855, -0.0005059996, 0.035850294, -0.03701365, 0.017616503, 0.035470426, -0.02998604, -0.0050095445, 0.039815195, -0.038651843, 0.0127731515, 0.03777339, 0.004297287, 0.0022525145, -0.023884369, -0.028419076, 0.012737539, -0.0666673, 0.004994706, 0.03095946, 0.004775093, 0.0047899317, -0.01697547, -0.06391324, -0.014055215, 0.014589408, -0.028561527, 0.0049056737, 0.032122813, 0.039957646, 0.02007379, -0.026543463, -0.0037927714, -0.031268105, -0.006166963, 0.00034926587, 0.008760767, 0.015895214, -0.015420375, 0.006707092, -0.019895727, 0.020881016, 0.02069108, -0.02687585, 0.009354316, 0.00026060463 ]
2401.09350
336
9.4 Quantization for Inner Product # 9.4 Quantization for Inner Product The vector quantization literature has largely been focused on the Euclidean distance and the approximate nearest neighbor search problem. Those ideas typically port over to the maximum cosine similarity search with little effort, but not to MIPS under general conditions. To understand why, suppose we wish to find a quantizer such that the inner product approximation error is minimized for a query distribution: E p> (a, u) — (4, a)” | = DD E (a, ur i?) E p> (a, u) — (4, a)” | = DD E (a, ur i?) UucxX ue =SCE [(w — a)" qq" (u— i) qd uEx = Di (u- TE [aa"] (u— 4%), (9.1) uEx
2401.09350#336
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 336, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "9.4 Quantization for Inner Product\n# 9.4 Quantization for Inner Product\nThe vector quantization literature has largely been focused on the Euclidean distance and the approximate nearest neighbor search problem. Those ideas typically port over to the maximum cosine similarity search with little effort, but not to MIPS under general conditions. To understand why, suppose we wish to find a quantizer such that the inner product approximation error is minimized for a query distribution: E p> (a, u) — (4, a)” | = DD E (a, ur i?)\nE p> (a, u) — (4, a)” | = DD E (a, ur i?) UucxX ue =SCE [(w — a)\" qq\" (u— i) qd uEx = Di (u- TE [aa\"] (u— 4%), (9.1) uEx", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.019080617, 0.021730702, -0.005856113, 0.03426676, -0.0065676034, -0.033206724, 0.028160041, 0.08351226, -0.031524498, 0.024196435, 0.011222537, -0.026869563, -0.030740993, 0.046941083, 0.03977433, 0.009695857, 0.04180222, -0.026662165, -0.013227384, -0.0036208236, -0.026892608, -0.024956893, 0.009010291, 0.01288172, 0.066597804, -0.034082405, 0.011936908, -0.011936908, 0.04512059, -0.019622156, -0.02291748, -0.012950853, -0.012835632, -0.0737876, -0.0086243, 0.0043035084, -0.016499663, 0.048531134, -0.0099896705, 0.014068498, -0.03901387, 0.004098991, 0.00033900212, -0.049268547, -0.011959951, -0.009258017, -0.013953277, -0.020163694, -0.03737773, 0.009776511, 0.017536653, 0.042608768, -0.008215265, -0.020751324, 0.04092654, 0.00015707879, 0.008267115, 0.03917518, 0.03905996, 0.0065503204, 0.018400813, -0.056412257, -0.005228158, -0.013261951, -0.01320434, 0.012052128, -0.008169177, 0.019518457, 0.027606979, -0.0051532644, -0.0046952604, 0.029035721, 0.0183432, 0.034335893, 0.0195415, 0.007431762, -0.035511147, 0.050789468, 0.03564941, 0.018965395, 0.012927809, -0.013849578, 0.04224006, -0.02624737, -0.02247964, -0.026224326, -0.06627519, -0.010456316, -0.06198896, -0.03099448, -0.018504512, 0.009044858, 0.020209784, -0.05267909, 0.020036953, -0.031524498, 0.019126706, 0.017801663, 0.0049746716, -0.009718901, -0.018423855, -0.032814972, 0.04583496, -0.032976285, 0.075216345, -0.026662165, -0.008013628, 0.008359292, -0.035211574, 0.0090390965, 0.0026227206, 0.047332834, -0.0064523825, 0.070976205, 0.016119434, -0.017421432, -0.02057849, -0.030441418, -0.016557274, 0.025256468, -0.034289803, -0.004522429, 0.01238627, -0.011867775, 0.032331046, -0.040027816, -0.0172486, -0.044267952, 0.016626406, 0.00038563067, 0.03426676, 0.015520284, 0.0086991945, -0.015543329, 0.0183432, -0.006913267, 0.03175494, 0.007143709, 0.0043265526, 0.026777387, 0.023781639, 0.00069816795, 0.02859788, -0.019449323, 0.015105488, 0.029266164, -0.04025826, 0.018999962, -0.002281378, -0.026201282, -0.00031793828, -0.08014781, -0.0101625025, -0.06360205, 0.0030159126, -0.032054514, -0.0008101485, 0.021385038, -0.004680858, -0.05286345, -0.0043179113, 0.022687037, 0.01958759, -0.038230367, 0.024058169, -0.016891416, -0.022629427, -0.0036697926, -0.034451112, -0.050512936, -0.013227384, -0.07120665, 0.014978745, -0.026155192, 0.02291748, -0.012778021, -0.005190711, -0.02968096, -0.05604355, 0.016050301, -0.032054514, 0.015704637, 0.02576344, 0.011925385, 0.036363784, 0.012443881, -0.008929636, -0.01172951, 0.020981764, -0.04710239, -0.00041767655, 0.042816166, 0.034428068, -0.008727999, 0.0006455983, -0.03852994, -0.00038707093, 0.008762565, 0.003502722, -0.035603326, 0.02712305, 0.010508166, 0.04807025, 0.001860821, 0.009160078, -0.034082405, -0.004666455, -0.011072749, -0.06973182, 0.0378847, -0.035465058, 0.033690654, 0.022629427, -0.007725576, 0.012489969, -0.017824706, -0.023389887, 0.033575434, -0.0028056342, 0.03862212, -0.026662165, 0.037078153, 0.024657318, 0.048669398, -0.070976205, 0.01200604, 0.0066309753, -0.04124916, 0.059500184, -0.036548138, 0.045005366, -0.0014510659, -0.022687037, -0.03127101, -0.0008591174, -0.0038224605, -0.030902304, -0.050466847, -0.06231158, -0.035442013, -0.03728555, -0.020428704, 0.048761576, -0.030602727, -0.023712505, 0.0066943467, -0.042309195, 0.031939294, 0.014967223, -0.03705511, -0.052633006, 0.027768288, 0.016084868, -0.008912353, -0.025002982, 0.0096843345, 0.025302557, 0.023758594, -0.0041508405, 0.03813819, -0.01364218, -0.05134253, -0.005147503, 0.0035401687, -0.0075239385, -0.008872026, -0.017006636, -0.029819224, 0.00065532007, -0.012754978, 0.038599074, -0.0046520527, -0.03182407, 0.06286464, -0.046987172, -0.015405063, -0.013492392, 0.011193731, -0.0036928367, 0.015531806, -0.037124243, 0.0037072394, 0.005254083, 0.029773137, 0.037631217, -0.025625177, 0.0029698242, -0.0016894296, -0.03334499, -0.015324408, 0.085263625, -0.027814377, -0.005985737, -0.036041163, -0.0043467167, 0.015762249, -0.0041393186, -0.009154318, -0.008618539, -0.030095754, 0.084249675, -0.00055702205, 0.01282411, 0.00016022936, -0.08051652, 0.049637254, 0.020613058, 0.014333507, 0.015451152, 0.0071609924, 0.023170967, 0.0626342, 0.00496603, 0.03207756, -0.045650605, -0.04228615, -0.006129763, 0.012017562, 0.026938697, -0.0035977792, 0.003776372, -0.03912909, 0.013434782, -0.02995749, 0.033805873, 0.020705234, -0.06894831, 0.0012321458, -0.037746437, -0.09162383, 0.01822798, 0.01821646, -0.0028992512, 0.00038815112, -0.03952084, 0.0012119821, -0.019599112, 0.075170256, -0.027606979, -0.019057572, -0.044290997, -0.011193731, 0.016684018, 0.0046203667, 0.016695539, 0.051112086, 0.028390482, 0.030349242, 0.062127225, -0.0044331322, -0.07056141, -0.06175852, 0.016879894, -0.022894435, 0.03945171, -0.0344972, 0.021085463, -0.070837945, -0.089595936, 0.005516211, -0.0460654, -0.006763479, 0.05461481, 0.0016116553, -0.017467521, -0.015220709, 0.025026025, -0.029496605, -0.032492355, -0.02171918, -0.053646952, 0.03087926, -0.06051413, -0.005141742, -0.018078193, -0.0026990545, -0.00452819, 0.04071914, 0.019956296, 0.05779491, 0.019161271, 0.043784022, -0.026293458, 0.013987843, 0.044175774, 0.009793795, 0.0146215595, 0.0009527346, -0.0638325, 0.012420836, -0.026224326, -0.029012676, -0.024910806, 0.022329852, -0.015750727, 0.007575788, 0.06572212, -0.009690096, 0.028943544, 0.03389805, -0.0018161729, -0.0145178605, 0.027353492, -0.023989037, -0.03972824, -0.008618539, 0.05668879, 0.056504436, -0.008958441, 0.06295682, 0.0012645518, -0.012996942, 0.022986613, -0.0020826217, 0.016902937, -0.004369761, 0.041133936, 0.0082901595, 0.03749295, 0.013123685, 0.052633006, 0.010709803, -0.02788351, -0.0008180699, -0.0098226, -0.026339546, 0.0021704778, -0.017190991, 0.0032665187, -0.013388693, -0.0009462534, 0.005118698, -0.01631531, -0.020382615, -0.022652471, -0.014333507, -0.037308596, 0.024956893, 0.002919415, 0.025532998, -0.03518853, -0.028828323, -0.01697207, -0.033091504, -0.016684018, 0.00088864285, 0.00022018034, -0.02509516, 0.029173987, 0.0062622675, 0.011009377, -0.051987767, 0.0042545395, -0.024933849, -0.011683421, -0.039106045, 0.032238867, -0.0013869741, -0.025532998, 0.012178872, -0.031570584, -0.00006008601, -0.01822798, 0.03857603, 0.0019616394, 0.043784022, 0.009488459, -0.0070745763, 0.0056458344, 0.01970281, -0.028206129, -0.053186066, 0.04191744, -0.06908658, -0.02799873, 0.02401208, 0.033782832, 0.0059396485, 0.02182288, -0.047079347, 0.02509516, -0.07927213, -0.02700783, 0.02345902, -0.018838651, 0.07129882, 0.025233423, -0.018251024, -0.0006621613, -0.013457826, -0.06567603, -0.051849503, 0.04092654, -0.009718901, 0.025164291, 0.011769837, 0.018861696, 0.01871191, 0.0021675972, 0.018585166, 0.016223133, -0.013319561, -0.010525449, 0.053001713, 0.045811914, 0.050512936, 0.026063016, 0.01413763, -0.020705234, 0.036317695, 0.044728838, -0.012282571, -0.008295921, 0.01894235, 0.002694734, 0.04355358, -0.0057063256, 0.017916882, 0.0012479887, 0.021730702, -0.0039636064, -0.008923875, -0.020878065, -0.02166157, -0.012536057, -0.0313171, -0.0053721843, -0.079779096, -0.048715487, -0.07383369, 0.0313171, 0.005484525, -0.0046232473, 0.029427473, -0.02253725, 0.01085959, -0.033483256, 0.002095584, 0.031224921, 0.00763916, -0.014229808, -0.0055565382, -0.0042804643, 0.023873815, 0.03525766, 0.006406294, 0.019875642, -0.0018507391, -0.0027753885, -0.017467521, 0.007892646, 0.0137343565, -0.024104256, 0.014252852, -0.008347769, 0.036755536, 0.032999326, 0.020117607, -0.030326197, -0.021419605, 0.009667051, -0.0020552566, 0.0021071061, 0.006412055, -0.030740993, 0.019829554, 0.022468118, -0.018999962, 0.024081213, 0.008998769, -0.01571616, -0.020106085, 0.005282888, -0.030118799, 0.0037072394, 0.0021157477, 0.017905362, -0.027860465, 0.00965553, 0.04770154, 0.009816839, 0.037193377, 0.043161828, -0.013815012, -0.033206724, 0.008451468, 0.017490566, -0.0112167755, 0.011810164, 0.04081132, 0.009828361, -0.000725893, 0.005150384, -0.02712305, -0.037101198, 0.016672496, -0.025463866, -0.0022842586, -0.0277222, -0.0019947656, 0.015255275, 0.00032621977, 0.05839406, 0.009972387, -0.032123648, 0.0072992574, 0.033921096, 0.0029611827, 0.0021301503, -0.013411738, 0.024380788, -0.017721007, -0.010444794, 0.009373237, -0.0072186026, -0.022502683, 0.003721642, -0.0033154876, 0.015462673, 0.002007728, 0.012178872, -0.02827526, -0.0047442294, 0.021246774, 0.007938735, 0.055029605, 0.0034911998, -0.042931385, 0.014494816, -0.01952998, -0.014126109, 0.010127936, 0.0392904, 0.005516211, 0.022203108, 0.0050956537, 0.0012062211, 0.016949026, 0.018757997, -0.025463866, 0.0035200051, 0.044406217, 0.0130545525, -0.005300171, -0.020486314, -0.008197982, 0.0072589302, 0.035672456, -0.03475069, -0.028851368, -0.016223133, 0.00070932996, 0.027100006, 0.008756804, 0.0074836113, -0.0016231774, 0.012029084, 0.0013992164, -0.010917201, -0.023804681, 0.000002897406, -0.011326236, 0.015174621, -0.05728794, 0.018400813, 0.05479916, 0.024357744, 0.0033990229, -0.014010888, 0.02576344, -0.0053549013, 0.051803414, -0.011418412, -0.020532403, 0.021557871, -0.014356551, -0.02249116, 0.011101554, -0.004940105, -0.022871392, -0.023597283, 0.02285987, -0.027353492, -0.010986333, -0.047885895, -0.006129763, 0.0068153287, 0.0035718544, -0.0039031152, -0.062403757, -0.011913863, -0.0038397436, 0.030257065, -0.0075008944, 0.00693055, -0.022502683, -0.0036841952, -0.014736781, -0.0016015735, -0.032768887, 0.00381958, 0.031685807, -0.010882635, -0.026454767, -0.049959876, -0.040143035, -0.029750092, -0.023620328, 0.043968376, 0.026708255, 0.017317733, -0.00022540131, 0.010773174, -0.0021042256, 0.0044705793, -0.009425087, 0.01784775, 0.029035721, -0.027146095, 0.001429462, -0.013596091, 0.004680858, -0.09724662, 0.027491758, -0.001610215, -0.012029084, -0.023205532, -0.0063314, -0.00063983724, 0.016684018, -0.009949343, -0.0039059957, 0.016465098, 0.016119434, 0.031132745, -0.012893243, -0.0065733646, 0.026708255, -0.031893205, -0.011303191, -0.01730621, 0.02832135, -0.016672496, 0.0067519573, -0.0040529026, 0.037078153, -0.006279551, -0.012132783, -0.011262864, -0.012996942, 0.015151576, 0.0069017448, -0.011331997, 0.001075157, 0.024150345, -0.027929598, 0.018746475, 0.009885971, 0.015543329, 0.009067901, -0.027491758, 0.03246931, -0.05267909, 0.03558028, 0.019149749, -0.014748302, -0.012420836, 0.007558505, 0.017467521, 0.0015050758, 0.004649172, 0.03530375, -0.027491758, 0.017986016, 0.043254007, -0.037861656, -0.037147287, -0.021408083, -0.030717948, 0.014206763, -0.047931984, 0.0013977762, -0.011441457, -0.03196234, 0.0020595775, -0.00014726698, -0.022237675, 0.012317137, 0.0006074313, -0.034727644, -0.023516629, 0.011994518, -0.008491796, -0.00028031136, -0.03346021, 0.01882713, 0.0138034895, -0.06645954, 0.0031685806, 0.044498395, -0.0016073346, 0.049637254, 0.001729757, 0.014241329, 0.0014525062, 0.0034623945, -0.00079646596, 0.018377768, -0.018757997, 0.026616078, -0.0037994164, 0.013423259, -0.015163098, -0.012893243, -0.009661291, 0.0031138507, -0.0153359305, 0.0032175495, 0.021788312, 0.046364978, 0.015865948, -0.019218883, 0.01603878, -0.002815716, -0.011971474, 0.008601256, -0.007575788, -0.00905638, -0.003920398, 0.0010917201, 0.0428853, 0.012559102, -0.020336527, 0.02504907, 0.019299537, 0.013434782, -0.021638526, 0.031086657, -0.07254321, -0.008618539, -0.046341933, -0.018516034, -0.04675673, -0.020981764, 0.0025737516, 0.028505703, -0.017640352, -0.032838017, 0.016246177, -0.0065330374, -0.02875919, 0.0014330626, -0.013791967, 0.019115184, -0.010323812, -0.024933849, 0.014794391, -0.010755891, -0.0048047206, 0.01364218, -0.011141881, -0.0056083878, -0.029865313, 0.004868092, 0.013515437, 0.026500857, -0.02477254, 0.0056170295, 0.050605115, -0.028943544, 0.02827526, -0.009021813, -0.031086657, 0.02167309, -0.019334102, 0.007541222, 0.0038109384, 0.01806667, -0.012720411, 0.020970242, 0.004176765, 0.004807601, 0.0069766385, 0.003453753, -0.023482064, -0.017329255, -0.0024383669, 0.009569113, 0.0052742464, -0.005631432, -0.012098217, -0.014229808, -0.00611248, 0.031639718, -0.01446025, 0.000035398985, 0.021811357, 0.022710081, 0.020371092, -0.004398566, -0.04894593, -0.017582742, 0.0277222, 0.03235409, 0.016626406, 0.043415315, 0.031409275, 0.030579684, -0.035810724, -0.007449045, 0.045927137, 0.0038483853, 0.006826851, 0.010657953, 0.0066309753, 0.027215227, -0.0024297251, -0.011798642, -0.015773771, 0.019737378, 0.00019245526, -0.041341335, -0.035511147, 0.009874449, 0.05714967, -0.034174584, -0.022398984, 0.019184316, 0.05277127, 0.0013221623, -0.003148417, -0.011539395, 0.015393541, -0.027100006, 0.019944774, -0.031801026, 0.006118241, -0.012513013, 0.03055664, 0.021258296, 0.04611149, -0.030026622, 0.021903533, -0.010243157, 0.012593668, -0.0036870756, -0.010560015, 0.010047281, -0.030003577, 0.019334102, 0.011775598, -0.006636736, 0.031132745, 0.012086695, -0.0076103546, 0.016718583, 0.035879854, 0.018101238, -0.0041969293, -0.007518178, 0.01986412, 0.0035200051, 0.0019846838, -0.040673055, 0.0005624231, 0.0009102468, 0.03917518, 0.027837422, -0.005277127, 0.013780445, 0.04885375, 0.039497796, -0.010174025, -0.00029831467, 0.0085263625, 0.004819123, -0.026224326, 0.0012976778, -0.017098814, -0.050835557, -0.0097534675, 0.0069017448, 0.003770611, 0.023689462, -0.02968096, 0.023124877, 0.014080021, 0.025717353, 0.028897455, -0.0048767338, 0.0356955, 0.007011205, 0.039705195, -0.036271606, 0.0052627246, -0.007241647, -0.010905678, 0.0008447148, -0.00006431679, 0.021949623, -0.03509635, -0.04834678, -0.009805317, -0.009586397, -0.022445073, 0.035764635, -0.0005573821, -0.008825937, 0.034796778, 0.00949422, -0.025970839, -0.028482659, -0.048162427, 0.03235409, 0.0474711, -0.008889309, -0.0055738213, 0.008197982, 0.0042314953, -0.01697207, 0.007414479, -0.033091504, 0.000082860184, 0.02385077, -0.010963289, -0.016096389, 0.016096389, 0.003738925, 0.0033702175, -0.011533634, -0.026777387, -0.0111130765, 0.02139656, -0.021523304, -0.05484525, 0.02024435, -0.018135803, -0.005375065, 0.018101238, 0.026155192, -0.020566968, 0.008301681, 0.012536057, 0.0046578133, 0.022952046, 0.0014186599, -0.042654857, 0.005559419, -0.004032739, 0.03322977, -0.0028301186, -0.0023073028, -0.023320753, 0.0046578133, 0.030372286, 0.037792526, -0.0025132606, 0.02182288, -0.0033990229, -0.0020422942, -0.015209187, -0.008272876, -0.016684018, 0.018723432, 0.015589417, -0.014114587, 0.017617308, -0.014218286, 0.007449045, 0.045742784, 0.0050812513, 0.04180222, 0.007621877, -0.009839883, 0.006636736, 0.02231833, -0.034335893, -0.010341095, -0.022998134, -0.040027816, 0.028206129, 0.020163694, -0.005190711, 0.0015972527, 0.0005037323, 0.04235528, 0.00071257056, 0.012536057, -0.018919308, 0.022398984, 0.0062680286, 0.018619733, -0.017144902, -0.03673249, 0.013826534, 0.007235886, -0.04714848, 0.0031685806, 0.0063544447, 0.0029136539, -0.011700704, 0.043092698, 0.007760142, -0.025256468, 0.029588781, -0.054660898, 0.017098814, 0.032768887, -0.00021423926, 0.037354685, 0.041272204, 0.021546349, 0.01980651, -0.021465693, -0.0072992574, -0.0036640314, 0.023170967, -0.023401408, 0.017709486, 0.00840538, -0.010387183, 0.010271963, -0.011026661, 0.0022151258, -0.0046146056, 0.024472965, 0.0029323774, -0.02307879, 0.0004497224, 0.032838017, -0.0065676034, -0.025532998, -0.019818032, 0.013550003, 0.004168124, -0.018274069, 0.0021085464, 0.025072115, -0.006682825, 0.022848347, -0.0021675972, -0.026569989, 0.013469349, -0.0062565063, 0.02509516, 0.025832573, -0.012017562, 0.030372286, -0.009862928, 0.009246495, 0.013192818, 0.019506935, 0.036663357, 0.004459057, 0.013907189, -0.0064639044, -0.029335296, -0.016326832, 0.01675315, -0.0033529345, 0.018516034, -0.01643053, 0.0047269464, 0.007351107, 0.021465693, 0.00008556068, 0.01806667, 0.029980535, -0.018619733, 0.0073799123, 0.01320434, -0.010583059, -0.019391714, -0.021385038, 0.027583934, -0.0016793477, -0.0056285514, -0.0005451399, -0.024058169, -0.011620049, 0.005997259, 0.025717353, 0.017190991, -0.028782234, -0.013665224, -0.0016303788, -0.02291748, 0.023389887, -0.033598475, -0.024841672, 0.0060203033, 0.00012593307, -0.007414479, 0.020981764, 0.017721007, -0.0069996826, -0.013791967, 0.0011486105, 0.015428107, 0.039912593, -0.0036813146, 0.0074836113, -0.00867615, 0.014345028, 0.014195241, 0.0044216104, -0.018550599, 0.013676746, 0.03256149, -0.013354127, -0.021073941, -0.0061816126, -0.010220113, -0.017974494, -0.0015756488, -0.0017326375, 0.0026601674, 0.035326794, 0.024311654, 0.0010362699, -0.023297708, -0.001931394, 0.016914459, -0.011913863, 0.024058169, 0.004813362, 0.023101833, 0.0011738151, 0.02330923, -0.031455364, 0.001314961, 0.004401447, 0.011308952, -0.0034451112, -0.018723432, -0.00017265163, 0.0086243, -0.019610634, 0.025901707, 0.002357712, -0.0037965358, -0.023620328, -0.037746437, 0.027169138, -0.00910823, 0.022687037, 0.024910806, -0.04899202, 0.0048162425, 0.021592436, 0.030694906, 0.0038397436, 0.00480184, -0.028897455, -0.008451468, 0.03023402, -0.0025175815, 0.0028949305, 0.0072877356, 0.022652471, 0.0100588035, 0.01064067, 0.030533595, -0.03246931, 0.009131273, 0.0035603323, 0.005429795, 0.0034969607, 0.0020552566, 0.022779215, 0.04180222, 0.016442053, 0.03505026, -0.0031282532, -0.028436571, -0.010594581, 0.039866507, 0.014195241, -0.00644086, 0.008382336, 0.024657318, 0.037101198, 0.030602727, 0.018320156, -0.0146215595, 0.0009505742, 0.0024124421, -0.03721642, -0.03242322, -0.012374748, 0.019679766, -0.010145219, 0.0064523825, 0.011833209, 0.009211928, 0.015635505, -0.034842864, -0.021004809, -0.0104678385, -0.019115184, 0.017974494, 0.0076910094, 0.01467917, -0.011487545, -0.012040607, 0.0021373518, 0.032400176, 0.026385635, 0.019126706, -0.010531209, 0.0010960408, 0.026593033, -0.000009671147, 0.0007431762, -0.010387183, -0.017640352, -0.023712505, -0.04412969, 0.012708889, 0.017041203, 0.017905362, -0.025002982, -0.032123648, -0.013561525, 0.0033702175, -0.010179785, 0.0038887125, -0.0038455047, -0.019161271, 0.0045425924, 0.040235214, 0.008964202, -0.01511701, 0.0103295725, 0.0053232154, 0.03419763, -0.02509516, 0.011072749, -0.022133976, -0.0050553265, 0.004891136, 0.038898647, -0.010410228, -0.008641584, -0.012950853, 0.01364218, 0.044221863, -0.01348087, -0.008336248, -0.016280744, 0.0026457647, 0.0428853, 0.014345028, 0.000021513943, 0.049314637, -0.0038483853, 0.018412335, 0.026915653, -0.009909016, -0.0081864605, 0.058301885, -0.018677343, 0.040580876, 0.0042545395, -0.03235409, -0.016326832, -0.0059166043, 0.030971436, -0.007817753, -0.014702214, 0.013296517, -0.024588186, 0.0020610178, 0.030049667, 0.0103987055, 0.027238272, 0.015831381, -0.029173987, 0.01364218, 0.004006814, -0.0208435, 0.027583934, 0.01194843, -0.008480274, -0.011366563, 0.005447078, 0.027537847, 0.009834122, -0.0073683904, 0.03235409, 0.0026126388, 0.02128134, -0.006129763, 0.033437166, -0.004006814, 0.011101554, -0.031363185, 0.0023749953, 0.024841672, -0.032699753, -0.016061824, 0.008347769, 0.006682825, 0.026984785, -0.0019486771, 0.006204657, 0.035534192, -0.02756089, 0.019495413, 0.020059995, 0.03143232, 0.012248005, 0.018804086, -0.035810724, 0.04092654, -0.006187374, -0.011867775, -0.004556995, 0.00589356, -0.002461411, -0.024864716, 0.018135803, -0.00066324155, 0.018757997, 0.012524535, -0.00061247224, -0.007829275, 0.022180064, 0.0030764036, 0.008733761, 0.0046030837, 0.011689182, 0.016188566, -0.01238627, -0.004001053, 0.021039376, -0.002811395, -0.013377171, 0.0024642916, 0.011066988, -0.0007691009, -0.047378924, -0.032169737, -0.016326832, 0.010536971, 0.0014503457, -0.011810164, 0.012789544, 0.013066075, -0.012190394, 0.012420836, 0.023597283, 0.03143232, -0.0010211471, 0.0289205, 0.046457153, 0.021477215, 0.02968096, 0.025256468, 0.0012926369, -0.042862255, -0.037400775, 0.025417779, -0.017824706, 0.019956296, -0.015796814, 0.03295324, -0.022952046, -0.00035178446, 0.047931984, 0.009960866, 0.0056602373, -0.011303191, -0.014172197, -0.020774366, 0.0020149292, 0.01986412, 0.040580876, 0.03486591, 0.03461242, -0.018976917, 0.0021042256, 0.0045339507, 0.0073107798, 0.027583934, 0.018746475, -0.034174584, -0.001178856, 0.0018853055, 0.020566968, -0.0522643, 0.015128532, 0.022237675, -0.026662165, -0.006988161, 0.014713736, -0.019092139, 0.030902304, 0.024864716, -0.022779215, -0.0047067823, 0.024841672, 0.008180699, -0.01145874, -0.019794988, -0.012536057, -0.019921731, -0.043622714, 0.019576067, 0.010992094, 0.0024110018, 0.019115184, 0.0070803375, -0.021546349, 0.017064247, -0.013653702, -0.032768887, -0.0034854386, 0.04353054, 0.004660694, 0.017617308, -0.024818627, -0.02564822, -0.010790457, 0.007909929, -0.019357147, -0.009183123, 0.032607574, -0.028713102, -0.016522707, 0.000191015, 0.036156386, 0.0046520527, -0.0032924432, 0.034773733, 0.008359292 ]
2401.09350
337
where ˜u is an approximation of u. If we assumed that q is isotropic, so that its covariance matrix is the identity matrix scaled by some constant, then the objective above reduces to the reconstruction error. In that particular case, it makes sense for the quantization objective to be based on the reconstruction error, making the quantization methods we have studied thus far appropriate for MIPS too. But in the more general case, where the distribution of q is anisotropic, there is a gap between the true objective and the reconstruction error. Guo et al. [2016] showed that, if we are able to obtain a small sample of queries to estimate E[qqT ], then we can modify the assignment step in Lloyd’s iterative algorithm for KMeans in order to minimize the objective in Equa- tion (9.1). That is, instead of assigning points to clusters by their Euclidean distance to the (frozen) centroids, we must instead use Mahalanobis distance characterized by E[qqT ]. The resulting quantizer is arguably more suitable for inner product than the plain reconstruction error. # 9.4.1 Score-aware Quantization
2401.09350#337
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 337, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "where ˜u is an approximation of u. If we assumed that q is isotropic, so that its covariance matrix is the identity matrix scaled by some constant, then the objective above reduces to the reconstruction error. In that particular case, it makes sense for the quantization objective to be based on the reconstruction error, making the quantization methods we have studied thus far appropriate for MIPS too. But in the more general case, where the distribution of q is anisotropic, there is a gap between the true objective and the reconstruction error.\nGuo et al. [2016] showed that, if we are able to obtain a small sample of queries to estimate E[qqT ], then we can modify the assignment step in Lloyd’s iterative algorithm for KMeans in order to minimize the objective in Equa- tion (9.1). That is, instead of assigning points to clusters by their Euclidean distance to the (frozen) centroids, we must instead use Mahalanobis distance characterized by E[qqT ]. The resulting quantizer is arguably more suitable for inner product than the plain reconstruction error.\n# 9.4.1 Score-aware Quantization", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.0008774832, 0.019293308, -0.02593145, 0.034394108, -0.016821798, -0.021091947, -0.012784567, 0.03165086, -0.059833843, -0.006922817, 0.02347288, -0.004092226, -0.05095711, 0.026811358, 0.0065507963, 0.014453807, 0.012842796, -0.06252533, -0.013289221, 0.003058656, -0.012719868, -0.02419751, 0.010313056, -0.026733719, 0.025387976, -0.0072786626, 0.036360964, -0.009898981, 0.03832782, 0.014013852, 0.01742997, -0.013806814, -0.023188202, -0.06009264, -0.027096035, 0.031392064, -0.03493758, 0.042856768, -0.02084609, 0.011833488, 0.00051597634, -0.013845634, -0.02665608, -0.015579573, -0.0030877704, 0.0006562928, -0.0014476451, -0.0078156665, -0.0071427943, 0.018128723, 0.03395415, 0.047644507, -0.02756187, -0.036930315, 0.018905113, -0.043063805, 0.017274693, 0.038069025, 0.07210082, -0.015747791, 0.000360496, -0.049714882, -0.009044952, -0.014712604, -0.021570722, 0.014376167, -0.01665358, 0.007964474, 0.006858118, -0.019694444, -0.048653815, 0.03077095, 0.026125547, -0.022295352, 0.024003413, -0.04001, -0.026837237, 0.05274281, 0.0032398137, 0.0031039452, 0.010442454, -0.016446542, 0.056314204, -0.020406134, -0.012182863, -0.018051084, -0.055175498, -0.018516919, -0.042261533, -0.014751423, -0.047980946, 0.008495008, -0.00502066, -0.014816122, 0.03514462, -0.031909656, 0.035248138, 0.003581102, 0.03985472, -0.047618628, -0.04844678, -0.011995236, 0.030201597, -0.061076067, 0.093943276, -0.07251489, -0.0070328056, 0.014893761, -0.001840693, 0.015631333, 0.038534857, 0.045574132, -0.012765157, 0.027846547, 0.034445867, -0.028881734, -0.05414031, -0.015294896, -0.017274693, -0.011522932, -0.016472422, -0.0065410915, 0.03165086, -0.02665608, -0.007673328, -0.017805226, 0.028182982, -0.021273104, -0.030408636, 0.01988854, 0.038534857, 0.014712604, 0.0058294, 0.023809314, 0.0040534064, 0.010778891, 0.048498537, 0.019267429, -0.017171174, -0.019720323, 0.011607041, 0.0075309896, -0.021544842, -0.021195466, -0.0022159484, 0.015230197, 0.0049591954, 0.027587749, 0.0075827492, 0.02576323, 0.0077380273, -0.06796006, -0.02329172, 0.00912906, -0.0016951197, -0.03843134, -0.03485994, -0.005913509, -0.024016352, -0.016148927, -0.014389107, 0.026474923, 0.015204318, -0.036775038, 0.04151102, -0.0007966092, -0.06092079, 0.006418163, -0.03661976, -0.028804094, -0.06547561, -0.048550297, 0.0013708149, -0.039958242, 0.019772083, -0.014453807, 0.008818504, -0.061334863, -0.009044952, 0.0017193819, -0.021518962, 0.018646317, 0.03260841, 0.05678004, 0.031469703, 0.033772994, -0.03074507, 0.036386844, 0.002207861, -0.0030198363, -0.04565177, 0.049016133, 0.06143838, 0.00027011926, 0.010727132, -0.01667946, 0.023796374, 0.029088771, -0.023007045, -0.018956872, 0.012182863, 0.003995177, 0.07587925, -0.036982078, -0.0144149875, -0.008714985, 0.0059426236, 0.0026931053, -0.07422295, 0.020574354, -0.013845634, 0.011050628, 0.037189115, 0.033540078, 0.028933493, 0.0033934743, -0.06387107, 0.05921273, -0.00032774202, 0.048498537, -0.019332128, 0.043503758, 0.029761642, 0.051190026, -0.07551693, -0.01917685, 0.018685136, -0.041096948, 0.006748129, -0.0466352, 0.021169586, -0.016925316, -0.03423883, -0.022722367, 0.0104942145, -0.023136443, -0.014440867, -0.033876512, -0.039570045, -0.021726, -0.0028791155, 0.005159763, 0.016860617, -0.05098299, -0.011497052, 0.03421295, -0.02343406, -0.005357096, 0.03258253, -0.008889673, -0.045522373, -0.0015147706, 0.0009882806, -0.0138585735, -0.05408855, 0.03982884, 0.02932169, 0.020470835, -0.00068459864, 0.0039531225, 0.016420662, -0.037111476, -0.026992517, 0.018284, 0.0075762793, -0.012978665, -0.043917835, -0.020147339, 0.0029244048, 0.0094978465, -0.022903524, -0.023628157, -0.032375492, 0.01917685, 0.002241828, -0.015346656, -0.018711016, 0.010545974, -0.012286383, -0.022968225, -0.02582793, 0.0052018175, 0.0066834297, 0.012849266, 0.03341068, -0.027587749, -0.018387519, 0.015294896, -0.037137356, -0.020380255, 0.056107167, -0.04433191, -0.010190127, -0.041976858, -0.015708972, 0.018115783, -0.0011217227, -0.080485836, -0.00912906, 0.01666652, 0.050361875, 0.017805226, -0.013573897, 0.011451762, -0.078156665, -0.001342509, 0.05750467, 0.030330997, 0.0003412884, 0.02823474, 0.012972195, 0.048602056, -0.016977075, 0.04658344, -0.031055627, -0.044694223, 0.017184114, -0.004926846, 0.03837958, -0.010235418, -0.012247563, -0.0714797, -0.008087403, -0.022774126, -0.017662888, 0.009905451, -0.047075156, 0.0023081447, -0.039751202, -0.05678004, 0.009284339, 0.001376476, 0.0067804786, 0.022631789, -0.013716236, 0.014622024, -0.028648816, 0.087576866, -0.0020768452, -0.01172997, -0.04751511, -0.018853353, 0.01173644, -0.032944843, 0.05002544, 0.0075309896, 0.031366184, 0.022735307, 0.055330776, -0.014609084, -0.02417163, -0.034756422, 0.008708515, -0.011775259, 0.05584837, -0.024016352, 0.0028111814, -0.04474598, -0.072256096, 0.014880821, -0.004574235, -0.033540078, 0.049430206, 0.013884453, 0.014906702, -0.005907039, 0.020406134, -0.022748247, -0.0035940418, -0.007951534, -0.058436338, -0.008482068, -0.054657903, -0.022748247, -0.0062758247, -0.033229522, -0.008611467, 0.039104212, 0.05152646, 0.043995474, 0.050543033, 0.01991442, -0.011406473, -0.008753805, 0.028182982, 0.042779125, 0.02004382, 0.0067222496, -0.04603997, 0.021182526, 0.007343362, -0.004761863, -0.030356877, 0.027303072, 0.026384344, 0.013845634, 0.031081507, 0.041459262, 0.021441324, 0.04746335, -0.021726, -0.0056514773, -0.019746203, -0.049921922, -0.013289221, -0.005321511, -0.009446086, 0.02668196, 0.022450631, 0.012001706, 0.03165086, -0.029218169, 0.032142576, -0.015372535, 0.026047908, -0.042287413, 0.042183895, -0.0024051936, 0.026914878, 0.0113676535, -0.0094978465, -0.012467541, -0.0144796865, 0.01502316, 0.006832238, -0.00996368, 0.00031055626, -0.007854486, 0.041200466, -0.056210686, -0.0056482423, -0.013444499, -0.023110563, -0.022062436, -0.0058940994, 0.0073757116, 0.005473554, 0.006104372, 0.023162322, 0.0012527388, -0.03341068, -0.02075551, -0.027380712, -0.00995721, -0.03568809, 0.039647684, 0.00836561, -0.010675372, 0.021273104, 0.009924861, -0.008844384, -0.020626113, 0.045211818, -0.020328496, 0.0465058, -0.06992692, 0.07732851, -0.022657668, -0.021984797, -0.0129269045, -0.004826562, 0.014829062, -0.013496258, 0.018465158, -0.0033578898, 0.031262666, 0.030175718, -0.018943932, -0.027587749, 0.019047452, -0.009860162, -0.026009088, 0.037111476, -0.042002738, -0.029502846, 0.008598527, 0.03573985, -0.030356877, 0.04254621, -0.035558693, 0.01411737, -0.06728719, -0.050775953, 0.036982078, 0.0052859266, 0.07220434, 0.03436823, -0.008863794, -0.004470716, 0.005334451, -0.022049496, -0.05502022, 0.05100887, -0.013690356, 0.01759819, 0.020600233, 0.010112489, -0.016407723, 0.007336892, 0.010888879, 0.032944843, 0.008009764, -0.032737806, 0.03250489, 0.03493758, 0.05012896, 0.03664564, 0.011102387, 0.00047109122, 0.067701265, 0.024417488, -0.016912377, -0.027975945, -0.0059329187, -0.010759481, 0.030253356, -0.009044952, -0.0018083433, 0.009788993, 0.031909656, -0.027458351, -0.03933713, -0.024443367, -0.031107387, -0.019746203, -0.0006676151, -0.038793653, -0.07163498, -0.008495008, -0.027846547, 0.015721912, -0.038638376, -0.02670784, 0.019875601, -0.01912509, 0.002136692, -0.03084859, -0.031159146, 0.010655962, 0.0060493774, -0.013975033, -0.039673563, -0.003403179, 0.010351876, 0.013936213, 0.004664814, 0.018491039, -0.019668564, -0.0014565412, 0.017080596, -0.012913965, -0.010882409, 0.0074598207, 0.01334098, 0.006560501, 0.031443823, 0.02665608, 0.025103299, -0.02237299, 0.026293764, 0.015683092, 0.025245637, 0.003173497, 0.006576676, -0.039078332, 0.026863119, 0.028545298, -0.030641552, 0.02502566, 0.019332128, -0.029011132, 0.013936213, 0.038508978, -0.003988707, -0.009219639, -0.00044763775, 0.039958242, -0.018711016, 0.018775715, 0.01173644, -0.018995693, -0.017662888, 0.01172997, -0.014699664, -0.026888998, 0.016614761, 0.007893305, 0.012810446, -0.01583837, 0.038043145, 0.021997737, -0.048964374, -0.0054832594, -0.0035681622, -0.020147339, 0.017934624, -0.008714985, 0.022605909, -0.00045451205, 0.010895349, 0.032039057, 0.0023744616, 0.02330466, -0.023214081, -0.022334171, 0.020988429, 0.01249342, 0.021751879, 0.009303749, -0.02996868, 0.0020186158, 0.006819298, -0.0138585735, -0.005078889, 0.0005252768, -0.041252226, 0.032013174, -0.020354375, 0.03739615, -0.010565383, -0.004868617, -0.07075507, 0.03889717, 0.005515609, -0.01081771, 0.033721235, 0.010694781, -0.038716014, -0.004244269, -0.017624069, -0.024857441, -0.0037007956, -0.01582543, -0.0051953476, 0.021454263, 0.026332583, -0.025452675, 0.010520094, 0.006068787, -0.021104887, 0.038094904, 0.01418207, 0.0067157797, 0.0035681622, 0.03154734, -0.011762319, -0.018930992, 0.029399328, -0.043581396, -0.0049591954, -0.038690135, -0.024508066, 0.02581499, 0.011225316, 0.02502566, -0.019590925, 0.0009818107, -0.0032301086, 0.0049883104, -0.032918964, -0.025336215, -0.0020008234, -0.02327878, -0.01832282, 0.015307836, 0.0568318, -0.01335392, 0.0072269035, -0.00041265975, 0.018659256, 0.0036652111, 0.037810225, 0.013806814, -0.03496346, -0.0010990781, 0.018685136, -0.030822711, -0.013975033, -0.031133266, -0.026837237, -0.011924067, 0.012732808, -0.02660432, -0.02509036, -0.04249445, -0.020121459, -0.0035972768, -0.022916466, -0.01832282, -0.022851765, 0.005997618, 0.010157778, 0.007809196, -0.023058804, -0.0023259372, -0.0028322085, 0.0016166719, 0.024624525, -0.0046971636, -0.019836782, 0.022295352, 0.04686812, -0.040294677, -0.034601144, -0.04914553, -0.011296485, -0.032763686, 0.015049039, 0.06330172, 0.043012045, 0.039052453, -0.019875601, 0.035455175, -0.026112607, -0.015916009, 0.0008629259, -0.017934624, 0.02342112, 0.0010780508, -0.00071775704, 0.00456453, 0.011464703, -0.089854285, -0.0058779246, 0.00030166013, -0.03522226, -0.020212037, -0.00250386, -0.003911068, -0.020134399, 0.02329172, 0.019500347, 0.030563913, -0.025219757, 0.020160278, 0.011529402, 0.011024748, 0.019655624, -0.030382756, 0.008423839, -0.02254121, -0.006424633, -0.023705795, -0.0004876704, 0.023175262, 0.050775953, 0.018465158, 0.025426796, -0.0028014765, 0.00835914, 0.019629745, 0.010746541, -0.0086244065, 0.029761642, 0.014065611, -0.031392064, 0.033798873, -0.013418619, 0.010164248, -0.0077056778, -0.011755849, 0.029088771, -0.036878556, 0.013140412, 0.03514462, -0.021415442, -0.013949153, 0.011354714, 0.031340305, -0.031417944, 0.008197391, 0.02914053, 0.0068710577, 0.010863, 0.029269928, -0.033540078, -0.01754643, -0.019681504, -0.0383537, 0.050387755, -0.027121915, -0.006495802, 0.034678783, -0.03752555, -0.014622024, 0.011742909, -0.02326584, -0.013949153, -0.017921684, -0.011548812, 0.0051888777, 0.00459041, 0.004163395, 0.0009470349, -0.024521006, 0.04588469, -0.012868675, -0.09549605, -0.0134833185, 0.015139618, -0.018387519, 0.023071744, 0.00459041, -0.0044513065, -0.0114323525, 0.009698413, -0.007666858, -0.029528726, -0.025426796, 0.046790477, 0.00025111387, 0.009569015, -0.03667152, -0.031909656, 0.0013489788, 0.007349832, 0.0050562443, 0.021156646, 0.008753805, 0.03413531, 0.03501522, -0.01670534, 0.00835267, 0.0033126003, -0.009627244, 0.028752334, 0.0031427648, -0.00918082, -0.002880733, 0.014531446, 0.04257209, -0.011561751, -0.0011556899, 0.012357552, -0.0009834282, 0.006767539, -0.015100799, -0.0062370053, -0.0733948, 0.019435646, -0.018943932, -0.00585528, -0.03167674, 0.019797962, -0.0077121477, -0.006767539, -0.029684003, -0.041200466, 0.000048650785, 0.0033449498, -0.00418604, 0.007835076, -0.013017484, 0.029502846, 0.0083462, -0.033617716, -0.004425427, -0.028157102, 0.011341774, 0.0076862676, -0.042960286, -0.041174587, -0.0093102185, -0.0076150987, 0.020302616, 0.008863794, -0.04070875, 0.0041116355, 0.025413856, -0.042908527, 0.022463571, -0.0005414516, -0.0120534655, 0.031832017, 0.01921567, -0.0150361, 0.013230992, 0.0022369756, -0.0021868339, 0.036153927, 0.023899894, -0.009620775, -0.007149264, -0.00667049, -0.021324864, 0.009523726, 0.034756422, 0.0049430206, 0.0007044128, -0.0053473907, -0.021001369, 0.025517374, 0.0009227727, 0.011859368, -0.020224977, -0.006411693, -0.0009907068, 0.017054716, 0.016317144, 0.00096806214, -0.04169218, 0.000073848096, 0.0351705, 0.005156528, 0.0041407505, 0.044357788, 0.00031601527, 0.027432472, -0.0033578898, -0.022360051, 0.04239093, 0.010093079, 0.052975725, 0.012849266, -0.0010497449, 0.02340818, -0.022761187, -0.0011500287, 0.010099549, -0.008572647, -0.008210331, 0.006114077, -0.032686047, 0.011962887, 0.013418619, -0.042132135, -0.0083138505, 0.057245873, 0.045418855, -0.006065552, 0.0104942145, -0.012370491, 0.0038690136, -0.016550062, 0.015579573, -0.021544842, 0.0007444454, 0.013418619, 0.017792286, 0.038508978, 0.016226565, -0.0056838267, -0.009297279, 0.0053797406, -0.003136295, 0.0078027262, -0.011290015, 0.021984797, -0.013211582, -0.0029793992, -0.00040073082, 0.0010351876, -0.010196597, 0.021247225, 0.0016182894, 0.004241034, -0.018400459, 0.036360964, -0.002133457, -0.02164836, 0.004021057, 0.020237917, -0.009284339, -0.03977708, 0.0017484966, 0.012396371, 0.052044056, 0.021428384, -0.044098992, 0.005360331, 0.028778214, 0.04091579, 0.013379799, -0.00030914097, 0.02668196, 0.00832679, -0.02584087, 0.026552562, -0.001105548, -0.03760319, 0.02595733, 0.04063111, 0.010423045, 0.030486275, -0.037680827, 0.0034743482, 0.040553473, 0.038871292, 0.02582793, -0.0037849045, 0.010164248, -0.006748129, 0.0072204336, -0.025180938, 0.012965725, 0.016045408, -0.010144838, -0.05765995, 0.009581955, 0.056055408, -0.021182526, -0.012726338, 0.0011767171, -0.03084859, -0.026487863, -0.006586381, 0.0114323525, -0.025491495, 0.015527814, -0.008262091, -0.007919185, 0.0046001147, -0.070548035, 0.012312262, -0.006761069, -0.036335085, -0.00749217, 0.009083771, 0.008281501, -0.0369562, -0.002904995, -0.038767774, 0.012182863, 0.035506934, -0.032737806, -0.022308292, 0.012661638, -0.017727587, 0.018982753, -0.02085903, -0.044642463, -0.040320557, 0.024068112, -0.013250401, -0.028131222, -0.006819298, -0.029218169, 0.013392739, 0.028182982, 0.0037687297, -0.0022903525, -0.008249151, 0.007006926, 0.021842457, 0.05015484, -0.023641096, -0.005570603, -0.017313512, 0.012215214, 0.029373448, -0.0007282706, 0.010468335, -0.0057355864, -0.024106931, 0.06371579, 0.050284237, 0.013522138, 0.00020804844, -0.0049365507, 0.0029001427, -0.00914847, -0.030434515, -0.024753923, 0.021014309, 0.02996868, 0.002759422, -0.03165086, -0.030589793, 0.007595689, 0.039026573, 0.004001647, 0.024068112, 0.0019134795, 0.01165233, -0.0049430206, 0.021506023, -0.021428384, -0.034005914, -0.013496258, -0.052173454, 0.019280368, 0.03431647, 0.02256709, -0.01836164, 0.00005006608, 0.045211818, -0.0005163807, 0.031262666, 0.015488994, -0.0054929643, 0.0064893323, 0.04236505, -0.01761113, -0.024740983, -0.0058714547, -0.0019717088, -0.034057673, 0.003927243, -0.010863, 0.006767539, -0.012603409, -0.004260444, -0.014065611, -0.034083553, 0.053570956, -0.036231566, 0.010461864, 0.0054412046, 0.030538034, 0.044849504, 0.007311012, 0.034575265, -0.009691943, -0.0055997176, 0.022204774, 0.0025394445, 0.007168674, -0.017947564, 0.01832282, -0.018620437, -0.02251533, -0.032375492, -0.0013028806, -0.0067934184, -0.028726455, 0.024288088, 0.037706707, -0.005907039, 0.010300117, 0.0384831, -0.017145295, -0.00025050732, 0.02076845, 0.008896143, -0.035455175, -0.01673122, -0.013780935, -0.002130222, 0.010060729, 0.022049496, -0.03255665, -0.03485994, 0.017805226, 0.029606365, -0.012066405, 0.028079463, -0.0060558473, 0.043917835, -0.018594557, -0.005725881, -0.014971401, 0.032168455, 0.026474923, 0.0029502846, 0.025646772, -0.0066316705, -0.0062240656, -0.022605909, 0.016032469, -0.010099549, -0.001830988, 0.0055964827, -0.004836267, -0.016537122, 0.03739615, -0.018956872, 0.032763686, 0.0041925097, -0.02255415, -0.007841546, 0.016381843, -0.017947564, -0.034005914, -0.025155058, 0.041226346, -0.013172762, -0.0068969373, -0.0074662906, -0.009387857, -0.034704663, -0.020419074, -0.014466747, 0.01502316, 0.015346656, 0.018102843, -0.006269355, -0.009620775, 0.013431559, 0.0036102168, -0.004920376, 0.023757555, 0.009200229, -0.02093667, 0.029476967, 0.027044276, -0.017145295, 0.004820092, 0.0050982987, -0.032737806, 0.03522226, -0.01825812, -0.0024456307, -0.00009391497, -0.006589616, 0.015631333, 0.014285589, -0.024585705, 0.0015535901, 0.014893761, -0.038069025, -0.0135480175, 0.006576676, -0.006825768, 0.008928493, -0.006754599, 0.02259297, 0.026190246, 0.00912906, -0.012454601, -0.0041472204, -0.005253577, -0.002456953, -0.00031358906, -0.016239505, 0.016990015, 0.011199435, 0.030330997, 0.00145735, 0.005606188, -0.014738483, 0.003029541, 0.008909083, 0.016291264, 0.0071233846, -0.018594557, -0.015980707, 0.043659035, -0.022463571, 0.029011132, 0.0038528389, -0.011018278, -0.0020412605, -0.034471747, 0.01674416, -0.0044545415, 0.031340305, 0.021790698, -0.065268576, -0.013444499, 0.014945521, 0.05429559, 0.007155734, 0.00229197, -0.0051209438, -0.034497626, 0.05235461, 0.013082183, 0.012622818, -0.022424752, -0.01253871, -0.029709883, -0.00916141, 0.038508978, -0.008837914, 0.03519638, -0.008048584, 0.0022305057, -0.009931331, 0.03579161, 0.0104359845, 0.027743027, 0.008637346, 0.005919979, -0.011238256, -0.021726, 0.0037881397, 0.0067869485, 0.007893305, 0.0369562, 0.01582543, 0.0009065979, 0.018749835, 0.0138585735, 0.023899894, -0.011975827, 0.005903804, 0.011296485, 0.0005337686, -0.024339847, -0.0060914317, 0.033850633, -0.03837958, -0.00062798685, 0.00011039305, 0.007252783, 0.021234285, -0.00835267, -0.0071298545, 0.02660432, -0.006851648, -0.0016417428, 0.0064763925, 0.022062436, -0.022178894, 0.0012947932, -0.00290823, 0.033100124, 0.023886953, 0.010617143, -0.028079463, 0.009277869, 0.039751202, -0.0007517241, 0.000016831907, 0.012079345, -0.038664255, -0.0135480175, -0.024029292, 0.018620437, -0.012706928, 0.010164248, -0.022981165, -0.026358465, -0.001538224, 0.016938256, 0.0148549415, 0.024831561, -0.004483656, 0.009640184, 0.014570265, 0.04585881, 0.015269017, 0.01083065, -0.00083219376, -0.0015576339, 0.022877645, -0.012092285, 0.021402502, -0.03977708, 0.009711353, -0.008714985, 0.0062984694, 0.013218052, -0.010921229, -0.014492626, 0.014932581, 0.04746335, 0.024844501, -0.018400459, 0.015488994, -0.0034452337, 0.015333716, 0.01667946, 0.0036393313, 0.03581749, -0.01081124, 0.024236329, 0.025232697, -0.032116696, 0.011458233, 0.07241137, -0.0038140193, 0.018723955, -0.0041278107, -0.026345523, 0.00087586575, -0.003924008, 0.009439616, 0.0050918288, 0.006858118, 0.008643816, -0.0023243197, 0.025245637, -0.0020542003, 0.018426338, 0.009711353, -0.011943476, -0.019810902, 0.010668902, 0.0048621465, -0.017352331, 0.026992517, 0.039647684, 0.002460188, -0.026966637, -0.00209302, 0.010364816, 0.023809314, 0.018749835, 0.033229522, -0.009323158, -0.011147676, 0.0065313866, 0.027147794, -0.029891042, 0.024715103, -0.018529858, 0.0019215669, 0.03757731, -0.025323275, -0.017882865, -0.014906702, -0.021208405, 0.009556076, -0.016420662, 0.018491039, 0.019435646, -0.029269928, -0.00029033778, 0.0058973343, 0.024482187, 0.016563002, 0.0051500583, -0.042830884, 0.038043145, 0.0039466526, -0.033126004, -0.0038043144, -0.014427927, -0.0046454044, -0.019992061, 0.0071816137, 0.020457895, 0.020690812, 0.020406134, -0.0063825785, -0.022929406, 0.049585484, 0.0048039174, 0.013638596, -0.015954828, 0.016058348, -0.011283545, -0.020224977, -0.00043024984, 0.002591204, 0.003039246, 0.006916347, -0.0042086844, 0.02237299, -0.0053926804, -0.027717147, -0.027924186, -0.015398416, -0.007945064, 0.017856985, -0.010908289, 0.011212376, -0.044720102, -0.026863119, -0.008740865, 0.0284159, 0.006114077, -0.011270605, 0.009251989, 0.013573897, 0.05085359, 0.026837237, -0.0018762775, -0.01162645, -0.03154734, -0.0075439294, -0.010882409, -0.020716691, 0.010358346, -0.023227021, 0.011516462, 0.011794669, -0.02670784, 0.004755393, 0.02323996, 0.01582543, 0.013509198, -0.00017377807, -0.032297853, -0.0138585735, 0.0048589115, 0.015890129, 0.0077056778, 0.011283545, -0.014091491, 0.00060695957, 0.026009088, -0.007899775, 0.030408636, 0.0017371741, -0.01740409, -0.01411737, 0.0018762775, -0.039932363, -0.029942801, -0.01587719, 0.024792742, -0.02919229, 0.013729176, 0.016291264, -0.005408855, 0.032737806, 0.010384225, -0.047049277, -0.011742909, 0.024637464, 0.026034968, -0.005408855, -0.0066898996, 0.009556076, -0.017624069, -0.037758466, 0.02498684, 0.04006176, 0.0006231344, 0.018685136, -0.017740527, -0.021195466, 0.0041342806, -0.012888085, -0.027225433, -0.010203067, 0.031210905, 0.0076150987, 0.009019072, 0.0067869485, -0.021738939, -0.00187466, -0.0015770436, 0.0017307042, -0.02413281, 0.019629745, -0.014272649, 0.014570265, -0.03392827, 0.010203067, 0.0044674813, -0.021557782, 0.027846547, 0.0076797977 ]
2401.09350
338
# 9.4.1 Score-aware Quantization Later, Guo et al. [2020] argued that the objective in Equation (9.1) does not adequately capture the nuances of MIPS. Their argument rests on an observation and an intuition. The observation is that, in Equation (9.1), every single data point contributes equally to the optimization objective. Intuitively, however, data points are not equally likely to be the solution to MIPS. The error from data points that are more likely to be the maximizers of inner product with queries should therefore be weighted more heavily than others. 135 136 9 Quantization
2401.09350#338
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 338, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "# 9.4.1 Score-aware Quantization\nLater, Guo et al. [2020] argued that the objective in Equation (9.1) does not adequately capture the nuances of MIPS. Their argument rests on an observation and an intuition. The observation is that, in Equation (9.1), every single data point contributes equally to the optimization objective. Intuitively, however, data points are not equally likely to be the solution to MIPS. The error from data points that are more likely to be the maximizers of inner product with queries should therefore be weighted more heavily than others.\n135\n136\n9 Quantization", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.017806854, 0.06437669, -0.014091846, 0.01686236, 0.01003682, -0.034052145, -0.009256038, 0.045285325, -0.055914026, -0.02244117, 0.03896351, 0.018121686, -0.06724795, 0.05813044, 0.008727121, -0.0041179922, 0.03042529, -0.06860802, 0.026370263, -0.0046248706, -0.0179076, 0.0010743616, 0.008670452, -0.00035398835, 0.03684785, 0.00837451, 0.00015357861, -0.0055819578, 0.052387916, -0.015048932, 0.00067019695, -0.011812468, -0.0031703506, -0.07707068, -0.0019708434, -0.013877761, -0.023284918, 0.011799875, -0.017454242, -0.019166926, -0.010433507, 0.024229411, -0.05243829, 0.0024509612, 0.01973362, 0.02309602, 0.020010673, -0.05495694, -0.025790974, 0.043119285, -0.011466153, 0.053496122, -0.013701455, -0.010742041, 0.037502695, 0.002458832, -0.002872835, 0.028687421, 0.03752788, 0.005978645, 0.02449387, -0.06352035, -0.011888027, -0.0014639652, -0.010339057, -0.009917184, -0.021962626, 0.0048043244, 0.016597902, -0.030173425, -0.027125858, 0.03798124, 0.058533423, 0.017038666, -0.0061958786, -0.029820815, -0.00040377106, 0.05949051, 0.027125858, -0.0075370595, 0.0035859277, 0.012284715, 0.022428576, -0.057525963, -0.016308257, 0.00020857569, -0.046645395, -0.01822243, -0.07938784, -0.020854421, -0.018310584, 0.015615629, -0.023347884, 0.021861881, 0.008261171, -0.03186092, 0.021144066, 0.016068986, 0.005411949, -0.05122934, -0.031256445, -0.047678042, 0.037578255, -0.031105325, 0.0742498, -0.047501735, 0.01682458, 0.026219144, -0.029694881, -0.018587636, 0.015099306, 0.03400177, -0.03417808, 0.058886033, -0.012782148, -0.027201418, -0.050121132, -0.008638969, 0.012668809, 0.010162752, -0.021496676, 0.0017866672, -0.017026072, -0.005355279, 0.0017473133, -0.029115591, 0.056367382, -0.04840845, -0.020791454, -0.012958453, 0.042892605, 0.0039574285, 0.01802094, -0.0022699332, 0.0044926414, 0.006180137, 0.03876202, 0.051304895, -0.032415025, 0.006224213, 0.028208878, 0.0016449932, 0.018423924, -0.014885221, -0.006655532, 0.0007622851, -0.03906426, 0.03422845, -0.024745734, 0.049164046, 0.0008240707, -0.045436442, -0.03442994, -0.017957972, 0.0089538, -0.017643142, 0.00029672842, 0.0199603, -0.022831561, -0.037578255, -0.0074426103, 0.015212645, 0.067046456, -0.008185612, 0.03790568, 0.006199027, -0.06684496, -0.023927173, -0.037930865, -0.031533495, -0.044580102, -0.043723762, -0.030123051, -0.022365611, 0.0057173353, 0.009426047, -0.014318524, -0.050826352, -0.028762981, 0.0076566953, -0.0389887, 0.0026603239, -0.015363764, 0.07047182, 0.031936478, -0.0029877482, -0.0111261355, 0.026748061, 0.020514403, 0.01917952, -0.02934227, 0.01294586, 0.062412143, 0.00014088697, -0.024682768, -0.045159392, 0.018864688, 0.05430209, -0.04062582, -0.023864208, 0.003419067, -0.0113780005, 0.06840653, -0.02441831, -0.0063690357, -0.014746695, -0.009306411, 0.007077406, -0.06120319, 0.0019393604, -0.016257884, 0.034480315, 0.032263905, -0.006051056, 0.008179315, 0.00516638, -0.01891506, 0.02589172, -0.02011142, 0.027604401, -0.019053586, 0.034908485, 0.019557316, 0.037930865, -0.04208664, 0.026647314, 0.011302441, 0.0109498305, 0.059087526, -0.054553956, 0.04367339, -0.0270503, -0.036067065, -0.03611744, 0.0066114557, -0.053143512, -0.0068633207, -0.008557113, -0.055914026, -0.018360958, -0.03516035, -0.0071718553, 0.03050085, -0.024947226, -0.024443496, 0.028939286, -0.03181055, -0.008494146, 0.0057015936, -0.0066618286, -0.038308665, -0.01569119, 0.006331256, 0.0034127706, -0.05430209, -0.027629588, 0.054150973, 0.04712394, 0.02205078, 0.024808701, -0.04173403, -0.0578282, -0.043068912, -0.022290051, 0.002550133, 0.009249741, -0.033195805, -0.010030523, 0.0055819578, -0.011459856, -0.01352515, 0.026748061, 0.011371704, 0.02654657, -0.0058306744, -0.034908485, -0.007108889, 0.019557316, -0.05833193, 0.006554786, -0.039945785, -0.02495982, 0.050171506, 0.059389763, 0.031180885, -0.045335695, -0.003762233, 0.016560122, 0.012838817, -0.0035166647, 0.042892605, -0.0038566825, 0.014394084, -0.02557689, 0.0010145436, 0.0048546977, -0.009375674, -0.060397223, -0.010080896, 0.0017961122, 0.08361918, -0.005043596, -0.016572716, -0.007543356, -0.03788049, 0.008538223, -0.0024761476, 0.013613302, 0.00015515277, 0.022075966, -0.0038251993, 0.008865647, -0.023813834, 0.05208568, -0.061656546, -0.03775456, 0.04090287, 0.0118250605, 0.020791454, 0.013185131, -0.0326417, -0.02941783, -0.006199027, -0.034858115, -0.007159262, 0.035286285, -0.043068912, 0.022101153, -0.013865167, -0.0367471, 0.02128259, -0.0044170823, 0.014205185, 0.0015765174, -0.042137012, 0.01837355, -0.036142625, 0.062462516, -0.020867014, -0.014469643, -0.05077598, -0.030248985, -0.013562929, -0.004838956, -0.01712682, 0.0116109755, 0.015754154, 0.020174384, 0.060598716, -0.060044613, -0.014142219, -0.07802777, 0.035890758, 0.012845114, 0.030475663, 0.0004915302, -0.0012577508, -0.03720046, -0.094348624, -0.01054055, -0.07253712, -0.006233658, 0.030878646, 0.012467316, 0.006655532, -0.026521383, 0.012668809, -0.012045443, -0.0017599065, 0.01344959, -0.00992348, 0.043220032, -0.06608937, -0.02035069, -0.0068444307, -0.026697688, -0.012341384, 0.029745255, 0.037502695, -0.0048735873, 0.028939286, 0.042817045, -0.0035575929, 0.002671343, 0.034278825, 0.03926575, 0.013386624, 0.007833001, -0.055259176, 0.0352611, -0.036470048, 0.004747655, -0.026319891, 0.024040513, 0.023839021, 0.044051185, 0.028586674, 0.0010011633, 0.056065146, 0.0036520422, -0.012492503, 0.0072851945, -0.026622128, -0.010143862, -0.01826021, -0.058029693, 0.023121206, 0.011327627, 0.009602352, 0.03697378, 0.021408523, -0.0019440828, 0.035966318, -0.015980832, 0.016597902, -0.059540883, 0.02654657, -0.009186775, -0.0039290935, 0.027100671, 0.014154812, -0.024002733, -0.003415919, -0.029946746, 0.0036551906, -0.024619803, -0.029266711, -0.034278825, 0.0692125, -0.056518503, -0.050700422, -0.013436996, -0.04833289, -0.043043725, 0.011346517, -0.000033770568, -0.016723834, 0.0076566953, 0.012209155, -0.018965432, -0.026370263, -0.022617476, -0.011699128, -0.016723834, -0.029014846, -0.0023643826, -0.0040770643, 0.0019503795, 0.036898218, 0.006432002, -0.0014797067, -0.009117512, 0.052136052, -0.0072159315, -0.005859009, -0.05883566, 0.071076296, -0.013210318, -0.007858187, -0.030022306, 0.0043572644, -0.005997535, -0.013839981, 0.03604188, -0.010603515, 0.03337211, 0.018537262, -0.009243445, -0.024040513, 0.039744295, -0.025690228, -0.038308665, 0.045335695, -0.031332005, -0.03442994, 0.014318524, 0.0152000515, 0.020438842, 0.049315162, -0.056367382, -0.004605981, -0.07727218, -0.015263018, 0.01542673, 0.011705425, 0.07550912, 0.04704838, -0.022617476, 0.010011633, -0.018348364, -0.03669673, -0.0636211, 0.06150543, -0.013374031, 0.0025060566, 0.02856149, 0.03274245, 0.0029295045, -0.017517209, -0.007795221, 0.021698168, 0.008815275, -0.028007386, 0.039165005, -0.0037181568, 0.036218185, 0.027881453, 0.008853054, -0.026345078, 0.03709971, 0.030551223, -0.039819855, -0.03279282, 0.0019377862, -0.030324543, 0.0471995, 0.043119285, 0.014318524, -0.0000639009, 0.040953245, -0.011094652, -0.0367471, -0.012864004, -0.012240638, -0.007776331, -0.025866533, -0.0034033256, -0.062462516, -0.014217778, -0.053395376, 0.03256614, -0.042262945, -0.0020306613, 0.037225645, -0.03946724, 0.010402024, -0.016056392, -0.026622128, 0.011207991, 0.02941783, 0.002145575, -0.04183477, 0.005008965, 0.023033053, -0.0013734512, -0.030097865, 0.020514403, -0.03667154, -0.031659428, 0.004404489, -0.015048932, -0.005531585, 0.018109092, 0.0031845178, -0.020363284, 0.027352536, 0.013839981, 0.021572236, -0.026848808, -0.004051878, 0.027604401, -0.012171376, -0.004687837, 0.0051097106, -0.046494275, 0.01732831, 0.024304971, -0.023927173, 0.023335291, 0.00943864, -0.023335291, 0.007027033, 0.02003586, 0.01779426, 0.0007126992, -0.0019897334, 0.020589963, -0.04004653, 0.047577295, 0.017693516, 0.00018968582, -0.010509066, 0.00078904576, -0.018398738, -0.023587156, 0.015552662, 0.03198685, 0.04374895, 0.006293476, 0.022642663, 0.0017347201, -0.026521383, 0.006189582, -0.017542396, -0.029896373, 0.025287244, -0.014872627, 0.022919713, -0.011371704, 0.030274171, 0.04460529, -0.003611114, 0.048786245, -0.01147245, -0.010131269, 0.03531147, -0.0026965295, 0.029392643, 0.040248025, -0.030752715, -0.021534456, -0.0082926545, -0.011056873, -0.005537881, -0.03430401, -0.025765788, -0.010062006, 0.0080407895, 0.046166852, 0.005201012, -0.0025595778, -0.032515768, 0.0044107856, 0.004637464, -0.00005662043, 0.06296624, -0.022869341, -0.019217297, -0.02031291, 0.0077448483, -0.00999904, -0.011422077, -0.00043722187, 0.00623051, 0.029896373, -0.0044422685, -0.0074552037, -0.0072411182, -0.002943672, -0.028158505, 0.04231332, 0.032012038, 0.0062021753, -0.013512556, 0.023964953, -0.023083426, 0.010011633, 0.020867014, -0.018046126, -0.0062462515, -0.03871165, -0.041784402, 0.023826428, 0.0034442537, 0.021219624, -0.03342248, -0.024783514, -0.01953213, -0.00049743336, -0.036923405, -0.03271726, -0.02240339, 0.0032899864, -0.04732543, 0.028309625, 0.060649086, -0.017391277, 0.011056873, 0.00527972, 0.010143862, -0.040373955, 0.044580102, 0.05430209, -0.010603515, 0.04256518, 0.002236876, -0.011327627, -0.0125995455, -0.02495982, -0.0020338097, -0.01643419, 0.015703782, -0.026068026, -0.033976585, -0.030777901, -0.023750868, -0.002268359, -0.0003156183, 0.021824101, -0.048433635, 0.0008720825, 0.0073229745, 0.0013821091, 0.0073481607, 0.012045443, -0.04198589, 0.024330158, 0.031583868, -0.008034493, -0.028712608, -0.0018763941, 0.012177672, 0.0055441777, -0.022264864, -0.057425216, -0.006101429, -0.021761134, 0.026193958, 0.049012925, -0.030601595, 0.0061769886, -0.011623569, 0.01632085, -0.0039070556, -0.026622128, -0.01050277, -0.013210318, 0.020023266, 0.03291875, -0.024947226, -0.023612343, -0.005053041, -0.06135431, -0.01035165, 0.008960097, -0.014230371, -0.016736427, 0.00015525115, 0.012549173, 0.012920674, 0.0060951323, -0.0044107856, 0.008815275, -0.01740387, 0.024695361, 0.0031986854, -0.042716302, 0.027730335, -0.0037748264, -0.0010019504, -0.0231338, -0.007568543, 0.004306891, -0.006806651, 0.019166926, 0.04798028, -0.02302046, 0.009205665, -0.002177058, -0.0041463273, 0.01453261, 0.009721988, -0.006120319, 0.009136402, 0.016560122, 0.0031908145, 0.014129626, -0.013651082, 0.02124481, 0.012819927, -0.06271438, 0.013096979, -0.029896373, 0.017227564, 0.0041494756, -0.013248098, -0.008601189, 0.0015033191, 0.031659428, -0.016849767, 0.012064333, 0.02104332, 0.010112379, 0.0025816162, 0.034127705, -0.026848808, 0.0023014164, -0.011434671, -0.034530688, 0.029291898, -0.0099423705, 0.0095142, -0.0082548745, -0.019821774, -0.009016766, 0.029820815, 0.0020227907, -0.011623569, -0.03684785, -0.023234544, -0.015867494, 0.017693516, 0.0027909789, -0.03480774, -0.018625416, 0.0199603, -0.009155292, -0.10961164, 0.0010074599, 0.020061046, -0.008103756, 0.005947162, 0.0034946266, 0.020980353, -0.0013230782, 0.0035859277, -0.0009295392, 0.011768391, 0.0073040845, 0.0154519165, 0.0064036674, 0.011982476, -0.040021345, -0.0007815685, 0.011497636, -0.008720825, -0.0035009233, -0.0012845114, 0.008966394, 0.0015954073, 0.024015326, -0.018587636, -0.0030412697, 0.0011711721, -0.007707068, 0.034480315, 0.0057236315, 0.018499482, -0.010471286, 0.01984696, 0.040776942, -0.022705628, -0.04097843, 0.0118628405, -0.018625416, 0.0060447594, -0.0053080544, -0.0019236188, -0.048433635, 0.009230851, -0.038308665, 0.0009633835, -0.036998965, 0.03306987, -0.018650603, 0.0089538, -0.0116109755, -0.019683247, 0.0062273615, -0.0047539514, -0.022390798, 0.0026807878, -0.012058036, 0.043572642, -0.01763055, -0.023801241, 0.023284918, -0.008519333, 0.0031231258, 0.02244117, -0.011711721, 0.0061266157, -0.0076692887, 0.0033529527, 0.017781667, 0.010918347, -0.018575042, -0.0061518024, 0.017051259, -0.0044422685, 0.01581712, -0.0027547732, 0.023939766, 0.03795605, -0.028511116, -0.017240157, 0.023461223, 0.0077574416, -0.008922317, 0.009463827, 0.016509749, -0.01106317, 0.027151044, -0.00014255951, -0.012794741, 0.0015182736, 0.011434671, 0.01151023, -0.02217671, -0.008960097, 0.0015277185, -0.007914857, -0.029266711, 0.022227084, -0.00061155966, -0.01662309, 0.00427226, 0.027931826, 0.012083222, -0.00074536295, -0.05561179, -0.017277937, 0.0053017577, -0.011296145, -0.017706107, -0.0045902394, 0.00048129825, -0.001108993, -0.012819927, -0.030400103, 0.06120319, 0.0042439247, 0.026521383, 0.0011530693, -0.00697666, 0.01917952, -0.021144066, -0.0026256924, -0.013789608, -0.021219624, -0.0050971177, -0.01833577, -0.0070711095, 0.021735948, 0.016534936, -0.008091163, -0.005254533, 0.025790974, 0.042388875, 0.00348833, 0.0043572644, -0.015943054, 0.002107795, -0.004678392, -0.00934419, -0.03349804, -0.0074237203, 0.019368418, 0.01302142, 0.053345002, -0.0014568815, -0.03704934, -0.035286285, 0.018575042, -0.01926767, -0.017429058, 0.00010881354, 0.036067065, -0.04488234, 0.035538148, 0.04503346, -0.01496078, 0.048156586, 0.024040513, -0.004133734, 0.009337895, 0.009325301, 0.014293337, 0.008122645, -0.028334811, -0.0039763185, -0.0055189915, -0.0038661275, -0.0190284, 0.0027374576, -0.013575522, 0.020325504, -0.008531926, -0.030576408, 0.0062808827, 0.05042337, 0.033346925, 0.010496473, -0.004294298, -0.017580176, -0.012410647, -0.037401948, 0.030828273, -0.013096979, -0.042036265, 0.026571756, 0.04518458, 0.009898294, 0.044202305, -0.0046311673, -0.030274171, 0.021358151, 0.029669695, 0.03634412, 0.004672095, 0.0035953727, -0.008890834, 0.01441927, -0.01766833, 0.0031026618, 0.00429115, 0.0043918956, -0.0343292, 0.008305248, 0.020401064, -0.052136052, -0.0052860165, 0.03206241, -0.024644988, -0.027125858, 0.0038157545, 0.022806374, -0.025690228, 0.016094172, -0.025841348, -0.02906522, -0.055914026, -0.025312431, 0.02790664, 0.010798711, -0.013348844, -0.0016323999, -0.00082643196, -0.017882414, -0.024317564, -0.00955198, -0.024292378, -0.0087397145, 0.06941399, -0.024304971, -0.02438053, 0.0076944754, -0.013550336, 0.024078293, -0.0034348087, -0.03949243, -0.023158984, 0.015829714, -0.031080138, -0.0348833, 0.018852094, -0.015804527, 0.001018479, 0.03349804, 0.0037276018, -0.031407565, 0.018247617, -0.011113542, 0.028788168, 0.02507316, -0.028108131, -0.007681882, -0.0031372933, 0.0043981923, 0.04697282, -0.032465395, 0.014570389, -0.03100458, -0.015212645, 0.03228909, 0.051682696, 0.010767228, -0.004879884, 0.0072159315, 0.015829714, -0.013122166, -0.009249741, -0.02441831, 0.0084878495, 0.01441927, 0.0022809522, -0.0046500573, -0.033598788, 0.0069640665, 0.0022463207, 0.032112785, 0.029594135, 0.0027941272, -0.016106766, -0.0021943736, 0.014179998, -0.03042529, -0.008607485, 0.0040361364, -0.029317085, 0.013739235, 0.0049806302, -0.00047106622, -0.02639545, 0.00088467577, 0.043975625, 0.013764421, 0.02883854, 0.024821294, 0.013701455, 0.015590442, 0.011642459, -0.0055725127, -0.03775456, 0.01550229, 0.013197725, -0.027856266, -0.009142699, -0.0114157805, 0.016144546, 0.009426047, 0.0035229614, 0.001603278, -0.03682266, 0.022277458, -0.031029766, 0.01624529, 0.009117512, 0.015540069, -0.00651071, 0.0048830323, 0.027503656, -0.020061046, 0.0068885074, 0.0018307436, 0.009898294, 0.02402792, 0.026823621, 0.019796588, -0.010181642, -0.0038881656, 0.0001265228, -0.024166444, -0.0031372933, -0.04284223, 0.0116298655, 0.03178536, -0.025400583, 0.022415983, 0.04072657, 0.008657859, -0.024078293, 0.0144822365, 0.0037779748, -0.026244331, -0.01817206, -0.0018669491, -0.01841133, -0.0037590847, 0.0055630677, -0.01960769, -0.012039146, 0.008827868, 0.0057425215, 0.021849288, 0.000977551, -0.023964953, 0.05107822, -0.02410348, 0.03390103, 0.0022211343, -0.00066075206, 0.0199603, -0.017932788, 0.019217297, -0.030526036, -0.014935593, -0.018083906, 0.03100458, -0.014910407, -0.010672779, -0.020992946, -0.017466836, -0.007751145, 0.037930865, -0.008569706, 0.016635682, 0.02941783, 0.003639449, 0.00955198, 0.018449109, -0.029191151, -0.016232697, -0.01960769, 0.032415025, -0.002943672, 0.010748338, -0.008437477, -0.04468085, -0.017063852, -0.013462183, -0.0019188963, 0.011170212, 0.006737388, -0.0015946202, -0.0120958155, -0.028183691, -0.0020212166, 0.008960097, -0.0106790755, -0.0028570935, 0.012857707, -0.036898218, 0.01826021, 0.0067688716, 0.007795221, 0.005846416, -0.004889329, -0.004527273, 0.03840941, -0.013374031, 0.02143371, -0.0023517893, 0.004124289, 0.0062116203, -0.009501606, -0.01639641, -0.0015804528, 0.0100746, -0.008733418, -0.006199027, -0.015791934, -0.004697282, -0.0061549507, 0.017680923, 0.01441927, -0.00790856, 0.012895487, 0.010080896, 0.0013836833, 0.017378684, 0.011119839, -0.024367938, 0.003951132, -0.0036425972, 0.009577166, 0.018537262, 0.010181642, 0.018625416, -0.013474776, 0.00649182, -0.0030475662, 0.02120703, -0.029669695, -0.018247617, -0.011264661, 0.0056921486, -0.01783204, 0.027805895, 0.00473821, 0.004032988, -0.0039385385, -0.04430305, 0.00036677837, 0.01960769, 0.03856053, 0.029014846, -0.039240565, -0.019116553, 0.009841624, 0.018965432, 0.007814111, 0.018965432, -0.0152000515, -0.033095058, 0.020841828, 0.013625896, 0.011459856, -0.022768594, -0.009211962, -0.024783514, 0.012435834, 0.037225645, -0.02755403, 0.019670656, 0.018499482, -0.020854421, 0.008695639, 0.0071529653, 0.0037244535, -0.0062997728, -0.0049554436, 0.028863726, -0.0014734102, -0.013134759, -0.010150159, 0.005531585, 0.028536303, 0.00175361, 0.03382547, 0.00938197, 0.0123287905, 0.012895487, 0.009835328, -0.011755798, 0.021055913, 0.02046403, -0.018398738, 0.012253231, -0.011315035, 0.0033655458, -0.035991505, -0.009614945, 0.016106766, 0.014696321, 0.025639854, -0.008160425, -0.016031206, 0.008796385, 0.00026878715, 0.027730335, -0.027352536, 0.03604188, -0.0073922374, 0.0104272105, 0.013802201, 0.0047319136, 0.0027783855, -0.00792745, -0.0074929832, -0.007549653, 0.015011153, -0.010043116, -0.01203285, -0.000060506627, -0.020854421, -0.02399014, -0.010634999, 0.03604188, -0.011818764, 0.030475663, -0.017617956, -0.025047973, -0.0042974465, -0.00024615866, -0.018864688, 0.024909446, -0.0022132634, -0.01298364, 0.019506942, 0.043270405, 0.02158483, 0.0042974465, -0.013827387, -0.007644102, 0.008808978, 0.027503656, 0.026596943, -0.05309314, 0.00393539, -0.00998015, 0.017114226, 0.04417712, -0.010339057, -0.0007067961, 0.0019362121, 0.06321811, -0.009199369, 0.0177187, -0.0016001298, 0.0029074664, 0.024393123, 0.011252068, 0.024821294, 0.015829714, 0.03835904, 0.005556771, 0.029291898, -0.032188345, 0.017529802, 0.048584756, -0.020338098, 0.04243925, 0.010666482, -0.008978986, 0.015943054, -0.021295184, 0.0145200165, 0.0065295994, 0.00846896, -0.023700494, -0.012058036, 0.021647796, -0.000053668886, 0.009596055, 0.038585715, -0.00014885614, -0.025816161, 0.028586674, 0.009753471, -0.024090886, 0.02941783, 0.026697688, -0.020048453, -0.02456943, 0.012435834, 0.001049175, -0.001068852, -0.0040078014, 0.0011129284, -0.0014379916, 0.014331117, 0.013399217, 0.03727602, -0.0335736, 0.017529802, -0.00958976, 0.032415025, 0.0034442537, -0.017265344, -0.041280672, -0.0016135101, -0.0033498043, -0.014608169, -0.01352515, 0.027931826, 0.009671615, -0.050171506, -0.0010074599, 0.016811987, 0.042539995, 0.00542769, 0.0047130235, -0.053848732, 0.017038666, 0.005112859, -0.041960705, -0.014570389, -0.0010594071, -0.0047633965, -0.03473218, 0.03845978, 0.044227492, 0.044706035, 0.015905274, -0.031457935, 0.0028067203, 0.037401948, 0.0039039073, -0.0034001772, 0.007814111, -0.00796523, 0.014444456, -0.0123476805, 0.030248985, 0.0047980277, 0.008865647, 0.0071529653, -0.012467316, 0.00429115, -0.014595576, -0.02341085, -0.017895008, -0.012971046, 0.007083703, 0.0003260471, -0.018247617, 0.024733141, -0.0034316604, -0.00934419, -0.006806651, 0.044026, -0.004977482, 0.00013222912, 0.036495235, 0.03997097, 0.0201492, 0.017743887, 0.017466836, -0.03631893, -0.033195805, -0.034026958, 0.0027374576, -0.015615629, 0.025123531, -0.029216338, 0.004354116, -0.00048720132, -0.026748061, 0.014923, 0.002520224, 0.03392621, 0.004445417, 0.0023108611, -0.008361917, 0.003368694, 0.0035544445, 0.03473218, 0.013260691, 0.02359975, -0.021572236, 0.0072411182, 0.029216338, -0.016635682, 0.030803088, 0.0057865977, -0.0108931605, 0.0005245875, -0.0074237203, -0.007877077, -0.03271726, 0.02193744, 0.03155868, -0.024796108, 0.025299838, 0.0067688716, -0.012618436, 0.030123051, 0.00957087, -0.0140162865, 0.024909446, 0.032692075, 0.016736427, 0.010433507, -0.00809746, 0.02453165, -0.026924366, -0.04163328, -0.004801176, 0.024783514, -0.00092009426, 0.0326417, -0.007045923, -0.026017653, 0.022781188, -0.0015001708, -0.0395428, -0.0060227215, 0.018700974, -0.00856341, 0.029317085, -0.006535896, 0.01253658, -0.003286838, -0.018499482, -0.0070081432, -0.028359996, 0.024015326, -0.005799191, 0.005402504, -0.031583868, 0.027100671, -0.00262097, -0.024128666, 0.0449579, 0.01817206 ]
2401.09350
339
Fig. 9.1: Decomposition of the residual error r(u, ˜u) = u − ˜u for u ∈ R2 to one component that is parallel to the data point, r∥(u, ˜u), and another that is orthogonal to it, r⊥(u, ˜u). On the basis of that argument, Guo et al. [2020] introduce the following objective for inner product quantization: DE [oU(a.w)) (uw) . (9.2) In the above, ω : R → R+ is an arbitrary weight function that determines the importance of each data point to the optimization objective. Ideally, then, ω should be monotonically non-decreasing in its argument. One such weight function is ω(s) = 1s≥θ for some threshold θ, implying that only data points whose expected inner product is at least θ contribute to the objective, while the rest are simply ignored. That is the weight function that Guo et al. [2020] choose in their work.
2401.09350#339
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 339, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Fig. 9.1: Decomposition of the residual error r(u, ˜u) = u − ˜u for u ∈ R2 to one component that is parallel to the data point, r∥(u, ˜u), and another that is orthogonal to it, r⊥(u, ˜u).\nOn the basis of that argument, Guo et al. [2020] introduce the following objective for inner product quantization:\nDE [oU(a.w)) (uw) . (9.2)\nIn the above, ω : R → R+ is an arbitrary weight function that determines the importance of each data point to the optimization objective. Ideally, then, ω should be monotonically non-decreasing in its argument. One such weight function is ω(s) = 1s≥θ for some threshold θ, implying that only data points whose expected inner product is at least θ contribute to the objective, while the rest are simply ignored. That is the weight function that Guo et al. [2020] choose in their work.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.01091142, 0.020230973, -0.006741678, 0.027869562, -0.013863503, -0.0340232, 0.01062037, 0.06514777, -0.011101494, 0.051034797, 0.010370898, 0.012675542, -0.07517416, 0.005984353, -0.0062011555, 0.016191905, 0.034498382, -0.029889094, -0.033785608, 0.029532706, -0.03404696, -0.026016342, 0.014837631, 0.009295793, 0.03095826, -0.0248759, 0.026206415, 0.013851623, 0.032003663, -0.007424755, -0.0072406214, -0.01122029, -0.0076267086, -0.0636747, -0.0045766192, 0.010810443, -0.0141129745, 0.041744944, -0.020836834, 0.032787718, 0.005913075, -0.009604664, -0.026491527, -0.03782467, -0.0126161445, 0.029342633, -0.016548295, -0.020884352, -0.011802391, -0.012687421, 0.010234282, 0.04889647, 0.008369184, -0.017082877, -0.015015825, 0.006581303, 0.0075079123, 0.042671554, 0.058162563, -0.01332892, 0.013400198, -0.03124337, -0.004769663, 0.0059665334, -0.003581702, -0.02151397, -0.038347375, 0.031172093, 0.022606894, 0.0063258912, -0.015372213, 0.01574048, 0.025564916, 0.008612716, 0.030221723, 0.016465137, 0.0037539562, 0.04193502, 0.006842654, -0.02274945, 0.007840541, -0.0057883393, 0.031766072, -0.021181341, -0.03829986, -0.040176835, -0.05246035, -0.028202191, -0.05065465, -0.007181223, -0.03124337, 0.008951285, -0.028534818, -0.023866134, -0.00034079625, -0.023771096, 0.011790511, -0.0018057005, 0.011481642, -0.03129089, -0.05925549, -0.009046322, 0.028273467, -0.032027423, 0.047138285, -0.049371652, -0.0074188155, 0.008559258, -0.041982535, -0.017427385, 0.053505756, 0.06400733, -0.044192143, 0.059588116, 0.036327843, -0.056451898, -0.06300944, 0.0052983053, -0.028178431, -0.03129089, -0.0070802467, -0.01970827, 0.033904403, -0.011505401, 0.0073000193, -0.013150726, -0.004638987, -0.02941391, -0.011178711, -0.009034442, 0.040652018, 0.030815704, -0.0012889375, -0.022606894, -0.011487581, -0.011683594, 0.039630372, 0.046211675, 0.013934781, 0.020979388, 0.035306197, 0.019494437, -0.02489966, -0.016168147, -0.0032668924, 0.030673148, -0.006919872, 0.042909145, 0.0015124227, 0.0012087502, -0.009966992, -0.029984131, -0.013566513, -0.046069123, 0.009711579, 0.009812556, 0.017629338, 0.034141995, 0.025659954, -0.0400818, -0.017249191, 0.030007891, 0.011980585, -0.01577612, 0.049276616, -0.03552003, -0.019435039, -0.030886982, -0.035686344, -0.027109265, -0.04706701, -0.020813074, -0.02091999, -0.03913143, 0.024376957, -0.014291169, -0.011885548, -0.04362192, -0.0061417576, -0.030269243, -0.0018398543, -0.017344229, 0.020670518, 0.0012651783, 0.028629856, 0.055929195, 0.0071158856, -0.018615346, 0.03214622, 0.012711181, -0.009218576, 0.05093976, 0.031195851, -0.0017180884, 0.0070624272, -0.012063743, 0.019827066, 0.011273748, -0.012877495, -0.020527963, 0.02520853, 0.025826268, 0.050274502, -0.02969902, -0.016477017, -0.013376439, 0.013233883, -0.006224915, -0.062249146, 0.036209047, -0.01515838, 0.031029537, 0.0022660352, 0.013982299, 0.0010424356, -0.0064506275, -0.047542192, 0.03212246, 0.00026729118, 0.043122977, -0.005942774, 0.040153075, 0.0061655166, 0.035068605, -0.07161028, -0.0045944387, 0.035900176, -0.09261343, 0.03521116, -0.044120867, 0.045997843, -0.011469762, -0.013257643, 0.0059992024, 0.002035868, -0.026847916, -0.0041370736, -0.038632486, -0.024270039, -0.019601354, -0.033690568, -0.00910572, 0.028083393, -0.010733226, -0.0045023714, 0.029603984, -0.017676856, 0.03941654, -0.009295793, -0.008357304, -0.010846082, 0.0038608727, 0.027822042, 0.014588159, -0.03585266, 0.022369303, 0.0327402, 0.021478333, 0.00025077112, 0.009610604, -0.006884233, -0.043835755, -0.009812556, 0.017070998, 0.036589194, -0.013780345, -0.03421327, 0.009004743, 0.019197447, -0.01702348, -0.016488897, -0.028035875, -0.030530594, 0.045118753, -0.04701949, 0.016536415, 0.031457204, 0.020337889, -0.03216998, -0.033595532, 0.0059992024, 0.014932668, 0.02756069, 0.04526131, 0.04483364, -0.028653616, -0.041412316, 0.021347657, -0.053458236, 0.007638588, 0.04818369, -0.024008688, 0.01670273, -0.009765038, -0.048587598, -0.020860592, -0.025113491, -0.033500496, -0.027370617, 0.002369982, 0.06799888, 0.0136259105, 0.0022897946, 0.03131465, -0.07142021, 0.016465137, 0.012604265, -0.009943232, -0.001274088, -0.007496033, 0.023497865, 0.031576, -0.008743391, 0.045071233, -0.050559614, -0.030197965, 0.012711181, 0.031195851, 0.03240757, 0.007395056, -0.0022972194, -0.03730197, 0.0053042453, -0.033595532, 0.03609025, 0.012841857, -0.065385364, -0.019625112, -0.028463542, -0.044239663, 0.007181223, -0.012853736, -0.03098202, 0.015954314, -0.023212755, 0.0018175801, -0.038014747, 0.055644084, 0.009925413, -0.023390949, -0.035401233, -0.04005804, 0.033215385, -0.0033470797, 0.030839464, 0.020706158, 0.030506834, 0.021169461, 0.04117472, 0.014825751, -0.03606649, -0.065622956, -0.011048036, -0.021169461, 0.039654132, 0.0015309845, 0.0037064378, -0.056356862, -0.09242335, -0.002638758, -0.011719233, -0.010394657, 0.03552003, -0.004906278, -0.014006059, -0.0007543551, 0.043265533, -0.02701423, 0.004728084, -0.02217923, -0.0587803, 0.036826786, -0.06614566, -0.004071736, -0.043241773, 0.0015265297, -0.0038994814, 0.043526884, 0.021169461, -0.004336057, 0.053885903, 0.042362683, -0.02153773, -0.009420529, 0.039250225, 0.031195851, 0.026182657, 0.022250507, -0.036209047, -0.018413393, -0.03920271, -0.018080764, -0.045047473, 0.022690052, 0.000009391155, 0.013602152, 0.043550644, 0.023010802, 0.02789332, 0.009842255, -0.006735738, -0.034640938, -0.0066941595, -0.003947, -0.02183472, 0.014219891, 0.030530594, 0.028748652, 0.03787219, 0.07142021, 0.007929639, -0.010133306, 0.019340003, -0.00576755, 0.0071337046, -0.016001832, 0.04001052, -0.019280605, 0.044453494, 0.026942952, -0.017332349, 0.01849655, 0.014089216, 0.023771096, 0.003453996, -0.025042213, -0.011232169, 0.019803308, 0.027085507, -0.07645716, -0.011285628, -0.018021366, 0.0096403025, -0.035733864, -0.034450863, -0.04091337, -0.02670536, 0.016821526, 0.014196132, -0.040556982, -0.027156785, -0.009076021, -0.038941357, -0.020884352, -0.012004344, 0.00040056554, -0.014790112, 0.0039588795, 0.0067238584, 0.009943232, -0.0014990581, -0.034640938, 0.03604273, -0.048326246, 0.010834203, -0.061441336, 0.044192143, 0.0058150683, -0.0015139076, 0.03148096, -0.02241682, -0.006729798, -0.02637273, 0.05583416, -0.0068901726, 0.012711181, 0.033595532, -0.0032045243, -0.029984131, 0.024495753, -0.030459316, -0.028439783, 0.07389116, -0.04343185, -0.013804105, -0.0056517236, 0.018710382, 0.0009377466, 0.05227028, -0.023937412, 0.025921306, -0.04796986, -0.054171015, -0.008541439, -0.013281402, 0.07569686, 0.048136175, -0.027418137, -0.021715924, -0.011285628, -0.056451898, -0.06994713, 0.068949245, -0.010549093, -0.0027709187, 0.01878166, 0.021787202, -0.0069258115, 0.008600837, 0.018591587, 0.0533632, 0.021442693, -0.026942952, 0.03936902, 0.02915256, 0.007252501, 0.03031676, -0.036256563, 0.005280486, 0.054836273, 0.029342633, 0.036280323, -0.03148096, -0.010483755, -0.02187036, 0.05787745, 0.0035609126, 0.013245763, 0.002280885, 0.007840541, -0.041436072, -0.032668922, -0.012004344, -0.013899142, 0.0073831766, -0.013827864, -0.004944887, -0.11005269, -0.047114525, -0.036636714, 0.02665784, -0.00939083, -0.013447717, 0.04005804, -0.0018294597, 0.02276133, -0.012063743, -0.011095555, 0.034783494, 0.0044994014, -0.001228797, -0.049229097, 0.009966992, 0.008238508, 0.011968706, -0.0058388277, 0.016500777, -0.03701686, 0.0015903825, 0.00849986, -0.005797249, -0.007971217, 0.005036954, -0.007929639, -0.001470844, 0.0022912794, -0.0055863857, 0.021003148, -0.047494676, 0.00037327956, 0.007763324, 0.0034688457, 0.0327402, 0.012663662, -0.040889613, 0.029651502, 0.02699047, -0.020551722, 0.018544069, 0.035306197, -0.04728084, -0.016191905, 0.025493639, 0.010572852, 0.02002902, 0.019458799, 0.04362192, -0.020409167, 0.018401513, 0.024329437, 0.00046924452, 0.0030278151, 0.00012390061, -0.014885149, -0.0076920465, -0.0028288318, 0.015502889, -0.009871954, 0.005402252, 0.03302531, 0.053030573, -0.016880924, 0.0053755227, -0.033500496, -0.018437153, 0.0062011555, -0.020242853, 0.0096997, 0.00016677857, 0.01696408, 0.01696408, 0.012283515, 0.032312535, -0.032074943, -0.013911021, 0.0182352, 0.037967227, 0.013720947, -0.013210124, -0.020088417, 0.009860075, -0.0019274665, 0.0091591785, 0.020575482, -0.011101494, -0.02544612, 0.012295394, 0.0024650188, 0.054836273, 0.008214749, -0.00728814, -0.023153357, 0.005737851, 0.003578732, -0.0091591785, 0.05421853, 0.0041073747, -0.03696934, 0.013091329, -0.028368505, -0.049419172, 0.011778631, 0.01122623, 0.00877309, 0.029841576, 0.015431611, -0.025398603, -0.016453257, 0.012521107, -0.04103217, 0.00017680199, 0.05426605, 0.009539326, 0.0051646596, -0.016168147, -0.0052686064, 0.0043479367, 0.032027423, -0.040699538, -0.0065100254, -0.015538528, -0.022012914, 0.017379867, 0.008986924, 0.0055121384, -0.01120841, -0.0029966312, 0.051462464, -0.0070267883, -0.035329957, -0.056356862, 0.009889774, 0.016215665, -0.058732785, 0.026871674, 0.03639912, -0.021074425, 0.012051863, 0.013756586, 0.015300935, 0.0074782134, 0.009545266, 0.001850249, -0.0069376915, -0.004466733, -0.020860592, -0.041507352, 0.0029906915, -0.033690568, -0.015538528, -0.027774524, 0.013792225, -0.007864301, -0.00545274, -0.07878556, 0.0023462228, 0.0015339544, -0.021430813, -0.0091532385, -0.031956147, 0.008844368, -0.019553835, 0.03155224, 0.017201673, 0.010240222, 0.008375124, 0.006337771, 0.0038103843, 0.021074425, 0.0021873328, 0.034783494, 0.027703246, -0.001969045, 0.0031599759, -0.06510025, 0.004425154, -0.044976197, 0.0091532385, 0.048943985, 0.0036232804, 0.02398493, -0.018377755, -0.002127935, -0.015918676, -0.034427106, -0.013507115, 0.019827066, 0.036517914, -0.032360055, 0.005984353, -0.018769782, 0.005283456, -0.06966202, 0.023153357, 0.02969902, -0.011778631, -0.044952437, 0.016512655, -0.0033411398, -0.0002281256, -0.010590671, -0.003762866, -0.014386206, -0.005874466, 0.011297507, 0.02915256, -0.010406537, 0.035472512, -0.011475702, -0.00970564, -0.010566912, 0.009200756, -0.005289396, 0.012580506, 0.016631452, 0.032787718, 0.016833406, 0.009747218, -0.013554633, 0.019553835, -0.0072762603, 0.008470161, -0.03340546, 0.028178431, 0.011160892, -0.034807254, 0.009806616, -0.00084196724, -0.014374326, 0.008921586, -0.013602152, 0.0048914286, -0.005945744, 0.022832608, 0.021110063, -0.010347139, -0.0018888577, -0.0038757222, 0.052935533, 0.0048617297, -0.0020878413, 0.03399944, -0.0068367147, 0.02272569, 0.020124057, -0.05160502, -0.03692182, -0.0040568863, -0.07180035, 0.008933466, 0.006551604, 0.019613232, 0.015122741, -0.016037472, 0.0106322495, 0.009378951, 0.0008976529, -0.0091532385, 0.017831292, -0.015455371, 0.024614548, 0.0028080423, 0.01031744, 0.006818895, -0.00939677, 0.02760821, -0.03152848, -0.09342124, 0.008113773, 0.011790511, -0.034807254, 0.023224635, 0.010964879, 0.009343312, -0.02520853, -0.019838946, -0.0004258097, -0.011564799, -0.016310703, 0.009022563, 0.0036232804, 0.0358289, -0.06429244, -0.00034692168, 0.006795136, -0.022107951, -0.020112177, 0.0026907313, -0.017653098, 0.030174205, 0.025161011, -0.05407598, -0.0057497304, 0.0075376113, -0.016714608, 0.024270039, 0.006213035, -0.009503687, 0.019078651, 0.00788806, 0.025303565, -0.017249191, -0.019066771, 0.009343312, 0.015277176, 0.008577078, -0.004609288, 0.0034153874, -0.072750725, -0.0055626268, -0.03511612, -0.012841857, -0.030791944, 0.01912617, -0.035353713, 0.0051616896, -0.0116301365, -0.03696934, 0.014790112, 0.006824835, -0.034070715, -0.03064939, -0.019577594, 0.017795654, -0.02187036, -0.04214885, 0.0008620141, -0.03946406, 0.003730197, 0.018864818, -0.026016342, -0.010733226, -0.037040617, -0.011772692, 0.02331967, -0.014992066, -0.029200077, 0.001728483, 0.026847916, -0.008220689, 0.02214359, 0.0043004183, -0.019458799, 0.010667888, -0.0058210082, -0.008654295, 0.017688736, 0.029556466, -0.02701423, 0.027774524, 0.021347657, -0.012497348, 0.02613514, -0.019007374, -0.029342633, -0.03312035, 0.032051183, 0.0121290805, -0.0019957742, -0.020337889, -0.03461718, 0.01486139, -0.01756994, 0.022701932, -0.040485706, 0.02639649, 0.034332067, 0.014445604, 0.023699818, -0.030174205, -0.062249146, -0.027109265, 0.009586844, 0.016275063, 0.009355191, 0.022131711, 0.017950088, 0.029984131, -0.02611138, -0.019815186, 0.03941654, 0.016738368, 0.015562287, 0.008101893, 0.008630536, 0.009004743, 0.0025956945, 0.008820609, -0.0057883393, 0.017664978, -0.009242335, -0.022583136, -0.011095555, 0.0017685767, 0.015657324, -0.02309396, 0.009675941, 0.020516085, 0.020872472, 0.015027705, 0.028938726, -0.010400597, 0.009307673, -0.034427106, 0.0035995212, -0.03247885, 0.00849392, 0.0010216463, 0.03575762, 0.04799362, -0.0011731114, -0.039321505, 0.0036737688, 0.00080558594, -0.012307274, -0.0049003386, 0.018983614, -0.0008219204, -0.0012035528, -0.010543153, -0.004757783, 0.012331033, 0.003884632, 0.009254215, -0.00393809, 0.0048884586, 0.015871156, 0.0046775956, 0.024828382, -0.023010802, 0.00545868, 0.012806218, -0.010085788, -0.018425273, -0.0075910697, -0.015289056, 0.02305832, 0.008583017, -0.031908628, -0.006005142, 0.026729118, 0.012770579, -0.0075376113, -0.029603984, 0.00787618, 0.02703799, -0.0327402, 0.024424475, -0.017534303, -0.06106119, 0.012307274, 0.024709586, 0.018152041, 0.03666047, -0.037468284, 0.015431611, 0.02760821, 0.007899939, 0.028130913, -0.008090014, -0.01000263, -0.0034153874, 0.041436072, -0.034545902, 0.0040271874, 0.014445604, -0.00787024, -0.05274546, -0.0063140118, 0.02611138, -0.025850028, -0.0002468731, -0.010198643, -0.008137532, -0.00038905718, 0.0032639224, -0.00069384335, 0.0013164091, 0.027964598, 0.020516085, -0.008042495, -0.00075546885, -0.034640938, 0.026871674, 0.011701414, -0.023117717, -0.019838946, 0.01093518, -0.0024471993, -0.031195851, 0.005500259, -0.014386206, -0.029033763, 0.021585248, -0.008101893, -0.00787618, 0.0055091684, -0.01154698, 0.014813872, -0.027228063, -0.020575482, -0.045071233, -0.0017626369, -0.009592784, -0.015633564, 0.018425273, -0.0070743067, 0.005357703, 0.011998405, -0.007424755, -0.020254733, 0.013744707, 0.015728602, 0.0058893156, 0.043859515, -0.03946406, -0.022321785, -0.025659954, -0.008078134, 0.030150445, 0.013827864, -0.012853736, -0.025042213, -0.006462507, 0.020824954, 0.033167865, 0.02334343, -0.007917759, -0.014208011, 0.033548012, -0.01574048, -0.041293517, -0.008755271, 0.027085507, 0.012307274, -0.015859278, -0.016346341, -0.014528761, 0.004428124, 0.040675778, 0.028368505, 0.035591308, 0.01968451, 0.018757902, 0.018021366, 0.037159413, -0.030910742, -0.024970938, -0.014350567, -0.04302794, 0.025873788, 0.037183173, -0.0072406214, 0.0076267086, -0.0037509864, 0.042410202, 0.03853745, 0.0037153475, -0.0096818805, 0.02219111, 0.0063496507, 0.05607175, -0.025731232, -0.0364704, -0.0014886634, 0.025897546, -0.01061443, 0.002062597, -0.018567828, 0.014885149, -0.034403346, 0.008416703, -0.009978871, -0.027679488, 0.027631968, -0.044477254, -0.0009860075, 0.028392265, -0.015894916, 0.029651502, 0.03181359, 0.037254453, -0.009034442, -0.0038786922, 0.0056160847, 0.0011203956, 0.0156098055, 0.010762925, 0.047542192, -0.01335268, -0.021157583, 0.003305501, -0.035900176, -0.007894, -0.020290371, 0.018650984, 0.025541158, -0.038680006, -0.00023666407, 0.036779266, 0.013899142, 0.010709467, -0.008369184, 0.01364967, -0.027822042, -0.008422642, -0.01577612, -0.009224515, -0.02274945, 0.026230175, -0.013079449, -0.04279035, 0.019898344, 0.042695314, 0.03064939, 0.022832608, -0.016904682, 0.041531112, -0.0042915083, 0.010786684, -0.009931353, 0.015015825, 0.024127485, -0.0038044446, 0.008268207, -0.014219891, -0.01699972, -0.022072311, 0.058210082, -0.02005278, 0.011012397, 0.012556746, 0.022820728, -0.0017819413, 0.025612436, -0.01335268, 0.033524256, 0.015502889, -0.009378951, 0.0072703203, -0.0015844428, -0.0030768185, -0.022547496, -0.0011946431, 0.0057230014, -0.013388319, 0.0024056206, 0.006611002, -0.026420249, -0.016346341, -0.020314131, -0.015194019, 0.01154104, 0.009961052, -0.008600837, -0.018437153, -0.07693234, 0.016857164, 0.0040895552, -0.008220689, 0.011861789, 0.0038163243, -0.027204303, -0.007216862, 0.029200077, 0.012829977, -0.024923418, 0.012936894, 0.008119713, 0.038442414, -0.011428183, 0.0037094078, 0.013305161, -0.011695474, 0.01702348, -0.014528761, -0.022844486, 0.0074544544, 0.021359535, -0.016275063, 0.014920788, 0.02091999, -0.023165237, -0.018270837, -0.010115487, -0.011737053, 0.0003578732, 0.01846091, 0.028653616, -0.016952202, -0.004457823, 0.0073831766, 0.0014797538, -0.035329957, 0.0068070157, -0.005877436, 0.04699573, -0.0043004183, -0.016726488, -0.015799878, 0.012877495, -0.008202869, -0.030269243, 0.008755271, -0.010733226, -0.018377755, -0.01304381, -0.020623, 0.009610604, 0.009955112, 0.0007576963, -0.01062037, -0.014801992, 0.034355827, -0.014338687, 0.01760558, 0.04884895, -0.053885903, 0.0052092085, 0.029841576, 0.0443347, 0.0141248545, -0.007246561, -0.03399944, -0.0014092185, 0.018175801, -0.015669204, 0.004000458, -0.014766353, 0.02969902, 0.0024709585, 0.0013112117, 0.03513988, -0.008470161, 0.040533222, -0.011939006, -0.028558578, 0.021941636, 0.00004807529, 0.008832489, 0.020729916, -0.016037472, 0.031647276, -0.030459316, -0.017760014, -0.004520191, 0.0011731114, -0.0024397746, 0.01758182, 0.018318357, 0.010103607, -0.0043419967, 0.023474107, 0.0013082419, -0.03820482, -0.02974654, -0.0029936612, 0.008523619, -0.0133408, -0.003058999, 0.026253935, -0.03820482, 0.017320469, 0.0029550525, 0.009212636, 0.023806736, -0.017332349, -0.012010284, 0.02154961, -0.01664333, 0.0448574, 0.013483356, 0.00666446, -0.02308208, -0.0141129745, -0.0031688856, 0.01062631, 0.05269794, 0.01760558, -0.0036500096, 0.016180027, 0.046473026, 0.007181223, -0.0076861065, -0.014766353, -0.012259756, -0.018555949, -0.031861108, 0.012259756, 0.02061112, 0.021430813, -0.020444807, -0.018698504, -0.012224117, -0.0013862018, 0.036517914, 0.029295115, -0.01821144, -0.02122886, 0.0101273665, 0.029081281, 0.024151243, -0.004336057, 0.0026001493, 0.01062037, 0.0146119185, 0.008054375, 0.04519003, -0.034379587, 0.030435557, 0.000018121043, 0.014148613, 0.03701686, -0.0076207686, -0.0224287, 0.008939405, 0.051414944, 0.038988873, -0.0029847515, 0.010513454, 0.008559258, 0.032573886, -0.01819956, 0.0062011555, 0.021597128, 0.0058239778, 0.01879354, 0.03822858, -0.04207757, 0.016191905, 0.037278213, 0.010192704, 0.035710104, -0.015621685, -0.033429217, -0.009046322, -0.031576, 0.025256047, 0.013827864, 0.0038430532, -0.012568626, -0.025065973, 0.034118235, -0.013447717, 0.012948773, 0.038181063, 0.017985728, -0.033524256, -0.008939405, -0.0035727923, -0.03670799, 0.024151243, 0.025659954, -0.015300935, -0.026847916, -0.0248759, 0.013839744, 0.014303048, 0.004359816, 0.008755271, 0.0030738486, -0.017498663, -0.002545206, 0.007947458, -0.0075494912, -0.025327325, -0.0011397, -0.0040568863, 0.024614548, 0.0042588394, -0.04371696, 0.00818505, 0.0071337046, 0.024424475, -0.009319553, -0.005120111, 0.013423958, -0.024281919, 0.010893601, 0.032716442, 0.007335658, -0.0058893156, 0.025612436, -0.024970938, 0.04642551, 0.0018368844, -0.019767668, 0.011101494, 0.01667897, -0.0071396446, -0.022868246, 0.007163404, 0.03095826, 0.041531112, 0.019530077, -0.007460394, -0.019506317, 0.039772928, 0.020777434, 0.00026265072, 0.017225431, 0.0025259017, 0.033476736, -0.006854534, -0.0018294597, 0.012028104, 0.02884369, 0.0076623475, -0.00097487035, -0.011416304, -0.0031124575, -0.021882238, -0.036517914, -0.036517914, -0.00017940065, 0.0058210082, 0.013934781, 0.0063080722, -0.0021056605, -0.010091728, -0.038014747, 0.03219374, 0.024757104, -0.027703246, 0.0005876694, 0.036636714, 0.025564916, 0.036517914, 0.0044073346, -0.015823638, -0.055739123, -0.02729934, 0.008119713, -0.020539843, 0.011368785, 0.002365527, 0.016607692, 0.0048171813, -0.0081731705, -0.008398883, 0.010822323, 0.022701932, 0.005420071, 0.00029903202, -0.007430695, 0.013471476, -0.0023744367, 0.035900176, 0.0024368046, 0.02703799, -0.013590272, -0.016821526, 0.029627744, -0.009717519, -0.0014790113, 0.00514684, -0.025161011, -0.022024794, 0.0066822795, -0.0045825588, -0.03694558, 0.015182139, 0.013103208, 0.0055893557, 0.012010284, 0.007941518, -0.005253757, 0.020159695, 0.037040617, -0.019648872, -0.026776638, 0.028392265, 0.011285628, -0.021442693, -0.02729934, -0.0041370736, -0.020813074, -0.054408606, 0.024757104, 0.022476219, 0.00024947178, 0.018057005, -0.0017418476, 0.0023714667, 0.012853736, -0.0145644, -0.044714846, 0.032621406, 0.024495753, 0.0021116005, 0.010483755, -0.018128281, -0.015253417, -0.016001832, -0.011321267, 0.022523737, 0.008547378, 0.006611002, -0.016037472, 0.011855849, -0.021692164, 0.021347657, -0.0024293798, -0.025612436, 0.024103725, 0.012473589 ]
2401.09350
340
Something interesting emerges from Equation (9.2) with the choice of ω(s) = 1s≥θ: It is more important for ˜u to preserve the norm of u than it is to preserve its angle. We will show why that is shortly, but consider for the moment the reason this behavior is important for MIPS. Suppose there is a data point whose norm is much larger than the rest of the data points. Intuitively, such a data point has a good chance of maximizing inner prod- uct with a query even if its angle with the query is relatively large. In other words, being a candidate solution to MIPS is less sensitive to angles and more sensitive to norms. Of course, as norms become more and more concentrated, angles take on a bigger role in determining the solution to MIPS. So, intu- itively, an objective that penalizes the distortion of norms more than angles is more suitable for MIPS. # 9.4.1.1 Parallel and Orthogonal Residuals Let us present this phenomenon more formally and show why the statement above is true. Define the residual error as r(u, ˜u) = u − ˜u. The residual error 9.4 Quantization for Inner Product
2401.09350#340
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 340, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Something interesting emerges from Equation (9.2) with the choice of ω(s) = 1s≥θ: It is more important for ˜u to preserve the norm of u than it is to preserve its angle. We will show why that is shortly, but consider for the moment the reason this behavior is important for MIPS. Suppose there is a data point whose norm is much larger than the rest of the data points. Intuitively, such a data point has a good chance of maximizing inner prod- uct with a query even if its angle with the query is relatively large. In other words, being a candidate solution to MIPS is less sensitive to angles and more sensitive to norms. Of course, as norms become more and more concentrated, angles take on a bigger role in determining the solution to MIPS. So, intu- itively, an objective that penalizes the distortion of norms more than angles is more suitable for MIPS.\n# 9.4.1.1 Parallel and Orthogonal Residuals\nLet us present this phenomenon more formally and show why the statement above is true. Define the residual error as r(u, ˜u) = u − ˜u. The residual error\n9.4 Quantization for Inner Product", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.00346328, 0.060111955, -0.03330946, 0.056083832, 0.033619314, 0.0020124465, -0.010418889, 0.0039990717, -0.020360084, 0.04818252, 0.03695026, -0.019353054, -0.017016228, 0.05244303, 0.006306849, 0.0017042048, 0.0030888712, -0.030185083, -0.0186817, -0.0024401115, 0.012871911, 0.0297203, 0.018604236, 0.019353054, 0.032870498, -0.018630058, 0.034032457, 0.034445595, 0.079374634, -0.017584296, -0.0018752709, -0.019094842, -0.012329664, -0.059543885, -0.026376443, 0.037854005, -0.020140603, 0.0413657, -0.0076043685, 0.017816687, -0.0055031613, -0.0112774465, -0.037983112, -0.032663926, 0.022619447, 0.007894858, 0.0041733654, -0.020192245, -0.03633055, 0.025821285, 0.036562942, 0.045135606, 0.012716983, 0.013091392, -0.01806199, -0.008075607, 0.017997436, 0.037440866, 0.03392917, 0.0017671443, 0.04152063, -0.040048815, -0.0014782686, -0.021935182, 0.01584136, 0.016822567, -0.03310289, 0.021625327, 0.032044217, 0.020579565, 0.0014516404, 0.005070655, 0.051926605, 0.028196843, 0.028790733, -0.018642968, 0.0029065085, 0.06904612, 0.027886989, 0.0352977, 0.018552594, -0.018630058, 0.05019658, -0.0065908832, -0.010780387, -0.019934032, -0.042295266, -0.022838928, -0.07405545, -0.002843569, -0.035659194, 0.021134723, 0.005987311, -0.0124652255, 0.026595924, 0.005099704, 0.03132122, 0.0146019375, -0.006497281, -0.03374842, -0.04002299, -0.027964452, 0.0437929, -0.00346328, 0.0441544, -0.014227528, 0.0013757903, 0.005357917, -0.03692444, 0.0045961887, 0.018191095, 0.0028209754, -0.014395366, 0.044645004, 0.04038449, -0.032663926, -0.06253915, 0.021186365, 0.015105452, 0.0032341161, -0.0072945133, -0.007029845, 0.01584136, -0.0029662203, -0.032999605, -0.021573685, -0.010935315, -0.0465816, 0.011199983, -0.020786135, 0.0361498, -0.005067427, 0.0062422957, -0.034032457, -0.0051610293, 0.02690578, 0.027680418, 0.038628645, 0.016422337, 0.03434231, 0.013633639, 0.024439847, 0.010121944, -0.025485609, 0.001817173, 0.01486015, -0.057788037, 0.026776673, 0.041830484, 0.030985544, 0.02087651, -0.040875096, -0.03633055, -0.023226246, -0.011477562, -0.008404829, 0.01566061, 0.0028355, 0.012865456, -0.018358935, 0.006316532, 0.0072622364, 0.0025837424, 0.007352611, 0.026854137, -0.007946501, -0.028868198, -0.019340143, -0.027809525, -0.06341708, -0.046323385, -0.021534953, -0.055722333, -0.03470381, 0.04061688, 0.00060639676, -0.03114047, -0.037621614, 0.014834329, -0.000256599, -0.017997436, 0.008307999, 0.009353761, -0.00045066213, 0.027241457, 0.011638945, -0.029203875, 0.03212168, 0.007817394, -0.006487598, -0.032457355, 0.04092674, 0.04038449, 0.008191803, 0.0051029315, -0.040229563, 0.033877525, 0.015983377, -0.025756733, 0.0068555516, 0.02791281, 0.0269316, 0.07162825, -0.048905514, -0.01065128, -0.017106602, 0.019327233, -0.004147544, -0.070750326, 0.030675687, -0.030081797, 0.030624045, 0.029797764, 0.004851174, 0.058356106, -0.0015436288, -0.041675556, 0.017416457, -0.01445992, 0.0493703, -0.044490077, 0.034832913, 0.036614582, 0.039945528, -0.054276343, 0.025149932, 0.045626212, -0.07730893, 0.037415043, -0.048518196, 0.02047628, -0.0062745726, 0.0058678873, -0.051745858, 0.021509131, -0.015299112, -0.031631075, -0.038241323, -0.031656895, -0.0057452363, -0.011393642, 0.0058452934, 0.0011474334, -0.015880091, -0.023432817, 0.038086396, -0.026324801, 0.04399947, -0.012103728, -0.0017719858, -0.020721583, -0.0046897912, 0.0073784324, -0.018642968, -0.08582995, -0.019598356, 0.014421188, 0.032018393, -0.013556175, 0.041907948, -0.019249769, -0.03553009, -0.016835479, 0.002367489, 0.018384755, 0.0022593625, -0.043947827, -0.026156962, 0.025472699, -0.018539684, 0.004541319, -0.014304993, -0.034600522, 0.052546315, -0.0004526794, -0.03416156, -0.036666226, 0.02428492, -0.03194093, 0.004354114, -0.03253482, -0.009263386, 0.03695026, 0.033877525, 0.0054063317, -0.033490207, -0.018165275, -0.01825565, -0.02770624, -0.01865588, 0.02791281, -0.02108308, 0.022219216, -0.01364655, -0.01054154, -0.011974622, 0.007927135, -0.035607554, -0.012290932, -0.0004454172, 0.09378291, 0.034884557, 0.012174737, 0.0060841404, -0.08138869, -0.00043331346, 0.026273157, 0.009444135, -0.00042968235, 0.031217935, 0.0059195296, 0.023174604, -0.038060576, 0.0312954, -0.06372693, -0.044102754, 0.009173011, -0.01143883, 0.023665208, 0.011916524, -0.024646418, -0.021986825, -0.01023814, -0.05541248, 0.044438433, 0.026544282, -0.0594406, 0.029642835, 0.004699474, -0.065018, 0.01487306, -0.024246188, -0.014821418, 0.030210905, -0.047252953, -0.026673388, -0.033877525, 0.05164257, 0.029384624, -0.022761464, -0.04177884, -0.047846843, 0.025317771, 0.06207437, 0.008185348, -0.023574835, -0.005480568, -0.018849539, 0.071989745, 0.0004930252, -0.02468515, -0.027241457, 0.013401248, 0.02487881, 0.020230977, 0.004615555, 0.0012870297, -0.072557814, -0.10421471, 0.00561613, -0.032405715, -0.030546581, 0.035039485, 0.018216917, 0.007675377, -0.0007580968, 0.018862449, -0.0036537119, -0.033877525, -0.016228678, -0.05623876, 0.041494805, -0.04518725, 0.0048253527, -0.029487908, -0.010186497, -0.0352977, 0.02330371, 0.02951373, 0.02189645, -0.0066941683, 0.04121077, -0.015221648, -0.009205288, 0.032199144, -0.00062737655, 0.028816555, 0.001445992, -0.062177658, 0.015247469, 0.00047043155, 0.015750984, -0.005428925, 0.021405846, 0.0013386722, 0.01706787, 0.03132122, -0.0040959013, 0.020773225, 0.017790865, -0.038628645, -0.027267277, 0.009708803, -0.018449308, -0.0542247, -0.03235407, 0.019378874, 0.023755582, 0.012587877, 0.047846843, -0.009960561, -0.014640669, 0.034032457, -0.011684132, -0.0011264536, -0.028351773, 0.03354185, -0.017003316, 0.02629898, 0.015931733, 0.014214618, -0.051771678, -0.027086528, -0.032509, -0.009734625, 0.00622293, -0.01824274, -0.005051289, 0.029307159, -0.06873626, 0.010025114, 0.0073009687, -0.013840209, -0.041443165, -0.027009064, -0.035194412, 0.010502808, -0.0075979135, 0.014834329, -0.03310289, -0.0174681, -0.001026396, -0.011083787, 0.0033277182, -0.017958704, -0.005813017, -0.009166556, -0.016706372, 0.025821285, -0.008740505, 0.01808781, -0.0046284655, 0.03271557, -0.030778972, 0.015247469, -0.030985544, 0.039093427, 0.01890118, -0.035504267, 0.0074623516, -0.034652166, -0.0036956714, -0.020631207, 0.03509113, -0.026673388, 0.04056524, 0.04518725, -0.0131817665, -0.04002299, -0.008772782, -0.040074635, -0.031656895, 0.06315886, -0.024995005, -0.030856436, 0.028196843, 0.010554451, -0.031605255, 0.036253083, -0.024259098, 0.019714551, -0.05324349, 0.0034051822, 0.0055160723, -0.013130124, 0.08113048, 0.057788037, 0.022361234, -0.0138918515, 0.0061228722, -0.02453022, -0.049551047, 0.06651563, -0.014279171, 0.021935182, 0.027318921, 0.02853252, -0.0015331388, 0.014201707, 0.029771943, 0.06470814, 0.008966441, -0.03715683, 0.054741126, 0.026195694, 0.017726313, 0.021108901, -0.017196976, -0.02611823, 0.060938235, 0.024801346, 0.017429369, 0.0075333603, -0.017300261, -0.011651855, 0.03276721, 0.0028467968, 0.023355354, 0.006058319, 0.024814256, 0.0153120225, -0.028842377, -0.009896007, -0.008391918, 0.01566061, -0.051720034, -0.0055418937, -0.05200407, -0.03034001, -0.05221064, 0.031269576, -0.012852545, -0.010560906, 0.027318921, -0.0011240329, 0.011813238, 0.017558474, 0.003737631, 0.019946944, 0.02007605, 0.02246452, -0.028196843, 0.008456471, 0.034264848, -0.013581997, -0.010644825, 0.032638106, 0.013439979, -0.009256931, 0.022141753, -0.015802627, 0.019198125, 0.01105151, 0.008404829, 0.00029654132, 0.01705496, 0.008811514, 0.024142902, -0.0073397006, 0.017842509, -0.021354204, -0.00030158454, 0.0042185527, -0.013375426, -0.058562677, 0.027577134, 0.012633064, -0.007552726, 0.02370394, 0.015195827, -0.026195694, 0.010967591, 0.031192113, 0.036253083, 0.012529779, -0.03132122, -0.0013007473, -0.005603219, 0.027783703, 0.03188929, -0.007384888, -0.01526038, 0.0122457445, -0.013007473, -0.013246319, 0.014111333, 0.028196843, -0.007694743, 0.023445727, 0.029023126, 0.0052869082, -0.021573685, -0.012800902, -0.0069652917, -0.016138304, -0.00517394, -0.01687421, 0.024233276, 0.0067199897, 0.0029694478, 0.035994872, -0.028455056, 0.04975762, -0.028584164, -0.0013088164, 0.014679401, -0.0013669144, 0.011251626, 0.011212894, -0.025007915, -0.007371977, 0.023174604, -0.01204563, 0.0051158424, -0.007940046, -0.01766176, 0.014692312, 0.021173455, 0.022257948, 0.0013959632, -0.029023126, -0.00019587866, 0.0058904807, 0.0072170496, -0.0076172794, 0.060266882, 0.023174604, -0.035220236, 0.014885971, -0.0030969405, -0.011090242, -0.008727594, 0.019327233, 0.008592033, 0.01284609, 0.03638219, -0.0034923288, 0.0134658, -0.0022803424, -0.06104152, 0.04598771, 0.03034001, -0.0035310609, -0.016125392, -0.0064714598, -0.021405846, 0.021741522, 0.0312954, -0.026169874, 0.0014242053, -0.04397365, -0.018772075, 0.014640669, 0.017093692, 0.028868198, 0.0041120397, -0.001846222, 0.014201707, 0.0066748024, -0.05197825, -0.027628776, -0.01946925, -0.0009925057, -0.06687713, 0.026014946, 0.028558342, 0.013724013, 0.04456754, 0.027034886, -0.0063133044, 0.020592475, 0.028480878, 0.04774356, -0.015402397, 0.0077399304, -0.014447009, -0.017364815, 0.024723882, -0.038886856, -0.020669939, -0.006038953, 0.00943768, -0.020037318, -0.0069459258, -0.05706504, 0.003350312, 0.005771057, 0.009863731, -0.016357785, -0.058252823, 0.02551143, 0.012297387, 0.044257686, -0.039713137, 0.025446877, -0.011006323, 0.0016638591, 0.0006051864, 0.02206429, -0.01608666, 0.007907769, 0.014924703, -0.004954459, -0.021754432, -0.033283636, -0.03813804, -0.01566061, 0.016693462, 0.018849539, -0.00953451, 0.012452316, -0.020799046, 0.0029242607, -0.004189504, -0.011845515, -0.032405715, 0.03795729, -0.00075850025, -0.006077685, 0.010373701, -0.018371845, -0.035814125, -0.09770775, 0.017429369, 0.003158266, -0.018630058, -0.038783573, 0.023458637, 0.004831808, -0.0013354446, 0.0012402287, -0.0025918116, 0.01215537, -0.023135873, 0.029436266, 0.025885839, 0.0005628233, 0.03511695, -0.034574702, -0.008598488, -0.054276343, 0.0037602247, -0.023858868, 0.0072751474, 0.0036795333, 0.037647434, 0.0007778662, 0.00251112, 0.0020721583, 0.01546695, 0.016603086, 0.010483442, -0.014279171, 0.008617854, 0.008546846, -0.03377424, -0.0067329, -0.0025078924, -0.010050936, -0.00061002787, -0.009547421, 0.009108459, -0.03010762, 0.015531504, 0.04141734, 0.01566061, -0.01364655, -0.015144184, 0.06264244, 0.00085694395, 0.025950393, 0.033206172, -0.002627316, -0.034058277, 0.019792015, -0.019998586, -0.037983112, -0.035839945, -0.034058277, -0.01585427, -0.034445595, -0.0036763055, 0.010935315, -0.029178053, -0.0112774465, 0.013724013, 0.004053942, -0.00025438002, 0.03031419, -0.02752549, 0.010315604, -0.020140603, -0.0063972236, -0.012742804, -0.022438698, -0.0038280056, 0.004918955, -0.11557607, 0.022748552, 0.031398684, -0.01385312, -0.0032583235, 0.017338993, 0.007029845, 0.0076172794, -0.027602954, -0.019417606, 0.0072557814, -0.0074946284, 0.023006765, -0.002322302, 0.043818723, -0.030262547, 0.009818544, 0.024840077, -0.0035601098, -0.012426494, -0.0297203, 0.00044259298, 0.016357785, 0.033877525, -0.010205863, -0.0011869723, 0.0015073175, -0.016951675, 0.008056241, -0.011103153, -0.015118363, -0.010980502, 0.012200558, 0.041598093, -0.011025689, -0.024013795, 0.014524473, -0.0098572755, 0.023858868, 0.0014572889, 0.0065489234, -0.09218199, 0.028997304, -0.038215503, -0.009747535, -0.03496202, 0.04035867, -0.013123669, 0.01345289, -0.0075010834, -0.051126145, -0.016280321, -0.0068426407, -0.0245044, 0.0077592963, -0.015505682, 0.03434231, -0.010276872, -0.052288104, 0.01806199, -0.019856568, -0.0011910069, 0.011425919, -0.028274309, 0.002891984, -0.020786135, -0.0008997104, -0.012187647, 0.020205157, -0.019017378, 0.0107352, 0.018294381, -0.012684707, 0.023161693, 0.016125392, -0.013297962, -0.014033869, -0.012633064, -0.0119939875, 0.008372552, 0.020334262, -0.0036698503, 0.006700624, -0.0068426407, 0.009605519, -0.0002731408, -0.017984526, -0.009799178, -0.011677677, 0.030210905, -0.0063133044, -0.00993474, -0.01888827, 0.009373127, -0.018449308, -0.014072601, 0.026221516, -0.028222665, 0.011942345, 0.012671796, 0.033851705, 0.032560643, -0.025666358, -0.050919577, -0.008307999, 0.02170279, 0.021573685, -0.015040899, 0.01193589, 0.03594323, -0.009657161, -0.043508865, -0.021909362, 0.04761445, 0.03793147, 0.023329532, 0.030417474, 0.002015674, 0.013969315, 0.0006604601, 0.0044283504, -0.015621878, -0.007746386, 0.018772075, -0.0024239733, -0.069201045, -0.019998586, 0.0030420702, -0.009592608, -0.031501967, -0.005086793, 0.021676969, -0.0058097895, 0.024323652, -0.02410417, 0.0065005086, -0.013123669, 0.008508114, -0.030443296, -0.0037989567, 0.02471097, 0.01764885, 0.041107487, 0.026879959, -0.034910377, -0.021509131, -0.03132122, 0.015221648, -0.0030227043, -0.00030400528, 0.018810807, -0.01626741, 0.027577134, 0.020347172, -0.015880091, -0.0031372863, 0.011264536, -0.02410417, 0.01385312, 0.013762745, 0.008695318, -0.004299244, -0.015157095, -0.0042476016, -0.012736349, 0.007087943, -0.032302428, -0.0017445507, 0.01786833, 0.04862148, 0.017209888, -0.018784985, 0.005499934, 0.0076237344, 0.01486015, -0.0020673168, -0.016525622, 0.031011363, 0.013814388, -0.0025740594, 0.0129493745, -0.03294796, -0.05277871, 0.018436398, 0.04717549, -0.009753991, 0.010509264, -0.023962153, -0.0025450105, 0.009366672, 0.024336562, 0.051229432, -0.02168988, 0.0056839106, 0.00157994, 0.02069576, -0.028764913, 0.016331963, -0.008740505, -0.005690366, -0.027009064, 0.017222797, 0.013013928, -0.03307707, -0.014382456, 0.002625702, -0.0009021312, -0.010625459, -0.0025353276, 0.023858868, 0.0052675423, 0.01003157, -0.0015395941, -0.04433515, -0.010838484, -0.045109786, 0.026673388, 0.018113632, -0.013814388, 0.008985807, 0.0086565865, -0.010354335, -0.019507982, 0.025756733, -0.011103153, 0.009760446, -0.01404678, -0.012207013, -0.010825574, -0.012491047, -0.00013394792, 0.003330946, -0.028403414, -0.033722598, -0.0035439716, 0.033206172, -0.013504532, -0.018578416, 0.019185215, -0.023161693, -0.007365522, -0.0042572846, 0.00258697, -0.03958403, 0.013556175, 0.003873193, 0.031760182, 0.0373634, -0.004551002, -0.037983112, -0.023949243, -0.006803909, 0.023962153, -0.0063520363, 0.029229695, -0.019404696, -0.017777955, 0.01788124, 0.0401521, 0.025343591, -0.008798603, -0.0015589602, 0.010205863, -0.032070037, -0.0333611, 0.005719415, 0.0059711724, 0.044722468, 0.0012789606, -0.006442411, -0.013607818, -0.008585578, 0.0365113, 0.0038796482, 0.006600566, 0.003292214, -0.0155444145, 0.01890118, 0.03392917, -0.03553009, -0.012471681, -0.028455056, -0.01888827, 0.012917099, 0.009760446, -0.016499802, -0.009689437, 0.0015379804, 0.012052085, 0.02311005, 0.033645134, 0.008314454, 0.023549013, -0.009282752, 0.025588894, -0.026957422, -0.012820268, 0.0014242053, 0.00025074888, -0.0027999957, -0.0072041387, -0.024581864, 0.02127674, -0.0019333687, 0.006400451, 0.005696821, -0.02370394, 0.010683557, -0.046452492, 0.00953451, 0.03754415, 0.000875503, 0.0232908, 0.044309326, 0.023845958, -0.016564354, -0.018436398, 0.010451165, 0.021044347, 0.008682407, 0.0349362, 0.029358802, 0.0034213203, 0.008966441, -0.015402397, -0.027086528, -0.0061583766, -0.017558474, 0.017403547, 0.039015964, -0.03052076, 0.012665341, 0.031811826, -0.012981651, -0.02107017, 0.006887828, 0.01986948, -0.03170854, 0.00058339967, 0.0039054696, 0.009682982, -0.0005910654, 0.03576248, -0.0039022418, -0.021754432, 0.013762745, 0.007197683, 0.03875775, -0.017855419, -0.008385463, 0.05964717, -0.009030995, 0.027422206, 0.00924402, -0.0073267897, 0.022942213, 0.01808781, -0.013840209, -0.01567352, -0.021961004, -0.014692312, 0.051281072, -0.040048815, 0.011187072, 0.011942345, -0.0025885839, -0.015763896, 0.060783308, -0.0075462707, 0.043922007, 0.038628645, -0.01052863, -0.011774506, 0.0285067, 0.015802627, -0.017390637, -0.036846977, 0.0055128443, -0.02188354, 0.0046575144, -0.03188929, -0.013439979, -0.015583146, -0.016099572, -0.0077786623, 0.023071319, 0.013233409, 0.012200558, -0.023549013, -0.05365663, -0.0062939385, -0.015428218, -0.021160543, 0.0186817, 0.02048919, -0.058149535, 0.019236857, -0.0018107176, 0.008411284, -0.0245044, -0.016448159, 0.0066554365, 0.04438679, -0.014911792, -0.0039151525, -0.028222665, 0.019559624, 0.01826856, -0.015350754, -0.018358935, -0.012775081, 0.058614317, 0.0019672592, 0.022348322, 0.0026886414, -0.001997922, -0.0007084715, 0.007333245, -0.0027144626, 0.008572667, 0.041598093, 0.011258081, 0.0006774053, 0.005667772, -0.01052863, 0.008049786, -0.011458196, -0.004634921, 0.0033470842, 0.018139454, 0.0029129637, 0.017635938, -0.020450458, 0.0018316974, -0.000542247, -0.014627758, -0.014408277, 0.013065571, -0.030804794, 0.014072601, -0.021599505, 0.028764913, -0.0034923288, -0.028868198, -0.01865588, -0.013956405, 0.023987975, -0.012071451, 0.021108901, 0.02853252, -0.04479993, -0.02592457, 0.030830616, 0.028480878, 0.0071783173, 0.004547774, -0.03816386, -0.021522041, 0.028041916, -0.0073009687, -0.024414025, -0.0076689217, 0.019107752, 0.012523323, 0.018526772, 0.016177036, -0.021961004, 0.02309714, 0.005060972, -0.0093795825, -0.011342, 0.004767255, 0.008727594, -0.015905913, -0.0061874255, 0.044722468, -0.024491489, 0.0034955565, -0.010793298, 0.016409427, -0.014718133, 0.013620729, 0.027990274, 0.01946925, 0.021380024, 0.02370394, 0.038886856, -0.027783703, -0.032199144, -0.0061616045, 0.00652633, -0.023432817, 0.00934085, 0.0049415487, -0.023355354, 0.030830616, 0.01003157, 0.0036408014, -0.008340275, -0.010999868, -0.013736924, 0.0013201132, -0.036046516, 0.040642705, -0.023962153, 0.01505381, 0.0073267897, 0.0011522749, 0.018707521, 0.00049827015, 0.030675687, 0.0014936, 0.024982095, 0.012852545, 0.032018393, -0.024568953, -0.008275722, 0.0018897954, -0.01123226, -0.018410577, -0.048879694, 0.009308574, 0.029771943, 0.01608666, -0.020050228, -0.043044083, -0.018526772, 0.005606447, -0.014989257, 0.010464076, -0.018294381, 0.001094177, 0.004118495, 0.014911792, -0.0067974534, -0.013401248, -0.013323784, 0.0046865633, 0.04340558, 0.004189504, 0.017351905, -0.042295266, 0.009818544, -0.030391654, 0.01244586, 0.015970465, -0.009566787, -0.0028516382, 0.01726153, 0.024052529, 0.005212672, -0.031837646, -0.004344431, 0.0045025866, 0.016383605, -0.00883088, 0.024749702, 0.049886726, 0.013866031, 0.018397667, 0.02512411, -0.029255517, 0.008785692, 0.043637972, -0.025317771, 0.041443165, -0.018849539, -0.045471285, -0.002874232, 0.0007165407, -0.015363665, 0.02411708, -0.022864748, -0.017364815, -0.04214034, 0.025575984, 0.009825, 0.009566787, -0.0022964806, 0.0148472395, -0.0020995934, -0.016009197, -0.017726313, -0.05840775, 0.052520495, 0.00044339988, 0.004024893, 0.0059130746, -0.041675556, 0.03671787, 0.009702348, 0.022232126, 0.0061874255, -0.01193589, -0.018023258, 0.023445727, 0.029642835, -0.017403547, -0.022322502, 0.034910377, 0.039067604, -0.0030501394, 0.018191095, 0.0000057272064, 0.010412433, -0.018591326, -0.004392846, -0.02030844, 0.018513862, 0.022412876, -0.031088829, -0.019120662, 0.036072336, 0.023794316, 0.04157227, 0.006248751, -0.020011496, 0.0026127913, -0.0021641466, -0.044102754, 0.00095054606, 0.0014936, -0.0005470885, -0.029255517, 0.00974108, 0.00245625, 0.017158244, 0.0018139454, 0.00014746375, -0.0031550385, 0.009405403, 0.01949507, -0.02809356, -0.0052158996, -0.012432949, 0.010457621, -0.038577, 0.011083787, 0.023910511, 0.0186817, 0.0146148475, -0.00964425, -0.022632357, -0.0029516958, -0.019843658, -0.016925853, -0.017403547, -0.014292082, -0.0008254742, 0.020024408, 0.004757572, 0.00863722, 0.008695318, -0.019817837, 0.0047640274, 0.025834197, -0.031037185, 0.027215635, -0.0018978645, 0.0076624667, 0.036408015, 0.010070302, -0.021948094, -0.01647398, -0.010593182, -0.015324933, -0.015944645, 0.013711103, -0.013749835, 0.0357883, 0.009502233, -0.009908918, 0.006971747, 0.02591166, 0.0217157, 0.007694743, 0.012833179, -0.016577266, 0.004289561, 0.0022625902, 0.019843658, -0.0034858736, 0.020114781, 0.009896007, -0.0023271434, 0.03090808, -0.0022383828, 0.022748552, -0.00823699, -0.033025425, -0.014769776, -0.008023964, -0.0067135342, -0.036253083, -0.018617148, 0.012794447, -0.003931291, -0.009902463, -0.014576116, -0.013388337, 0.033231996, 0.012019808, -0.045471285, -0.02512411, 0.023458637, 0.00007453879, 0.007856126, -0.051332716, -0.00251112, -0.01606084, -0.030159261, 0.02371685, 0.016938763, 0.0048673125, 0.013594907, -0.0026918692, 0.017545564, 0.03780236, -0.0074171643, -0.032586463, 0.021108901, 0.024930451, 0.016603086, 0.018358935, -0.025072468, -0.015324933, -0.013123669, 0.015105452, 0.049086265, -0.007914224, 0.044102754, -0.035246056, -0.015441129, -0.015738074, 0.046323385, 0.011335544, -0.02028262, 0.011380732, 0.029384624 ]
2401.09350
341
Fig. 9.2: The probability that the angle between a fixed data point u with a unit-normed query q that is drawn from a spherically-symmetric distribution is at most θ, is equal to the surface area of the spherical cap with base radius a = sin θ. This fact is used in the proof of Theorem 9.1. can be decomposed into two components: one that is parallel to the data point, r∥(u, ˜u), and another that is orthogonal to it, r⊥(u, ˜u), as depicted in Figure 9.1. More concretely: r∥(u, ˜u) = ⟨u − ˜u, u⟩ ∥u∥2 u, and, r⊥(u, ˜u) = r(u, ˜u) − r∥(u, ˜u). Guo et al. [2020] show first that, regardless of the choice of ω, the loss defined by ℓ(u, ˜u, ω) in Equation (9.2) can be decomposed as stated in the following theorem.
2401.09350#341
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 341, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Fig. 9.2: The probability that the angle between a fixed data point u with a unit-normed query q that is drawn from a spherically-symmetric distribution is at most θ, is equal to the surface area of the spherical cap with base radius a = sin θ. This fact is used in the proof of Theorem 9.1.\ncan be decomposed into two components: one that is parallel to the data point, r∥(u, ˜u), and another that is orthogonal to it, r⊥(u, ˜u), as depicted in Figure 9.1. More concretely:\nr∥(u, ˜u) = ⟨u − ˜u, u⟩ ∥u∥2 u,\nand,\nr⊥(u, ˜u) = r(u, ˜u) − r∥(u, ˜u).\nGuo et al. [2020] show first that, regardless of the choice of ω, the loss defined by ℓ(u, ˜u, ω) in Equation (9.2) can be decomposed as stated in the following theorem.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.035647016, 0.0074521196, 0.05646962, 0.027185697, 0.032043543, -0.017766492, -0.012509526, 0.013022679, -0.0017119349, 0.010713491, -0.010799017, 0.000043319542, -0.021951538, 0.029329535, 0.019705068, 0.03206635, -0.011420501, 0.020571727, -0.014584944, -0.002068291, -0.0040567582, 0.007201245, 0.015189324, -0.015086694, 0.029968126, 0.005838539, 0.026205005, 0.014630558, 0.05154335, 0.010445511, 0.0074749263, -0.01497266, -0.02866814, -0.030515488, 0.0038115853, 0.06486252, -0.014733188, 0.061076593, -0.036354028, 0.004860698, -0.00096643786, -0.00086166913, -0.02144979, -0.016534925, 0.012463912, -0.0077771163, -0.0020896725, -0.0069617736, 0.003460931, -0.00052277447, -0.005462227, 0.034917198, 0.0181314, 0.023810292, -0.023559418, -0.00092011155, -0.0070016854, 0.08611845, 0.06071168, -0.04016276, 0.0155542325, 0.0150638865, 0.000859531, 0.019055076, -0.00094719464, -0.020218221, -0.023992745, 0.03373125, 0.018496308, 0.046936378, 0.0016435145, 0.013307763, 0.06924142, -0.00065747707, 0.049810037, -0.013581445, -0.010650773, 0.043766234, -0.009139822, -0.013353378, 0.03911365, -0.026068164, 0.04502061, -0.004649735, -0.03890839, -0.035510175, -0.03354879, 0.03354879, -0.058750298, 0.030834785, -0.02108488, 0.0108161215, 0.011363485, -0.028212003, 0.023969939, 0.020047171, 0.03562421, 0.020993654, 0.043834656, -0.043469746, -0.031382147, -0.024357654, 0.020537516, -0.023468189, 0.06509059, -0.0057530133, -0.041850466, 0.0038971107, -0.023080474, 0.013513025, 0.07302735, -0.010759104, -0.0057758205, 0.039341718, 0.014653364, -0.038634706, -0.020035768, -0.0065284446, 0.024198007, 0.02339977, 0.004173643, -0.032476872, 0.06093975, 0.005798627, 0.0003980498, -0.0026569914, -0.0041280296, -0.06819231, -0.010382792, 0.0027439422, 0.04089258, -0.0120876, 0.009983674, -0.034803167, 0.0014354025, -0.0021495402, 0.0121104065, 0.0024331997, 0.026501494, 0.02367345, 0.020640148, 0.059434503, -0.045887265, -0.018621746, -0.004592718, 0.009578853, -0.0456592, 0.028052354, 0.046936378, 0.022704162, -0.016078789, -0.03662771, -0.041964497, -0.0060438, 0.012224441, -0.017207725, 0.019454194, 0.0315646, -0.0005691007, -0.044952188, 0.014493717, -0.014641961, -0.008307374, -0.028759366, 0.01564546, -0.0157823, -0.015086694, -0.0547363, -0.037768047, -0.054234553, -0.06285552, -0.01997875, -0.023297139, -0.03199793, 0.0402996, 0.016683169, 0.02001296, -0.03541895, 0.021928731, -0.033822473, -0.0054878844, 0.028782172, 0.0557398, -0.019260336, 0.029762864, 0.06536427, -0.007742906, 0.00068277837, 0.0018003113, 0.013376184, -0.023490997, 0.035578597, 0.029420763, -0.024083974, -0.031404953, -0.031747054, 0.021518208, 0.003925619, -0.017652458, -0.0014503695, 0.04173643, 0.03598912, 0.04287677, -0.025862902, -0.028645331, -0.025087472, 0.064543225, -0.01269198, -0.06331166, 0.0007547623, -0.015086694, 0.013912143, 0.0027553455, 0.009373592, -0.0062433593, 0.024494495, -0.038246993, 0.033252303, -0.027961127, 0.049581967, -0.020640148, 0.079550095, 0.055283666, 0.02538396, -0.061806407, 0.02360503, 0.07658521, -0.05902398, 0.027983936, -0.028029548, 0.025612028, -0.0011880914, 0.026729561, -0.024334848, 0.00913412, -0.045408323, 0.020309448, 0.001146754, -0.057062596, -0.03913646, -0.026797982, 0.042010114, 0.020184012, -0.01997875, 0.0061065187, 0.0021139046, 0.0006482118, 0.0638134, 0.022350658, 0.019431388, -0.024152394, 0.01561125, 0.00433044, -0.0137068825, -0.02168926, -0.02866814, -0.0009008683, 0.008130621, 0.0013676948, -0.0007166322, 0.0035379038, -0.03334353, -0.030469876, 0.039090842, 0.029397955, -0.013912143, -0.025110278, -0.0265243, 0.0024431776, -0.0114946235, -0.0191349, 0.0036120259, -0.028599719, 0.02008138, -0.039546978, 0.011870936, 0.001285733, 0.029922511, -0.0053054304, -0.028508492, 0.011357782, 0.007896852, 0.02901024, 0.024699757, 0.020491904, -0.039592594, -0.033092655, -0.008866141, -0.026866402, -0.027938321, 0.052866146, -0.038566288, 0.010012182, 0.0033354934, -0.034871586, 0.01934016, 0.0038857074, -0.021210317, -0.03598912, 0.0021495402, 0.02894182, 0.011334976, 0.06645899, 0.013113906, -0.03831541, 0.008273164, 0.037038233, 0.042534668, 0.00080536486, 0.023354156, 0.011300766, 0.02196294, -0.027345344, 0.050676692, -0.045545164, -0.02816639, 0.02186031, -0.008786317, 0.015348972, -0.0015152263, 0.028052354, -0.022270834, 0.00088518864, -0.03669613, -0.0038657514, 0.021062072, -0.06280991, -0.012213037, 0.03176986, -0.043766234, 0.043127645, -0.02901024, -0.027824286, 0.014858626, -0.018245434, -0.015234938, -0.0028551253, 0.05140651, 0.002179474, -0.021210317, -0.051588964, -0.004874952, 0.0045242975, -0.024083974, 0.017367372, -0.008250358, -0.00022111899, 0.0054479726, 0.06860283, -0.0050802133, -0.045818847, -0.010297267, 0.001654918, 0.025794482, 0.043127645, -0.002279254, -0.016432295, -0.086346515, -0.06641338, -0.012520929, -0.021632243, -0.027413765, 0.022407673, -0.021210317, 0.009111314, 0.01796035, 0.015417392, 0.0033583003, -0.0007846962, -0.04045925, -0.057655573, 0.048396014, -0.0631292, -0.023285735, -0.026843594, 0.025110278, -0.020434886, 0.02179189, 0.013946353, -0.0019998706, 0.039661013, -0.0070929127, -0.024973437, 0.012885838, 0.026843594, 0.010975769, 0.036855776, 0.03462071, -0.019990154, -0.01973928, -0.007298174, -0.002447454, -0.03505404, 0.019659456, 0.008341584, 0.017720878, 0.037083846, 0.037882082, 0.011659972, -0.0025401067, -0.017127901, -0.027071662, 0.01067928, -0.056013484, -0.027596219, 0.0042335107, 0.024654143, 0.0004646884, -0.011905146, 0.023924327, 0.0013840873, -0.03890839, 0.02467695, -0.015941948, 0.013752496, -0.006619672, 0.022076976, -0.009556046, 0.018884024, 0.01614721, -0.0059468714, -0.04216976, 0.00929947, 0.000043475447, -0.02729973, -0.0062376577, 0.030333035, 0.07526242, 0.016512118, -0.08402023, 0.0241752, 0.0031302322, -0.013113906, -0.0061464305, -0.06271868, -0.04166801, 0.021917328, -0.032978624, -0.021381369, -0.043492556, -0.030059353, -0.0011424777, -0.05496437, -0.00086737087, 0.012988469, 0.010428406, 0.0011731244, -0.010987173, -0.002682649, 0.0396154, -0.0039968905, -0.012589349, 0.018313855, -0.0433101, -0.034962814, -0.047711812, 0.01514371, 0.027938321, 0.020959442, 0.016363874, 0.0201498, -0.016865624, -0.042397827, 0.01799456, -0.013364781, 0.014835819, 0.017048078, -0.0010747701, -0.04392588, 0.0058242846, -0.044906575, -0.021301545, 0.09172892, -0.03653648, -0.0069845803, 0.0028565507, -0.010907348, -0.035350528, 0.044815347, -0.013250747, 0.03186109, -0.04472412, -0.02460853, 0.002162369, 0.008985876, 0.04039083, 0.08105534, 0.009618765, -0.0042591686, -0.0063060783, -0.06057484, -0.04472412, 0.093690306, -0.009139822, 0.012600753, 0.018382275, 0.0081135165, -0.00362628, -0.025338346, 0.03904523, 0.06755372, 0.01816561, 0.014892836, 0.033936508, 0.0034723342, 0.03610315, -0.0049006096, 0.037585594, -0.009373592, 0.07672205, -0.010456914, 0.03710665, -0.011597254, -0.0041109244, -0.017937543, 0.029876899, -0.031108465, 0.027573412, 0.005151484, 0.011882339, -0.0056532337, -0.0325681, -0.016762992, -0.022487497, 0.00517144, -0.02239627, -0.015371778, -0.062262543, -0.029785672, -0.042967997, 0.013284957, -0.034255803, -0.008330181, 0.040869772, -0.0015537128, -0.002340547, 0.011882339, 0.008079306, 0.013786706, 0.0068477397, -0.013684075, -0.020765584, 0.01638668, 0.025338346, -0.0064828307, -0.012589349, -0.009915253, -0.008860439, -0.007355191, 0.012486719, 0.0070758075, -0.0046953484, -0.0031958017, 0.011545938, 0.00755475, 0.008826229, 0.0049177147, 0.02256732, -0.026797982, 0.0055506034, 0.019602438, 0.0034922902, 0.0038258394, 0.020229625, -0.028531298, 0.02736815, 0.016192824, -0.039797854, 0.02609097, 0.04052767, -0.003569263, 0.01876999, 0.006271868, -0.015725283, 0.028280424, -0.012646367, 0.038201377, 0.008506934, 0.008307374, 0.014721785, -0.032248806, 0.012680577, -0.019362967, 0.005265518, 0.016728783, 0.004313335, 0.029626023, 0.00892886, 0.014584944, 0.0036775954, 0.019157706, -0.02830323, -0.03696981, -0.023924327, -0.025338346, -0.021598034, 0.011477519, 0.025292734, 0.0023818845, 0.011454712, 0.034871586, -0.0055249454, 0.029101467, -0.02041208, -0.010833226, -0.012338475, 0.017070884, 0.031245306, 0.005670339, -0.0031501884, 0.0052797724, 0.00956745, -0.03710665, -0.017139304, 0.03411896, -0.01802877, 0.011950759, -0.0020426335, 0.029352343, 0.025976937, -0.019511212, -0.006477129, 0.02659272, 0.020799795, -0.0055306475, 0.034164574, 0.0025058964, -0.02873656, 0.014550733, -0.04102942, -0.009168331, 0.011927953, 0.019385774, 0.022248026, 0.026068164, 0.023285735, -0.02729973, 0.025703255, 0.004612674, -0.055283666, 0.0067108986, 0.028348843, 0.027961127, -0.015485812, -0.040778544, -0.011277959, -0.010588054, 0.0016705976, -0.06522743, -0.00822755, -0.0315646, -0.02951199, 0.020548921, -0.008632371, -0.013068292, -0.017139304, 0.0072639636, 0.00362628, 0.011198135, -0.010924454, -0.036741745, 0.017515616, 0.027619027, -0.06230816, -0.032887395, 0.026319038, 0.014003371, -0.0005559156, 0.01671738, -0.007988079, 0.036855776, 0.013068292, 0.012931451, 0.02205417, -0.015805107, 0.0069161598, -0.03377686, -0.025110278, -0.028896207, 0.007429313, -0.028052354, 0.0009457692, -0.02709447, -0.0029092915, -0.012349878, -0.002947778, 0.015816512, 0.012874435, -0.023741871, -0.048441626, -0.0040168464, 0.030606715, 0.06504497, -0.010456914, -0.000765453, 0.027390959, -0.015770897, -0.018484905, 0.021096284, -0.0070986142, 0.00661397, 0.03719788, -0.014653364, -0.03206635, -0.034689132, -0.030036546, 0.021404175, 0.014482314, 0.055785414, -0.020172609, 0.0031672933, 0.003306985, -0.005048854, -0.004005443, 0.01098147, -0.011346379, 0.010770508, 0.016341068, -0.033229496, 0.017093692, -0.00752054, -0.031336535, -0.0752168, 0.010890244, 0.017755087, -0.005462227, -0.04556797, -0.008558249, -0.004492938, -0.020400677, -0.020434886, -0.012144617, 0.01447091, -0.007560452, 0.0031758458, 0.00967008, 0.014163018, 0.04898899, -0.038976807, -0.010291565, -0.029192695, 0.016238436, -0.024129586, 0.0018159909, 0.012064793, 0.055146825, 0.008415706, -0.00045292865, 0.009652975, 0.057564344, 0.0062091495, 0.007258262, -0.031952318, -0.00396268, 0.0011403396, -0.040846966, -0.0006703059, 0.014527927, -0.018074384, 0.0051657385, 0.02901024, -0.012338475, -0.013923547, 0.039273296, 0.00812492, -0.0191349, -0.010365687, -0.019556824, 0.050174944, -0.009806921, 0.016683169, 0.04424518, 0.012634963, 0.023627838, -0.008181937, -0.003098873, -0.025019052, 0.031496182, -0.039843466, -0.015816512, 0.005040301, -0.03610315, 0.02716289, -0.026136585, -0.005208501, -0.010605158, -0.008147727, 0.002108203, 0.021483999, -0.036878582, 0.016785799, 0.0040909685, 0.015120904, -0.004815084, 0.031838283, 0.019556824, -0.020982249, -0.083062336, -0.008860439, 0.006328885, -0.027322538, 0.035669822, 0.019294547, 0.01937437, -0.016626151, 0.041439943, -0.014345473, 0.008638073, 0.018336661, -0.0086665815, 0.032796167, 0.027231311, -0.025771676, -0.004136582, 0.048760924, 0.0017133603, -0.0043019312, 0.023787485, -0.01333057, 0.02837165, 0.07188701, -0.0086038625, -0.008136324, 0.010713491, -0.011848128, 0.036878582, -0.024426075, -0.039797854, 0.01433407, 0.021027863, 0.040755738, -0.036650516, -0.004723857, 0.0040567582, 0.016546328, -0.0061122207, 0.0154287955, 0.028827786, -0.042489056, 0.040482055, -0.014311262, -0.01826824, -0.016934043, 0.04586446, -0.029648831, 0.00453285, -0.026775174, -0.059981864, -0.019283144, 0.0033668529, 0.0067736176, -0.0007476352, -0.03272775, 0.040573284, -0.00466684, -0.04351536, 0.021905925, -0.02205417, 0.004407413, 0.03683297, -0.025612028, -0.03286459, -0.028987434, -0.020640148, 0.015748091, 0.0018844112, -0.04622937, -0.011870936, 0.016432295, -0.0017718027, 0.011813919, 0.0025771675, -0.02236206, -0.012520929, -0.004912013, -0.01997875, 0.0058898544, 0.01927174, -0.0040710126, 0.0028180643, 0.046343405, -0.005829986, -0.016591942, 0.005282623, -0.0129656615, -0.021438384, 0.013034082, 0.006442919, -0.023057668, 0.015086694, 0.02326293, 0.020537516, -0.025657643, 0.009179734, -0.021837505, 0.030059353, 0.014653364, -0.0057957764, -0.005359596, -0.035031233, -0.025908517, -0.02467695, 0.015223534, -0.002712583, -0.017823508, 0.02339977, -0.018541923, 0.021974346, -0.007480628, -0.057974868, -0.03320669, 0.020252433, 0.029238308, 0.017127901, 0.03931891, -0.013034082, 0.0060495017, 0.03370844, 0.0019200469, 0.014653364, 0.020389272, 0.0039968905, -0.066732675, -0.004535701, -0.013570041, -0.020811198, -0.004595569, 0.0013463135, 0.037585594, -0.0067850207, 0.017504213, 0.00564183, 0.024220813, -0.011642868, -0.0030561103, 0.017618248, 0.0014981212, 0.0060209935, 0.0073608924, 0.04408553, 0.011848128, -0.0028978882, -0.013775303, -0.025361154, -0.0026569914, 0.036354028, 0.016614748, 0.0041964496, -0.009778412, 0.00892886, 0.018610343, -0.015223534, -0.0067736176, 0.039889082, -0.012064793, -0.017344566, 0.04166801, -0.0017119349, 0.006995984, -0.008512636, 0.00047145918, 0.008957368, -0.027482186, -0.01873578, -0.0011289362, 0.010673579, 0.008615266, 0.0067907227, -0.048031107, -0.00416224, 0.040231183, -0.012190231, -0.0060894135, -0.040550478, 0.003948426, -0.007235455, -0.009841131, 0.004872101, -0.04358378, -0.037768047, 0.000045524495, 0.04018557, -0.014584944, -0.015736688, -0.058613457, 0.007497733, -0.017048078, 0.029808478, 0.019089285, 0.003917067, 0.010525335, 0.02994532, 0.059388887, -0.05459946, 0.041759238, -0.016899833, 0.010759104, -0.041987307, 0.045887265, 0.011198135, -0.0021139046, -0.008233252, -0.034803167, -0.020594534, -0.025361154, -0.018142805, -0.015748091, 0.008592459, 0.013376184, 0.018051576, -0.022441885, 0.0049205655, -0.030264614, 0.012372685, 0.039569784, -0.0530486, -0.004481535, 0.021472596, -0.025452381, -0.011226644, 0.038018923, -0.0066994955, -0.007400804, 0.020993654, -0.022042764, -0.040801354, -0.015805107, 0.000055279746, 0.023719065, 0.0005986783, -0.024289234, -0.0033868088, 0.022521708, -0.0110042775, -0.039980307, 0.024129586, -0.00933368, -0.0137068825, -0.011095504, 0.0035008427, -0.0053824033, 0.018541923, 0.010627965, 0.03484878, 0.05332228, -0.038589094, -0.010684983, -0.0065398477, 0.035441756, -0.005063108, 0.026478687, -0.0027425168, 0.016534925, -0.02212259, 0.025840096, 0.0046782433, 0.03881716, -0.037425946, -0.005063108, -0.013786706, -0.025634835, 0.0009992226, -0.025361154, 0.02823481, 0.02296644, -0.019123496, 0.010491124, -0.036217187, -0.012247248, 0.015588443, -0.007138526, 0.019032268, -0.017618248, 0.013661269, 0.025543608, 0.03874874, 0.020035768, -0.021210317, -0.0087292995, -0.022795388, -0.012555139, 0.033252303, 0.020526113, 0.002266425, -0.010029287, 0.0033126867, 0.021883117, 0.013855127, 0.004988986, 0.0069047567, 0.020834005, 0.0359207, -0.022841003, -0.0362628, 0.013672672, 0.0004233511, -0.010017884, 0.016762992, -0.033252303, 0.012384089, -0.021347158, 0.016033174, 0.0012322796, -0.0068990546, 0.021404175, -0.012543736, -0.02736815, 0.037813663, -0.032408454, 0.02901024, 0.0382698, 0.010901647, -0.012942855, -0.014231439, 0.031336535, 0.002494493, 0.029762864, -0.0061692377, 0.05341351, -0.0004354672, 0.009499029, -0.021267334, -0.0017846315, 0.000760464, -0.018587535, 0.009168331, 0.03931891, -0.022476094, 0.015166517, 0.0064714276, -0.008318778, -0.01735597, -0.02296644, 0.007429313, -0.033047043, -0.0039199176, -0.018017367, -0.011973566, 0.005134379, 0.0045642094, -0.010217443, -0.0049405214, 0.032317225, 0.0446557, 0.03320669, -0.0031216796, -0.018712973, 0.039706625, -0.010759104, 0.00486925, -0.017048078, 0.020503307, 0.030264614, -0.00079895044, 0.007201245, -0.019534018, -0.02333135, -0.00046967738, 0.033890896, -0.04976442, 0.0009942336, 0.03186109, 0.015383182, -0.016466504, 0.027504992, -0.025292734, 0.018108593, 0.023137491, -0.0265243, -0.0054479726, 0.00923105, 0.016033174, -0.0011382014, -0.024083974, 0.016785799, -0.033229496, 0.022989247, -0.0012871583, 0.014311262, -0.03498562, -0.010069199, -0.0117340945, -0.008039394, -0.013376184, -0.001520928, 0.01047402, -0.0228296, 0.0070872107, -0.023901518, -0.008164831, -0.0010227421, 0.018998059, -0.044746928, -0.0105766505, 0.018941041, 0.013182326, -0.032545295, 0.019465597, -0.0018915384, 0.02901024, -0.017367372, -0.013581445, -0.013102503, -0.0016093043, 0.03411896, -0.005140081, 0.0072069466, -0.0006831347, 0.03377686, -0.034050543, 0.032408454, -0.019169109, -0.008883246, -0.012783207, 0.0058442405, -0.0033012833, -0.010154724, 0.014790205, 0.03263652, 0.0062490613, -0.010605158, -0.0011973566, 0.023354156, -0.017789299, 0.019283144, -0.033024237, 0.05583103, 0.0061863423, 0.0040168464, 0.012931451, 0.002588571, -0.0061692377, -0.025110278, 0.00527122, -0.018188417, -0.018564729, -0.0029876898, -0.0483504, 0.009487626, 0.017515616, -0.016033174, -0.011135417, 0.014048984, 0.018678764, -0.033936508, 0.024083974, 0.0402996, -0.034825973, -0.021700663, 0.03432422, 0.010821823, 0.035692632, -0.008957368, -0.03596631, -0.041211873, 0.0540521, -0.04479254, 0.007383699, -0.011950759, 0.019385774, -0.0060723084, -0.018188417, 0.03249968, -0.026045358, 0.025703255, 0.011591553, -0.029534796, 0.03455229, 0.023034861, 0.013809513, -0.00547363, 0.011859532, 0.018827008, -0.0052883253, 0.021609437, -0.006420112, 0.01447091, 0.0022821047, 0.014014774, 0.018348064, -0.0052056503, 0.0016606196, 0.010873139, 0.012281458, -0.024585722, -0.026410267, 0.0034267206, -0.009413504, -0.020366466, 0.00085668016, 0.013273553, 0.008005184, -0.0029734357, 0.016911237, -0.038954, 0.004199301, -0.0114319045, -0.0017105094, 0.008769212, -0.027664639, 0.043082032, -0.0045157447, 0.03571544, 0.02602255, -0.0043760533, 0.0066025667, 0.0020939487, 0.04821356, -0.00075761316, 0.011397694, 0.008170534, 0.03890839, -0.017219128, -0.021130493, 0.0011966439, -0.008421408, -0.0034523783, -0.039706625, -0.016170016, 0.0036120259, -0.014984063, -0.027322538, -0.04721006, -0.00014084976, -0.012646367, -0.0015095246, 0.062262543, -0.0012016329, 0.0011453286, 0.002833744, 0.021176107, 0.0059012575, -0.002360503, -0.02894182, 0.0062262546, -0.0021609436, -0.0055677085, 0.018690167, -0.032978624, 0.047939878, -0.032704942, -0.010639369, 0.032180384, 0.020491904, -0.031678636, 0.015919141, 0.0072297533, 0.06208009, -0.0009828302, 0.009288066, -0.00051564735, 0.019499809, -0.036741745, 0.023012053, 0.038064536, -0.0122358445, 0.053002987, 0.021905925, -0.008130621, -0.01433407, 0.02256732, -0.041280296, 0.022270834, 0.01564546, -0.019351564, 0.015223534, 0.011671376, 0.01819982, 0.015839318, -0.022236623, -0.004418816, -0.018758588, 0.013490218, -0.004039653, -0.0053339386, 0.009447714, 0.028599719, -0.014961256, -0.038224183, -0.018895429, -0.037380334, 0.0107534025, -0.017207725, -0.016671766, -0.031952318, -0.029283922, 0.045636393, 0.012178827, -0.006328885, 0.024061166, -0.005761566, 0.0008652327, 0.0026370354, 0.025931323, 0.017298952, -0.03115408, 0.012213037, -0.004022548, 0.012999872, 0.024403268, -0.02155242, 0.027322538, 0.028143583, 0.0007483479, -0.0041080737, 0.015212131, 0.014117405, -0.022818197, -0.0064144107, 0.019990154, -0.008906052, 0.0063060783, -0.0015665416, -0.0013570042, 0.018781394, -0.029922511, -0.017276146, 0.0064144107, 0.011591553, 0.04166801, 0.0003777375, -0.003797331, 0.0062661665, 0.011032786, 0.010627965, -0.0038087345, 0.009487626, 0.021974346, 0.007959571, 0.015497216, -0.018245434, 0.010861735, 0.017504213, -0.020902425, -0.008945964, 0.028873399, 0.029124275, 0.023855906, -0.0060495017, -0.012156021, -0.0114946235, -0.03373125, -0.04707322, -0.0030104967, 0.004738111, 0.007053001, 0.024061166, 0.0037260598, -0.014174421, -0.027641833, -0.02745938, 0.027527798, 0.03192951, -0.0141972285, -0.013376184, -0.0021737725, 0.028690945, 0.036718935, -0.016033174, 0.0065683564, -0.002011274, -0.014904239, 0.01077621, -0.019499809, -0.01507529, 0.008284568, -0.0016278349, -0.019317353, 0.005878451, 0.006420112, 0.0027909812, 0.044746928, 0.027048856, -0.011882339, 0.0062832716, -0.012281458, -0.0059411693, -0.01386653, -0.024996245, 0.0023205911, -0.008586758, -0.012292861, 0.03952417, 0.009692887, 0.02958041, 0.0056218742, -0.01759544, -0.0057131015, 0.000926526, -0.005120125, -0.046753924, -0.018792797, 0.0011403396, 0.008153428, -0.030583909, 0.030469876, -0.022099782, 0.02695763, 0.018496308, -0.04089258, 0.0017162112, 0.012429702, -0.013182326, -0.01205339, -0.016740186, -0.0050802133, 0.0027011796, -0.009647273, 0.019043673, -0.000050424394, -0.0011652845, 0.007799923, 0.0009970844, -0.008273164, 0.001332772, -0.014151615, -0.012372685, 0.013319167, 0.0013919271, 0.0018858367, 0.012851628, -0.010861735, -0.0069275633, 0.0031701443, 0.013182326, 0.011038488, -0.012304265, 0.03498562, -0.014163018, -0.0063402886, -0.01937437, 0.04408553, 0.0055306475, 0.009310873, 0.0008231827, 0.0046953484 ]
2401.09350
342
Theorem 9.1 Given a data point u, its approximation ˜u, and any weight function ω, the objective of Equation (9.2) can be decomposed as follows for a spherically-symmetric query distribution: ℓ(u, ˜u, ω) ∝ h∥(ω, ∥u∥) ∥r∥(u, ˜u)∥2 + h⊥(ω, ∥u∥) ∥r⊥(u, ˜u)∥2, where, hy(w,t) = [ w(t cos 6) ( sin’? 6 — sin@ 6) dé, and, 7 1 hi (w,t) = qi w(tcos 6) sin? 6 dd. —1 Jo Proof. Without loss of generality, we can assume that queries are unit vectors (i.e., ∥q∥ = 1). Let us write ℓ(u, ˜u, ω) as follows: 137 138 9 Quantization ~ _ ~ (u,t,w) = B [w((a,u)) (au — a?) q = [eu cos) [fou a)2|(4,u) = [ul 054] dP [By < 0), 0 q
2401.09350#342
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 342, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Theorem 9.1 Given a data point u, its approximation ˜u, and any weight function ω, the objective of Equation (9.2) can be decomposed as follows for a spherically-symmetric query distribution:\nℓ(u, ˜u, ω) ∝ h∥(ω, ∥u∥) ∥r∥(u, ˜u)∥2 + h⊥(ω, ∥u∥) ∥r⊥(u, ˜u)∥2,\nwhere,\nhy(w,t) = [ w(t cos 6) ( sin’? 6 — sin@ 6) dé,\nand,\n7 1 hi (w,t) = qi w(tcos 6) sin? 6 dd. —1 Jo\nProof. Without loss of generality, we can assume that queries are unit vectors (i.e., ∥q∥ = 1). Let us write ℓ(u, ˜u, ω) as follows:\n137\n138\n9 Quantization\n~ _ ~\u0002 (u,t,w) = B [w((a,u)) (au — a?) q = [eu cos) [fou a)2|(4,u) = [ul 054] dP [By < 0), 0 q", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.023928719, 0.015234161, 0.013664656, 0.010475821, -0.0022405926, -0.046362672, 0.0031374525, 0.04354753, -0.02595911, 0.038863927, -0.010675124, 0.012892361, -0.03888884, 0.010083445, -0.00026411432, 0.06562024, 0.036447387, -0.0028167004, -0.005891871, 0.006508462, -0.017874915, -0.007984544, -0.00064851064, -0.023031859, 0.025809633, 0.019980045, 0.031713963, -0.0045247823, 0.037867416, -0.02937216, -0.0038832787, -0.022845013, 0.028051782, -0.075386055, -0.01571996, 0.05281508, -0.021674113, 0.08520169, -0.0120266415, 0.023455376, 0.0071437377, 0.011746373, -0.028848993, -0.002703036, -0.018560017, 0.0153836375, -0.035949133, -0.0035905535, 0.015171879, 0.011933219, 0.007997001, 0.05236665, 0.022296932, 0.021462355, 0.000112496746, -0.0139511535, 0.012655689, 0.048380606, 0.04967607, -0.013365703, -0.002478821, -0.018672124, -0.00413552, -0.010886882, 0.00069288653, -0.013141488, -0.015807156, 0.015844524, 0.004829964, 0.020229172, -0.03106623, 0.051071186, 0.07972088, -0.0039019631, 0.06063769, -0.007467604, -0.01741403, 0.0057423944, -0.00064033613, -0.016903317, -0.009360975, -0.03736916, 0.03664669, 0.007405322, -0.025635244, -0.053412985, -0.02209763, 0.018248606, -0.07369199, 0.0011856923, 0.0066392543, 0.0077665574, -0.022832558, -0.015782243, 0.04823113, -0.021499723, 0.051071186, 0.05039854, 0.017563505, -0.0612356, -0.025660157, -0.03537614, 0.015122053, -0.040009916, 0.09935214, -0.034279976, -0.024265042, 0.04319875, -0.0068136435, 0.013589918, 0.013054294, 0.0040109567, -0.028001959, 0.019108098, -0.00088051084, 0.011515929, -0.02465119, 0.005241025, -0.0031109827, 0.0056178304, -0.0066392543, -0.029197771, 0.057349205, -0.008009457, 0.03791724, 0.001189585, -0.0043317084, -0.019282486, 0.0011086185, 0.0026859085, 0.060039785, 0.020266542, 0.01216989, -0.03854006, 0.012120064, 0.010650211, 0.011073728, 0.0010805916, 0.04920273, 0.01147856, 0.051170837, 0.028525125, -0.03996009, -0.009348518, 0.028300911, 0.026955621, -0.046462324, 0.033557504, 0.015944175, 0.028151434, -0.025784722, -0.046337757, -0.010382398, -0.005630287, 0.017625788, -0.029870415, 0.00247415, 0.018746862, -0.031140966, -0.00193074, -0.02465119, 0.005446555, -0.011335312, -0.05137014, 0.003936218, -0.028251085, -0.05406072, -0.032909773, -0.05406072, -0.045166858, -0.05650217, -0.04651215, 0.00055002735, -0.025361205, 0.0058980994, 0.01968109, 0.03089184, -0.068261, -0.0153836375, -0.024937686, 0.008781753, 0.041006427, 0.056203216, -0.0028587407, 0.03216239, 0.038739365, 0.011055043, 0.01706525, 0.039536573, -0.0011078399, -0.01841054, 0.042451367, 0.03916288, -0.025087163, -0.031564485, -0.016155934, 0.020914273, 0.023368182, -0.02203535, 0.0017781492, 0.063278444, 0.020727428, 0.052466303, -0.028948642, -0.013403072, -0.014972577, 0.04536616, -0.004440702, -0.0409566, -0.0028135863, -0.0040047285, -0.007118825, 0.034180325, -0.003961131, -0.021761307, 0.043323312, -0.039461832, 0.027105099, -0.021860959, 0.04912799, -0.047857437, 0.05729938, 0.036223173, 0.035899308, -0.07404076, -0.00013896657, 0.03303434, -0.06910803, 0.024813123, -0.019955132, 0.057000425, -0.0037773992, 0.010718721, -0.016704015, -0.005568005, -0.02685597, -0.0062593343, 0.013901328, -0.05894362, -0.052964557, -0.039412007, -0.0014815315, 0.0018201895, -0.016641732, 0.0034348487, 0.018385626, -0.0043348228, 0.04897851, 0.067563444, -0.016903317, -0.01844791, -0.022807645, -0.014922751, 0.0042725406, -0.035974044, 0.002892996, -0.025909284, 0.03016937, 0.009958881, 0.029646201, -0.017625788, -0.04678619, -0.004418903, 0.04294962, 0.009628787, 0.03547579, -0.0031576941, -0.013901328, -0.01499749, 0.0045123263, -0.014150456, 0.028325824, -0.0036466073, 0.010563016, -0.017874915, -0.0055212933, 0.0093858875, 0.021424985, -0.013702026, 0.006695308, -0.021101119, -0.01216989, 0.028251085, 0.007666906, 0.022620799, -0.022894839, -0.038290933, 0.00958519, -0.02285747, -0.041280467, 0.043398052, -0.024962598, 0.0004414232, -0.02024163, -0.026681582, 0.03689582, -0.025809633, -0.04464369, 0.012780253, 0.013278509, 0.052665602, 0.016579451, 0.03482806, -0.014299932, -0.05894362, 0.03216239, 0.03729442, 0.0037711712, 0.0051444876, 0.03213748, 0.0030206738, 0.034180325, -0.024838036, 0.043497704, -0.07857489, -0.043622267, 0.035799656, 0.016604364, 0.011428735, -0.02250869, 0.024152935, -0.024414519, -0.00029253046, -0.025012424, -0.0012215044, -0.01927003, -0.07229687, -0.016118564, 0.016268041, -0.037344247, 0.03923762, -0.008096651, -0.010743634, -0.001384216, 0.004291225, -0.025759809, -0.022172369, 0.071798615, 0.005063521, -0.010232922, -0.03996009, -0.01706525, 0.012543581, -0.06547077, 0.0028089152, 0.016429974, 0.03619826, 0.017937196, 0.033432942, 0.0015336926, -0.021213226, -0.01872195, 0.02640754, 0.0129670985, 0.06746379, -0.046063717, -0.0043348228, -0.09601383, -0.061484724, 0.0020226059, -0.058794145, -0.004088809, 0.055406008, 0.0015274645, -0.04088186, 0.026880883, 0.030842014, -0.009466854, -0.028275998, -0.020316366, -0.04436965, 0.014125543, -0.053562462, -0.00044609435, -0.025224183, -0.0063558714, -0.010905567, 0.0016022028, -0.0015656122, 0.014661168, 0.028873906, 0.011353997, -0.015346268, -0.0020724314, 0.015122053, -0.01147856, 0.016292954, 0.028574951, -0.031763785, -0.047558486, 0.004020299, 0.0012292897, -0.030866927, 0.017787721, 0.016766297, 0.008071738, 0.029421985, 0.030642712, -0.009441941, -0.017974567, -0.014013435, -0.014299932, -0.03482806, -0.032187305, -0.031215705, 0.0013522964, 0.017501224, 0.04509212, -0.0071873353, 0.061385073, -0.0015305785, -0.018398084, 0.03278521, -0.013888871, 0.00055820186, -0.01768807, 0.030144457, -0.010139499, -0.013490267, 0.009877915, -0.03330838, -0.019058272, 0.00030323517, 0.013863958, -0.051071186, -0.033557504, 0.0057735355, 0.021163402, 0.03584948, -0.054459322, -0.008283497, 0.010986533, -0.009647472, 0.036970556, -0.013004468, -0.028176347, 0.026282975, -0.03754355, 0.0075174295, -0.023293443, -0.046063717, 0.0026173983, -0.064623736, -0.001336726, -0.0075174295, -0.0043939906, 0.025174357, 0.0058140187, 0.05560531, -0.0063558714, 0.004406447, -0.012780253, 0.02837565, -0.004857991, 0.008900088, -0.044319823, 0.023555027, 0.034279976, 0.011466105, -0.028425476, 0.02433978, -0.0028151434, -0.017227182, 0.03450419, -0.023517659, 0.00006632053, 0.02172394, -0.024364693, -0.027279487, -0.017725438, -0.004110608, -0.017899828, 0.08216233, -0.04302436, 0.008781753, 0.00006573663, 0.024227673, 0.0030720565, 0.03423015, -0.021424985, 0.06601885, -0.07643239, -0.042077675, -0.01868458, -0.0016115451, 0.026980534, 0.04586442, -0.003187278, 0.044892818, 0.010002479, -0.054459322, -0.046761274, 0.072894774, -0.012992011, 0.0021611832, 0.026282975, -0.00037797348, -0.010388627, 0.03574983, 0.017227182, 0.053313337, 0.004798823, 0.021076206, 0.025909284, 0.021263052, 0.017227182, -0.0034597614, 0.00947931, -0.019867936, 0.052615777, 0.040184304, 0.026083674, -0.0006948328, 0.018298432, -0.0025566735, 0.023044316, 0.00803437, 0.021387616, 0.011291714, 0.025460854, -0.05819624, -0.01796211, -0.03834076, -0.01737666, -0.0020335051, -0.013851502, -0.015171879, -0.09058285, -0.034554016, -0.051519617, -0.002639197, -0.02909812, -0.036073696, 0.02254606, -0.0039891577, 0.003512701, -0.029945154, -0.009803177, 0.027329313, 0.03206274, -0.028450387, -0.027229661, 0.005963495, 0.026831057, 0.012668146, -0.019880394, 0.019319857, 0.0025815861, -0.015146966, 0.0016613706, -0.015769785, -0.028300911, -0.007940946, 0.023654679, -0.012879904, 0.047558486, 0.011223204, 0.026880883, -0.016803665, 0.0077852416, 0.021910785, 0.014225193, 0.008333323, 0.0329596, -0.036422476, 0.018921252, 0.040184304, -0.06213246, 0.0016504712, 0.022022892, -0.04040852, -0.0010066318, -0.00097471225, -0.0025348747, 0.043622267, -0.009429485, 0.020353736, -0.0018855856, 0.0021658542, 0.0070378585, -0.017787721, 0.024053283, -0.0054621254, -0.014200281, -0.004571494, 0.007430235, 0.018111587, 0.018024392, -0.0033009425, 0.023467833, 0.017139988, 0.011796199, -0.0030767275, -0.009379659, -0.02024163, 0.0010190882, -0.02747879, 0.0076918188, -0.007916034, -0.0022795189, 0.022982033, 0.017326834, 0.02792722, -0.024252586, -0.04688584, 0.01903336, 0.011223204, 0.032461345, 0.014337301, -0.002832271, 0.0022125656, 0.018348258, -0.026008936, 0.021126032, 0.009940197, -0.008775525, -0.011621809, -0.022533603, 0.059890307, -0.004095037, 0.017488766, -0.000015083906, 0.028076695, 0.016330322, -0.017638244, 0.043946132, -0.0020724314, -0.034902796, 0.008937458, -0.025610331, -0.04048326, 0.0014457194, 0.012431474, 0.01595663, 0.022608342, 0.0086260475, -0.013490267, 0.0022810758, -0.014785731, -0.054658625, 0.0072184764, 0.031390093, 0.027503703, -0.022745362, -0.010992762, 0.00015064442, -0.021126032, -0.0012907931, -0.06606868, -0.02757844, -0.01909564, -0.028848993, 0.044269998, -0.0022328075, -0.0075423424, -0.008401833, -0.018871427, 0.0076918188, 0.00785998, -0.04780761, -0.035575442, 0.009591418, 0.017015424, -0.053512637, 0.008974827, 0.03574983, -0.0025348747, 0.028724428, 0.0078039262, 0.01441204, 0.021624288, 0.006626798, 0.02595911, 0.013403072, -0.005415414, 0.0061627976, -0.027279487, 0.0042476277, -0.035575442, 0.038764276, -0.017563505, -0.0074613756, -0.021038838, -0.045665115, 0.012070239, 0.006919523, 0.0018170754, -0.0029848616, 0.011322856, -0.0102142375, 0.0072869863, 0.010351257, 0.037742853, -0.01089311, 0.00087817525, 0.005661428, 0.00785998, 0.0131913135, -0.019880394, -0.058495194, 0.007299443, 0.047982004, -0.021400072, -0.04048326, -0.03692073, -0.03475332, -0.026606843, 0.01864721, 0.045067206, -0.020366192, 0.004088809, -0.0050105816, 0.0070004896, -0.009311149, 0.009460626, 0.014374671, -0.00038206074, 0.034778234, -0.011198292, 0.009080706, 0.016056282, -0.0014067931, -0.056452345, 0.017463854, 0.0171649, -0.023044316, -0.031664137, -0.008489028, 0.030642712, -0.023418007, 0.00855131, 0.02892373, -0.004923387, -0.019768286, -0.009292465, 0.009417028, -0.0023059887, 0.034902796, -0.0044313595, -0.014798188, -0.014773275, -0.009130532, -0.0062250793, 0.02240904, 0.027279487, 0.06970594, 0.031988002, 0.012730427, -0.024875404, 0.043148924, -0.0061565693, 0.0093858875, -0.015558027, 0.011584439, 0.025161901, -0.025012424, 0.016492257, 0.0026454253, -0.009672385, -0.030019892, 0.006318502, -0.034030847, -0.025286466, 0.031190792, 0.0071125966, -0.0075921677, -0.010425996, -0.026631756, 0.060438387, -0.04227698, 0.0014651825, 0.03512701, 0.008345779, 0.028948642, 0.027404051, -0.048729386, -0.004798823, -0.009142988, -0.029222684, -0.011677863, -0.00675759, -0.031091142, -0.02102638, -0.04554055, -0.019531615, 0.011098641, 0.0039081913, 0.0033663386, 0.0016535854, -0.039412007, 0.013403072, 0.008937458, -0.011584439, -0.008283497, 0.015620309, 0.024626277, -0.0049140444, -0.08938703, 0.03664669, 0.029172858, -0.03308416, 0.023505202, 0.019880394, 0.0126307765, -0.011659178, 0.008918773, -0.015794698, -0.008040598, -0.009809405, 0.008221216, 0.03398102, 0.018148955, -0.014200281, -0.0107062645, 0.005241025, -0.020104608, -0.0419282, 0.0118709365, 0.0096537, 0.05944188, 0.06960629, -0.02416539, 0.010519419, -0.0014908738, -0.024426974, 0.054459322, -0.028450387, -0.012244628, 0.017040337, -0.015495745, 0.037942152, -0.011011446, -0.0204783, 0.007149966, 0.015645223, -0.0059759514, 0.023505202, 0.02223465, -0.06362722, 0.013166401, -0.0035998959, -0.004085695, -0.010488277, 0.035974044, 0.0033414257, 0.01134154, 0.006022663, -0.021611832, -0.00097471225, -0.0028416133, -0.009130532, -0.020278998, 0.012294454, 0.021387616, 0.012780253, -0.04930238, -0.01216989, -0.044793166, 0.024090651, 0.03986044, -0.023878893, -0.036148436, -0.034678582, -0.013863958, 0.021412529, 0.007872436, -0.018485278, 0.012232172, 0.0070876842, -0.021611832, 0.029696027, 0.019631265, -0.0055866893, -0.008295953, 0.004450044, -0.030244106, 0.0037057751, 0.014187825, -0.025161901, -0.009853002, 0.03592422, -0.047259532, 0.0049483, 0.0013242696, -0.01654208, -0.006794959, 0.0051258034, -0.0069444356, -0.0069942614, -0.0046150913, 0.00520677, 0.03398102, -0.034105588, -0.0037898556, -0.024838036, 0.009336062, 0.01923266, -0.013353246, 0.020154433, -0.003799198, -0.046586886, -0.01616839, -0.008221216, -0.006433724, -0.034354717, 0.0043130238, -0.0080219135, 0.017600875, -0.016118564, -0.033208728, 0.017663157, -0.009647472, 0.025884371, 0.009853002, 0.041106075, -0.011933219, -0.014897838, 0.024688559, 0.036173347, 0.005770421, 0.010369942, -0.014399583, -0.0409566, -0.011067499, -0.004350393, -0.00042273864, 0.012512441, 0.004565266, 0.05685095, 0.010538103, 0.0244768, -0.0076918188, 0.02492523, -0.040906776, 0.022334302, -0.013290965, -0.003926876, 0.011117325, 0.023841524, 0.019207748, 0.0011561085, -0.0038521376, -0.016018914, -0.0053188773, -0.029571462, 0.01864721, 0.0075859395, -0.0009638129, -0.034678582, 0.009298692, 0.01864721, -0.008084195, 0.009871687, 0.02240904, -0.014374671, 0.029023381, 0.021001467, 0.0000112034495, 0.004808165, -0.004095037, 0.013403072, 0.015034859, -0.02792722, -0.019070728, -0.0077727856, -0.0016878404, 0.04511703, -0.000118724936, -0.021126032, -0.009697298, 0.03423015, 0.043995958, 0.0058763004, 0.021175858, 0.004412675, -0.013677113, -0.025709983, 0.017364204, -0.029596375, -0.034354717, 0.0061409986, 0.020079695, 0.004291225, 0.01899599, -0.025560506, 0.015022403, 0.024638733, 0.042326804, 0.029895328, -0.018011935, 0.0005266716, 0.011684091, 0.030966578, -0.021113576, 0.040682558, 0.014910295, 0.014387127, -0.02120077, 0.02954655, -0.005661428, -0.01743894, 0.002249935, 0.019880394, -0.012350507, -0.02133779, -0.035450876, -0.0009933969, -0.020553038, 0.01595663, 0.021150945, 0.0034659896, -0.011017675, -0.036497213, 0.0014916523, 0.023953632, -0.044768255, -0.039785698, 0.026606843, -0.029322335, -0.027628265, 0.013452898, -0.004808165, -0.013041837, 0.026457366, -0.012830079, -0.032386605, 0.0018388741, -0.013004468, 0.023766786, -0.0032355464, -0.014810644, -0.026108587, 0.016504712, -0.026432453, -0.042800143, -0.010288975, -0.03071745, 0.018983534, 0.005446555, 0.014636255, -0.0016722699, 0.002575358, 0.0078101545, 0.031116053, 0.019083185, -0.038664624, 0.0006835442, -0.0054185283, 0.013702026, -0.0014535047, 0.021748852, 0.010855741, -0.007467604, -0.006527147, 0.032660645, 0.02420276, 0.00010685244, -0.005885643, -0.026233152, 0.021400072, -0.028948642, 0.0019369682, -0.034678582, 0.016604364, 0.01954407, -0.0329596, -0.022757819, -0.010095902, 0.0136522, 0.020677602, -0.0028089152, 0.0056147166, 0.009659928, 0.024426974, 0.020789709, 0.02551068, -0.00041222855, -0.03512701, 0.0036092382, -0.0005017588, 0.0053593605, 0.03360733, -0.00055820186, -0.006243764, 0.0028462843, 0.046337757, 0.017027881, 0.0017937197, -0.016106108, 0.016367693, 0.0012775582, 0.03791724, -0.036845993, -0.059292402, -0.0032293182, 0.0028135863, -0.025585419, 0.0014239207, 0.004400219, 0.0366716, -0.025535593, 0.014748362, 0.008233672, -0.002088002, 0.033557504, -0.03368207, -0.011814883, 0.01620576, -0.011665407, 0.049725898, 0.016529625, 0.009697298, -0.005415414, -0.0016784981, 0.049426943, -0.012481299, 0.017463854, -0.021935698, 0.04048326, -0.005994636, -0.026208239, -0.013390616, -0.011590668, 0.024227673, -0.03340803, 0.03251117, 0.031140966, -0.024352236, 0.023953632, 0.00927378, -0.012431474, -0.012817622, -0.016716471, -0.004509212, -0.032536082, 0.016180847, -0.004599521, -0.0017049679, 0.008489028, -0.0050043534, -0.007916034, -0.032560997, 0.020876905, 0.017127533, -0.004191574, -0.0076357652, -0.019805655, 0.05416037, -0.009560277, -0.00432548, -0.009753351, 0.032262042, -0.00073687313, 0.007224704, 0.0046275477, -0.01486047, -0.032984514, -0.019568983, 0.010781003, -0.038315848, -0.012045326, 0.043273486, 0.0056894547, -0.01903336, 0.026756318, -0.026831057, 0.014885383, 0.017364204, -0.041180816, -0.009828089, 0.007374181, -0.020503214, -0.020353736, -0.009037109, 0.009821861, -0.03699547, 0.0007933161, 0.010475821, -0.010226694, -0.042899795, 0.013839046, -0.03702038, 0.0054123, 0.0052379104, -0.0011740144, 0.010357486, -0.021549549, -0.016392605, -0.003836567, -0.023617309, 0.027428964, -0.0055524344, -0.027428964, 0.018597385, 0.026158413, 0.015670134, -0.023704505, 0.004867333, -0.00037797348, 0.043946132, -0.028948642, 0.009255095, -0.007841296, -0.0051943134, 0.020777253, 0.007430235, -0.004739655, 0.016816122, 0.008364464, 0.0060382336, 0.0047209705, 0.007984544, -0.016629277, -0.0029412643, 0.014710993, -0.026606843, -0.006888382, 0.005356246, 0.012612091, 0.014162912, -0.008694558, -0.0029817475, 0.0060662604, -0.008775525, 0.013863958, -0.0043317084, 0.058594845, -0.009261324, 0.032037828, -0.015234161, 0.015022403, 0.003191949, -0.016131021, -0.014113086, -0.0011319742, 0.007878665, 0.0015741759, -0.0308171, 0.03423015, 0.011671634, 0.0017579076, -0.032112565, -0.014623798, 0.00539673, -0.03806672, 0.0015928604, 0.016193302, -0.0419282, 0.007149966, 0.046113543, 0.02248378, 0.014885383, 0.007928491, -0.023119055, -0.038241107, 0.03450419, -0.036322825, 0.0053687026, -0.011821111, 0.020602863, -0.004443816, 0.007729188, 0.036522128, -0.026880883, 0.020777253, 0.008015685, -0.0059012133, 0.02227202, 0.009429485, -0.00689461, 0.0164798, 0.018323345, 0.023692047, -0.0131913135, 0.02106375, 0.010712492, 0.012693058, -0.0039455607, 0.0059479247, 0.025535593, 0.00064851064, 0.023181336, 0.016641732, 0.00081044366, -0.0046524606, -0.0045901784, 0.0005399065, -0.046860926, 0.006664167, 0.0031172107, 0.005212998, -0.0046119774, -0.0068385564, 0.014275019, -0.012929729, 0.007536114, -0.034529105, 0.014162912, 0.013315878, -0.02250869, 0.011702775, 0.02024163, 0.011603124, -0.0008563766, -0.00868833, -0.0033383116, 0.025809633, 0.046586886, 0.009012196, -0.0014636255, 0.017214727, 0.029696027, 0.004640004, -0.013589918, -0.0020989012, 0.02120077, -0.022022892, -0.02461382, 0.007280758, -0.0023885123, -0.017339291, -0.025984023, -0.026930708, 0.010021163, -0.005496381, -0.00522234, 0.045166858, 0.0051040044, -0.016940687, 0.021213226, 0.062680535, 0.049526595, -0.011335312, -0.003353882, 0.005826475, 0.009691069, 0.0045932927, 0.048829038, -0.025161901, 0.046213195, -0.0096537, 0.0064648646, 0.036073696, -0.0053188773, -0.018908795, 0.016280498, -0.0023900692, 0.034454364, -0.0013125917, 0.022259563, -0.008925001, 0.009622559, -0.0030440295, 0.016878404, 0.027727917, -0.007436463, 0.04060782, 0.027080186, -0.021699026, 0.0031467946, 0.027777743, -0.0273044, 0.04651215, -0.007019174, -0.009971337, -0.00033904728, -0.0073928656, 0.003578097, 0.040931687, -0.013490267, -0.024252586, -0.00675759, 0.000619316, -0.002324673, -0.008364464, 0.055306356, 0.029621288, -0.019556528, -0.02519927, -0.00033223518, 0.0021362703, -0.005241025, -0.004549695, 0.0010977191, -0.025734896, -0.015558027, 0.012730427, -0.012356736, -0.011690319, 0.008277269, -0.0140632605, 0.0056489715, -0.006340301, 0.043273486, -0.0061814818, -0.009317378, 0.006919523, -0.0032012914, 0.035799656, 0.020727428, -0.03482806, 0.018497735, 0.0164798, 0.018846514, -0.0047054, 0.031664137, 0.012425246, -0.019506702, 0.013639743, 0.01486047, -0.015944175, -0.011036359, -0.019220205, -0.050423454, 0.045814592, -0.0029397074, -0.025635244, 0.00091554446, 0.01113601, 0.03460384, -0.010874426, 0.033632245, -0.0026267406, 0.020590408, -0.004864219, 0.0092301825, 0.0120951515, 0.03926253, 0.0070004896, 0.0021378275, 0.024738384, 0.017949654, 0.024626277, -0.019382138, 0.0027808885, 0.017351747, 0.023355726, 0.04987537, 0.008644733, 0.0011467661, -0.002930365, -0.037418988, -0.05191822, -0.0019525386, 0.0366716, 0.002288861, 0.018111587, -0.012219716, -0.020092152, -0.020341279, -0.020366192, 0.023243617, 0.007174879, 0.007249617, 0.018422997, 0.025535593, 0.025124533, 0.023505202, 0.0075547984, -0.013340791, 0.0003943225, -0.026083674, 0.020278998, -0.009348518, 0.0026609956, 0.0008758397, 0.024987511, 0.014025891, -0.0045465813, -0.000046395176, 0.0022359213, 0.03689582, 0.02344292, -0.008445431, 0.0052347966, -0.008725699, -0.0009856116, -0.0043005673, -0.0013849945, 0.015695047, 0.008333323, 0.0007209134, 0.03460384, 0.027005447, 0.043148924, 0.021387616, -0.026183326, -0.016442431, -0.015570483, -0.035874393, -0.024825579, -0.002675009, -0.0043005673, 0.0008454773, -0.033183813, 0.033781722, -0.0041386345, 0.013801676, 0.039137967, -0.032884862, -0.024626277, 0.031390093, -0.0111546945, -0.019967588, 0.002835385, -0.01378922, -0.009809405, -0.023193792, 0.027404051, 0.016492257, 0.012051554, 0.010924251, -0.00871947, -0.016604364, -0.00861982, 0.00501681, -0.04571494, 0.012064011, 0.024601365, 0.0024180962, -0.004742769, 0.0011716789, -0.005122689, 0.011117325, -0.0013935582, 0.010974077, -0.024314867, 0.020839535, -0.0050697494, 0.008862719, -0.029446898, 0.041828547, 0.0023464719, -0.025934197, 0.029048294, -0.009473083 ]
2401.09350
343
where θq,u denotes the angle between q and u. θq,u ≤ θ # Observe that P is the surface area of a spherical cap with base radius a = ∥q∥ sin θ = sin θ—see Figure 9.2. That quantity is equal to: ∥q∥d−1 πd/2 Γ (d/2) I(a2; d − 1 2 , 1 2 ), where Γ is the Gamma function and I(z; ·, ·) is the incomplete Beta function. We may therefore write: ak [a s 4| x [aa _ @)3 (2) da d6 dé a d—3 == (2 sin 6 cos 0) cos x sin?-? 6, where in the first step we used the fact that dI(z; s, t) = (1 − z)t−1zs−1dz. Putting everything together, we can rewrite the loss as follows: L(u, tw) x [ w(||u|| cos 0) E [(a. u—t)?| (q,u) = |ful| cos 6] sin’? 6 dé. 0 q We can complete the proof by applying the following lemma to the expecta- tion over queries in the integral above. # Lemma 9.1
2401.09350#343
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 343, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "where θq,u denotes the angle between q and u. θq,u ≤ θ\n# Observe that P\nis the surface area of a spherical cap with base radius a = ∥q∥ sin θ = sin θ—see Figure 9.2. That quantity is equal to:\n∥q∥d−1 πd/2 Γ (d/2) I(a2; d − 1 2 , 1 2 ),\nwhere Γ is the Gamma function and I(z; ·, ·) is the incomplete Beta function. We may therefore write:\nak [a s 4| x [aa _ @)3 (2) da d6 dé a d—3 == (2 sin 6 cos 0) cos x sin?-? 6,\nwhere in the first step we used the fact that dI(z; s, t) = (1 − z)t−1zs−1dz. Putting everything together, we can rewrite the loss as follows:\nL(u, tw) x [ w(||u|| cos 0) E [(a. u—t)?| (q,u) = |ful| cos 6] sin’? 6 dé. 0 q\nWe can complete the proof by applying the following lemma to the expecta- tion over queries in the integral above.\n# Lemma 9.1", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.0049162274, 0.015263655, 0.020637281, 0.020803606, -0.009646937, -0.01595455, -0.019984769, 0.007062479, 0.0012234594, 0.021276997, 0.007324763, 0.011060712, -0.0109775495, 0.0020295032, 0.049411766, 0.050819144, -0.014739087, 0.0009947604, -0.018743718, 0.0075614587, -0.019677704, -0.028096383, 0.019780058, 0.0014545572, -0.01339568, -0.008181985, 0.014969385, 0.020790812, 0.01310141, -0.019511377, 0.045445517, -0.028019618, 0.003956652, -0.030041125, 0.0072607915, 0.058956347, -0.023221739, 0.08485211, -0.019306669, 0.010644896, 0.010779236, -0.004535596, -0.010497761, -0.020035947, -0.007804551, 0.015212477, -0.029017577, 0.012263381, -0.007158437, -0.018475035, 0.036643006, 0.021481708, 0.00045379947, 0.033188533, -0.031269383, -0.02143053, -0.0041901483, 0.04874646, 0.03347001, -0.034391202, -0.038203917, 0.007823743, -0.013267737, -0.0011898743, -0.03344442, -0.032164987, -0.015110123, 0.046648186, 0.013421269, 0.03482621, -0.004657142, 0.027149603, 0.045087274, -0.008565815, 0.06274347, 0.00067330245, -0.00031765964, 0.023298504, -0.029478174, -0.000005216445, 0.03871569, -0.011610869, 0.036745362, -0.0056902855, -0.020598898, -0.04398696, -0.053787433, 0.017553844, -0.060594022, -0.0017384317, 0.0015920964, 0.025000153, 0.010331434, -0.024859415, 0.031832334, 0.021353764, 0.082907364, 0.0432193, 0.015711457, -0.024526762, 0.0046059648, -0.06832181, 0.038510982, -0.031857923, 0.06397173, -0.010875194, -0.057421025, -0.006512322, -0.038075976, -0.00041781538, 0.034749445, 0.019652115, -0.019754471, 0.015685868, 0.011623664, -0.0014329668, -0.023208944, -0.03858775, -0.018769305, -0.012352942, -0.032753527, -0.033009414, 0.045343164, -0.010152314, 0.026381942, -0.031269383, -0.007906906, -0.03912511, -0.03052731, -0.008904865, 0.01819356, -0.0034256862, -0.0021366559, -0.026919303, -0.0004286106, 0.043603133, 0.024206903, 0.0136515675, 0.03308618, 0.03561946, 0.034672678, 0.055885702, -0.04501051, -0.02222378, -0.010011576, 0.03370031, -0.021673622, 0.027354313, 0.07446309, -0.0068193865, -0.0100947395, -0.039508943, -0.050819144, -0.02778932, 0.001249048, -0.014956591, -0.009352667, 0.035286807, -0.009806867, -0.019268285, -0.017502666, 0.0174259, 0.011220641, -0.044831388, 0.014994973, -0.031985864, -0.006800195, -0.036310356, -0.05516922, -0.025166478, -0.048285864, -0.025179273, 0.0030034727, -0.0036719774, 0.018078411, -0.010337831, 0.007945289, -0.040634844, -0.0067810034, -0.030501721, 0.0028387455, 0.019153137, 0.07057361, -0.015634691, 0.018602978, 0.037794497, -0.002595653, 0.0018183965, -0.008220367, -0.041991044, 0.018641362, 0.06187346, 0.04106985, -0.018244738, -0.020675663, -0.037743323, 0.03252323, 0.018833278, 0.011003138, 0.008175587, 0.054452736, 0.04380784, 0.029554939, -0.028121972, -0.024513967, -0.0022614007, 0.053531546, -0.028377859, -0.09104457, -0.008949645, -0.012755963, -0.004215737, 0.019856825, -0.007452707, -0.004494014, 0.036208, -0.057369847, 0.027482256, -0.04263076, 0.055629816, -0.04680172, 0.046699364, 0.028633747, 0.017464282, -0.043142535, 0.02935023, 0.06857769, -0.029836414, -0.0029538947, -0.004193347, 0.017477077, -0.008616992, -0.00046259558, -0.03810156, 0.025882963, -0.016568677, 0.017003685, 0.014112164, -0.047492612, -0.025473543, -0.02290188, 0.0139202485, 0.0072415997, -0.024206903, 0.008284339, 0.0142145185, -0.017502666, 0.02914552, -0.0151229175, -0.011489322, -0.00783014, 0.023004234, 0.020074328, -0.022095837, -0.01527645, 0.022236574, 0.013907454, 0.022594815, -0.004455631, -0.013421269, 0.035389163, -0.059724007, -0.0053192494, 0.01292229, 0.037026837, 0.008924057, 0.025473543, -0.033725895, 0.016261615, 0.0045611844, -0.040276602, 0.010254668, -0.04641789, 0.047108784, -0.03229293, -0.021251408, 0.012781552, 0.0021366559, 0.02111067, 0.0087193465, -0.007855728, -0.009320681, -0.00057534577, 0.0017592226, 0.01427849, -0.04286106, -0.046443477, 0.00007281782, -0.019127548, -0.008668169, 0.035337985, -0.029682884, 0.017771346, -0.016607061, -0.03541475, 0.044882566, -0.025089713, -0.038894814, -0.00066090794, 0.017157217, 0.028019618, 0.011751607, 0.016018521, 0.0050729583, -0.032344107, 0.032420874, 0.07292777, 0.016146464, -0.011566089, 0.013702745, 0.033137355, 0.03810156, -0.014956591, 0.046852894, -0.04153045, -0.04347519, 0.0011075106, 0.0073759407, -0.00033305283, -0.013971426, 0.05655101, -0.027456667, 0.007529473, -0.03149968, 0.00037983214, 0.018820483, -0.08423798, -0.01848783, 0.0023589577, -0.063152894, 0.053838607, -0.010401803, -0.035696227, 0.018551802, -0.038920403, -0.023068206, 0.0052104974, 0.08485211, -0.008015658, -0.024002193, -0.0703689, -0.010644896, 0.007638225, -0.020406982, 0.029068755, -0.013190971, 0.044754624, 0.0022182197, 0.08039967, 0.028864045, -0.037052426, -0.0067810034, 0.023260122, -0.0048266673, 0.09396168, -0.029222287, 0.012928687, -0.080246136, -0.056090415, 0.029836414, -0.015711457, -0.02111067, 0.019805647, -0.022825114, -0.013933043, -0.000042756106, 0.04971883, 0.0102418745, -0.023707923, -0.015877783, -0.02561428, 0.043961372, -0.07221129, -0.011758004, -0.04951412, 0.007836537, -0.010887989, 0.025012948, 0.004260517, 0.03700125, 0.0013394081, 0.005242483, -0.032907058, -0.0030354587, 0.02475706, -0.0031090262, 0.00490983, 0.043731075, -0.011182259, -0.040634844, 0.0061220946, -0.037922442, -0.017502666, 0.013165383, 0.030834375, -0.0020023151, 0.060338136, 0.053838607, -0.00065611006, -0.0093590645, -0.020202274, -0.024885003, -0.020560514, -0.056243945, -0.040634844, 0.014994973, 0.04222134, -0.010254668, -0.009378255, -0.0046379506, 0.021878332, -0.023362476, 0.024386024, -0.023835868, -0.008386694, -0.0027683766, 0.045522284, -0.0066786488, 0.011949919, 0.02996436, 0.008233162, -0.033367656, 0.008277942, 0.014854236, -0.018705335, -0.018116795, 0.017451487, 0.068987116, 0.03149968, -0.06847534, 0.017528255, 0.008105218, -0.015250861, 0.040583666, -0.039995126, -0.033956196, 0.030604076, -0.033597954, -0.043168124, -0.007158437, -0.06325525, 0.0012162626, -0.009384653, 0.011399763, -0.053736255, 0.007651019, -0.004199744, -0.023221739, 0.004695525, 0.022210985, 0.00006866966, 0.000445803, 0.017233985, -0.01140616, -0.032395285, -0.0246675, 0.030399367, 0.034902975, 0.0053160507, 0.0020758826, 0.007887715, 0.009512597, -0.027098425, -0.0000909598, -0.002360557, 0.015903372, 0.01276236, -0.025204862, -0.04818351, 0.021916715, -0.028301094, -0.00063132105, 0.0830609, -0.029196698, -0.022799525, 0.005175313, 0.009794072, -0.0477485, 0.06914065, -0.026944892, 0.012212204, -0.049667653, -0.038843635, 0.018027233, -0.023887044, 0.04974442, 0.0633576, -0.006010144, 0.014623938, -0.02563987, -0.05007707, -0.021456119, 0.07072715, -0.013178176, -0.005421604, 0.056653365, 0.006253237, -0.012947878, 0.03677095, 0.024014987, 0.028429037, 0.009487008, 0.009723703, 0.028889634, 0.032344107, 0.0260237, -0.032932647, 0.013933043, -0.003256161, 0.06161757, 0.033905018, -0.0037327504, -0.006521918, 0.025742225, -0.008437871, 0.00035864153, -0.040609255, 0.035107687, -0.00014743485, -0.0051817102, -0.03582417, -0.013152588, -0.013485241, -0.0332653, 0.02201907, -0.02231334, -0.04153045, -0.04288665, 0.003735949, -0.053378012, 0.024501173, -0.011655649, -0.031985864, 0.022889085, 0.007273586, -0.0016616657, 0.018104, -0.011828373, 0.010357023, -0.008610595, -0.009717306, -0.014841442, 0.0059941513, 0.00893685, 0.0059557683, -0.01439364, -0.0035184452, -0.008361105, -0.0003482461, 0.0016232827, 0.008015658, 0.0067874007, -0.010625704, 0.016031316, -0.017553844, -0.00034384805, 0.011239833, 0.03794803, -0.018935632, -0.024565145, -0.0103890095, -0.0021286593, -0.009538185, -0.023132177, -0.010452981, 0.027942851, 0.019536966, -0.01957535, 0.016005727, 0.051893868, -0.022057453, 0.0043116948, -0.01830871, -0.0006777005, 0.024386024, -0.020509336, 0.02702166, 0.016146464, -0.018321503, 0.0032385688, -0.032164987, -0.005709477, -0.0136259785, 0.004935419, 0.00846346, 0.005863009, -0.0011570887, -0.009890029, -0.0042733117, 0.019472996, 0.05414567, 0.006166875, -0.06847534, -0.0077021965, -0.028966399, 0.0048650503, -0.007849331, -0.0028643343, -0.005981357, 0.0067042373, 0.027098425, -0.024885003, 0.019588144, -0.020701252, -0.019511377, -0.0040973895, 0.0007164834, 0.030066714, -0.023503214, -0.0047371066, 0.027559021, 0.006499528, -0.047032017, 0.036668595, 0.010824017, -0.022390107, -0.0019063576, -0.016287202, 0.0547598, 0.01321656, 0.0070368904, 0.008521034, 0.065507054, 0.015110123, 0.022147013, 0.065199986, -0.0007684604, 0.0010587322, 0.015685868, -0.03776891, -0.030604076, 0.020202274, -0.0063875774, 0.015711457, 0.015097328, -0.007868523, -0.01409937, 0.018270327, -0.008565815, -0.04831145, 0.025409572, 0.008815304, 0.028326683, -0.023746306, 0.0018999605, 0.015801018, -0.018500624, -0.024309257, -0.048490573, -0.017336339, -0.027738143, -0.004573979, 0.025972523, -0.010753648, 0.006800195, -0.0126728, -0.006499528, -0.0139458375, 0.0070368904, -0.009659732, -0.032932647, -0.0034000976, 0.020151095, -0.05089591, -0.025000153, 0.033009414, -0.016760593, -0.014009809, -0.0039022756, -0.03149968, 0.0074143237, 0.030859962, 0.017771346, -0.011655649, -0.005293661, 0.005763853, -0.041735157, -0.019357845, -0.033725895, 0.024117343, -0.017182807, -0.013523624, -0.028659336, -0.015685868, -0.011764402, 0.0009603756, 0.034775034, -0.006374783, -0.015481159, -0.025012948, -0.006429159, 0.04439638, 0.070164196, -0.034698267, -0.011214244, 0.020279039, 0.0005021781, -0.025959728, -0.008092424, -0.045931704, 0.0033713102, 0.02993877, -0.028684923, -0.034314435, -0.032369696, -0.04700643, 0.011348585, 0.00821397, 0.040276602, -0.023029823, 0.049053524, 0.006480336, -0.00577025, -0.024513967, 0.0031873914, 0.03283029, -0.017924879, -0.00841868, -0.028633747, 0.013549212, 0.010056356, -0.01389466, -0.06827063, -0.0054024127, 0.00024429205, -0.020099917, -0.023183355, -0.017784141, 0.015174095, -0.022377312, -0.025921345, -0.0014617541, 0.042989004, 0.009595759, -0.0037071619, 0.01228897, 0.00021970291, 0.010222683, -0.03579858, -0.026484296, -0.0174259, -0.022134218, -0.026126055, 0.04736467, 0.011041521, 0.053326834, 0.021891126, 0.018833278, -0.004465227, 0.050256193, 0.01140616, 0.010887989, -0.01928108, -0.0136259785, 0.024859415, -0.019690499, -0.0057190727, -0.029989947, -0.0022406098, -0.029094344, 0.036668595, -0.013753922, -0.012109849, 0.013280531, 0.005632711, -0.0050345752, -0.0024277272, -0.015468365, 0.085210346, -0.013613184, 0.039969537, -0.002278993, -0.012941482, 0.03751302, 0.025831785, -0.044959333, -0.027354313, 0.014764676, -0.036873307, -0.019063575, 0.016108083, -0.030041125, -0.00875773, -0.030476132, -0.01731075, -0.006940933, 0.026765773, -0.000538562, 0.01577543, -0.011207847, 0.0060325344, -0.028710512, -0.0030610473, 0.0069729188, 0.024974564, 0.0031234198, -0.0058214273, -0.0798879, -0.01187955, -0.0029315045, -0.007612636, 0.026010906, 0.034135316, 0.011316599, -0.0030658452, 0.028838456, -0.017553844, 0.032216165, 0.0027603803, 0.0017336339, 0.003093033, 0.016939715, -0.030245835, -0.004356475, 0.050614435, 0.021392146, -0.00660828, 0.010779236, -0.021852743, 0.026868127, 0.052507997, -0.0024197306, -0.010651293, 0.02543516, -0.008393091, 0.022454077, -0.02016389, -0.01115667, -0.002704405, 0.025038535, 0.048004385, 0.017528255, -0.011598075, 0.010484966, 0.008872879, -0.0017736162, 0.013408475, 0.009288696, -0.07917141, 0.039790418, -0.004852256, 0.0036847717, -0.01305663, 0.018897248, -0.0036463886, 0.014470406, -0.024181314, -0.046597008, -0.018347092, 0.0093078865, 0.011911537, -0.012109849, -0.0018887654, 0.046520244, -0.0019927195, -0.023349682, -0.013024644, -0.027303135, -0.00023229735, 0.02917111, -0.023298504, -0.02996436, -0.023823073, -0.011322997, 0.02572943, -0.008776922, -0.048413806, 0.015634691, 0.0033777074, -0.022159807, 0.024565145, 0.011898742, -0.048055563, -0.0032417674, -0.014035398, -0.01713163, 0.004138971, 0.0015920964, 0.019549761, -0.006035733, 0.046110824, -0.0072607915, -0.021737594, 0.0028691322, -0.004759497, -0.02778932, -0.0013841883, 0.0055495477, -0.024808237, 0.025767813, -0.010811223, 0.02661224, -0.029862003, -0.023541598, -0.039662473, 0.021302586, 0.022773936, 0.0031506077, 0.02496177, -0.006096506, -0.04288665, -0.027763732, 0.016287202, 0.0032849484, -0.003021065, 0.029478174, -0.026944892, 0.023311298, -0.04288665, -0.047185548, 0.007721388, -0.00006567098, 0.0055527464, 0.010593719, 0.021494502, -0.0010347428, -0.012909495, 0.022645993, 0.010484966, 0.017937673, 0.01527645, 0.01271758, -0.039816007, -0.0022901879, -0.015647486, -0.01212904, 0.0010547339, 0.024027782, 0.026561063, -0.023592774, 0.01011393, 0.009263107, 0.0063076126, -0.008610595, 0.013741128, 0.03285588, 0.002454915, -0.008911262, 0.011086301, 0.019140342, -0.000665306, -0.027686965, -0.0050217807, -0.03249764, 0.025691047, 0.009634143, -0.0027171993, -0.008284339, -0.024629116, 0.025192067, 0.0040430133, -0.012583239, -0.02317056, 0.03564505, -0.034135316, -0.00167446, 0.043910198, 0.037743323, -0.0062884213, 0.0005933378, 0.025742225, -0.014841442, -0.006729826, -0.028224329, -0.01251287, 0.004516404, -0.017656198, 0.0035408353, -0.023388065, 0.0074399123, 0.024014987, -0.022543637, 0.028147561, -0.0069985073, 0.011981905, -0.023912633, -0.008911262, 0.008949645, -0.007727785, -0.012979864, 0.019191518, 0.044908155, -0.009557377, 0.0109775495, -0.04362872, 0.022735553, 0.005376824, 0.032958236, 0.04053249, 0.011271819, -0.0055591436, 0.016120875, 0.03794803, -0.022364518, 0.036080055, -0.017272368, -0.009429433, -0.028684923, 0.015084534, -0.016978098, -0.011092698, -0.024309257, -0.014316874, -0.017963262, -0.018999605, -0.03270235, -0.042989004, -0.0022294149, 0.003254562, -0.0065571023, 0.02487221, -0.020701252, -0.016773388, 0.0069281384, 0.038843635, -0.043705486, 0.0075934445, 0.0273799, -0.05148445, -0.022543637, 0.037205957, -0.00043300865, -0.025307218, -0.020138301, -0.029273463, -0.010075548, 0.004302099, -0.0094806105, 0.026868127, -0.030629665, -0.023055412, 0.0028339478, 0.011566089, -0.016491912, -0.04406373, -0.008834496, 0.0077789626, 0.004183751, 0.019101959, 0.021558473, 0.020035947, 0.017694581, 0.01187955, 0.037052426, 0.061003443, -0.022070248, -0.027124014, -0.010139519, 0.02643312, 0.014380845, 0.032446463, -0.002666022, -0.006195662, 0.02290188, 0.025831785, -0.007420721, 0.020496543, -0.01527645, 0.0011299007, -0.014022604, -0.04053249, -0.0018983611, -0.02228775, 0.020957138, 0.03267676, -0.013031041, -0.0013913851, -0.025166478, -0.0016056905, 0.035491515, 0.0133317085, 0.006400372, -0.008105218, 0.020829195, 0.021379352, 0.046443477, 0.015916167, -0.031192616, -0.013318914, -0.00934627, -0.040123068, 0.031729978, -0.016351175, 0.017400311, 0.0028547384, 0.016581472, 0.008367502, 0.031576447, 0.011738813, -0.0109775495, 0.010318641, 0.04398696, -0.022390107, -0.02502574, 0.009410242, -0.014201724, -0.015852194, 0.016261615, 0.0071072592, 0.0087705245, 0.0038031193, 0.043347243, 0.00022450079, 0.0133572975, 0.042349286, -0.01692692, -0.027354313, 0.021481708, -0.003899077, 0.01760502, 0.037078016, 0.017681787, -0.00016832561, -0.014994973, 0.046699364, -0.015557925, 0.013114205, -0.0130630275, 0.017067658, 0.0037775307, 0.0077341823, -0.015148506, -0.007836537, -0.004478021, -0.030092303, 0.013587596, 0.023081, -0.019012399, 0.0208164, 0.016824566, -0.010919974, -0.018679745, -0.015097328, -0.015468365, -0.017617814, -0.01070247, -0.011508514, -0.006509124, 0.002611646, 0.0096533345, -0.011687635, -0.037333902, 0.044729035, 0.00909678, -0.0064643435, -0.0034992537, -0.017912084, 0.06658178, -0.00031426112, 0.00608691, -0.024744265, 0.028915223, -0.007126451, 0.008808907, 0.009838852, -0.016351175, -0.03134615, -0.044345204, 0.036259178, -0.011687635, 0.012141835, 0.023208944, 0.007056082, 0.011348585, 0.0035024523, -0.02555031, 0.011751607, 0.023183355, -0.033316478, -0.0040909923, 0.026074877, -0.0065634996, -0.016491912, -0.044780213, 0.020867579, -0.011444543, 0.030220246, -0.0018103999, 0.007759771, -0.060184605, -0.0055431505, -0.012327353, -0.0032737532, -0.015442776, -0.014598349, 0.014380845, 0.014726292, -0.0030706432, -0.0036783745, -0.017835319, -0.006659457, 0.005987754, -0.0260237, -0.0019655314, 0.004762695, -0.004113382, -0.013152588, 0.016811771, -0.006940933, 0.03344442, -0.01713163, -0.011361379, -0.025192067, 0.012736771, 0.029119931, 0.0003154606, -0.003806318, 0.0071456423, 0.03132056, -0.018654156, 0.008105218, -0.00660828, 0.008789716, -0.0044524325, 0.015084534, -0.024245286, -0.013114205, 0.0047978796, 0.014137752, 0.013741128, -0.009173546, 0.0006577094, 0.020061534, -0.026714595, 0.027149603, -0.03735949, 0.04815792, -0.027891675, -0.016184848, 0.023004234, -0.003387303, 0.017976057, -0.005677491, 0.023144972, -0.005958967, -0.01574984, -0.0060741156, -0.03876687, 0.039099522, 0.012647212, -0.00812441, -0.0071456423, -0.005236086, 0.0063779815, -0.031090261, 0.005600725, 0.021392146, -0.020099917, -0.02287629, 0.03344442, 0.0047403052, 0.023349682, -0.00025588693, -0.017413106, -0.043756664, 0.025831785, -0.02484662, 0.0068193865, -0.031653214, 0.032625582, 0.005261675, -0.013638773, 0.04460109, -0.0061093, -0.01683736, 0.014470406, -0.023157766, 0.019217107, 0.02258202, 0.00031286175, 0.009890029, 0.007638225, 0.01928108, 0.016146464, 0.035389163, -0.0010683279, 0.02473147, 0.0030898347, 0.0075550615, 0.029017577, -0.007395132, 0.008674567, 0.019229902, -0.007881317, -0.022863496, -0.013766716, 0.014022604, -0.02778932, -0.015429981, 0.006256435, 0.011105493, 0.017246779, 0.0043340847, 0.013779511, -0.03741067, 0.0069729188, -0.01228897, -0.013613184, -0.0048938375, -0.023516009, 0.017387517, 0.023055412, 0.015263655, 0.01577543, -0.00028367466, -0.0005945373, -0.009806867, 0.03347001, 0.0032785512, -0.01339568, 0.021328175, 0.02572943, 0.0025844579, 0.0002758781, -0.0062692296, 0.004468425, -0.026164439, -0.009026411, -0.01178999, 0.0075358697, -0.009103177, -0.050767966, -0.039406586, -0.006243641, -0.0099476045, 0.018295916, 0.04165839, 0.014432022, -0.023951016, 0.007209614, 0.022210985, 0.00012444501, -0.0077789626, 0.0058853994, -0.0027299935, 0.021865537, -0.012813537, 0.028326683, -0.029862003, 0.048823226, -0.03229293, 0.0013625979, 0.008086027, -0.006048527, -0.02366954, 0.020445365, 0.03344442, 0.03799921, -0.014879825, 0.01801444, 0.032190576, 0.020854784, -0.02640753, 0.031167027, 0.017438693, -0.015238066, 0.029299052, 0.014380845, -0.01937064, -0.022620404, 0.023528803, -0.008578609, 0.045701403, 0.03226734, -0.012282573, -0.011668444, -0.007759771, 0.0077021965, -0.004641149, -0.040788375, 0.011847565, -0.00008196378, 0.0075550615, 0.01208426, 0.008341914, -0.009858044, 0.011354982, -0.020381393, -0.03364913, -0.034800623, -0.018884456, 0.0026388338, 0.000026213416, -0.02457794, -0.03579858, -0.0475182, 0.044242848, 0.00071728305, -0.001957535, 0.006128492, -0.015557925, 0.019396229, -0.01111189, 0.02740549, -0.024014987, -0.032420874, 0.008924057, -0.0151613, 0.033521187, 0.037308313, -0.02679136, 0.028454626, 0.033777073, 0.011239833, -0.01439364, 0.019204313, 0.024565145, -0.028019618, 0.025921345, 0.01360039, -0.0015281247, -0.0021846346, -0.021584062, -0.020637281, 0.023733512, -0.03500533, -0.003043455, -0.010561733, -0.005623115, 0.004263716, 0.011553295, -0.009826058, 0.0009123968, 0.0239894, -0.011182259, 0.0021302586, -0.005901392, 0.023208944, -0.010337831, -0.007100862, -0.017182807, 0.00046219575, 0.01722119, -0.030297011, -0.01751546, -0.007990069, 0.018500624, 0.018884456, -0.00034104928, 0.01065769, -0.010900783, -0.03692448, -0.04048131, 0.01246809, 0.015852194, 0.020087123, -0.015864989, -0.013050233, -0.0018183965, -0.024270875, 0.00900722, 0.016901331, 0.038383037, -0.007823743, -0.007235203, 0.023643952, 0.025332805, 0.043372832, -0.038280685, -0.002007113, -0.0014169739, -0.000061772706, -0.019703293, 0.01099674, -0.029299052, -0.012097054, 0.010939166, -0.000082913364, 0.0016072898, 0.013498035, -0.02319615, 0.04048131, 0.02858257, -0.0023269716, 0.017246779, -0.022031864, -0.008284339, -0.026586652, -0.017950468, 0.0049418164, -0.011706827, -0.022210985, 0.057983976, 0.011892345, 0.022236574, -0.0076446217, -0.029401407, -0.010753648, -0.012570445, -0.0050537665, -0.014432022, -0.021596856, -0.009877236, 0.013139794, 0.011649252, 0.00841868, 0.0016952509, -0.004977001, 0.0047530998, -0.037692145, 0.011905139, 0.020624487, -0.006505925, -0.00783014, -0.032625582, -0.023183355, 0.027738143, -0.018666951, 0.023439242, 0.00816919, -0.0048778444, 0.006736223, -0.009941207, -0.026842538, -0.019754471, -0.013382887, -0.01174521, 0.01486703, 0.017067658, 0.021878332, -0.017796936, 0.01217382, -0.01574984, -0.0022070247, 0.010542541, -0.004535596, -0.007382338, 0.04283547, -0.009717306, 0.016824566, -0.03523563, 0.03659183, 0.0038894813, 0.0012826332, 0.030859962, 0.0021622444 ]
2401.09350
344
We can complete the proof by applying the following lemma to the expecta- tion over queries in the integral above. # Lemma 9.1 2 _p 2 Bllau—a)?|(a.0) = = anu ap? + RAE Ge (ap Proof. We use the shorthand r∥ = r∥(u, ˜u) and similarly r⊥ = r⊥(u, ˜u). Decompose q = q∥ + q⊥ where q∥ = ⟨q, u⟩ u ∥u∥2 and q⊥ = q − q∥. We can now write: B[(ag.u — a)°|(q.u) = #] = Bl(qy-ry)*I|(a-u) = 4] + Bllaars)I\ (au) = 4h All other terms are equal to 0 either due to orthogonality or components or because of spherical symmetry. The first term is simply equal to ∥r∥∥2 t2 ∥u∥2 . By spherical symmetry, it is easy to show that the second term reduces to 1−t2/∥u∥2 ⊓⊔ d−1 9.4 Quantization for Inner Product Applying the lemma above to the integral, we obtain:
2401.09350#344
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 344, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "We can complete the proof by applying the following lemma to the expecta- tion over queries in the integral above.\n# Lemma 9.1\n2 _p 2 Bllau—a)?|(a.0) = = anu ap? + RAE Ge (ap\nProof. We use the shorthand r∥ = r∥(u, ˜u) and similarly r⊥ = r⊥(u, ˜u). Decompose q = q∥ + q⊥ where q∥ = ⟨q, u⟩ u ∥u∥2 and q⊥ = q − q∥. We can now write:\nB[(ag.u — a)°|(q.u) = #] = Bl(qy-ry)*I|(a-u) = 4] + Bllaars)I\\ (au) = 4h\nAll other terms are equal to 0 either due to orthogonality or components or because of spherical symmetry. The first term is simply equal to ∥r∥∥2 t2 ∥u∥2 . By spherical symmetry, it is easy to show that the second term reduces to 1−t2/∥u∥2 ⊓⊔ d−1\n9.4 Quantization for Inner Product\nApplying the lemma above to the integral, we obtain:", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ 0.014871855, -0.004893582, 0.011860421, 0.016794542, -0.02347761, -0.04125666, 0.02200664, 0.003025913, -0.0006037348, 0.022446772, 0.014895021, -0.021740245, 0.0023396532, 0.018983623, 0.025133898, 0.053557213, 0.007928181, 0.002511942, -0.0051918295, 0.0013442872, -0.018763557, -0.045750648, 0.01399159, 0.0029260144, 0.009063261, -0.057587903, -0.00450557, 0.0111712655, 0.028678127, -0.015196164, -0.0036919033, -0.013933678, 0.023535522, -0.058746148, -0.01811494, 0.050592106, -0.031504244, 0.04600546, -0.006712025, -0.0033733863, -0.001472418, 0.0129955, -0.05828285, 0.000072480754, 0.009567097, 0.05995072, -0.017431576, 0.019933382, 0.007100037, 0.0057043526, 0.0015129565, 0.038801182, 0.03025334, -0.008171413, 0.0111770565, 0.0155783845, 0.0011025037, 0.044685062, 0.049850833, -0.03917182, -0.0033994468, -0.008721579, -0.0134819625, -0.018427666, -0.039797273, -0.003732442, -0.01768639, 0.03808307, 0.06634423, 0.022678422, -0.02499491, 0.033681743, 0.031990707, 0.047534343, 0.00801505, 0.005023884, 0.0116924755, 0.023373367, 0.013157655, 0.0049688676, 0.009567097, -0.003277831, 0.05448381, 0.029859535, 0.01845083, -0.02626898, -0.040052086, 0.019527998, -0.058746148, -0.005472704, -0.031295758, 0.0038945961, 0.00011908198, -0.029535227, 0.050731096, -0.0042739213, 0.025504537, 0.022678422, 0.022933235, 0.009972483, 0.004088602, -0.026570123, 0.06342545, -0.043758467, 0.07876061, 0.007835522, -0.0047603836, 0.045611657, -0.048970565, -0.008507304, 0.040492218, 0.04651509, -0.013933678, 0.011165475, 0.006891553, 0.020188197, -0.051704023, -0.0065324972, -0.035511766, 0.0008875046, -0.017697971, -0.029674217, 0.02911826, -0.03884751, 0.03704065, -0.040955514, -0.025643528, -0.051379714, 0.022342531, -0.016806124, 0.022632092, 0.021763409, -0.020269273, -0.022168795, -0.025272889, 0.014813944, 0.060645666, 0.0011415945, 0.056800295, 0.022921653, 0.03866219, 0.05184301, -0.032268684, -0.007215861, -0.016354408, 0.039357137, -0.028237995, 0.014350646, 0.06967997, 0.0006334148, -0.033774402, -0.02091789, -0.023106972, -0.023929326, 0.026361639, -0.025550866, -0.00478934, 0.049711842, 0.02395249, -0.01901837, -0.00749384, 0.019805975, 0.0010901974, -0.034538843, 0.035766583, 0.028747622, -0.022365695, -0.03518746, -0.051426042, -0.060460348, -0.056614976, 0.00012134418, -0.008675249, -0.026477464, 0.016968278, 0.025991, 0.012671191, -0.045982294, 0.02680177, -0.020292439, 0.0011683789, 0.038731687, 0.04021424, -0.0024887773, 0.023106972, 0.037110146, -0.012346883, -0.005003615, -0.008194578, -0.035349615, 0.011113353, 0.061201625, 0.018196017, -0.0049312245, -0.022423608, -0.08223534, 0.008055588, 0.023130137, -0.0036397825, 0.039820436, 0.056429658, 0.038870677, 0.045078866, 0.019944966, -0.0055479896, 0.01399159, 0.059209444, -0.007852896, -0.06625157, 0.0045779604, -0.017489487, -0.058607157, 0.0246706, -0.01811494, -0.021913981, 0.03866219, -0.060228698, 0.016342826, -0.027450388, 0.05036046, -0.038615864, 0.011825673, 0.024021985, 0.026570123, -0.036415197, 0.048970565, 0.03282464, -0.0063182223, 0.012381631, -0.023338621, 0.06013604, 0.008368314, -0.021798156, -0.03382073, 0.018149687, 0.008930063, 0.01403792, -0.006208189, -0.040422723, -0.035511766, -0.003914865, 0.037527114, 0.04364264, -0.00545533, -0.03111044, 0.019203689, -0.016145924, 0.040886022, 0.017848544, -0.025296053, -0.046677243, 0.010041977, 0.028099004, 0.0140031725, -0.041905276, -0.0013196745, 0.0078007746, 0.022933235, -0.022064552, -0.008889524, -0.03106411, -0.06620524, -0.063657105, 0.001531778, 0.034353524, -0.0042565474, 0.02735773, 0.015115087, -0.004705367, -0.0018778035, -0.014257986, 0.027728366, -0.037156474, 0.010632682, -0.011663519, -0.0155783845, 0.0089648105, -0.0050065108, -0.0018155478, 0.011733014, -0.0011140861, 0.02921092, 0.0077834013, 0.022110881, 0.045148358, -0.042646553, 0.00697263, 0.009132756, -0.0053134453, -0.040052086, 0.06453737, -0.037411287, 0.03907916, -0.010088307, -0.037156474, 0.007823939, 0.014918186, -0.06759513, 0.010679011, -0.008802656, 0.042762376, 0.0014854482, 0.04093235, 0.008594172, -0.03386706, 0.030137515, 0.03722597, 0.04206743, 0.014281151, 0.017315751, 0.0493412, 0.043434158, -0.046746735, 0.016493397, -0.053140245, -0.050684765, -0.0006869836, -0.01048211, -0.006990004, 0.012914423, 0.0042855036, 0.0019168942, 0.03097145, -0.031990707, 0.019273184, 0.01849716, -0.075749174, -0.011211804, 0.005131022, -0.052584287, 0.015798451, 0.011779344, -0.0192616, -0.004795131, -0.02793685, 0.009022722, 0.009399151, 0.06495433, -0.010702177, 0.008698414, -0.047210034, -0.023442863, 0.016609222, 0.0029158797, 0.00891848, -0.006677278, 0.053418223, -0.021404354, 0.09627326, 0.040677536, -0.057680562, -0.047349025, 0.024809591, -0.016261749, 0.06518599, -0.016690299, 0.008501513, -0.092937514, -0.066946514, 0.03528012, -0.032569826, -0.019250019, 0.009457064, 0.0027739948, -0.044754557, 0.02177499, 0.044268094, -0.009955109, -0.008142456, -0.0005190382, -0.022122465, 0.061062634, -0.04748801, -0.032315012, -0.016794542, -0.011617189, -0.0065267063, 0.012937588, 0.0035558096, 0.011860421, -0.0042044264, 0.023674512, -0.022029804, 0.008686831, 0.017860126, -0.0043173553, -0.025411878, 0.020709407, -0.020095536, -0.0014383945, -0.020500923, -0.02252785, -0.048692588, 0.017732719, 0.013435633, -0.0050296756, 0.04781232, 0.036114056, -0.00019509176, 0.0064572114, -0.030508153, -0.038291555, 0.017894873, -0.03101778, -0.01670188, -0.0018271302, 0.013030248, 0.01204574, -0.013875766, 0.008246698, -0.0076444116, -0.0007962929, 0.02409148, -0.023338621, 0.016296497, 0.0038945961, 0.050406788, 0.023106972, 0.025342382, 0.026407968, 0.013366139, 0.0022513373, -0.0069494653, -0.013007082, -0.035071634, -0.04859993, 0.012972335, 0.06606625, 0.02413781, -0.04704788, -0.0061734417, 0.010233087, -0.023176467, 0.014385393, -0.04519469, -0.039287645, -0.0097002955, 0.02319963, -0.021543343, -0.0068394323, -0.014408558, -0.018057028, -0.02575935, 0.0014260882, -0.040955514, 0.0059302105, -0.026963925, -0.08033582, 0.03803674, 0.024230469, -0.024068315, -0.044824053, 0.023639765, -0.026593287, -0.015647879, 0.0012776882, 0.047627002, 0.042577058, -0.0030056438, -0.01740841, 0.012949171, -0.011686684, -0.024786426, -0.014362228, -0.016203836, 0.023651347, -0.025458207, -0.0059360014, -0.02418414, 0.019840723, -0.03287097, -0.018138105, 0.100813575, -0.04060804, -0.035836075, 0.026153155, 0.0016678716, -0.0061213206, 0.05554939, -0.03097145, 0.045912802, -0.03537278, -0.041673627, 0.02030402, -0.049711842, 0.054530136, 0.011611398, 0.015844781, -0.0048588347, -0.023130137, -0.04211376, -0.04542634, 0.06300849, -0.009746625, -0.015810033, 0.05031413, 0.04818296, -0.017246256, 0.018462412, 0.0088605685, 0.0050123017, 0.0073722242, 0.017003026, 0.024577942, 0.0039988384, 0.0071579493, 0.01616909, -0.0281685, -0.03708698, 0.060553007, 0.043619476, -0.021948729, 0.008895315, 0.007702324, -0.026546957, 0.009480229, -0.02286374, 0.012300554, 0.007042125, -0.031295758, -0.0025597196, 0.006364552, -0.0085536335, -0.011536112, 0.023118554, -0.01693353, -0.031087274, -0.0818647, -0.023384951, -0.06796577, 0.03400605, 0.024577942, -0.02865496, 0.0134819625, 0.012983917, 0.0013812062, 0.015138252, 0.004088602, 0.014339063, -0.010789045, 0.0017156493, -0.008397271, 0.03025334, -0.018219182, 0.025435043, -0.006028661, 0.0074359276, 0.006555662, 0.0035152712, 0.022064552, 0.012624862, 0.0015998249, 0.01204574, 0.017929621, -0.028793951, 0.003248875, 0.017095685, 0.04125666, -0.018080192, -0.010632682, 0.010499484, 0.0039611952, -0.0006573036, -0.008895315, 0.0057362043, 0.07445194, 0.014431722, -0.00801505, 0.0039206566, 0.041048177, -0.01199941, 0.0095960535, -0.019238437, 0.046445593, 0.03196754, -0.022319365, 0.045889635, 0.0005161426, -0.016562892, 0.0050904835, -0.012288971, 0.020802066, -0.0012089174, -0.004618499, 0.032708816, -0.030207008, 0.016817706, -0.022736333, 0.013736776, 0.0042855036, -0.0033154741, -0.0055335118, -0.0192616, 0.0003956128, -0.0177443, 0.009051679, -0.025481373, 0.016609222, -0.03143475, 0.008744744, 0.036114056, 0.0075343787, 0.035349615, 0.0150571745, -0.023384951, -0.017732719, -0.009098008, 0.01052844, -0.008466765, -0.016586058, 0.021381188, 0.034446184, -0.032523498, 0.024740096, -0.021682331, -0.021323277, -0.03581291, -0.03599823, 0.044268094, -0.003471837, 0.0019545371, 0.025110735, 0.030948285, 0.009740834, 0.01565946, 0.06703918, -0.012265806, -0.016064847, 0.025087569, 0.01290284, -0.016574474, -0.0037440243, 0.013817853, -0.010951199, 0.0074359276, 0.01195308, 0.00068083045, 0.011472409, 0.0060054963, -0.028562302, 0.02594467, 0.020813648, 0.028840281, -0.03495581, -0.0045866473, -0.0068510147, 0.009399151, 0.0077718184, -0.02888661, -0.028724456, -0.00257275, 0.015381483, 0.053232905, -0.026662782, 0.006862597, -0.0041725747, -0.02865496, -0.021751827, 0.009561306, -0.040144745, -0.01641232, -0.015277241, 0.013331391, -0.03708698, 0.025110735, 0.02148543, 0.0087621175, 0.010632682, 0.004528735, 0.023257544, 0.018670896, 0.013099742, 0.008738953, 0.00829882, 0.009103799, 0.002096422, -0.05730992, 0.016921949, -0.02802951, -0.018983623, -0.016099595, -0.0037671893, -0.013111324, -0.030044856, -0.034839984, 0.009665548, 0.021219034, -0.0058085946, -0.008982183, -0.048831575, -0.027056584, 0.0039814645, 0.06560295, 0.010736924, 0.008385688, -0.0005060079, 0.0035673922, -0.015566803, 0.022551015, -0.024021985, -0.0077370713, 0.028006345, 0.00901114, -0.03998259, -0.047395352, -0.03400605, -0.0031504242, 0.004592438, 0.060738325, -0.0110670235, 0.041326154, -0.008906898, 0.008599963, 0.022516267, 0.003888805, 0.0043607894, 0.018439248, 0.043225672, -0.013146072, -0.01104965, -0.0045258394, -0.0122194765, -0.06639056, -0.0028203246, 0.029442567, -0.028099004, -0.009717669, 0.003205441, -0.0020790484, -0.0124279605, -0.00801505, -0.0041465145, 0.05012881, -0.015022428, 0.010818001, 0.01872881, -0.012358466, 0.056892954, -0.026778607, -0.020929473, 0.0072448174, -0.044685062, -0.0040248986, 0.037596606, 0.009549724, 0.046237107, 0.017941203, -0.0035413317, -0.008101918, 0.046028625, -0.011426079, 0.007951346, -0.03799041, -0.0055306163, 0.027172409, -0.014721284, 0.00045823035, -0.005562468, -0.01446647, -0.002579989, 0.022493102, -0.002387431, -0.028191663, -0.0033646994, 0.003926448, -0.010406824, 0.0160301, -0.022562597, 0.07412763, -0.026778607, 0.003680321, 0.022307783, 0.0106442645, 0.016157506, 0.027635707, 0.013597787, -0.003949613, 0.016134342, -0.03201387, -0.011976245, -0.00509917, -0.03613722, -0.018462412, -0.002290428, -0.016041683, 0.002387431, 0.0016635283, 0.011292881, -0.02233095, -0.013250314, 0.014246404, -0.0070594987, 0.015543637, -0.014408558, 0.008321985, 0.009671339, -0.0068046846, -0.066622205, 0.022261454, -0.00017319371, -0.016528144, 0.019389007, 0.043410994, 0.016041683, 0.02196031, -0.03164323, 0.028006345, 0.06759513, -0.02030402, -0.0123353, 0.0037729805, -0.00063305284, -0.02418414, -0.010030394, 0.053464554, 0.015717374, -0.0106442645, 0.010789045, -0.011472409, 0.037573442, 0.034932647, -0.014350646, 0.004045168, -0.0038540575, -0.034029216, 0.014049502, -0.004383954, -0.0010684803, 0.0046966802, 0.0030085393, 0.028469643, -0.00017780859, -0.026639616, 0.017142015, 0.0006801065, 0.007957138, -0.00014722369, 0.0175474, -0.051240724, 0.013875766, -0.024253633, 0.0048819995, -0.055595722, 0.015960606, -0.0073722242, 0.040677536, 0.005895463, -0.04139565, -0.02395249, 0.02518023, -0.0052468465, -0.017987533, 0.0023382055, 0.0136904465, 0.019099448, -0.025133898, 0.0068452233, 0.0032228145, 0.0034284028, 0.020234527, -0.027380893, -0.0105458135, -0.03409871, -0.020871561, 0.015288823, 0.0003262991, -0.007598082, -0.02019978, 0.0099087795, -0.023547105, -0.008136665, 0.013725194, 0.002244098, 0.011165475, 0.016562892, -0.048692588, 0.0011227729, 0.015439395, 0.034214534, 0.0061966064, 0.050499447, -0.037967246, -0.0070826635, 0.028840281, -0.04582014, -0.0042218002, 0.001598377, 0.006625157, 0.000045922574, 0.001256695, -0.0041957395, 0.00630664, -0.02271317, 0.005293176, -0.042136926, 0.021323277, 0.022736333, 0.013771524, 0.02522656, -0.0062950575, -0.039913096, -0.039055996, -0.010458945, 0.000035855803, -0.028191663, 0.022018222, 0.023338621, 0.041743122, 0.002013897, -0.008113501, 0.009086425, 0.002707396, 0.024879085, 0.005110753, 0.011744596, -0.00024268836, -0.0049167466, 0.018751973, 0.0018720122, 0.028400147, 0.022690004, 0.004737219, -0.030345999, -0.02228462, -0.0056464407, -0.03572025, -0.021995058, -0.008959019, 0.024392623, -0.04225275, -0.010951199, 0.0045605865, -0.0013175028, -0.021473847, -0.022886906, 0.0058780895, -0.004297086, -0.011808299, 0.053186573, 0.020477757, 0.019690152, -0.0645837, 0.005414792, -0.040005755, 0.0074301367, -0.008906898, 0.028006345, 0.018427666, -0.013319808, 0.00339076, -0.008912689, -0.009839284, 0.009225415, 0.004244965, -0.009659757, -0.018914128, 0.053464554, 0.0055856328, 0.004424493, -0.017697971, -0.007655994, -0.008009259, 0.007858687, -0.045148358, -0.027195575, -0.01157086, 0.00035181668, 0.008078753, -0.013841018, -0.006185024, 0.018485578, -0.002549585, -0.0106442645, 0.010180967, 0.012891258, 0.0031214682, -0.026778607, 0.01498768, 0.010661638, -0.011518738, 0.0009917466, 0.008072962, -0.0037613981, 0.01977123, -0.0068510147, 0.03451568, 0.022701586, 0.04083969, 0.023164885, -0.00031363082, -0.012404796, 0.025018075, 0.030925121, -0.035326447, 0.019991295, -0.006706234, -0.029651051, -0.009584471, 0.0010568978, 0.0002660342, -0.059024125, -0.027821027, -0.005559572, -0.017419992, -0.024462117, -0.004737219, -0.053093914, 0.010789045, 0.0050615272, 0.01901837, 0.010655846, -0.013574623, -0.060553007, -0.014837109, 0.025458207, -0.00044737183, -0.0024294173, 0.024415787, -0.051333383, -0.041766286, 0.04148831, 0.011987828, 0.000490444, 0.013875766, -0.04234541, 0.0045750644, 0.0016447068, -0.010238878, 0.0064050904, -0.024809591, 0.00051686645, -0.024415787, 0.03618355, -0.0498045, -0.05425216, 0.0029086408, -0.016006935, 0.005449539, 0.005368462, -0.014501218, 0.01052844, 0.01541623, -0.018230764, 0.025620362, 0.046700407, -0.011785135, -0.030276503, -0.042322244, 0.009752416, 0.013713611, 0.033241607, 0.017628476, -0.0008723027, 0.025272889, -0.009098008, -0.008217743, -0.010348912, -0.0020645703, 0.010609517, -0.019516414, -0.031666398, -0.00094034954, -0.021983474, 0.033704907, 0.00972346, -0.0142116565, -0.00061386946, -0.046445593, -0.026384803, 0.057912212, -0.004059646, 0.0054263743, -0.0041957395, 0.025342382, -0.0021369606, 0.019736482, -0.032523498, -0.009821911, -0.015288823, -0.02015345, -0.015647879, 0.023720842, -0.0007941212, 0.008391479, 0.019724898, 0.01783696, 0.009480229, 0.027241904, 0.010800627, 0.031596903, 0.012891258, 0.04600546, -0.034121875, -0.04424493, 0.028052675, 0.0005747787, -0.005576946, 0.0040162117, 0.019597491, -0.0012675535, -0.0059649576, 0.031272594, 0.018392919, 0.01162298, 0.019979713, -0.027960015, -0.023269126, 0.015705792, -0.02291007, 0.030369163, 0.019863889, 0.029674217, -0.0030751384, -0.011976245, 0.01052844, 0.013342973, 0.0088605685, 0.00258578, 0.029071929, -0.0010134637, 0.0087621175, 0.014779196, 0.0098045375, 0.0024554778, -0.0013623848, 0.007111619, -0.009567097, -0.015462561, 0.020060789, 0.043758467, -0.00597654, -0.02404515, 0.013412468, -0.009926153, -0.02053567, 0.0011712745, 0.0142116565, 0.0102272965, -0.012775433, 0.021311693, 0.012972335, -0.046213944, 0.030762967, 0.013076577, -0.02347761, -0.010742715, -0.009642383, 0.05175035, -0.021763409, -0.013922095, 0.0018589819, 0.020002877, 0.008698414, 0.017269421, 0.0038656401, -0.020466175, -0.011072814, -0.043990117, 0.01627333, 0.009416525, 0.0069320914, -0.010267835, 0.021276945, 0.0009917466, 0.009433899, 0.002134065, 0.02784419, -0.0030548691, -0.022747917, 0.0057043526, 0.012868093, -0.02153176, -0.026824936, -0.0048877904, -0.0034110292, -0.00801505, -0.009926153, -0.00067033386, 0.024925416, -0.022458356, 0.036253043, -0.019203689, 0.016632387, 0.00083465973, 0.017767467, 0.030484987, -0.014593877, 0.006943674, 0.0040683327, -0.027056584, 0.00050166453, 0.0116924755, -0.03349642, -0.008293029, 0.031828552, 0.016655551, -0.012103652, 0.008559424, 0.010626891, 0.020408263, -0.020616747, 0.002885476, -0.024323128, 0.014999263, -0.0018922815, 0.0032228145, -0.0035268536, 0.00626031, 0.033357434, -0.010493693, 0.0012870989, -0.009167503, -0.011090188, -0.024369458, -0.0051686647, -0.017651642, -0.003888805, 0.007545961, 0.022354113, -0.0017808005, -0.024647437, -0.0030172262, 0.008582589, 0.008414644, 0.0101230545, -0.01143187, 0.03690166, 0.015972188, 0.00417547, -0.006416673, -0.016203836, 0.008617337, -0.0065904097, 0.0018647732, -0.021693913, -0.0090690525, -0.003101199, -0.023373367, 0.0125322025, 0.0154741425, -0.021566506, 0.016308079, -0.01455913, 0.0049312245, -0.01076588, -0.013122907, 0.0268481, -0.033148948, -0.011437662, 0.034631502, 0.0077428627, 0.019504832, 0.008084545, -0.047395352, -0.019342678, 0.03083246, 0.002252785, 0.019435339, -0.013331391, 0.03699432, -0.015335154, -0.0125322025, 0.026407968, -0.007667577, 0.03599823, 0.018439248, -0.0013370481, 0.04663091, 0.013528292, 0.0022180376, 0.05161136, -0.0073780157, 0.0122194765, -0.0020906308, 0.019910218, 0.005293176, 0.027427223, -0.015821615, 0.023593435, 0.029581558, -0.0029202232, 0.060923647, 0.026292143, 0.012346883, -0.027380893, -0.021867651, 0.019794393, -0.0003836684, -0.037017483, 0.005924419, -0.0013327048, -0.012949171, 0.0044910917, 0.0067757284, -0.018867798, 0.0136904465, -0.023060642, -0.0064861677, -0.017037772, -0.04431442, 0.02153176, 0.012346883, 0.028330654, 0.0175474, -0.031759057, 0.012497455, -0.00538294, 0.033473257, 0.016968278, 0.01589111, 0.0035847658, 0.048414607, -0.001963224, 0.014837109, -0.025203394, 0.00061531726, -0.03400605, -0.037619773, 0.025296053, 0.009874032, -0.0067525636, -0.029349908, -0.029766876, 0.009677131, 0.0064919586, -0.0040248986, 0.025689857, -0.0036339911, -0.048646256, 0.019203689, 0.029326743, 0.0066656955, -0.047210034, 0.03486315, 0.0015057175, 0.0020254795, 0.00086433976, 0.059209444, 0.0037932498, 0.027658872, -0.0058694026, 0.021740245, 0.018670896, -0.012868093, -0.046028625, 0.016238583, 0.024253633, 0.03002169, 0.0044853007, 0.010777462, 0.008611546, 0.028840281, -0.0088605685, 0.0068046846, 0.022979565, -0.017628476, 0.007621247, 0.0051339176, -0.017802214, -0.017060937, 0.002283189, -0.034747325, 0.015068757, 0.015450978, -0.023813501, 0.011200221, -0.03101778, -0.0032170233, 0.03164323, -0.009503393, -0.0041609923, -0.018902546, 0.0020414055, 0.02314172, 0.014153744, -0.0010141876, 0.015335154, -0.024438953, -0.039635118, 0.005568259, -0.0055306163, 0.044360753, 0.016354408, -0.010319956, -0.015242494, -0.04827562, 0.0034370897, 0.017651642, -0.012149982, 0.01958591, -0.040862855, 0.007928181, -0.017918037, 0.01076588, -0.009457064, -0.030137515, -0.007128993, -0.031226264, 0.028909776, 0.0074533015, -0.03514113, 0.03708698, -0.0007984646, 0.009242789, -0.0046213944, 0.026500627, 0.013285061, -0.008883733, 0.0093933605, 0.022076136, 0.02243519, 0.0056753964, -0.003205441, 0.0099609, 0.029048765, -0.0019516415, -0.0009881271, 0.0023845353, 0.013574623, -0.006601992, -0.006115529, 0.0035413317, -0.0034660457, 0.008316194, -0.0056174845, -0.024554778, 0.0071405754, 0.010916452, -0.00008148429, 0.035511766, -0.01779063, 0.03618355, 0.023605017, -0.009949318, -0.02409148, 0.02182132, 0.032986794, 0.0065440796, -0.011350793, -0.0088605685, -0.012833346, 0.002698709, -0.0028000553, -0.0071405754, -0.0009012588, 0.022203542, -0.0011546247, -0.018520325, 0.024323128, -0.042136926, 0.01460546, 0.023535522, 0.027380893, -0.02399882, 0.037480783, 0.03328794, -0.005553781, 0.040469054, 0.008744744, 0.004832774, -0.015810033, -0.008791073, -0.0063008484, -0.008316194, -0.02409148, -0.005406105, 0.0030345998, -0.019145777, -0.014478053, -0.006758355, -0.018126521, 0.019342678, -0.023072224, 0.019805975, -0.0080208415, 0.006758355, 0.018149687, 0.003755607, -0.0046213944, 0.024346294, -0.03409871, -0.011767761, 0.019250019, 0.010829584, 0.004540317, 0.010928034, -0.024786426, 0.014501218, -0.0073201032, 0.009028514, -0.05230631, -0.0089706015, 0.004236278, 0.018821469, 0.01024467, 0.020118702, -0.00037932498, -0.0051860386, 0.019331096, -0.030276503, -0.014732867, 0.011206013, -0.0002511942, -0.006966839, -0.036855333, 0.000060400627, 0.0040393765, -0.03006802, 0.017964367, 0.021612836, -0.008403062, 0.0072621913, 0.022852158, -0.027774695, 0.028678127, 0.018636148, -0.045982294, 0.004809609, 0.0048906864, -0.008982183, 0.022944817, -0.017477905, -0.035071634, -0.021045297, -0.007841313, 0.027380893, -0.0032923091, 0.026176319, -0.04790498, 0.013875766, -0.029002436, 0.0350948, -0.00008560149, -0.020651495, 0.04827562, 0.004207322 ]
2401.09350
345
9.4 Quantization for Inner Product Applying the lemma above to the integral, we obtain: sin? 0 d-1 C(u, tw) | w(||ul] cos 0)( on? A||ry (uw, @)|/?+ irs) sin’? 6 dé, 0 as desired. When ω(s) = 1s≥θ for some θ, Guo et al. [2020] show that h∥ outweighs h⊥, as the following theorem states. This implies that such an ω puts more emphasis on preserving the parallel residual error as discussed earlier. Theorem 9.2 For ω(s) = 1s≥θ with θ ≥ 0, h∥(ω, t) ≥ h⊥(ω, t), with equality if and only if ω is constant over the interval [−t, t]. Proof. We can safely assume that h∥ and h⊥ are positive; they are 0 if and only if ω(s) = 0 over [−t, t]. We can thus express the ratio between them as follows:
2401.09350#345
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 345, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "9.4 Quantization for Inner Product\nApplying the lemma above to the integral, we obtain:\nsin? 0 d-1 C(u, tw) | w(||ul] cos 0)( on? A||ry (uw, @)|/?+ irs) sin’? 6 dé, 0\nas desired.\nWhen ω(s) = 1s≥θ for some θ, Guo et al. [2020] show that h∥ outweighs h⊥, as the following theorem states. This implies that such an ω puts more emphasis on preserving the parallel residual error as discussed earlier. Theorem 9.2 For ω(s) = 1s≥θ with θ ≥ 0, h∥(ω, t) ≥ h⊥(ω, t), with equality if and only if ω is constant over the interval [−t, t].\nProof. We can safely assume that h∥ and h⊥ are positive; they are 0 if and only if ω(s) = 0 over [−t, t]. We can thus express the ratio between them as follows:", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.021624634, -0.012643038, 0.012434164, 0.03514003, -0.0008186029, -0.051997412, 0.016144754, 0.03585266, 0.019695617, 0.0478445, 0.017152267, 0.014191166, -0.03843287, 0.03351818, 0.015813014, 0.027129086, 0.009399343, 0.007574765, -0.02287788, -0.0012878022, -0.029635577, -0.019204149, -0.016193902, 0.0561749, 0.028972093, -0.044871114, 0.012452594, 0.010357708, 0.03160145, 0.0058300504, -0.009153609, -0.013355669, 0.011045764, -0.07976541, -0.030421928, 0.08202617, -0.029193254, 0.08251763, -0.0018583669, 0.022152962, -0.012040989, -0.007212307, -0.06600428, -0.057305276, 0.008938591, 0.023271054, -0.025998706, 0.006186365, -0.034402825, -0.007421181, -0.0009944567, 0.039931852, -0.0038334576, -0.007169303, 0.019204149, -0.021870367, 0.0017109262, 0.061630204, 0.022742724, -0.055585135, -0.005200356, -0.02631816, -0.025630105, -0.020371387, -0.014522907, -0.02010108, -0.021501767, 0.014916082, -0.0023790167, 0.012077849, 0.0011772217, 0.02545809, 0.03749908, 0.017004825, 0.010271701, 0.0379414, -0.015309257, 0.049318906, 0.029217828, 0.013245088, 0.012428021, -0.01067102, 0.037597373, -0.002617072, -0.008201388, -0.02523693, -0.06059812, -0.008477839, -0.07489987, -0.01154952, -0.011875118, 0.022681292, -0.0027322602, -0.049957816, 0.0039624684, -0.037032183, 0.01807377, 0.038801473, 0.003744379, -0.022681292, 0.0063952394, -0.013515396, 0.046075214, -0.025064915, 0.038727753, -0.013331095, -0.005246431, 0.010406855, -0.05995921, 0.0018230426, 0.041381683, 0.03663901, -0.03833458, 0.02002736, 0.015382977, -0.049810376, -0.04555917, -0.010118117, -0.057059545, 0.005949846, -0.033272445, -0.043445855, 0.05047386, -0.023787096, 0.023541361, -0.026858777, -0.012888772, -0.043544147, -0.030913396, -0.02478232, 0.016378202, -0.007802069, -0.031109983, -0.025851266, 0.0021732142, -0.0028981308, 0.056420635, 0.038948912, 0.0561749, 0.048090234, 0.057649307, 0.023762522, -0.009153609, -0.019044422, 0.03614754, 0.030028751, -0.03749908, 0.031478584, 0.03334617, 0.013834851, -0.013466249, -0.02238641, -0.0004377145, -0.035557777, 0.030839676, 0.020236233, 0.019449882, 0.0372042, 0.008348828, -0.018761827, -0.030765954, 0.0415537, 0.0053631547, -0.020125654, 0.046247225, -0.036466993, 0.03764652, -0.03941581, -0.017311994, -0.039366663, -0.043372132, -0.017422574, -0.014498333, -0.0075686215, 0.07013262, 0.015628712, -0.00027971494, -0.032412376, -0.019978212, -0.0049423343, 0.00086851773, 0.017152267, 0.015444411, -0.017164553, 0.0067392676, 0.001087375, 0.0028812366, 0.013134507, 0.017987764, -0.045534596, -0.011107198, 0.05140765, 0.068559915, -0.013920858, 0.006091143, -0.029758444, 0.023295628, 0.044527084, 0.0006120324, -0.017299706, 0.03214207, 0.04140626, 0.025556386, 0.007937224, -0.009030742, 0.009534498, 0.034402825, 0.02260757, -0.09146237, 0.020592548, -0.025064915, 0.018589813, 0.021698354, 0.0025679253, -0.008385689, 0.05411073, -0.035336617, 0.005611961, -0.010001393, 0.049146894, -0.06978859, 0.04042332, 0.006257014, 0.017717455, -0.04120967, 0.012004129, 0.007888077, -0.03779396, 0.019560464, -0.014178879, 0.05489708, 0.0047795353, -0.015591852, -0.04840969, 0.011021191, -0.0031914765, -0.00017393392, -0.027964583, -0.044281352, -0.054749638, -0.036737304, -0.014129732, 0.037597373, -0.014952943, -0.009043029, 0.0056426777, -0.01440004, 0.025507238, -0.004051547, -0.017545441, -0.020555688, 0.01222529, 0.04084107, 0.036688156, -0.034402825, 0.022619858, 0.039612398, 0.010443714, -0.0071754465, 0.05027727, 0.004091479, -0.08123981, -0.0019136572, -0.017385714, 0.013441675, 0.016365916, -0.009688081, -0.017311994, 0.017348854, 0.00031580718, 0.012096279, 0.02823489, -0.03152773, 0.020223947, -0.03142944, 0.017398, 0.005243359, 0.027473113, -0.021612346, 0.007593195, -0.021833507, 0.024831468, -0.020617122, 0.03258439, 0.039342087, -0.034279957, -0.05710869, 0.01451062, -0.03899806, -0.033321593, 0.054503907, -0.00085699896, 0.034476545, -0.012606178, -0.030127045, 0.012876486, 0.0025648535, -0.015505845, -0.0044047902, -0.030790528, 0.05076874, 0.010345421, -0.005360083, 0.023639657, -0.04533801, 0.060155798, 0.037474506, 0.00065119634, 0.019241009, 0.0320192, 0.022189822, 0.04027588, -0.026760483, 0.02602328, -0.07258996, -0.032043774, 0.009712655, -0.0030010322, 0.017643735, -0.012428021, 0.029537283, -0.03966154, 0.018393224, -0.021894941, 0.055585135, 0.04030045, -0.068412475, -0.016476495, -0.012342013, -0.03351818, -0.0036645152, -0.0009844737, -0.025531812, -0.027399393, -0.028554345, 0.029144108, -0.023271054, 0.048704572, 0.0029012025, -0.013982291, -0.04184858, -0.028308611, 0.020162513, 0.012839626, 0.02666219, -0.009251903, 0.043789882, 0.036245834, 0.08890673, 0.020973437, -0.056027457, -0.068903945, 0.04027588, -0.0123297265, 0.025482664, 0.016513357, 0.011070338, -0.07028006, -0.083402276, -0.0062815873, -0.008189101, 0.00034402826, 0.033247873, 0.005802405, -0.0065488233, 0.021477193, 0.060991295, -0.009362483, -0.029709296, -0.03678645, -0.007544048, 0.06133532, -0.03784311, 0.001644885, -0.04199602, -0.0028704857, -0.013220514, 0.028849227, 0.018479232, -0.010480575, -0.018995274, 0.030151619, -0.027645128, -0.009933816, 0.032608964, -0.008582276, 0.025998706, 0.0040853354, -0.01021641, -0.026563896, 0.020420535, -0.013269661, -0.03531204, 0.05946774, 0.011838258, -0.0215632, 0.0546022, 0.042020593, 0.012194573, -0.0010666412, -0.0090553155, -0.045313437, 0.008146098, -0.040005572, -0.026563896, -0.00073681946, 0.022447843, 0.055142816, 0.033321593, 0.043544147, 0.00610343, 0.03101169, 0.035090882, -0.013847137, 0.010990474, 0.001559646, 0.04592777, 0.01657479, 0.057649307, 0.015309257, 0.011346789, -0.0063583795, 0.001077392, -0.014559767, -0.0043279985, -0.038727753, -0.018208925, 0.009909242, 0.04270865, -0.03971069, -0.01814749, 0.04106223, -0.00031311947, 0.0063092327, -0.06290802, -0.04049704, -0.00868057, 0.029070387, -0.013859424, -0.01725056, -0.027153658, -0.007286027, -0.018405512, 0.0015773082, 0.019916778, 0.00060857675, 0.0018138275, -0.029217828, -0.0029042743, 0.032264937, 0.014461474, -0.038727753, 0.036122967, -0.037105903, 0.008508556, 0.0039593964, -0.0026047854, 0.032412376, -0.009995249, -0.013785704, -0.037597373, -0.023271054, -0.025482664, 0.009153609, -0.015616425, 0.056224044, 0.020727701, -0.02092429, -0.02478232, 0.005292506, -0.040890217, -0.03415709, 0.09765488, -0.052390587, -0.008146098, 0.02752226, 0.0407182, -0.0074334675, 0.061925087, -0.06747869, 0.012065562, -0.0806009, -0.042733222, 0.0107816, -0.019548178, 0.07086982, 0.027546834, -0.039317515, 0.0023928394, -0.013539969, -0.040325027, -0.05583087, 0.04135711, -0.012213003, -0.0058392654, 0.007869646, -0.0019305514, -0.0056611076, 0.021440333, 0.0037290205, 0.036172114, 0.010597299, 0.0004127571, 0.017447148, 0.03550863, 0.020629408, 0.025286077, -0.013367955, -0.014142019, 0.058976274, 0.033174153, 0.014854648, -0.002262293, 0.0075194747, 0.0033419887, 0.019511316, 0.0018153634, 0.0128641995, -0.018540666, -0.011156345, -0.025851266, -0.010701736, -0.020371387, -0.028652638, 0.036466993, -0.020531114, 0.015530419, -0.07932308, -0.019597324, -0.07288484, 0.010621873, -0.009233473, -0.03337074, 0.019695617, 0.0036337983, 0.021022584, 0.0028351615, -0.021243745, 0.021194598, -0.010910611, 0.009307193, -0.028284037, 0.009522211, -0.0031822613, 0.023344774, -0.012145426, -0.0029764588, -0.008760434, -0.00041813255, 0.008920161, -0.0050774883, 0.021219172, -0.0053631547, 0.0203591, -0.036811024, 0.0043556434, 0.035336617, 0.021501767, -0.0056150327, 0.0048225387, 0.013146794, -0.010535865, -0.015530419, 0.004828682, -0.017139979, 0.04398647, -0.004146769, -0.011727678, 0.034058798, 0.04098851, -0.0215632, 0.009153609, 0.020457394, 0.018675819, 0.019007562, -0.0011564879, 0.03686017, -0.006806845, -0.0038580312, 0.024831468, -0.017127693, 0.010554295, 0.037351638, -0.019019848, 0.010093544, 0.006438243, 0.0013807205, 0.020346815, -0.010701736, 0.014928369, 0.03464856, 0.009982963, -0.014240312, -0.020420535, -0.022214396, 0.00721845, -0.020125654, -0.00042696364, 0.0029964247, -0.01158638, 0.018122917, -0.006892852, 0.061581057, -0.009043029, -0.012729045, 0.0018138275, 0.016513357, 0.007421181, -0.010929041, -0.011758395, 0.0015895949, 0.00464131, -0.0072614537, 0.035656072, -0.0011587916, 0.00007194452, 0.011684674, 0.01679595, 0.039120927, 0.0009537569, 0.021858081, -0.010099687, 0.022693578, -0.0016279909, -0.010910611, 0.0656111, -0.0101549765, -0.043101825, 0.016918818, -0.0217475, -0.034378253, 0.0060880715, 0.0155672785, -0.01983077, -0.013134507, -0.014019151, -0.019843059, 0.031208277, 0.009405486, -0.053078644, 0.012937919, 0.023701089, 0.015813014, -0.01162324, -0.0012386553, 0.020273093, 0.012741332, -0.0011925801, -0.03772024, -0.028972093, -0.010111974, 0.00059820985, 0.054503907, -0.0037843108, 0.011733821, -0.030569367, -0.013711983, -0.005968276, -0.012606178, -0.055781726, -0.011260782, 0.0009637399, 0.014719495, -0.03671273, 0.018356364, 0.0077222055, -0.005553599, 0.010757026, -0.011488087, -0.015518132, 0.0060788565, 0.03167517, 0.02565468, -0.010996617, 0.009024599, -0.009344053, -0.024008257, 0.010732453, -0.043077253, -0.009221186, -0.035828084, 0.0035846515, -0.003569293, 0.00029718512, -0.054209024, 0.011770681, 0.018774113, 0.0030732166, -0.03337074, -0.07406437, 0.004281923, -0.010437571, 0.057403572, -0.0037689523, 0.019707905, 0.005255646, 0.02130518, -0.0077713523, -0.0015703968, -0.040374175, -0.004300353, 0.018577525, -0.0067024077, -0.033641048, -0.026072428, 0.0008224425, -0.0028781649, -0.018982988, 0.016316768, -0.012815053, 0.014412327, -0.019118141, -0.021219172, -0.022582997, -0.004447794, -0.0019090497, 0.018552952, 0.031871762, -0.011997986, 0.0071570165, -0.0025909627, -0.017742028, -0.078536734, 0.0060204943, -0.005833122, 0.0055167386, -0.03243695, 0.021354325, 0.016513357, 0.0044907974, -0.019474456, 0.002761441, 0.012987067, -0.0155672785, 0.00030160067, 0.0363687, -0.018122917, 0.048581704, -0.025679251, -0.013785704, -0.014522907, 0.03101169, -0.0229516, 0.040079292, 0.03142944, 0.06236741, 0.013515396, 0.014277172, -0.0068375617, 0.02538437, -0.0032099064, 0.009423917, -0.04221718, 0.0044600805, 0.0062600854, -0.021759788, -0.0070894393, -0.022103814, 0.0031791897, 0.008459409, -0.0033327737, 0.0026600757, -0.004506156, 0.0047396035, 0.02231269, -0.018946128, -0.019118141, 0.028824653, 0.051653385, 0.0028320898, -0.007046436, -0.002368266, -0.023000747, 0.029488137, 0.02823489, -0.025003482, -0.050572153, -0.014854648, -0.042290904, -0.03956325, -0.034451973, -0.0063092327, -0.010769313, -0.0011203956, -0.009694225, -0.0031407936, 0.0104191415, 0.014793215, 0.018663533, -0.03314958, 0.0043771453, -0.0049361913, 0.0057440433, 0.004119124, -0.018958414, 0.00030544028, -0.0070402925, -0.09092175, 0.008502413, 0.02253385, -0.019585038, 0.013036214, 0.012839626, -0.0010052075, -0.010265557, -0.013883998, 0.0023436926, 0.02752226, -0.0031116128, 0.005780903, -0.0027307242, 0.03398508, -0.03577894, 0.0019121213, 0.007666915, 0.016599363, -0.0014751747, -0.008631423, 0.0007567854, 0.044256777, 0.05882883, -0.01080003, -0.018958414, 0.0017646806, -0.03243695, 0.0067515546, 0.018614385, -0.040398747, 0.012311297, 0.038383722, 0.059713475, -0.006339949, -0.019732477, 0.00789422, 0.027202806, 0.011801397, 0.012876486, 0.0064259563, -0.053029496, 0.012778193, -0.024770034, -0.015653286, -0.03764652, -0.0034955728, -0.023037607, 0.018159777, -0.0104191415, -0.036688156, 0.020875143, 0.014694921, -0.018626673, -0.024278566, 0.007593195, 0.016144754, -0.02231269, -0.023897678, 0.013539969, -0.033641048, -0.026416454, 0.025077203, -0.0090614585, -0.004773392, -0.026146147, -0.015653286, 0.01635363, 0.008803437, -0.027350247, 0.0123174405, 0.016525643, -0.012249863, 0.0034525692, 0.0106894495, -0.0074764714, -0.019179575, 0.004598306, -0.012557032, 0.03577894, 0.032633536, -0.010363851, 0.0007333638, 0.044379644, -0.006726981, -0.0009192005, -0.008342685, -0.0032713402, -0.01650107, 0.0015089632, 0.008668283, -0.0073474604, -0.0077713523, -0.0067822714, 0.028382331, -0.032682683, 0.010191837, -0.016562503, 0.034378253, 0.020801423, 0.02099801, 0.035901807, -0.0023052965, -0.050228126, -0.03784311, 0.019990498, 0.020875143, -0.0025756045, 0.05755101, 0.010941328, 0.01012426, -0.03713048, -0.025507238, 0.015886733, 0.0027660485, 0.012458738, 0.020715415, 0.013994578, 0.00018026927, -0.0023928394, 0.009767945, 0.00033750094, 0.020543402, 0.00008586308, -0.019376162, -0.025286077, -0.035041735, -0.0036399418, -0.03270726, 0.0009568286, 0.028775506, 0.031208277, 0.028603492, 0.019437596, -0.014301746, 0.0016295267, -0.009491494, -0.011672387, -0.03464856, 0.0006147201, 0.002097958, -0.0021256031, 0.001558878, 0.02238641, -0.059860915, -0.011739965, -0.0025848194, 0.005151209, 0.0029764588, 0.019056708, -0.012096279, 0.0019950566, -0.020371387, -0.0034986446, 0.0017984691, -0.018172063, 0.0070710094, -0.010357708, 0.025924986, 0.048385117, 0.0041436977, 0.013023927, 0.0071140127, 0.023357062, 0.02744854, 0.015763866, -0.041185096, -0.02196866, -0.010664876, 0.012876486, -0.008582276, -0.014780928, -0.02456116, 0.0027629768, -0.006573397, -0.003974755, -0.021403473, 0.0372042, 0.004966908, -0.0077836392, 0.02264443, -0.04398647, -0.051849972, 0.031257425, 0.03727792, 0.020752275, 0.029168682, -0.017828036, 0.029389841, 0.023725662, 0.011279212, 0.048729144, -0.0014275637, -0.016955677, 0.016034175, 0.023492215, -0.04320012, 0.0077652093, -0.0067024077, -0.042462915, -0.056420635, -0.012765906, 0.0120471325, -0.045485448, -0.00091689674, 0.0077897827, -0.014031438, -0.017619161, 0.030790528, -0.026711337, 0.038260855, 0.03921922, -0.0072921705, 0.0015757723, -0.038113415, -0.0450677, 0.021993235, 0.022324976, 0.00003669219, -0.011168632, 0.010750883, 0.0048931874, -0.0036921604, 0.021440333, -0.015370691, -0.012901059, 0.0109597575, -0.008557702, 0.013822564, 0.0053078644, -0.0073474604, -0.0040085437, -0.012716759, -0.030692235, -0.022681292, 0.033469036, -0.016169328, -0.032633536, 0.011346789, -0.0012486383, 0.01852838, 0.024954336, -0.0009982963, -0.0147440685, 0.035336617, -0.003455641, 0.015419838, 0.042978957, 0.013539969, -0.016967965, -0.014719495, 0.021403473, 0.018946128, 0.006382953, -0.0015527346, -0.015284684, 0.0045338008, 0.017398, 0.0109597575, 0.016709944, -0.0036153684, 0.0010405319, 0.011758395, -0.018245785, -0.023197334, -0.010376138, 0.0010574261, 0.019241009, -0.030249912, -0.009245759, -0.013883998, 0.0025556386, 0.06457902, 0.030544795, 0.004966908, 0.019179575, 0.0049576927, 0.025802119, 0.013380242, -0.0061617917, -0.028554345, -0.028185744, -0.029979605, 0.0007444986, 0.029168682, -0.00007285643, 0.031036263, -0.008649853, 0.03231408, 0.033026714, 0.009835522, 0.0066041136, 0.0028919876, 0.0067024077, 0.02752226, -0.027571408, -0.015616425, 0.012102422, 0.006622544, -0.0030762884, 0.01699254, 0.025605531, 0.018577525, -0.043617867, 0.035975527, 0.03686017, -0.0012056347, 0.010333135, -0.025703825, -0.006094215, 0.026146147, -0.005160424, 0.013097647, 0.04514142, 0.017766602, 0.0079925135, -0.000221353, -0.010240984, 0.010363851, 0.033763915, 0.0101426905, 0.01639049, -0.0028735574, 0.014314033, 0.024966622, -0.037916828, -0.0075133312, -0.024020543, 0.008133811, 0.0037689523, -0.0332233, -0.0004004704, 0.03167517, -0.02013794, -0.023258768, 0.0051942123, 0.0016034174, -0.02066627, 0.0090553155, -0.005436875, 0.011144058, 0.0050744168, 0.027399393, -0.0047795353, -0.030348206, 0.0079986565, -0.010548152, 0.03224036, -0.009546784, -0.03351818, 0.057649307, -0.017668309, -0.0029964247, 0.003222193, 0.020076506, -0.0045768046, 0.030520221, 0.008324255, -0.022779586, -0.024843754, -0.030397354, 0.031134557, -0.020899717, 0.020113366, -0.0011887405, 0.0101488335, 0.0041498407, 0.023639657, -0.021686066, 0.02238641, 0.0024465937, -0.04890116, -0.016402775, -0.0024865256, -0.011119485, -0.018540666, -0.012532458, 0.020273093, -0.012815053, -0.010898324, 0.018454658, 0.008895588, -0.039612398, -0.011248495, -0.0120471325, 0.024106551, -0.010308561, -0.015776154, -0.0027000075, -0.03152773, 0.01796319, -0.02284102, -0.019658757, -0.0031315787, 0.008944735, -0.041824006, 0.004736532, 0.013908571, 0.01957275, -0.04705815, 0.0017155338, 0.006554967, 0.04646839, -0.016537929, 0.0027568336, 0.020113366, 0.02531065, 0.0071754465, -0.017582301, -0.0027737278, 0.019695617, 0.039292943, -0.00018852441, -0.002723045, -0.0034064942, -0.013367955, -0.026834203, 0.009958389, -0.044748247, -0.017729742, 0.023971397, 0.028922947, 0.0032375515, 0.0037750958, 0.0010743204, 0.015985027, -0.04027588, 0.026195293, -0.02384853, 0.010326991, -0.017410288, -0.0036215116, -0.01960961, -0.0030624657, 0.008705144, 0.0024481297, 0.013220514, -0.012360443, -0.0011142523, -0.030495647, -0.03658986, 0.014866935, 0.019818485, -0.019302443, -0.017987764, -0.027251953, 0.023860816, -0.0006876725, -0.010830747, 0.031257425, -0.0147563545, 0.00091382506, 0.06315376, 0.03592638, 0.008649853, -0.0014744068, -0.041651994, -0.0020795278, 0.0016510284, -0.03663901, 0.0028735574, -0.023307914, 0.024647167, 0.016378202, -0.0024865256, 0.017643735, -0.028775506, 0.011721534, 0.015321544, -0.018663533, 0.039194647, -0.013404815, 0.0038641745, 0.04698443, -0.002829018, 0.010044396, 0.0016279909, -0.007881933, 0.008526986, 0.018798687, 0.007544048, -0.011432796, 0.010486718, 0.030569367, 0.003811956, 0.010265557, 0.0008969308, -0.0506213, -0.031748895, -0.02320962, -0.005252574, -0.041455403, 0.014768641, 0.00946692, -0.008459409, 0.024290852, 0.0038426728, 0.015616425, 0.028136596, -0.031355716, -0.011254638, -0.003108541, -0.022140676, 0.009743372, 0.008373402, -0.0028996668, -0.010167263, -0.010726309, 0.025752973, 0.017606875, 0.048802864, 0.022189822, 0.00045460876, 0.031945482, 0.026981644, -0.018724967, 0.020789135, -0.020592548, 0.0114758, -0.024942048, -0.027792567, 0.018466946, 0.012501741, 0.007955654, -0.016709944, -0.016550217, -0.013638263, -0.0018337935, 0.0037658806, 0.020260807, -0.0076914886, -0.035533205, 0.015960453, 0.026170721, -0.008453266, -0.036196686, -0.009184326, 0.0019198005, 0.036172114, -0.005977491, 0.016193902, -0.016132468, 0.017570015, -0.03157688, 0.019105855, 0.011015047, -0.008207532, -0.019658757, -0.0062416554, 0.023590509, 0.0328547, -0.0048225387, -0.021821221, 0.015014376, 0.028505199, -0.015554992, 0.0065426803, 0.01282734, -0.0033020568, 0.0187864, 0.03464856, -0.023750236, -0.01233587, 0.00032079866, -0.009251903, 0.04450251, 0.010173407, -0.02594956, -0.0039839703, -0.042168036, -0.0071078693, 0.02373795, -0.029709296, -0.006401383, -0.018012336, -0.0004860935, 0.008914018, 0.0036983038, 0.012151569, 0.012618465, -0.023983683, -0.052882057, -0.011629384, -0.017164553, 0.020187087, 0.017090833, -0.0065856837, 0.0017846465, -0.04442879, 0.023504501, -0.0131222205, -0.008582276, 0.01889698, -0.01222529, 0.0231359, 0.003329702, 0.037327066, -0.003658372, -0.028136596, 0.019314729, -0.005823907, 0.015518132, 0.024733175, -0.021231458, 0.014301746, 0.020948863, 0.040374175, -0.017803462, -0.0038826047, 0.03351818, -0.05253803, 0.020445108, 0.016255336, -0.00015655973, -0.0046044495, -0.0125754615, -0.010130404, 0.02958643, -0.00937477, -0.009509924, 0.0147563545, 0.0009606682, -0.002262293, -0.031847186, 0.011254638, 0.019449882, 0.02077685, 0.007900363, 0.023934538, -0.0013661301, 0.0172137, 0.0047703204, -0.01010583, 0.004318783, 0.016316768, 0.026490176, -0.0066164006, -0.008889444, 0.015837586, 0.0041897725, 0.0012463345, -0.013883998, 0.018958414, 0.00026531643, -0.033100434, -0.019155001, 0.00215632, 0.021206884, 0.01608332, 0.0020626336, -0.0069665723, 0.022079242, -0.03921922, 0.009129035, 0.0320192, 0.024057405, -0.024290852, 0.033813063, 0.03221579, 0.01143894, 0.027202806, 0.030495647, -0.000090038644, -0.016943391, -0.032830127, 0.00047419072, -0.013441675, -0.00085853477, 0.021096304, 0.005762473, 0.0050191265, -0.009632791, 0.02658847, -0.006054283, 0.0042419913, 0.015198677, 0.008152241, -0.0048870444, -0.0052495026, 0.037179627, 0.016206188, 0.011574093, 0.019486744, -0.0068867086, 0.00067039434, 0.03550863, 0.013183654, 0.014670348, -0.009116748, -0.022288116, 0.010591156, -0.00612186, 0.03614754, -0.025679251, 0.005396943, -0.0020472752, -0.0046075215, -0.0050928467, 0.013589116, -0.009251903, 0.017115405, 0.036614437, -0.02196866, -0.032043774, 0.0011273068, -0.0026616114, -0.0020257735, -0.03101169, -0.008182958, -0.023541361, -0.035238322, 0.0010950542, 0.034034222, 0.011027334, 0.0026723624, 0.0027169017, -0.002512635, 0.033247873, 0.014043725, -0.018872406, 0.029512709, 0.03450112, 0.0015972741, 0.0018645102, -0.035901807, -0.014228025, -0.0036153684, 0.00032559817, 0.013306522, 0.0020426677, 0.009829379, -0.028652638, 0.00500684, -0.005977491, 0.030127045, -0.025605531, -0.02231269, -0.008858727, 0.025605531 ]
2401.09350
346
hy (w, t) _ Jo w(t cos @) sin*? 6 dé yy (ta-2 | h1(w,t) (d of Je w(tcos 6) sin’ 6 dé ' (d H( Ia 1), where we denoted by Ig = Io 0 ω(t cos θ) sind θ dθ. Using integration by parts: where we denoted by Ig = Io w(tcos 4) sin’ @ d@. Using integration by parts: Tq = —w(tcos 0) cos @ sin! 6) + [ cos 6 G cos @)(d — 1) sin’? 6 cos 6 — w(t cos @)t sin? 6] dé =(d-1) [ vtteose) cos” @ sin’? 6 do — t [ a'(eeos0) cos 6 sin? @ dO = (d— 1)Ig_2 — (d-1)Ia — ‘[ w'(tcos 0) cos @ sin’ 6 dO.
2401.09350#346
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 346, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "hy (w, t) _ Jo w(t cos @) sin*? 6 dé yy (ta-2 | h1(w,t) (d of Je w(tcos 6) sin’ 6 dé ' (d H( Ia 1),\nwhere we denoted by Ig = Io\n0 ω(t cos θ) sind θ dθ. Using integration by parts:\nwhere we denoted by Ig = Io w(tcos 4) sin’ @ d@. Using integration by parts:\nTq = —w(tcos 0) cos @ sin! 6) + [ cos 6 G cos @)(d — 1) sin’? 6 cos 6 — w(t cos @)t sin? 6] dé =(d-1) [ vtteose) cos” @ sin’? 6 do — t [ a'(eeos0) cos 6 sin? @ dO = (d— 1)Ig_2 — (d-1)Ia — ‘[ w'(tcos 0) cos @ sin’ 6 dO.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.0095410645, 0.0060280757, 0.019344898, 0.02227291, -0.01235646, -0.042768992, 0.010241785, 0.015966423, 0.011217789, 0.012318921, -0.02985571, 0.022160294, -0.015403344, -0.017805815, 0.012381486, 0.0590107, 0.009928963, 0.020233313, -0.0069759255, 0.054856427, -0.018619152, -0.035761785, -0.0068507968, 0.063615434, 0.0064691543, -0.026226977, -0.006957156, 0.022147782, -0.0005630792, 0.0029342682, 0.035111114, -0.028929757, 0.025125844, -0.049701124, -0.002918627, 0.07853078, -0.030931817, 0.091794424, -0.019119667, 0.029880736, -0.010936249, 0.0073075164, -0.01948254, 0.0041855555, 0.0026183182, -0.041567758, -0.09219483, 0.02968053, 0.017893406, -0.031582486, 0.03543645, -0.022285422, 0.009972758, 0.03778887, -0.029180015, -0.02004562, 0.012337691, 0.05540699, 0.004901917, -0.03173264, -0.058159824, -0.0047017112, 0.0037444767, -0.019282334, -0.06106281, 0.003148551, -0.015378319, 0.016542016, -0.01416457, 0.002571395, -0.020558648, 0.059210904, 0.05195344, 0.0042418633, 0.012200049, -0.0011973253, -0.029054886, -0.025826566, -0.014840265, 0.018806845, 0.03355952, -0.011230302, -0.028254062, 0.03591194, 0.014364776, -0.042693917, -0.047323678, -0.013588978, -0.0674694, 0.0045046336, 0.0009791321, 0.03926539, -0.026126875, -0.041342527, 0.008802805, -0.024525227, -0.001091748, 0.036462504, -0.011011327, -0.042693917, 0.010510812, -0.06606796, 0.028954783, 0.033484444, 0.074426554, 0.007839314, -0.029280119, -0.007326286, -0.061313067, -0.02990576, -0.009090601, 0.0044170436, 0.017267762, -0.022047678, 0.014927855, 0.00028701397, -0.0176932, -0.03848959, -0.024287483, -0.044645924, -0.012738103, -0.045747057, 0.030831713, -0.036162198, 0.0040729395, -0.01616663, -0.057809465, -0.014489904, -0.046122443, -0.01135543, -0.004795558, -0.0049488405, -0.026151901, -0.0328588, 0.020283364, -0.017593097, 0.042293504, 0.036312353, 0.037713792, 0.06236415, 0.04754891, 0.059511214, -0.014414827, -0.00088293944, 0.057058692, 0.0094034225, -0.02506328, 0.024062252, 0.06481667, 0.02144706, -0.015566011, -0.04231853, -0.008721471, -0.013676568, 0.03803913, 0.007601569, 0.017292788, 0.036087118, -0.024975691, 0.03748856, -0.04537167, -0.0033440648, -0.018006021, -0.01839392, -0.030381251, -0.024350047, 0.027253034, -0.02797878, -0.028704526, -0.032158077, -0.029630478, -0.00063150894, 0.010592145, 0.035461478, 0.047023367, 0.03436034, -0.013326207, -0.016454425, -0.052153647, -0.025301024, -0.0155034475, 0.039815955, 0.005874793, -0.041117296, -0.0069071045, -0.017818328, 0.010479529, -0.008139622, 0.0032908851, -0.016454425, 0.03783892, 0.037213277, 0.056508124, -0.03873985, 0.012437793, -0.02797878, 0.033484444, 0.023849532, 0.010804864, 0.015891345, 0.069621615, 0.029455299, 0.012656769, -0.0077329543, -0.037163228, 0.018769307, 0.030105967, 0.04214335, -0.057208847, -0.008177161, 0.019945515, -0.040691856, 0.011192763, 0.016667144, -0.02720298, 0.0337347, -0.05430586, -0.024412611, -0.011505585, 0.05695859, -0.06586775, 0.0626144, 0.002629267, 0.029630478, -0.017355353, 0.034535524, 0.0066318214, -0.019707771, -0.013789183, 0.025901644, 0.02448769, -0.0026104976, -0.01469011, -0.03385983, 0.041642834, 0.0075765434, -0.023574248, -0.0014428904, -0.03103192, -0.0118121505, -0.028404217, 0.00974127, -0.006800745, -0.003678784, -0.0135139, -0.01791843, 0.011793381, 0.013651542, -0.006081255, -0.038714822, 0.0014100441, 0.037688766, 0.026502261, 0.022222858, -0.0102167595, 0.05235385, 0.004983251, 0.035311323, -0.037463535, 0.013639029, 0.027052827, -0.036988046, 0.0066130525, 0.035361372, 0.017430428, 0.0039884774, 0.027378162, -0.009979014, 0.037939023, 0.04014129, -0.012275127, 0.016204167, -0.007395107, 0.021321932, -0.034185164, 0.009991528, 0.004410787, 0.044095356, 0.017593097, 0.056708332, 0.01718017, -0.0146025205, -0.047348704, 0.01813115, -0.050501946, -0.01100507, -0.06897094, 0.0047329934, 0.0008289777, -0.012312665, 0.053454984, 0.032183103, 0.012913283, -0.03090679, -0.020133208, 0.014214621, -0.012293896, 0.0050082766, 0.059160855, -0.015465909, 0.006519206, -0.016066527, -0.0069446433, 0.0051709437, -0.0164294, 0.044095356, 0.056808434, 0.0027966266, 0.052103594, 0.0033096543, 0.024137327, -0.0046203774, 0.016091552, 0.03421019, -0.04807445, -0.043870125, -0.0006319, 0.020208286, 0.025751488, -0.013614004, 0.012888257, 0.0058560236, 0.0026746262, -0.044996284, -0.012756872, -0.009328345, -0.020521108, -0.03325921, -0.00675695, -0.028078882, -0.014965394, -0.002383702, -0.016717196, -0.002643344, -0.011186507, -0.011011327, -0.021647267, 0.03979093, -0.013351234, 0.023411581, -0.0740762, -0.016479451, -0.00062251533, -0.0061375634, -0.004097965, 0.0074639274, 0.026352106, -0.02209773, 0.028178986, 0.016404374, -0.0151405735, 0.010886198, 0.020233313, -0.003192346, 0.06431615, -0.03583686, 0.0146025205, -0.010385683, -0.041692887, 0.025951695, -0.059411112, 0.0045859674, 0.046472803, 0.022498142, -0.014227134, 0.036012042, 0.028078882, 0.01054835, -0.0037851434, 0.024938151, -0.0046641724, 0.036512557, -0.022810964, 0.019782849, -0.015440883, -0.0035536552, 0.025776515, -0.010160451, 0.022410551, 0.008220956, -0.010736044, -0.012756872, -0.019457513, -0.019732798, -0.017017504, -0.034810808, 0.018356381, 0.008427419, 0.0454968, -0.013226105, 0.069321305, -0.032408334, -0.011874715, 0.028429242, 0.021459574, -0.073725834, 0.06842038, 0.048800196, -0.014189595, -0.024037225, 0.006650591, -0.044120383, -0.028479295, -0.060312036, -0.053755295, 0.0027215495, 0.0027981908, 0.029580427, 0.007951929, -0.03961575, 0.009553577, -0.059210904, 0.016191656, 0.014489904, -0.02044603, -0.007976955, 0.019407462, -0.00037910088, 0.0057246382, 0.036887944, -0.0015758397, -0.009591116, -0.01261923, -0.035861887, -0.018443972, -0.0039478107, 0.00020607135, 0.019007051, 0.03448547, -0.011130199, -0.0062188967, 0.050376818, -0.085537985, 0.05305457, -0.03050638, -0.019232282, 0.010229272, -0.009497269, -0.00514279, 0.029029861, -0.034310292, 0.034510497, 0.012562922, 0.001378762, 0.0023195734, -0.02567641, 0.029430272, -0.012362717, 0.0007069772, 0.014227134, -0.026226977, 0.018156176, 0.047098447, -0.033384338, 0.021897525, 0.0019097769, 0.0013193259, 0.027503291, -0.0017799559, -0.036637686, -0.013138514, -0.013301182, 0.009228243, 0.020158235, -0.0013122873, 0.029280119, -0.0023352145, -0.030731611, -0.00032572568, 0.0030875509, -0.028479295, 0.010761069, 0.099352196, -0.038339436, -0.016692169, 0.018406434, 0.0227484, 0.020546135, 0.027177956, -0.059861574, 0.04842481, -0.041167345, -0.07928155, 0.005818485, 0.01965772, 0.01525319, -0.0006870348, -0.049025428, 0.009747527, -0.022410551, -0.033659622, 0.010617171, 0.016316785, -0.012056151, -0.0021928807, -0.008433675, -0.011536867, -0.048099477, -0.000012696165, -0.028229037, 0.04084201, 0.03163254, -0.0057559204, 0.015328267, 0.06611801, -0.024475176, 0.015065497, 0.028078882, -0.027503291, 0.022548193, 0.017467968, 0.0066318214, -0.01172456, -0.011893484, 0.00070463103, -0.0346106, -0.008233469, 0.023837019, 0.017017504, -0.015002932, -0.029605452, 0.0043325815, 0.002427497, -0.006725668, 0.037113175, -0.0354865, 0.0059279725, -0.07707928, -0.018093612, -0.03533635, 0.01625422, 0.015578524, -0.03300895, 0.0065880264, -0.012738103, 0.0028263447, -0.016629605, 0.00044225177, 0.018806845, -0.014127031, -0.0227484, 0.02855437, 0.032958902, 0.0017424172, 0.0068883356, 0.011937279, -0.011443021, 0.0055056633, -0.005433714, 0.04759896, 0.014439853, -0.0069196178, -0.021146752, 0.021121725, -0.05775941, 0.0066193086, 0.027728522, -0.0088653695, 0.011743329, 0.0120373815, -0.016717196, -0.003638117, -0.03408506, -0.0035098603, 0.019407462, 0.05090236, -0.006913361, -0.0164294, -0.0050802254, 0.05225375, 0.0061000246, 0.007351312, -0.02510082, 0.0064316154, 0.008439931, -0.0059279725, 0.007000951, 0.010535837, -0.027878676, -0.011712047, -0.03926539, -0.011443021, 0.03190782, -0.0069759255, 0.0068320273, 0.01987044, -0.023811994, 0.05235385, -0.011205276, 0.009134396, 0.020245826, 0.023724403, -0.03914026, -0.0061000246, -0.009960245, -0.0064691543, -0.038114205, 0.001105825, 0.029455299, -0.028103909, 0.023023682, -0.024575278, 0.0132511305, -0.016054014, -0.043344583, 0.006882079, 0.032808747, -0.007432645, 0.00040745037, -0.013876773, -0.015065497, 0.01874428, -0.011217789, 0.0337347, -0.011205276, 0.016554529, -0.03128218, 0.0014350698, 0.04419546, -0.04454582, 0.042393606, 0.017993508, 0.05112759, -0.00025338563, 0.032158077, 0.05846013, 0.022172807, 0.014051954, -0.020471057, -0.01595391, -0.053004522, -0.012275127, 0.020883981, -0.0028748321, 0.00050364307, -0.02244809, -0.0058966903, 0.021259367, 0.012343947, -0.03596199, 0.0058966903, -0.008540034, 0.039215337, -0.015941398, 0.02580154, 0.018256279, -0.0014554033, -0.006347154, -0.029129963, -0.033109058, 0.018143663, 0.03861472, 0.057909567, -0.013976877, 0.0072074137, -0.0015727115, 0.004126119, -0.016792273, -0.03133223, -0.019782849, -0.021134239, -0.0064128465, 0.010379426, -0.050802257, 0.014940368, 0.043419663, -0.019632695, -0.02414984, -0.017593097, -0.010585889, 0.032308232, 0.031882796, 0.041117296, -0.010836146, 0.046622958, 0.0038915027, -0.0132511305, -0.025951695, -0.05505663, 0.016316785, -0.0042512477, -0.023686865, 0.0023805737, -0.019382438, 0.012168767, -0.010886198, 0.025926668, -0.0061438195, -0.0354865, -0.058860544, 0.003073474, 0.017480481, 0.0626144, -0.03255849, 0.029455299, -0.018406434, 0.012149998, -0.021259367, -0.0027403187, -0.0743765, 0.007382594, -0.026652414, 0.019620182, -0.011048865, 0.0021037264, -0.007839314, 0.050927386, 0.023424095, 0.021684805, -0.01760561, 0.00020919956, -0.014001902, -0.013463849, -0.026752518, -0.010448247, 0.038014103, -0.023599274, 0.035811838, -0.016979966, 0.007545261, 0.033184133, 0.019332385, -0.049976405, -0.0086401375, -0.0013420054, -0.020896494, -0.009397166, -0.011173993, 0.030130994, -0.026577339, -0.048499886, 0.0095410645, -0.00738885, 0.0270278, 0.0019285462, 0.03678784, -0.040766932, 0.0094785, -0.023862045, -0.029705556, -0.0044952487, 0.011167738, -0.025013229, 0.041717913, 0.035111114, 0.030881766, 0.026927698, 0.016016474, -0.016829811, 0.029830685, 0.0067882324, 0.010072861, 0.013126002, -0.0014554033, 0.005274175, 0.00212406, 0.03150741, -0.026252003, 0.03443542, -0.038214307, 0.045621928, -0.024425125, 0.010485786, -0.049801227, 0.013301182, 0.0032815004, -0.01218128, 0.017442942, 0.04920061, -0.017818328, 0.010579633, -0.012763129, 0.008815317, 0.0106859915, 0.03308403, -0.024350047, -0.041342527, -0.0016423143, -0.016241707, -0.009609885, -0.0021756755, -0.008258495, 0.004329453, -0.0027497034, 0.014877804, -0.028854681, 0.032007925, 0.017117606, 0.03398496, -0.040716883, 0.006237666, -0.01716766, -0.006015563, 0.029305143, 0.039215337, -0.001163697, -0.0048049423, -0.06741935, -0.011674508, 0.010210503, 0.014965394, 0.0087965485, 0.036988046, 0.009278294, -0.014552468, 0.015553499, 0.018281305, 0.0072136703, -0.029455299, 0.0021459574, -0.0033378084, 0.0052773035, -0.014202109, 0.0043763765, 0.024562765, 0.018669203, 0.01969526, 0.007169875, -0.00025475424, 0.027303085, 0.041993193, -0.02715293, -0.038014103, 0.010091631, -0.033609573, 0.01718017, -0.014202109, -0.019720284, -0.028529346, 0.01853156, 0.037288357, -0.0080332635, -0.008145879, 0.009290807, 0.052303802, 0.007789262, 0.015115548, -0.014902829, -0.07182388, 0.033934906, 0.030731611, -0.00077540695, -0.000804734, 0.013851748, -0.005027046, -0.00020177005, 0.016279245, 0.010104143, 0.022410551, 0.019382438, -0.008590085, -0.008590085, 0.0060249474, 0.0056245355, -0.009722501, -0.0028967296, -0.012587948, -0.01848151, 0.0069759255, 0.017030017, -0.025751488, -0.0024228047, -0.024612818, -0.019845413, 0.034710705, -0.029630478, 0.0031016278, 0.0044233, -0.0074514146, -0.0143772885, -0.018719254, 0.009609885, -0.032308232, -0.03503604, 0.0057215104, 0.0102167595, 0.0071886443, -0.03478578, 0.012118716, -0.013288669, 0.04729865, -0.032883823, -0.032108027, -0.038514618, 0.021171778, 0.0039384263, 0.009672449, -0.01660458, -0.012562922, 0.012175024, -0.019620182, 0.041417602, -0.03143233, -0.045446746, -0.035811838, 0.022035165, 0.010542094, -0.014289699, 0.028304113, 0.011474303, -0.046873216, -0.030281147, 0.014502417, -0.012325178, -0.0059529985, 0.030731611, -0.023349017, -0.0050958665, -0.022122756, -0.04136755, -0.008784035, -0.009491012, 0.016504476, -0.008596342, 0.011837176, -0.008677676, -0.0135139, 0.0069008484, 0.011299122, 0.004470223, -0.0003575944, 0.011392969, -0.054906476, -0.03708815, -0.027703496, -0.014752675, 0.004079196, 0.021497112, 0.0009408115, 0.025301024, -0.011956048, 0.014114519, 0.0072074137, 0.0035161166, 0.031607512, -0.02083393, 0.0038007845, -0.016979966, -0.026902672, 0.002946781, 0.017255249, -0.028479295, 0.01839392, -0.021334445, -0.0029217554, 0.03313408, 0.026051797, -0.013639029, -0.02815396, 0.018356381, 0.0048612505, 0.010504555, -0.012888257, -0.012600461, -0.036362402, 0.011036352, 0.02327394, -0.0021600344, 0.010560863, 0.00775798, -0.0036443737, 0.016617093, 0.012012356, -0.033759724, -0.0072887475, 0.011874715, -0.0036537582, 0.006134435, 0.028254062, -0.0371382, -0.0101104, -0.017618122, 0.0421934, -0.012400255, 0.0135139, -0.019019565, 0.019432489, -0.03150741, 0.0139268255, -0.012343947, 0.013726619, 0.03343439, -0.032133054, 0.011868458, -0.02597672, -0.008277264, 0.01534078, 0.010704761, 0.027303085, -0.009822603, 0.012675539, 0.040566728, 0.03398496, -0.0057809465, 0.0021928807, -0.0073763374, -0.01904459, -0.040216368, -0.006334641, -0.009290807, -0.017492993, -0.013689081, 0.015791243, 0.006481667, -0.03826436, 0.011211532, -0.022823477, 0.02832914, 0.034060035, -0.0017158274, 0.03103192, -0.06266446, 0.009722501, -0.00044577103, 0.026001746, -0.017930944, 0.008677676, 0.027002776, -0.033059005, -0.013301182, 0.021459574, -0.009378397, -0.018944487, -0.014302212, -0.012056151, -0.007601569, 0.01795597, -0.011305379, -0.014677597, 0.0026558568, -0.0005994447, 0.008120853, 0.038689796, -0.02048357, -0.02301117, 0.013213592, -0.014114519, 0.013113488, 0.027628418, 0.018769307, 0.0064441287, 0.011386712, 0.003362834, 0.052403904, 0.022560706, -0.008790292, -0.006394077, 0.0059842807, 0.042293504, 0.019720284, 0.023661839, -0.014489904, 0.002832601, -0.001623545, -0.008508752, -0.029755607, 0.008727727, 0.015666114, -0.023048708, 0.0073638246, -0.05800967, 0.0030249865, -0.0421934, -0.008296033, -0.004135504, -0.013776671, -0.008815317, 0.0039822212, -0.0069196178, 0.06857053, 0.015941398, -0.0005329701, -0.010129169, -0.006763207, 0.012206306, 0.0020880853, -0.009165678, -0.03250844, -0.006763207, -0.00034879628, -0.0066193086, 0.0353864, 0.008765266, 0.029880736, 0.017080069, 0.03571173, 0.017030017, 0.008208443, -0.021209316, 0.015265702, -0.008064546, 0.0072887475, -0.022848502, 0.0072637214, 0.00004702102, -0.010535837, -0.04489618, 0.017830841, 0.070022024, 0.021109214, -0.018756794, 0.031807717, 0.04449577, 0.008558803, -0.005665202, 0.01081112, -0.01146179, 0.03508609, 0.018931974, 0.016792273, 0.034310292, 0.019882953, 0.052103594, 0.003129782, 0.012581692, -0.00784557, 0.023811994, -0.041342527, 0.011317892, 0.015916372, 0.04729865, 0.0044326847, -0.025613846, -0.002543241, -0.01795597, 0.0073763374, -0.01909464, -0.011755842, 0.008733984, 0.0025276, -0.022610757, -0.013588978, 0.02990576, -0.001436634, 0.0020317775, 0.01821874, 0.027703496, -0.007595313, 0.021822447, -0.008752753, -0.003750733, -0.024612818, 0.01146179, -0.013188566, -0.0035943221, 0.009084344, -0.020808904, 0.08068299, -0.004151145, 0.011749586, 0.0018081098, 0.028604424, -0.014239647, 0.026352106, 0.013964364, -0.03731338, -0.027127905, -0.024224918, -0.01716766, -0.024337534, 0.02715293, 0.012775641, -0.01957013, -0.0069196178, -0.0002140874, -0.0021881883, 0.029880736, 0.001837828, -0.030256122, 0.006049973, 0.0059717675, -0.03583686, -0.0103043495, -0.015978936, -0.01569114, -0.009503526, 0.005658946, -0.0046235058, 0.009434705, -0.030431302, 0.00012503096, -0.0038977594, 0.023499172, -0.03398496, -0.03250844, 0.016904889, -0.010316862, 0.02409979, -0.004032273, -0.0041605295, -0.0034003726, -0.0024759844, -0.0051334053, -0.0286795, 0.018318843, -0.02850432, -0.04014129, 0.022473115, 0.03298393, 0.03944057, -0.018731767, -0.010254297, 0.0029811915, 0.008921677, -0.0085024955, 0.03300895, -0.00405417, 0.025901644, 0.018318843, -0.012594204, 0.004351351, 0.007501466, 0.012018613, -0.0068633095, 0.014477392, -0.017155146, -0.015328267, 0.018669203, 0.0051959697, 0.010598402, 0.013651542, -0.024875587, 0.011030096, -0.016754733, 0.008683932, -0.013826722, 0.03896508, 0.00559951, 0.016504476, -0.0057809465, 0.00034860076, 0.009703731, -0.0013326207, 0.0052366364, -0.03165756, -0.00033139557, -0.029830685, -0.013376259, 0.0066255652, -0.013501388, -0.0008031699, -0.0043607354, -0.030156018, 0.015978936, -0.027278058, -0.012337691, 0.008052032, 0.024337534, 0.009103114, 0.035536554, 0.003850836, 0.021859985, 0.004135504, 0.0018988282, -0.01813115, -0.019895464, -0.00666936, 0.012187536, -0.011574405, 0.011036352, 0.008177161, -0.019107154, -0.010047835, -0.02837919, -0.007858083, 0.04807445, -0.039640777, 0.031832743, -0.014302212, 0.002558882, 0.017768277, -0.011224045, 0.0058841775, 0.019032076, 0.020971572, -0.0014522751, 0.026026772, 0.00477366, -0.012412768, 0.0061000246, -0.0011183379, 0.0016657759, 0.0148277525, 0.003979093, -0.016617093, -0.04224345, -0.008984242, -0.04554685, -0.02837919, 0.010135425, 0.005124021, 0.009221986, 0.00013461112, 0.008358598, -0.014452366, 0.004357607, -0.010679735, -0.010029066, 0.010873685, -0.02432502, -0.018268792, 0.005048943, -0.039115235, -0.0038758619, -0.025563795, 0.018406434, 0.00010352446, 0.016729709, 0.00065614365, -0.015015445, 0.046397727, 0.025125844, 0.006506693, 0.031106997, -0.0032439618, 0.016104065, -0.03818928, 0.0076203384, -0.027353136, 0.037763845, 0.014189595, -0.028178986, -0.010441991, 0.000531015, 0.00012082741, 0.0061125373, 0.024775485, 0.017830841, -0.037338406, 0.00186911, 0.003534886, -0.0020051876, -0.006600539, -0.026777543, -0.0033816034, 0.007345055, -0.030231096, 0.01469011, 0.00025103948, 0.009040549, -0.03178269, 0.018143663, -0.009415936, 0.011061378, -0.015891345, 0.008296033, 0.052854367, 0.031482384, 0.01774325, -0.03683789, 0.044620898, 0.018206228, -0.00103544, 0.007851827, 0.009797578, -0.01595391, 0.01734284, 0.00858383, -0.0046297624, -0.0006631822, -0.021647267, -0.014177083, 0.05370524, 0.035586607, 0.015190626, 0.011687022, -0.030831713, 0.0027418828, -0.018231252, -0.032883823, -0.012525383, 0.00937214, -0.0155034475, 0.01830633, 0.024587791, 0.0028779602, 0.0076078256, -0.025476206, -0.035661682, -0.004382633, -0.004698583, 0.0106859915, 0.0038821183, -0.016729709, 0.028704526, -0.045646954, 0.048174553, -0.0011519662, -0.024262456, -0.013826722, -0.0231363, 0.00058575877, 0.011399225, 0.027703496, -0.003763246, -0.028704526, 0.031407308, 0.018619152, 0.019495053, 0.029280119, -0.007282491, -0.00028349474, 0.035511527, 0.024762971, -0.016854838, 0.02227291, 0.03068156, -0.02515087, 0.03273367, 0.042768992, -0.026752518, -0.001279441, -0.057359, 0.004507762, 0.01930736, -0.028178986, -0.0012755308, 0.01486529, -0.018406434, 0.021647267, -0.00046532237, 0.03173264, 0.0065817703, 0.0023023682, 0.0062439227, 0.023436608, -0.013351234, 0.008377367, -0.006481667, -0.003957195, -0.017317813, 0.022247884, 0.02850432, -0.0069634127, -0.0077767493, 0.039590724, 0.019907977, 0.021309419, -0.022911066, 0.02162224, 0.014890316, -0.014302212, -0.022047678, 0.015528473, 0.014790214, 0.04955097, -0.022172807, 0.036237273, -0.0036068351, -0.036862917, -0.020596186, 0.01686735, 0.023248915, -0.0024556508, 0.021196803, 0.020546135, 0.0071886443, 0.019945515, 0.015153087, 0.0070197205, -0.004357607, -0.01207492, 0.016279245, 0.0027184212, -0.008458701, 0.015002932, 0.00926578, 0.037638716, 0.01342631, 0.020033106, -0.019907977, 0.039065182, 0.008877882, -0.0069759255, 0.041517705, -0.016742222, 0.023686865, -0.0026652415, 0.0022882912, 0.013714107, -0.02797878, -0.013501388, 0.02933017, 0.018631665, 0.0060186908, 0.0101104, -0.0036568865, 0.012675539, 0.0048768916, 0.059210904, 0.0030812945, -0.018856896, 0.011981074, -0.0032658593, -0.005887306, 0.014152057, 0.0045765825, -0.028629448, 0.0015304806, -0.016066527, -0.018756794, 0.021822447, -0.029305143, -0.002167855, -0.036162198, -0.041567758, -0.011536867, -0.022760913, -0.019820388, 0.031006895, 0.0070760283, 0.0021803677, 0.0031000637, -0.060762502, -0.016767247, 0.004323197, 0.0011910689, 0.03796405, 0.00092595245, 0.05170318, -0.023123786, -0.011436764, -0.0138392355, -0.0061219223, -0.008802805, -0.012806923, -0.0051521747, 0.017830841, -0.017993508, -0.0024884972, -0.027903702, 0.024662869, -0.0017799559, -0.011855945, 0.036812868, 0.0029718068 ]
2401.09350
347
Because ω(s) = 0 for s < 0, the last term reduces to an integral over [0, π/2]. The resulting integral is non-negative because sine and cosine are both non- negative over that interval. It is 0 if and only if ω′ = 0, or equivalently when ω is constant. We have therefore shown that: Ta-2 hy (w,t) Ty < (d=1)la-2 — (d— IL. d-1)(-1) 21 >I, a < (d—1)Ia-2 — (d- 1) (1 1)(—- 2 hiqw.t) =P with equality when ω is constant, as desired. # 9.4.1.2 Learning a Codebook The results above formalize the intuition that the parallel residual plays a more important role in quantization for MIPS. If we were to plug the for139 ⊓⊔ ⊓⊔ 140 9 Quantization malism above into the objective in Equation (9.2) and optimize it to learn a codebook, we would need to compute h∥ and h⊥ using Theorem 9.1. That would prove cumbersome indeed.
2401.09350#347
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 347, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Because ω(s) = 0 for s < 0, the last term reduces to an integral over [0, π/2]. The resulting integral is non-negative because sine and cosine are both non- negative over that interval. It is 0 if and only if ω′ = 0, or equivalently when ω is constant. We have therefore shown that:\nTa-2 hy (w,t) Ty < (d=1)la-2 — (d— IL. d-1)(-1) 21 >I, a < (d—1)Ia-2 — (d- 1) (1 1)(—- 2 hiqw.t) =P\nwith equality when ω is constant, as desired.\n# 9.4.1.2 Learning a Codebook\nThe results above formalize the intuition that the parallel residual plays a more important role in quantization for MIPS. If we were to plug the for139\n⊓⊔\n⊓⊔\n140\n9 Quantization\nmalism above into the objective in Equation (9.2) and optimize it to learn a codebook, we would need to compute h∥ and h⊥ using Theorem 9.1. That would prove cumbersome indeed.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.012152149, 0.020963354, -0.008839882, 0.011872542, 0.01700584, -0.021465212, 0.012410248, 0.0037496013, -0.013657725, 0.041095056, 0.031574078, 0.021508228, -0.042242162, 0.049354214, 0.028433878, 0.033896968, 0.050300576, 0.0063449275, 0.015199148, 0.020332446, -0.020375462, -0.028634623, -0.029423257, 0.03888688, 0.044995215, -0.059821554, 0.028648961, 0.031975567, 0.049325537, -0.024576737, -0.0016400025, -0.022196492, -0.020848643, -0.0716941, -0.0033947155, 0.038227294, -0.0021490306, 0.03240573, -0.01944344, 0.03785448, -0.038198613, -0.014711629, -0.059821554, -0.00023009324, -0.0074561858, -0.0030254908, -0.0344992, -0.023945827, -0.014475038, 0.014883694, -0.0039288364, 0.030283585, -0.02585289, 0.0076927766, -0.03375358, 0.008811205, -0.01663303, 0.027344128, 0.05087413, -0.026655864, 0.021149758, -0.02573818, -0.009872277, -0.03168879, -0.017063195, 0.033552837, -0.022296865, 0.029537966, -0.017192245, 0.011772171, -0.039144978, 0.032118954, 0.048493885, 0.008302176, -0.019472117, -0.015156132, -0.011886881, 0.06853955, 0.034269776, 0.009291555, -0.0036384754, 0.0057104346, 0.03931704, -0.010969196, -0.019013274, -0.017665425, -0.05368454, -0.017278276, -0.065155596, -0.04700265, 0.0023909982, 0.021751989, -0.01796654, -0.005101035, 0.039144978, -0.026612848, 0.019629844, 0.029853422, -0.030369619, -0.04493786, -0.01954381, -0.059534777, 0.06785129, -0.025164628, 0.07576632, -0.002080921, -0.03593308, 0.003188595, -0.04797769, -0.03728093, -0.011822356, 0.030857138, 0.0101733925, 0.023372276, 0.026512476, -0.023128515, -0.03447052, -0.029767388, -0.00036339945, -0.016604353, -0.013141528, -0.020490173, 0.009900955, 0.0031258627, 0.007348645, -0.039661173, 0.014009026, -0.04981306, -0.011220126, 0.015399892, 0.0388582, -0.017063195, 0.0012510619, 0.0054057348, 0.00057355274, 0.027057352, 0.025795536, 0.022196492, 0.048293144, 0.021221451, 0.03874349, 0.02051885, -0.0018801776, -0.027172063, -0.014338819, 0.021336162, -0.036019113, 0.0037603553, 0.0041224104, 0.008302176, 0.020088686, -0.038514066, 0.0071550705, -0.015873073, 0.039861917, -0.019113647, -0.019371744, 0.018339349, -0.008459903, 0.009621347, -0.028519912, 0.010474508, 0.04467976, 0.0058394843, 0.040062662, -0.02331492, -0.021551246, -0.00970738, -0.056609657, -0.048149753, -0.0033194367, 0.0011739908, -0.030771106, -0.04149654, 0.03897291, 0.02658417, -0.012051778, -0.020905998, -0.045626123, -0.013808283, -0.022640996, 0.015041421, 0.02573818, 0.039202332, 0.0032154801, -0.060509816, 0.0019016858, 0.011578596, 0.017823152, -0.02819012, -0.011033721, -0.012503451, 0.1124737, -0.021379178, 0.021106742, -0.038657457, 0.020160379, 0.032606475, -0.028849704, -0.030369619, 0.034298457, 0.004541821, 0.023530003, 0.007112054, 0.0066388734, -0.0057283584, -0.014553902, 0.0432172, -0.06446733, -0.020834304, -0.0027172063, 0.0051153735, 0.045568768, -0.025953263, -0.032262344, 0.061140724, -0.052135948, -0.0040077, -0.0040973173, 0.042471584, -0.051648427, 0.030025488, -0.008954593, 0.0459129, -0.0429591, 0.035474237, 0.026067974, -0.0228274, 0.024834834, -0.023114176, 0.07754433, 0.013464151, 0.016446626, -0.05586404, 0.054200735, -0.0024232604, -0.025766859, -0.045224637, -0.03143069, -0.06108337, -0.04952628, 0.001805795, -0.0052121608, -0.0072160107, -0.045511413, 0.017808814, -0.020891659, 0.023644712, 0.021422196, -0.059248, -0.02464843, -0.022770045, 0.0008625696, -0.005911178, -0.059305355, 0.009793414, 0.025351033, 0.022985127, -0.004298061, 0.034757297, -0.03882952, -0.06750716, -0.014797661, -0.0044701267, 0.0010485261, 0.016331915, 0.00007740722, -0.024017522, 0.012137811, -0.0052874396, -0.011757832, 0.007323552, -0.009184014, 0.033065315, 0.00437334, -0.031488046, -0.015629312, 0.02659851, -0.031832177, 0.046113644, -0.026125329, 0.0016014669, 0.023271903, 0.038083903, 0.014532393, -0.035560273, -0.03848539, 0.009893785, -0.022368558, -0.062402543, 0.05405735, -0.00437334, 0.0071980874, -0.035359528, -0.013586031, 0.038313325, 0.002991436, -0.035474237, 0.009965479, -0.0046314388, 0.030340942, 0.026254378, -0.015686668, -0.0072160107, -0.04163993, 0.025422726, 0.034556553, 0.022526285, 0.013320763, 0.020719593, 0.01505576, 0.039804563, -0.037080187, 0.038514066, -0.06744981, -0.06452469, 0.021049386, -0.022655334, 0.03862878, -0.042442903, 0.010316781, -0.003979022, 0.02147955, -0.014539562, 0.040148694, 0.040005304, -0.0750207, 0.014969727, 0.010983535, -0.056064785, -0.0050400947, 0.0160308, -0.0064524687, 0.017808814, -0.073644176, -0.015270842, -0.042070094, 0.05901858, -0.039919272, 0.035130106, -0.027702598, -0.01468295, -0.012295538, 0.0415539, 0.012818905, -0.0038786505, 0.03134466, 0.01251062, 0.10341156, -0.007115639, -0.043532655, -0.040378116, 0.053770572, -0.022626657, 0.036736056, -0.027616566, 0.032520443, -0.06704832, -0.0706617, 0.028018052, -0.051332973, -0.00075861317, 0.051160906, -0.00047721382, -0.006771507, 0.0070977155, -0.025938924, -0.019500794, -0.0034144314, 0.021106742, 0.00044876023, 0.024963884, -0.01312002, -0.0029788897, -0.0053340406, -0.01469729, 0.000053798576, 0.016561337, 0.057871476, 0.017765798, 0.018124267, 0.036850765, 0.0225693, -0.003545273, 0.045482736, -0.0117004765, 0.007112054, -0.0071729943, -0.029566646, -0.008940253, 0.02100637, -0.020232074, -0.0037746942, 0.024261283, 0.030054165, -0.009069303, 0.022253847, 0.035273496, 0.027157724, 0.022067443, -0.024935206, -0.021178436, -0.012281199, -0.030799784, -0.01710621, -0.057211887, 0.027215078, 0.00034525187, 0.034527875, 0.019070629, 0.033925645, -0.031918213, 0.027602227, -0.016747741, -0.008194635, -0.033093996, 0.01637493, 0.011485394, 0.050071158, 0.027645243, -0.03848539, -0.016059477, -0.053827927, -0.048608597, -0.0069758357, -0.013521506, -0.012051778, 0.008775357, 0.04771959, -0.029165158, -0.01238874, 0.03352416, -0.063951135, -0.019257033, -0.030541684, -0.022110458, -0.010875994, 0.02658417, 0.019859264, -0.032463085, -0.01749336, 0.01700584, -0.0078935195, 0.0044271103, -0.0023927905, -0.015873073, 0.009843599, -0.022727028, 0.021121081, 0.019572489, 0.020074347, 0.008273499, 0.03934572, 0.003971853, 0.019113647, -0.04381943, 0.02513595, -0.0048357667, -0.012675516, -0.03143069, -0.021078065, -0.007370153, -0.004301646, -0.015084438, 0.004613515, 0.04034944, 0.027243756, -0.03897291, -0.007298459, 0.012790226, -0.04359001, -0.023343597, 0.08849919, -0.050960165, 0.002355151, 0.04878066, 0.0058466536, -0.022970788, 0.018052572, -0.028319167, 0.0029251191, -0.08362399, -0.025322355, 0.03421242, -0.008811205, 0.06756452, 0.011205787, -0.007434678, 0.022927772, -0.028634623, -0.028691977, -0.03825597, 0.06641741, -0.017091872, 0.0120231, -0.0027225832, -0.016174188, -0.013958841, 0.025709502, 0.011980084, 0.036822088, 0.012962293, 0.0018174453, 0.012933615, 0.041611254, 0.020576205, 0.045224637, 0.006983005, -0.0570685, 0.07381624, 0.051533718, -0.018023895, -0.023286242, 0.012173657, -0.03022623, 0.0022655334, 0.007793148, 0.0087610185, -0.026455121, 0.006577933, 0.0023157194, -0.031860854, -0.03848539, -0.016245883, 0.023902811, -0.040722247, -0.005649495, -0.08999043, -0.0006828863, -0.051906526, 0.00656001, 0.0034986718, -0.02125013, 0.017134888, -0.005319702, 0.009477959, -0.0049934937, 0.009119489, 0.01832501, -0.005513276, 0.0008352362, 0.0027530533, 0.018167283, -0.009442112, 0.025953263, -0.025680825, -0.003575743, -0.02295645, -0.016460964, 0.011879711, -0.0046063457, 0.0032620814, -0.011248804, 0.008295007, -0.0011641328, 0.01978757, 0.04020605, 0.0017762212, 0.007814656, -0.001277051, -0.032004245, -0.0076569295, 0.014360327, -0.01567233, 0.0032513272, 0.025652148, -0.011786509, -0.029853422, 0.008739511, 0.025437064, 0.011664629, -0.0030452067, 0.00049334497, 0.009599839, 0.018468399, -0.030627718, 0.019500794, 0.000045256897, 0.024963884, 0.0031366167, -0.011205787, -0.039374396, 0.010854486, -0.03435581, -0.012646838, 0.027874663, 0.01832501, 0.02147955, -0.011105415, 0.013170205, 0.01762241, -0.012582314, -0.013048326, -0.0083953785, -0.033495482, 0.018898563, -0.018038234, -0.014675781, -0.030685073, -0.016346253, 0.037194896, -0.03785448, 0.04579819, -0.017378649, -0.033839613, 0.024748802, -0.01408072, 0.010983535, 0.024017522, -0.017192245, -0.0055527077, 0.013277747, -0.0037746942, 0.008323684, 0.006534917, -0.019472117, -0.012073286, -0.0030559609, 0.05744131, -0.02100637, 0.01165746, -0.032463085, 0.013872808, -0.0020289428, 0.0003087327, 0.06733509, 0.0074561858, -0.025996279, -0.0022709104, -0.0032172725, -0.015858734, 0.015729684, 0.016059477, 0.027014336, 0.004832182, -0.01869782, -0.0070116827, 0.023415292, -0.018468399, -0.043016456, 0.029824743, -0.006810939, 0.02051885, -0.024275621, 0.015399892, 0.017149229, -0.008302176, 0.007294874, -0.0071980874, -0.036477957, -0.009642856, -0.0027942774, 0.029107803, 0.020103024, 0.009571162, -0.013994687, 0.008825543, -0.019859264, -0.0047533186, -0.068596914, -0.0025827799, -0.02767392, -0.015485925, -0.050214544, 0.00971455, 0.019988313, -0.023673391, -0.0044772965, -0.01687679, -0.02126447, -0.019887943, 0.030570362, 0.040521502, -0.016260222, 0.0019339483, 0.0044593727, -0.019271374, -0.024332976, -0.04313117, -0.0075924047, -0.012094794, 0.010209239, -0.035761014, -0.03447052, -0.043016456, 0.0064381296, 0.020576205, 0.0006721321, -0.0065277475, -0.0777164, -0.0064022825, -0.00026325177, 0.047404137, -0.0050687725, 0.0028605943, -0.016346253, 0.018841209, 0.0016695763, 0.010467338, -0.051992558, 0.0066388734, 0.020432817, -0.014812, -0.027286774, -0.013779605, -0.028964415, 0.009528145, 0.021092404, 0.010911841, -0.010359797, 0.0020522436, -0.008839882, -0.017048856, 0.006348512, -0.033954322, -0.016217204, -0.013198883, -0.01894158, 0.008216144, -0.014518054, -0.023931488, -0.009198353, -0.064065844, -0.0015324613, -0.0022296864, -0.014926711, -0.032979283, -0.020934677, 0.011119754, 0.0154142305, -0.018540094, 0.032864574, 0.011600105, -0.016604353, 0.010825808, 0.005452336, -0.052250657, 0.047146037, -0.02147955, -0.04662984, -0.038428035, -0.011729154, 0.012216674, 0.030885816, 0.019830586, 0.025953263, -0.013428304, 0.0038894047, -0.000008485668, -0.0024250527, -0.000059539707, 0.014754645, 0.003504049, -0.0071263933, 0.02695698, 0.020432817, 0.012309876, -0.005319702, -0.013514337, -0.015256504, -0.0064022825, 0.007115639, -0.020705255, -0.013987518, 0.016546998, -0.01822464, -0.026684543, -0.005172729, 0.061656922, -0.008101433, -0.008574614, 0.022110458, -0.011363514, 0.02451938, 0.044909183, -0.026512476, 0.0033194367, -0.009743228, -0.020604882, -0.01189405, -0.060395107, -0.015973445, 0.0038105412, 0.00674283, -0.03888688, -0.038399357, 0.013256238, 0.03048433, 0.026985658, -0.06332023, -0.0072339345, -0.018554432, 0.022798723, -0.009879447, 0.004979155, -0.02550876, 0.009434943, -0.13512903, 0.0054200734, -0.012252521, 0.018970259, 0.027602227, 0.027774293, 0.016848113, -0.0038105412, -0.03048433, 0.017866168, 0.014883694, -0.010237917, 0.03143069, -0.016174188, -0.00473181, -0.03318003, 0.012173657, 0.0030810537, 0.0146614425, -0.018353688, -0.02913648, 0.00083882094, 0.048121076, 0.035302173, -0.009391926, -0.01760807, 0.009635687, 0.0022368557, 0.00009594687, 0.0074275085, 0.003753186, -0.03776845, 0.017091872, 0.054831643, -0.0066854744, -0.031516723, 0.005843069, 0.023659052, 0.028261812, 0.019371744, 0.009069303, -0.059075933, 0.0006013342, -0.014195431, 0.0154142305, -0.03544556, 0.010746945, -0.009377588, 0.010711098, -0.018023895, -0.035044074, 0.0021544076, 0.010374135, -0.031832177, -0.010775623, -0.028347846, 0.012317046, -0.023128515, -0.028276151, 0.0032065185, -0.038800843, 0.004771242, 0.025437064, -0.014173923, -0.013428304, -0.034040358, 0.014188262, 0.010388475, 0.0031921796, -0.028376523, -0.026383428, 0.008388209, -0.027788632, 0.022554962, -0.013456982, -0.0022565715, -0.01456824, -0.005964949, -0.042299516, 0.012661178, 0.016102495, -0.011148432, -0.016934145, -0.0016892921, -0.005574216, -0.010632235, 0.01262533, 0.0061047524, -0.0061513535, 0.012073286, -0.005807222, -0.001469729, -0.015184809, -0.026426444, 0.009607009, -0.023573019, 0.0055993088, -0.016331915, 0.026799252, 0.009857938, 0.037940517, 0.047432814, -0.00041201702, -0.047031328, 0.0045346515, 0.021020709, -0.011678969, -0.007965214, 0.048637275, -0.0020683748, 0.018998936, -0.0342411, -0.027889004, 0.021852361, 0.0073773223, -0.0021239375, 0.032491766, 0.012231013, 0.005990042, -0.019859264, 0.000043408534, -0.0027691845, 0.007563727, 0.0108329775, -0.012417417, -0.0342411, -0.009191183, 0.015285181, -0.027401483, -0.004208443, 0.019629844, 0.030943172, -0.0010440453, 0.0036814918, 0.033323415, 0.022655334, -0.0109261805, 0.029107803, -0.022841739, 0.006728491, 0.0043805093, -0.0035667813, 0.014374666, 0.03318003, -0.020346785, -0.007259027, -0.0044486187, 0.016288899, -0.012711363, 0.025809875, 0.011571427, -0.0031097315, 0.027301112, 0.0047999197, -0.0026777745, -0.0039288364, 0.02563781, -0.020002652, 0.030627718, 0.03361019, 0.01637493, 0.03578969, 0.0021293147, 0.016905468, 0.004566914, 0.009664364, -0.047776945, -0.006434545, -0.006470392, 0.037739772, 0.0010279141, -0.026670204, -0.006631704, 0.011241634, 0.015657991, -0.002751261, -0.0057355277, 0.033552837, -0.018253317, -0.020461494, 0.024433348, 0.0045238975, -0.035617627, 0.03378226, 0.035015397, 0.0075135413, 0.015342536, -0.029279869, 0.0114495475, 0.023343597, 0.007129978, 0.0318035, -0.0072626118, 0.020031331, 0.030426973, 0.0075852354, -0.020260751, 0.014926711, -0.018611787, -0.0009266462, -0.0318035, 0.010818639, 0.028720655, -0.03725225, -0.01640361, 0.015629312, 0.0029269115, -0.017952202, -0.009513807, 0.036822088, 0.010065851, -0.003183218, -0.00521933, 0.008818374, -0.059936263, -0.04034944, 0.030685073, 0.018425383, -0.0023282657, -0.019930959, -0.002333643, -0.035015397, -0.016819434, -0.0011999799, -0.02113542, -0.0131128505, 0.015830057, -0.0050831116, -0.0052766856, -0.010789962, 0.028605944, 0.0012985594, -0.0068288627, -0.02076261, -0.014482208, 0.026999997, -0.021121081, -0.051677104, 0.010997875, -0.026526816, 0.023214549, 0.0051798983, -0.011922728, -0.009972649, 0.03521614, 0.014288633, 0.021436535, 0.05812957, 0.009585501, -0.016948484, -0.017464682, 0.025408387, 0.015328198, 0.015657991, 0.027243756, -0.023601696, -0.008459903, 0.008904407, 0.022727028, -0.0026831515, 0.0061119217, -0.0021651618, 0.035904404, -0.040406793, -0.015629312, -0.021035047, -0.017335633, 0.033925645, -0.018726498, -0.00061074406, -0.0043805093, 0.014783323, 0.037969194, 0.0045454055, -0.0026168346, 0.0034753713, 0.007187333, 0.000004449375, 0.03266383, -0.038313325, -0.005678172, -0.04227084, -0.013141528, 0.015428569, 0.014582579, 0.0054093194, 0.0048751985, -0.0007958045, 0.01980191, 0.008725171, 0.02040414, 0.0051332973, 0.014467869, 0.008631969, 0.012618161, -0.0298821, 0.0036546066, 0.013636217, 0.003575743, -0.010997875, -0.012231013, 0.026885286, 0.021924054, -0.014797661, 0.00055607734, 0.025322355, -0.004821428, -0.01650398, -0.037940517, -0.005538369, 0.0051225433, 0.017048856, 0.011786509, 0.027774293, 0.0088972375, 0.005778544, -0.012833243, -0.0137509275, 0.017708441, 0.002654474, -0.0026060804, 0.0012627123, 0.00959267, 0.019515133, -0.022741368, -0.02585289, -0.018740837, -0.020332446, 0.03788316, 0.035761014, -0.020920336, -0.0053447946, 0.028548589, -0.023716407, -0.024332976, 0.022010088, 0.010209239, -0.028734993, 0.004118826, 0.0032118955, -0.014367497, 0.030513007, 0.01712055, 0.00406864, -0.038456712, 0.018669143, -0.008718002, 0.0068145236, -0.008739511, -0.024175249, 0.07134996, -0.024404671, 0.024060538, 0.009133828, 0.010094529, 0.0053734723, 0.009986987, 0.0029054033, -0.041209765, -0.011155602, -0.030513007, 0.01663303, -0.024533719, 0.007090546, -0.0026329656, 0.0019142324, -0.015973445, 0.02877801, 0.011076738, 0.025551775, 0.013994687, -0.017292615, 0.01116994, -0.0032979285, -0.031774823, -0.008940253, -0.047862977, 0.0429591, -0.0056674182, 0.026885286, -0.009750397, -0.00861763, -0.03097185, -0.022640996, -0.010646573, 0.017421665, -0.0020432817, 0.00067526876, -0.0023228887, -0.0030201138, 0.011743492, -0.005624402, -0.034040358, -0.009628517, 0.0013218599, -0.043159846, 0.005502522, 0.027301112, 0.004014869, -0.01892724, 0.025207644, -0.011872542, 0.046199676, -0.026297394, -0.0053806417, 0.0020773364, 0.016819434, 0.0047389795, 0.017063195, -0.020375462, -0.003000398, 0.021881038, -0.026770575, -0.008452734, -0.0060617356, -0.029337224, -0.042815715, 0.021809343, -0.005972118, 0.007269781, -0.004903876, 0.015614974, -0.012539297, 0.011220126, -0.013765266, -0.0064022825, -0.03194689, 0.007814656, -0.013442643, 0.04892405, 0.0041475035, 0.0024035445, -0.024318637, -0.013213222, 0.017952202, -0.007029606, -0.008854221, -0.019873604, 0.026182683, -0.029624, -0.039661173, 0.0042801374, 0.016417949, -0.0101733925, -0.010997875, -0.030513007, 0.021063725, 0.021536907, -0.0055670463, 0.023931488, -0.008266329, -0.006631704, 0.02125013, 0.010366966, -0.009291555, 0.01286909, -0.03874349, -0.036019113, 0.010496016, -0.016202865, -0.0039933613, -0.021780666, 0.01153558, 0.0126109915, 0.022526285, -0.006570764, -0.032491766, 0.0043984326, 0.04393414, -0.037797127, 0.04029208, -0.0047461493, -0.005054434, 0.0069901743, -0.010553371, 0.021909716, 0.008961762, -0.009047795, 0.014353158, 0.007370153, 0.026612848, 0.017335633, 0.01723526, 0.01894158, 0.018640464, 0.01965852, 0.029193835, 0.0021830853, -0.024920868, 0.0060043805, 0.009126659, -0.02950929, 0.0050938656, 0.0055527077, -0.00042949244, 0.016002122, -0.012008761, -0.01931439, 0.011851034, -0.027286774, -0.009951141, 0.018468399, -0.010653743, 0.03097185, -0.012367232, 0.0034932948, -0.007287705, -0.00607249, 0.03458523, 0.0083953785, 0.01783749, -0.0046529467, -0.02611099, 0.0318035, 0.006911311, -0.0060294736, 0.019343067, 0.006789431, -0.003199349, -0.035560273, -0.03461391, 0.036850765, 0.015557619, 0.006606611, -0.005488183, -0.038083903, 0.0048142583, 0.0016498604, -0.0068503707, 0.015170471, 0.0013594993, -0.031373337, 0.032377053, 0.023902811, 0.00227808, -0.003290759, -0.02816144, -0.0021848776, 0.021895377, -0.021594262, 0.030312264, 0.007757301, 0.016819434, -0.025910245, 0.0018237185, 0.0012752587, 0.008603292, -0.003183218, 0.005588555, 0.04043547, 0.022497607, 0.0068432014, -0.022483269, 0.011621613, -0.00058117026, -0.008961762, 0.015858734, 0.03785448, 0.014188262, -0.011929898, 0.019959636, -0.035416882, -0.0043876786, -0.00188197, -0.0041833506, 0.05959213, 0.015485925, -0.041811995, 0.012180827, -0.038456712, -0.015701007, -0.010216408, 0.009599839, -0.0016767457, -0.0040865634, 0.007864842, 0.017522037, -0.0035470654, 0.029853422, -0.006201539, -0.019156663, -0.027043013, -0.02391715, 0.010940519, 0.02441901, -0.0034717866, -0.0014733137, 0.02950929, -0.014926711, 0.04625703, -0.021407858, -0.00946362, 0.0024931622, -0.05084545, -0.00020679265, 0.006022304, 0.014195431, -0.010531862, -0.028677639, 0.009943971, 0.010166223, -0.003362453, 0.011162771, -0.0286633, 0.02209612, -0.00449522, 0.00026571625, -0.006154938, 0.032090276, 0.034814652, -0.018038234, 0.0017152813, 0.022411574, 0.00092485384, 0.014216939, -0.029681355, -0.010331119, 0.021938393, 0.0065922723, -0.019515133, -0.02209612, -0.024662768, 0.004272968, -0.036477957, 0.029251192, 0.020103024, 0.0063700206, 0.013428304, 0.0067966003, -0.015127454, 0.025394049, -0.016102495, -0.023974506, -0.013793944, 0.0074561858, 0.020805627, -0.01954381, -0.010044343, 0.029308546, -0.009513807, -0.009162505, -0.019758893, 0.025322355, 0.0077286237, 0.0047282255, -0.013693572, 0.01892724, 0.015500263, 0.047174715, 0.007929367, 0.04034944, 0.017349971, -0.02694264, 0.017192245, 0.030398296, 0.014812, -0.011592935, 0.038600102, 0.023530003, 0.0032190648, 0.028319167, 0.039919272, 0.014288633, -0.0068790484, -0.011112585, -0.007857673, -0.0011883297, 0.014059212, -0.006861125, 0.023343597, 0.035158783, -0.020074347, 0.0077071153, 0.03352416, 0.032979283, -0.03507275, 0.005412904, -0.010008495, 0.011765001, 0.028376523, 0.012675516, 0.018898563, 0.019113647, -0.00946362, 0.01154275, 0.018167283, 0.0046457774, -0.005430828, 0.0194291, -0.034757297, -0.030254908, -0.009779074, 0.035044074, -0.04149654, 0.0004700444, 0.019973975, -0.026541155, -0.0007518918, 0.019285712, -0.010051512, 0.013227561, 0.03604779, -0.02707169, 0.013564523, 0.03401168, -0.01372942, 0.01104806, -0.016704725, -0.0022314787, -0.010911841, -0.015571957, 0.009191183, 0.004566914, 0.014216939, 0.00540215, -0.006581518, -0.029853422, 0.0045238975, 0.014812, -0.03948911, 0.012697024, 0.037223574, 0.036621343, 0.024634091, -0.005911178, -0.0029287038, -0.026999997, -0.0076569295, 0.0034879178, 0.0017977294, 0.025236322, -0.038686134, 0.0063090804, -0.037194896, 0.029251192, -0.011800848, -0.024146572, 0.017378649, 0.021407858 ]
2401.09350
348
Instead, Guo et al. [2020] show that ω(s) = 1s≥θ results in a more computationally-efficient optimization problem. Letting η(t) = h∥(ω,t) h⊥(ω,t) , they show that η/(d − 1) concentrates around (θ/t)2 1−(θ/t)2 as d becomes larger. So in high dimensions, one can rewrite the objective function of Equation (9.2) as follows: _ Of rally? ri(u.a)||? r) (u.a)|\? DT Grape IP + rn aIP. Guo et al. [2020] present an optimization procedure that is based on Lloyd’s iterative algorithm for KMeans, and use it to learn a codebook by minimizing the objective above. Empirically, such a codebook outperforms the one that is learnt by optimizing the reconstruction error. # 9.4.1.3 Extensions
2401.09350#348
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 348, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "Instead, Guo et al. [2020] show that ω(s) = 1s≥θ results in a more computationally-efficient optimization problem. Letting η(t) = h∥(ω,t) h⊥(ω,t) , they show that η/(d − 1) concentrates around (θ/t)2 1−(θ/t)2 as d becomes larger. So in high dimensions, one can rewrite the objective function of Equation (9.2) as follows:\n_ Of rally? ri(u.a)||? r) (u.a)|\\? DT Grape IP + rn aIP.\nGuo et al. [2020] present an optimization procedure that is based on Lloyd’s iterative algorithm for KMeans, and use it to learn a codebook by minimizing the objective above. Empirically, such a codebook outperforms the one that is learnt by optimizing the reconstruction error.\n# 9.4.1.3 Extensions", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.03585492, -0.023509579, 0.026279548, 0.0014886822, -0.0082114795, -0.018236797, 0.017435335, 0.021245798, -0.011107995, 0.014440394, 0.014890337, -0.00050355075, -0.033352107, 0.012043036, 0.010194046, 0.016549507, 0.024015766, -0.038610827, -0.004650594, 0.026617005, -0.021625439, -0.010201076, 0.018518012, 0.034589455, 0.022539387, 0.008098993, 0.029105758, 0.05075932, 0.06428576, -0.025140626, 0.00071006804, -0.016493263, -0.027938716, -0.067997806, -0.023467397, 0.029274488, -0.016310474, 0.07064123, -0.031524207, 0.041535463, 0.008141176, -0.0028912423, -0.057761576, -0.029190123, -0.009048095, -0.006422249, -0.0030863353, -0.012914802, -0.015832407, 0.03042747, -0.04111364, 0.04122613, -0.038385857, -0.041479222, -0.04316651, 0.020767732, -0.00279809, 0.012928862, 0.057086658, -0.010404957, 0.049915675, -0.035320614, 0.02034591, 0.020233424, -0.003954587, 0.015284039, -0.045641206, 0.037598453, -0.03155233, 0.0046998067, -0.04873457, 0.009666768, 0.034476966, -0.042857178, -0.004594351, -0.0003319656, -0.0155371325, 0.040916793, 0.046962917, -0.0151153095, 0.027320044, -0.022230051, 0.054808818, -0.0100956205, -0.025506206, -0.052559096, -0.03475818, -0.008837183, -0.07260973, -0.024676623, -0.026645128, 0.0094628865, -0.005054841, -0.010503382, 0.03526437, -0.0044713197, 0.029949404, -0.0062640654, 0.023804855, 0.0058844252, -0.023453336, -0.041338615, 0.049550094, -0.025281234, 0.057424117, -0.04128237, -0.03253658, -0.011368119, -0.026785735, 0.01025732, 0.010580717, 0.012584374, -0.025042202, 0.0414511, 0.005845758, -0.05843649, -0.020880219, -0.0107775675, -0.04012939, -0.006946012, -0.018011825, -0.040579334, 0.039932538, 0.0012848013, 0.0068581323, -0.017083814, 0.021864472, -0.08110242, 0.0017980188, -0.008007599, 0.04071994, -0.0012768921, 0.0015879864, -0.0155371325, -0.0032076093, 0.011494665, -0.003641735, 0.06827902, 0.012809346, 0.03188979, 0.012394554, 0.0038948287, -0.021808228, 0.021962896, -0.04572557, 0.012788255, -0.039482594, 0.045613084, -0.02166762, 0.049887553, 0.009378523, -0.040804304, -0.009469917, -0.0077755963, -0.011536848, -0.025815543, -0.024212617, -0.0046013817, -0.023636127, 0.016901026, -0.009188702, 0.035573706, 0.026462337, -0.012535161, 0.023397094, -0.014834095, -0.032002274, -0.021527013, -0.027840292, -0.027966838, -0.013167895, -0.060517482, -0.017660307, -0.007881052, 0.035545584, -0.010341684, -0.014946581, -0.014552879, -0.020838037, -0.019080441, -0.01531216, -0.0016820176, 0.05337462, 0.033858296, 0.009603495, -0.032002274, -0.000716659, -0.008323966, -0.00089285785, 0.013786568, 0.004330712, 0.031130508, 0.06355461, -0.018546134, -0.0070655285, 0.0023850552, 0.02501408, 0.024282921, 0.015438707, -0.005286843, 0.027530955, -0.016844783, 0.020823976, -0.04966258, -0.012816377, -0.011115026, 0.017618123, 0.010953327, -0.045303747, 0.026223306, -0.006678858, 0.017969642, 0.033717684, 0.030230619, 0.01846177, 0.010995509, -0.03675481, -0.00033657928, -0.029640067, 0.047665954, -0.061867315, 0.032958407, 0.008246631, 0.042632204, -0.053430863, 0.0029510006, 0.0030687593, -0.05545561, 0.022820603, -0.033267744, 0.04111364, -0.021583255, -0.031580452, -0.022876846, 0.030708686, -0.021611378, -0.031467967, -0.01940384, -0.018166494, -0.025196869, -0.036529835, -0.013132744, -0.013118682, -0.044291373, -0.039848175, 0.034730062, -0.014791912, -0.009216824, -0.0059793354, -0.006084791, -0.01306244, -0.026026454, 0.0350394, -0.058717705, -0.024001706, 0.027769988, 0.005768424, 0.03470194, 0.004144407, 0.019966269, 0.003451915, -0.036529835, -0.007937295, 0.04052309, -0.01026435, 0.0006090064, -0.028993273, 0.00058308186, -0.0084716035, -0.00050267193, -0.042238504, -0.0075084423, -0.01792746, 0.021527013, 0.0019983845, -0.010925205, -0.030343106, 0.046344243, -0.020655246, -0.01363893, -0.05289655, -0.027826231, 0.057367872, 0.005248176, 0.026856039, -0.01846177, -0.042997785, 0.052784067, -0.03245222, -0.05989881, 0.036642324, -0.050225012, 0.0021548104, -0.017435335, -0.012612496, 0.015607436, -0.015607436, -0.05075932, -0.0071780146, -0.0025274204, 0.058492735, 0.012956984, 0.002402631, 0.0024588741, -0.07395956, 0.024859412, 0.044713195, 0.017843096, 0.031608574, 0.02279248, 0.0065452806, 0.021231737, -0.008858275, 0.053824563, -0.043925792, -0.030371226, 0.062261015, -0.01865862, 0.027741866, -0.010925205, -0.016493263, -0.057002295, 0.023481458, -0.0059969113, 0.023087757, 0.0010000711, -0.015241857, 0.009835497, 0.0023094788, -0.0029088184, -0.010201076, -0.0062781265, -0.0075646853, 0.04049497, -0.027685624, 0.0046259877, -0.05731163, 0.024662562, 0.021400467, 0.024690682, -0.0639483, -0.0088934265, -0.009779254, -0.0038842831, 0.032424096, 0.0010949812, -0.004552169, 0.032761555, 0.054386992, 0.013139774, -0.010327623, -0.037795305, 0.025942089, 0.027418468, 0.026096758, -0.003061729, -0.0053852685, -0.047525346, -0.076209284, 0.011143147, -0.0103557445, -0.0071182563, 0.038863923, -0.0050337496, 0.015452768, 0.027784048, 0.012837468, 0.02200508, 0.0032410037, 0.004991567, -0.016704176, 0.017646246, -0.069122665, -0.028233992, -0.02238472, -0.022131626, 0.0022813573, 0.04926888, 0.05866146, 0.021780107, -0.014791912, 0.043757062, -0.057480358, -0.016183928, 0.048847057, 0.0010027075, 0.037260994, -0.00643631, -0.028290236, -0.010742416, -0.008443482, -0.005121629, -0.004183074, 0.009715981, -0.002100325, -0.00531848, 0.014278695, 0.06861647, 0.016746357, 0.04797529, 0.0066542514, -0.035545584, -0.0179134, -0.06479195, -0.034983154, -0.01660575, 0.019136686, 0.0418448, 0.029780675, 0.03214288, 0.06366709, -0.011079874, 0.053149648, -0.03562995, -0.0014385908, -0.015480889, -0.004028406, 0.0014482576, 0.025421841, 0.06872896, -0.016338596, 0.0041233157, -0.019319475, -0.032620948, 0.024704743, -0.001433318, 0.018967956, -0.00044225462, 0.042660326, -0.031861667, -0.01995221, 0.053458985, 0.00700577, -0.03115863, -0.07710917, -0.022708116, 0.031355478, 0.014974702, 0.032564703, -0.046456728, -0.046850428, 0.026012393, -0.039876297, 0.0065628565, 0.013167895, 0.005114599, 0.0033236106, 0.0025537843, 0.0060039414, 0.020092817, -0.023186183, -0.0489033, 0.023031514, 0.01381469, 0.029443217, -0.04912827, 0.036614202, -0.014581001, 0.021723865, -0.026012393, -0.010116712, 0.010847871, -0.025520267, 0.006886254, 0.021414528, 0.07215978, 0.05281219, -0.022722177, -0.03433636, 0.03731724, -0.033745807, 0.0009367977, 0.03636111, -0.015157492, -0.0101448335, 0.041647952, 0.022820603, -0.031524207, -0.013280381, -0.023115879, -0.00049739913, -0.053627715, -0.0009060398, 0.0392295, 0.02147077, 0.07041625, 0.03658608, -0.059617594, 0.021892592, 0.00349937, -0.018700803, -0.047075402, 0.029780675, -0.016915087, -0.006689403, 0.004084649, -0.018363344, -0.016549507, 0.021189556, -0.00597582, 0.047075402, 0.012514071, -0.041872922, -0.006028548, 0.0022339022, 0.024423528, 0.022736238, -0.021512952, -0.00209681, 0.03956696, -0.01624017, -0.0015783196, 0.014791912, 0.0049739913, 0.01100957, -0.010348714, -0.020331848, -0.01269686, -0.042294744, 0.034561332, -0.0136529915, -0.015424646, -0.035236247, 0.006292187, 0.0027084525, -0.029049516, -0.03115863, -0.11254227, -0.023172121, -0.02893703, 0.01008859, -0.057480358, -0.002668028, 0.05584931, -0.0058492734, -0.017435335, -0.0151153095, 0.0010211623, 0.009188702, 0.004221741, 0.02315806, -0.025688997, -0.0011907701, 0.014862216, 0.035798676, -0.04350397, -0.016394839, 0.0044572586, -0.01605738, 0.020064695, 0.01886953, -0.012858558, 0.025731178, 0.00025748755, -0.0137514165, -0.00006305369, 0.026996646, 0.028487086, -0.0077615357, 0.01756188, 0.013259291, 0.005972305, 0.024156375, 0.011368119, -0.005430966, 0.013329594, 0.0012250431, -0.025449963, -0.008921548, 0.03003377, -0.000091944145, 0.03568619, 0.05109678, 0.057817817, 0.0074029868, -0.017477516, 0.0054626027, -0.007923234, 0.028965151, 0.0065066135, -0.011733699, -0.027320044, 0.010953327, -0.02279248, -0.036811054, 0.00044247432, 0.0062816413, 0.035939284, -0.028233992, 0.014510698, 0.01250704, -0.022328475, 0.002945728, -0.006759707, -0.037457846, -0.013097592, 0.0013419231, -0.011586061, -0.014067784, 0.029162003, 0.02147077, -0.00097546476, 0.04251972, -0.042716566, -0.014524758, -0.0005294752, -0.0020423245, 0.04235099, 0.019910026, -0.024564136, 0.00439047, 0.007051468, -0.0004205044, -0.022679996, -0.015565254, -0.041901045, 0.005568058, -0.026588885, 0.05894268, -0.016254231, 0.017308787, -0.043757062, 0.030680563, 0.022187868, -0.0041795587, 0.037429724, 0.0003919435, -0.043532092, -0.014440394, -0.030005647, -0.02147077, 0.016212048, -0.011065813, 0.014946581, 0.0038772528, -0.001572168, -0.021428589, -0.024001706, 0.009715981, -0.037654698, 0.016746357, 0.023017453, 0.009898771, -0.028627694, -0.017421274, 0.0023709945, -0.0046435636, 0.0056629684, -0.019347597, -0.02016312, -0.032002274, -0.024184495, 0.014707548, 0.024578197, 0.02668731, 0.0073326826, 0.02034591, -0.0056664837, -0.012717951, -0.03492691, -0.010693203, -0.02802308, 0.011410302, -0.04721601, 0.020753672, -0.0016767448, -0.012141461, 0.038751435, -0.01773061, -0.0021249314, 0.003321853, 0.03695166, 0.023256486, -0.015944894, -0.027601259, -0.0048931423, -0.016085502, -0.042969663, -0.03757033, -0.008232571, -0.01681666, 0.0016055623, -0.013568627, -0.012345341, -0.020486517, -0.007079589, 0.014524758, -0.037457846, -0.03231161, -0.051799815, -0.008113055, -0.005817637, 0.023270547, -0.0020616578, 0.04311027, 0.010222168, 0.019994391, 0.02521093, -0.010496352, -0.03734536, 0.0019597174, 0.06805404, -0.018560193, -0.014707548, -0.011895398, 0.0046435636, 0.004330712, 0.0104612, 0.038723316, -0.010130772, -0.002931667, -0.023804855, -0.023945462, -0.0059301225, -0.04780656, -0.006373036, 0.002260266, 0.020022513, 0.03343647, -0.0015625012, -0.02595615, 0.0047068372, -0.06490444, -0.0045240475, -0.0015440464, -0.0037964033, -0.028993273, -0.006373036, -0.0040670726, 0.02294715, 0.012331281, 0.026982585, 0.013849842, -0.012064126, 0.028641755, 0.026223306, -0.05185606, 0.0077966875, -0.030539956, -0.017365031, -0.007146378, -0.0025660875, -0.0246485, 0.0070866197, 0.010847871, 0.017407212, 0.019642873, 0.0029633038, -0.0024202073, 0.033127133, -0.036136135, 0.013273351, -0.035180006, 0.0126617085, 0.01960069, -0.0011178299, 0.021723865, 0.027601259, -0.0046541095, 0.033998903, 0.0098847095, 0.00718856, -0.011262664, 0.0015264705, 0.02819181, 0.003342944, -0.042294744, -0.02649046, 0.01716818, 0.01850395, -0.0055434518, 0.01587459, 0.004611927, 0.0151153095, 0.015762104, -0.01792746, -0.022314416, -0.009870648, -0.030090012, -0.0018771106, -0.03956696, -0.030061891, 0.010285441, 0.000027640914, -0.006854617, -0.023636127, 0.033689566, 0.0021583256, 0.05118114, -0.04836899, 0.026841978, 0.003451915, -0.007019831, 0.007367835, -0.01326632, -0.010608838, -0.01960069, -0.11788536, 0.015565254, 0.03231161, -0.000056050776, 0.020697428, -0.0027611805, 0.027320044, -0.006141034, -0.0046752007, 0.017393151, -0.029358853, -0.020388093, 0.03214288, -0.006197277, 0.014693487, -0.052615337, 0.0022339022, -0.006872193, -0.0011564969, 0.004720898, -0.0097862845, 0.013730326, 0.04648485, 0.032845918, -0.028599571, -0.034505088, 0.018953895, -0.000028478518, 0.030455591, 0.018377405, -0.038695194, -0.025000019, 0.013645961, 0.06439825, -0.03585492, 0.024381347, 0.015073127, 0.03565807, 0.029611947, 0.013139774, -0.010390896, -0.059055164, 0.028416783, -0.047665954, -0.022848723, -0.01978348, 0.03827337, -0.019502265, 0.011122055, -0.0153262215, -0.046175513, 0.02220193, -0.012429706, -0.014299786, -0.018714862, -0.021006765, 0.021217676, 0.011635274, -0.008823123, -0.029386975, -0.023790795, 0.010932236, 0.050449982, 0.0044888956, -0.035151884, -0.02335491, -0.0108267795, 0.019825662, 0.00700577, -0.057142902, 0.009645677, 0.021962896, -0.029274488, 0.00878094, 0.028782362, -0.009076216, -0.021330163, 0.03155233, -0.022089444, 0.009090277, 0.03253658, -0.021020826, 0.018391466, 0.02373455, 0.0028982728, 0.01602926, 0.0131819565, 0.019656934, -0.038442098, 0.030118134, -0.0072764396, 0.009160581, 0.0062043075, 0.022975272, -0.0077193533, -0.02031779, 0.0074240775, 0.011452484, 0.018644558, 0.022272233, 0.030455591, 0.05244661, 0.007543594, -0.024282921, -0.025801482, 0.025773361, -0.0012927105, -0.010341684, 0.061361127, -0.006559341, -0.002806878, -0.007712323, -0.029218245, -0.009209793, -0.009983134, 0.052784067, 0.028571451, 0.012528131, -0.011354058, -0.001637199, -0.0050478103, 0.001087072, 0.020134998, 0.0030160316, 0.006643706, 0.0001323688, -0.019488204, 0.019825662, -0.050674956, 0.012471888, 0.03906077, 0.017069755, 0.047272254, 0.03343647, -0.008802031, 0.007107711, -0.0015791983, 0.024620378, -0.018996079, 0.019333536, 0.027024768, -0.011311876, 0.016563566, 0.015944894, -0.011311876, -0.0062253983, -0.0019931118, -0.019628812, -0.025998333, 0.03897641, 0.018307101, -0.012310189, 0.02051464, 0.038020276, -0.001740897, 0.020641185, 0.00024188889, -0.0037260996, 0.028107446, 0.00048245958, 0.027137253, 0.020641185, 0.017941521, 0.009512099, 0.0103557445, 0.0012180128, -0.029415095, -0.013561596, 0.02110519, 0.023537701, -0.028796423, -0.024971899, -0.038189005, -0.0013454383, 0.050000038, -0.0013234684, 0.001489561, 0.03996066, -0.027671563, 0.013877964, 0.020683369, -0.0008339784, -0.046962917, 0.052306, 0.021780107, 0.007613898, -0.021048948, -0.045641206, 0.008267723, 0.04128237, 0.016310474, 0.0623735, 0.01195164, 0.018827349, 0.02200508, 0.006492553, -0.027727805, 0.025224991, 0.00002543019, -0.0063203084, -0.046428606, 0.015902711, 0.008253662, -0.03546122, -0.014679426, 0.045275625, 0.0006327339, -0.011122055, -0.014890337, 0.0006766737, -0.017097875, 0.02893703, 0.018152433, 0.010868962, -0.020584943, -0.0038561616, 0.016830722, 0.015607436, -0.010060469, -0.020599004, -0.006794859, -0.004724413, 0.0014043177, 0.014890337, -0.04012939, -0.0149043985, 0.027938716, -0.021512952, -0.02072555, -0.010404957, 0.0025924514, -0.000298791, 0.00077290204, -0.04758159, 0.0014552879, 0.026209245, -0.02708101, -0.016999451, 0.0272638, -0.0030494258, 0.019530386, 0.009765193, -0.019474143, 0.010798658, 0.02410013, 0.002715483, 0.006594493, 0.040804304, 0.012949954, -0.022131626, -0.008443482, 0.005669999, 0.027840292, 0.015762104, 0.022609692, 0.0017092603, -0.019319475, 0.036811054, 0.024592258, -0.012802316, -0.003863192, -0.0053501166, -0.0007562049, -0.039538838, 0.005100538, -0.033295862, -0.010763506, -0.0070549827, -0.016254231, 0.009125429, -0.0043447725, 0.022356598, 0.021962896, 0.018982017, 0.004805262, 0.028276175, 0.010904114, -0.0011600121, 0.03858271, -0.009125429, -0.03115863, -0.0044361674, -0.031271115, 0.018574255, 0.03132736, -0.011564969, 0.0057578785, -0.0013735598, 0.037457846, 0.004070588, 0.022483144, 0.012485949, -0.02463444, 0.0086825155, 0.0030757897, -0.040776186, 0.009216824, -0.0028367569, 0.00030867747, 0.0009113126, -0.0077052927, 0.01622611, 0.043363363, -0.01287262, 0.001472864, 0.026982585, -0.00439047, 0.0047455044, -0.006594493, -0.025000019, 0.024578197, -0.0034220358, 0.009575373, 0.035573706, 0.0063027325, -0.009821436, -0.008106024, 0.016999451, 0.009476948, 0.01419433, 0.0027225134, 0.029218245, -0.028501147, 0.008520816, -0.025984272, -0.05298092, -0.002464147, -0.023917342, 0.016155805, 0.02185041, 0.0037401603, -0.0007175378, 0.0220332, -0.019347597, -0.012338311, 0.05433075, 0.009842527, -0.0164089, 0.0043623485, -0.019839723, -0.023059634, 0.0033833687, -0.0142224515, -0.029162003, -0.034955032, 0.012176612, 0.010622899, 0.03115863, 0.01660575, -0.0050337496, 0.06327339, -0.012099278, 0.0081622675, 0.0018366859, 0.0054626027, 0.030596199, 0.020303728, 0.017322848, -0.007125287, 0.0023024483, 0.0074029868, 0.0029949404, -0.035208125, 0.013547536, 0.0061340034, 0.024662562, -0.004552169, 0.032367855, -0.01287965, 0.021034887, 0.0017373818, -0.025337478, -0.013287412, 0.006439825, 0.008056812, -0.0086825155, -0.013899054, 0.01138921, 0.011178299, 0.018405527, -0.005065386, -0.019164806, -0.025098445, -0.017435335, -0.034898788, 0.027334103, 0.010011257, 0.015101249, -0.0021723863, -0.011058782, 0.007916204, 0.006218368, -0.009034034, 0.034111388, 0.015565254, -0.038132764, 0.035742436, 0.029808797, 0.024226679, -0.01867268, -0.01026435, -0.019797541, 0.023678308, -0.047834683, -0.031439845, -0.015073127, 0.002594209, 0.005712181, -0.001195164, -0.02649046, -0.022272233, -0.0007421441, -0.026673248, 0.011058782, -0.004165498, -0.04260408, -0.009434765, 0.012211764, -0.015382464, 0.033323985, -0.012401585, 0.010904114, -0.0077615357, 0.00085331197, 0.0018753529, 0.013041348, -0.024775047, 0.008724697, -0.029583825, 0.055343125, -0.0035362795, 0.010735385, -0.043250877, -0.007634989, 0.0015045006, -0.0063132783, 0.03264907, 0.019881904, 0.004091679, 0.027938716, -0.04254784, -0.021611378, 0.0246485, 0.008274754, -0.000052508127, -0.037204754, 0.02279248, -0.019178867, 0.01735097, 0.013343655, -0.03734536, 0.0053887838, 0.025801482, -0.011136116, -0.009266037, -0.0063695214, -0.036276743, -0.0027102102, 0.019685054, -0.03188979, 0.0061480645, 0.0040248907, 0.001233831, 0.0257593, 0.0020704458, 0.031777304, -0.026982585, 0.029358853, 0.03188979, -0.048678327, 0.026476398, 0.029162003, -0.022258172, 0.0032849435, 0.015818348, 0.002784029, -0.031102385, -0.032845918, 0.030005647, 0.0054977546, 0.011691516, 0.015452768, -0.0041514374, -0.012443767, 0.030877413, 0.02128798, 0.030090012, -0.015157492, -0.0029386973, -0.023622066, -0.00429556, -0.0007715838, -0.008577059, 0.02130204, -0.00093767646, 0.022145687, 0.0020423245, -0.005174357, 0.0054204203, -0.005286843, -0.0000597582, 0.053430863, -0.014946581, 0.034730062, -0.00252039, 0.018054007, -0.014581001, -0.016310474, 0.009652707, 0.008900457, 0.0246485, 0.016549507, 0.016099563, 0.021147372, 0.048987664, -0.00034514756, -0.0175197, -0.014862216, -0.0047314432, -0.012422675, -0.0014860459, 0.049240757, 0.014777851, 0.0050724167, -0.01886953, -0.019853784, 0.013224138, -0.0005663847, 0.03397078, 0.046372365, -0.0216395, 0.004798232, 0.023298668, 0.029527582, 0.006306248, -0.012682799, -0.015635557, -0.0019175352, -0.0046259877, -0.01361784, 0.03231161, 0.0027594229, 0.04755347, -0.03132736, 0.0031197297, 0.020078756, 0.01607144, -0.037654698, 0.0257593, 0.014032632, 0.011051752, -0.00801463, -0.003845616, -0.00094997964, 0.012492979, -0.00401083, 0.026560763, 0.011065813, 0.013477232, -0.005111084, 0.0370079, -0.03413951, -0.0069003147, 0.023186183, -0.0056067253, 0.02109113, 0.009350401, -0.01624017, 0.016690115, -0.029358853, 0.00083046325, -0.021569196, 0.0039510718, -0.01474973, -0.020627124, 0.03188979, -0.010890054, 0.012626557, 0.05604616, 0.007866992, 0.022876846, -0.015987076, -0.02947134, -0.028965151, -0.0010765265, 0.013463171, -0.02294715, 0.0059055164, 0.009898771, 0.032339733, -0.0061515793, 0.009498039, 0.01681666, -0.047750317, 0.022286294, 0.03827337, 0.0035099154, -0.019628812, -0.017772792, 0.0070549827, 0.027516894, 0.031805422, -0.0008739637, -0.02072555, -0.0012549222, -0.0026469368, 0.008366148, -0.0021108706, -0.004611927, 0.009940952, -0.024423528, 0.015368403, 0.008084933, -0.0071393475, 0.015818348, -0.0108267795, -0.0014166209, 0.0087317275, -0.01008859, -0.014988763, -0.012036005, 0.014081844, -0.005132175, -0.01102363, 0.034055144, 0.0153262215, 0.001632805, 0.016676053, 0.027755927, 0.00025990425, 0.04721601, -0.023017453, -0.022904968, -0.028135568, 0.0205287, 0.018588316, -0.019769419, 0.014299786, 0.01119236, 0.0020511125, 0.017843096, -0.017800914, 0.009483978, -0.00088450924, -0.012598434, -0.013927176, -0.0038596767, 0.015030946, 0.015059067, 0.03906077, 0.01419433, 0.00003751365, -0.01343505, -0.014152148, 0.033099014, 0.033267744, -0.009251975, 0.02986504, -0.00279809, 0.034617573, 0.039595082, 0.01701351, -0.00012984227, 0.01773061, -0.008436452, 0.02016312, -0.011487636, 0.028627694, 0.01437712, 0.016296413, 0.013196017, 0.0045978664, -0.0044361674, 0.029611947, 0.0010114955, -0.020331848, 0.017027572, -0.006587463, 0.028908908, 0.010995509, 0.040607456, 0.026462337, 0.035348732, 0.035742436, -0.012380493, 0.025323417, 0.02051464, 0.0272638, -0.02373455, -0.021217676, -0.04386955, 0.001736503, 0.013006196, -0.030061891, -0.033914536, 0.021808228, -0.02595615, -0.013118682, 0.007578746, -0.020753672, -0.0056629684, 0.018011825, -0.0030634867, -0.025506206, 0.028037142, 0.011129086, 0.018560193, -0.040663697, 0.007318622, -0.02332679, -0.028262114, 0.0006617342, 0.031439845, 0.0010237986, 0.010707264, 0.0035960376, -0.026434217, -0.002697907, 0.03546122, -0.0067210402, 0.01473567, 0.030371226, 0.030849293, 0.0042709536, -0.0020950523, 0.008541907, -0.007487351, 0.036501717, 0.004277984, -0.012331281, 0.019699115, -0.032339733, 0.009779254, -0.013308503, 0.01809619, 0.025267173, -0.0246485, 0.0006358097, 0.0022251143 ]
2401.09350
349
# 9.4.1.3 Extensions The score-aware quantization loss has, since its publication, been extended in two different ways. Zhang et al. [2022] adapted the objective function to an Additive Quantization form. Zhang et al. [2023] updated the weight function ω(·) so that the importance of a data point can be estimated based on a given set of training queries. Both extensions lead to substantial improvements on benchmark datasets. # References F. Andr´e, A.-M. Kermarrec, and N. Le Scouarnec. Cache locality is not enough: High-performance nearest neighbor search with product quanti- zation fast scan. Proceedings of the VLDB Endowment, 9(4):288–299, 12 2015. F. Andre, A.-M. Kermarrec, and N. Le Scouarnec. Quicker adc: Unlocking the hidden potential of product quantization with simd. IEEE Transactions on Pattern Analysis and Machine Intelligence, 43(5):1666–1677, 5 2021. A. Babenko and V. Lempitsky. The inverted multi-index. In 2012 IEEE Con- ference on Computer Vision and Pattern Recognition, pages 3069–3076, 2012.
2401.09350#349
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 349, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "# 9.4.1.3 Extensions\nThe score-aware quantization loss has, since its publication, been extended in two different ways. Zhang et al. [2022] adapted the objective function to an Additive Quantization form. Zhang et al. [2023] updated the weight function ω(·) so that the importance of a data point can be estimated based on a given set of training queries. Both extensions lead to substantial improvements on benchmark datasets.\n# References\nF. Andr´e, A.-M. Kermarrec, and N. Le Scouarnec. Cache locality is not enough: High-performance nearest neighbor search with product quanti- zation fast scan. Proceedings of the VLDB Endowment, 9(4):288–299, 12 2015.\nF. Andre, A.-M. Kermarrec, and N. Le Scouarnec. Quicker adc: Unlocking the hidden potential of product quantization with simd. IEEE Transactions on Pattern Analysis and Machine Intelligence, 43(5):1666–1677, 5 2021. A. Babenko and V. Lempitsky. The inverted multi-index. In 2012 IEEE Con- ference on Computer Vision and Pattern Recognition, pages 3069–3076, 2012.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.013550008, 0.042464413, 0.0121666975, -0.011278805, 0.0048158504, -0.013266912, 0.008306297, 0.049335927, -0.06696509, -0.010616103, 0.01630376, 0.02815519, -0.051574957, 0.0503911, 0.033534016, 0.052501455, 0.027614735, -0.019456422, -0.021232206, 0.004741859, -0.03363696, -0.03971066, -0.0121666975, -0.037137058, 0.026379406, -0.033173714, -0.015763305, 0.019495025, 0.03649366, -0.044703443, 0.017320333, -0.02107779, -0.017050104, -0.020344313, -0.038063556, 0.0056844405, -0.016213685, 0.026070574, -0.027923567, -0.01546734, -0.006884382, -0.0047868975, -0.04562994, 0.004535971, 0.024436338, 0.025118344, 0.023921618, -0.036133353, -0.06336205, 0.045707148, 0.006659192, 0.028978745, -0.028283872, -0.010390913, 0.008068238, 0.008627997, 0.022004286, 0.00040494, 0.06367088, -0.011992979, -0.006871514, -0.062950276, 0.002054055, 0.011960809, -0.0484609, -0.012333982, -0.026971335, 0.046891004, -0.013434196, -0.02423045, -0.030136865, 0.034795083, 0.046942476, -0.007457008, -0.022583347, 0.0060383105, -0.006627022, 0.054817695, 0.012713588, -0.023728598, -0.008544355, 0.011246635, -0.0102300625, -0.03196412, -0.013485667, -0.0061476887, -0.033662695, -0.018362641, -0.057648655, -0.000031064166, -0.02474517, 0.025813214, -0.03343107, -0.0025510816, 0.013974652, 0.00067154894, 0.046299078, 0.02100058, 0.021837002, -0.022030022, -0.021476697, 0.013189703, 0.058575153, -0.070413716, 0.055847134, -0.01921193, -0.017912261, 0.026662502, 0.028515495, -0.0043333, -0.006475823, 0.008737374, -0.04848664, 0.027100015, -0.010854161, -0.038912844, -0.07602417, -0.032067064, -0.0054109953, 0.008422108, -0.024860984, 0.014515108, -0.00863443, 0.016200816, 0.009985571, -0.003667381, 0.027408848, -0.037934873, -0.030625848, -0.0028566967, 0.038912844, 0.029622145, 0.03700838, -0.01823396, -0.01482394, -0.033817112, -0.010712613, 0.02255761, -0.042258523, 0.007231818, 0.019778121, 0.00046405237, 0.011883602, 0.0011259504, -0.051858053, 0.015776172, 0.014360692, 0.03680249, -0.008306297, 0.0378834, -0.03358549, -0.027151488, -0.023432635, -0.026237858, -0.0040888083, -0.024011694, -0.019906802, 0.030085392, -0.018568529, -0.015994929, 0.00025595265, 0.010628971, 0.05929576, -0.007984596, 0.06464885, 0.0055782795, -0.07741391, -0.011105087, -0.037626043, -0.03268473, -0.017230257, -0.06305322, 0.0044008573, -0.04022538, 0.024178978, -0.020936241, 0.00025736008, -0.032710467, -0.045192428, -0.023278218, -0.017449012, -0.0019237666, -0.0027601868, 0.04452329, 0.0003989081, -0.014926884, 0.0012465878, 0.038578276, 0.013691556, 0.054251503, -0.012559172, 0.018993173, 0.06938428, 0.011407485, -0.011819261, -0.023381162, 0.0034068038, 0.027743416, -0.007849482, -0.07159757, 0.017371805, 0.008332033, 0.038964316, -0.04472918, -0.014862544, -0.029441992, -0.041615125, -0.0127328895, -0.06907544, -0.031886913, -0.014206276, 0.023728598, 0.053273536, -0.017397542, 0.010139987, 0.017899392, -0.0027698379, 0.03029128, -0.041151874, 0.051034503, -0.015698964, -0.016200816, 0.006237765, 0.02681692, -0.027125752, -0.012868004, 0.003284558, -0.033482544, 0.07051666, -0.051214654, 0.05342795, -0.012391888, -0.015608888, -0.011697015, -0.0126621155, -0.0400967, -0.016085004, -0.015570284, -0.038166497, -0.025967631, -0.01850419, -0.007643594, 0.03842386, -0.0029692918, 0.008267692, 0.042644564, -0.051060237, -0.015544549, 0.042464413, -0.042490147, -0.015969193, 0.021232206, 0.0031140568, -0.003728504, -0.012900174, -0.060891394, 0.03448625, 0.031140568, -0.0092971325, 0.051729374, -0.02152817, -0.073862344, -0.011381749, -0.026340803, -0.017384673, 0.023535578, 0.0019076816, 0.017487617, -0.024281923, -0.0163681, 0.02139949, -0.0070387977, 0.011954376, -0.006697796, -0.01598206, 0.01585338, 0.010313705, 0.0052276263, -0.0042239223, -0.00879528, 0.00853792, -0.025041135, 0.003574088, 0.012012281, 0.03518112, -0.0007604186, -0.0246937, 0.008904658, -0.028129457, 0.0038829201, 0.003281341, -0.028206663, 0.0076242923, -0.06444296, -0.027743416, 0.00992123, -0.00041418886, -0.047997653, -0.037986346, -0.003619126, 0.052707344, 0.019417817, -0.008003898, -0.0016792745, -0.052964702, 0.03453772, -0.003673815, 0.01771924, -0.020279974, -0.01202515, 0.03603041, 0.057648655, -0.0017436144, 0.015390133, -0.053222064, -0.04699395, 0.04053421, -0.008460713, 0.012031583, 0.012276076, 0.010101383, -0.051266126, -0.0006337492, -0.0014910799, 0.009393643, -0.02146383, -0.05754571, -0.011684148, 0.02339403, -0.050494045, 0.009811853, 0.02707428, -0.012758626, -0.03950477, -0.073244676, 0.026739711, -0.0016430832, 0.045295373, 0.0010519592, 0.007148176, -0.030600112, -0.021734059, 0.0024417036, -0.025491515, 0.035464216, 0.03893858, 0.0101592885, 0.042052634, 0.041074667, -0.016831348, -0.047482934, -0.06650184, 0.04125482, -0.02655956, 0.056053024, 0.0133698555, 0.003287775, -0.04447182, -0.052707344, -0.0011846606, -0.030831736, -0.016947161, 0.05077714, 0.009187754, -0.02797504, -0.051085975, 0.019057514, -0.020331446, 0.002205254, -0.00692942, -0.051085975, 0.015518812, -0.012179566, -0.046813797, -0.029828032, 0.018632868, 0.021901341, 0.04310781, 0.07005341, 0.017449012, 0.04575862, 0.025427176, -0.0002678153, -0.018285433, 0.035309803, 0.028386816, -0.034898024, -0.01578904, -0.050674196, 0.01778358, -0.042618826, -0.032144275, -0.039968017, 0.04200116, -0.004178884, 0.02746032, 0.039170202, -0.008582958, 0.048872676, 0.015441604, -0.012835833, 0.027511792, -0.018079545, -0.030214073, -0.028927272, -0.018568529, 0.047096893, 0.05934723, 0.01585338, 0.03474361, 0.00924566, -0.050159477, 0.048641052, -0.010062778, 0.009805419, -0.02371573, 0.010281535, 0.044420347, 0.009638134, 0.045501262, 0.028412553, -0.00725112, -0.009856891, -0.04130629, -0.041795276, -0.04452329, -0.018722946, -0.02332969, 0.050030798, -0.06331058, -0.035284065, -0.019713782, 0.0048930584, -0.036622338, -0.021566775, -0.0056812237, -0.018452717, 0.035464216, -0.003953694, -0.02810372, -0.05214115, -0.019726649, -0.035026707, -0.033817112, -0.040843043, 0.00372207, -0.024474943, -0.012288943, 0.07134021, 0.0010744783, 0.009425812, 0.0060736975, 0.01734607, -0.013112496, -0.028283872, -0.043751214, 0.068663664, -0.01984246, 0.017153049, -0.02326535, -0.019250533, 0.0071160058, -0.014425032, 0.02210723, -0.0076307263, 0.0032186094, 0.018182488, 0.023998827, 0.023767203, 0.004693604, -0.0056683556, 0.007418404, 0.0157247, -0.03428036, -0.022789234, -0.008061804, 0.04133203, 0.020974847, 0.02423045, -0.0667592, 0.02707428, -0.07458295, -0.013003117, 0.0153772645, 0.01353714, 0.05466328, 0.044832125, 0.019778121, -0.003956911, -0.024577886, -0.024269056, -0.04143497, 0.049850646, -0.01360148, 0.025041135, 0.014592316, -0.017101577, 0.0010213978, -0.003329596, -0.022158703, 0.025555855, 0.0011034313, 0.017371805, 0.035927467, 0.0086666, -0.017474748, 0.03739442, 0.01934061, -0.008679468, 0.054354448, 0.041537914, -0.011793525, -0.02107779, -0.01501696, -0.012674984, 0.0526044, 0.03255605, 0.00744414, 0.00089110923, 0.033147976, 0.003985864, -0.030471433, -0.011922205, -0.0102300625, 0.00449415, -0.022055758, -0.026971335, -0.07339909, -0.0060865656, -0.06336205, 0.032710467, -0.023303954, -0.017165916, 0.04503801, -0.016020665, 0.015493076, -0.004523103, -0.03186118, 0.003538701, 0.019778121, 0.0031896564, 0.0030802784, 0.02334256, 0.0139489155, -0.003426106, -0.04737999, 0.02913316, -0.033559754, -0.031372193, 0.0016326279, -0.0013350553, -0.01611074, 0.0060865656, -0.00426896, -0.016458176, 0.020344313, 0.0083449, 0.007289724, -0.039247412, -0.031217776, 0.009940533, -0.037265737, 0.003509748, -0.0076950663, -0.038964316, -0.004137063, 0.041100405, -0.014257748, -0.008627997, 0.018671473, -0.033302393, -0.039556243, 0.015866248, -0.036699545, -0.0024030996, 0.0041660164, 0.017230257, -0.028129457, 0.04259309, 0.025285628, -0.013356987, -0.0030851038, -0.021939946, 0.014579448, -0.02746032, -0.006520861, 0.03178397, 0.021116395, 0.010242931, 0.011156559, 0.03608188, -0.017899392, -0.0083449, -0.0288758, -0.023985958, 0.009380775, -0.018825889, -0.010185025, -0.0006240982, 0.016149344, 0.007566386, -0.011941507, 0.012224603, -0.020730354, -0.013048155, 0.048872676, 0.01405186, 0.006067264, 0.02152817, -0.011716317, -0.008705204, 0.0024786992, 0.0025108692, -0.00082435645, -0.0433137, -0.019353477, 0.001996149, -0.0009972702, 0.0288758, -0.012649247, 0.011117955, -0.037137058, 0.008949696, 0.018645737, 0.025787478, 0.045398317, -0.015312924, -0.023561314, -0.0063181897, -0.03041996, -0.009805419, 0.00095866626, 0.001980064, -0.0049863514, 0.03551569, 0.015004092, 0.012964513, -0.016921425, 0.026919864, -0.0025269543, 0.041872483, 0.07839188, 0.02861844, -0.0000037604982, 0.034331832, -0.018143885, -0.020189898, 0.016136477, -0.038012084, 0.008724506, -0.04001949, -0.04318502, 0.021541039, 0.018285433, 0.023046594, -0.016072137, 0.0017210955, -0.02352271, 0.0045681414, -0.02281497, -0.033302393, -0.010416649, 0.005800253, -0.021219337, -0.003683466, 0.03860401, -0.0034100208, 0.0021425225, 0.0095094545, 0.008100408, -0.007720802, 0.0015867857, 0.03157808, -0.0013575744, 0.023406899, -0.013743028, -0.023458371, -0.003921524, -0.014463636, 0.011066483, -0.015570284, 0.03783193, -0.023471238, -0.019726649, -0.003725287, -0.009123415, 0.019443553, 0.022802101, 0.030239807, -0.011529732, 0.00016979733, 0.0007913822, 0.023291087, -0.018298302, 0.007328328, 0.014965489, 0.021039186, 0.036956906, -0.02655956, -0.030651584, 0.02604484, -0.021167865, -0.023226747, -0.022004286, -0.062795855, -0.003255605, -0.019868197, 0.018272566, 0.062795855, -0.008074672, -0.000053884763, -0.004120978, -0.01327978, 0.0015513987, 0.003525833, -0.0053788256, 0.0024819162, 0.014875412, 0.0095094545, -0.042618826, -0.009631701, 0.007302592, -0.044626236, 0.0053563067, 0.006646324, 0.003477578, -0.02429479, -0.00731546, 0.029184632, 0.013356987, 0.00048777775, 0.0030288063, 0.012636379, 0.037651777, 0.043287963, -0.005729479, -0.03757457, 0.03204133, -0.024552152, -0.015364396, -0.020151293, -0.034331832, 0.019688046, 0.0035580029, 0.01895457, 0.03932462, -0.012996684, 0.012282509, 0.0057712994, -0.00699376, 0.003712419, 0.010474555, -0.019700913, 0.0027843143, 0.040714364, -0.0074055362, 0.003744589, -0.009490153, -0.00019754397, 0.027511792, -0.021515302, 0.00381858, -0.008377071, 0.057700127, -0.0008854795, -0.010024175, -0.030214073, 0.020768957, 0.01234685, 0.006208812, 0.019559365, 0.024552152, -0.009869759, 0.03435757, 0.03448625, -0.029802296, -0.0028872583, -0.011105087, -0.025182683, 0.021618245, 0.0053209197, -0.01424488, 0.007032364, -0.018131018, 0.0048962752, 0.014347824, -0.00663989, -0.015969193, -0.010828425, -0.019018909, -0.020640278, 0.015866248, 0.0030802784, -0.011992979, 0.0013061024, 0.05162643, 0.00096349174, -0.09548058, -0.025517251, 0.0030529338, -0.0052244095, 0.009335737, 0.0107254805, 0.016599724, -0.0085186185, 0.047714557, -0.0033746338, 0.019083248, -0.0052244095, 0.014270616, -0.007437706, -0.0043333, -0.015866248, -0.00018648551, -0.0048930584, 0.034460515, 0.011774223, -0.017384673, -0.0021891692, 0.022660553, 0.03829518, -0.0034872289, 0.00038644223, 0.0047547272, -0.018195357, 0.021566775, 0.0046453495, -0.012205302, -0.011349579, -0.015107037, 0.04472918, -0.0027987908, -0.030342752, 0.016960029, 0.012765059, -0.004571358, -0.02217157, 0.0021843435, -0.06490621, 0.0089883, -0.01913472, 0.030703057, -0.028850064, 0.011040747, -0.030445697, 0.0054978547, -0.0018465585, 0.023651391, 0.015351528, 0.016123608, -0.0017259209, 0.01482394, -0.018208224, 0.034074474, -0.0045681414, -0.00606083, 0.040971722, -0.029699352, 0.03556716, 0.008775978, -0.03049717, -0.021412358, -0.036313508, -0.013884576, 0.016213685, 0.019314874, -0.03049717, -0.034820817, 0.026147783, -0.0134728, 0.019250533, 0.013640083, -0.00805537, 0.03603041, -0.003908656, -0.006585201, 0.0045391885, 0.048023388, -0.0057069594, 0.025465779, 0.02591616, -0.008074672, 0.023291087, -0.0053080516, -0.021991419, 0.018066676, 0.032813407, 0.04815207, -0.00016245854, 0.012906607, 0.009065509, -0.0029049518, -0.01638097, 0.016741272, -0.0010077255, 0.0288758, 0.013395592, 0.029802296, -0.014849676, 0.00028470458, -0.046118926, -0.00021272419, 0.0010406998, 0.01424488, -0.012655682, -0.0023596701, 0.008164749, 0.031089097, -0.0375231, -0.012951646, 0.03312224, 0.0025044351, 0.028283872, 0.00084365846, 0.01559602, 0.023432635, -0.034331832, 0.022827838, 0.003570871, -0.023368295, 0.023098066, -0.0009240835, -0.008267692, 0.054302976, -0.014476504, -0.047817502, 0.008048936, 0.01430922, 0.03937609, -0.015171376, 0.028850064, -0.00628602, -0.0005633773, -0.008673035, -0.015351528, -0.058163375, 0.021360885, -0.004925228, 0.025285628, 0.0141162, -0.029364783, -0.012089489, 0.0015634624, -0.004600311, -0.035335537, -0.018208224, 0.019507894, 0.014129068, -0.003136576, 0.003252388, 0.024758039, -0.0003371819, 0.043468118, -0.007206082, -0.0147596, 0.0050120875, 0.044111516, 0.012964513, -0.019006042, -0.00056016026, -0.00041378674, 0.0043783383, -0.0014926884, -0.055898607, 0.0041949693, -0.030600112, 0.025298495, 0.025684536, -0.030831736, 0.021129262, 0.07947279, 0.03286488, 0.008299862, 0.0047579445, -0.039350353, 0.01984246, -0.029158896, 0.011388184, -0.02178553, -0.009805419, 0.01804094, 0.027228696, 0.023419766, 0.02281497, -0.011105087, 0.025259892, 0.027563263, 0.017603429, 0.007161044, -0.004600311, 0.02178553, 0.0012892131, 0.01688282, -0.051909525, 0.0005975579, 0.00670423, -0.0141162, -0.0049091433, 0.017577693, 0.022210173, -0.020833299, -0.028927272, 0.008286994, -0.0011106696, -0.031217776, 0.014064728, 0.021193601, -0.018259697, 0.016290892, -0.034409042, -0.010326573, -0.023406899, -0.022647686, 0.022094361, 0.028180927, -0.0513176, -0.01843985, -0.0028936923, -0.0057680826, -0.021746926, 0.03783193, -0.033817112, -0.017963734, 0.045321107, -0.03345681, -0.022094361, 0.02977656, -0.0019527195, 0.022416063, -0.020781826, 0.008177617, -0.057803072, -0.01889023, -0.02585182, -0.034306098, 0.0056780064, -0.017744977, 0.01663833, 0.029493464, 0.030908944, -0.012353283, -0.015042696, -0.03041996, 0.011735619, 0.018555662, -0.012469095, 0.003577305, -0.013048155, -0.011632675, 0.031423666, 0.0011790309, -0.0058099036, -0.0061766417, -0.008093975, 0.04557847, 0.06423707, -0.0002991811, 0.013511403, 0.014257748, 0.03417742, -0.009850456, 0.001935026, -0.042979132, 0.0012296985, 0.01753909, 0.00033255748, 0.024178978, -0.021631114, 0.012488398, 0.019186193, 0.007070968, 0.026019104, -0.012205302, 0.020151293, 0.02236459, 0.02139949, -0.027923567, -0.0065948516, -0.004728991, -0.010969973, 0.0032829493, 0.0010616103, -0.024474943, -0.0064243507, 0.012623511, 0.042258523, 0.010410215, 0.007888086, 0.04699395, 0.019996878, 0.019495025, 0.010197893, -0.022055758, -0.026662502, 0.0058163377, 0.047019687, -0.040328324, 0.014746732, 0.0018465585, 0.0028534797, 0.018092413, 0.033920057, -0.009071942, -0.032067064, -0.026894128, -0.02255761, 0.021489566, 0.016265156, 0.025980499, 0.0058549414, 0.016972898, -0.0027473187, 0.008949696, 0.0012393496, -0.012218169, 0.002285679, 0.0061283866, 0.008737374, 0.025633063, 0.014733864, -0.009554492, 0.010867029, -0.03698264, 0.0026427663, -0.02964788, 0.020550203, 0.027228696, -0.013447064, 0.00828056, 0.013447064, 0.017642032, -0.02210723, 0.007366932, -0.024629358, 0.0027987908, -0.013254044, -0.024397735, -0.02197855, 0.0007511697, 0.02493819, -0.017642032, -0.034074474, 0.00013129385, 0.012012281, 0.024616491, 0.009477285, -0.009605965, 0.048769735, -0.007309026, 0.022313118, -0.031552345, 0.007804444, 0.0056780064, -0.01889023, 0.017410409, -0.018645737, -0.020653145, -0.020678882, 0.036828227, -0.025028266, -0.0013487276, -0.0025784262, -0.02210723, -0.011857865, 0.024577886, -0.017513353, 0.010114251, 0.019868197, 0.017153049, 0.020395786, -0.014926884, -0.009940533, -0.027383111, -0.006343926, 0.036210563, -0.010397347, 0.012623511, -0.03757457, -0.009451549, -0.032401633, 0.0029403388, -0.004069506, 0.02771768, -0.016072137, 0.0032893834, 0.012424057, -0.0030674103, 0.010017741, -0.0090140365, -0.009136283, 0.009162018, -0.0074763102, -0.029158896, 0.01889023, 0.013434196, 0.00050707976, -0.018620001, -0.0054785525, 0.0060029235, 0.035875995, -0.04485786, 0.009194189, 0.020704618, -0.01405186, -0.0001449661, 0.006916552, 0.0028132673, 0.011574769, 0.0090848105, -0.0269456, 0.0016374534, -0.015300056, -0.029802296, 0.000009481356, 0.00763716, 0.0010037043, -0.002063706, -0.008923961, 0.015364396, 0.0045070183, -0.003950477, 0.033997264, 0.012514133, -0.003574088, 0.042901922, -0.007881653, 0.045552734, 0.00081792247, 0.027125752, -0.008750242, 0.0016680149, -0.0054077785, 0.004535971, 0.00081470545, -0.012970948, -0.0054560336, 0.0024256187, -0.03705985, 0.030883208, 0.024333395, 0.022158703, -0.013627215, -0.017371805, -0.004317215, -0.0016664064, 0.020189898, 0.010461687, -0.0333796, -0.023883015, -0.0011782266, 0.029828032, 0.008132578, 0.026868392, -0.018195357, -0.018748682, 0.032787673, 0.012012281, 0.022338854, -0.026237858, 0.0055782795, 0.0027087147, -0.029570673, 0.04099746, -0.044909332, 0.01823396, -0.015454472, -0.030059656, -0.0133698555, 0.009194189, -0.0057037426, 0.01014642, -0.012919475, 0.0057005254, 0.006546597, -0.011497561, -0.014322088, 0.025375703, 0.010191459, -0.018169621, 0.0080811065, 0.039607715, 0.019546498, 0.026353672, 0.003792844, -0.024436338, -0.0052404944, 0.036622338, -0.012314679, 0.010738349, -0.023677127, 0.022853574, -0.029210368, -0.00786235, 0.0032974258, -0.009451549, 0.024526415, -0.026611032, -0.015544549, 0.021837002, -0.007675764, 0.008627997, -0.0010109425, 0.0090140365, 0.018414114, 0.003644862, -0.002073357, 0.000784144, 0.0053884764, 0.004156365, -0.028850064, -0.020099822, 0.033302393, 0.02733164, -0.012256773, -0.014000388, -0.015711833, -0.030214073, -0.012031583, 0.025298495, 0.010776953, 0.007013062, -0.028772855, -0.03453772, -0.011915771, -0.015505944, -0.003512965, 0.018838758, 0.0014050251, -0.015004092, 0.0019945404, 0.027537528, 0.025607327, -0.009940533, 0.0055750627, -0.0012280901, 0.0014066336, 0.010622537, 0.023020858, -0.027897831, 0.030625848, 0.027408848, 0.02591616, 0.049078565, 0.007502046, -0.0061155185, 0.005764866, 0.041460708, -0.018156754, 0.010307271, -0.011536165, -0.012038018, 0.05831779, 0.0017854355, 0.03893858, 0.03718853, 0.034306098, 0.031397928, 0.011864299, -0.018066676, 0.023728598, 0.032504577, -0.031603817, 0.021489566, -0.0034872289, 0.01708871, -0.0023307172, -0.025723139, 0.01520998, -0.0011790309, 0.022609083, -0.014540844, -0.007598556, -0.007141742, 0.013974652, 0.013833104, 0.0083449, 0.002214905, -0.03556716, 0.007682198, 0.02559446, -0.030111128, 0.009670305, 0.009837588, -0.007302592, -0.026186388, 0.0288758, 0.013356987, -0.013041722, -0.024346262, 0.01520998, 0.03003392, 0.012539869, 0.019199062, 0.036442187, -0.025504382, 0.0031671373, -0.007013062, -0.0378834, 0.021939946, -0.019778121, -0.05311912, 0.0053466554, -0.0138073675, -0.016857084, 0.00734763, -0.0028325692, 0.025542988, -0.062281135, -0.023728598, 0.0114460895, 0.025427176, -0.00014969107, 0.03790914, -0.032839146, 0.062178195, -0.0021907776, -0.0282324, -0.00356122, 0.00068924244, -0.020202765, -0.017255994, 0.013691556, 0.030754529, 0.028129457, 0.015711833, -0.012488398, -0.009374341, 0.034023, -0.014206276, -0.00779801, 0.0021907776, 0.014038992, 0.029750824, -0.03157808, -0.007354064, 0.012179566, 0.010307271, 0.011330277, 0.020421522, 0.00011832531, -0.032710467, -0.040070962, -0.03268473, -0.02114213, 0.011549033, -0.018002337, -0.015956324, 0.0011822478, -0.0179766, 0.0010503508, 0.025491515, 0.02255761, 0.055383887, 0.0105839325, 0.007289724, 0.02585182, 0.025247023, 0.0029548153, 0.019636573, -0.014334956, -0.00744414, -0.035489954, -0.0023837977, -0.018452717, 0.027228696, -0.03796061, 0.03358549, -0.024912454, -0.024706567, 0.025800347, -0.02397309, 0.02725443, -0.0028776072, -0.004642132, -0.010789821, 0.0062216795, 0.012623511, 0.040894516, 0.018105282, -0.0057005254, -0.020987714, 0.00805537, 0.034023, 0.012481963, 0.022390326, -0.0062345476, -0.010062778, -0.008126144, 0.009425812, -0.009162018, -0.026971335, 0.022647686, 0.018645737, -0.010571065, 0.03937609, 0.0019462855, -0.025066871, 0.022724895, 0.027280167, -0.022506138, 0.0301626, 0.04053421, 0.007141742, 0.016985765, -0.00060157914, 0.020009745, 0.004359036, -0.047611613, 0.00057704956, -0.009065509, 0.004050204, 0.012494831, 0.0043912064, -0.041975427, 0.011208031, -0.019932538, -0.025285628, -0.020961978, 0.030883208, 0.022325987, 0.034383304, -0.02977656, -0.04408578, -0.020125557, 0.0014524759, -0.0144379, -0.024011694, -0.001873903, -0.016316628, -0.0063696615, -0.014077595, 0.030085392, 0.026971335, -0.024371998, 0.02836108, -0.02681692 ]
2401.09350
350
A. Babenko and V. Lempitsky. Additive quantization for extreme vector compression. In 2014 IEEE Conference on Computer Vision and Pattern Recognition, pages 931–938, 2014. # References References T. Chen, L. Li, and Y. Sun. Differentiable product quantization for end- to-end embedding compression. In Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pages 1617–1626, 7 2020. Y. Chen, T. Guan, and C. Wang. Approximate nearest neighbor search by residual vector quantization. Sensors, 10(12):11259–11273, 2010. T. Ge, K. He, Q. Ke, and J. Sun. Optimized product quantization. IEEE Transactions on Pattern Analysis and Machine Intelligence, 36(4):744–755, 2014. R. Gray and D. Neuhoff. Quantization. IEEE Transactions on Information Theory, 44(6):2325–2383, 1998. R. Guo, S. Kumar, K. Choromanski, and D. Simcha. Quantization based fast inner product search. In Proceedings of the 19th International Confer- ence on Artificial Intelligence and Statistics, volume 51 of Proceedings of Machine Learning Research, pages 482–490, Cadiz, Spain, 5 2016.
2401.09350#350
Foundations of Vector Retrieval
Vectors are universal mathematical objects that can represent text, images, speech, or a mix of these data modalities. That happens regardless of whether data is represented by hand-crafted features or learnt embeddings. Collect a large enough quantity of such vectors and the question of retrieval becomes urgently relevant: Finding vectors that are more similar to a query vector. This monograph is concerned with the question above and covers fundamental concepts along with advanced data structures and algorithms for vector retrieval. In doing so, it recaps this fascinating topic and lowers barriers of entry into this rich area of research.
http://arxiv.org/pdf/2401.09350
Sebastian Bruch
cs.DS, cs.IR
null
null
cs.DS
20240117
20240117
[]
{ "authors": "Sebastian Bruch", "chunk_id": 350, "doc_id": "2401.09350", "primary_category": "cs.DS", "published": 20240117, "source": "http://arxiv.org/pdf/2401.09350", "summary": "Vectors are universal mathematical objects that can represent text, images,\nspeech, or a mix of these data modalities. That happens regardless of whether\ndata is represented by hand-crafted features or learnt embeddings. Collect a\nlarge enough quantity of such vectors and the question of retrieval becomes\nurgently relevant: Finding vectors that are more similar to a query vector.\nThis monograph is concerned with the question above and covers fundamental\nconcepts along with advanced data structures and algorithms for vector\nretrieval. In doing so, it recaps this fascinating topic and lowers barriers of\nentry into this rich area of research.", "text": "A. Babenko and V. Lempitsky. Additive quantization for extreme vector compression. In 2014 IEEE Conference on Computer Vision and Pattern Recognition, pages 931–938, 2014.\n# References\nReferences\nT. Chen, L. Li, and Y. Sun. Differentiable product quantization for end- to-end embedding compression. In Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pages 1617–1626, 7 2020.\nY. Chen, T. Guan, and C. Wang. Approximate nearest neighbor search by residual vector quantization. Sensors, 10(12):11259–11273, 2010.\nT. Ge, K. He, Q. Ke, and J. Sun. Optimized product quantization. IEEE Transactions on Pattern Analysis and Machine Intelligence, 36(4):744–755, 2014.\nR. Gray and D. Neuhoff. Quantization. IEEE Transactions on Information Theory, 44(6):2325–2383, 1998.\nR. Guo, S. Kumar, K. Choromanski, and D. Simcha. Quantization based fast inner product search. In Proceedings of the 19th International Confer- ence on Artificial Intelligence and Statistics, volume 51 of Proceedings of Machine Learning Research, pages 482–490, Cadiz, Spain, 5 2016.", "title": "Foundations of Vector Retrieval", "year": 2024 }
[ -0.016120141, 0.015716247, -0.06362526, 0.011813914, -0.009402426, -0.011701061, 0.03212149, 0.07417404, -0.041767444, 0.023188297, 0.034924995, 0.014777787, -0.030125778, 0.009259875, 0.025611663, 0.020966876, 0.028937854, 0.017201154, -0.008071951, -0.0072166445, -0.029579332, -0.03359452, 0.0120277405, 0.010744781, 0.017450618, -0.012805832, 0.007953158, 0.021869699, 0.06300754, -0.060631692, -0.007727452, -0.014088791, 0.021038152, -0.06253237, -0.013708655, 0.014623357, 0.0029653579, 0.03371331, -0.0060138702, 0.011475355, 0.014445168, 0.009301453, -0.010061725, 0.014385772, 0.028177582, 0.007525505, 0.011160555, -0.03518634, -0.051555946, 0.02663328, 0.010620049, 0.018733578, -0.027702412, -0.03454486, -0.017141758, 0.018983042, -0.0070265764, -0.0009533098, 0.058208324, -0.016773501, 0.018317804, -0.09047237, -0.006753354, -0.007489867, -0.045378733, -0.00012630984, -0.04623404, 0.021869699, -0.008683732, -0.0001523885, -0.0045853904, 0.03499627, 0.03373707, 0.0077215126, 0.0021352952, 0.02960309, -0.008968834, 0.050795674, 0.024055481, -0.051936083, -0.011475355, 0.036302987, 0.0020387762, -0.020028416, -0.047398206, -0.006699897, -0.04421457, -0.0095034, -0.037324604, -0.00047962472, -0.019873986, 0.0119624045, -0.031313702, -0.0060287192, 0.03216901, 0.014955976, 0.052506287, 0.03456862, 0.011018004, -0.017343706, -0.03421224, 0.03528137, 0.030268328, -0.0462578, 0.051603463, -0.021263858, -0.009556857, 0.024542531, 0.031480014, -0.005764406, -0.015811281, 0.038369976, -0.05559489, 0.052791387, 0.012378179, -0.027844962, -0.065763526, -0.00007814319, -0.030933566, 0.008273898, -0.04590142, -0.009966691, 0.023295209, -0.00013781786, 0.0041250694, -0.033166867, 0.008113528, -0.067711726, 0.0020788687, -0.006278184, 0.046946798, 0.0007420819, 0.018911766, -0.006907784, -0.005933685, -0.029080404, 0.008250139, 0.020717412, -0.029959468, -0.0056426437, -0.000049141116, -0.02296259, 0.0015918195, -0.014088791, -0.025968041, 0.028415166, -0.026039315, 0.033238143, 0.013387915, -0.0021263857, 0.00047739735, -0.03235908, -0.012580126, -0.045830145, -0.01633397, -0.020218484, -0.006414795, 0.033166867, 0.034473583, -0.03266794, -0.0052951756, 0.028272616, 0.0617721, 0.0030767256, 0.0389877, -0.03055343, -0.030292088, 0.017118, -0.022701247, -0.051603463, -0.0013646289, -0.046329074, 0.0073235575, -0.04107845, 0.020681774, -0.009527159, -0.0015918195, -0.04335926, -0.02646697, -0.016844777, 0.016357727, -0.016607191, -0.00190068, 0.038061116, 0.0033677674, 0.022689367, 0.01947009, 0.0067117764, -0.0021902367, 0.029721884, -0.024198033, 0.006937482, 0.030006986, 0.018032702, 0.014860942, -0.031598806, 0.011891129, -0.0019942292, 0.03551896, -0.08809652, 0.004148828, 0.020087812, 0.013886843, 0.01077448, -0.010893272, -0.059016116, -0.027298516, 0.020325396, -0.059063632, -0.0035518957, -0.02057486, 0.033451967, 0.017308068, -0.005431787, -0.0033618277, 0.035994127, -0.037633464, 0.04335926, -0.040579516, 0.03041088, -0.03216901, -0.017118, -0.007982856, 0.03977173, -0.050035402, -0.011124917, -0.019624522, -0.0443096, 0.04863365, -0.0440245, 0.0443096, -0.0050427415, -0.0023535765, -0.00649795, -0.014207583, -0.020693654, -0.007852185, -0.016904173, -0.003548926, -0.031432495, -0.009764744, -0.036825676, 0.0310286, -0.012782073, -0.000942173, 0.027821204, -0.05397931, -0.0009659315, 0.021750906, -0.073271215, -0.006592984, 0.007935339, -0.00083080505, 0.0054674246, 0.009164842, -0.07607472, 0.0065038893, 0.016987327, -0.010133, 0.042884093, -0.008743128, -0.05863598, -0.0016289422, -0.0051080775, 0.007115671, 0.0231289, -0.015882557, 0.030197054, -0.00997857, -0.0042111943, 0.008309536, -0.01773572, 0.015086647, 0.03373707, -0.05621261, 0.039201524, 0.023604069, -0.010424042, -0.0073294975, 0.0006644956, 0.017355584, -0.037776016, 0.007870004, -0.017022965, 0.01806834, -0.03784729, -0.009913234, 0.04088838, -0.02836765, -0.0054377266, 0.05649771, -0.025469111, 0.0010171608, -0.05207863, 0.0098182, 0.0033618277, -0.01076854, -0.01994526, 0.0002067732, -0.045830145, 0.01171888, -0.0070443954, -0.003136122, 0.03487748, -0.029389264, 0.04169617, -0.002311999, 0.019695796, -0.023568433, -0.02487515, 0.035400163, 0.049322646, 0.02058674, 0.03216901, -0.07298611, -0.03169384, 0.0036944468, -0.004701213, -0.01679726, -0.028296374, -0.014397651, -0.016108263, 0.02836765, 0.0055208816, 0.018448476, -0.0023105142, -0.073318735, -0.008119468, 0.003421224, -0.068947166, 0.004876432, 0.0190068, 0.023497157, -0.030220812, -0.032525387, 0.0059128967, -0.0051674736, 0.027987514, -0.0019452272, -0.017806996, -0.026823347, -0.016821017, 0.028011272, -0.030054502, 0.012532609, 0.028082548, 0.0310286, 0.057305504, 0.048396066, -0.015169802, -0.026110591, -0.0662387, 0.022713127, -0.024732599, 0.07179819, 0.005713919, 0.026514485, -0.04651914, -0.06020404, -0.01347107, -0.015740007, 0.010370585, 0.05321904, -0.013494828, -0.034426067, -0.036683124, 0.0034598315, -0.0049952245, 0.011018004, -0.012948383, -0.03656433, 0.056640264, -0.013898723, -0.021347012, -0.014540202, -0.00060992525, 0.024637565, 0.033832103, 0.045426253, 0.036991984, 0.033356935, 0.029959468, -0.0027931086, -0.00855306, 0.020646136, 0.047279414, -0.018412838, 0.014124428, -0.046043973, -0.0038072995, -0.044428393, -0.034164723, -0.05274387, 0.009432125, 0.006278184, 0.013756172, 0.031741355, -0.0018561328, 0.016524037, 0.019208748, -0.02582549, 0.0070443954, 0.035210095, -0.035423923, -0.023865413, -0.008060071, 0.05892108, 0.07037268, 0.024269307, 0.058731012, 0.040698312, -0.043858193, 0.013577983, 0.00068231445, -0.021180702, 0.011029883, 0.029199196, 0.018709818, 0.008054132, 0.050795674, 0.0039379713, 0.015157923, -0.0402469, 0.0010743297, -0.033808347, -0.0320027, -0.0031598804, -0.0027916238, 0.038061116, -0.03421224, -0.0028228068, -0.022095405, 0.009610313, -0.044072017, -0.008766887, -0.028890336, -0.020693654, 0.061486997, -0.012532609, -0.0021813272, -0.068994686, 0.008410509, -0.019707676, -0.029674366, -0.024756357, -0.029674366, -0.004579451, 0.0003352176, 0.041957512, 0.010750721, 0.00030292087, -0.03119491, -0.0014745119, -0.032501627, -0.017723842, -0.04609149, 0.055309787, -0.027512344, 0.013958119, -0.030315846, -0.026894622, 0.014754029, -0.009372728, 0.034140963, 0.0038518468, 0.015811281, 0.0035429862, -0.027844962, 0.023295209, 0.022499299, -0.017474378, -0.03214525, 0.026086833, -0.047517, -0.0043151374, 0.011861431, 0.03834622, -0.0043299864, -0.007097852, -0.03644554, 0.03627923, -0.068329446, -0.050130434, 0.015585576, -0.03832246, 0.038441252, 0.00332619, 0.00807789, 0.019363178, -0.014647115, -0.055832475, -0.041838717, 0.044737257, -0.010691325, 0.029745642, 0.03328566, -0.017224913, 0.0060999948, 0.010750721, -0.011510993, 0.009758804, -0.008095709, 0.00060287194, -0.01805646, 0.025920523, -0.02202413, 0.05274387, 0.009954811, -0.026918381, 0.0430504, 0.05022547, -0.017498136, -0.020943118, -0.0067414744, -0.009942932, 0.04464222, 0.009141083, 0.013090934, -0.02044419, 0.013376036, -0.008505543, -0.049465198, -0.018507872, -0.0014136308, -0.01980271, 0.013530466, -0.027654894, -0.074554175, -0.004736851, -0.045663837, 0.027678652, -0.00823826, -0.0026817408, 0.025492871, -0.010596291, 0.007567082, -0.021810303, -0.009830079, 0.0009904325, 0.000380136, -0.0019229536, -0.0076264786, 0.0317176, 0.016464641, -0.0066820784, 0.0010683901, 0.026229383, -0.03834622, -0.024756357, 0.010459679, -0.0024055482, -0.01742686, 0.0054109986, -0.009711287, -0.0033202504, 0.028130064, 0.022713127, 0.019149352, -0.017331826, -0.023782259, 0.015229198, -0.036991984, 0.009093566, 0.008505543, -0.023651587, 0.030339604, 0.02406736, -0.0357803, 0.014825304, -0.0049061305, -0.0124138165, -0.035875335, 0.010228034, -0.028486442, -0.009550917, 0.013542345, 0.030933566, -0.019731434, -0.011368442, 0.04718438, -0.026680795, 0.008796585, -0.0033172807, -0.008980713, -0.024114877, -0.01315033, 0.01775948, 0.010827936, -0.010893272, 0.0027812293, 0.04516491, -0.0057079797, -0.023877293, -0.029009128, -0.038916424, 0.02042043, -0.030957326, -0.050272986, -0.04644787, 0.005669372, 0.013233485, 0.002706984, 0.005491183, 0.005131836, -0.017569412, 0.023841655, -0.0029519936, -0.00245455, 0.012378179, 0.0022941802, 0.0259918, -0.0023684255, 0.010388404, 0.014825304, -0.0062009683, -0.010911091, 0.0036558392, -0.016429003, 0.011505053, 0.003976579, 0.013257243, -0.06362526, -0.013613621, -0.0076086596, 0.026989656, 0.039344076, 0.0077333916, -0.0497503, 0.032264043, -0.036920708, -0.02391293, -0.009729106, 0.008980713, -0.0013178543, 0.015181681, -0.00760272, 0.004879402, -0.007941279, 0.042670265, 0.007632418, 0.013459191, 0.046828, 0.015098527, -0.0074542295, 0.015490542, -0.025160251, -0.022558697, 0.024566289, -0.02074117, 0.012936504, -0.007941279, -0.039843004, 0.020681774, 0.010334947, 0.014171945, -0.008642155, 0.003738994, -0.013518587, -0.024803873, -0.04782586, -0.035970367, -0.015371749, -0.0022362687, -0.030933566, 0.014076911, 0.052696355, 0.015585576, 0.0072463425, -0.027702412, 0.03231156, 0.007382954, 0.019101834, 0.020075932, -0.021988492, 0.002598586, -0.0427653, -0.034426067, 0.0061712703, 0.010281491, -0.007347316, -0.0046685454, 0.040294416, -0.023972327, -0.01994526, -0.035542715, -0.00760272, 0.022974469, 0.0049298885, 0.00078625785, -0.017058603, -0.005274387, 0.011695121, 0.0077512106, -0.021038152, -0.012900866, 0.018412838, 0.027155966, 0.0006563286, -0.014219462, -0.03718205, 0.03435479, 0.011023944, -0.008695611, -0.006705837, -0.08206186, -0.0051080775, -0.0392728, 0.008101649, 0.057305504, 0.017046724, 0.015169802, -0.008071951, 0.01282959, -0.01632209, -0.0056753117, -0.010584412, 0.0038399675, 0.02535032, -0.007846245, -0.043810673, -0.03815615, 0.018484114, -0.053836763, 0.0018917705, -0.0035934732, -0.008481785, -0.021822182, -0.03276297, 0.0023045745, 0.021465804, -0.013708655, 0.02520777, 0.0036528695, 0.015478663, 0.023794137, 0.0032578844, -0.028771544, 0.017498136, -0.0129959, -0.007204765, -0.029270472, -0.0070384555, 0.008440207, 0.040484484, 0.0027099538, 0.055214755, 0.0042854394, -0.03737212, 0.011362502, -0.011000185, -0.012877107, 0.007715573, -0.031480014, -0.019137472, 0.007222584, 0.019909622, 0.04086462, -0.041411065, -0.024352463, 0.045877665, -0.009016351, 0.037348364, -0.019850226, 0.03463989, 0.013637379, -0.028462684, -0.02374662, -0.0036142617, 0.0037746318, 0.014053153, 0.016405243, 0.040698312, -0.0055030626, 0.033000555, 0.045022357, -0.02137077, -0.008166985, 0.0060673268, -0.035661507, 0.030981084, -0.017474378, 0.024685081, 0.027916238, -0.042195097, 0.002802018, 0.0032252164, -0.019398816, -0.0013230515, -0.017474378, -0.024803873, 0.016559675, 0.0014284798, 0.011214012, 0.022879435, -0.013744292, 0.03896394, -0.013281002, -0.06210472, -0.0073235575, -0.0044636284, -0.007715573, 0.039866764, 0.0030915749, 0.029413024, 0.0024129727, 0.010085483, -0.019458212, 0.027583618, -0.0120930765, 0.03010202, -0.012401937, 0.008945075, -0.0066939574, 0.0035756542, -0.026965898, 0.032881763, 0.002026897, -0.015740007, 0.0017700082, 0.046780486, -0.025326561, -0.020266, 0.0065811044, 0.01570437, -0.014694632, 0.014065032, -0.014694632, -0.015763765, -0.018258408, -0.0059604137, 0.04354933, 0.0074482895, -0.009568736, 0.026348177, -0.0019496819, 0.016500277, -0.026276901, 0.007020637, -0.049940366, -0.011178374, -0.03105236, 0.020289758, -0.06443305, 0.007222584, -0.02915168, 0.017070482, -0.008980713, 0.025445353, 0.01854351, -0.011831733, -0.023069503, 0.009770683, -0.008208562, 0.04670921, -0.018032702, -0.02233299, 0.021905337, -0.02582549, 0.008446147, -0.009200479, -0.034473583, -0.034307275, -0.041316032, -0.015146044, 0.013257243, 0.01712988, -0.040532, -0.03041088, 0.055832475, 0.003929062, 0.033974655, -0.04019938, -0.025706697, 0.042195097, -0.016405243, -0.017153637, 0.0054109986, 0.030981084, 0.006195029, 0.020646136, 0.02247554, -0.0047724885, 0.017688204, 0.013447311, -0.02090748, -0.02487515, 0.03977173, 0.038441252, 0.010055785, -0.006688018, -0.011653544, 0.039700452, -0.021251978, 0.009568736, -0.01331664, 0.020527344, 0.009746925, 0.055309787, -0.021620234, -0.014967855, -0.020028416, -0.023687225, 0.023722863, 0.029127922, -0.0076442976, 0.02881906, 0.010625989, 0.024055481, -0.025564145, 0.0040508243, 0.024542531, 0.031955183, 0.03216901, 0.0018888008, 0.015787523, 0.036160436, -0.021774665, 0.0027975633, 0.004261681, 0.013637379, -0.0022362687, -0.039700452, -0.03563775, 0.03485372, 0.027702412, -0.049845334, -0.017878272, -0.0021531142, 0.027773686, -0.000015893138, -0.003738994, -0.021596476, 0.012021801, -0.040128108, -0.0066820784, -0.07721513, 0.019113714, -0.00010450028, 0.035542715, 0.0061296932, 0.0076561766, -0.03119491, 0.007941279, -0.006260365, -0.0028257766, -0.0059752627, -0.003994398, 0.0006362823, 0.026039315, 0.0024842483, 0.02185782, 0.025944281, 0.020966876, 0.013067175, 0.010435921, -0.005746587, 0.047920894, 0.03357076, -0.00016324688, -0.018495992, 0.016060745, 0.017367464, -0.021727148, -0.046281558, -0.0063613383, -0.029721884, 0.042503957, 0.008333294, -0.0063494593, -0.01108334, 0.05326656, 0.01647652, 0.007959098, 0.013958119, -0.018412838, 0.03958166, -0.03532889, 0.014183825, -0.0123187825, -0.0659536, 0.016702225, 0.024993941, 0.039700452, -0.0121584125, -0.021465804, 0.045402493, 0.026086833, -0.014029394, -0.027963754, 0.022618093, 0.014563961, 0.011825793, 0.025611663, -0.060916793, -0.0027351973, 0.010441861, -0.028628992, 0.028937854, 0.013637379, 0.028272616, -0.01123777, -0.03463989, -0.0010817542, 0.009069808, -0.0053129946, 0.037443396, 0.015728127, -0.013292881, 0.037300844, -0.018828612, 0.0034568617, -0.008945075, -0.016725983, 0.024756357, 0.052458767, -0.029650608, -0.0011456052, -0.0121049555, 0.0063435193, -0.024851391, 0.008345173, -0.046162765, -0.012496971, 0.04863365, 0.0019125593, -0.023865413, 0.027631136, -0.010251793, 0.013245364, -0.012924624, -0.0357803, -0.04214758, -0.01616766, -0.023033867, -0.051223326, -0.007709633, -0.013399794, -0.010513136, 0.025754213, 0.018828612, -0.004484417, -0.0036677185, -0.034117207, -0.01123777, -0.00019916306, 0.0043982924, -0.0029891164, -0.003979549, -0.017189275, 0.024851391, 0.015573697, 0.00554464, -0.017818876, -0.005918836, 0.029531816, 0.054074347, 0.0060109007, 0.01886425, -0.019755192, 0.027037174, -0.01108928, 0.0040834923, -0.02342588, 0.026015557, -0.010839815, -0.009645951, 0.011410019, -0.026562003, 0.0034420127, 0.01013894, 0.009129204, 0.039557904, 0.01617954, 0.005351602, 0.02327145, 0.010697264, -0.025611663, -0.025540387, -0.027203482, -0.01631021, 0.013185968, 0.037229568, -0.014160066, -0.02027788, 0.00997263, 0.022392387, -0.0009985995, 0.025754213, 0.0010097362, 0.019434454, 0.017094241, 0.046637937, -0.014065032, -0.031955183, 0.01284147, -0.0009740985, -0.0072463425, 0.010358706, -0.0035192277, 0.004686364, 0.000807789, 0.04768331, 0.009010411, -0.018662302, -0.023414, -0.02262997, 0.017343706, 0.041316032, 0.029270472, 0.019458212, 0.01535987, 0.0357803, 0.024780115, -0.0014893609, -0.044452153, -0.00096741645, 0.005743617, -0.0067711724, 0.017367464, 0.017082362, 0.00074987765, 0.021584596, -0.02646697, -0.006889965, 0.0043685944, 0.030672224, 0.024304945, -0.019660158, 0.009907294, 0.018721698, 0.022356749, -0.013435432, 0.0046685454, 0.013007779, -0.00052788417, -0.015110406, -0.027322276, 0.014813425, -0.026348177, 0.019838348, 0.01600135, -0.046139006, -0.0030499974, -0.008048192, 0.020159088, 0.008642155, -0.027013415, 0.044452153, -0.018804852, -0.009313332, -0.015027251, 0.024328705, 0.005687191, 0.009396487, 0.026680795, -0.0041933754, 0.00030514825, -0.027773686, 0.033998415, 0.0042587114, 0.018020822, -0.009954811, -0.013031538, -0.004184466, -0.0006414795, -0.032216527, 0.004359685, 0.029270472, 0.000052203737, 0.02820134, -0.020705532, -0.014552081, -0.025920523, -0.007620539, 0.047564518, 0.017213034, -0.011730759, -0.0047279415, -0.00601684, -0.017806996, -0.006753354, 0.016844777, 0.015644973, -0.04210006, -0.013007779, 0.009491521, 0.0041428884, 0.0345211, 0.0019081045, -0.03105236, -0.018721698, 0.016500277, -0.0317176, -0.0027054993, 0.010144879, -0.0022882405, -0.029745642, 0.001790797, 0.031123634, 0.018983042, -0.03328566, 0.008939136, 0.012793953, -0.020467948, 0.016369607, 0.0063791573, -0.007679935, -0.0040834923, 0.017403102, -0.02520777, 0.011493174, -0.008832223, -0.008576819, -0.024352463, -0.013732413, 0.019624522, -0.001448526, 0.038726356, 0.022226077, -0.019363178, -0.021834062, 0.0070443954, 0.011071461, -0.014599598, 0.02582549, 0.0021991462, 0.04989285, -0.009253936, -0.009634072, -0.042575233, 0.0123187825, 0.0043478054, 0.026015557, 0.012295024, -0.012508851, -0.007020637, 0.0060792062, -0.010798238, 0.008654034, 0.020539224, 0.0049209795, -0.008535241, -0.02755986, 0.028415166, -0.0012153958, 0.009681589, 0.04454719, -0.040508244, 0.015585576, -0.0021649932, 0.04043697, 0.02233299, 0.012580126, -0.050320502, -0.00004125255, 0.044167053, 0.008452087, 0.015835041, -0.0008144711, 0.015787523, -0.0030559371, -0.005134806, 0.030434638, -0.05146091, -0.0055505796, -0.0034271637, -0.034188483, 0.015241078, 0.019992778, 0.01187925, 0.04119724, 0.035423923, 0.009806321, 0.010133, -0.019375056, -0.0098182, 0.018270286, 0.03437855, -0.020040294, -0.0010683901, 0.045069873, 0.04086462, 0.028058788, 0.012306903, -0.014492685, -0.011683242, 0.017961426, 0.026086833, 0.005054621, -0.0070562745, 0.017308068, -0.011059582, -0.027369792, 0.011154615, 0.0025555238, 0.028866578, -0.032501627, -0.008612457, 0.021643994, 0.0030262389, 0.01679726, 0.046020214, 0.020562982, -0.011861431, -0.013376036, 0.00080556166, -0.014647115, 0.010441861, 0.0048556435, -0.013720534, -0.009954811, 0.039843004, -0.013851206, 0.0037746318, -0.014991613, -0.028106306, -0.02201225, -0.03834622, 0.042028785, 0.008273898, 0.01854351, -0.028248856, -0.020729292, -0.00031053103, -0.011701061, 0.011956465, 0.0038429373, -0.022273595, -0.021038152, 0.0043210774, 0.026657037, 0.01789015, 0.0076086596, -0.002833201, 0.002787169, 0.006290063, -0.0048407945, 0.024661323, -0.010115181, 0.0038221488, 0.02138265, 0.025136493, 0.0215252, 0.000902823, -0.0002518772, 0.014076911, 0.048277274, -0.000001635717, -0.006290063, -0.02946054, 0.0008345173, 0.035091303, -0.01410067, 0.029389264, 0.023556553, 0.016417123, -0.007822487, 0.033000555, -0.022915073, 0.017391222, 0.02663328, -0.021905337, -0.00094811263, -0.010863574, 0.006622682, -0.0122237485, -0.044262085, 0.013245364, 0.014243221, 0.012912745, 0.02295071, -0.0022095405, -0.0014552082, 0.03140874, -0.0060049607, 0.0034954692, 0.0012228203, -0.040793344, -0.015751885, 0.032691695, -0.024542531, 0.008891619, 0.0052060816, -0.0012525184, -0.01552618, 0.0110774, -0.010513136, -0.016737863, -0.019113714, 0.027488584, 0.02915168, 0.009461823, 0.019660158, 0.005713919, 0.0007855154, -0.010400283, -0.00443987, -0.026276901, 0.046329074, -0.025112735, -0.04198127, -0.003106424, 0.002248148, -0.027227242, 0.0012250476, -0.0020981724, 0.030909808, -0.023817897, 0.00050523935, 0.010738842, -0.0049061305, -0.021501442, 0.030482156, -0.017367464, 0.062199753, 0.0046952735, -0.007584901, -0.019612642, -0.0049952245, -0.020812446, -0.019434454, 0.014148187, 0.0113922, 0.036611848, 0.0041755564, -0.008178864, -0.009616253, 0.012793953, -0.010239913, 0.003436073, -0.008446147, 0.019446332, 0.02011157, -0.02406736, -0.00364396, 0.0067295954, -0.0095034, -0.012592005, 0.01331664, 0.011154615, -0.039320316, -0.047279414, -0.020206604, -0.034473583, 0.0019793801, -0.026657037, 0.0026045255, -0.01996902, -0.016844777, -0.002059565, 0.0072819805, 0.0215252, 0.039130248, -0.0005186035, 0.019683918, 0.052458767, 0.030814774, -0.004986315, 0.012306903, -0.011778276, -0.025445353, -0.03264418, -0.008731249, -0.002346152, -0.005482274, -0.0064444933, 0.027654894, -0.020479826, -0.021275736, 0.026276901, -0.021002514, 0.014088791, -0.02153708, 0.0023060595, -0.033547003, 0.02470884, 0.012698919, 0.05640268, 0.02154896, -0.0054674246, -0.03404593, 0.038108636, 0.022725005, 0.023485277, -0.009170781, 0.03119491, -0.016856655, -0.007953158, 0.014955976, 0.0208956, -0.03580406, 0.014088791, 0.029911952, 0.0045378734, 0.037752256, 0.011576329, -0.020669894, 0.046305317, 0.03181263, -0.025421595, 0.00918266, 0.052553803, 0.027702412, 0.0014024939, 0.009841959, 0.021394528, -0.00012556739, -0.03749091, 0.014219462, 0.01315033, -0.011641665, 0.0043507754, 0.019303782, -0.04243268, -0.005526821, -0.006450433, -0.02342588, -0.00522687, 0.037158296, 0.02232111, 0.059633836, -0.044143293, -0.03642178, -0.026847105, 0.00069716346, -0.007988796, -0.002582252, 0.009242057, -0.014563961, -0.034592375, -0.009895415, 0.011908948, 0.024257429, -0.008855981, 0.015443025, -0.0030529674 ]