Recent Posts
Archives

Posts Tagged ‘Intuit’

PostHeaderIcon [AWSReInvent2025] SageMaker and MLflow: Orchestrating High-Velocity AI Innovation

Lecturer

Prashanthi (Prash) is a Senior Product Manager at Amazon Web Services (AWS), where she leads initiatives focused on machine learning operations (MLOps) and developer experience. Her work centers on streamlining the machine learning lifecycle by integrating open-source frameworks with cloud-native scalability. By bridging the gap between data science research and production-grade engineering, Prashanthi enables organizations to move from experimentation to deployment with minimal friction.

Abstract

As the proliferation of generative AI models and intelligent agents continues, the complexity of managing the machine learning (ML) lifecycle has reached a critical inflection point. This article examines the integration of Amazon SageMaker with MLflow, focusing on the elimination of infrastructure management in experiment tracking and model evaluation. Through a detailed analysis of Intuit’s implementation, it explores how serverless architectures for MLflow tracking servers allow data scientists to focus on model performance rather than cluster provisioning. The discussion encompasses the technical methodology of unified observability across traditional ML and generative AI applications, highlighting the strategic advantages of integrated security and automatic scaling within the AWS ecosystem.

Infrastructure-Free Experiment Tracking

The traditional burden on data science teams involves not only the creation of algorithms but also the maintenance of the underlying infrastructure required to track those algorithms. Historically, managing an MLflow tracking server required manual provisioning of compute instances, database backends for metadata storage, and persistent storage for artifacts. Prash explains that the introduction of managed MLflow on SageMaker represents a paradigm shift toward “job-to-be-done” centricity.

By utilizing a serverless deployment model, the infrastructure becomes invisible to the end-user. Data scientists no longer need to determine the optimal instance size or worry about upgrading versions. This architectural simplification ensures that the environment is always ready for ingestion, scaling automatically based on the volume of experiments being logged.

Unified Observability in the Generative AI Era

The transition from classical machine learning to generative AI has introduced new requirements for evaluation. Unlike standard classification metrics, generative AI necessitates the tracking of prompts, response latencies, and qualitative model outputs. The SageMaker and MLflow integration provides a singular control plane for these diverse workloads.

A key innovation discussed is the default integration with SageMaker Pipelines. This allows for the automatic logging of training runs, including hyperparameters and output metrics, without requiring extensive code changes. For organizations like Intuit, this level of observability is vital for maintaining auditability and reproducibility across a portfolio that includes both fine-tuned foundation models and traditional regression systems.

import mlflow
import sagemaker

'''# Example of logging a training run to a managed MLflow server'''
mlflow.set_tracking_uri("sagemaker-mlflow-server-arn")
with mlflow.start_run(run_name="Nova-Fine-Tuning"):
    '''# Log hyperparameters'''
    mlflow.log_param("learning_rate", 0.0001)
    mlflow.log_param("epochs", 5)

    '''# After training, log the model artifact'''
    mlflow.log_artifact("model_output/", artifact_path="models")
    print("Experiment metrics and artifacts successfully logged.")

Security, Scaling, and Enterprise Integration

A primary deterrent for large enterprises when adopting open-source tools is the complexity of aligning them with corporate security standards. The integrated SageMaker MLflow environment is built natively on AWS infrastructure, meaning it inherits the robust security posture of the platform. Access control is managed via AWS Identity and Access Management (IAM), and data remains encrypted within the customer’s Virtual Private Cloud (VPC) boundaries.

Prash emphasizes that this integration is not merely about convenience but about “profitable growth”. By removing the need for dedicated DevOps resources to manage tracking servers, organizations can redirect human capital toward higher-value tasks like model optimization and prompt engineering. The seamless connectivity with SageMaker Studio ensures that whether a data scientist is working in a JupyterLab environment or via a CLI, the tracking experience remains consistent and high-performing.

Links:

Elastic Intelligence: Advancing AI Training Resilience with SageMaker HyperPod

Lecturer

Anirudh Koul is a prominent AI researcher and Lead Architect at AWS, known for his work in high-performance computing and accessibility. Author of “Practical Deep Learning for Cloud, Mobile, and Edge,” Anirudh has a distinguished history of building AI systems at scale. He is joined by Tony Giordano, a Senior Solutions Architect at AWS specializing in generative AI infrastructure, who focuses on optimizing cluster utilization for massive-scale model training.

Abstract

Training foundation models with billions of parameters requires thousands of accelerators working in perfect synchronization, making infrastructure faults a statistical certainty rather than a possibility. This article details two breakthrough launches on Amazon SageMaker HyperPod: Checkpointless Training and Elastic Training. It analyzes the technical shift from disk-based recovery to peer-to-peer state transfer, which reduces recovery times from hours to minutes. Furthermore, it explores the methodology of elastic scaling, which allows training jobs to dynamically expand or contract based on cluster availability. Together, these innovations maximize “goodput” and ensure that training momentum is maintained despite hardware failures or shifting resource priorities.

The Goodput Crisis and Checkpointless Recovery

In large-scale distributed training, “goodput”—the ratio of useful training time to total wall-clock time—is often degraded by frequent hardware interruptions. Traditionally, when a node fails, the entire cluster must stop, roll back to the last saved checkpoint on disk (often S3 or a parallel file system), and restart. Anirudh explains that this process can take up to an hour for large models, leading to significant wasted compute.

