SearcharxivSearch

arXiv subjects

Aditya Kumar

Publications and source records attributed to Aditya Kumar.

At least 37 records · Page 2Linked to original sources

Beautiful Images, Toxic Words: Understanding and Addressing Offensive Text in Generated Images

State-of-the-art Diffusion Models (DMs) produce highly realistic images. While prior work has successfully mitigated Not Safe For Work (NSFW) content in the visual domain, we identify a novel threat: the generation of NSFW text embedded within images. This includes offensive language, such as insults, racial slurs, and sexually explicit terms, posing significant risks to users. We show that all state-of-the-art DMs (e.g., SD3, SDXL, Flux, DeepFloyd IF) are vulnerable to this issue. Through extensive experiments, we demonstrate that existing mitigation techniques, effective for visual content, fail to prevent harmful text generation while substantially degrading benign text generation. As an initial step toward addressing this threat, we introduce a novel fine-tuning strategy that targets only the text-generation layers in DMs. Therefore, we construct a safety fine-tuning dataset by pairing each NSFW prompt with two images: one with the NSFW term, and another where that term is replaced with a carefully crafted benign alternative while leaving the image unchanged otherwise. By training on this dataset, the model learns to avoid generating harmful text while preserving benign content and overall image quality. Finally, to advance research in the area, we release ToxicBench, an open-source benchmark for evaluating NSFW text generation in images. It includes our curated fine-tuning dataset, a set of harmful prompts, new evaluation metrics, and a pipeline that assesses both NSFW-ness and text and image quality. Our benchmark aims to guide future efforts in mitigating NSFW text generation in text-to-image models, thereby contributing to their safe deployment.

cs.CV

Temporal Fusion Nexus: A task-agnostic multi-modal embedding model for clinical narratives and irregular time series in post-kidney transplant care

We introduce Temporal Fusion Nexus (TFN), a multi-modal and task-agnostic embedding model to integrate irregular time series and unstructured clinical narratives. We analysed TFN in post-kidney transplant (KTx) care, with a retrospective cohort of 3382 patients, on three key outcomes: graft loss, graft rejection, and mortality. Compared to state-of-the-art model in post KTx care, TFN achieved higher performance for graft loss (AUC 0.96 vs. 0.94) and graft rejection (AUC 0.84 vs. 0.74). In mortality prediction, TFN yielded an AUC of 0.86. TFN outperformed unimodal baselines (approx 10% AUC improvement over time series only baseline, approx 5% AUC improvement over time series with static patient data). Integrating clinical text improved performance across all tasks. Disentanglement metrics confirmed robust and interpretable latent factors in the embedding space, and SHAP-based attributions confirmed alignment with clinical reasoning. TFN has potential application in clinical tasks beyond KTx, where heterogeneous data sources, irregular longitudinal data, and rich narrative documentation are available.

cs.LG

Application of machine learning to predict food processing level using Open Food Facts

Ultra-processed foods are increasingly linked to health issues like obesity, cardiovascular disease, type 2 diabetes, and mental health disorders due to poor nutritional quality. This first-of-its-kind study at such a scale uses machine learning to classify food processing levels (NOVA) based on the Open Food Facts dataset of over 900,000 products. Models including LightGBM, Random Forest, and CatBoost were trained on nutrient concentration data. LightGBM performed best, achieving 80-85% accuracy across different nutrient panels and effectively distinguishing minimally from ultra-processed foods. Exploratory analysis revealed strong associations between higher NOVA classes and lower Nutri-Scores, indicating poorer nutritional quality. Products in NOVA 3 and 4 also had higher carbon footprints and lower Eco-Scores, suggesting greater environmental impact. Allergen analysis identified gluten and milk as common in ultra-processed items, posing risks to sensitive individuals. Categories like Cakes and Snacks were dominant in higher NOVA classes, which also had more additives, highlighting the role of ingredient modification. This study, leveraging the largest dataset of NOVA-labeled products, emphasizes the health, environmental, and allergenic implications of food processing and showcases machine learning's value in scalable classification. A user-friendly web tool is available for NOVA prediction using nutrient data: https://cosylab.iiitd.edu.in/foodlabel/.

q-bio.BM

A Roadmap for Applying Graph Neural Networks to Numerical Data: Insights from Cementitious Materials

