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

Louai Zahran

Ritual
4 previous affiliations
6Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Louai Zahran focuses on the security and privacy of large-scale machine learning systems, with a specific emphasis on the vulnerabilities of third-party Large Language Model (LLM) inference. His work investigates the tension between the computational necessity of outsourcing LLM workloads and the requirement for data confidentiality. Zahran’s research trajectory involves both the adversarial analysis of existing privacy-preserving mechanisms and the development of high-performance protocols for Non-Collusion Assumptions for Efficient Multi-Server Privacy. By identifying fundamental flaws in permutation and noise-based defenses, his recent contributions have shifted the focus toward token-sharding and verifiable inference as more robust alternatives for private computation.

Research Trajectory

The evolution of Zahran’s research is characterized by a rapid transition from identifying cryptographic weaknesses in emerging LLM privacy schemes to proposing architectural solutions that address both privacy and computational integrity. In early 2025, his work centered on the adversarial evaluation of "private third-party inference" schemes. These schemes were designed to allow users to query LLMs hosted by external providers without revealing the underlying prompts. Zahran’s contributions in this area demonstrated that many proposed defenses, particularly those relying on mathematical transformations like permutations or the addition of noise to hidden states, were insufficient to prevent data reconstruction.

This analytical phase established that intermediate mathematical representations—often referred to as hidden states—leak significant information about the original input. Zahran’s work showed that even when these states are obfuscated, sophisticated reconstruction techniques can recover user prompts with high accuracy, especially in the context of open-weights models where the adversary has full knowledge of the model architecture.

Following these findings, Zahran’s focus shifted toward the design of more resilient and efficient inference protocols. Recognizing that standard cryptographic primitives like Secure Multi-Party Computation (SMPC) often impose prohibitive overhead for LLMs, he contributed to the development of sharding-based approaches. This work seeks to distribute the computational burden across multiple non-colluding nodes in a manner that preserves privacy without the latency penalties associated with traditional encryption. Most recently, his research has expanded to include the problem of "verifiable inference," addressing the risk of dishonest providers returning outputs from cheaper, inferior models instead of the requested LLM.

Current Directions

Zahran’s current work is concentrated on two primary pillars: high-performance private inference and the dual use of privacy mechanisms for verification. The first pillar involves refining token-level sharding techniques to replace heavy cryptographic operations. By distributing slices of a prompt across a distributed network, these protocols aim to achieve inference speeds comparable to vanilla (non-private) execution while maintaining resistance to the reconstruction attacks identified in his earlier work.

The second pillar explores a novel insight in the field: the potential for privacy-preserving mechanisms to facilitate verifiable inference. In a typical third-party setting, a user has no guarantee that the provider actually ran the specified model. While Zero-Knowledge Proofs (ZKPs) offer a theoretical solution for verification, they are currently too computationally expensive for models with billions of parameters. Zahran’s recent research investigates whether the same mathematical structures used to hide data can be repurposed to provide "cheap" proofs of correct execution, thereby ensuring both the privacy of the input and the integrity of the output.

Representative Work

Zahran’s contributions are documented across several key papers, primarily as a second author, indicating a significant role in the technical execution and conceptual development of these projects.

In An Attack to Break Permutation-Based Private Third-Party Inference Schemes for LLMs, Zahran and his collaborators analyzed the security of recently proposed schemes intended to protect user prompts during inference. The research demonstrated that permutation-based defenses—which attempt to hide information by reordering data elements—are fundamentally insecure against modern reconstruction attacks. This work served as a critical corrective to the field, highlighting that simple mathematical transformations are often insufficient for high-dimensional LLM data.

The paper Hidden No More: Attacking and Defending Private Third-Party LLM Inference expanded on this adversarial theme. Zahran contributed to the development of a novel reconstruction technique capable of recovering original prompts from the hidden states of state-of-the-art LLMs. The study showed that these attacks remain effective even against noise-based defenses, challenging the prevailing assumptions about the privacy guarantees of intermediate representations in the open-weights setting. A related version of this research, Hidden No More: Attacking and Defending Private Third-Party LLM Inference, further detailed these reconstruction techniques, emphasizing their practical efficacy across multiple model architectures.

Transitioning toward constructive solutions, Zahran co-authored Cascade: Token-Sharded Private LLM Inference. This paper introduces a high-performance protocol that replaces traditional cryptographic primitives with token-level sharding. By distributing prompt slices across multiple nodes, the Cascade protocol achieves significant improvements in inference speed and communication costs—reportedly up to 100x faster than standard SMPC—while remaining resistant to the reconstruction attacks Zahran previously identified.

Zahran’s work on the intersection of privacy and integrity is represented by Do Privacy Mechanisms Enable Cheap Verifiable Inference of LLMs? An Initial Exploration. This research addresses the problem of dishonest providers who might substitute a requested large model with a cheaper, weaker one. The paper explores the hypothesis that privacy-preserving methods can be leveraged to verify computation more efficiently than standard cryptographic proofs. This line of inquiry was further formalized in Privacy-Preserving Mechanisms Enable Cheap Verifiable Inference of LLMs, which presents a more developed framework for using privacy tools to provide guarantees on the computation performed by third-party hosting services. This work is particularly relevant as LLMs continue to grow in size, making local hosting and traditional verification increasingly infeasible for most users.

Profile updated

See something wrong? Report a mistake