AI Research Engineer • Instructor • Reverse Engineer

Shayan
Jafari

Building intelligent systems across LLMs, RAG & Agentic AI, speech & medical AI, and reverse engineering.

AI Research Engineer, Deep Learning Instructor, and Reverse Engineer — architecting hybrid RAG and multi-pass LLM workflows, multimodal and clinical AI platforms, Persian/English STT & TTS pipelines, and low-level binary analysis.

PROFILE / 02ACTIVE
Professional portrait of Shayan Jafari
LLM / RAG / AGENTS
MEDICAL & SPEECH AI
REVERSE ENGINEERING
11+

AI & RE Systems Built

38+

Core AI & Systems Skills

04

Industry & Teaching Roles

148

Kaggle Notebook Forks

01 / PROFILE

About Me

Observe → Decompose → Understand → Model → Experiment → Build.

I work across Generative AI (LLMs, RAG, Agentic AI), Speech & Medical AI, Deep Learning Instruction, and Reverse Engineering.

On the AI engineering side, I architect hybrid retrieval pipelines (BM25 + dense BGE-M3 / SentenceTransformers embeddings, PostgreSQL/pgvector, Reciprocal Rank Fusion, and cross-encoder reranking), graph-aware RAG, multi-pass grammar-constrained JSON LLM workflows (Ollama, cloud routers, Pydantic v2), bilingual OCR + Persian/English STT & TTS systems, and clinical survival/imaging platforms.

As a Deep Learning & AI Instructor (Aiolearn & technical workshops), I teach Python and deep learning internals from first principles — spanning NumPy MLPs to PyTorch CNNs, Faster R-CNN, YOLO, RNNs, LSTMs, GRUs, Text & Vision Transformers, local LLMs (Ollama / LM Studio), and STT/TTS pipelines.

On the Reverse Engineering side (Arad Co. / Fapna), I perform static and dynamic binary analysis, custom assembly inspection in IDA Pro, decompiler output validation, and automated firmware-documentation engineering. My goal is never simply to invoke APIs or model.fit() — it is to understand every layer well enough to architect, explain, benchmark, and deconstruct it.

LocationTehran, Iran
Current RolesReverse Engineer (Arad Co.) · Instructor (Aiolearn)
EducationB.Sc. Computer Science — IAU Central Tehran
LanguagesPersian (Native) / English (Professional)
Core FocusLLMs, RAG, Agentic AI, Speech, Medical AI & RE
02 / CAPABILITIES

Areas of Expertise

An engineering profile uniting generative AI pipelines, speech and vision systems, low-level reverse engineering, and technical instruction.

01

LLMs, RAG & Agentic AI

End-to-end retrieval, semantic search, and structured multi-pass LLM reasoning with strict validation and citation provenance.

  • LLMs & Ollama
  • Hybrid RAG (BM25 + pgvector)
  • BGE-M3 & RRF Reranking
  • Multi-Pass Guided JSON
  • Agentic Pipelines & Pydantic v2
02

Speech & Multimodal AI

Bilingual Persian/English voice assistants, hybrid multi-engine OCR, and resilient online/offline speech synthesis.

  • Speech-to-Text (STT / Whisper)
  • Neural TTS (Edge-TTS / SAPI)
  • Hybrid OCR (WinOCR / EasyOCR)
  • OpenCV Preprocessing
  • Persian NLP (Hazm)
03

Deep Learning & Medical AI

Vision, sequence, and survival models engineered for diagnostic imaging, clinical safety, and uncertainty quantification.

  • CNNs & Vision Transformers
  • RNN, LSTM & GRU
  • LungMaxViT & nnUNet
  • Discrete-Time Survival & MC Dropout
  • PyTorch, MONAI & TensorFlow
04

Reverse Engineering

Static and dynamic analysis of proprietary embedded control systems with custom assembly and decompiler validation.

  • Static & Dynamic Binary Analysis
  • IDA Pro
  • Custom Assembly Analysis
  • Decompiler Validation
  • Automated Firmware Docs
05

Systems & MLOps Engineering

Production APIs, distributed imaging infrastructure, clinical interoperability adapters, and observability stacks.

  • FastAPI & Streamlit
  • PostgreSQL / pgvector
  • Docker & Kubernetes (K3s)
  • Redis, MinIO & MLflow
  • FHIR / OMOP / PyDICOM