Machine learning (ML) has been increasingly applied in concrete research to optimize performance and mixture design. However, one major challenge in applying ML to cementitious materials is the limited size and diversity of available databases. A promising solution is the development of multi-modal databases that integrate both numerical and graphical data. Conventional ML frameworks in cement research are typically restricted to a single data modality. Graph neural network (GNN) represents a new generation of neural architectures capable of learning from data structured as graphs, capturing relationships through irregular or topology-dependent connections rather than fixed spatial coordinates. While GNN is inherently designed for graphical data, they can be adapted to extract correlations from numerical datasets and potentially embed physical laws directly into their architecture, enabling explainable and physics-informed predictions. This work is among the first few studies to implement GNNs to design concrete, with a particular emphasis on establishing a clear and reproducible pathway for converting tabular data into graph representations using the k-nearest neighbor (K-NN) approach. Model hyperparameters and feature selection are systematically optimized to enhance prediction performance. The GNN shows performance comparable to the benchmark random forest, which has been demonstrated by many studies to yield reliable predictions for cementitious materials. Overall, this study provides a foundational roadmap for transitioning from traditional ML to advanced AI architectures. The proposed framework establishes a strong foundation for future multi-modal and physics-informed GNN models capable of capturing complex material behaviors and accelerating the design and optimization of cementitious materials.

cs.CE

Med-gte-hybrid: A contextual embedding transformer model for extracting actionable information from clinical texts

We introduce a novel contextual embedding model med-gte-hybrid that was derived from the gte-large sentence transformer to extract information from unstructured clinical narratives. Our model tuning strategy for med-gte-hybrid combines contrastive learning and a denoising autoencoder. To evaluate the performance of med-gte-hybrid, we investigate several clinical prediction tasks in large patient cohorts extracted from the MIMIC-IV dataset, including Chronic Kidney Disease (CKD) patient prognosis, estimated glomerular filtration rate (eGFR) prediction, and patient mortality prediction. Furthermore, we demonstrate that the med-gte-hybrid model improves patient stratification, clustering, and text retrieval, thus outperforms current state-of-the-art models on the Massive Text Embedding Benchmark (MTEB). While some of our evaluations focus on CKD, our hybrid tuning of sentence transformers could be transferred to other medical domains and has the potential to improve clinical decision-making and personalised treatment pathways in various healthcare applications.

cs.CL

The phase-field model of fracture incorporating Mohr-Coulomb, Mogi-Coulomb, and Hoek-Brown strength surfaces

Classical phase-field theories of brittle fracture capture toughness-controlled crack growth but do not account for the material's strength surface, which governs fracture nucleation in the absence of cracks. The phase-field formulation of Kumar et al. (2020) proposed a blueprint for incorporating the strength surface while preserving toughness-controlled propagation by introducing a nucleation driving force and presented results for the Drucker-Prager surface. Following this blueprint, Chockalingam (2025) recently derived a general driving-force expression that incorporates arbitrary strength surfaces. The present work implements this driving force within a finite-element framework and incorporates representative strength surfaces that span diverse mathematical and physical characteristics-the Mohr-Coulomb, 3D Hoek-Brown, and Mogi-Coulomb surfaces. Through simulations of canonical fracture problems, the formulation is comprehensively validated across fracture regimes, capturing (i) nucleation under uniform stress, (ii) crack growth from large pre-existing flaws, and (iii) fracture governed jointly by strength and toughness. While the strength surfaces examined here already encompass a broad range of brittle materials, the results demonstrate the generality and robustness of the proposed driving-force construction for materials governed by arbitrary strength surfaces.

cond-mat.mtrl-sci

Nonlinear Mechanics of Arterial Growth

In this paper, we formulate a geometric theory of the mechanics of arterial growth. An artery is modeled as a finite-length thick shell that is made of an incompressible nonlinear anisotropic solid. An initial radially-symmetric distribution of finite radial and circumferential eigenstrains is assumed. Bulk growth is assumed to be isotropic. A novel framework is proposed to describe the time evolution of growth, governed by a competition between the elastic energy and a \emph{growth energy}. The governing equations are derived through a two-potential approach and using the Lagrange-d'Alembert principle. An isotropic dissipation potential is considered, which is assumed to be convex in the rate of growth function. Several numerical examples are presented that demonstrate the effectiveness of the proposed model in predicting the evolution of arterial growth and the intricate interplay among eigenstrains, residual stresses, elastic energy, growth energy, and dissipation potential. A distinctive feature of the model is that the growth variable is not constrained by an explicit upper bound; instead, growth naturally approaches a steady-state value as a consequence of the intrinsic energetic competition.

