NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Mahyar Najibi

Apple (United States)
4 previous affiliations
40Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Mahyar Najibi focuses on the intersection of computer vision and machine learning, with a primary emphasis on efficient inference, object detection, and the robustness of deep neural networks. His research trajectory spans from foundational work in large-scale information retrieval and single-stage object detection to recent advancements in the efficiency and scalability of Large Language Models (LLMs). Currently, he leads research teams at Apple AI/ML, where his work addresses the computational bottlenecks of modern generative models and multi-modal systems.

Research Trajectory

The early stages of Najibi’s research, primarily during his doctoral studies at the University of Maryland, were characterized by a focus on the computational efficiency of visual search and object localization. This period addressed the "dense" search problem in computer vision, where traditional models relied on exhaustive scanning of image regions. His work contributed to the shift toward Sparse Region Proposals for Efficient Object Detection, seeking to reduce the redundancy of overlapping candidate boxes without sacrificing accuracy. This interest in efficiency extended to the problem of Salient Object Subitizing for Efficient Detection, exploring how models can rapidly estimate object counts to guide more intensive downstream processing.

During this time, Najibi also investigated the "small object problem," a persistent challenge where downsampling in deep networks leads to the loss of fine-grained spatial information. His research explored Feature Map Magnification for Small Object Detection and Multi-Task Synergy for Precise Object Counting), developing methods that allow detectors to maintain high resolution for critical regions while processing the rest of the scene at a lower cost.

Between 2018 and 2021, Najibi’s focus expanded to include machine learning robustness and 3D perception. At Google Research and later Waymo Research, he addressed the vulnerability of deep networks to adversarial perturbations. This work was notable for its emphasis on making robustness "practical"—developing algorithms that could harden networks against attacks without the prohibitive computational overhead typically associated with adversarial training. In the domain of autonomous driving, he contributed to the development of egocentric metrics for 3D object detection, arguing that standard object-centric measures failed to capture the spatial-temporal relationships critical for safe navigation. He also participated in efforts to enable 3D human keypoint estimation from point clouds in an unsupervised manner, reducing the reliance on expensive manual annotations for long-tail cases in robotics.

Since joining Apple AI/ML, Najibi’s research has pivoted toward the optimization of Large Language Models. This current phase addresses the "memory wall" in modern AI, where the speed of inference is limited by memory bandwidth rather than raw compute power. His recent work explores In Situ Weight Generation for Memory Bound Inference and On-the-fly Weight Reconstruction for Memory-Efficient Inference. These efforts aim to compress LLM weights into minimal representations—such as seeds for pseudo-random generators—and reconstruct them dynamically during the forward pass, thereby bypassing the bottleneck of moving massive weight matrices from DRAM to the processor.

Representative Work

On Large-Scale Retrieval: Binary or n-ary Coding? In this early work, Najibi investigated the relative performance of binary and n-ary coding (Product Quantization) for large-scale information retrieval. While binary coding was the prevailing standard for subset indexing, this research demonstrated that n-ary coding could be more effective for distance estimation. The paper introduced Linear Subspace Quantization (LSQ), a method that allows for more flexible encoding than traditional n-ary approaches, improving the efficiency of search in massive datasets.

SSH: Single Stage Headless Face Detector Addressing the complexity of multi-stage object detectors, Najibi developed the Single Stage Headless (SSH) detector. This model achieved state-of-the-art results in face detection by removing the "head" of the underlying classification network—specifically the parameter-heavy fully connected layers—and detecting faces directly from early convolutional layers. The design introduced scale-invariance within a single forward pass, eliminating the need for computationally expensive image pyramids.

AutoFocus: Efficient Multi-Scale Inference This work proposed a coarse-to-fine inference algorithm to optimize the detection of small objects. Rather than processing an entire image at multiple high-resolution scales, AutoFocus predicts "FocusPixels"—regions likely to contain small objects—at a coarse scale. The system then generates compact "FocusChips" to be processed at finer scales. This targeted approach significantly reduces the total number of pixels processed, maintaining high accuracy while improving inference speed.

Adversarial training for free! Standard adversarial training is often computationally impractical for large datasets like ImageNet due to the cost of generating adversarial examples for every training step. Najibi co-authored this approach which "recycles" gradient information computed during model parameter updates to generate adversarial perturbations. This method achieves robustness comparable to traditional Projected Gradient Descent (PGD) training at a negligible additional cost, making robust training feasible for large-scale problems.

Universal Adversarial Training Building on his work in robustness, Najibi explored universal adversarial perturbations—single updates that can cause misclassification across a wide range of different images. This research proposed an optimization-based universal attack that was significantly faster than existing methods. More importantly, it developed efficient techniques for hardening networks against such universal attacks, contributing to the broader understanding of how to secure deep learning models against generalized threats.

Superposition Prompting: Improving and Accelerating Retrieval-Augmented Generation As senior author, Najibi introduced a technique to accelerate Retrieval-Augmented Generation (RAG) in LLMs. Superposition Prompting addresses the quadratic cost of long-context attention by processing multiple retrieved documents in parallel paths. By pruning irrelevant documents early in the process, the method reduces the "distraction phenomenon" in LLMs and achieves substantial speedups in inference—up to 93x in certain configurations—while simultaneously improving the accuracy of the generated responses.

Current Directions

Najibi’s current research is heavily focused on the structural and operational efficiency of generative AI. This includes the development of the OpenELM family of models, which utilizes layer-wise scaling strategies to allocate parameters more effectively than standard uniform architectures. He is also investigating post-training optimization frameworks, such as DynaMoE, which adapt pre-trained dense LLMs into dynamic Mixture-of-Experts (MoE) models. These frameworks allow for token-difficulty-driven routing, where the model adjusts its computational effort based on the complexity of the input token, providing a customizable balance between efficiency and accuracy.

Furthermore, his work in model compression continues to push the boundaries of what is possible on edge hardware. By representing model weights as seeds for pseudo-random generators (as seen in the SeedLM project), his research explores a trade-off where "idle" compute cycles are used to reconstruct weights in situ, drastically reducing the memory bandwidth requirements that currently limit LLM deployment on resource-constrained devices. This trajectory reflects a consistent commitment to making high-performance machine learning models more accessible, robust, and computationally sustainable.

Profile updated

See something wrong? Report a mistake