Stacked quantizers for compositional vector compression