SearcharxivSearch

arXiv subjects

Ankit Jain

Publications and source records attributed to Ankit Jain.

At least 19 recordsLinked to original sources

Jailbreak-Zero: A Path to Pareto Optimal Red Teaming for Large Language Models

This paper introduces Jailbreak-Zero, a novel red teaming methodology that shifts the paradigm of Large Language Model (LLM) safety evaluation from a constrained example-based approach to a more expansive and effective policy-based framework. By leveraging an attack LLM to generate a high volume of diverse adversarial prompts and then fine-tuning this attack model with a preference dataset, Jailbreak-Zero achieves Pareto optimality across the crucial objectives of policy coverage, attack strategy diversity, and prompt fidelity to real user inputs. The empirical evidence demonstrates the superiority of this method, showcasing significantly higher attack success rates against both open-source and proprietary models like GPT-40 and Claude 3.5 when compared to existing state-of-the-art techniques. Crucially, Jailbreak-Zero accomplishes this while producing human-readable and effective adversarial prompts with minimal need for human intervention, thereby presenting a more scalable and comprehensive solution for identifying and mitigating the safety vulnerabilities of LLMs.

cs.CL

Computational uncertainties in lattice thermal conductivity prediction of crystalline solids

We report computational uncertainties in Boltzmann Transport Equation (BTE)-based lattice thermal conductivity prediction of 50 diverse semiconductors from the use of different BTE solvers (ShengBTE, Phono3Py, and in-house code) and interatomic forces. The interatomic forces are obtained either using the density functional theory (DFT) as implemented in packages Quantum Espresso and VASP employing commonly used exchange correlation functionals (PBE, LDA, PBEsol, and rSCAN) or using the pre-trained foundational machine learning forcefields trained on two different material datasets. We find that the considered BTE solvers introduce minimal uncertainties and, using the same interatomic force constants, all solvers result in an excellent agreement with each other, with a mean absolute percentage error (MAPE) of only 1%. While this error increases to around 10% with the use of different DFT packages, the error is still small and can be reduced further with the use of stringent planewave energy cutoffs. On the other hand, the differences in thermal conductivity due to the use of different exchange correlation functionals are large, with a MAPE of more than 20%. The currently available pre-trained foundational ML models predict the right trend for thermal conductivity, but the associated errors are high, limiting their applications for coarse screening of materials.

cond-mat.mtrl-sci

Higher-order thermal transport theory for phonon thermal transport in semiconductors using lattice dynamics calculations and the Boltzmann transport equation

The phonon thermal conductivity of semiconducting periodic solids can be obtained using the lattice dynamics calculations along with the Boltzmann transport equation and with input from density functional theory calculations. These calculations have resulted in an excellent agreement with experiments without requiring any fitting parameters. However, over the last decade, many material systems have been identified where the lowest level lattice dynamics theory, which is based on the relaxation time approximation solution of the Boltzmann transport equation and considers potential energy surface sampling around the static equilibrium positions of atoms with only three-phonon scatterings, is proved insufficient in describing the thermal transport physics. In this article, we review these higher-order developments in the lattice dynamics theory to describe thermal transport in periodic semiconducting solids. We start with a brief discussion of the lowest-order theory and discuss its limitations along with proposed developments to address these limitations. We discuss prominent success cases of these higher-order developments and present our recommendations on their use for various material systems. Considering that many of these higher-order developments are computationally more demanding compared to the lowest-order theory, we also discussed data-driven approaches to accelerate these calculations. This review article is intended to serve as a reference for both novice and experienced researchers in this field.

cond-mat.mes-hall

MLLM-as-a-Judge for Image Safety without Human Labeling

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.

cs.CV

Class-RAG: Real-Time Content Moderation with Retrieval Augmented Generation

Robust content moderation classifiers are essential for the safety of Generative AI systems. In this task, differences between safe and unsafe inputs are often extremely subtle, making it difficult for classifiers (and indeed, even humans) to properly distinguish violating vs. benign samples without context or explanation. Scaling risk discovery and mitigation through continuous model fine-tuning is also slow, challenging and costly, preventing developers from being able to respond quickly and effectively to emergent harms. We propose a Classification approach employing Retrieval-Augmented Generation (Class-RAG). Class-RAG extends the capability of its base LLM through access to a retrieval library which can be dynamically updated to enable semantic hotfixing for immediate, flexible risk mitigation. Compared to model fine-tuning, Class-RAG demonstrates flexibility and transparency in decision-making, outperforms on classification and is more robust against adversarial attack, as evidenced by empirical studies. Our findings also suggest that Class-RAG performance scales with retrieval library size, indicating that increasing the library size is a viable and low-cost approach to improve content moderation.

