Researcher profile

Prabhat Kumar

Prabhat Kumar contributes to research discovery and scholarly infrastructure.

ResearcherAffiliation not importedOpen to collaborate

Trust snapshot

Quick read

Trust 21 - EmergingVerification L1Unclaimed author
12works
0followers
11topics
4close collaborators

Actions

Decide how to stay connected

Follow researcher0

Identity and collaboration

How to connect with this researcher

Claiming links this public author record to a researcher profile and unlocks direct collaboration workflows.

Log in to claim

Direct collaboration

Open a focused conversation when the fit is right

Claim this author entity first to unlock direct invitations.

Research graph

See the researcher in context

Open full explorer

Inspect adjacent work, topics, institutions and collaborators without jumping out to a separate graph page.

Building this graph slice

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Published work

12 published item(s)

preprint2025arXiv

ROAD: Reflective Optimization via Automated Debugging for Zero-Shot Agent Alignment

Automatic Prompt Optimization (APO) has emerged as a critical technique for enhancing Large Language Model (LLM) performance, yet current state-of-the-art methods typically rely on large, labeled gold-standard development sets to compute fitness scores for evolutionary or Reinforcement Learning (RL) approaches. In real-world software engineering, however, such curated datasets are rarely available during the initial cold start of agent development, where engineers instead face messy production logs and evolving failure modes. We present ROAD (Reflective Optimization via Automated Debugging), a novel framework that bypasses the need for refined datasets by treating optimization as a dynamic debugging investigation rather than a stochastic search. Unlike traditional mutation strategies, ROAD utilizes a specialized multi-agent architecture, comprising an Analyzer for root-cause analysis, an Optimizer for pattern aggregation, and a Coach for strategy integration, to convert unstructured failure logs into robust, structured Decision Tree Protocols. We evaluated ROAD across both a standardized academic benchmark and a live production Knowledge Management engine. Experimental results demonstrate that ROAD is highly sample-efficient, achieving a 5.6 percent increase in success rate (73.6 percent to 79.2 percent) and a 3.8 percent increase in search accuracy within just three automated iterations. Furthermore, on complex reasoning tasks in the retail domain, ROAD improved agent performance by approximately 19 percent relative to the baseline. These findings suggest that mimicking the human engineering loop of failure analysis and patching offers a viable, data-efficient alternative to resource-intensive RL training for deploying reliable LLM agents.

preprint2024arXiv

SoRoTop: a hitchhiker's guide to topology optimization MATLAB code for design-dependent pneumatic-driven soft robots

Demands for pneumatic-driven soft robots are constantly rising for various applications. However, they are often designed manually due to the lack of systematic methods. Moreover, design-dependent characteristics of pneumatic actuation pose distinctive challenges. This paper provides a compact MATLAB code, named SoRoTop, and its various extensions for designing pneumatic-driven soft robots using topology optimization. The code uses the method of moving asymptotes as the optimizer and builds upon the approach initially presented in Kumar et al.(Struct Multidiscip Optim 61 (4): 1637-1655, 2020). The pneumatic load is modeled using Darcy's law with a conceptualized drainage term. Consistent nodal loads are determined from the resultant pressure field using the conventional finite element approach. The robust formulation is employed, i.e., the eroded and blueprint design descriptions are used. A min-max optimization problem is formulated using the output displacements of the eroded and blueprint designs. A volume constraint is imposed on the blueprint design, while the eroded design is used to apply a conceptualized strain energy constraint. The latter constraint aids in attaining optimized designs that can endure the applied load without compromising their performance. Sensitivities required for optimization are computed using the adjoint-variable method. The code is explained in detail, and various extensions are also presented. It is structured into pre-optimization, MMA optimization, and post-optimization operations, each of which is comprehensively detailed. The paper also illustrates the impact of load sensitivities on the optimized designs. SoRoTop is provided in Appendix A and is available with extensions in the supplementary material and publicly at \url{https://github.com/PrabhatIn/SoRoTop}.

preprint2024arXiv

