Skip to content

About

End-to-end multimodal fintech ML platform for transaction intelligence, offer ranking, document analysis, support NLP, speech analytics, APIs, and model monitoring.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

FinSight360

FinSight360 is a completed, multimodal fintech data science portfolio system for trust, growth, KYC intake, advertising, and customer-support workflows. It is deliberately separate from the existing FinSight credit-risk project and does not reuse that project's code, data, models, or metrics.

Architecture

flowchart LR
    D["Public + synthetic data<br/>tabular · text · image · speech"] --> E["SQL · PySpark · Scala<br/>contracts and feature pipelines"]
    E --> M["ML/DL modules<br/>uplift · fraud · ranking · CV/OCR · NLP · ASR"]
    M --> A["FastAPI<br/>versioned contracts · confidence routing"]
    A --> S["Streamlit<br/>seven-page local dashboard"]
    M --> R["MLflow registry<br/>checksums · model cards · lineage"]
    A --> O["Evidently + custom monitoring<br/>tabular · text · KYC · speech · latency"]
    R --> A
Loading

FinSight360 executive dashboard

The versioned API exposes nine documented operations with strict request/response contracts:

FinSight360 OpenAPI interface

Capabilities

  • Synthetic UPI growth experimentation and offer targeting.
  • Transaction-level fraud detection using PaySim as a mobile-money proxy.
  • Contextual ads click-through prediction and simulated fintech offer ranking.
  • KYC document intake, localization, quality assessment, classification, and OCR.
  • Banking intent classification and financial complaint intelligence.
  • Speech recognition connected to the support-intent pipeline.
  • Local FastAPI, Streamlit, MLflow, monitoring, and Docker integration.

Release status

All 15 stages are complete: foundation, dataset validation/curation, storage cleanup, synthetic UPI generation, Spark/SQL engineering, UPI uplift/fraud modeling, five-offer ranking, chronological Criteo CTR prediction, the MIDV-2020 KYC intake/OCR prototype, BANKING77 intent routing, CFPB complaint intelligence, privacy-safe structured summarization, and local speech recognition/support analytics, a versioned privacy-safe FastAPI integration, MLflow champion registry, controlled multimodal drift monitoring, a seven-page Streamlit dashboard, verified local Docker profiles, and the final QA and portfolio handoff.

Verified offline results:

  • UPI T-learner: Qini 0.006113, AUUC 0.055018, and 2.117× simulator true-effect lift over random top-decile targeting on 10,000 held-out synthetic users.
  • PaySim XGBoost: PR-AUC 0.423435 at 1.399% fraud prevalence on 89,466 strictly later test transactions, with 0.799 precision in the top 0.5%.
  • Five-offer ranker: NDCG@5 0.824919, Precision@1 0.618, and 20.45% NDCG improvement over popularity on 10,000 held-out synthetic users.
  • Criteo LightGBM: ROC-AUC 0.783538, log loss 0.460136, and 3.474× top-1% lift on 150,000 chronologically later anonymous ad events.
  • KYC intake: localization mean IoU 0.879671, quality manual-review precision/recall 0.995609/0.971667, and document-type macro-F1 0.998333 on identity-disjoint MIDV splits.
  • Multilingual OCR: character error rate improved 20.66%, from 0.782189 before rectification to 0.620605 after rectification/orientation handling across 1,616 annotation-mapped fields.
  • BANKING77: TF-IDF logistic macro-F1 0.886486, top-three accuracy 0.966558, and 0.906599 selective accuracy at 95.94% coverage on the official 3,080-query test split.
  • CFPB routing: macro-F1 0.808098 on 75,000 chronologically later H2 2025 complaints; 25 NMF topics were assigned across 535,093 curated narratives for monthly pain-point analysis.
  • Structured complaint summaries: 100% extractive grounding across a manually reviewed 20-case release set; cloud processing of CFPB narratives is disabled by default.
  • Speech recognition: Whisper base.en beam-3 achieved 22.465% WER at 0.5229 real-time factor across 1,000 balanced Common Voice clips, with a 1.008 percentage-point absolute India/South-Asia WER gap. Speech-to-intent remains a functional integration demonstration.

These are synthetic/offline benchmark results, not real customer or production outcomes. Detailed assumptions, leakage controls, limitations, and release checks are in reports/model_cards/ and reports/models/stage7.md.

Data policy

Large public datasets, generated data, model artifacts, and sensitive inputs are not committed. The project tracks download instructions, source licenses, checksums, schemas, and tiny synthetic test fixtures instead. Any business lift reported from the UPI simulator will be labelled as an offline synthetic result, not realized customer impact.

See dataset licenses, the public repository data audit, failure cases, security policy, and the final impact report.

Repository map

app/                 FastAPI and Streamlit entry points
configs/             Versioned stage and deployment configuration
docs/                Data cards, runbooks, architecture, handoff material
reports/             Tracked aggregate metrics, model cards, release evidence
spark/ and sql/       Scala/PySpark parity job and DuckDB analytics
src/finsight360/     Reusable data, model, API, monitoring, and deployment code
tests/               Unit, data, model, API, privacy, dashboard, and deployment tests

Development

conda env create -f environment.yml
conda activate finsight360
make test

Run the released validation workflows with:

python -m finsight360.models.uplift
python -m finsight360.models.fraud
python -m finsight360.models.validate_stage7
python -m finsight360.models.offer_ranking
python -m finsight360.models.ctr
python -m finsight360.models.validate_stage8
python -m finsight360.vision.localization
python -m finsight360.vision.quality
python -m finsight360.vision.classification
python -m finsight360.vision.ocr
python -m finsight360.vision.validate_stage9
python -m finsight360.nlp.intent
python -m finsight360.nlp.intent_transformer
python -m finsight360.nlp.complaints
python -m finsight360.nlp.validate_summarization --reviewed-by stage10_release_review
python -m finsight360.nlp.validate_stage10
python -m finsight360.speech.benchmark --model tiny.en
python -m finsight360.speech.benchmark --model base.en
python -m finsight360.speech.validate_stage11
python -m finsight360.api.validate_stage12
python -m finsight360.monitoring.release_stage13
python -m finsight360.deployment.validate_stage14
python -m finsight360.release.validate_stage15
python -m finsight360.release.validate_publication --check-only

Start the local API with python -m uvicorn app.api:app --host 127.0.0.1 --port 8000; endpoint contracts, privacy controls, and examples are documented in docs/api.md.

Model binaries and holdout predictions remain local under artifacts/; checksums and model cards are tracked in the repository.

Local demo

docker compose --profile lightweight up

Open the dashboard at http://127.0.0.1:8501 and API documentation at http://127.0.0.1:8000/docs. KYC and speech execution require the full profile and locally prepared artifacts. See the deployment guide.

About

End-to-end multimodal fintech ML platform for transaction intelligence, offer ranking, document analysis, support NLP, speech analytics, APIs, and model monitoring.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages