AWS Managed AI Services
Introduction
AWS provides a comprehensive suite of pre-built, fully managed AI/ML services that enable developers to add intelligence to applications without requiring deep ML expertise. These services cover natural language processing, computer vision, speech, personalization, and document analysis—all accessible via simple API calls with pay-per-use pricing.
Amazon Comprehend
Amazon Comprehend is a natural language processing (NLP) service that uses machine learning to extract insights from text. It can identify the language, extract key phrases, entities (people, places, organizations), determine sentiment (positive, negative, neutral, mixed), and classify documents into custom categories.
Key Use Cases: Customer feedback analysis, content categorization, compliance document scanning, social media monitoring.
Key Feature: Comprehend Medical is a specialized version that extracts medical information (conditions, medications, dosages) from clinical text.
Amazon Translate
Amazon Translate is a neural machine translation service that provides fast, high-quality, and affordable language translation. It supports 75+ languages and automatically detects the source language.
Key Use Cases: Translating user-generated content, localizing applications, enabling multilingual communication, translating large volumes of documents.
Key Feature: Custom Terminology lets you define specific translations for brand names or industry terms that should not be translated generically.
Amazon Transcribe
Amazon Transcribe is an automatic speech recognition (ASR) service that converts speech to text. It supports real-time and batch transcription with features like speaker identification, custom vocabularies, and automatic punctuation.
Key Use Cases: Meeting transcription, call center analytics, subtitle generation, medical dictation (Transcribe Medical).
Key Features: Speaker diarization (identifying who said what), custom vocabulary for domain-specific terms, content redaction for PII.
Amazon Polly
Amazon Polly is a text-to-speech service that converts text into lifelike speech using deep learning. It supports multiple languages and offers both standard and neural (more natural-sounding) voices.
Key Use Cases: Voice-enabled applications, audiobook generation, announcement systems, accessibility tools.
Key Features: SSML (Speech Synthesis Markup Language) support for controlling pronunciation, emphasis, and pauses. Neural TTS for more human-like speech.
Amazon Rekognition
Amazon Rekognition is a computer vision service that can analyze images and videos to detect objects, scenes, faces, text, celebrities, and inappropriate content. It can also perform facial comparison and search.
Key Use Cases: Content moderation, identity verification, people counting, celebrity recognition, PPE detection, label detection.
Key Features: Custom Labels allows training custom models to detect domain-specific objects (e.g., specific product defects on a manufacturing line).
Amazon Lex
Amazon Lex is a service for building conversational interfaces (chatbots and voice bots) using the same technology that powers Amazon Alexa. It provides automatic speech recognition (ASR) and natural language understanding (NLU).
Key Use Cases: Customer service chatbots, IVR systems, virtual assistants, order status bots.
Key Features: Multi-turn conversations, slot filling, integration with AWS Lambda for fulfillment, deployment across multiple channels (web, mobile, messaging platforms).
Amazon Personalize
Amazon Personalize is a machine learning service that enables developers to create real-time personalized recommendations—the same technology used by Amazon.com. No ML expertise required.
Key Use Cases: Product recommendations, personalized search results, customized marketing emails, content curation.
Key Features: Real-time personalization, user segmentation, automatic retraining, support for multiple recommendation types (user personalization, similar items, personalized ranking).
Amazon Textract
Amazon Textract is a document analysis service that goes beyond simple OCR. It automatically extracts text, handwriting, tables, and form data from scanned documents while maintaining the structure and relationships between data.
Key Use Cases: Invoice processing, form extraction, ID document verification, mortgage processing, medical records digitization.
Key Features: Forms extraction (key-value pairs), table extraction, query-based extraction (ask specific questions about a document).
Amazon Kendra
Amazon Kendra is an intelligent enterprise search service powered by machine learning. Unlike keyword-based search, it understands natural language queries and returns precise answers extracted from documents.
Key Use Cases: Internal knowledge bases, IT help desks, customer support portals, research document search.
Key Features: FAQ matching, document ranking, incremental learning from user feedback, connectors for 40+ data sources (S3, SharePoint, Salesforce, databases).
Amazon Augmented AI (A2I)
Amazon Augmented AI (A2I) enables human review workflows for ML predictions. When a model's confidence is below a threshold, the prediction is routed to human reviewers for verification.
Key Use Cases: Content moderation review, document processing verification, medical image analysis validation, any ML prediction requiring human oversight.
Key Features: Integration with Amazon Textract and Rekognition, custom ML model support, built-in reviewer workforce (Amazon Mechanical Turk, private teams, or third-party vendors).
AWS HealthScribe
AWS HealthScribe is an AI-powered service that automatically generates clinical documentation from patient-clinician conversations. It uses speech recognition and generative AI to create structured clinical notes.
Key Use Cases: Automating medical note-taking, reducing physician documentation burden, creating structured clinical summaries.
Key Features: Speaker identification (doctor vs. patient), medical terminology recognition, structured output (chief complaint, history, assessment, plan), integration with EHR systems.
Amazon's Hardware for AI
AWS offers purpose-built chips optimized for AI/ML workloads:
| Hardware | Purpose | Key Benefit |
|---|---|---|
| AWS Trainium | Training ML models | Up to 50% cost savings vs. GPU-based training |
| AWS Inferentia | Running inference (predictions) | Lowest cost per inference in the cloud |
| NVIDIA GPUs (P4d, P5 instances) | General ML training & inference | Highest performance for complex models |
| AWS Graviton | General compute with ML capabilities | Best price-performance for general workloads |
Key Exam Points: - Trainium → Training models (SageMaker integration) - Inferentia → Running inference at scale (cost-optimized) - Use EC2 instances with these chips (Trn1 for Trainium, Inf2 for Inferentia)