cs.AI

Imagine yourself: Tuning-Free Personalized Image Generation

Diffusion models have demonstrated remarkable efficacy across various image-to-image tasks. In this research, we introduce Imagine yourself, a state-of-the-art model designed for personalized image generation. Unlike conventional tuning-based personalization techniques, Imagine yourself operates as a tuning-free model, enabling all users to leverage a shared framework without individualized adjustments. Moreover, previous work met challenges balancing identity preservation, following complex prompts and preserving good visual quality, resulting in models having strong copy-paste effect of the reference images. Thus, they can hardly generate images following prompts that require significant changes to the reference image, \eg, changing facial expression, head and body poses, and the diversity of the generated images is low. To address these limitations, our proposed method introduces 1) a new synthetic paired data generation mechanism to encourage image diversity, 2) a fully parallel attention architecture with three text encoders and a fully trainable vision encoder to improve the text faithfulness, and 3) a novel coarse-to-fine multi-stage finetuning methodology that gradually pushes the boundary of visual quality. Our study demonstrates that Imagine yourself surpasses the state-of-the-art personalization model, exhibiting superior capabilities in identity preservation, visual quality, and text alignment. This model establishes a robust foundation for various personalization applications. Human evaluation results validate the model's SOTA superiority across all aspects (identity preservation, text faithfulness, and visual appeal) compared to the previous personalization models.

cs.CV

Accelerating Phonon Thermal Conductivity Prediction by an Order of Magnitude Through Machine Learning-Assisted Extraction of Anharmonic Force Constants

The calculation of material phonon thermal conductivity from density functional theory calculations requires computationally expensive evaluation of anharmonic interatomic force constants and has remained a computational bottleneck in the high-throughput discovery of materials. In this work, we present a machine learning-assisted approach for the extraction of anharmonic force constants through local learning of the potential energy surface. We demonstrate our approach on a diverse collection of 220 ternary materials for which the total computational time for anharmonic force constants evaluation is reduced by more than an order of magnitude from 480,000 cpu-hours to less than 12,000 cpu-hours while preserving the thermal conductivity prediction accuracy to within 10%. Our approach removes a major hurdle in computational thermal conductivity evaluation and will pave the way forward for the high-throughput discovery of materials.

cond-mat.mtrl-sci

T-HITL Effectively Addresses Problematic Associations in Image Generation and Maintains Overall Visual Quality

Generative AI image models may inadvertently generate problematic representations of people. Past research has noted that millions of users engage daily across the world with these models and that the models, including through problematic representations of people, have the potential to compound and accelerate real-world discrimination and other harms (Bianchi et al, 2023). In this paper, we focus on addressing the generation of problematic associations between demographic groups and semantic concepts that may reflect and reinforce negative narratives embedded in social data. Building on sociological literature (Blumer, 1958) and mapping representations to model behaviors, we have developed a taxonomy to study problematic associations in image generation models. We explore the effectiveness of fine tuning at the model level as a method to address these associations, identifying a potential reduction in visual quality as a limitation of traditional fine tuning. We also propose a new methodology with twice-human-in-the-loop (T-HITL) that promises improvements in both reducing problematic associations and also maintaining visual quality. We demonstrate the effectiveness of T-HITL by providing evidence of three problematic associations addressed by T-HITL at the model level. Our contributions to scholarship are two-fold. By defining problematic associations in the context of machine learning models and generative AI, we introduce a conceptual and technical taxonomy for addressing some of these associations. Finally, we provide a method, T-HITL, that addresses these associations and simultaneously maintains visual quality of image model generations. This mitigation need not be a tradeoff, but rather an enhancement.

cs.CV

Directed Evolution of Microorganisms for Engineered Living Materials

