Compression for quadratic similarity queries via shape-gain quantizers | IEEE Conference Publication | IEEE Xplore