Nikhil Pratap Ghanathe
· 4 previous affiliations
- d-Matrix Inc. (United States)Since 2025
- Staff Performance Architect · Since 2025
- Current
- Postdoc · 2025
- PhD student · 2019–2025
- Microsoft (United States)2017–2019
- Researcher · 2017–2019
- University of Florida2014–2016
- MS student · 2014–2016
Research Overview
Nikhil Pratap Ghanathe focuses on the intersection of machine learning, embedded systems, and hardware acceleration, with a primary emphasis on Deep Learning for Resource-Constrained Microcontrollers. His research addresses the technical barriers to deploying sophisticated neural networks on ultra-low-power "TinyML" devices, which typically operate within strict kilobyte-scale memory and milliwatt-scale power envelopes. By developing specialized compilers, novel architectural frameworks, and robust monitoring techniques, he aims to improve the efficiency, reliability, and diagnostic capabilities of machine learning models deployed at the extreme edge of the Internet of Things (IoT).
Research Trajectory
Ghanathe’s research trajectory began with a focus on the software and hardware infrastructure required to bridge the gap between high-level machine learning frameworks and constrained embedded hardware. During his tenure at Microsoft Research India, he contributed to the development of compilation tools designed to translate floating-point ML models into efficient fixed-point code suitable for IoT devices. This work addressed the fundamental inefficiency of simulating IEEE-754 floating-point operations on hardware that lacks native support for such arithmetic.
Following this, his work expanded into hardware-specific acceleration, particularly for Field-Programmable Gate Arrays (FPGAs). He investigated how general-purpose High-Level Synthesis (HLS) tools often fail to exploit the specific mathematical properties of machine learning inference. This led to the development of specialized tools that provide native support for linear algebra operations on small form-factor FPGAs, optimizing performance for IoT-scale applications.
As his doctoral research at the University of British Columbia progressed, Ghanathe shifted his focus from general efficiency to architectural innovations and system reliability. He began exploring "early-exit" neural network architectures, which allow a model to terminate computation early if an intermediate classifier reaches a sufficient confidence threshold. This approach mitigates the "overthinking" problem in neural networks, where additional layers do not necessarily improve accuracy but continue to consume energy and time.
Most recently, Ghanathe has pivoted toward the challenge of "self-awareness" and trust in TinyML systems. Recognizing that models in the field often encounter dynamic environments and out-of-distribution data, he has developed methods for on-device uncertainty quantification and debugging. This work involves Distributed Uncertainty Estimation Across Neural Network Depths, allowing devices to monitor their own performance without access to ground-truth labels or cloud connectivity.
Current Directions
Ghanathe’s current research is concentrated on three primary pillars: uncertainty quantification, on-device diagnostics, and machine learning for hardware design.
A central theme of his recent work is the development of resource-efficient ensemble methods. Traditional ensemble techniques, which provide high-quality uncertainty estimates by averaging multiple models, are typically too memory-intensive for microcontrollers. Ghanathe’s current approach utilizes Training with Detachable Auxiliary Modules for Efficient Inference, where complex auxiliary structures are used during training to distill diverse perspectives into lightweight output heads, which are then used for inference.
In the domain of system reliability, he is investigating Hyper-Dimensional Computing (HDC) as a mechanism for on-device debugging. This involves encoding model activations into high-dimensional vectors to identify the root causes of failures in remote deployments. This direction seeks to provide diagnostic capabilities for "always-on" devices where privacy concerns or bandwidth limitations prevent the offloading of raw sensor data for offline analysis.
Additionally, Ghanathe continues to collaborate on the application of machine learning to FPGA Computer-Aided Design (CAD) algorithms. This work explores how ML-based predictors can be integrated into the FPGA routing process while managing the inherent risks of inaccurate predictions. He also maintains an interest in the application of TinyML and IoT for environmental sustainability, specifically in the context of efficient carbon capture systems.
Representative Work
Compiling KB-sized machine learning models to tiny IoT devices In this work, Ghanathe and his collaborators at Microsoft Research addressed the challenge of running ML models on devices that lack floating-point units. They introduced SeeDot, a domain-specific language and compiler that transforms ML inference algorithms into fixed-point code. The compiler uses a systematic approach to determine the required precision for different variables, ensuring that the resulting code fits within the limited memory of microcontrollers while maintaining acceptable accuracy.
MAFIA: Machine Learning Acceleration on FPGAs for IoT Applications As the lead author, Ghanathe proposed MAFIA, a tool designed to compile ML inference specifically for small form-factor FPGAs. The research identified that existing ML-to-FPGA compilers were largely optimized for large-scale devices and deep neural networks. MAFIA addressed this by providing a specialized HLS-based flow that exploits the properties of linear algebra operations common in IoT-scale ML models, outperforming standard HLS variants in both latency and resource utilization.
T-RecX: Tiny-Resource Efficient Convolutional neural networks with early-eXit This paper presents an early-exit network architecture optimized for the strict constraints of TinyML. Ghanathe demonstrated that by adding intermediate classifiers to tiny neural networks, systems could save significant compute cycles on "easy" inputs. The work introduced a novel method to mitigate the computational overhead of these intermediate layers, ensuring that the benefits of early termination were not offset by the cost of the additional classifiers. This research received a Best Paper Award at the International Conference on Computing Frontiers.
QUTE: Quantifying Uncertainty in TinyML models with Early-exit-assisted ensembles for model-monitoring Ghanathe developed QUTE to provide high-quality uncertainty estimates on resource-constrained microcontrollers. The architecture uses temporary "early-exit" blocks during the training phase to encourage diversity among multiple lightweight output heads located at the final exit. During inference, the heavy early-exit machinery is discarded, leaving a compact ensemble capable of quantifying prediction uncertainty. This method achieved a significant reduction in model size and latency compared to prior state-of-the-art uncertainty quantification techniques.
DEBUG-HD: Debugging TinyML models on-device using Hyper-Dimensional computing Addressing the difficulty of diagnosing failures in field-deployed TinyML systems, Ghanathe proposed DEBUG-HD. This framework utilizes hyper-dimensional computing to encode the internal states of a model into a robust, compressed format. By comparing these encodings against a known "correct" behavior profile on-device, the system can identify the root causes of failures—such as sensor noise or environmental shifts—without requiring the transmission of raw data to a central server.
Enabling Risk Management of Machine Learning Predictions for FPGA Routability In this collaborative work within the UBC SoC Research group, Ghanathe contributed to a framework for managing the risks associated with using ML in FPGA CAD tools. The research focused on the routability prediction problem, where inaccurate ML predictions can lead to significant delays in the hardware design flow. The proposed method allows the CAD tool to quantify the risk of a prediction and adjust its optimization strategy accordingly, balancing the speedups offered by ML with the need for reliable routing outcomes.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake