Publications

All Selected Conference Workshop Journal

2026

Under review AI4Good FLMSec 2026

TL;DR We use OpenAI Model Spec to jailbreak OpenAI's GPT-OSS-20B better than other black-box jailbreaking baselines.

Paper OpenReview
NeurIPS COLM'W 2026
CoT-Guard: Small Models for Strong Monitoring

Nirav Diwan*, Han Wang*, Berkcan Kapusuzoglu, Ramin Moradi, Supriyo Chakraborty, Giri Iyengar, Sambit Sahu, Huan Zhang, Gang Wang

40th Annual Conference on Neural Information Processing Systems (NeurIPS 2026)

AdvML-Frontiers Γ— CoTMA Workshop (Oral), COLM, 2026

TL;DR We introduce a practical threat model for CoT Monitoring and train small models (≀4B) to outperform large models using RL.

TPDP FLMSEC 2026

TL;DR We extract Personally Identifiable Information (PII) from VaultGemma β€” the first LLM trained through DP-SGD.

Blog
AAAI'W 2026

TL;DR Everyday users (like me) can now use LLMs to scrape websites for information pretty easily.

Paper

2025

NeurIPS 2025
PurpCode: Reasoning for Safer Code Generation

Jiawei Liu*, Nirav Diwan*, Zhe Wang*, Haoyu Zhai, Xiaona Zhou, Kiet A. Nguyen, Tianjiao Yu, Muntasir Wahed, Yinlin Deng, Hadjer Benkraouda, Yuxiang Wei, Lingming Zhang, Ismini Lourentzou, Gang Wang

39th Annual Conference on Neural Information Processing Systems, 2025

πŸ₯‡ Winner of Amazon Nova AI Challenge 2025

TL;DR Developed a reasoning model for secure code generation using Deliberative Alignment.

EMNLP 2025
Are Code Language Models Robust Against Multi-Turn Malicious Coding Prompts?

Muntasir Wahed, Xiaona Zhou, Kiet A. Nguyen, Tianjiao Yu, Nirav Diwan, Gang Wang, Dilek Hakkani-TΓΌr, Ismini Lourentzou

30th Conference on Empirical Methods in Natural Language Processing (Findings), 2025

TL;DR Introduced a new benchmark for evaluating code language models against multi-turn malicious coding prompts.

Paper
IEEE S&P 2025

TL;DR We propose a novel way to separate data and code for non-standard ARM binaries using pseudo labels.

Paper β˜…
AAAI'W 2025

TL;DR Unaligned model can identify high-quality preference pairs for alignment, even when it may not know it is better.

Paper OpenReview

2024

USENIX 2024

TL;DR Used Diffusion Models + Simple retrieval to attack online phishing detectors. Empirically validated the attack for 100+ brands across both white-box anbd black-box settings.

Paper β˜…

2022

ICWSM 2022

TL;DR Investigated the collusive blackmarket on YouTube using graphs to identify the most influential blackmarket users.

Paper β˜…

2021

ACL 2021
Fingerprinting Finetuned Language Models in the Wild

Nirav Diwan, Tanmoy Chakraborty, Zubair Shafiq

59th Annual Meeting of the Association for Computational Linguistics (Findings), 2021

πŸ… Dean's Thesis Appreciation Award at IIIT-Delhi

TL;DR Developed an LM-based classifier to fingerprint AI-generated text for 100+ fine-tuned LMs in the wild.

Paper β˜…

2020

Database (OUP) 2020
RecipeDB: A resource for exploring recipes

Devansh Batra, Nirav Diwan, Utkarsh Upadhyay, Jushaan Singh Kalra, Tript Sharma, Aman Kumar Sharma, Dheeraj Khanna, Jaspreet Singh Marwah, Srilakshmi Kalathil, Navjot Singh, Rudraksh Tuwani, Ganesh Bagler

Database: The Journal of Biological Databases and Curation (Oxford University Press), 2020

🌐 Featured in Times of India, The National, Nature India

TL;DR Developed a worldwide database of recipes with over 100,000+ recipes from 50+ countries.

Paper
ICDE'W 2020

TL;DR Created an Information Retrieval (IR) Model to extract ingredient information from recipes.

Paper β˜…
ICDE'W 2020

TL;DR Developed a scalable method to estimate nutritional profiles of recipes.

Paper β˜