Samyak Gupta
· 2 previous affiliations
- Princeton UniversitySince 2020
- PhD student · Since 2020
- Undergrad student · 2016–2020
Research Overview
Samyak Gupta focuses on the security and privacy of machine learning systems, with a particular emphasis on federated learning and large language models. His trajectory spans from analyzing data reconstruction vulnerabilities in distributed training to evaluating the safety alignment of generative architectures. His most recent work investigates adversarial jailbreaks and the privacy implications of retrieval-augmented generation.
Research Trajectory
Gupta’s early research examined vulnerabilities in distributed machine learning, specifically focusing on the research direction of Reconstructing Private Data from Federated Learning Gradients. In 2021, he contributed to Evaluating Gradient Inversion Attacks and Defenses in Federated Learning, which systematically assessed the threat of malicious participants recovering private client data from shared gradients. This work demonstrated that relaxing the strong assumptions made by existing attacks could substantially weaken them, and it evaluated the trade-offs between privacy leakage and data utility when deploying defense mechanisms.
In parallel with his core focus on privacy, Gupta participated in systems-level research for scientific computing. He collaborated on Distill: Domain-Specific Compilation for Cognitive Models (2022), which introduced a domain-specific compiler designed to accelerate cognitive modeling. By translating Python code into efficient LLVM Intermediate Representation, the compiler removes unnecessary overheads and enables advanced optimizations, making complex cognitive modeling more computationally feasible.
Returning to the intersection of privacy and natural language processing, Gupta led a study on data extraction vulnerabilities in language models. While previous gradient inversion attacks primarily targeted image data, his 2022 paper, Recovering Private Text in Federated Learning of Language Models, introduced the FILM attack method. This research demonstrated the feasibility of recovering text from large batch sizes (up to 128 sentences) by first identifying a set of words and then reconstructing the sequence, highlighting significant privacy risks in the federated training of language models.
As large language models became more prominent, Gupta’s focus expanded to encompass their safety alignment and adversarial vulnerabilities, contributing to the broader area of Efficient Adversarial Attacks on Large Language Models. He investigated how easily safety guardrails could be bypassed without complex prompt engineering. In Catastrophic Jailbreak of Open-source LLMs via Exploiting Generation (initially released in 2023 and subsequently published at ICLR in 2024 as Catastrophic Jailbreak of Open-source LLMs via Exploiting Generation), he and his collaborators revealed that the safety alignment of open-source models like Llama 2 and Falcon is highly brittle. By manipulating basic decoding parameters—such as temperature and sampling methods—or removing the system prompt, they achieved a high jailbreak success rate at a fraction of the computational cost of prior attacks. This work directly addresses the research direction of Evaluating LLM Safety Beyond Greedy Decoding.
Concurrently, Gupta continued to explore privacy within advanced NLP architectures, particularly focusing on the area of The Privacy-Utility Trade-off in Differentially Private Learning. In Privacy Implications of Retrieval-Based Language Models (2023), he examined how incorporating external datastores impacts model privacy. The study investigated the privacy risks inherent in $k$-nearest neighbor language models ($k$NN-LMs), finding them highly susceptible to data leakage, and explored optimal design procedures to balance utility and privacy. This research also intersects with the broader area of Client-Side Text Sanitization and Restoration.
Current Directions
The most recent papers in the evidence address the dual challenges of safety and privacy in modern large language models. A primary focus is the robustness of safety alignment in open-source generative models, specifically investigating how generation parameters and decoding strategies can be exploited to bypass safety filters. Alongside this work in adversarial robustness, recent research investigates the privacy surface of retrieval-augmented architectures. This includes analyzing how external datastores in retrieval-based language models affect data leakage and exploring methodologies to secure these models against privacy compromises while maintaining their factual and adaptive utility.
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