ML Model and Foundation Model (FM) Development
A RAG application stores 1,024-dimension vectors from Amazon Titan Text Embeddings V2. Vector storage and memory costs are too high, and tests show a small recall loss is acceptable. Which change BEST cuts the index size?
Show the answer
Correct answerA. Re-embed the documents at 256 dimensions and rebuild the index
AWhy this is right: Fewer dimensions per vector shrink the index directly, with a small and measurable loss in recall.
BWhy not this: Smaller chunks produce more vectors, which makes the index larger, not smaller.
CWhy not this: Returning more neighbors changes retrieval depth but leaves the stored vectors the same size.
DWhy not this: Higher-dimension vectors take more storage and memory, the opposite of the goal.
Titan Text Embeddings V2 can output 256, 512 or 1,024 dimensions, and smaller vectors cut storage and memory roughly in proportion at a modest recall cost. The documents must be re-embedded at the new size so that query and document vectors still match.