Zohair Shafi
· 1 previous affiliation
- Northeastern UniversitySince 2021
- PhD student · Since 2021
Research Overview
Zohair Shafi focuses on graph representation learning, machine learning for combinatorial optimization, and the robustness of graph models against adversarial attacks. His trajectory spans from analyzing vulnerabilities in network routing to developing foundational optimization representations and explainable node embeddings. Most recently, his work investigates generative models for neural network weight spaces and uncertainty quantification in graph machine learning.
Research Trajectory
Early in his career, Shafi’s work involved applying deep learning to complex structured data and addressing algorithmic fairness. He participated in developing AI-Bind: Improving Binding Predictions for Novel Protein Targets and Ligands (2021), a pipeline designed to improve drug-target interaction predictions. By combining network-based negative sampling with unsupervised pre-training on millions of molecules, the method mitigates the tendency of models to rely on topological shortcuts, contributing to the research direction of Bridging the Molecular Geometric Representation Gap. Concurrently, he explored fairness in machine learning with RAWLSNET: Altering Bayesian Networks to Encode Rawlsian Fair Equality of Opportunity (2021). This system modifies Bayesian networks to generate aspirational data reflecting ideal fairness, enabling researchers to detect and address biases beyond those present in historical training data.
Between 2022 and 2023, a major theme emerged in his research around the robustness of networks and adversarial attacks on graph structures. He introduced the "Force Path Cut" problem in Attacking Shortest Paths by Cutting Edges (2022), demonstrating the computational hardness of removing edges to manipulate shortest paths. To execute these attacks, he developed an algorithm that provides near-optimal solutions by recasting the vulnerability as a Weighted Set Cover problem. Recognizing the computational difficulty of scaling such attacks, he subsequently developed GRASP: Accelerating Shortest Path Attacks via Graph Attention (2023). This hybrid framework uses graph attention networks to prune large graphs into relevant subgraphs before applying heavy-duty solvers, significantly reducing computational overhead and advancing work in the area of The Search Inference Tradeoff in Learned Solvers. Shifting from attack to mitigation, he proposed Defense Against Shortest Path Attacks (2023), an algorithm that strategically perturbs published edge weights. This defense makes adversarial manipulation prohibitively expensive while maintaining network efficiency for benign users, often reducing attack probability to near zero with minimal increases in travel distance.
By 2025, his focus expanded into accelerating hard combinatorial optimization problems using graph machine learning. He introduced Forge: Foundational Optimization Representations from Graph Embeddings, a method for pre-training a vector-quantized graph autoencoder on diverse mixed-integer programming instances. This unsupervised approach creates discrete vocabularies to represent optimization instances without relying on pre-computed solutions, allowing a single model to generalize across multiple problem distributions. Continuing this trajectory, he developed Accelerated Discovery of Set Cover Solutions via Graph Neural Networks (2025), which uses both supervised learning from prior instances and unsupervised learning to identify smaller sub-problems that contain the solution space for the Set Cover Problem.
Alongside optimization, Shafi investigated the interpretability and reliability of graph representations. He addressed the opaque nature of low-dimensional network vectors in Explaining Node Embeddings (2025), investigating semantic interpretability to understand the real-world meaning of specific latent dimensions. Concurrently, he explored how to handle incomplete data and model uncertainty in REGE: A Method for Incorporating Uncertainty in Graph Embeddings (2025). This approach uses curriculum learning to incorporate data uncertainty and conformal learning to produce embeddings with radius values that explicitly represent the model's output uncertainty, particularly in the presence of adversarial attacks.
Expanding beyond traditional graph representations, he participated in developing DeepWeightFlow: Re-Basined Flow Matching for Generating Neural Network Weights (2026). This work introduces a flow matching model that operates directly in weight space to generate diverse, high-accuracy neural network parameters. By applying techniques for neural network canonicalization to account for permutation symmetries, the method allows for the scalable generation of complete network weights without the need for subsequent fine-tuning.
Current Directions
The most recent work in the evidence points toward three primary research themes. First, there is a strong focus on accelerating combinatorial optimization through graph machine learning. This involves developing foundational, unsupervised representations for mixed-integer programming and using graph neural networks to prune the solution space of NP-hard problems, reducing the reliance on computationally expensive training data.
Second, recent investigations emphasize reliability and transparency in graph models. This is achieved by quantifying both data and model uncertainty through radius-enhanced embeddings and by developing frameworks to interpret the latent dimensions of node representations, ensuring that low-dimensional network vectors can be understood in their real-world contexts.
Finally, emerging work explores generative AI in the context of neural network architectures. By utilizing flow matching and symmetry-aware canonicalization, this research aims to directly sample high-performing network weights from complex, high-dimensional distributions, offering a highly efficient alternative to traditional stochastic gradient descent for model creation.
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