06

AI & Deep Learning Instruction

Curriculum design, lecture guides, and first-principles workshops bridging mathematical intuition with runnable code.

  • Python & NumPy to PyTorch
  • CNNs, Faster R-CNN & YOLO
  • RNN, LSTM & GRU
  • NLP & Transformers
  • Local LLMs & STT/TTS
03 / SELECTED WORK

Selected Projects

Flagship systems across clinical & multimodal AI, RAG & agentic LLM pipelines, speech processing, and embedded reverse engineering.

MEDICAL AISHOWCASE / 01
VISION TRANSFORMERPYTORCH • CNN
Medical AI / Deep Learning

Lung Disease Classification using Deep Learning

Research implementation of LungMaxViT in PyTorch combining CNNs and Vision Transformers for medical image classification across 14 pulmonary pathologies and 1 healthy class, supported by custom ChestXray14 preprocessing pipelines.

PyTorchVision TransformersCNNMedical ImagingChestXray14
ROLEAI Programmer / Research Implementation
CONTEXTICT Research Institute
Reverse Engineering / Embedded Systems

Embedded System Reverse Engineering

Static and dynamic analysis of proprietary embedded control systems, custom assembly inspection inside IDA Pro, validation of custom decompiler outputs, and automated firmware documentation pipelines.

IDA ProBinary AnalysisStatic / Dynamic AnalysisCustom AssemblyDecompiler Validation
ROLEReverse Engineer
CONTEXTArad Co. / Fapna
LOW LEVELSHOWCASE / 02
0x180001060movzxeax, byte ptr [r10]
0x180001064lear10, [r10+1]
0x180001068addecx, eax
0x18000106Aaddr9d, ecx
0x18000106Dsubr8, 1
0x180001071jnzloc_180001060
IDA PRODECOMPILER VALIDATION
03B / ENGINEERING & AI SYSTEMS

GenAI, Clinical AI & Research Portfolio

Production-oriented pipelines across RAG, Agentic LLMs, Speech AI, Healthcare Infrastructure, Sequence Modeling, and Kaggle.

Agentic LLM & RAG01

RevDoc-Pipeline

Automated reverse-engineering documentation pipeline combining NetworkX causal memory-slicing with CPU-only Graph-Aware Hybrid RAG (BM25 + dense retrieval + reranking + immutable citations) and a 4-pass grammar-constrained Guided-JSON LLM workflow.

OllamaHybrid RAGPydantic v2NetworkXReact / TS
OCR • RAG • LLM • TTS02

Medicine Label Reader AI v4.0

End-to-end clinical drug-label assistant featuring multi-scale hybrid OCR (WinOCR, EasyOCR, OpenCV), Hazm Persian NLP, bilingual RAG (SentenceTransformers + pgvector), multi-provider LLM routing, openFDA/RxNorm APIs, Persian neural TTS (Edge-TTS + Windows SAPI), FastAPI, Streamlit, and .NET 8 desktop UI.

RAG / pgvectorEdge-TTSHybrid OCRFastAPI.NET 8
Clinical AI • TUMS03

PsO-to-PsA Disease Progression Platform

ML Engineer (Clinical NLP & Pipeline Testing) on a Dockerized Tehran University of Medical Sciences clinical research platform predicting 1-, 3-, and 5-year Psoriatic Arthritis risk via discrete-time survival ensembles, uncertainty abstention, clinical safety overrides, FHIR/OMOP/DICOM adapters, and Prometheus/Grafana.

Survival MLClinical NLPFHIR / OMOPFastAPIDocker
Semantic Search04

CodeSeek Search Engine

Bilingual (English & Persian) hybrid semantic code search engine combining query concept extraction, BGE-M3 dense vector search (pgvector HNSW), PostgreSQL full-text search, Reciprocal Rank Fusion (RRF), BGE v2-m3 cross-encoder reranking, and IR benchmarking (Recall@K, MRR, nDCG@10).

BGE-M3pgvector HNSWRRFCross-EncoderPostgreSQL
LLMs • STT / TTS • CV05

AI Multi-Platform Dashboard v3

Unified Streamlit AI workstation integrating dual parallel live-streaming local LLMs (Ollama), Persian/English Speech-to-Text (SpeechRecognition + pydub), neural & offline-phonetic Text-to-Speech (Edge-TTS + pyttsx3), YOLOv8 object detection, and aspect-based Persian sentiment analysis.

