AI Cloud Architect

How Harmonic Security improved their data-leakage detection system with low-latency fine-tuned models using Amazon SageMaker, Amazon Bedrock, and Amazon Nova Pro

AWSHow-to by Babs Khalidson, Christelle Xu, Manuel Gomez, Nuno Castro, Vushesh Babu Adhikari, Zainab Afolabi, Bryan Woolgar-O'Neil, Jamie Cockrill and Adrian CunliffeAWS Artificial Intelligence Blog

This post walks through how Harmonic Security used Amazon SageMaker AI, Amazon Bedrock, and Amazon Nova Pro to fine-tune a ModernBERT model, achieving low-latency, accurate, and scalable data leakage detection.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Harmonic Security fine-tuned ModernBERT models on SageMaker to detect M&A content and sensitive data in prompts, cutting detection latency from 1-2 seconds to under 500 ms.

Who it is for

Security teams running GenAI data-leakage detection on SageMaker that need low-latency, EU-resident inference.

Key points

  • Binary M&A model median latency 46 ms versus 189 ms for the 8B baseline, per the post.
  • Multi-label model showed latency gains but accuracy declines on billing and sales pipeline classes.
  • Endpoint uses ml.g5.4xlarge instances, auto scaling 1-5 at 830 RPM per instance, and supports EU regions.