Microorganisms can create engineered materials with exquisite structures and living functionalities. Although synthetic biology tools to genetically manipulate microorganisms continue to expand, the bottom-up rational design of engineered living materials still relies on prior knowledge of genotype-phenotype links for the function of interest. Here, we utilize a high-throughput directed evolution platform to enhance the fitness of whole microorganisms under selection pressure and identify novel genetic pathways to program the functionalities of engineered living materials. Using Komagataeibacter sucrofermentans as a model cellulose-producing microorganism, we show that our droplet-based microfluidic platform enables the directed evolution of these bacteria towards a small number of cellulose overproducers from an initial pool of 40'000 random mutants. Sequencing of the evolved strains reveals an unexpected link between the cellulose-forming ability of the bacteria and a gene encoding a protease complex responsible for protein turnover in the cell. The ability to enhance the fitness of microorganisms towards specific phenotypes and to discover new genotype-phenotype links makes this high-throughput directed evolution platform a promising tool for the development of the next generation of engineered living materials.

physics.bio-ph

Non-ballistic Thermal Transport in Carbon Nanotubes

The thermal transport properties of single-wall carbon nanotubes (SWCNTs) are re-investigated using the iterative solution of the Boltzmann transport equation by including four-phonon scattering. Using only three-phonon scattering, the flexural and twisted phonon modes are found to remain non-scattered via Umklapp processes, resulting in the literature-reported divergence of thermal conductivity with tube length. However, with four-phonon scattering, while longitudinal modes remain unaffected, the otherwise non-scattered transverse modes undergo Umklapp scattering and result in a non-ballistic transport, thus settling a decades-long debate on the length dependence of thermal conductivity of SWCNTs. The predicted thermal conductivity of SWCNTs using both three- and four-phonon scatterings is 3700 W/m-K at 300 K and stays highest amongst all known materials.

cond-mat.mtrl-sci

Understanding Phonon Thermal Transport in Twisted Bilayer Graphene

The phonon thermal transport properties of twisted bi-layer graphene are investigated using lattice dynamics and the Boltzmann transport equation. The thermal conductivities of 13.2 and 21.8 twisted configurations are 56% and 36% lower than the untwisted configuration which has a room temperature thermal conductivity of 2260 W/m-K. The reason for this lower thermal conductivity is unraveled from phonon mode-level analysis made possible through the untwisting of layers. Due to a large commensurate unitcell of twisted configuration, the Brillouin zone is folded but this folding has no bearing on the phonon scattering phase space. The major impact of twisting is felt by flexural phonons with out-of-plane vibrations via the change in strength of flexural interatomic interactions and since these flexural phonons carry majority of the heat in bilayer graphene (65% at room temperature), the thermal conductivity is sensitive to layer twisting. Our study suggests that twisting will affect thermal transport only for those materials that have a major contribution from flexural phonon modes.

cond-mat.mes-hall

End-to-end Material Thermal Conductivity Prediction through Machine Learning

We investigated the accelerated prediction of the thermal conductivity of materials through end- to-end structure-based approaches employing machine learning methods. Due to the non-availability of high-quality thermal conductivity data, we first performed high-throughput calculations based on first principles and the Boltzmann transport equation for 225 materials, effectively more than doubling the size of the existing dataset. We assessed the performance of state-of-the-art machine learning models for thermal conductivity prediction on this expanded dataset and observed that all these models suffered from overfitting. To address this issue, we introduced a novel graph-based neural network model, which demonstrated more consistent and regularized performance across all evaluated datasets. Nevertheless, the best mean absolute percentage error achieved on the test dataset remained in the range of 50-60%. This suggests that while these models are valuable for expediting material screening, their current accuracy is still limited.

cond-mat.mtrl-sci

Cross-Plane Thermal Transport in Layered Materials

The cross-plane (across-layers) phonon thermal transport of five diverse, layered semiconductors is investigated by accounting for higher-order four-phonon scattering, phonon renormalization, and multi-channel thermal transport. For materials having relatively large cross-plane thermal conductivity (AlB6, MoS2, and MoSi2N4), phonons contributing to cross-plane conductivity have an order of magnitude larger mean free path than that for the basal-plane thermal transport, whereas the opposite effect is observed for materials with low thermal conductivity (MoO3 and KCuSe). The contribution from the wave-like coherent transport channel is less than 5% in all considered materials. Our work unravels the contrasting role of nano-structuring on the basal- vs. cross-plane thermal conductivity of low and high thermal conductivity layered materials.

cond-mat.mtrl-sci

Modelling Social Context for Fake News Detection: A Graph Neural Network Based Approach

