Generalization-based approach to plastic vector quantization