TOPress: a MATLAB implementation for topology optimization of structures subjected to design-dependent pressure loads

In a topology optimization setting, design-dependent fluidic pressure loads pose several challenges as their direction, magnitude, and location alter with topology evolution. This paper offers a compact 100-line MATLAB code, TOPress, for topology optimization of structures subjected to fluidic pressure loads using the method of moving asymptotes. The code is intended for pedagogical purposes and aims to ease the beginners' and students' learning toward topology optimization with design-dependent fluidic pressure loads. TOPress is developed per the approach first reported in Kumar et al. (Struct Multidisc Optim 61(4):1637-1655, 2020). The Darcy law, in conjunction with the drainage term, is used to model the applied pressure load. The consistent nodal loads are determined from the obtained pressure field. The employed approach facilitates inexpensive computation of the load sensitivities using the adjoint-variable method. Compliance minimization subject to volume constraint optimization problems are solved. The success and efficacy of the code are demonstrated by solving benchmark numerical examples involving pressure loads, wherein the importance of load sensitivities is also demonstrated. TOPress contains six main parts, is described in detail, and is extended to solve different problems. Steps to include a projection filter are provided to achieve loadbearing designs close to~0-1. The code is provided in Appendix~B and can also be downloaded along with its extensions from \url{https://github.com/PrabhatIn/TOPress}.

preprint2022arXiv

HoneyTop90: A 90-line MATLAB code for topology optimization using honeycomb tessellation

This paper provides a simple, compact and efficient 90-line pedagogical MATLAB code for topology optimization using hexagonal elements (honeycomb tessellation). Hexagonal elements provide nonsingular connectivity between two juxtaposed elements and, thus, subdue checkerboard patterns and point connections inherently from the optimized designs. A novel approach to generate honeycomb tessellation is proposed. The element connectivity matrix and corresponding nodal coordinates array are determined in 5 (7) and 4 (6) lines, respectively. Two additional lines for the meshgrid generation are required for an even number of elements in the vertical direction. The code takes a fraction of a second to generate meshgrid information for the millions of hexagonal elements. Wachspress shape functions are employed for the finite element analysis, and compliance minimization is performed using the optimality criteria method. The provided Matlab code and its extensions are explained in detail. Options to run the optimization with and without filtering techniques are provided. Steps to include different boundary conditions, multiple load cases, active and passive regions, and a Heaviside projection filter are also discussed. The code is provided in Appendix~A, and it can also be downloaded along with supplementary materials from \url{https://github.com/PrabhatIn/HoneyTop90}.

preprint2022arXiv

SISL:Self-Supervised Image Signature Learning for Splicing Detection and Localization

Recent algorithms for image manipulation detection almost exclusively use deep network models. These approaches require either dense pixelwise groundtruth masks, camera ids, or image metadata to train the networks. On one hand, constructing a training set to represent the countless tampering possibilities is impractical. On the other hand, social media platforms or commercial applications are often constrained to remove camera ids as well as metadata from images. A self-supervised algorithm for training manipulation detection models without dense groundtruth or camera/image metadata would be extremely useful for many forensics applications. In this paper, we propose self-supervised approach for training splicing detection/localization models from frequency transforms of images. To identify the spliced regions, our deep network learns a representation to capture an image specific signature by enforcing (image) self consistency . We experimentally demonstrate that our proposed model can yield similar or better performances of multiple existing methods on standard datasets without relying on labels or metadata.

preprint2022arXiv

Topology optimization for additive manufacturing with length scale, overhang, and building orientation constraints

This paper presents a density-based topology optimization approach considering additive manufacturing limitations. The presented method considers the minimum size of parts, the minimum size of cavities, the inability of printing overhanging parts without the use of sacrificial supporting structures, and the printing directions. These constraints are geometrically addressed and implemented. The minimum size on solid and void zones is imposed through a well-known filtering technique. The sacrificial support material is reduced using a constraint that limits the maximum overhang angle of parts by comparing the structural gradient with a critical reference slope. Due to the local nature of the gradient, the chosen restriction is prone to introduce parts that meet the structural slope but that may not be self-supporting. The restriction limits the maximum overhang angle for a user-defined printing direction, which could reduce structural performance if the orientation is not properly selected. To ease these challenges, a new approach to reduce the introduction of such non-self-supporting parts and a novel method that includes different printing directions in the maximum overhang angle constraint are presented. The proposed strategy for considering the minimum size of solid and void phases, maximum overhang angle, and printing direction, is illustrated by solving a set of 2D benchmark design problems including stiff structures and compliant mechanisms. We also provide MATLAB codes in the appendix for educational purposes and for replication of the results.

preprint2022arXiv

Topology optimization of stiff structures under self-weight for given volume using a smooth Heaviside function

This paper presents a density-based topology optimization approach to design structures under self-weight load. Such loads change their magnitude and/or location as the topology optimization advances and pose several unique challenges, e.g., non-monotonous behavior of compliance objective, parasitic effects of the low-stiffness elements, and unconstrained nature of the problems. The modified SIMP material scheme is employed with the three-field density representation technique (original, filtered, and projected design fields) to achieve optimized solutions~close~to~0-1. A novel mass density interpolation strategy is proposed using a smooth Heaviside function, which provides a continuous transition between solid and void states of elements and facilitates tuning of the non-monotonous behavior of the objective. A constraint that implicitly imposes a lower bound on the permitted volume is conceptualized using the maximum permitted mass and the current mass of the evolving design. Sensitivities of the objective and self-weight are evaluated using the adjoint-variable method. Compliance of the domain is minimized to achieve the optimized designs using the Method of Moving Asymptotes. The Efficacy and robustness of the presented approach are demonstrated by designing various 2D and 3D structures involving self-weight. The proposed approach maintains the constrained nature of the optimization problems and provides smooth and rapid objective convergence.

preprint2021arXiv

A numerical scheme for filter boundary conditions in topology optimization on regular and irregular meshes

In density-based topology optimization, design variables associated to the boundaries of the design domain require unique treatment to negate boundary effects arising from the filtering technique. An effective approach to deal with filtering boundary conditions is to extend the design domain beyond the borders using void densities. Although the approach is easy to implement, it introduces extra computational cost required to store the additional Finite Elements (FEs). This work proposes a numerical technique for the density filter that emulates an extension of the design domain, thus, it avoids boundary effects without demanding additional computational cost, besides it is very simple to implement on both regular and irregular meshes. The numerical scheme is demonstrated using the compliance minimization problem on two-dimensional design domains. In addition, this article presents a discussion regarding the use of a real extension of the design domain, where the Finite Element Analysis (FEA) and volume restriction are influenced. Through a quantitative study, it is shown that affecting FEA or volume restriction with an extension of the FE mesh promotes the disconnection of material from the boundaries of the design domain, which is interpreted as a numerical instability promoting convergence towards local optimums.

preprint2021arXiv

SPACE: 3D Parallel Solvers for Vlasov-Maxwell and Vlasov-Poisson Equations for Relativistic Plasmas with Atomic Transformations

A parallel, relativistic, three-dimensional particle-in-cell code SPACE has been developed for the simulation of electromagnetic fields, relativistic particle beams, and plasmas. In addition to the standard second-order Particle-in-Cell (PIC) algorithm, SPACE includes efficient novel algorithms to resolve atomic physics processes such as multi-level ionization of plasma atoms, recombination, and electron attachment to dopants in dense neutral gases. SPACE also contains a highly adaptive particle-based method, called Adaptive Particle-in-Cloud (AP-Cloud), for solving the Vlasov-Poisson problems. It eliminates the traditional Cartesian mesh of PIC and replaces it with an adaptive octree data structure. The code's algorithms, structure, capabilities, parallelization strategy and performances have been discussed. Typical examples of SPACE applications to accelerator science and engineering problems are also presented.

preprint2020arXiv

Detecting Face2Face Facial Reenactment in Videos

Visual content has become the primary source of information, as evident in the billions of images and videos, shared and uploaded on the Internet every single day. This has led to an increase in alterations in images and videos to make them more informative and eye-catching for the viewers worldwide. Some of these alterations are simple, like copy-move, and are easily detectable, while other sophisticated alterations like reenactment based DeepFakes are hard to detect. Reenactment alterations allow the source to change the target expressions and create photo-realistic images and videos. While technology can be potentially used for several applications, the malicious usage of automatic reenactment has a very large social implication. It is therefore important to develop detection techniques to distinguish real images and videos with the altered ones. This research proposes a learning-based algorithm for detecting reenactment based alterations. The proposed algorithm uses a multi-stream network that learns regional artifacts and provides a robust performance at various compression levels. We also propose a loss function for the balanced learning of the streams for the proposed network. The performance is evaluated on the publicly available FaceForensics dataset. The results show state-of-the-art classification accuracy of 99.96%, 99.10%, and 91.20% for no, easy, and hard compression factors, respectively.

preprint2020arXiv

Topology Optimization of Fluidic Pressure Loaded Structures and Compliant Mechanisms using the Darcy Method

In various applications, design problems involving structures and compliant mechanisms experience fluidic pressure loads. During topology optimization of such design problems, these loads adapt their direction and location with the evolution of the design, which poses various challenges. A new density-based topology optimization approach using Darcy's law in conjunction with a drainage term is presented to provide a continuous and consistent treatment of design-dependent fluidic pressure loads. The porosity of each finite element and its drainage term are related to its density variable using a Heaviside function, yielding a smooth transition between the solid and void phases. A design-dependent pressure field is established using Darcy's law and the associated PDE is solved using the finite element method. Further, the obtained pressure field is used to determine the consistent nodal loads. The approach provides a computationally inexpensive evaluation of load sensitivities using the adjoint-variable method. To show the efficacy and robustness of the proposed method, numerical examples related to fluidic pressure loaded stiff structures and small-deformation compliant mechanisms are solved. For the structures, compliance is minimized, whereas for the mechanisms a multi-criteria objective is minimized with given resource constraints.

preprint2019arXiv

Structural and magnetic properties of co-sputtered Fe0.8C0.2 thin films

We studied the structural and magnetic properties of \FeC~thin films deposited by co-sputtering of Fe and C targets in a direct current magnetron sputtering (dcMS) process at a substrate temperature (\Ts) of 300, 523 and 773\,K. The structure and morphology was measured using x-ray diffraction (XRD), x-ray absorption near edge spectroscopy (XANES) at Fe $L$ and C $K$-edges and atomic/magnetic force microscopy (AFM, MFM), respectively. An ultrathin (3\,nm) $^{57}$\FeC~layer, placed between relatively thick \FeC~layers was used to estimate Fe self-diffusion taking place during growth at different \Ts~using depth profiling measurements. Such $^{57}$\FeC~layer was also used for $^{57}$Fe conversion electron Mössbauer spectroscopy (CEMS) and nuclear resonance scattering (NRS) measurements, yielding the magnetic structure of this ultrathin layer. We found from XRD measurements that the structure formed at low \Ts~(300\,K) is analogous to Fe-based amorphous alloy and at high \Ts~(773\,K), pre-dominantly a \tifc~phase has been formed. Interestingly, at an intermediate \Ts~(523\,K), a clear presence of \tefc~(along with \tifc~and Fe) can be seen from the NRS spectra. The microstructure obtained from AFM images was found to be in agreement with XRD results. MFM images also agrees well with NRS results as the presence of multi-magnetic components can be clearly seen in the sample grown at \Ts~= 523\,K. The information about the hybridization between Fe and C, obtained from Fe $L$ and C $K$-edges XANES also supports the results obtained from other measurements. In essence, from this work, experimental realization of \tefc~has been demonstrated. It can be anticipated that by further fine-tuning the deposition conditions, even single phase \tefc~phase can be realized which hitherto remains an experimental challenge.