AI Cloud Architect

Build a serverless PII redaction pipeline with Amazon Bedrock Data Automation

AWSHow-to by Samantha Stuart and Linda WangAWS Artificial Intelligence Blog

Learn how to automate end-to-end PII detection and redaction from scanned documents at scale using Amazon Bedrock Data Automation with a custom blueprint, AWS Step Functions, and AWS Lambda. A custom blueprint redacts sensitive fields with field-level precision, and a token matching quality check raises recall across degraded and handwritten documents.

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

AI: Summary

What it is

Bedrock Data Automation with a custom blueprint detects PII fields on scanned pages, and token matching on its standard output raises redaction recall from 89.3% to 95.2% in the authors' test.

Who it is for

Teams redacting PII from scanned forms such as medical or insurance documents who want a serverless batch pipeline on AWS.

Key points

  • AWS reports 97.0% precision and 95.2% recall on 12 documents (47 pages) against human-redacted ground truth.
  • Pipeline is sized for about 25,000 pages nightly and depends on the InvokeDataAutomationAsync service quota.
  • Redaction overwrites pixels with black boxes, so covered content is not kept in the output file.

The same at other vendors

Timeline

Posts about Amazon Bedrock Data Automation, oldest first.

  1. New featureAmazon Bedrock Data Automation launches instruction optimization for your document blueprints · AWS · Announcement
  2. How-toProgrammatically creating an IDP solution with Amazon Bedrock Data Automation · AWS · How-to
  3. New featureAmazon Bedrock Data Automation now supports custom vocabulary · AWS · Announcement
  4. How-toProcess financial documents using Amazon Bedrock Data Automation · AWS · How-to
  5. How-toAutomate medical record digitization with Amazon Bedrock Data Automation and AWS HealthLake · AWS · How-to
  6. How-toOptimize blueprint extraction accuracy in Amazon Bedrock Data Automation · AWS · How-to
  7. How-toFrom PDFs to insights: Architecting an intelligent document processing pipeline with AWS generative AI services · AWS · How-to
  8. How-toBuild an agentic AI healthcare claims pipeline with Amazon Bedrock and AWS HealthLake · AWS · How-to
  9. This postBuild a serverless PII redaction pipeline with Amazon Bedrock Data Automation
Show all 15 posts
  1. Blog postEnhance video understanding with Amazon Bedrock Data Automation and open-set object detection · AWS · Blog post
  2. How-toAccelerate benefits claims processing with Amazon Bedrock Data Automation · AWS · How-to
  3. New featureAmazon Bedrock Data Automation now provides support for enhancing transcriptions · AWS · Announcement
  4. Update to an existing featureAmazon Bedrock Data Automation supports additional formats for video and faster processing for images · AWS · Announcement
  5. Update to an existing featureAmazon Bedrock Data Automation supports 10 additional languages for speech analytics · AWS · Announcement
  6. New featureAmazon Bedrock Data Automation now supports synchronous image processing · AWS · Announcement
  7. New featureAmazon Bedrock Data Automation launches instruction optimization for your document blueprints · AWS · Announcement
  8. How-toProgrammatically creating an IDP solution with Amazon Bedrock Data Automation · AWS · How-to
  9. New featureAmazon Bedrock Data Automation now supports custom vocabulary · AWS · Announcement
  10. How-toProcess financial documents using Amazon Bedrock Data Automation · AWS · How-to
  11. How-toAutomate medical record digitization with Amazon Bedrock Data Automation and AWS HealthLake · AWS · How-to
  12. How-toOptimize blueprint extraction accuracy in Amazon Bedrock Data Automation · AWS · How-to
  13. How-toFrom PDFs to insights: Architecting an intelligent document processing pipeline with AWS generative AI services · AWS · How-to
  14. How-toBuild an agentic AI healthcare claims pipeline with Amazon Bedrock and AWS HealthLake · AWS · How-to
  15. This postBuild a serverless PII redaction pipeline with Amazon Bedrock Data Automation