Inaam Ilahi

Pakistan National · Whatsapp · inaamilahi.work@gmail.com
Python Developer · NoSQL Database Expert · Data Scientist · Machine Learning Engineer · Data Engineer

I am a seasoned Python Developer and Machine Learning Engineer with 6+ years of experience, specializing in Deep Reinforcement Learning and Data Engineering. With a strong academic background including a Master's in Computer Science and multiple published research papers, I bring expertise in developing scalable backend solutions, optimizing algorithms, and implementing AI-driven systems. As a former Lead Backend Developer and current freelancer, I have successfully delivered complex projects involving data processing pipelines, REST APIs, and machine learning solutions that improved operational efficiency by up to 500%. My work spans across IoT optimization, adversarial machine learning, and large-scale data processing systems.


Experience

Freelancer | Python Expert

Fiverr | Upwork | Freelancer
January 2019 - Present

Lead Backend Developer | Data Engineer | Data Scientist | Technical Project Manager

Ibtidah Solutions Pvt. Ltd., Lahore, Pakistan
  • Developed optimization algorithms to solve various real-world problems at hand.
    • Developed an algorithm to assign orders to a given fleet based on various calculations. This algorithm increased the order assignment's success rate from 70% (manual assignment) to 90% (algorithmic assignment).
    • Optimized this algorithm to increase speed and reduce complexity to handle more orders.
    • Increased the maximum daily order count from 1000 to 3500.
    • The system I designed and developed is scalable and can handle more than 10,000 orders.
    • Developed scripts that manage these orders and perform updates regularly.
  • Designed schema for databases and developed complex REST APIs for multiple projects:
    • Rider On-boarding System (Dashboard | Desktop Application)
    • Order Management System (Dashboard | Desktop Application | Mobile Application)
    • AI Assistant (Mobile Application)
    • Organization Management System (Dashboard | Desktop Application)
    • Payment Management System (Dashboard | Desktop Application)
  • Worked on projects in Machine Learning, Deep Learning, and AI:
    • Designing and developing the KMeans algorithm to increase the speed of order assignment.
    • Testing various algorithms on a dataset provided by the client to find patterns in data.
  • Developed multiple scripts to crawl and scrap data from numerous websites. Created multiple ETL pipelines for data processing focusing on efficiently and effectively maintaining the data.
    • Extracted doctor's information from a list of websites the client provided and populated the data in a database.
    • Extracted complete data from Trip Advisor and downloaded and saved all the images.
    • Extracted news articles from several websites and populated a single database to search through that data. Developed scripts that continuously go through those websites looking for new articles.
    • Developed a scrapper to crawl through all the websites looking for emails.
    • Developed scripts to crawl and scrap data for numerous other websites as per the client's requirements.
  • Developed web automation scripts to automate certain tasks over the internet and generate required results.
  • Managed a team of junior to mid-level back-end developers.
    • Deciding the tasks for the team and explaining the client requirements.
    • Managing the tasks of the team on the Jira board.
    • Verifying and approving pull requests.
June 2021 - March 2025

Research Assistant

Information Technology University (ITU), Lahore, Pakistan

I worked under the supervision of Prof. Junaid Qadir. Major part of my research included applying deep reinforcement learning for solving multiple problems.

  • Researched the ethics, explainability, and privacy of Natural Language Processing.
  • Researched on Incentive-Aware Federated Learning.
  • Researched on Deep Image Prior. We performed multiple adversarial attacks on Deep Image Prior algorithms and worked on robustifying them.
  • Assisted in teaching the "IHSAN for Muslim Professional" course.
  • Researched on applying Deep Reinforcement Learning in networks and its' vulnerabilities and how these models can be robustified.
July 2020 - April 2021

Graduate Research Fellow and Teaching Assistant

