Reza Madani
Data Scientist @ Deloitte | PhD
Bridging AI, Operations Research, and Business Strategy.
About Me
Hey! I'm Reza. Currently an AI/ML/LLM Analyst at Deloitte in Montreal, I recently completed my Ph.D. in Management Sciences at HEC Montréal. My work focuses on transforming complex business challenges into mathematical models and AI solutions, particularly at the intersection of energy, sustainability, and technology.
I'm passionate about exploring how analytics and AI can drive measurable improvements and how these technologies shape our interaction with markets, nature, and ourselves. I enjoy developing end-to-end ML systems and optimization models to deliver scalable, practical solutions.
Outside of the technical sphere, I enjoy photography, biking, and spending time with my two cats: Apo (calm, structured Apollo) and Dio (emotional, ecstatic Dionysus).


Experience
AI/ML/LLM Analyst
Deloitte
Nov 2024 - Present | Montreal, Canada
- Developing/implementing ML & RAG models for client projects.
- Validating client-side implementations for conceptual soundness and correctness.
- Benchmarking model outputs against established standards.
Researcher (Ph.D. Intern)
Schneider Electric
Nov 2023 - Nov 2024 | Montreal, Canada
- Led research on prosumer evolution, using clustering for personalized offers.
- Analyzed factors influencing prosumer transition and performed risk analysis.
Researcher (Ph.D. Intern)
Brainbox AI
Jan 2023 - Nov 2023 | Montreal, Canada
- Designed large-scale OR & RL models for Demand Response (DR), achieving 8% cost reduction.
- Implemented ML algorithms (NLP, XGBoost) on AWS for consumption forecasting.
Skills
Machine Learning & AI
Deep Learning, LLM Fine-tuning, RAG Systems, Agentic LLMs (LangGraph), ML Pipelines (CNN, RNN, Transformers), Ensemble Methods.
Data Science & Analytics
Statistical Analysis, Hypothesis Testing, A/B Testing, Bayesian Methods, Predictive Modeling, SQL, PostgreSQL, Neo4j.
Optimization & OR
Mathematical Optimization (Linear, Non-linear, Stochastic Programming), Simulation, Gurobi, CPLEX, GAMS.
Software Dev & MLOps
Scalable ML Systems, Docker, Git, MLflow, CI/CD, AWS, Azure, PyTorch, TensorFlow, Scikit-Learn, LangChain, Pandas, PySpark.
Technical Stack:
PyTorch TensorFlow Scikit-Learn XGBoost LangChain Llama-Index Pandas PySpark PostgreSQL Neo4j NLTK spaCy Cplex Gurobi GAMS AWS Azure Docker Git MLflow Prefect
Projects
A selection of research and development projects.
Targeted Demand Response Through Critical Peak Pricing
Developed reinforcement learning models (PPOD, SACD, D3QN) to analyze the impact of Critical Peak Pricing (CPP) on peak load shaving in electricity grids, considering prosumer behavior with DERs (PV, batteries, EVs). Proposed targeted dynamic pricing strategies.
View on GitHubInvestment in Vehicle-to-Grid and Distributed Energy Resources
Performed cost-benefit analysis from distributor and prosumer perspectives for investments in DER, V2G, and EMS. Analyzed the impact of different rate structures using optimization models (Gurobi) and real-world data from Vermont homes.
View on GitHubReinforcement Learning for Demand Response in Commercial Buildings
Created an RL framework to optimize HVAC (discrete) and lighting (continuous) systems in commercial buildings using algorithms like SACD, PPOD, TD3, PPO. Aimed to reduce costs, CO2 emissions, and peak load while maintaining comfort, incorporating risk metrics (VaR, CVaR).
View on GitHubFinancial Q&A RAG System
Built a Retrieval-Augmented Generation (RAG) system using ElasticSearch and a local LLM (Ollama/Qwen) to answer financial questions based on 10-K filings dataset. Provided a Streamlit interface and dockerized deployment.
View on GitHubEV Smart Charging Telegram Bot
Developed a Telegram bot using an LSTM model for forecasting electricity prices/emissions and the Gemini LLM for natural language understanding. Recommends optimal EV charging schedules to minimize cost and environmental impact based on user inputs.
View on GitHubPublications & Talks
Peer-Reviewed Publications
- Madani, Seyyedreza, Ahmadreza Tavassoli & Pierre-Olivier Pineau. (2025). Large Language Models Integration in Smart Grids. Arxiv
- Madani, Seyyedreza, Pierre-Olivier Pineau, & Laurent Charlin. (2025). Smart Grids, Smart Pricing: Employing Reinforcement Learning for Prosumer-Responsive Critical Peak Pricing. Arxiv
- Madani, Seyyedreza, Pierre-Olivier Pineau, & Laurent Charlin & Ysael Desage. (2025). Towards Sustainable Energy Use: Reinforcement Learning for Demand Response in Commercial Buildings. Journal of Energy and Building
- Madani, Seyyedreza, & Pierre-Olivier Pineau. (2024). Investment in Vehicle to Grid and Distributed Energy Resources: Distributor Versus Prosumer's Perspectives and the Impact of Applicable Rates. Utilities Policy
- Madani, Seyyedreza, & Morteza Rasti-Barzoki. (2017). Sustainable Supply Chain Management with Pricing, Greening and Governmental Tariffs Determining Strategies: A Game-theoretic Approach. Computers & Industrial Engineering
- Madani, Seyyedreza, Ali Shahandeh Nookabadi, & Seyed Reza Hejazi. (2018). A Bi-objective, Reliable Single Allocation P-Hub Maximal Covering Location Problem: Mathematical Formulation and Solution Approach. Air Transport Management
- Alinaghian, M., Madani, Seyyedreza, & Moradi, H. (2017). A New Robust Mathematical Model for the Multi-product Capacitated Single Allocation Hub Location Problem with Maximum Covering Radius. International Journal of Supply and Operations Management
Selected Talks & Presentations
- Madani, Seyyedreza. (2024). Smart Grids, Smart Pricing: Employing Reinforcement Learning for Prosumer-Responsive Critical Peak Pricing. 25th International Symposium on Mathematical Programming, Montréal, Canada
- Madani, Seyyedreza. (2024). Smart Grids, Smart Pricing: Employing Reinforcement Learning for Prosumer-Responsive Critical Peak Pricing. 45th IAEE International Conference, Istanbul, Türkiye
- Madani, Seyyedreza. (2023). Targeted Dynamic Electricity Pricing Using Deep Reinforcement Learning. 2023 POMS, Paris, France
- Madani, Seyyedreza. (2023). Investment in Vehicle to Grid and Distributed Energy Resources. GERAD, Montréal, Canada
Education
Ph.D. in Business Administration (Management Science)
HEC Montréal, Canada
Jan 2019 - Nov 2024
Thesis: Prosumer-Distributor Dynamics in DER Adoption.
M.Sc. in Industrial Engineering
Isfahan University of Technology, Iran
Sep 2014 - Jan 2017
B.Sc. in Industrial Engineering
University of Tehran, Iran
Sep 2010 - Sep 2014
Get In Touch
Feel free to reach out via email or connect on social platforms.
Montreal, Quebec, Canada