Download paper/figs/quality_vs_time.tex from Nabidnur/PISCES: direct link, hf CLI and curl.
- Browser
- Download file 3.08 kB
-
https://huggingface.co/Nabidnur/PISCES/resolve/main/paper/figs/quality_vs_time.tex
- Command line
-
hf download hf://Nabidnur/PISCES/paper/figs/quality_vs_time.tex
-
curl -L -o quality_vs_time.tex https://huggingface.co/Nabidnur/PISCES/resolve/main/paper/figs/quality_vs_time.tex
3.08 kB
| % Quality vs wall-clock on DEEP* 1M test rows (mean +- sd over the report seeds; markers = 1, 3, 5 epochs). | |
| \begin{tikzpicture} | |
| \begin{axis}[width=12cm, height=6.6cm, xlabel={wall-clock seconds (4 CPU threads)}, ylabel={test MSE}, | |
| grid=major, grid style={pgrey!25}, legend cell align=left, | |
| legend style={font=\scriptsize, draw=pgrey!40, fill=white, fill opacity=0.9, text opacity=1, at={(0.98,0.98)}, anchor=north east}, | |
| tick label style={font=\scriptsize}, label style={font=\small}, xmin=0, xmax=300, ymin=0.3850, ymax=0.3945, | |
| yticklabel style={/pgf/number format/fixed, /pgf/number format/precision=3}, scaled y ticks=false, | |
| nodes near coords style={font=\scriptsize}] | |
| \addplot[pnavy, thick, mark=*, error bars/.cd, y dir=both, y explicit] table[x=seconds, y=mse, y error=sd] {data/qvt_official.dat}; | |
| \addlegendentry{e-means (official faiss 1.16)} | |
| \addplot[pmid, only marks, mark=square*, mark size=2.4pt, error bars/.cd, y dir=both, y explicit] table[x=seconds, y=mse, y error=sd] {data/qvt_pisces_v10.dat}; | |
| \addlegendentry{\PISCES{} v1.0 (3 epochs)} | |
| \addplot[pteal, very thick, mark=triangle*, mark size=3pt, error bars/.cd, y dir=both, y explicit] table[x=seconds, y=mse, y error=sd] {data/qvt_pisces.dat}; | |
| \addlegendentry{\PISCES{} (final)} | |
| \addplot[pred, dashed, domain=0:300, samples=2] {0.38921}; \addlegendentry{Lloyd, 25 it. (paper, CPU median)} | |
| % epoch labels | |
| \addplot[only marks, mark=none, nodes near coords={\pgfmathprintnumber{\pgfplotspointmeta}\,ep.}, point meta=explicit symbolic, | |
| every node near coord/.append style={anchor=south west, text=pnavy, xshift=2pt}, forget plot] table[x=seconds, y=mse, meta=epochs] {data/qvt_official.dat}; | |
| \addplot[only marks, mark=none, nodes near coords={\pgfmathprintnumber{\pgfplotspointmeta}\,ep.}, point meta=explicit symbolic, | |
| every node near coord/.append style={anchor=east, text=pteal, xshift=-5pt}, | |
| restrict expr to domain={\thisrow{epochs}}{3:3}, forget plot] table[x=seconds, y=mse, meta=epochs] {data/qvt_pisces.dat}; | |
| \addplot[only marks, mark=none, nodes near coords={\pgfmathprintnumber{\pgfplotspointmeta}\,ep.}, point meta=explicit symbolic, | |
| every node near coord/.append style={anchor=west, text=pteal, xshift=5pt}, | |
| restrict expr to domain={\thisrow{epochs}}{4:5}, forget plot] table[x=seconds, y=mse, meta=epochs] {data/qvt_pisces.dat}; | |
| \addplot[only marks, mark=none, nodes near coords={\pgfmathprintnumber{\pgfplotspointmeta}\,ep.}, point meta=explicit symbolic, | |
| every node near coord/.append style={anchor=west, text=pteal, xshift=5pt}, | |
| restrict expr to domain={\thisrow{epochs}}{1:1}, forget plot] table[x=seconds, y=mse, meta=epochs] {data/qvt_pisces.dat}; | |
| % the headline comparison: PISCES at 3 epochs vs e-means at 5 epochs | |
| \draw[pteal, thick, -{Stealth[length=2.6mm]}] (axis cs:218,0.38690) -- (axis cs:44,0.38672); | |
| \node[font=\scriptsize, text=pteal!80!black, align=center, anchor=north] at (axis cs:165,0.38668) | |
| {\PISCES{} 3 ep.\ beats e-means 5 ep.\\on \getv{wPThreeVsFive}/\getv{nPThreeVsFive} seeds in $\getv{tPThreeVsFive}\times$ the time}; | |
| \end{axis} | |
| \end{tikzpicture} | |