MCP
AJ

Ankit Jain

33 papers in the library · Same-name authors told apart using DBLP

Papers

30
Frame: Form-Restricted Authoring with Model-Based Evaluation
Nan JiangMohammed Mohsin HussainOnkar TiwariAnkit JainThong Q. NguyenAbhishek AgarwalVishal Chowdhary
This paper formalizes form-restricted report generation, in which a model receives a sample report and new grounding documents and must produce a report that preserves the sample's form while accurately reflecting the new evidence. To support this setting, the authors introduce FRAME, a benchmark of 120 EDGAR- and arXiv-derived instances spanning Financial Quarterly, Financial Annual, Academic Simple, and Academic Complex categories, built with a temporal three-snapshot pipeline. Outputs are assessed using three human-validated metrics: structural similarity via semantic tree-edit distance, coverage via information unit recall, and faithfulness via claim-level grounding verification. Evaluating five LLMs reveals that open-source models nearly match proprietary models on structure but lag on coverage and faithfulness; all models perform better on financial than academic reports, and performance declines with longer outputs and more complex grounding.
arXivarXiv · · November 6, 2026
0
Aligning Language Models Towards Counterfactual Invariance
Basar DemirEmily ShenKsheeraj Sai VepuriSourabh KulkarniHarihar SubramanyamAnkit JainNan JiangChirag Nagpal
The authors show that standard alignment techniques, such as reinforcement learning, amplify counterfactual bias by widening response-quality gaps across demographic groups even as overall quality improves. To counter this, they introduce a policy gradient method with a group-level reward computed on matched counterfactual prompt pairs, aiming to enforce counterfactual invariance when demographic information is causally irrelevant. They build a controlled counterfactual prompt-pair dataset and an evaluation separating causally relevant cases, validating on fairness benchmarks that their approach reduces differences without sacrificing response quality while preserving appropriate sensitivity when relevant.
arXivarXiv · · October 16, 2026
0
0
MaD-RL: Matching Distributions for Calibrating LLMs with Reinforcement Learning
Sourabh KulkarniKsheeraj Sai VepuriBasar DemirJason BohrerEmily ShenJianfa ChenNan JiangAnkit JainHarihar SubramanyamMannat SinghChirag Nagpal
Standard reinforcement learning (RL) post-training maximizes expected reward per output, but tasks like synthetic-data generation need output-distribution control. MaD-RL frames distribution matching (DM) as an RL problem, matching a latent categorical attribute of model outputs to a target distribution. The authors show that GRPO reduces output diversity and that entropy/temperature methods are limited. They treat prior work as a special L₂-divergence case and propose KL and Jensen-Shannon divergence-based rewards. Experiments on math reasoning and programming demonstrate the approach.
arXivarXiv · · September 12, 2026
0
1
Jailbreak-Zero: A Path to Pareto Optimal Red Teaming for Large Language Models
Kai HuAbhinav AggarwalMehran KhodabandehDavid ZhangEric HsinLi ChenAnkit JainMatt FredriksonAkash Bharadwaj
Jailbreak-Zero is a black-box automated red-teaming framework that replaces example-based evaluation with policy-based evaluation, defining harm through abstract safety policies. It introduces three objectives—risk coverage, semantic diversity, and fidelity—and discovers Pareto trade-offs between them. The method achieves Pareto optimality via zero-shot generation and fine-tuned exploitation of victim vulnerabilities, without requiring expert-designed prompts. It attains attack success rates of 99.5% against GPT-4o and 96.0% against Claude 3.5, even for unseen safety policies, and remains effective after safety alignment while offering controls to navigate trade-offs without retraining.
ACL AnthologyACL Anthology · · July 2026
0
Red-Teaming NSFW Image Classifiers as Text-to-Image Safeguards
Tinghao XieYueqi XieAlireza ZareianShuming HuFelix Juefei-XuXiaowen LinAnkit JainPrateek MittalLi Chen
Not Safe for Work (NSFW) image classifiers play a critical role in safeguarding text-to-image (T2I) systems. However, a concerning phenomenon has emerged in T2I systems – changes in text prompts that manipulate benign image elements can result in failed detection by NSFW classifiers – dubbed "*context shifts*." For instance, while a NSFW image of "*a nude person in an empty scene*" can be easily blocked by most NSFW classifiers, a stealthier one that depicts "*a nude person blending in a group of dressed people*" may evade detection. We ask: how to systematically reveal NSFW image classifiers’ failure against such context shifts?Towards this end, we present an automated red-teaming framework that leverages a set of generative AI tools. We propose an **exploration-exploitation** approach: **First**, in the *exploration* stage, we synthesize a diverse and massive 36K NSFW image dataset that facilitates our study of context shifts. We find that varying fractions (e.g., 4.1% to 36% nude and sexual content) of the dataset are misclassified by NSFW image classifiers like GPT-4o and Gemini. **Second**, in the *exploitation* stage, we leverage these failure cases to train a specialized LLM that rewrites unseen seed prompts into more evasive versions, increasing the likelihood of detection evasion by up to 6 times. Alarmingly, we show **these failures translate to real-world T2I and even T2V systems** like DALL-E 3, Sora, Nano Banana, and Veo 3 – beyond the open-weight image generators in our main study. For example, querying DALL-E 3 with prompts rewritten by our approach increases the chance of obtaining NSFW images from 0 to over 50%.
ACL AnthologyACL Anthology · July 2026
0
Jailbreak-Zero: A Path to Pareto Optimal Red Teaming for Large Language Models
Kai HuAbhinav AggarwalMehran KhodabandehDavid ZhangEric HsinLi ChenAnkit JainMatt FredriksonAkash Bharadwaj
Jailbreak-Zero introduces a policy-based red teaming framework for LLM safety evaluation. It uses an attack LLM to generate diverse adversarial prompts, then fine-tunes this model with a preference dataset to achieve Pareto optimality across policy coverage, attack diversity, and prompt fidelity. The method achieves higher attack success rates against models like GPT-4o and Claude 3.5 compared to existing techniques, while producing human-readable prompts with minimal human intervention, offering a scalable safety assessment approach.
arXivarXiv · · December 18, 2025
0
5
Jailbreak-Zero: A Path to Pareto Optimal Red Teaming for Large Language Models
Kai HuAbhinav AggarwalMehran KhodabandehDavid ZhangEric HsinLi ChenAnkit JainMatt FredriksonAkash Bharadwaj
This paper proposes Jailbreak-Zero, an automated red-teaming method for LLM safety that uses a policy-based evaluation framework defining harm via safety policies rather than examples, with objectives beyond attack success rate such as risk coverage, semantic diversity, and distribution fidelity. It analyzes Pareto trade-offs among these objectives and offers zero-shot or fine-tuned modes with controls to navigate trade-offs without retraining. Jailbreak-Zero achieves superior success rates with human-readable attacks across open-source and proprietary models, remaining effective after safety alignment.
OpenReviewOpenReview · · October 31, 2025
0
Computational uncertainties in lattice thermal conductivity prediction of crystalline solids
Yagyank SrivastavaAmey G. GokhaleAnkit Jain
For 50 diverse semiconductors, computational uncertainties in BTE-based lattice thermal conductivity prediction are dominated by the choice of DFT exchange-correlation functional (mean absolute percentage error >20%), not by the BTE solver (<1%) or DFT package (~10%). Pre-trained ML forcefields correctly predict the thermal conductivity trend but with high errors, limiting their use to coarse material screening.
arXivarXiv · · September 18, 2025
0
0
Red-Teaming NSFW Image Classifiers as Text-to-Image Safeguards
Tinghao XieYueqi XieAlireza ZareianShuming HuFelix Juefei-XuXiaowen LinAnkit JainPrateek MittalLi Chen
This paper introduces an automated red-teaming framework to expose NSFW image classifiers' failures under 'context shifts'—prompt edits that blend nude subjects into benign scenes (e.g., among dressed people). Using an exploration-exploitation approach, it synthesizes 36K NSFW images showing 4.1%–36% misclassification by classifiers like GPT-4o and Gemini, then trains an LLM to rewrite prompts, boosting evasion up to 6×. These failures transfer to real T2I systems (DALL-E 3, Sora, etc.), raising DALL-E 3's NSFW output from 0% to over 44%.
OpenReviewOpenReview · September 15, 2025
0
0
MLLM-as-a-Judge for Image Safety without Human Labeling
Zhenting WangShuming Hu…Ankit Jain
Image content safety has become a significant challenge with the rise of visual media on online platforms. Meanwhile, in the age of AI-generated content (AIGC), many image generation models are capable of producing harmful content, such as images containing sexual or violent material. Thus, it becomes crucial to identify such unsafe images based on established safety rules. Pre-trained Multimodal Large Language Models (MLLMs) offer potential in this regard, given their strong pattern recognition abilities. Existing approaches typically fine-tune MLLMs with human-labeled datasets, which however brings a series of drawbacks. First, relying on human annotators to label data following intricate and detailed guidelines is both expensive and labor-intensive. Furthermore, users of safety judgment systems may need to frequently update safety rules, making fine-tuning on human-based annotation more challenging. This raises the research question: Can we detect unsafe images by querying MLLMs in a zero-shot setting using a predefined safety constitution (a set of safety rules)? Our research showed that simply querying pre-trained MLLMs does not yield satisfactory results. This lack of effectiveness stems from factors such as the subjectivity of safety rules, the complexity of lengthy constitutions, and the inherent biases in the models. To address these challenges, we propose a MLLM-based method includes objectifying safety rules, assessing the relevance between rules and images, making quick judgments based on debiased token probabilities with logically complete yet simplified precondition chains for safety rules, and conducting more in-depth reasoning with cascaded chain-of-thought processes if necessary. Experiment results demonstrate that our method is highly effective for zero-shot image safety judgment tasks.
CVFCVF · June 2025
0
Higher-order thermal transport theory for phonon thermal transport in semiconductors using lattice dynamics calculations and the Boltzmann transport equation
Ankit JainYagyank SrivastavaAmey G. GokhaleNidheesh VirakanteHardik L. Kagdada
This review identifies limitations of the lowest-order lattice dynamics theory—which uses the relaxation-time approximation and three-phonon scatterings around static equilibrium positions—for describing phonon thermal transport in many semiconductors. It surveys higher-order developments that address these limitations, highlights their success cases, and offers recommendations for different material systems. Because higher-order calculations are computationally demanding, data-driven acceleration methods are also reviewed.
arXivarXiv · · May 29, 2025
0
MLLM-as-a-Judge for Image Safety without Human Labeling
Zhenting WangShuming Hu…Ankit Jain
This paper introduces a zero-shot method for image safety judgment that leverages pre-trained Multimodal Large Language Models (MLLMs) without human-labeled data. The approach addresses the ineffectiveness of direct MLLM queries by objectifying safety rules, assessing rule-image relevance, and making debiased judgments using token probabilities with simplified precondition chains, supplemented by cascaded chain-of-thought reasoning when needed. Experiments confirm its effectiveness for zero-shot safety detection.
arXivarXiv · · December 31, 2024
0
31
Class-RAG: Real-Time Content Moderation with Retrieval Augmented Generation
Jianfa ChenEmily Shen…Ankit Jain
Class-RAG is a content moderation method that extends a base LLM's classification ability with a dynamically updatable retrieval library. By retrieving relevant examples at inference time, it enables immediate semantic hotfixing without costly model fine-tuning. Empirical results show Class-RAG outperforms fine-tuned classifiers and is more robust to adversarial attacks. Its performance scales with retrieval library size, offering a low-cost path to improvement.
arXivarXiv · · October 18, 2024
0
22
Imagine yourself: Tuning-Free Personalized Image Generation
Zecheng HeBo SunFelix Juefei-XuHaoyu MaAnkit RamchandaniVincent CheungSiddharth ShahAnmol KaliaHarihar SubramanyamAlireza ZareianLi ChenAnkit Jain  +5
Imagine yourself is a tuning-free diffusion model for personalized image generation. It addresses the trade-off between identity preservation and prompt compliance that previous methods suffered from (e.g., copying reference images rather than changing expressions or poses). The model introduces three innovations: a synthetic paired data mechanism for diversity, a fully parallel attention architecture with three text encoders and a trainable vision encoder for text faithfulness, and a coarse-to-fine multi-stage finetuning for visual quality. Human evaluation shows it surpasses prior personalization models in identity preservation, text faithfulness, and visual appeal.
arXivarXiv · · September 20, 2024
0
36
Accelerating Phonon Thermal Conductivity Prediction by an Order of Magnitude Through Machine Learning-Assisted Extraction of Anharmonic Force Constants
Yagyank SrivastavaAnkit Jain
This paper presents a machine learning-assisted method that extracts anharmonic force constants by locally learning the potential energy surface, reducing the computational cost of predicting phonon thermal conductivity from density functional theory. On 220 ternary materials, the total CPU time for anharmonic force constant evaluation dropped from 480,000 to under 12,000 hours—over an order of magnitude—while thermal conductivity predictions remained accurate to within 10%. This removes a key bottleneck for high-throughput materials discovery.
arXivarXiv · · August 31, 2024
0
T-HITL Effectively Addresses Problematic Associations in Image Generation and Maintains Overall Visual Quality
Susan EpsteinLi ChenAlessandro VecchiatoAnkit Jain
The paper introduces T-HITL (twice-human-in-the-loop), a fine-tuning method that reduces problematic associations between demographic groups and semantic concepts in image generation models while preserving visual quality. Unlike traditional fine tuning, which can degrade visual quality, T-HITL incorporates human feedback at two stages to mitigate harmful stereotypes without sacrificing output fidelity. The authors demonstrate its effectiveness on three specific problematic associations, offering a taxonomy for studying such issues based on sociological literature.
arXivarXiv · · February 27, 2024
0
1
Directed Evolution of Microorganisms for Engineered Living Materials
Julie M. LaurentAnkit JainAnton KanMathias SteinacherNadia Enrriquez CasimiroStavros StavrakisAndrew J. deMelloAndré R. Studart
This paper presents a high-throughput directed evolution platform, based on droplet-based microfluidics, that enhances microbial fitness under selection pressure without requiring prior genotype-phenotype knowledge. Using Komagataeibacter sucrofermentans, the platform isolated cellulose overproducers from 40,000 random mutants. Sequencing revealed an unexpected link between cellulose production and a gene encoding a protease complex involved in protein turnover, demonstrating the platform's ability to discover new genotype-phenotype links for engineering living materials.
arXivarXiv · · November 22, 2023
0
3
Non-ballistic Thermal Transport in Carbon Nanotubes
Ankit Jain
By including four-phonon scattering in the iterative solution of the Boltzmann transport equation, this work resolves the long-standing debate on whether thermal transport in single-wall carbon nanotubes is ballistic. While three-phonon Umklapp processes leave flexural and twisted modes unscattered—causing the literature-reported divergence of thermal conductivity with length—adding four-phonon scattering induces Umklapp scattering for those transverse modes, yielding non-ballistic transport. The resulting thermal conductivity is 3700 W/m-K at 300 K, the highest among known materials.
arXivarXiv · · November 6, 2023
0
Understanding Phonon Thermal Transport in Twisted Bilayer Graphene
Shahid AhmedShadab AlamAnkit Jain
Twisted bilayer graphene shows a substantially lower thermal conductivity than the untwisted material: 13.2° and 21.8° twists reduce room-temperature conductivity from 2260 to 56% and 36% of that value, respectively. Lattice-dynamics and Boltzmann-transport analyses reveal that Brillouin-zone folding from the large twisted unit cell does not affect the phonon scattering phase space; instead, twisting weakens the interatomic interactions of flexural out-of-plane phonons. Because flexural modes carry 65% of the heat in bilayer graphene, this weakening directly suppresses thermal transport.
arXivarXiv · · November 6, 2023
0
24
End-to-end Material Thermal Conductivity Prediction through Machine Learning
Yagyank SrivastavaAnkit Jain
This work expands thermal conductivity data for 225 materials through high-throughput first-principles calculations, more than doubling the available dataset. It then introduces a graph-based neural network that mitigates overfitting observed in existing models, achieving more regularized performance. However, the best mean absolute percentage error on the test set remains 50-60%, indicating that current accuracy is still limited for expedited material screening.
arXivarXiv · · November 6, 2023
0
25
Cross-Plane Thermal Transport in Layered Materials
Amey G. GokhaleAnkit Jain
This study examines cross-plane phonon thermal transport in five layered semiconductors (AlB6, MoS2, MoSi2N4, MoO3, KCuSe) using higher-order four-phonon scattering, phonon renormalization, and multi-channel transport. For materials with high cross-plane conductivity (AlB6, MoS2, MoSi2N4), the relevant phonons have mean free paths an order of magnitude larger than those for basal-plane transport, while the opposite holds for low-conductivity materials (MoO3, KCuSe). The wave-like coherent transport channel contributes less than 5% in all cases. This reveals contrasting effects of nanostructuring on basal- versus cross-plane thermal conductivity.
arXivarXiv · · November 6, 2023
0
14
Modelling Social Context for Fake News Detection: A Graph Neural Network Based Approach
Pallabi SaikiaKshitij GundaleAnkit JainDev JadejaHarvi PatelMohendra Roy
This paper proposes a hybrid graph neural network approach for fake news detection that integrates news propagation structure with textual content. The model combines a graph neural network on the propagation graph and a bidirectional encoder (BERT) on the news text, learning both social context and content features. It achieves F1 scores of 0.91 on PolitiFact and 0.93 on Gossipcop, outperforming baseline models. The work is motivated by the finding that propagation characteristics of authentic and fake news are distinguishable, regardless of modality.
arXivarXiv · · July 27, 2022
0
35
High-throughput computational discovery of 40 ultralow thermal conductivity and 20 highly anisotropic crystalline materials
Ankit JainHarish P VeeravenkataShravan GodseYagyank Srivastava
By solving the Boltzmann transport equation with density functional theory, this computational study screened 225 ternary semiconductors and identified 40 materials with a phonon thermal conductivity below 1 W/m-K, the lowest being 0.16 W/m-K in SbRbK$_2$ at 300 K. It also found 20 materials with thermal transport anisotropy exceeding the largest reported literature value, including six with anisotropy greater than 5.
arXivarXiv · · April 7, 2022
0
6
Single-channel or multi-channel thermal transport? Effect of higher-order anharmonic corrections on the predicted phonon thermal transport properties of semiconductors
Ankit Jain
The commonly used lowest-order phonon theory (three-phonon scattering only) drastically underpredicts thermal conductivity—by up to a factor of two—for eight ternary intermetallic semiconductors. Using higher-order corrections (four-phonon scattering, phonon renormalization, and multi-channel transport), the predicted thermal conductivity at 300 K ranges from 0.31 W/m‑K (BiCsK₂) to higher values, with three compounds below 0.5 W/m‑K via the particle-like channel and wave-like coherent transport below 0.05 W/m‑K. The higher-order theory is essential; the lowest-order theory misleadingly characterizes transport as multi-channel.
arXivarXiv · · February 26, 2022
0
Anharmonic lattice dynamics and thermal transport in type-I inorganic clathrates
Shravan GodseYagyank SrivastavaAnkit Jain
First-principles calculations reveal that guest-atom modes in type-I clathrates Ba8Ga16Ge30 and Sr8Ga16Ge30 undergo strong temperature-dependent renormalization, stiffening by up to 50% at room temperature in Sr8Ga16Ge30 due to weak guest-host binding. Including three-phonon scattering and multi-channel transport, the computed lattice thermal conductivities (50–300 K) show that the coherent channel contributes 13–22% at 300 K, yet this is insufficient to explain the experimentally observed glass-like transport in Sr8Ga16Ge30.
arXivarXiv · · October 25, 2021
0
10
Density functional theory driven phononic thermal conductivity prediction of biphenylene: A comparison with graphene
Harish P. VeeravenkataAnkit Jain
Using density functional theory and the Boltzmann transport equation, the thermal conductivity of biphenylene (BPN), a recently synthesized sp2-hybridized carbon allotrope, is predicted and compared with graphene. Despite a similar planar structure, BPN exhibits anisotropic thermal transport with conductivities more than an order of magnitude lower than graphene. This reduction is attributed to enhanced anharmonicity caused by lower crystal symmetry in BPN.
arXivarXiv · · June 7, 2021
0
98
Estimating Q(s,s') with Deep Deterministic Dynamics Gradients
Ashley D. EdwardsHimanshu SahniRosanne LiuJane HungAnkit JainRui WangAdrien EcoffetThomas MiconiCharles IsbellJason Yosinski
This paper introduces a value function $Q(s,s')$ that quantifies the utility of transitioning from state $s$ to $s'$ and then acting optimally. A forward dynamics model is trained to predict next states that maximize this value, enabling off-policy learning decoupled from actions. The approach benefits value function transfer, redundant action spaces, and learning from sub-optimal or random policies.
arXivarXiv · · February 21, 2020
0
34
Meta-Graph: Few Shot Link Prediction via Meta Learning
Avishek Joey BoseAnkit JainPiero MolinoWilliam L. Hamilton
Meta-Graph is a gradient-based meta-learning framework for few-shot link prediction, where a model must infer missing edges in a new graph after limited training. It addresses the inability of current methods to transfer knowledge across graphs and learn from sparse edges. The framework uses higher-order gradients and a learned graph signature function to conditionally generate a graph neural network initialization. Experiments on new few-shot benchmarks show that Meta-Graph achieves fast adaptation and improved convergence using only a small sample of true edges.
arXivarXiv · · December 20, 2019
0
102
Atomic positions independent descriptor for machine learning of material properties
Ankit JainThomas Bligaard
This paper introduces a material descriptor that uses only crystallographic symmetry information and atomic numbers, eliminating the need for atomic positions. For materials with identical structural symmetry, this descriptor enables machine learning to achieve accuracy comparable to density functional theory. On a test set of over 85,000 diverse bulk crystalline solids, the model predicts formation energies with a mean absolute error of 0.07 eV/atom, enabling high-throughput screening of millions of materials by training over a reduced subspace.
arXivarXiv · · September 11, 2018
0
Lattice dynamics and the nature of structural transitions in organolead halide perovskites
Riccardo CominMichael K. CrawfordAyman SaidNorman HerronWilliam E. GuiseXiaoping WangPamela S. WhitfieldAnkit JainXiwen GongAlan J. H. McGaugheyEdward H. Sargent
Using inelastic X-ray scattering on single crystals of methylammonium lead iodide and bromide perovskites, this study confirms the displacive nature of the cubic-to-tetragonal phase transition, which neutron and X-ray diffraction show is near a tricritical point. Additionally, quasistatic symmetry-breaking nanodomains persist into the high-temperature cubic phase, likely stabilized by local defects, revealing structural properties relevant to carrier dynamics.
arXivarXiv · · August 18, 2016
0
72
Frequent collaborators
Li Chen (10)
Nan Jiang (6)
Harihar Subramanyam (6)
Yagyank Srivastava (6)
Shuming Hu (5)
Felix Juefei-Xu (5)
Xiaowen Lin (5)
Jianfa Chen (4)
Emily Shen (3)
Ksheeraj Sai Vepuri (3)
Kai Hu (3)
Abhinav Aggarwal (3)