cond-mat.soft

Circle bundles with PSC over large manifolds

We construct infinitely many examples of macroscopically large manifolds of dimension $m \geq 4$ equipped with circle bundles whose total spaces admit metrics of positive scalar curvature and have macroscopic dimension at most $\lceil m/2 \rceil + 1$. In particular, we answer a question of Gromov on the existence of circle bundles over enlargeable manifolds whose total spaces admit metrics of positive scalar curvature, in all dimensions. Our constructions are based on techniques from symplectic geometry.

math.DG

Inferring activity from the flow field around active colloidal particles using deep learning

Active colloidal particles create flow around them due to non-equilibrium process on their surfaces. In this paper, we infer the activity of such colloidal particles from the flow field created by them via deep learning. We first explain our method for one active particle, inferring the $2s$ mode (or the stresslet) and the $3t$ mode (or the source dipole) from the flow field data, along with the position and orientation of the particle. We then apply the method to a system of many active particles. We find excellent agreements between the predictions and the true values of activity. Our method presents a principled way to predict arbitrary activity from the flow field created by active particles.

cond-mat.soft

Mapping of Fermionic Lattice Models for Ising Solvers

We present an end-to-end, symmetry-aware pipeline that converts interacting fermionic and quantum-spin models into annealer-ready QUBOs while preserving low-energy physics. The workflow combines Bravyi-Kitaev encoding, exact Z2 symmetry tapering, Xia-Bian-Kais (XBK) diagonalization to a Z-only form, and k-local to 2-local quadratization, with ground energies recovered via a Dinkelbach fixed-point over the resulting Ising objective. We validate the approach across a complexity ladder: (i) a frustrated 2D Ising model run on a D-Wave Advantage QPU reproduces the known ferromagnet-stripe transition; (ii) finite-temperature checks on 1D Ising recover standard finite-size trends; (iii) a genuinely quantum spin target (XXZ) matches exact diagonalization (ED) on small chains; and (iv) interacting fermions (t-V) in 1D (rings L=2-8) show ED-level energies and the expected kink near V/t ~ 2, with a 2D 2x2 cluster tracking ED slopes up to a uniform offset. A replication-factor study quantifies the accuracy-overhead trade-off, with order-of-magnitude error reduction and diminishing returns beyond r ~ Nq. Except for the classical Ising benchmark and molecular benchmarks, experiments use D-Wave's public DIMOD and Neal simulators; a molecular benzene case in the appendix illustrates portability beyond lattices. The results establish a practical pathway for mapping quantum matter to current annealers, with clear knobs for fidelity, resources, and embedding.

cond-mat.str-el

Switchable Exchange Bias Resulting from Correlated Domain Structures in Orthogonally Coupled Antiferromagnet/Ferromagnet van der Waals Heterostructures

Van der Waals (vdW) magnetic heterostructures offer a versatile platform for engineering interfacial spin interactions with atomic precision, enabling nontrivial spin textures and dynamic behaviors. In this work, we report robust asymmetric magnetization reversal and exchange bias in Fe3GeTe2 (FGT), driven by interlayer exchange coupling with the A-type antiferromagnet CrSBr. Despite the orthogonal magnetic anisotropies out-of-plane easy axis in FGT and in-plane in CrSBr, we observe a strong interfacial exchange interaction that gives rise to pronounced and switchable exchange bias and asymmetric switching in FGT, persisting up to the Néel temperature of CrSBr (132 K) as revealed by anomalous Hall effect measurements. We uncover the microscopic origin of this behavior through cross-sectional magnetic imaging of the domain structure using off-axis electron holography. The results reveal that the asymmetric switching and exchange bias arise from the influence of CrSBr on the domain configuration of FGT, where the in-plane antiferromagnetic state of CrSBr promotes the formation of stripe-like domain structures in FGT with circular rotation of magnetization in the cross-sectional bc plane defined by the easy axes of both FGT and CrSBr. These findings elucidate the mechanism of exchange bias in orthogonally coupled van der Waals systems and demonstrate a pathway for stabilizing three-dimensional domain structures in ferromagnets through interfacial exchange interactions.

