\begin{figure} \centering \begin{tikzpicture} \begin{axis}[ xlabel={ Recall }, ylabel={ QPS (1/s) }, ymode = log, yticklabel style={/pgf/number format/fixed, /pgf/number format/precision=3}, legend style = { anchor=west} ] \addplot [ color=red!90!black, mark=o, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 94.08412134850414) }; \addlegendentry{ cifar10-512-euclidean (k = 10) }; \addplot [ color=blue!80!black, mark=square, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 1.6558000289350019) }; \addlegendentry{ deep10m-96-euclidean (k = 10) }; \addplot [ color=green!70!black, mark=triangle, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 58.23432145167614) }; \addlegendentry{ fashion-mnist-784-euclidean (k = 10) }; \addplot [ color=orange!90!black, mark=diamond, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 1.6594471552584047) }; \addlegendentry{ gist-960-euclidean (k = 10) }; \addplot [ color=violet!90!black, mark=x, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 7.536784718631636) }; \addlegendentry{ glove-100-euclidean (k = 10) }; \addplot [ color=teal!90!black, mark=pentagon, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 4.458630417662111) }; \addlegendentry{ glove-200-euclidean (k = 10) }; \addplot [ color=magenta!90!black, mark=star, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 15.833659059384) }; \addlegendentry{ glove-25-euclidean (k = 10) }; \addplot [ color=olive!90!black, mark=otimes, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 15.712351712035959) }; \addlegendentry{ music-100-euclidean (k = 10) }; \addplot [ color=cyan!70!black, mark=asterisk, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 6.905236172392995) }; \addlegendentry{ sift-128-euclidean (k = 10) }; \addplot [ color=brown!90!black, mark=oplus, mark size=2.5pt, line width=1pt ] coordinates { (0.9929, 8.131018819893244) }; \addlegendentry{ trevi-4096-euclidean (k = 10) }; \end{axis} \end{tikzpicture} \caption{ Recall-QPS (1/s) tradeoff - up and to the right is better } \label{} \end{figure}
\begin{figure} \centering \begin{tikzpicture} \begin{axis}[ xlabel={ Recall }, ylabel={ Build time (s) }, ymode = log, yticklabel style={/pgf/number format/fixed, /pgf/number format/precision=3}, legend style = { anchor=west} ] \addplot [ color=red!90!black, mark=o, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 0.00023984909057617188) }; \addlegendentry{ cifar10-512-euclidean (k = 10) }; \addplot [ color=blue!80!black, mark=square, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 0.0002789497375488281) }; \addlegendentry{ deep10m-96-euclidean (k = 10) }; \addplot [ color=green!70!black, mark=triangle, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 0.000286102294921875) }; \addlegendentry{ fashion-mnist-784-euclidean (k = 10) }; \addplot [ color=orange!90!black, mark=diamond, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 0.0002570152282714844) }; \addlegendentry{ gist-960-euclidean (k = 10) }; \addplot [ color=violet!90!black, mark=x, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 0.0002491474151611328) }; \addlegendentry{ glove-100-euclidean (k = 10) }; \addplot [ color=teal!90!black, mark=pentagon, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 0.0003077983856201172) }; \addlegendentry{ glove-200-euclidean (k = 10) }; \addplot [ color=magenta!90!black, mark=star, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 0.00022840499877929688) }; \addlegendentry{ glove-25-euclidean (k = 10) }; \addplot [ color=olive!90!black, mark=otimes, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 0.00028252601623535156) }; \addlegendentry{ music-100-euclidean (k = 10) }; \addplot [ color=cyan!70!black, mark=asterisk, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 0.0002968311309814453) }; \addlegendentry{ sift-128-euclidean (k = 10) }; \addplot [ color=brown!90!black, mark=oplus, mark size=2.5pt, line width=1pt ] coordinates { (0.9929, 0.00027179718017578125) }; \addlegendentry{ trevi-4096-euclidean (k = 10) }; \end{axis} \end{tikzpicture} \caption{ Recall-Build time (s) tradeoff - down and to the right is better } \label{} \end{figure}
\begin{figure} \centering \begin{tikzpicture} \begin{axis}[ xlabel={ Recall }, ylabel={ Index size (kB) }, ymode = log, yticklabel style={/pgf/number format/fixed, /pgf/number format/precision=3}, legend style = { anchor=west} ] \addplot [ color=red!90!black, mark=o, mark size=2.5pt, line width=1pt ] coordinates { }; \addlegendentry{ cifar10-512-euclidean (k = 10) }; \addplot [ color=blue!80!black, mark=square, mark size=2.5pt, line width=1pt ] coordinates { }; \addlegendentry{ deep10m-96-euclidean (k = 10) }; \addplot [ color=green!70!black, mark=triangle, mark size=2.5pt, line width=1pt ] coordinates { }; \addlegendentry{ fashion-mnist-784-euclidean (k = 10) }; \addplot [ color=orange!90!black, mark=diamond, mark size=2.5pt, line width=1pt ] coordinates { }; \addlegendentry{ gist-960-euclidean (k = 10) }; \addplot [ color=violet!90!black, mark=x, mark size=2.5pt, line width=1pt ] coordinates { }; \addlegendentry{ glove-100-euclidean (k = 10) }; \addplot [ color=teal!90!black, mark=pentagon, mark size=2.5pt, line width=1pt ] coordinates { }; \addlegendentry{ glove-200-euclidean (k = 10) }; \addplot [ color=magenta!90!black, mark=star, mark size=2.5pt, line width=1pt ] coordinates { }; \addlegendentry{ glove-25-euclidean (k = 10) }; \addplot [ color=olive!90!black, mark=otimes, mark size=2.5pt, line width=1pt ] coordinates { }; \addlegendentry{ music-100-euclidean (k = 10) }; \addplot [ color=cyan!70!black, mark=asterisk, mark size=2.5pt, line width=1pt ] coordinates { }; \addlegendentry{ sift-128-euclidean (k = 10) }; \addplot [ color=brown!90!black, mark=oplus, mark size=2.5pt, line width=1pt ] coordinates { }; \addlegendentry{ trevi-4096-euclidean (k = 10) }; \end{axis} \end{tikzpicture} \caption{ Recall-Index size (kB) tradeoff - down and to the right is better } \label{} \end{figure}
\begin{figure} \centering \begin{tikzpicture} \begin{axis}[ xlabel={ Recall }, ylabel={ Distance comp. }, ymode = log, yticklabel style={/pgf/number format/fixed, /pgf/number format/precision=3}, legend style = { anchor=west} ] \addplot [ color=red!90!black, mark=o, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 50000) }; \addlegendentry{ cifar10-512-euclidean (k = 10) }; \addplot [ color=blue!80!black, mark=square, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 10000000) }; \addlegendentry{ deep10m-96-euclidean (k = 10) }; \addplot [ color=green!70!black, mark=triangle, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 60000) }; \addlegendentry{ fashion-mnist-784-euclidean (k = 10) }; \addplot [ color=orange!90!black, mark=diamond, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 1000000) }; \addlegendentry{ gist-960-euclidean (k = 10) }; \addplot [ color=violet!90!black, mark=x, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 1193514) }; \addlegendentry{ glove-100-euclidean (k = 10) }; \addplot [ color=teal!90!black, mark=pentagon, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 1193514) }; \addlegendentry{ glove-200-euclidean (k = 10) }; \addplot [ color=magenta!90!black, mark=star, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 1193514) }; \addlegendentry{ glove-25-euclidean (k = 10) }; \addplot [ color=olive!90!black, mark=otimes, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 1000000) }; \addlegendentry{ music-100-euclidean (k = 10) }; \addplot [ color=cyan!70!black, mark=asterisk, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 1000000) }; \addlegendentry{ sift-128-euclidean (k = 10) }; \addplot [ color=brown!90!black, mark=oplus, mark size=2.5pt, line width=1pt ] coordinates { (0.9929, 101120) }; \addlegendentry{ trevi-4096-euclidean (k = 10) }; \end{axis} \end{tikzpicture} \caption{ Recall-Distance comp. tradeoff - down and to the right is better } \label{} \end{figure}
\begin{figure} \centering \begin{tikzpicture} \begin{axis}[ xlabel={ Relative Error }, ylabel={ QPS (1/s) }, ymode = log, yticklabel style={/pgf/number format/fixed, /pgf/number format/precision=3}, legend style = { anchor=west} ] \addplot [ color=red!90!black, mark=o, mark size=2.5pt, line width=1pt ] coordinates { (0.010831011001208436, 94.08412134850414) }; \addlegendentry{ cifar10-512-euclidean (k = 10) }; \addplot [ color=blue!80!black, mark=square, mark size=2.5pt, line width=1pt ] coordinates { (0.011837288454747654, 1.6558000289350019) }; \addlegendentry{ deep10m-96-euclidean (k = 10) }; \addplot [ color=green!70!black, mark=triangle, mark size=2.5pt, line width=1pt ] coordinates { (0.010891562373011318, 58.23432145167614) }; \addlegendentry{ fashion-mnist-784-euclidean (k = 10) }; \addplot [ color=orange!90!black, mark=diamond, mark size=2.5pt, line width=1pt ] coordinates { (0.011165741630303773, 1.6594471552584047) }; \addlegendentry{ gist-960-euclidean (k = 10) }; \addplot [ color=violet!90!black, mark=x, mark size=2.5pt, line width=1pt ] coordinates { (0.012982980561629736, 7.536784718631636) }; \addlegendentry{ glove-100-euclidean (k = 10) }; \addplot [ color=teal!90!black, mark=pentagon, mark size=2.5pt, line width=1pt ] coordinates { (0.030278209302308255, 4.458630417662111) }; \addlegendentry{ glove-200-euclidean (k = 10) }; \addplot [ color=magenta!90!black, mark=star, mark size=2.5pt, line width=1pt ] coordinates { (0.010318278801576439, 15.833659059384) }; \addlegendentry{ glove-25-euclidean (k = 10) }; \addplot [ color=olive!90!black, mark=otimes, mark size=2.5pt, line width=1pt ] coordinates { (0.010803711469819743, 15.712351712035959) }; \addlegendentry{ music-100-euclidean (k = 10) }; \addplot [ color=cyan!70!black, mark=asterisk, mark size=2.5pt, line width=1pt ] coordinates { (0.039219848274295054, 6.905236172392995) }; \addlegendentry{ sift-128-euclidean (k = 10) }; \addplot [ color=brown!90!black, mark=oplus, mark size=2.5pt, line width=1pt ] coordinates { (0.010593214161913547, 8.131018819893244) }; \addlegendentry{ trevi-4096-euclidean (k = 10) }; \end{axis} \end{tikzpicture} \caption{ Relative Error-QPS (1/s) tradeoff - up and to the left is better } \label{} \end{figure}
\begin{figure} \centering \begin{tikzpicture} \begin{axis}[ xlabel={ Recall }, ylabel={ Candidates generated }, ymode = log, yticklabel style={/pgf/number format/fixed, /pgf/number format/precision=3}, legend style = { anchor=west} ] \addplot [ color=red!90!black, mark=o, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 10.0) }; \addlegendentry{ cifar10-512-euclidean (k = 10) }; \addplot [ color=blue!80!black, mark=square, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 10.0) }; \addlegendentry{ deep10m-96-euclidean (k = 10) }; \addplot [ color=green!70!black, mark=triangle, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 10.0) }; \addlegendentry{ fashion-mnist-784-euclidean (k = 10) }; \addplot [ color=orange!90!black, mark=diamond, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 10.0) }; \addlegendentry{ gist-960-euclidean (k = 10) }; \addplot [ color=violet!90!black, mark=x, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 10.0) }; \addlegendentry{ glove-100-euclidean (k = 10) }; \addplot [ color=teal!90!black, mark=pentagon, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 10.0) }; \addlegendentry{ glove-200-euclidean (k = 10) }; \addplot [ color=magenta!90!black, mark=star, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 10.0) }; \addlegendentry{ glove-25-euclidean (k = 10) }; \addplot [ color=olive!90!black, mark=otimes, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 10.0) }; \addlegendentry{ music-100-euclidean (k = 10) }; \addplot [ color=cyan!70!black, mark=asterisk, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 10.0) }; \addlegendentry{ sift-128-euclidean (k = 10) }; \addplot [ color=brown!90!black, mark=oplus, mark size=2.5pt, line width=1pt ] coordinates { (0.9929, 10.0) }; \addlegendentry{ trevi-4096-euclidean (k = 10) }; \end{axis} \end{tikzpicture} \caption{ Recall-Candidates generated tradeoff - down and to the right is better } \label{} \end{figure}
\begin{figure} \centering \begin{tikzpicture} \begin{axis}[ xlabel={ Recall }, ylabel={ Index size (kB)/QPS (s) }, ymode = log, yticklabel style={/pgf/number format/fixed, /pgf/number format/precision=3}, legend style = { anchor=west} ] \addplot [ color=red!90!black, mark=o, mark size=2.5pt, line width=1pt ] coordinates { }; \addlegendentry{ cifar10-512-euclidean (k = 10) }; \addplot [ color=blue!80!black, mark=square, mark size=2.5pt, line width=1pt ] coordinates { }; \addlegendentry{ deep10m-96-euclidean (k = 10) }; \addplot [ color=green!70!black, mark=triangle, mark size=2.5pt, line width=1pt ] coordinates { }; \addlegendentry{ fashion-mnist-784-euclidean (k = 10) }; \addplot [ color=orange!90!black, mark=diamond, mark size=2.5pt, line width=1pt ] coordinates { }; \addlegendentry{ gist-960-euclidean (k = 10) }; \addplot [ color=violet!90!black, mark=x, mark size=2.5pt, line width=1pt ] coordinates { }; \addlegendentry{ glove-100-euclidean (k = 10) }; \addplot [ color=teal!90!black, mark=pentagon, mark size=2.5pt, line width=1pt ] coordinates { }; \addlegendentry{ glove-200-euclidean (k = 10) }; \addplot [ color=magenta!90!black, mark=star, mark size=2.5pt, line width=1pt ] coordinates { }; \addlegendentry{ glove-25-euclidean (k = 10) }; \addplot [ color=olive!90!black, mark=otimes, mark size=2.5pt, line width=1pt ] coordinates { }; \addlegendentry{ music-100-euclidean (k = 10) }; \addplot [ color=cyan!70!black, mark=asterisk, mark size=2.5pt, line width=1pt ] coordinates { }; \addlegendentry{ sift-128-euclidean (k = 10) }; \addplot [ color=brown!90!black, mark=oplus, mark size=2.5pt, line width=1pt ] coordinates { }; \addlegendentry{ trevi-4096-euclidean (k = 10) }; \end{axis} \end{tikzpicture} \caption{ Recall-Index size (kB)/QPS (s) tradeoff - down and to the right is better } \label{} \end{figure}
\begin{figure} \centering \begin{tikzpicture} \begin{axis}[ xlabel={ Eps 0.01 Recall }, ylabel={ QPS (1/s) }, ymode = log, yticklabel style={/pgf/number format/fixed, /pgf/number format/precision=3}, legend style = { anchor=west} ] \addplot [ color=red!90!black, mark=o, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 94.08412134850414) }; \addlegendentry{ cifar10-512-euclidean (k = 10) }; \addplot [ color=blue!80!black, mark=square, mark size=2.5pt, line width=1pt ] coordinates { (0.9663999999999999, 1.6558000289350019) }; \addlegendentry{ deep10m-96-euclidean (k = 10) }; \addplot [ color=green!70!black, mark=triangle, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 58.23432145167614) }; \addlegendentry{ fashion-mnist-784-euclidean (k = 10) }; \addplot [ color=orange!90!black, mark=diamond, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 1.6594471552584047) }; \addlegendentry{ gist-960-euclidean (k = 10) }; \addplot [ color=violet!90!black, mark=x, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 7.536784718631636) }; \addlegendentry{ glove-100-euclidean (k = 10) }; \addplot [ color=teal!90!black, mark=pentagon, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 4.458630417662111) }; \addlegendentry{ glove-200-euclidean (k = 10) }; \addplot [ color=magenta!90!black, mark=star, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 15.833659059384) }; \addlegendentry{ glove-25-euclidean (k = 10) }; \addplot [ color=olive!90!black, mark=otimes, mark size=2.5pt, line width=1pt ] coordinates { (0.9987, 15.712351712035959) }; \addlegendentry{ music-100-euclidean (k = 10) }; \addplot [ color=cyan!70!black, mark=asterisk, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 6.905236172392995) }; \addlegendentry{ sift-128-euclidean (k = 10) }; \addplot [ color=brown!90!black, mark=oplus, mark size=2.5pt, line width=1pt ] coordinates { (0.9984, 8.131018819893244) }; \addlegendentry{ trevi-4096-euclidean (k = 10) }; \end{axis} \end{tikzpicture} \caption{ Eps 0.01 Recall-QPS (1/s) tradeoff - up and to the right is better } \label{} \end{figure}
\begin{figure} \centering \begin{tikzpicture} \begin{axis}[ xlabel={ Eps 0.1 Recall }, ylabel={ QPS (1/s) }, ymode = log, yticklabel style={/pgf/number format/fixed, /pgf/number format/precision=3}, legend style = { anchor=west} ] \addplot [ color=red!90!black, mark=o, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 94.08412134850414) }; \addlegendentry{ cifar10-512-euclidean (k = 10) }; \addplot [ color=blue!80!black, mark=square, mark size=2.5pt, line width=1pt ] coordinates { (0.9970000000000001, 1.6558000289350019) }; \addlegendentry{ deep10m-96-euclidean (k = 10) }; \addplot [ color=green!70!black, mark=triangle, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 58.23432145167614) }; \addlegendentry{ fashion-mnist-784-euclidean (k = 10) }; \addplot [ color=orange!90!black, mark=diamond, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 1.6594471552584047) }; \addlegendentry{ gist-960-euclidean (k = 10) }; \addplot [ color=violet!90!black, mark=x, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 7.536784718631636) }; \addlegendentry{ glove-100-euclidean (k = 10) }; \addplot [ color=teal!90!black, mark=pentagon, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 4.458630417662111) }; \addlegendentry{ glove-200-euclidean (k = 10) }; \addplot [ color=magenta!90!black, mark=star, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 15.833659059384) }; \addlegendentry{ glove-25-euclidean (k = 10) }; \addplot [ color=olive!90!black, mark=otimes, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 15.712351712035959) }; \addlegendentry{ music-100-euclidean (k = 10) }; \addplot [ color=cyan!70!black, mark=asterisk, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 6.905236172392995) }; \addlegendentry{ sift-128-euclidean (k = 10) }; \addplot [ color=brown!90!black, mark=oplus, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 8.131018819893244) }; \addlegendentry{ trevi-4096-euclidean (k = 10) }; \end{axis} \end{tikzpicture} \caption{ Eps 0.1 Recall-QPS (1/s) tradeoff - up and to the right is better } \label{} \end{figure}
\begin{figure} \centering \begin{tikzpicture} \begin{axis}[ xlabel={ Recall }, ylabel={ Percentile 50 (millis) }, ymode = log, yticklabel style={/pgf/number format/fixed, /pgf/number format/precision=3}, legend style = { anchor=west} ] \addplot [ color=red!90!black, mark=o, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 10.591387748718262) }; \addlegendentry{ cifar10-512-euclidean (k = 10) }; \addplot [ color=blue!80!black, mark=square, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 607.0741415023804) }; \addlegendentry{ deep10m-96-euclidean (k = 10) }; \addplot [ color=green!70!black, mark=triangle, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 17.142295837402344) }; \addlegendentry{ fashion-mnist-784-euclidean (k = 10) }; \addplot [ color=orange!90!black, mark=diamond, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 602.0762920379639) }; \addlegendentry{ gist-960-euclidean (k = 10) }; \addplot [ color=violet!90!black, mark=x, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 132.4903964996338) }; \addlegendentry{ glove-100-euclidean (k = 10) }; \addplot [ color=teal!90!black, mark=pentagon, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 223.74248504638672) }; \addlegendentry{ glove-200-euclidean (k = 10) }; \addplot [ color=magenta!90!black, mark=star, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 63.399672508239746) }; \addlegendentry{ glove-25-euclidean (k = 10) }; \addplot [ color=olive!90!black, mark=otimes, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 63.97581100463867) }; \addlegendentry{ music-100-euclidean (k = 10) }; \addplot [ color=cyan!70!black, mark=asterisk, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 144.7310447692871) }; \addlegendentry{ sift-128-euclidean (k = 10) }; \addplot [ color=brown!90!black, mark=oplus, mark size=2.5pt, line width=1pt ] coordinates { (0.9929, 122.7024793624878) }; \addlegendentry{ trevi-4096-euclidean (k = 10) }; \end{axis} \end{tikzpicture} \caption{ Recall-Percentile 50 (millis) tradeoff - down and to the right is better } \label{} \end{figure}
\begin{figure} \centering \begin{tikzpicture} \begin{axis}[ xlabel={ Recall }, ylabel={ Percentile 95 (millis) }, ymode = log, yticklabel style={/pgf/number format/fixed, /pgf/number format/precision=3}, legend style = { anchor=west} ] \addplot [ color=red!90!black, mark=o, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 11.182594299316406) }; \addlegendentry{ cifar10-512-euclidean (k = 10) }; \addplot [ color=blue!80!black, mark=square, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 648.0269074440002) }; \addlegendentry{ deep10m-96-euclidean (k = 10) }; \addplot [ color=green!70!black, mark=triangle, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 17.752647399902344) }; \addlegendentry{ fashion-mnist-784-euclidean (k = 10) }; \addplot [ color=orange!90!black, mark=diamond, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 616.2384629249573) }; \addlegendentry{ gist-960-euclidean (k = 10) }; \addplot [ color=violet!90!black, mark=x, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 141.21417999267578) }; \addlegendentry{ glove-100-euclidean (k = 10) }; \addplot [ color=teal!90!black, mark=pentagon, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 235.7801914215088) }; \addlegendentry{ glove-200-euclidean (k = 10) }; \addplot [ color=magenta!90!black, mark=star, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 68.55671405792236) }; \addlegendentry{ glove-25-euclidean (k = 10) }; \addplot [ color=olive!90!black, mark=otimes, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 68.0318832397461) }; \addlegendentry{ music-100-euclidean (k = 10) }; \addplot [ color=cyan!70!black, mark=asterisk, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 151.62320137023926) }; \addlegendentry{ sift-128-euclidean (k = 10) }; \addplot [ color=brown!90!black, mark=oplus, mark size=2.5pt, line width=1pt ] coordinates { (0.9929, 125.23795366287233) }; \addlegendentry{ trevi-4096-euclidean (k = 10) }; \end{axis} \end{tikzpicture} \caption{ Recall-Percentile 95 (millis) tradeoff - down and to the right is better } \label{} \end{figure}
\begin{figure} \centering \begin{tikzpicture} \begin{axis}[ xlabel={ Recall }, ylabel={ Percentile 99 (millis) }, ymode = log, yticklabel style={/pgf/number format/fixed, /pgf/number format/precision=3}, legend style = { anchor=west} ] \addplot [ color=red!90!black, mark=o, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 11.41291856765747) }; \addlegendentry{ cifar10-512-euclidean (k = 10) }; \addplot [ color=blue!80!black, mark=square, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 663.3189511299133) }; \addlegendentry{ deep10m-96-euclidean (k = 10) }; \addplot [ color=green!70!black, mark=triangle, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 18.24887990951538) }; \addlegendentry{ fashion-mnist-784-euclidean (k = 10) }; \addplot [ color=orange!90!black, mark=diamond, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 627.0696830749512) }; \addlegendentry{ gist-960-euclidean (k = 10) }; \addplot [ color=violet!90!black, mark=x, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 143.76221418380737) }; \addlegendentry{ glove-100-euclidean (k = 10) }; \addplot [ color=teal!90!black, mark=pentagon, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 238.69677543640137) }; \addlegendentry{ glove-200-euclidean (k = 10) }; \addplot [ color=magenta!90!black, mark=star, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 70.7463026046753) }; \addlegendentry{ glove-25-euclidean (k = 10) }; \addplot [ color=olive!90!black, mark=otimes, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 69.59956169128418) }; \addlegendentry{ music-100-euclidean (k = 10) }; \addplot [ color=cyan!70!black, mark=asterisk, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 153.39373588562012) }; \addlegendentry{ sift-128-euclidean (k = 10) }; \addplot [ color=brown!90!black, mark=oplus, mark size=2.5pt, line width=1pt ] coordinates { (0.9929, 127.45450496673583) }; \addlegendentry{ trevi-4096-euclidean (k = 10) }; \end{axis} \end{tikzpicture} \caption{ Recall-Percentile 99 (millis) tradeoff - down and to the right is better } \label{} \end{figure}
\begin{figure} \centering \begin{tikzpicture} \begin{axis}[ xlabel={ Recall }, ylabel={ Percentile 99.9 (millis) }, ymode = log, yticklabel style={/pgf/number format/fixed, /pgf/number format/precision=3}, legend style = { anchor=west} ] \addplot [ color=red!90!black, mark=o, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 11.654007673263559) }; \addlegendentry{ cifar10-512-euclidean (k = 10) }; \addplot [ color=blue!80!black, mark=square, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 676.6702349185947) }; \addlegendentry{ deep10m-96-euclidean (k = 10) }; \addplot [ color=green!70!black, mark=triangle, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 19.37365555763253) }; \addlegendentry{ fashion-mnist-784-euclidean (k = 10) }; \addplot [ color=orange!90!black, mark=diamond, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 638.9209213256837) }; \addlegendentry{ gist-960-euclidean (k = 10) }; \addplot [ color=violet!90!black, mark=x, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 146.3457896709442) }; \addlegendentry{ glove-100-euclidean (k = 10) }; \addplot [ color=teal!90!black, mark=pentagon, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 243.29308414459234) }; \addlegendentry{ glove-200-euclidean (k = 10) }; \addplot [ color=magenta!90!black, mark=star, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 73.35645699501045) }; \addlegendentry{ glove-25-euclidean (k = 10) }; \addplot [ color=olive!90!black, mark=otimes, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 70.24935412406926) }; \addlegendentry{ music-100-euclidean (k = 10) }; \addplot [ color=cyan!70!black, mark=asterisk, mark size=2.5pt, line width=1pt ] coordinates { (1.0, 155.6448576450349) }; \addlegendentry{ sift-128-euclidean (k = 10) }; \addplot [ color=brown!90!black, mark=oplus, mark size=2.5pt, line width=1pt ] coordinates { (0.9929, 129.36701655387893) }; \addlegendentry{ trevi-4096-euclidean (k = 10) }; \end{axis} \end{tikzpicture} \caption{ Recall-Percentile 99.9 (millis) tradeoff - down and to the right is better } \label{} \end{figure}
P2HNNS-benchmarks is a fork of the original ANN-BENCHMARKS repository, which was developed by Martin Aumueller (maau@itu.dk), Erik Bernhardsson (mail@erikbern.com), and Alec Faitfull (alef@itu.dk). This fork, reconfigured by Søren Majlund Jensen and Christian Porsmose Stender, includes minor modifications to address the P2HNNS problem. We acknowledge and give full credit to the original developers for their work. Please use GitHub to submit your implementations or improvements.