Plots for faiss-gpu-batch in batch mode
Recall/Queries per second (1/s)
\begin{figure}
\centering
\begin{tikzpicture}
\begin{axis}[
xlabel={ Recall },
ylabel={ Queries per second (1/s) },
ymode = log,
yticklabel style={/pgf/number format/fixed,
/pgf/number format/precision=3},
legend style = { anchor=west},
cycle list name = black white
]
\addplot coordinates {
(0.28338, 1477752.1756)
(0.37301, 832698.828668)
(0.70343, 655646.845495)
(0.76362, 464856.142217)
(0.87695, 358794.183062)
(0.91279, 246504.810433)
(0.9574, 173090.897086)
(0.97605, 111871.674299)
(0.98584, 101380.747272)
(0.98882, 61130.3188195)
(0.99363, 59330.6617139)
(0.99816, 31690.2109732)
(0.99891, 16350.1819479)
(0.99993, 8367.611988)
(1.0, 6418.14799507)
};
\addlegendentry{ sift-128-euclidean (k = 10) };
\end{axis}
\end{tikzpicture}
\caption{ Recall-Queries per second (1/s) tradeoff - up and to the right is better }
\label{}
\end{figure}
Recall/Index size (kB)/Queries per second (s)
\begin{figure}
\centering
\begin{tikzpicture}
\begin{axis}[
xlabel={ Recall },
ylabel={ Index size (kB)/Queries per second (s) },
ymode = log,
yticklabel style={/pgf/number format/fixed,
/pgf/number format/precision=3},
legend style = { anchor=west},
cycle list name = black white
]
\addplot coordinates {
(0.28338, 0.186718723583)
(0.37301, 0.3148125)
(0.70343, 0.399825)
(0.76362, 0.563925)
(0.87695, 0.768016910553)
(0.91279, 1.06344375)
(0.9574, 1.53047909775)
(0.97605, 2.34325625)
(0.98584, 2.6279545887)
(0.98882, 4.28828125)
(0.99363, 4.60578041954)
(0.99816, 8.27208125)
(0.99891, 16.03309375)
(0.99993, 31.3284125)
(1.0, 40.84418125)
};
\addlegendentry{ sift-128-euclidean (k = 10) };
\end{axis}
\end{tikzpicture}
\caption{ Recall-Index size (kB)/Queries per second (s) tradeoff - down and to the right is better }
\label{}
\end{figure}
Recall/Build time (s)
\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},
cycle list name = black white
]
\addplot coordinates {
(0.4481, 0.816184997559)
(1.0, 0.817345142365)
};
\addlegendentry{ sift-128-euclidean (k = 10) };
\end{axis}
\end{tikzpicture}
\caption{ Recall-Build time (s) tradeoff - down and to the right is better }
\label{}
\end{figure}
Recall/Index size (kB)
\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},
cycle list name = black white
]
\addplot coordinates {
(0.24525, 262144)
(0.37301, 262144)
(0.99891, 262144)
(1.0, 262144)
};
\addlegendentry{ sift-128-euclidean (k = 10) };
\end{axis}
\end{tikzpicture}
\caption{ Recall-Index size (kB) tradeoff - down and to the right is better }
\label{}
\end{figure}
Epsilon 0.01 Recall/Queries per second (1/s)
\begin{figure}
\centering
\begin{tikzpicture}
\begin{axis}[
xlabel={ Epsilon 0.01 Recall },
ylabel={ Queries per second (1/s) },
ymode = log,
yticklabel style={/pgf/number format/fixed,
/pgf/number format/precision=3},
legend style = { anchor=west},
cycle list name = black white
]
\addplot coordinates {
(0.33386, 1477752.1756)
(0.43899, 832698.828668)
(0.80709, 655646.845495)
(0.86295, 464856.142217)
(0.95459, 358794.183062)
(0.97357, 246504.810433)
(0.9922, 173090.897086)
(0.9965, 111871.674299)
(0.9985, 101380.747272)
(0.99872, 61130.3188195)
(0.99946, 59330.6617139)
(0.99987, 31690.2109732)
(0.99988, 16350.1819479)
(1.0, 8367.611988)
};
\addlegendentry{ sift-128-euclidean (k = 10) };
\end{axis}
\end{tikzpicture}
\caption{ Epsilon 0.01 Recall-Queries per second (1/s) tradeoff - up and to the right is better }
\label{}
\end{figure}
Scatterplots for faiss-gpu-batch in batch mode
Recall/Queries per second (1/s)
\begin{figure}
\centering
\begin{tikzpicture}
\begin{axis}[
xlabel={ Recall },
ylabel={ Queries per second (1/s) },
ymode = log,
yticklabel style={/pgf/number format/fixed,
/pgf/number format/precision=3},
legend style = { anchor=west},
cycle list name = black white
]
\addplot [only marks] coordinates {
(0.28338, 1477752.1756)
(0.24525, 1230470.26726)
(0.22129, 1071697.8818)
(0.37301, 832698.828668)
(0.70343, 655646.845495)
(0.65329, 615415.676263)
(0.76362, 464856.142217)
(0.4481, 428874.210107)
(0.87695, 358794.183062)
(0.91279, 246504.810433)
(0.9574, 173090.897086)
(0.87371, 156406.418389)
(0.94506, 143344.531669)
(0.97605, 111871.674299)
(0.98584, 101380.747272)
(0.93436, 65563.0447559)
(0.98882, 61130.3188195)
(0.99363, 59330.6617139)
(0.98683, 39673.1036988)
(0.99816, 31690.2109732)
(0.99891, 16350.1819479)
(0.99728, 15841.8139186)
(0.99993, 8367.611988)
(1.0, 6418.14799507)
(1.0, 3349.62583781)
};
\addlegendentry{ sift-128-euclidean (k = 10) };
\end{axis}
\end{tikzpicture}
\caption{ Recall-Queries per second (1/s) tradeoff - up and to the right is better }
\label{}
\end{figure}
Recall/Index size (kB)/Queries per second (s)
\begin{figure}
\centering
\begin{tikzpicture}
\begin{axis}[
xlabel={ Recall },
ylabel={ Index size (kB)/Queries per second (s) },
ymode = log,
yticklabel style={/pgf/number format/fixed,
/pgf/number format/precision=3},
legend style = { anchor=west},
cycle list name = black white
]
\addplot [only marks] coordinates {
(0.28338, 0.186718723583)
(0.24525, 0.21304375)
(0.22129, 0.24460625)
(0.37301, 0.3148125)
(0.70343, 0.399825)
(0.65329, 0.4259625)
(0.76362, 0.563925)
(0.4481, 0.6112375)
(0.87695, 0.768016910553)
(0.91279, 1.06344375)
(0.9574, 1.53047909775)
(0.87371, 1.67604375)
(0.97605, 2.34325625)
(0.98584, 2.6279545887)
(0.93436, 3.99835)
(0.94506, 4.10518624706)
(0.98882, 4.28828125)
(0.99363, 4.60578041954)
(0.98683, 6.6076)
(0.99816, 8.27208125)
(0.99891, 16.03309375)
(0.99728, 16.5476)
(0.99993, 31.3284125)
(1.0, 40.84418125)
(1.0, 78.26068125)
};
\addlegendentry{ sift-128-euclidean (k = 10) };
\end{axis}
\end{tikzpicture}
\caption{ Recall-Index size (kB)/Queries per second (s) tradeoff - down and to the right is better }
\label{}
\end{figure}
Recall/Build time (s)
\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},
cycle list name = black white
]
\addplot [only marks] coordinates {
(0.4481, 0.816184997559)
(1.0, 0.817345142365)
(0.99728, 0.845937013626)
(0.93436, 0.855031967163)
(1.0, 0.870424985886)
(0.98683, 1.25034093857)
(0.99993, 1.25458598137)
(0.99891, 1.25737094879)
(0.37301, 1.28150415421)
(0.87371, 1.32337403297)
(0.99816, 3.94681096077)
(0.76362, 3.96837687492)
(0.98882, 3.98454189301)
(0.28338, 4.0019698143)
(0.94506, 4.44174790382)
(0.97605, 6.88540101051)
(0.24525, 6.91605401039)
(0.70343, 6.92034006119)
(0.99363, 6.96019387245)
(0.91279, 7.04107093811)
(0.22129, 13.1347999573)
(0.9574, 13.2619390488)
(0.65329, 13.3174798489)
(0.98584, 13.3847780228)
(0.87695, 13.4086098671)
};
\addlegendentry{ sift-128-euclidean (k = 10) };
\end{axis}
\end{tikzpicture}
\caption{ Recall-Build time (s) tradeoff - down and to the right is better }
\label{}
\end{figure}
Recall/Index size (kB)
\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},
cycle list name = black white
]
\addplot [only marks] coordinates {
(0.24525, 262144)
(0.37301, 262144)
(0.99891, 262144)
(0.76362, 262144)
(0.98882, 262144)
(0.99816, 262144)
(0.99728, 262144)
(0.97605, 262144)
(0.87371, 262144)
(1.0, 262144)
(0.65329, 262144)
(0.22129, 262144)
(0.98683, 262144)
(0.4481, 262144)
(0.70343, 262144)
(0.99993, 262144)
(1.0, 262144)
(0.91279, 262144)
(0.93436, 262144)
(0.9574, 264912)
(0.98584, 266424)
(0.99363, 273264)
(0.87695, 275560)
(0.28338, 275924)
(0.94506, 588456)
};
\addlegendentry{ sift-128-euclidean (k = 10) };
\end{axis}
\end{tikzpicture}
\caption{ Recall-Index size (kB) tradeoff - down and to the right is better }
\label{}
\end{figure}
Epsilon 0.01 Recall/Queries per second (1/s)
\begin{figure}
\centering
\begin{tikzpicture}
\begin{axis}[
xlabel={ Epsilon 0.01 Recall },
ylabel={ Queries per second (1/s) },
ymode = log,
yticklabel style={/pgf/number format/fixed,
/pgf/number format/precision=3},
legend style = { anchor=west},
cycle list name = black white
]
\addplot [only marks] coordinates {
(0.33386, 1477752.1756)
(0.28693, 1230470.26726)
(0.25708, 1071697.8818)
(0.43899, 832698.828668)
(0.80709, 655646.845495)
(0.75586, 615415.676263)
(0.86295, 464856.142217)
(0.52807, 428874.210107)
(0.95459, 358794.183062)
(0.97357, 246504.810433)
(0.9922, 173090.897086)
(0.94894, 156406.418389)
(0.98765, 143344.531669)
(0.9965, 111871.674299)
(0.9985, 101380.747272)
(0.98053, 65563.0447559)
(0.99872, 61130.3188195)
(0.99946, 59330.6617139)
(0.99856, 39673.1036988)
(0.99987, 31690.2109732)
(0.99988, 16350.1819479)
(0.99982, 15841.8139186)
(1.0, 8367.611988)
(1.0, 6418.14799507)
(1.0, 3349.62583781)
};
\addlegendentry{ sift-128-euclidean (k = 10) };
\end{axis}
\end{tikzpicture}
\caption{ Epsilon 0.01 Recall-Queries per second (1/s) tradeoff - up and to the right is better }
\label{}
\end{figure}