Explain how you would design a custom memory-efficient data structure to store and query sparse word embedding vectors.