CoolFace
Apppublic

Poojitha75/global-welfare-env

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
App README

๐ŸŒ Global Benefit Eligibility & Fraud Detection OpenEnv

๐Ÿš€ Overview

This project implements an OpenEnv reinforcement learning environment where an AI agent learns to evaluate eligibility for social benefit programs and detect fraudulent claims.

The system simulates real-world decision-making used in government welfare systems globally.


๐Ÿง  Key Features

  • โ€”โœ… Multi-step decision workflow
  • โ€”โœ… Explainable AI (decision reasoning)
  • โ€”โœ… Time-based fraud detection
  • โ€”โœ… Reward shaping with penalties
  • โ€”โœ… Hybrid decision system (rule-based + LLM-ready)
  • โ€”โœ… Real-world inspired environment

๐Ÿ” Problem Statement

Governments worldwide face challenges in:

  • โ€”Incorrect benefit approvals
  • โ€”Fraudulent repeated claims
  • โ€”Inefficient verification workflows

This environment enables AI agents to learn optimal decision-making policies to address these issues.


โš™๏ธ Environment Design

๐Ÿ“Š Observation Space

  • โ€”income_level
  • โ€”family_size
  • โ€”documents_verified
  • โ€”previous_claims
  • โ€”region_type
  • โ€”lastclaimdays_ago

๐ŸŽฏ Action Space

  • โ€”approve
  • โ€”reject
  • โ€”request_verification
  • โ€”flagforaudit

๐ŸŽ Reward System

  • โ€”Correct decision โ†’ +1.0
  • โ€”Partial decision โ†’ +0.5
  • โ€”Fraud missed โ†’ penalty
  • โ€”Step cost penalty โ†’ -0.05 per step

๐Ÿ”„ Multi-Step Workflow

  1. 1.Request verification (if needed)
  2. 2.Final decision (approve/reject/audit)

๐Ÿงช Example Output


Example Output

[START] task=welfare env=openenv model=gpt-4.1-mini [STEP] step=1 action=request_verification reward=0.45 done=false error=null [STEP] step=2 action=approve reward=0.95 done=true error=null [END] success=true steps=2 rewards=0.45,0.95 ---

Why This Matters

  • โ€”Globally applicable welfare system
  • โ€”Fraud detection using behavioral patterns
  • โ€”Real-world decision modeling
  • โ€”AI-ready environment for RL training

Future Improvements

  • โ€”Identity fraud detection
  • โ€”Cross-region duplicate claims
  • โ€”LLM-based reasoning
  • โ€”Dynamic policy learning