I am a second year CS Ph.D. student in the Department of Computer Science and Engineering at the University of California - Riverside, where I spend most of my time thinking about (1) how to better understand and formalize the chain-of-thought (CoT) reasoning process of large reasoning models (LRMs), and (2) how to make multimodal LLMs (MLLMs) safer and more aligned with human values through mechanistic interpretability. I am very fortunate to be a member of the SEAS Lab and advised by Professor Nael Abu-Ghazaleh.
Summer 2026: I'll be working on agent orchestration as an applied science intern with the Agent 365 team at Microsoft Redmond under Vivian Sun. If you are also in Seattle/Redmond/Bellevue area, let's connect and chat .
I am also generally interested in computer vision, bias and fairness, low-resource and cross-lingual NLP, and AI for social good. If you are an undergraduate or masters student interested in working with me, reach me via email and send me a very short problem description you would like to work on.
") does not match the recommended repository name for your site ("").
", so that your site can be accessed directly at "http://".
However, if the current repository name is intended, you can ignore this message by removing "{% include widgets/debug_repo_name.html %}" in index.html.
",
which does not match the baseurl ("") configured in _config.yml.
baseurl in _config.yml to "".

G M Shahariar*; Erfan Shayegani*; Ali Nazari; Nael Abu-Ghazaleh. (* equal contribution )
ICML 2026 Oral
TL;DR: We model and steer LLM reasoning as outcome-aligned trajectories over FSM states, enabling sentence-level inference time control via latent interventions.
# LLM reasoning # chain-of-thought # FSM # mechanistic interpretability # activation steering

G M Shahariar; Zabir Al Nazi; Md Olid Hasan Bhuiyan; Zhouxing Shi.
ACL Findings 2026
TL;DR: We show that Vision Language Models leak more personal information about people with greater online visibility, introducing a benchmark that reveals visibility-dependent privacy failures.

Erfan Shayegani*; G M Shahariar*; Sara Abdali; Lei Yu; Nael Abu-Ghazaleh; Yue Dong. (* equal contribution )
ICLR 2026 Poster
TL;DR: We model and steer LLM reasoning as outcome-aligned trajectories over FSM states, enabling sentence-level inference time control via latent interventions.

G M Shahariar; Jia Chen; Jiachen Li; Yue Dong.
EMNLP Findings 2024
TL;DR: We investigate the impact of adversarial attacks on different POS tags within text prompts on the images generated by T2I models.

G M Shahariar*; Md. Tanvir Rouf Shawon*; Faisal Muhammad Shah; Mohammad Shafiul Alam; Md. Shahriar Mahbub. (* equal contribution )
Neurocomputing 2024
TL;DR: We introduce the Bengali Fake Review Detection (BFRD) dataset that focuses on food-related reviews in Bengali language.

G M Shahariar; Tahmid Hasan; Anindya Iqbal; Gias Uddin.
ASE 2023
TL;DR: We present a novel approach - CLAA - for API aspect detection in API reviews that utilizes transformer models trained with a supervised contrastive loss objective function.