I am a Computer Science Ph.D. candidate at the University of Maryland, College Park, advised by Prof. Sanghamitra Dutta. My research focuses on LLM/VLM post-training and reasoning, with an emphasis on improving their efficiency and effectiveness from both data and algorithmic perspectives, as well as on interpretability. Previously, I worked on code LLMs, AI security, and trustworthy ML.

I have spent time interning at TikTok (2026) and Meta Superintelligence Labs (2025).

Research

Geometry-Based RLVR Credit Assignment from Hidden-State Trajectories

Yanjun Fu, Shunchi Zhang, Zhongtao Jiang, Kun Xu, Sanghamitra Dutta

Preprint, 2026

TL;DR

Uses hidden-state geometry for step-level credit assignment in RLVR. On AIME 2024–2026, our method outperforms DAPO by an average of 2.38 points and surpasses DAPO's peak performance with 1.31× fewer GPU hours, placing it on the performance–compute Pareto frontier among the evaluated RLVR methods.

Keywords: RLVR · Credit assignment · Interpretability

LogT: Logically Think with Images for Visual Search

Yanjun Fu, Quanzeng You, Jiadong Guo, Yujie Lu, Sai Charitha Akula, Haiping Wu, Miao Liu, Sanghamitra Dutta, Lu Yuan

Conference on Neural Information Processing Systems (NeurIPS), 2026

TL;DR

Proposes an agentic data engine that synthesizes SFT data for VLM tool use. Using SFT alone, LogT-SFT surpasses the SOTA model trained with both SFT and RL by 1.9 points, and LogT-RL surpasses the SOTA by 9.6 points.

Keywords: Agentic data synthesis for VLM agents

T-Shirt: Token-Selective Hierarchical Data Selection for Instruction Tuning

Yanjun Fu, Faisal Hamman, Sanghamitra Dutta

Conference on Neural Information Processing Systems (NeurIPS), 2025

TL;DR

Selects SFT examples by focusing on informative tokens and checking quality consistency among similar samples. Models trained on just 5% of the data can outperform those trained on the full dataset. The method is also highly scalable: it processes 52k samples in just 40 minutes on a single GPU.

Keywords: Data selection for SFT

Few-Shot Knowledge Distillation of LLMs With Counterfactual Explanations

Faisal Hamman, Pasan Dissanayake, Yanjun Fu, Sanghamitra Dutta

Conference on Neural Information Processing Systems (NeurIPS), 2025

TL;DR

Uses minimally changed examples that flip a teacher model's prediction to help a smaller model learn its decision boundary. This improves knowledge distillation with very little training data.

Keywords: Knowledge distillation · Counterfactual explanations

Vulnerability Detection with Code Language Models: How Far Are We?

Yangruibo Ding, Yanjun Fu, Omniyyah Ibrahim, Chawin Sitawarin, Xinyun Chen, Basel Alomair, David Wagner, Baishakhi Ray, Yizheng Chen

IEEE/ACM International Conference on Software Engineering (ICSE), 2025

TL;DR

Introduces PrimeVul, a vulnerability-detection dataset with much higher quality and realistic evaluation settings, and shows that existing benchmarks substantially overestimate code models' ability to detect vulnerabilities.

Keywords: Code LLMs · Vulnerability detection

Constrained Decoding for Secure Code Generation

Yanjun Fu, Ethan Baker, Yu Ding, Yizheng Chen

Preprint, 2024

TL;DR

Introduces CodeGuard+ to evaluate whether generated code is both secure and correct, and uses constrained decoding to improve security without a specialized training dataset.

Keywords: Code LLMs · Secure code generation · Constrained decoding

Education

University of Maryland, College Park

Ph.D. Student in Computer Science
College Park, MD

Shanghai Jiao Tong University

B.Eng. in Computer Science
Shanghai, China

Experience

TikTok

Research Intern | Host: Shunchi Zhang
San Jose, CA

Meta Superintelligence Labs

Research Intern | Host: Dr. Quanzeng You, Dr. Lu Yuan
Bellevue, WA

SciFi Lab, Cornell University

Visiting Student | Host: Prof. Cheng Zhang
Ithaca, NY

Shanghai Jiao Tong University

Research Assistant | Advisor: Prof. Haiming Jin
Shanghai, China