Dual LLMsSTT / TTSYOLOv8StreamlitPersian NLP
Radiology • K3s06

MedFlow & MedPrep AI

Distributed clinical radiology suite on Kubernetes (K3s) with FastAPI, PostgreSQL, Redis Pub/Sub WebSockets, MinIO S3, PyDICOM PHI de-identification, CLAHE, nnUNet segmentation, and MLflow, alongside a React/FastAPI/PyTorch/MONAI dataset preparation and leakage-safe splitting platform.

Kubernetes K3snnUNetMONAIPyDICOMMLflow
Document RAG • LLMs07

MinerU PDF-to-RAG & Query Generator

GPU-aware, RTL-safe (Persian/Arabic/English) scientific PDF-to-Markdown/JSON parsing pipeline with multi-GPU Kaggle (2× T4) deployment for RAG stacks, paired with a local-LLM abstract keyword extraction and Boolean query generator featuring Pydantic validation and automated JSON repair.

MinerURTL PDF RAGKaggle 2×T4Local LLMJSON Repair
Sequence Modeling08

PPGNN — Temporal Uncertainty Research

PyTorch research prototype implementing a unidirectional GRU temporal encoder, learned attention pooling, pairwise ranking loss, Self-Goading Deviation scoring, MC Dropout predictive uncertainty, FastAPI serving, and automated test suites.

PyTorchGRUAttention PoolingMC DropoutFastAPI
Open Science • Kaggle09

Kaggle Datasets & Deep Learning Notebooks

18 public datasets and 16 notebooks (148 forks) on Kaggle, including a 3 GB preprocessed ChestXray14 dataset for LungMaxViT, a 28 GB 87M+ chess games dataset and chess engine notebook, VGG-16 + Focal Loss pipelines, ViT/BioViL artifacts, and a MaxViT architecture deep dive.

18 Datasets16 NotebooksChestXray1487M+ ChessMaxViT
04 / CAREER

Experience

Industry roles, research engineering, reverse engineering, and deep learning instruction.

MAY 2026 — PRESENTAIOLEARN

Deep Learning & AI Instructor

Designing curricula, lecture guides, and hands-on coding workshops in Python, Deep Learning, and Applied AI.

  • Neural Network Foundations: Backpropagation, activation functions, loss optimization, and building MLPs from scratch in NumPy before scaling to PyTorch/Keras
  • Computer Vision & CNNs: Convolutions, pooling, CNN image classification (including medical MRI tumor detection), and object detection architectures (Faster R-CNN, YOLO)
  • Sequence Modeling (RNN, LSTM & GRU): BPTT, vanishing/exploding gradients, cell state and gating mechanics, Bi-LSTM, and Stacked RNNs
  • NLP, Transformers & LLMs: Tokenization, TF-IDF, embeddings, Text & Vision Transformers (ViT), and local LLM deployment & quantization (Ollama, LM Studio, GGUF)
  • Speech AI (STT & TTS): End-to-end voice assistant pipelines with Whisper/Faster-Whisper, SpeechRecognition, Edge-TTS, and offline speech synthesis
OCT 2025 — PRESENTARAD CO. • FULL-TIME

Reverse Engineer

Reverse engineering and low-level analysis of proprietary embedded control systems.

  • Performing static and dynamic binary analysis and custom assembly inspection inside IDA Pro
  • Validating custom decompiler outputs and reconstructing system behavior, data flows, and control logic
  • Designing automated firmware analysis and structured documentation pipelines (graph-aware hybrid RAG + multi-pass guided-JSON LLM workflows)
  • Producing rigorous technical documentation in collaboration with software and mechanical engineering teams
JUL 2026 — SEP 2026FAPNA

Senior Reverse Engineer

Low-level binary reverse engineering and technical system documentation.

  • Conducted static and dynamic binary analysis and low-level assembly inspection
  • Validated decompiler outputs and authored technical system documentation
DEC 2024 — JAN 2026ICT RESEARCH INSTITUTE • PART-TIME

Artificial Intelligence Programmer