Information Technology University (ITU), Lahore, Pakistan
  • Researched on Deep Reinforcement Learning in IoT with Dr. Junaid Qadir.
  • Researched robust ML models with Dr. Umar Janjua.
  • Assisted Sarfraz Raza in teaching two courses, i.e., Computing Fundamentals & Programming, and Object-Oriented Programming.
September 2019 - June 2020

Engineering Intern

Avanceon, Lahore, Pakistan.

I worked on designing and implementing the human machine interfaces for programmable logic controllers applied in industry. Furthermore, I even helped in the internal factory acceptance testing of PLCs before being deployed in industry.

January 2018 - April 2018

Project Intern

ATG Plant Automation, Lahore, Pakistan.

I learned about the basics and some advanced topics of industrial automation.

August 2016 - October 2016

AI Portfolio

LoRa Network Optimization using DRL

Master's Thesis Project

Developed a deep reinforcement learning algorithm for the dynamic selection of physical layer parameters of LoRa devices. This innovation enabled the creation of large LoRa networks with optimized parameter combinations, maintaining peak inter-communication efficiency.

Deep RL IoT Python TensorFlow

Urdu Image Caption Generator

Research Project

Engineered an Attention-based LSTM architecture for generating Urdu captions in Nastalique font for input images. Successfully overcame challenges including dataset scarcity and resource limitations to create a pioneering solution in Urdu NLP.

Deep Learning NLP Computer Vision PyTorch

Quadcopter Dead-reckoning System

Bachelor's Final Year Project

Developed an innovative navigation system for quadcopters that eliminates GPRS dependency in remote areas, enabling autonomous operation in GPS-denied environments.

Robotics Sensor Fusion Control Systems Arduino

Publications (This section is not up-to-date)

Examining Machine Learning for 5G and Beyond through an Adversarial Lens

Usama, M., Mitra, R. N., Ilahi, I., Qadir, J., & Marina, M. K.
Accepted at IEEE Computing 2021


Abstract
Spurred by the recent advances in deep learning to harness rich information hidden in large volumes of data and to tackle problems that are hard to model/solve (e.g., resource allocation problems), there is currently tremendous excitement in the mobile networks domain around the transformative potential of data-driven AI/ML based network automation, control and analytics for 5G and beyond. In this article, we present a cautionary perspective on the use of AI/ML in the 5G context by highlighting the adversarial dimension spanning multiple types of ML (supervised/unsupervised/RL) and support this through three case studies. We also discuss approaches to mitigate this adversarial ML risk, offer guidelines for evaluating the robustness of ML models, and call attention to issues surrounding ML oriented research in 5G more generally.

January 2021

Intelligent Resource Allocation in Dense LoRa Networks using Deep Reinforcement Learning (Under Review)

Ilahi, I., Usama, M., Farooq, M. O., Janjua, M. U., & Qadir, J.
arXiv preprint arXiv:2012.11867


Abstract
The anticipated increase in the count of IoT devices in the coming years motivates the development of efficient algorithms that can help in their effective management while keeping the power consumption low. In this paper, we propose LoRaDRL and provide a detailed performance evaluation. We propose a multi-channel scheme for LoRaDRL. We perform extensive experiments, and our results demonstrate that the proposed algorithm not only significantly improves long-range wide area network (LoRaWAN)'s packet delivery ratio (PDR) but is also able to support mobile end-devices (EDs) while ensuring lower power consumption. Most previous works focus on proposing different MAC protocols for improving the network capacity. We show that through the use of LoRaDRL, we can achieve the same efficiency with ALOHA while moving the complexity from EDs to the gateway thus making the EDs simpler and cheaper. Furthermore, we test the performance of LoRaDRL under large-scale frequency jamming attacks and show its adaptiveness to the changes in the environment. We show that LoRaDRL's output improves the performance of state-of-the-art techniques resulting in some cases an improvement of more than 500% in terms of PDR compared to learning-based techniques.

December 2020

LoRaDRL: Deep Reinforcement Learning Based Adaptive PHY Layer Transmission Parameter Selection for LoRaWAN