Detection of fake news is crucial to ensure the authenticity of information and maintain the news ecosystems reliability. Recently, there has been an increase in fake news content due to the recent proliferation of social media and fake content generation techniques such as Deep Fake. The majority of the existing modalities of fake news detection focus on content based approaches. However, most of these techniques fail to deal with ultra realistic synthesized media produced by generative models. Our recent studies find that the propagation characteristics of authentic and fake news are distinguishable, irrespective of their modalities. In this regard, we have investigated the auxiliary information based on social context to detect fake news. This paper has analyzed the social context of fake news detection with a hybrid graph neural network based approach. This hybrid model is based on integrating a graph neural network on the propagation of news and bi directional encoder representations from the transformers model on news content to learn the text features. Thus this proposed approach learns the content as well as the context features and hence able to outperform the baseline models with an f1 score of 0.91 on PolitiFact and 0.93 on the Gossipcop dataset, respectively

cs.SI

High-throughput computational discovery of 40 ultralow thermal conductivity and 20 highly anisotropic crystalline materials

We performed ab-initio driven density functional theory-based high throughput computations to search for materials with low thermal conductivity and high thermal transport anisotropy. We shortlisted a pool of 429 stable ternary semiconductors from the Materials Project and obtained phonon thermal conductivity by solving the Boltzmann transport equation on 225 materials. We found the lowest thermal conductivity of 0.16 W/m-K in SbRbK 2 and 40 materials with a thermal conductivity lower than 1 W/m-K at 300 K. For anisotropic thermal transport, we have identified six materials with anisotropy larger than 5 and 20 with thermal transport anisotropy higher than the largest reported literature value.

cond-mat.mtrl-sci

Single-channel or multi-channel thermal transport? Effect of higher-order anharmonic corrections on the predicted phonon thermal transport properties of semiconductors

The phonon thermal transport properties of eight ternary intermetallic semiconductors are investigated by accounting for higher-order four-phonon scattering, phonon renormalization, and multi-channel thermal transport. The commonly used lowest-order theory, which accounts only for three-phonon scattering and without phonon renormalization, fails drastically for considered materials and underpredicts the thermal conductivity by up to a factor of two. The thermal conductivity decreases for three compounds and increases for five compounds with the application of higher-order corrections owing to a contrasting role of four-phonon scattering and phonon stiffening on the predicted thermal conductivity. Using the higher-order theory, at a temperature of 300 K, the lowest obtained thermal conductivity is 0.31 W/m-K for BiCsK2 and three other compounds (SbCsK2, SbRbNa2, and SbRbK2) have thermal conductivities lower than 0.5 W/m-K via the particle-like phonon transport channel. The contribution from the wave-like coherent transport channel is lower than 0.05 W/m-K in all of these ultra-low thermal conductivity compounds. The higher-order theory is a must for the correct description of thermal transport physics, failing which the thermal transport is wrongly characterized as multi-channel transport by the lowest-order theory.

cond-mat.mtrl-sci

Anharmonic lattice dynamics and thermal transport in type-I inorganic clathrates

The anharmonic phonon properties of type-I filled inorganic clathrates Ba8 Ga16 Ge30 and Sr8 Ga16 Ge30 are obtained from the first-principles calculations by considering the temperature-dependent sampling of the potential energy surface and quartic phonon renormalization. Owing to the weak binding of guest atoms with the host lattice, the obtained guest modes undergo strong renormalization with temperature and become stiffer by up to 50% at room temperature in Sr8Ga16Ge30. The calculated phonon frequencies and associated thermal mean squared displacements are comparable with experiments despite the on-centering of guest atoms at cage centers in both clathrates. Lattice thermal conductivities are obtained in the temperature range of 50- 300 K accounting for three-phonon scattering processes and multi-channel thermal transport. The contribution of coherent transport channel is significant at room temperature (13% and 22% in Ba8Ga16Ge30 and Sr8Ga16Ge30) but is insufficient to explain the experimentally observed glass-like thermal transport in Sr8Ga16Ge30.

cond-mat.mtrl-sci

Density functional theory driven phononic thermal conductivity prediction of biphenylene: A comparison with graphene

The thermal transport properties of biphenylene network (BPN), a novel sp2 -hybridized two-dimensional allotrope of carbon atoms recently realized in experiments [Fan et al., Science, 372 852-856 (2021)], are studied using the density functional theory-driven solution of the Boltzmann transport equation. The thermal transport in BPN is anisotropic and the obtained thermal conductivities are more than an order of magnitude lower than that in graphene, despite similar sp2-hybridized planar-structure of both allotropes. The lower thermal conductivity in BPN is found to originate from enhanced anharmonicity which in turn is a result of reduced crystal symmetry of BPN.

cond-mat.mtrl-sci