FinVerse: Multi-Agent Credit Investigation Environment for OpenEnv Hackathon
Problem Statement: Beyond Binary Classification
Traditional credit scoring systems exclude millions of people lacking formal credit histories. While LLMs show promise in financial decision-making, they often fall into shallow next-token reasoning and exploit shortcuts in simple classification tasks.
The Real Challenge: Can we build environments that force models to act as professional investigators, maintaining consistent internal state and performing "real work" in partially observable, multi-step scenarios?
What We Built: FinVerse Environment
FinVerse (evolved from CredLess-Env) is a professional credit investigation pipeline built on the OpenEnv framework, targeting Theme #3.1 (Professional Tasks) and Theme #2 (Long-Horizon Planning).
Agent 2 acts as the Decision Agent (or Loan Officer), responsible for synthesizing complex financial data into a final terminal decision: Approve or Deny
Base Models Tested:
Qwen/Qwen2.5-0.5B-Instruct (primary - optimized for <200ms inference)
Llama-3.1-8B-Instruct (alternative)
Training Pipeline:
Supervised Fine-Tuning (SFT): Format priming on 4K oracle-labeled examples
Group Robust Policy Optimization (GRPO): Behavioral improvement via RL
Training Flow / Learning Loop
State → Action → Reward → Feedback → Policy Update
Agent 2 Implementation:
Agent 2 supervised training results : (images/agent2.png)
Lightweight Backend: SGDClassifier trained on Agent1 outputs + SHAP values
Feature Engineering: Risk score + 40 numeric fields + SHAP statistics (mean/max/min/count)
Explainability: By training on these SHAP values, Agent 2 learns to identify why an applicant is risky (e.g., identifying if overdraft_count was the primary driver for a rejection)
Prompt Dataset: 4K+ samples exported to JSONL for HuggingFace TRL training
Agent Extensions (Bonus Criteria)
Auditor Agent (Fleet AI - Scalable Oversight):
Monitors Agent2 decisions for bias, consistency violations, and policy drift
Generates audit trails and compliance reports
Scores decisions on interpretability and fairness metrics
Market Agent (Dynamic World):
Simulates economic shifts (recession, boom, sector-specific shocks)
Updates risk thresholds based on macroeconomic indicators
Adds temporal complexity to long-horizon planning
Batch 0-96: Mean reward 0.51-0.60 (exploration phase)
Batch 96-224: Stabilization around 0.55 (learning terminal conditions)
Batch 224-480: Improvement to 0.60+ (policy refinement)
Expected GRPO Improvements
Target Metrics (Post-Training):
Mean reward: 0.70+ (vs 0.56 baseline)
Oracle agreement: 0.85+ (vs 0.78 baseline)
Average episode length: 4.2 steps (vs 5.1 baseline)
Fraud detection F1: 0.75+ (new capability)
Observable Evidence:
Reward curve plot: Batch-wise mean rewards over 3 GRPO epochs
Before/after demo: Same applicant, different policy behaviors
Ablation study: Oracle-only vs Agent2-only vs blended decisions
Dataset & Features (Open Innovation Bonus)
Source: Real alternative credit dataset (150K samples)
Features: 42 behavioral signals engineered from:
Traditional credit: Delinquency scores, debt ratios, payment history
Alternative data: UPI transactions, utility payments, rent consistency
Socioeconomic: Employment stability, savings, government schemes
Behavioral: Transaction timing, overdrafts, income variability
Zero null values after preprocessing
Balanced classes (50/50 approve/deny)
70/15/15 train/val/test split
Stratified sampling by risk deciles
Theme Alignment & Bonus Objectives
Primary Theme: #3.1 Professional Tasks
Real-world credit investigation workflow
Partially observable environment (hidden features)
Tool orchestration (request_info, query_market, flag_fraud)
Multi-step causal reasoning (5-8 actions per episode)
Persistent world model (action history, applicant state)
Secondary Theme: #2 Long-Horizon Planning
8-step timeout penalty (forces strategic planning)
Early mistake recovery (can request more data after poor initial assessment)
State tracking across steps (revealed fields, fraud flags, market context)
Bonus: Fleet AI (Scalable Oversight)
Implemented: Agent1/Agent2 interaction with oracle supervision
Planned: Auditor agent monitoring Agent2 decisions for bias and consistency
Alignment: Agent2 learns to justify decisions via SHAP explanations
Bonus: Scale AI (Business Workflows)
Task: Credit approval is a real business workflow in lending operations
Complexity: Multi-step investigation, fraud detection, escalation paths
Non-Code Use Case: Directly applicable to underwriting teams