A failed production data job can leave dashboards stale while engineers inspect logs, schemas, and source data. Benzon says the costly work is diagnosing the cause, choosing a safe response, restarting the job, and validating the data. The capstone modeled manual recovery at about 2.5 business days, with automation aimed at routine cases and escalation for uncertain or high-risk ones.
Using RL Agent to Detect and Remediate ETL Pipeline Failures
Speaker
Anna Marie Benzon presents an RL-guided system for detecting and remediating ETL pipeline failures, using an AWS capstone architecture and synthetic benchmark data.
An AWS Glue failure event is captured by EventBridge, which triggers a Lambda function to gather CloudWatch logs and Glue Data Catalog schema metadata. The system assesses the incident, then proposes an action; a separate safety layer checks it before an executor can restart a job or apply an approved correction. S3 stores agent state, audit logs, and quarantined outputs, and the rerun is validated.
Deterministic analyzers identify observable conditions such as missing fields, type changes, and high null rates. A tabular Q-learning policy selects among six actions, including retry, rollback, quarantine, escalation, and logging. The policy only proposes an action: safety overrides can force escalation, and the audit log records proposals, overrides, execution results, and verification.
The public benchmark uses newly generated synthetic schemas, logs, notebooks, and incident scenarios, while the capstone implementation used synthetic customer-provided data. Across 30 runs, the simulated success rate was 74.63% ± 1.51%, and the non-escalation rate was 88.63% ± 0.89%; successful recoveries took as little as about 5.24 minutes. Benzon notes that these results are from synthetic scenarios, some actions are simulated or constrained, and production validation remains to be done.
In the benchmark, the learned policy matched an equivalent deterministic policy in success rate, with a reported difference of zero percentage points within a 0.19-point confidence interval. Benzon attributes reliability mainly to structured state, deterministic logic, and external safety constraints, rather than to reinforcement learning alone. She proposes shadow-mode evaluation on representative incident traces before granting execution authority, with approval procedures, policy rollback, and monitoring for any future online learning.
Takeaways
- Use deterministic checks for facts that can be measured directly.
- Apply learning only when context changes which bounded action is useful.
- Keep safety constraints outside the learned policy and record every decision and outcome.
- Treat escalation and post-action verification as core outcomes.
- Compare repeated runs with simple baselines, then shadow-test on representative incidents before production execution.
Mentioned in this talk
Search inside this talk
What was claimed 12
- metricsynthetic benchmark: The modeled manual recovery baseline was about 2.5 business days.
“the manual recovery baseline was modeled at about 2.5 business days”
YouTube Unverified1 source· Talk
- uses
“the Glue Data Catalog provides the current schema metadata”
YouTube Unverified1 source· Talk
- uses
Lambda uses
Amazon CloudWatch“CloudWatch provides the error logs”
YouTube Unverified1 source· Talk
- integrates with
Amazon EventBridge integrates with Lambda
“triggers a Lambda function, which runs the agent”
YouTube Unverified1 source· Talk
- uses
“Amazon S3 stores agent state, audit logs, and quarantined outputs”
YouTube Unverified1 source· Talk
- uses
“The Q-learning policy handles contextual action selection”
YouTube Unverified1 source· Talk
- featureETL failure remediation: The policy proposes bounded responses; an external safety layer can override unsafe proposals, and execution availability is checked separately.
“use rules for facts, learning for bounded choices, and safety controls to set the limits”
YouTube Unverified1 source· Talk
- metricsynthetic benchmark: The rule-based anomaly detector achieved precision 1, recall 0.8, and F1 0.889.
“precision of 1, recall of 0.8, and an F1 score of 0.889”
YouTube Unverified1 source· Talk











