Monitor embedding drift for LLMs deployed from Amazon SageMaker JumpStart
Machine Learning Blog
This article discusses monitoring embedding drift for large language models (LLMs) deployed from Amazon SageMaker JumpStart. It explains the importance of detecting drift in embedding vectors, which represent text data numerically, as the data and inputs change over time.
Specifically, the article covers:
- Overview of the Retrieval Augmented Generation (RAG) pattern for generative AI
- Analysis techniques for embedding vectors, including clustering and dimension reduction
- Detecting embedding drift by comparing clustering metrics over time
- Evaluating reference data coverage for incoming prompts based on embedding distances
- A sample application implementing the RAG pattern with drift analysis
- Instructions for deploying and using the sample application
- Cleaning up deployed resources
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
Related articles
Feb 1
2024
2024
Preprocess and fine-tune LLMs quickly and cost-effectively using Amazon EMR Serverless and Amazon SageMaker
Jan 29
2024
2024
Benchmark and optimize endpoint deployment in Amazon SageMaker JumpStart
Jan 17
2024
2024
Fine-tune and deploy Llama 2 models cost-effectively in Amazon SageMaker JumpStart with AWS Inferentia and AWS Trainium
Feb 5
2024
2024
Announcing support for Llama 2 and Mistral models and streaming responses in Amazon SageMaker Canvas
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.