Publications

All Selected Conference Workshop Journal

2026

Submission 2026
CoT-Guard: Small Models for Strong Practical Monitoring

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

Submission

TPDP 2026
Extractable Memorization from a Differentially Private Pre-trained LLM

Nirav Diwan, Gang Wang, Daniel Alabi

Theory and Practice of Differential Privacy (TPDP) Workshop, 2026

Blog
AAAI'W 2026
Beyond BeautifulSoup: Benchmarking LLM-Powered Web Scraping for Everyday Users

Arth Bhardwaj, Nirav Diwan, Gang Wang

2nd Artificial Intelligence for Cyber Security (AICS) Workshop (Oral), AAAI, 2026

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

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

Paper
IEEE S&P 2025
You Can’t Judge a Binary by Its Header: Data-Code Separation for Non-Standard ARM Binaries using Pseudo Labels

Hadjer Bankrouda, Nirav Diwan, Gang Wang

46th IEEE Symposium on Security and Privacy, 2025

Paper β˜…
AAAI'W 2025
Clear Preferences Leave Traces: Reference Model-Guided Sampling for Preference Learning

Nirav Diwan, Tolga Ergen, Dongsub Shim, Honglak Lee

1st Workshop on Preparing Good Data for Generative AI, AAAI, 2025

Paper

2024

USENIX 2024
It Doesn't Look Like Anything to Me: Using Diffusion Model to Subvert Visual Phishing Detectors

Qingying Hao, Nirav Diwan, Ying Yuan, Giovanni Apruzzese, Mauro Conti, Gang Wang

33rd USENIX Security Symposium, 2024

Paper β˜…

2022

ICWSM 2022
Weakening the Inner strength - Spotting core collusive users in the YouTube Blackmarket

Hridoy Sankar Dutta*, Nirav Diwan*, Tanmoy Chakraborty

16th International AAAI Conference on Web and Social Media, 2022

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

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

Paper
ICDE'W 2020
A Named Entity Based Approach to Model Recipes

Nirav Diwan, Devansh Batra, Ganesh Bagler

3rd International Workshop on Data Engineering meets Intelligent Food & Cooking Recipes, 2020

Paper β˜…
ICDE'W 2020
Nutritional Profile Estimation in Cooking Recipes

Jushaan Kalra, Devansh Batra, Nirav Diwan, Ganesh Bagler

3rd International Workshop on Data Engineering meets Intelligent Food & Cooking Recipes, 2020

Paper β˜