Ilahi, I., Usama, M., Farooq, M. O., Janjua, M. U., & Qadir, J.
Accepted at IEEE LCN 2020 - Ranking: A


Abstract
The performance of densely-deployed low-power wide-area networks (LPWANs) can significantly deteriorate due to packets collisions, and one of the main reasons for that is the rule-based PHY layer transmission parameters assignment algorithms. LoRaWAN is a leading LPWAN technology where LoRa serves as the physical layer. Here, we propose and evaluate a deep reinforcement learning (DRL)-based PHY layer transmission parameter assignment algorithm for LoRaWAN. Our algorithm ensures fewer collisions and better network performance compared to the existing state-of-the-art PHY layer transmission parameter assignment algorithms for LoRaWAN. Our algorithm outperforms the state of the art learning-based technique achieving up to 500% improvement of PDR in some cases.

September 2020

Challenges and Countermeasures for Adversarial Attacks on Deep Reinforcement Learning

Ilahi, I., Usama, M., Qadir, J., Janjua, M. U., Al-Fuqaha, A., Hoang, D. T., & Niyato, D.
arXiv preprint arXiv:2001.09684v1


Abstract
Deep Reinforcement Learning (DRL) has numerous applications in the real world thanks to its outstanding ability in quickly adapting to the surrounding environments. Despite its great advantages, DRL is susceptible to adversarial attacks, which precludes its use in real-life critical systems and applications (e.g., smart grids, traffic controls, and autonomous vehicles) unless its vulnerabilities are addressed and mitigated. Thus, this paper provides a comprehensive survey that discusses emerging attacks in DRL-based systems and the potential countermeasures to defend against these attacks. We first cover some fundamental backgrounds about DRL and present emerging adversarial attacks on machine learning techniques. We then investigate more details of the vulnerabilities that the adversary can exploit to attack DRL along with the state-of-the-art countermeasures to prevent such attacks. Finally, we highlight open issues and research challenges for developing solutions to deal with attacks for DRL-based intelligent systems.

July 2020

Education

Information Technology University (ITU), Lahore, Pakistan.

Master's of Computer Science
GPA: 3.46

My thesis was supervised by Dr. Junaid Qadir. Apart from that, I took the following courses:

  • Deep Learning by Dr Mohsen Ali
  • Machine Learning by Dr. Ali Ahmed
  • Natural Language Processing by Dr. Agha Ali Raza
  • Computer Vision by Dr. Mohsen Ali
  • Advanced Computer Architecture by Mr. Bilal Hashmi
  • Advanced Algorithm Analysis by Dr. Waqas Sultani
  • Advanced Operating Systems by Madam. Momina Azam
  • Advanced Automata by Dr. Falak Sher
September 2018 - September 2020

National University of Sciences and Technology (NUST), Islamabad, Pakistan.

Bachelors of Electrical Engineering
GPA: 3.05

My thesis was supervised by Dr. Fahad Mumtaz Malik.

September 2013 - September 2017

Skills

Core Competencies
Python Development
Machine Learning
Backend Development
API Development
Database Development and Deployment
Web Scrapping / Data Mining / Data Extraction
Web Automation
Cloud Computing
Programming Languages & Tools

Certifications

  • Google Project Management Professional Certificate (Consisted of 6 further courses)
    • Foundations of Project Management
    • Project Initiation: Starting a Successful Project
    • Project Planning: Putting it all together
    • Project Execution: Running a Project
    • Agile Project Management
    • Capstone: Applying Project Management in the Real World
  • Introduction to Backend Development by Meta on Coursera
  • Developing Applications in Python on AWS by AWS on Coursera
  • Introduction to MongoDB by MongoDB on Coursera
  • Deep Learning Fundamentals from Cognitive Class
  • Python for Data Science from Cognitive Class
  • Neural Networks and Deep Learning from Coursera
  • Adobe Photoshop for Web-Designing and Picture Editing