Back to Developers
Mahdi Farzandway

Mahdi Farzandway

Senior Data Scientist and Lead

Tehran, Iran 13+ yrs exp 95 · Outstanding

About

Senior Data Scientist and Lead with 3+ years of experience delivering production machine learning and LLM-based systems with measurable business impact. Proven track record of leading cross-functional teams and driving data-informed decision-making through rigorous experimentation and statistical validation. Specialized in LLM systems, A/B testing, and optimization, including reducing customer ticket resolution time by 80% and lowering inference costs by 35% through controlled experiments and model evaluation. Strong background in Python, SQL, and modern ML/NLP frameworks, with hands-on experience building scalable data pipelines and real-time monitoring dashboards. Effective communicator who regularly presents technical results to executives and collaborates closely with product, engineering, and business stakeholders. PhD candidate in Computer Software Engineering, applying research-grade rigor to real-world industry problems.

Skills & Expertise (46)

Python Expert
9.1/10
8
Years Exp
scikit-learn Advanced
8.7/10
6
Years Exp
TensorFlow Advanced
8.5/10
5
Years Exp
PyTorch Advanced
8.3/10
4
Years Exp
Hugging Face Advanced
8.2/10
3
Years Exp
Chroma LightGBM CatBoost Regression Models Feature Engineering Model Evaluation Hyperparameter Optimization Cross-Validation SQL Postgresql FAISS LORA ETL Pipelines Docker Redash Cost Optimization A/B testing Experimental Design Statistical Validation Hypothesis Testing Confidence Intervals LLaMA NumPy Pandas Matplotlib Seaborn OpenCV FastAPI REST APIs Git GPT XGBoost Gemma BERT Transformers LangGraph LangChain Autogen RAG Prompt Engineering PEFT

Work Experience

Visiting Researcher

SPEAR Lab – Concordia University

Jan 2026 - Present

Collaborating with Prof. Tse-Hsun (Peter) Chen on LLM-based fault localization and automated program repair (Mitacs Globalink Research Award). Designing a multi-stage RAG-enhanced LLM pipeline for automated fault localization and program repair, evaluated on the Defects4J benchmark. Exploring chain-of-thought prompting strategies and retrieval index architectures integrating execution traces, logs, and commit history.

Lecturer

Razi University

Mar 2024 - Present

Teaching undergraduate-level courses in Artificial Intelligence, Data Science, and Machine Learning. Mentored students in applied machine learning and data science projects. Taught in Persian, class size: ~50 students.

NLP Researcher

System Verification Lab, University of Tehran

Nov 2020 - Present

Designed and developed NLP and LLM-based systems for automated fault localization and code repair. Solve complex problem-solving tasks by applying advanced techniques such as RAG, prompt engineering, PEFT, LoRA, and multi-step reasoning. Built and evaluated end-to-end machine learning pipelines, focusing on robustness, scalability, and real-world applicability. Worked with modern LLM frameworks and tooling (e.g., LLaMA, Gemma, BERT, Hugging Face, LangChain) to prototype and refine intelligent systems. Translated research outcomes into practical system designs with measurable performance improvements. Delivered validated results through peer-reviewed publication (AITest 2024) and an ongoing journal submission.

Lead Data Scientist

Pars Pack

Jun 2024 - Dec 2025

Led and scaled a cross-functional team of 5 data scientists and engineers, owning the end-to-end delivery of 4+ production AI and LLM-powered systems supporting core customer operations. Mentored junior data scientists and engineers through code reviews, pair work, and hands-on project guidance to improve delivery quality and technical growth. Owned the technical and strategic direction of an LLM- and RAG-based customer response platform built with LangGraph and FAISS vector database, processing 1.5M+ FAQ records with multi-agent orchestration for intelligent query routing and response generation. Delivered an 80% reduction in median customer ticket resolution time, directly improving customer satisfaction and operational efficiency at scale. Drove cost-efficiency as a first-class product metric, achieving a 35% reduction in inference costs through structured model evaluation, trade-off analysis, and iterative optimization. Processed 1.5M+ records via batch pipelines to extract high-frequency and unique queries for vector database enrichment and improved retrieval accuracy. Established a company-wide experimentation culture, defining success metrics, designing controlled rollouts, and ensuring decisions were backed by statistically reliable evidence. Improved system responsiveness by guiding architectural decisions around retrieval, embeddings, and query optimization. Built real-time monitoring and KPI dashboards covering accuracy, latency, cost, and customer outcomes, maintaining 99.5% production uptime. Acted as the primary data and AI partner to product, engineering, and customer support, translating business goals into measurable outcomes and technical roadmaps. Applied statistical inference techniques (hypothesis testing, confidence intervals) to evaluate model improvements and guide high-stakes product and deployment decisions. Presented performance results, risks, and strategic recommendations biweekly to the CEO, directly influencing product prioritization and investment decisions.

Data Scientist

Orpiva.ai

Feb 2023 - Jun 2024

Designed and developed an AI-powered system that ingests a product or business link and automatically generates short-form promotional videos. Built intelligent pipelines to extract and structure content from input links, enabling automated video generation in under 45 seconds. Developed AI-driven methods to generate engaging advertising copy tailored for social media platforms such as Instagram and TikTok. Created and maintained a library of 70+ reusable video templates adaptable to a wide range of products and links. Collaborated on and implemented the core AI and backend components of the system, ensuring scalability and production readiness. Delivered a data-driven solution that significantly streamlined digital marketing content creation.

Sr. Backend Developer

Wegobazzar

Feb 2017 - Jul 2018

Jr. Backend Developer

Tetra

Jun 2015 - Sep 2016

Education

Ph.D. in Computer Software Engineering - University of Tehran

2020 - · Afghanistan

M.Sc. in Information Technology Engineering - Shahid Beheshti University

2015 - 2018 · Afghanistan

B.Sc. in Computer Software Engineering - Shahid Beheshti University

2011 - 2015 · Afghanistan

Certifications

Mitacs Globalink Research Award

Concordia University, Canada · 2025

Certificate of Achievement: Persian LLM | AI Hackathon

· 2024

1st Place, National Computer Vision Challenge (Chessboard Recognition)

FANAP, Iran · 2023

Interested in this developer?

Profile Score Breakdown

📷 Photo 10/10
📄 Resume 10/10
💼 Job Title 10/10
✍️ Bio 10/10
🛠️ Skills 20/20
🎓 Education 10/10
⏱️ Experience 15/15
💰 Rate 0/5
🏆 Certs 5/5
Verified 5/5
Total Score 95/100

Profile Overview

Member sinceMay 2026

Availability Details

Visa Status

Need Sponsorship

Relocation

Open to Relocation