Directional Feedback Guided by Failure Modes for Inference-Efficient LLM Reasoning in Telecom Mathematics
M. A. Shakeel, N. U. Hassan
Available for PhD & freelance engagements
AI Researcher & Machine Learning Engineer.
MSc AI at LUMS researching inference-efficient LLM reasoning. I ship production AI systems — agentic pipelines, RAG, MLOps — and publish peer-reviewed work on the side.

Current research
Failure-Mode-Guided Directional Feedback for LLM reasoning
About
I'm an MSc Artificial Intelligence candidate at the Lahore University of Management Sciences, working with Dr. Naveed-ul-Hassan on inference-efficient LLM reasoning. My thesis introduces FMGDF — a three-pass agentic pipeline that uses failure-mode taxonomies to maximise accuracy under tight call-count and token budgets.
Alongside research I teach 300+ undergraduates at the University of Lahore and ship LLM systems for industry — RAG, agentic workflows, MLOps pipelines on AWS Bedrock and Kubernetes. I care about the boring parts: reproducibility, evaluation harnesses, cost per call, and graceful failure.
"Most LLM gains come from disciplined feedback loops, not bigger models."
For PhD committees
Focused on LLM reasoning, agentic systems, and the physics of learning under constraint. Actively seeking PhD positions starting Fall 2026.
M. A. Shakeel, N. U. Hassan
Z. Hussain*, M. A. Shakeel*, N. U. Hassan, H. Chen, C. Yuen
M. A. Shakeel et al.
Sept 2024 — Present
LUMS, EE Department
Graduate Research Assistant — LLM Reasoning & Inference Efficiency
2025
LUMS, EE Department (PIMRC 2026)
Research Contributor — LLM-Driven 6G Network Control
2024 — 2025
LUMS, Physics Department
Research Contributor — Quantum Machine Learning
For founders & teams
Engagements range from rapid LLM prototypes to production MLOps overhauls. Available for contract, retainer, or advisory.
Multi-turn agentic workflows with LangChain, Bedrock Agents, FAISS / Chroma vector stores, tool-use, and Knowledge Bases.
From notebook to production: Docker, Kubernetes, GitHub Actions CI/CD, MLflow tracking, DVC versioning, AWS deployment.
PyTorch fine-tuning, structured A/B experiments, bias audits, calibration analysis, and responsible-AI reporting.
Async REST endpoints, OpenAPI schemas, and provider-agnostic backends so model swaps require only a config change.
Image classification, tabular ML (XGBoost, ensembles), imbalanced-data techniques, ONNX export, REST serving.
Airflow DAGs, Spark transformations, Hadoop/Hive batch processing, Dask for distributed workloads.
Co-author on ML / LLM / quantum-ML papers — problem framing, experimental design, ablations, LaTeX manuscript prep, and rebuttal support for IEEE / NeurIPS-tier venues.
Literature reviews, dataset curation, baseline reproductions, and end-to-end experiment running for PhD students, labs, and independent researchers.
Long-term remote support for founders and academics: inbox triage, calendar and travel, manuscript formatting, slide decks, data entry, and light automation in Python / Zapier.
Selected work
Multi-agent workflow with LangChain tool use, REST calls for real-time data, deployed as an AWS microservice.
Designed and built a touch-friendly monitoring & control UI for a solar inverter — real-time telemetry (V, I, kWh, battery SOC), fault alerts, and Modbus/MQTT backend integration.
Real-time hand-sign / mudra classifier using MediaPipe landmarks + a lightweight CNN over OpenCV — maps sequences to jutsu and overlays anime-style visual effects on the webcam feed.
Binary classifier on HAM10000 with Dask distributed computing. 92.81% accuracy. ONNX export + REST.
End-to-end agentic assistant with RAG over FAISS and Chroma for property search and legal Q&A.
LR, RF, XGBoost, GBM compared with SMOTE on imbalanced finance data. Full lifecycle in MLflow.
ETL on HDFS + Hive across a multi-node Hadoop cluster, extended with Apache Spark for analytics.
Trajectory
Jun 2024 — Present
University of Lahore
Junior Lecturer, CS & IT
Jul 2024 — Feb 2026
Phoenux Design (Remote)
AI & Web Projects Associate
2022 — 2024
Bugsfree Solutions · Phoenux Design
AI Research Intern / Web Designer
Toolkit
Generative AI & Agents
ML & AI Frameworks
MLOps & Deployment
Data & Distributed
Programming
Get in touch
Whether you're recruiting for a PhD cohort or need an AI engineer for a shipping deadline, I read every message.