Skip to content
View rafiimam's full-sized avatar

Block or report rafiimam

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
rafiimam/README.md

MD. Rafi Imam

AI/ML researcher · Production AI & software engineer Robust and trustworthy machine learning — studied in research, stress-tested in production banking.

📍 Dhaka, Bangladesh · 🏛️ Software Development Officer (AI & Automation), Jamuna Bank PLC · 🎓 Fall 2027 PhD applicant in AI/ML 🌐 rafiimam.github.io/Personal-website · 🎓 Google Scholar · 🔬 ResearchGate · 💼 LinkedIn · ✉️ rafiimam96@gmail.com


The short story

I came to ML research from the production side. After my B.Sc. in Electrical & Computer Engineering at RUET, I joined Jamuna Bank's AI & Automation division, where I build systems that cannot afford to fail quietly — face liveness checks that decide who gets a bank account, payment middleware, and event pipelines that screen real transactions. Working with real users taught me the question that now drives my research: why do models break on messy, real-world inputs, and how do we know when they have?

That question runs through everything here — a controlled study of fine-tuning under document noise (GateConcat), a document-verification agent designed to flag uncertainty instead of guessing (DocTrust), and a benchmark that measures what AI agents actually do on a machine (agent-capture-bench). My Fall 2027 PhD applications, centred on trustworthy and robust ML, are currently under review.

Research interests: parameter-efficient fine-tuning (PEFT) · robust model adaptation · trustworthy / responsible AI · uncertainty quantification · federated learning · NLP and document understanding · multimodal robustness under structured corruption

Public repos are sanitized samples and independent projects — they show design and engineering approach, not production code, models, or customer data.

Publications — IEEE ICCIT 2023

  1. Suicidal Thought Detection Using NLP on Reddit Data (first author) — DOI: 10.1109/ICCIT60459.2023.10441163
  2. Privacy Preserving Federated Learning for Lung Cancer Classification — DOI: 10.1109/ICCIT60459.2023.10441464
  3. A Comparative Study for Detecting Polycystic Ovary Syndrome Using A Machine Learning Framework — DOI: 10.1109/ICCIT60459.2023.10441488
  4. YOLOv8 Based Object Detection for Self-driving Cars — DOI: 10.1109/ICCIT60459.2023.10441412

Research projects

GateConcat — noise-robust PEFT, studied honestly · gateconcat-peft

A controlled diagnostic study (LayoutLMv3 + LoRA on FUNSD, matched 5-seed protocol) of PEFT under synthetic document noise:

Setting GateConcat − LoRA (noisy macro-F1)
Character substitution @ 70% +1.51 pp (p = 0.003)
OCR confusion @ 70% +2.30 pp (p = 0.002)
Layout box-swap @ 50% −0.20 pp (no transfer)

Reported with its limits, not around them: my hand-crafted SALLoRA variant failed against LoRA; a constant-gate control captures part of the gain (p = 0.21 vs GateConcat); the learned gate does not detect corruption (AUC ≈ 0.52) — it acts as a label-salience feature. Negative results and capacity-matched controls included.

DocTrust — a reviewer agent that shows its evidence · DocTrust

Built solo for the Meta Global AI Developer Hackathon 2026 — selected as 1 of 20,000 participants worldwide (Indie Developer Track). A multimodal agent cross-examines a document set (NID, birth certificate, bank form) in Bangla/English; a deterministic comparator holds sole verdict authority, so the agent can flag a "discrepancy set" for a human but never auto-reject. Across all evaluation runs: 0 false flags, 0 silent errors, backed by a 191-test suite. Live demo · Demo video

agent-capture-bench — ground truth for what AI agents do · agent-capture-bench

A public benchmark that scores AI-agent activity recorders against an independent eBPF oracle on Linux — because agent evaluation needs ground truth, not self-report. Included in the XERJ Corpus Hub (2026).

