Faiss: Question on Optimized Product Quantization?

Created on 7 Apr 2018  ·  11Comments  ·  Source: facebookresearch/faiss

A quick question.

I am wondering whether the method proposed in “Optimized product quantization” by T. Ge et al. (CVPR 2013) is implemented in FAISS or not.

Thanks,
Matt

question

Most helpful comment

@yupbank For now there are no plans for adding LOPQ/LOH in FAISS, I don't really have the time for this, sorry.

In practice I remember I ended up using the parametric version almost everywhere for LOPQ, for efficiency (as the optimization happens locally at each coarse bin and therefore needs to be computed multiple times).

All 11 comments

Dear @mdouze

That's exactly what I am looking for!

Many thanks,
Matt

The OPQ is implementing non parametric version or parametric version ?

@yupbank Yes, it is the non parametric version.

So is there a way to call this optimized product quantization (like the way to use faiss.ProductQuantizer() function)?

Thanks,
Matt

i think somewhere in the LOPQ paper was mentioning non parametric doesn't scale well? what do you think of add a eigenvalue allocation version?

@mdouze

Hi
The eigenvalue allocation is implemented in PCAMatrix, train with PCAMatrix::balanced_bins set to true. We have not tested it thoroughly though.

nice, but since @skamalas also works for facebook now, does it make sense to help out here? i think he also do a lot of PQ, maybe add LOPQ and the latest Locally Optimized Hashing here?

So is there a way to call this optimized product quantization (like the way to use faiss.ProductQuantizer() function)?

Thanks,
Matt

@yupbank For now there are no plans for adding LOPQ/LOH in FAISS, I don't really have the time for this, sorry.

In practice I remember I ended up using the parametric version almost everywhere for LOPQ, for efficiency (as the optimization happens locally at each coarse bin and therefore needs to be computed multiple times).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wwmmqq picture wwmmqq  ·  3Comments

zoe-cheung picture zoe-cheung  ·  3Comments

mylyu picture mylyu  ·  3Comments

hipitt picture hipitt  ·  3Comments

lukedeo picture lukedeo  ·  3Comments