cond-mat.mtrl-sci

Identifying the Origin of Thermal Modulation of Exchange Bias in MnPS3/Fe3GeTe2 van der Waals Heterostructures

The exchange bias phenomenon, inherent in exchange-coupled ferromagnetic and antiferromagnetic systems, has intrigued researchers for decades. Van der Waals materials, with their layered structure, provide an optimal platform for probing such physical phenomena. However, achieving a facile and effective means to manipulate exchange bias in van der Waals heterostructures remains challenging. In this study, we investigate the origin of exchange bias in MnPS3/Fe3GeTe2 van der Waals heterostructures. Our work demonstrates a method to modulate unidirectional exchange anisotropy, achieving an unprecedented nearly 1000% variation through simple thermal cycling. Despite the compensated interfacial spin configuration of MnPS3, magneto-transport measurements reveal a huge 170 mT exchange bias at 5 K, one of the largest observed in van der Waals antiferromagnet-ferromagnet interfaces. This substantial magnitude of the exchange bias is linked to an anomalous weak ferromagnetic ordering in MnPS3 below 40 K. On the other hand, the tunability of exchange bias during thermal cycling is ascribed to the modified arrangement of interfacial atoms and changes in the vdW gap during field cooling. Our findings highlight a robust and easily adjustable exchange bias in van der Waals antiferromagnetic/ferromagnetic heterostructures, presenting a straightforward approach to enhance other interface-related spintronic phenomena for practical applications. A detailed study of the interface reveals migration of atoms between the layers, leading to the formation of amorphous region on either side of the van der Waals gap, underscoring the importance of precise characterization of interfaces in van der Waals heterostructures, which are often presumed to have pristine interfaces.

cond-mat.mtrl-sci

On failure mechanisms and load-parallel cracking in confined elastomeric layers

Thin layers of elastomers bonded to two rigid plates demonstrate unusual failure response. Historically, it has been believed that strongly-bonded layers fail by two distinct mechanisms: (i) internal/external penny-shaped crack nucleation and propagation, and (ii) cavitation, that is, cavity growth leading to fibrillation and then failure. However, recent work has demonstrated that cavitation itself is predominantly a fracture process. While the equations describing cavitation from a macroscopic or top-down view are now known and validated with experiments, several aspects of the cavitation crack growth need to be better understood. Notably, cavitation often involves through-thickness crack growth parallel to the loading direction, raising questions about when it initiates instead of the more typical penny-shaped cracks perpendicular to the load. Understanding and controlling the two vertical and horizontal crack growth is key to developing tougher soft films and adhesives. The purpose of this Letter is to provide an explanation for the load-parallel crack growth through a comprehensive numerical analysis and highlight the role of various material and geometrical parameters.

cond-mat.soft

An Independent Discriminant Network Towards Identification of Counterfeit Images and Videos

Rapid spread of false images and videos on online platforms is an emerging problem. Anyone may add, delete, clone or modify people and entities from an image using various editing software which are readily available. This generates false and misleading proof to hide the crime. Now-a-days, these false and counterfeit images and videos are flooding on the internet. These spread false information. Many methods are available in literature for detecting those counterfeit contents but new methods of counterfeiting are also evolving. Generative Adversarial Networks (GAN) are observed to be one effective method as it modifies the context and definition of images producing plausible results via image-to-image translation. This work uses an independent discriminant network that can identify GAN generated image or video. A discriminant network has been created using a convolutional neural network based on InceptionResNetV2. The article also proposes a platform where users can detect forged images and videos. This proposed work has the potential to help the forensics domain to detect counterfeit videos and hidden criminal evidence towards the identification of criminal activities.

cs.CV

Kornia-rs: A Low-Level 3D Computer Vision Library In Rust

