Agentic AI for Healthcare Claim Denial Analysis: A Policy-Grounded Framework for Privacy Preservation
Organizations: Randy Labs, Portugal. · University of Porto, Portugal. · INESC TEC, Portugal.
Abstract
In the healthcare sector, claim denials impose significant financial and administrative burdens, emphasizing the need for automated and trustworthy decision-support systems. This paper proposes a modular Agentic Artificial Intelligence (AI) framework for healthcare claim denial analysis, integrating specialized agents for denial risk prediction, risk factor identification, diagnosis-procedure-medication code relationship analysis, and counterfactual analysis. The framework integrates predictive analytics, graph-based learning, a Hybrid Contextual Retrieval-Augmented Generation (RAG) pipeline grounded in healthcare policy documents, and a dedicated HIPAA Compliance Agent to support privacy protection. Evaluated on a synthetic healthcare claims dataset, the framework achieved 98% traceability of reported numerical findings, validated 214 of 216 policy citations, and removed all 280 identified sensitive identifiers without modifying the underlying analysis. These findings pave the way for further research into Agentic AI as a framework for explainable, policy-aware, and privacy-preserving healthcare claim denial management.
Figures & tables
| Agent / Tool | Input | Structured output |
| Claim Denial Prediction get_prediction | Calibrated denial probability from the Optuna-tuned XGBoost model; test-set reliability metrics; actual outcome (if known) | Denial probability, predicted outcome vs. decision threshold, risk level, and model reliability in plain language |
| Risk Drivers get_shap_explanation get_population_statistics | Per-claim TreeSHAP contributions as plain-language drivers with strength; claim attributes and population percentiles; payer denial rate | Drivers toward rejection and toward payment (strong / moderate / small) and comparison with the population |
| Code Combinations get_code_combinations | Code co-occurrence graph with GNN code propensities; pair/triple combination lift; claim-level GNN probability; code descriptions | High-risk code combinations (labelled codes, denial rate, average, support), riskiest single codes, and a HIGH / MEDIUM / LOW verdict |
| Counterfactual Causality get_counterfactual_recourse | Claim re-scored by the calibrated XGBoost model under actionable interventions (approved pre-authorization, typical processing time) | Probability before after each intervention, decision flips, best achievable outcome, and most effective lever |
| HIPAA / GDPR Compliance | Coordinator’s draft report; HIPAA passages retrieved from a dedicated index | Redacted report (PHI, PAYER-xxxxxx , CLAIM-xxxxxx ) and a JSON verdict: HIPAA / GDPR compliance, payer anonymity, issues, and citations |
| Aspect | Description |
| Scope | Synthetic adjudicated healthcare claims associated with simulated clinical encounters from January to April 2026. |
| Volume | 99,079 eligible claims retained from 100,000 generated records containing 81 columns. Eligibility requires a final claim status and a billed amount greater than $10. Each record is identified by a claim_id . |
| Target Variable | Binary classification: Denied/Partially Paid (Class 1): 27,183 claims (27.4%). Paid (Class 0): 71,896 claims (72.6%). |
| Data Realism | Real coding systems, including ICD-10 diagnosis codes, procedure, and medication codes with descriptions. Payer names, patient history and identifiers, are fictional. |
| Feature Composition | Claim attributes (amount, type, setting, month, and day of week); administrative variables (processing time and pre-authorization status); payer and patient history (average amounts, claim counts, and recent denial ratio); demographics (age band and gender); and clinical codes (diagnoses, procedures, and medications), comprising 143 distinct codes. |
| Data Split | A single stratified 80/20 train–test split, comprising 79,263 training claims and 19,816 test claims, shared across all evaluated models. |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
| Hyperparameter | Type | Search space | Selected |
| Ensemble and tree structure | |||
| n_estimators | integer | 400 | |
| max_depth | integer | 6 | |
| min_child_weight | integer | 2 | |
| Learning rate and sampling | |||
| learning_rate | continuous (log) | 0.0119 | |
| Metric | Value | 95% CI / uncertainty | Denominator / scope |
| Planning | |||
| Coordinator-selected mandatory steps | 100% | 96.3–100% a | 100 claims |
| Claims requiring quality-gate completion | 0/100 | b | 100 claims |
| Evidence | |||
| Mean numerical agreement per report | 98% | not computed c | 100 reports |
| Retrieval | |||