Marina Zhang
· 5 previous affiliations
- Google (United States)Current
- Researcher · Current
- Senior Research Scientist · 2024
- Software Engineer II · 2022–2024
- Software Engineering Intern · 2020
- Doctor of Philosophy - PhD, Computer Science · 2024
- Mathematics and Computer Science · 2017–2021
- Research Assistant · 2017–2019
- Research Assistant · 2019
- Software Engineer Intern · 2019
Research Overview
Marina Zhang focuses on the intersection of artificial intelligence and cybersecurity, specifically the development of robust natural language processing (NLP) models and machine learning-based solutions for security challenges. Her work addresses the inherent vulnerabilities of traditional text processing pipelines to adversarial perturbations and the application of deep learning to hardware security and system-level threat detection. By designing models that are both computationally efficient and resilient to adversarial attacks, she seeks to bridge the gap between theoretical machine learning and the practical requirements of large-scale security infrastructure.
Research Trajectory
Zhang’s research trajectory is characterized by a transition from foundational work in resilient text representation to broader applications in system and hardware security. In 2023, her work focused heavily on the vulnerabilities of standard NLP vectorization techniques. Traditional models often rely on large embedding lookup tables or brittle tokenization methods that are susceptible to "hash-busting" or simple typographical manipulations. To address this, she contributed to the development of vectorization schemes that prioritize resilience and efficiency, ensuring that models maintain performance even when faced with adversarial text.
During this same period, Zhang participated in research extending deep learning techniques to the domain of hardware security. This work explored the use of long-range deep learning models, such as Transformers, to perform side-channel analysis on cryptographic hardware. By moving away from expert-tuned attack models and manual trace preprocessing, this research direction sought to automate the identification of cryptographic vulnerabilities across diverse hardware implementations.
In 2024, Zhang’s focus evolved toward the problem of text similarity and deduplication at scale. Building on her earlier work in resilient vectorization, she led research into models that combine the speed of traditional hashing with the accuracy of neural embeddings. This period also marked an expansion into system-level security tools, specifically the use of deep learning to replace signature-based methods for file content-type detection. This shift reflects a broader interest in replacing fragile, manually curated security heuristics with compact, high-performance neural models capable of operating within the constraints of production environments.
Current Directions
Zhang’s current research continues to emphasize the deployment of machine learning models that are "secure by design." A primary focus remains the optimization of model footprints to ensure that advanced security capabilities can be integrated into high-throughput systems without incurring prohibitive latency or memory costs. This involves the use of novel encoding schemes and compact transformer architectures that maintain high accuracy while remaining under strict resource limits.
Furthermore, her work is increasingly concerned with the multilingual and cross-platform applicability of security models. By developing embeddings and classification tools that are inherently resilient to character-level variations, her research aims to provide a unified defense against adversarial tactics that exploit the nuances of different languages and encoding formats. This direction is particularly relevant for large-scale platforms where anti-abuse systems must process diverse and often adversarial content in real-time.
Representative Work
Zhang’s contributions to the field are most clearly demonstrated in her work on resilient text processing and automated security tools. Her research often involves the creation of lightweight models that outperform established industry standards by leveraging modern deep learning architectures.
As the lead author of RETSim: Resilient and Efficient Text Similarity, Zhang addressed the limitations of existing near-duplicate detection methods. Traditional approaches like MinHash are computationally efficient but lack robustness against adversarial "hash-busting" attacks and common typos. Conversely, standard neural embeddings are accurate but often too slow for massive-scale deduplication. RETSim bridges this gap by utilizing a character-level vectorization approach paired with a compact transformer architecture. The model is designed to be multilingual and remarkably robust, maintaining high performance in detecting similarities even when text has been intentionally or unintentionally perturbed. This work is significant for its ability to provide a scalable solution for dataset deduplication and abuse detection in environments where speed and resilience are equally critical.
In a closely related effort, Zhang served as a primary contributor to the development of RETVec: Resilient and Efficient Text Vectorizer. This research introduced a high-performance, open-source text vectorizer designed to make NLP models more robust to adversarial attacks. RETVec replaces massive, memory-intensive embedding lookup tables with a tiny neural model (approximately 230,000 parameters) and a novel UTF-8 binary encoding scheme. The resulting footprint is under 1MB, making it suitable for deployment in resource-constrained environments. By enabling models to be trained on resilient embeddings from the outset, this work provides a foundational tool for building more secure text classification and language modeling pipelines.
Zhang also participated in the development of Magika: AI-Powered Content-Type Detection, a tool designed to identify file content types with high precision. In this project, the research team sought to replace the industry-standard libmagic, which relies on a complex and often fragile set of manually curated signatures. Magika utilizes a 1MB deep learning model to achieve 99% accuracy in identifying various file types, such as PDF, JavaScript, and executable files. Zhang’s involvement in this work highlights her interest in applying machine learning to core system security tasks, providing a more robust and performant alternative to traditional heuristic-based tools.
In the domain of hardware security, Zhang contributed to research on Generic Attacks against Cryptographic Hardware through Long-Range Deep Learning. This work introduced the Generalized Power Analysis Model (GPAM), a deep-learning system designed for power side-channel analysis. Unlike previous methods that required significant manual preprocessing of oscilloscope traces and expert knowledge of the target hardware, GPAM leverages Transformer architectures and multi-task learning to generalize across different cryptographic algorithms and hardware implementations. This research demonstrates the potential for deep learning to bypass hardened, masked hardware defenses by analyzing raw data traces, representing a significant shift in how side-channel vulnerabilities are assessed.
The evidence of Zhang's work from 2023 to 2025 suggests a consistent focus on the practical deployment of AI in security. While her earlier contributions established a strong foundation in resilient NLP, her more recent participation in projects like Magika and GPAM indicates a broadening of her research scope to encompass diverse facets of the security ecosystem. Her move to Stanford University for doctoral studies in late 2024 suggests a continued commitment to advancing the theoretical and practical boundaries of AI-driven security.
Profile updated
| Title | Venue | Year |
|---|---|---|
| MAGIKA: AI-Powered Content-Type Detection | ICSE | 2025 |
| RETSim: Resilient and Efficient Text Similarity | ICLR | 2024 |
| Generalized Power Attacks against Crypto Hardware using Long-Range Deep Learning | Iacr Trans. Cryptogr. Hardw. Embed. Syst | 2024 |
| RETVec: Resilient and Efficient Text Vectorizer | NeurIPS | 2023 |
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