We present \textit{kornia-rs}, a high-performance 3D computer vision library written entirely in native Rust, designed for safety-critical and real-time applications. Unlike C++-based libraries like OpenCV or wrapper-based solutions like OpenCV-Rust, \textit{kornia-rs} is built from the ground up to leverage Rust's ownership model and type system for memory and thread safety. \textit{kornia-rs} adopts a statically-typed tensor system and a modular set of crates, providing efficient image I/O, image processing and 3D operations. To aid cross-platform compatibility, \textit{kornia-rs} offers Python bindings, enabling seamless and efficient integration with Rust code. Empirical results show that \textit{kornia-rs} achieves a 3~ 5 times speedup in image transformation tasks over native Rust alternatives, while offering comparable performance to C++ wrapper-based libraries. In addition to 2D vision capabilities, \textit{kornia-rs} addresses a significant gap in the Rust ecosystem by providing a set of 3D computer vision operators. This paper presents the architecture and performance characteristics of \textit{kornia-rs}, demonstrating its effectiveness in real-world computer vision applications.

cs.CV

Enhancing Productivity in Database Management Through AI: A Three-Phase Approach for Database

This paper presents a novel AI-powered framework designed to streamline database management and query optimization for PostgreSQL systems. Structured in three phases: Natural Language to SQL Translation, Query Execution and Analysis, and Insight Generation, the approach empowers users with intuitive, intelligent interaction with databases. By leveraging advanced natural language processing and language models, the system enables non-technical users to extract meaningful insights from complex datasets, reducing the dependency on specialized DBAs. The framework also introduces iterative refinement of queries, automatic report generation, and support for temporal data forecasting. Experimental results demonstrate improved productivity, reduced query latency, and enhanced accuracy, validating the system's effectiveness across diverse business use cases. The solution was developed and evaluated at ABV-IIITM Gwalior, under the guidance of Prof. Dr. Arun Kuma

cs.DB

Building Machine Learning Challenges for Anomaly Detection in Science

Scientific discoveries are often made by finding a pattern or object that was not predicted by the known rules of science. Oftentimes, these anomalous events or objects that do not conform to the norms are an indication that the rules of science governing the data are incomplete, and something new needs to be present to explain these unexpected outliers. The challenge of finding anomalies can be confounding since it requires codifying a complete knowledge of the known scientific behaviors and then projecting these known behaviors on the data to look for deviations. When utilizing machine learning, this presents a particular challenge since we require that the model not only understands scientific data perfectly but also recognizes when the data is inconsistent and out of the scope of its trained behavior. In this paper, we present three datasets aimed at developing machine learning-based anomaly detection for disparate scientific domains covering astrophysics, genomics, and polar science. We present the different datasets along with a scheme to make machine learning challenges around the three datasets findable, accessible, interoperable, and reusable (FAIR). Furthermore, we present an approach that generalizes to future machine learning challenges, enabling the possibility of large, more compute-intensive challenges that can ultimately lead to scientific discovery.

cs.LG

A comparison of phase field models of brittle fracture incorporating strength: I -- Mixed-mode loading

The classical variational phase-field model for brittle fracture effectively predicts the growth of large pre-existing cracks. However, the modeling of crack nucleation continues to be a significant challenge. Crack nucleation under uniform stress depends on the material's strength surface whose description is fundamentally incompatible with the energy-based Griffith propagation criterion. To address this, three main phase-field approaches have emerged, each attempting to reconcile material strength and toughness. The first, known as the classical variational approach, preserves the variational structure but fails to accurately incorporate the strength surface. In contrast, the other two approaches -- the complete nucleation and hybrid cohesive zone models -- sacrifice variational consistency. Among these, only the complete nucleation approach precisely accounts for the strength surface. All three approaches, especially the second one, deviate from the sharp variational theory of brittle fracture, raising concerns about their reliability in predicting the growth of cracks under non-mode-I loading. This paper evaluates precisely this issue. It is the first in a series of studies comparing the three approaches, systematically investigating crack growth under mode II, mode III, and mixed-mode loadings. The results confirm that the complete nucleation approach effectively predicts crack growth across all investigated problems, and its predictions agree well with those from other two approaches for tension-dominated cases. Additionally, the findings highlight that inaccurate accounting of the strength surface in the classical variational approach can influence crack path predictions. Lastly, they reveal that modifying the crack driving force to incorporate the strength surface in the hybrid cohesive zone approach causes crack propagation at an incorrect fracture toughness.

cond-mat.mtrl-sci