“Checkpointless Training” introduces a paradigm shift by utilizing peer-to-peer state transfer. When a failure is detected, the system does not revert to a distant disk-saved state. Instead, the surviving nodes collaborate to reconstruct the lost state and transmit it to a replacement node in memory. This methodology reduces the recovery window to a few minutes, achieving goodput numbers upwards of 95% even on clusters comprising thousands of accelerators.

Elastic Training: Dynamic Resource Orchestration

While traditional training jobs require a static allocation of resources, “Elastic Training” allows jobs to be fluid. Tony describes this process as “playing Tetris with cluster capacity”. In a shared enterprise environment, high-priority jobs may suddenly require more capacity. Elastic Training allows lower-priority jobs to gracefully contract, releasing nodes without failing the job. Conversely, when idle capacity becomes available, the job can dynamically expand to utilize the extra accelerators.

 // Conceptual command for starting an elastic training job on HyperPod
aws sagemaker create-training-job \
    --training-job-name "Elastic-Nova-Training" \
    --hyper-pod-config {
        "ElasticPolicy": "Enabled",
        "MinNodes": 32,
        "MaxNodes": 128
    }

This elasticity ensures that the cluster remains at peak utilization. By allowing jobs to scale up and down without manual intervention, organizations can accelerate their time-to-market while simultaneously lowering the total cost of ownership for their AI infrastructure.

Implications for Foundation Model Development

The synergy between elastic scaling and checkpointless resilience allows for a “continuous training” model. This is particularly relevant for the development of next-generation models where training runs can last for months. The ability to survive a node failure without losing significant progress is the difference between meeting a launch deadline and suffering a catastrophic delay.

Anirudh and Tony conclude that these features democratize high-performance computing. Small and medium-sized teams can now run large-scale jobs with the same level of resilience as global tech giants, as the complexity of fault-tolerance is now managed by the SageMaker HyperPod orchestration layer rather than the application code.

Links:

Hashtags: #AWS #SageMaker #HyperPod #GenerativeAI #DistributedTraining #AIInfrastructure #DeepLearning #Checkpointless #ElasticTraining #AnirudhKoul

The Multi-Channel Agentic Frontier: Transforming Customer Experience with Twilio and AWS

Lecturer

Dan Jenkins and Cameron Smith are technical leaders at Twilio, focusing on the intersection of programmable communications and artificial intelligence. They are joined by Brandon Buck, a Solutions Architect at AWS, who specializes in helping partners build scalable AI-driven applications. Together, they bring decades of experience in architecting high-availability communication systems that bridge the gap between human interaction and automated logic.

Abstract

Poor customer experiences are estimated to cost global businesses trillions of dollars annually, largely due to fragmented communication silos and rigid, outdated IVR systems. This article explores the architecture of multi-channel agentic experiences built using Twilio’s ConversationRelay and Amazon Bedrock. It details the methodology for creating autonomous virtual agents capable of handling real-time voice, messaging, and email interactions with human-like reasoning. By examining reference architectures that integrate generative AI into the communication path, the article illustrates how businesses can move beyond simple chatbots toward intelligent, proactive agents that enhance both customer satisfaction and operational efficiency.

Architecting Real-Time AI Conversations

The primary challenge in voice-based AI is latency. A customer expects a near-instant response, and traditional “turn-based” APIs often create awkward silences. Dan and Cameron introduce Twilio’s ConversationRelay as a solution that provides a low-latency, full-duplex bridge between Twilio’s voice network and Amazon Bedrock.

This architecture allows the AI agent to listen and respond in real-time. By streaming audio directly to a model hosted on Bedrock, the system can perform sentiment analysis, intent recognition, and response generation simultaneously. This creates a natural conversational flow where the agent can handle interruptions and nuance, which was previously impossible with standard contact center technology.

Multi-Channel Orchestration and Agentic Guardrails

A truly “agentic” experience is one where the AI can take action across different channels. Brandon explains that using Amazon Bedrock Agents allows the system to interact with enterprise backends—such as CRM systems or order databases—to resolve issues autonomously. For instance, an agent could receive a voice call about a missing package, check the shipping status in the database, and then send a follow-up SMS with a tracking link and a discount code for the inconvenience.

// Example of an Agent Action Group schema for a Twilio-integrated agent
{
  "actionGroupName": "OrderSupport",
  "description": "Actions to check and update customer orders",
  "operations": [
    {
      "operationId": "get_order_status",
      "parameters": [
        {"name": "orderId", "type": "string", "required": true}
      ]
    }
  ]
}

The methodology emphasizes the use of “guardrails” to ensure the AI remains within its defined scope. By implementing Amazon Bedrock Guardrails, developers can prevent the agent from discussing sensitive topics, ensuring compliance with corporate policies and regulatory requirements across all communication channels.

The Future of the Human-in-the-Loop

While autonomous agents can handle routine inquiries, complex or emotionally charged situations still require a human touch. The “better together” approach of Twilio and AWS focuses on “Augmented Intelligence”. In this scenario, the AI agent acts as a co-pilot for the human representative, providing real-time transcriptions, suggested responses, and relevant knowledge base articles.

Dan concludes that the goal is not to replace humans, but to eliminate the “drudgery” of routine data collection. This shift allows human agents to focus on high-empathy interactions, while the agentic AI handles the scale. The results seen by early adopters indicate significant improvements in customer resolution times and overall service quality.

Links:

Hashtags: #Twilio #AWS #AmazonBedrock #CustomerExperience #AI #AgenticAI #VoiceAI #ContactCenter #DigitalTransformation #DanJenkins #BrandonBuck