Independent deep learning research implementation and experimentation under research supervision (Hybrid).

  • Implemented the LungMaxViT research paper in PyTorch, combining CNNs and Vision Transformers for medical imaging
  • Developed and evaluated multi-class deep learning pipelines for pulmonary disease classification across 14 thoracic pathologies and 1 healthy class
  • Engineered imbalanced medical dataset handling, augmentation strategies, and reproducible model evaluation workflows
05 / INTERESTS

Research & Focus

Technical pillars guiding my applied systems, research collaborations, and teaching.

01

LLMs, RAG & Agentic AI

Hybrid retrieval, cross-encoder reranking, graph-aware RAG, and grammar-constrained multi-pass reasoning.

02

Speech AI (STT & TTS)

Bilingual speech recognition, neural text-to-speech, audio calibration, and resilient offline fallbacks.

03

Deep Learning & Sequence Models

CNN, RNN, LSTM, Bi-LSTM, and GRU architectures, gradient dynamics, and predictive uncertainty.

04

Computer Vision & ViTs

Hybrid CNN–Transformer architectures, object detection (Faster R-CNN, YOLO), and hybrid OCR.

05

Medical AI & Survival Modeling

Diagnostic chest imaging, longitudinal clinical risk modeling, and safe human-in-the-loop abstention.

06

Reverse Engineering

Static/dynamic binary analysis, custom assembly in IDA Pro, and decompiler validation.

07

Semantic Search & IR

Dense vector indexing with pgvector, Reciprocal Rank Fusion, and rigorous offline IR evaluation.

08

Technical AI Education

Teaching neural mechanics from scratch in NumPy/PyTorch to LLMs, Transformers, and Speech AI.

06 / TOOLKIT

Skills & Technologies

A verified toolkit aligned with 38+ skills across generative AI, deep learning, speech, MLOps, and reverse engineering.

GENAI, RAG & AGENTS
Large Language Models (LLM)Retrieval-Augmented Generation (RAG)Agentic AIOllamaSemantic SearchVector Databases (pgvector)BGE-M3 / RRFPydantic v2
DEEP LEARNING & VISION
PyTorchTensorFlow / KerasCNNRNN / LSTM / GRUTransformers & ViTFaster R-CNN / YOLOv8Medical Imaging & MONAIOpenCV
SPEECH & NLP
Speech-to-Text (STT / ASR)Text-to-Speech (TTS / Edge-TTS)Whisper / Faster-WhisperOptical Character Recognition (OCR)Natural Language Processing (NLP)Hazm
SYSTEMS & MLOPS
PythonFastAPIPostgreSQLDockerKubernetes (K3s)Redis / MinIO / MLflowStreamlitC / C++ / .NET 8
REVERSE ENGINEERING
IDA ProReverse EngineeringStatic AnalysisDynamic AnalysisBinary AnalysisAssembly Language
PLATFORMS & INSTRUCTION
Technical InstructionGit / GitHubKaggleJupyter NotebookLinux (LPIC-1)Windows / Ubuntu / Fedora
07 / BACKGROUND

Education & Credentials

Academic foundation, certifications, honors, languages, and university technical seminars.

Education

2023 — 2027

Bachelor of Science (B.Sc.) in Computer Science

Islamic Azad University, Central Tehran Branch

Seminars: Imbalanced Data in AI & Faster R-CNN • Medical AI Research
SEP 2017 — JUN 2023

High School Diploma

National Organization for Development of Exceptional Talents (SAMPAD)

Ranked 5th in the National Physics Olympiad

Languages

Persian (Native/Bilingual) • English (Professional Working)

Certifications

Comprehensive AI (AI Pack)

SEMATEC

Deep Learning

SEMATEC

Linux LPIC-1

Fanavaran Anisa

Python Programming

Mojtama Fani Tehran

Network+

FaraDars

Data Engineering

Honors & Seminars

HONOR • NOV 2026

Top Student — Comprehensive AI Course

SEMATEC (selected among 80 students for Medicine Label Reader AI)

HONOR

Ranked 5th in National Physics Olympiad

National Organization for Development of Exceptional Talents (SAMPAD)

UNIVERSITY SEMINARS

Imbalanced Data in AI & Faster R-CNN

Islamic Azad University, Central Tehran Branch

08 / CONTACT

Let’s Build Something Intelligent.

For LLMs, RAG, Agentic AI, Speech & Medical AI, technical instruction, or reverse engineering collaborations, reach out by email or connect through my profiles.