Mohamed Wahib

Mohamed Wahib

RIKEN · RIKEN Center for Computational Science
3 previous affiliations
120Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Mohamed Wahib focuses on the convergence of high-performance computing and artificial intelligence, specifically targeting scalable deep learning, intelligent programming systems, and the performance optimization of memory-bound applications. His trajectory spans from early GPU kernel optimizations and automated stencil frameworks to modern distributed training architectures. Recently, his work addresses extreme-scale deep learning systems, including communication-efficient sparse matrix operations and adaptive token reduction for vision transformers.

Research Trajectory

Mohamed Wahib’s early research explored the application of parallel computing frameworks to complex optimization problems. This foundational work included the development of a Hybrid of genetic algorithm and local search to solve MAX-SAT problem using nVidia CUDA framework, demonstrating how early GPU architectures could accelerate combinatorial solvers.

As hardware evolved, his focus shifted toward alleviating the memory bandwidth bottlenecks that plague high-performance computing (HPC) applications. He introduced A versatile software systolic execution model for GPU memory-bound kernels, known as the Software Systolic Array Model (SSAM). By utilizing warp shuffle primitives to pass partial sums directly between threads, this model shifted the data bottleneck from shared memory to faster register files, contributing significantly to the research area of Register Constrained Instruction Scheduling. Continuing in the domain of automated kernel optimization, he participated in the design of AN5D: automated stencil framework for high-degree temporal blocking on GPUs, a system that enabled unprecedented temporal blocking to reduce memory traffic. He also evaluated emerging hardware paradigms in HPC, analyzing their practical utility in Matrix Engines for High Performance Computing: A Paragon of Performance or Grasping at Straws?.

A major theme in his trajectory is the optimization of iterative, memory-bound simulations. He led the development of the PERKS (PERsistent KernelS) execution model, detailed initially in Persistent Kernels for Iterative Memory-bound GPU Applications and formalized in PERKS: a Locality-Optimized Execution Model for Iterative Memory-bound GPU Applications. By moving the iterative time loop from the CPU host directly onto a persistent GPU kernel, PERKS recycles unused on-chip registers and shared memory to cache data across iterations. This approach drastically reduced global memory traffic and advanced the broader area of Hardware Assisted Synchronization for Many Core Scaling. Building on these memory hierarchy optimizations, he introduced EBISU in Revisiting Temporal Blocking Stencil Optimizations. Counter to traditional GPU wisdom that maximizes occupancy to hide latency, EBISU intentionally runs at low occupancy to free up on-chip memory for aggressive temporal blocking. He further refined this methodology in Exploiting Scratchpad Memory for Deep Temporal Blocking: A case study for 2D Jacobian 5-point iterative stencil kernel (j2d5pt), demonstrating how tiling data to fit entirely within GPU scratchpad memory can match the performance of complex automated tools using simpler, hand-written code.

In recent years, Wahib has increasingly applied his HPC expertise to the extreme scalability of deep learning systems. He guided the development of KAKURENBO: Adaptively Hiding Samples in Deep Neural Network Training, a dynamic training framework that accelerates deep learning by temporarily hiding the least important data samples during each epoch, thereby reducing training time with negligible impact on accuracy. He also explored automated hyperparameter and regularization tuning in Vision Transformer-based Meta Loss Landscape Exploration with Actor-Critic Method, treating the training of Vision Transformers as a reinforcement learning problem to navigate the validation loss landscape.

His work on AI systems extends across diverse hardware architectures and model modalities. He contributed to autoGEMM: Pushing the Limits of Irregular Matrix Multiplication on Arm Architectures, optimizing core computational kernels for non-GPU platforms. Addressing the quadratic compute costs of attention mechanisms in high-resolution image analytics, he collaborated on Adaptive Patching for High-resolution Image Segmentation with Transformers. This research draws inspiration from Adaptive Mesh Refinement in HPC to dynamically patch images, a technique central to the research direction of Token Reduction for Efficient Vision Transformers. He expanded on this with SHF: Symmetrical Hierarchical Forest with Pretrained Vision Transformer Encoder for High-Resolution Medical Segmentation, replacing uniform image patching with an adaptive, tree-based approach that focuses computational power on high-detail regions.

Wahib’s most recent trajectory tackles the communication and memory bottlenecks of massive, distributed AI models. He contributed to A General and Scalable GCN Training Framework on CPU Supercomputers, enabling large-scale graph neural network training. To address the communication overhead in distributed environments, he oversaw the development of SHIRO: Near-Optimal Communication Strategies for Distributed Sparse Matrix Multiplication, which treats data transfer as a graph optimization problem tailored to the hierarchical structure of modern GPU clusters. Investigating the internal mechanics of large language models, his team published Understanding Cross-layer Contributions to Mixture-of-Experts Routing in LLMs, revealing how routing decisions are driven by entangled, long-range interactions across layers rather than purely local processes. Simultaneously, he continues to push the boundaries of hardware utilization with FRUGAL: Pushing GPU Applications beyond Memory Limits, an application-agnostic framework that formulates memory management as an optimization over an application’s execution graph to sustain high performance despite physical memory constraints.

Current Directions

Recent work investigates the scalability, internal mechanics, and resource management of massive artificial intelligence models. The most recent papers in the evidence address the complex routing behaviors in Mixture-of-Experts (MoE) architectures, uncovering how early-layer experts exert long-range influence on routing decisions deep within large language models. Concurrently, ongoing research focuses on distributed communication strategies for sparse matrix operations, utilizing hierarchical graph optimization to scale across large GPU clusters. Another major current theme is foundational memory management for hardware accelerators, developing application-agnostic frameworks that optimize prefetching and offloading to push GPU applications beyond their physical memory limits. This dual focus on algorithmic efficiency and system-level resource management continues to drive advancements in high-performance AI systems.

Profile updated

See something wrong? Report a mistake