Open-source contributions

  • ml-explore/mlx-lm (Apple's LLM framework) — PR #1996: fixes the qwen3_coder tool-call parser truncating nested parameter values (issue #1992; fix endorsed by the reporter, awaiting maintainer review). A second fix, for RotatingKVCache hiding attention sinks in chunked prefill (issue #2028), is prepared as a draft PR.
  • I work fail-first: reproducer and regression test before the fix, and I disclose AI assistance where a project allows it.

Production AI & software engineering

Nearly 3 years building banking systems at Jamuna Bank PLC (30+ containerized services):

  • Face liveness / PAD for eKYC — ArcFace identity matching, Swin-B spatial PAD, 3D ResNet-18 temporal liveness, physics-informed replay detection. Decoupled PyTorch CUDA inference (FastAPI) from an asyncio gateway: latency >5s → ~800ms. Locked-set: FAR 0.00% (0/33 replay), FRR 3.125% (1/32 live).
  • Payments & core banking — BanglaQR backend, IBFT and pay-order middleware, gateway exposing TCS BaNCS core banking as REST.
  • Event pipelines — Kafka streams for account opening, remittance/SWIFT callbacks, duplicate-CIF and AML screening, transaction risk flags.
  • Platforms — sole developer of the bancassurance orchestration layer (Netflix Conductor, two external insurers) and the Self Service Portal (OWASP-hardened session management); Pulse intranet service desk.

→ Sanitized samples: banking-engineering-samples · jbl-liveness-verification · Engineering portfolio: rafiimam.github.io/rafi_portfolio

Currently building

BlackBox MD (phone-vitals) — a "black box" recorder and forensics app for Android sudden failures: it logs a tamper-evident evidence chain, runs elimination tests, and produces a repair case file. Born from debugging my own phone's unexplained shutdowns.

Open to

  • PhD, Fall 2027 (US) — trustworthy AI, robust & efficient ML, PEFT, AI safety (applications under review)
  • Banking / fintech (Bangladesh) — Software / AI roles building on production eKYC, payments and core-banking experience
  • Remote, part-time — AI/ML engineering, model evaluation, open-source contribution (~15 hrs/week, evenings Asia/Dhaka)

Stack

  • Languages: Python, TypeScript, JavaScript, C/C++, SQL
  • AI/ML: PyTorch, TensorFlow, CUDA, Transformers, LoRA/PEFT, OpenCV, MLX
  • Backend: FastAPI, Node.js, ASP.NET Core, asyncio, REST, WebSockets
  • Data & infra: Apache Kafka, PostgreSQL (pgvector), MongoDB, SQL Server, Docker, Kubernetes, Linux

Background

  • B.Sc., Electrical & Computer Engineering, RUET (2023) — Merit Scholarship 2020–2022 (top 30); Class Representative 2020–2023
  • IELTS Academic 7.0 · GRE 304 (Quant 164)
  • At Jamuna Bank PLC since December 2023

Pinned Loading

  1. gateconcat-peft gateconcat-peft Public

    GateConcat — a controlled diagnostic study of noise-robust PEFT: LayoutLMv3 + LoRA on FUNSD under synthetic document noise, with capacity-matched controls and negative results reported.

    Python

  2. DocTrust DocTrust Public

    Reviewer agent that cross-examines a document set (NID, birth certificate, bank form) for inconsistencies — Bangla/English/Hindi, perturbation re-reads, evidence-linked verdicts

    Python

  3. agent-capture-bench agent-capture-bench Public

    Ground-truth benchmark for process capture on Linux — an independent eBPF oracle scores tracers, audit pipelines, and agent recorders against what the kernel actually executed

    Python 1

  4. jbl-face-match jbl-face-match Public

    Sanitized sample of a Jamuna Bank PLC system. Not production code.

  5. jbl-liveness-verification jbl-liveness-verification Public

    Sanitized sample of a Jamuna Bank PLC system. Not production code.

  6. phone-vitals phone-vitals Public

    Dart