SearcharxivSearch

arXiv subjects

Ali Sadeghi

Publications and source records attributed to Ali Sadeghi.

At least 19 recordsLinked to original sources

Learning Spectral Representations of Code through Latent Graph Learning for Generalizable Cross-Language Code Clone Detection

Current code clone detection (CCD) methods rely on fixed, language-specific graph representations like abstract syntax trees (ASTs) or program dependency graphs (PDGs). Because functionally identical code fragments can yield wildly different structures, these rigid graphs produce non-discriminative spectra that perform close to chance. To address this, we propose SPECTRA-Siam, a Siamese latent graph learning network that learns a latent space such that the graph's spectrum serves as a discriminative signature of code functionality by optimizing downstream CCD performance. Given a fragment's AST and data-dependencies, SPECTRA-Siam induces a fixed-size weighted latent graph through soft slot assignment and multi-head attention, and extracts a multi-scale spectral representation from its normalized Laplacian. Mapping all fragments into this shared space yields comparable spectra across programming languages. Experiments on BigCloneBench, AtCoder, and a four-language CodeNet benchmark (Java, Python, C++, C#) support this design choice. Using the same downstream classifier, moving from fixed to learned latent graphs spectra jumps F1 from 0.37 to 0.67 on BigCloneBench and accuracy from 0.60 to 0.71 on AtCoder. On CodeNet, the full model reaches 0.69 accuracy in four epochs and 0.79 after thirty epochs. In bridge-assisted language transfer across 60 unseen paths, SPECTRA-Siam's performance degrades by only 0.058, versus 0.112--0.228 for baselines, showing that learned graph spectra provide a highly generalizable representation for cross-language clone detection.

cs.SE

Machine learning the local electronic density of states

Electronic density of states (DOS) plays a crucial role in determining and understanding materials properties. We investigate the machine learnability of additive atomic contributions to electronic DOS, focusing on atom-projected DOS rather than structural DOS. This approach for structure-property mapping is both scalable and transferable, and achieves high prediction accuracy for pure and compound silicon and carbon structures of various sizes and configurations. Furthermore, we demonstrate the generalizability of this model to complex Sn-S-Se compound structures. Utilizing locally trained DOS is shown to significantly enhance the accuracy of predicting material properties, including band energy, Fermi energy, heat capacity, and magnetic susceptibility. Our findings indicate that directly learning atomic DOS, rather than structural DOS, improves the efficiency, accuracy, and interpretability of machine learning in structure-property mapping. This streamlined approach reduces computational complexity, paving the way for examination of electronic structures in materials without the need for computationally expensive ab initio calculations

cond-mat.mtrl-sci

Pellet-based 3D Printing of Soft Thermoplastic Elastomeric Membranes for Soft Robotic Applications

Additive Manufacturing (AM) is a promising solution for handling the complexity of fabricating soft robots. However, the AM of hyperelastic materials is still challenging with a limited material range. Within this work, pellet-based 3D printing of very soft thermoplastic elastomers (TPEs) was explored (down to Shore Hardness 00-30). Our results show that TPEs can have similar engineering stress and maximum elongation as Ecoflex OO-10. In addition, we 3D-printed airtight thin membranes (0.2-1.2 mm), which could inflate up to a stretch of 1320%. Combining the membrane's large expansion and softness with the 3D printing of hollow structures simplified the design of a bending actuator that can bend 180 degrees and reach a blocked force of 238 times its weight. In addition, by 3D printing TPE pellets and rigid filaments, the soft membrane could grasp objects by enveloping an object or as a sensorized sucker, which relied on the TPE's softness to conform to the object or act as a seal. In addition, the membrane of the sucker acted as a tactile sensor to detect an object before adhesion. These results suggest the feasibility of AM of soft robots using soft TPEs and membranes as a promising class of materials and sensorized actuators, respectively.

cs.RO

Can Neural Networks Learn Nanoscale Friction?

Current nanofriction experiments on crystals, both tip-on-surface and surface-on-surface, provide force traces as their sole output, typically exhibiting atomic size stick-slip oscillations. Physically interpreting these traces is a task left to the researcher. Historically done by hand, it generally consists in identifying the parameters of a Prandtl-Tomlinson (PT) model that best reproduces these traces. This procedure is both work-intensive and quite uncertain. We explore in this work how machine learning (ML) could be harnessed to do that job with optimal results, and minimal human work. A set of synthetic force traces is produced by PT model simulations covering a large span of parameters, and a simple neural network (NN) perceptron is trained with it. Once this trained NN is fed with experimental force traces, it will ideally output the PT parameters that best approximate them. By following this route step by step, we encountered and solved a variety of problems which proved most instructive and revealing. In particular, and very importantly, we met unexpected inaccuracies with which one or another parameter was learned by the NN. The problem, we then show, could be eliminated by proper manipulations and augmentations operated on the training force traces, and that without extra efforts and without injecting experimental informations. Direct application to the sliding of a graphene coated AFM tip on a variety of 2D materials substrates validates and encourages use of this ML method as a ready tool to rationalise and interpret future stick-slip nanofriction data.

cond-mat.mes-hall

From Problem to Solution: Bio-inspired 3D Printing for Bonding Soft and Rigid Materials via Underextrusions

Vertebrate animals benefit from a combination of rigidity for structural support and softness for adaptation. Similarly, integrating rigidity and softness can enhance the versatility of soft robotics. However, the challenges associated with creating durable bonding interfaces between soft and rigid materials have limited the development of hybrid robots. Existing solutions require specialized machinery, such as polyjet 3D printers, which are not commonly available. In response to these challenges, we have developed a 3D printing technique that can be used with almost all commercially available FDM printers. This technique leverages the common issue of underextrusion to create a strong bond between soft and rigid materials. Underextrusion generates a porous structure, similar to fibrous connective tissues, that provides a robust interface with the rigid part through layer fusion, while the porosity enables interlocking with the soft material. Our experiments demonstrated that this method outperforms conventional adhesives commonly used in soft robotics, achieving nearly 200\% of the bonding strength in both lap shear and peeling tests. Additionally, we investigated how different porosity levels affect bonding strength. We tested the technique under pressure scenarios critical to soft and hybrid robots and achieved three times more pressure than the current adhesion solution. Finally, we fabricated various hybrid robots using this technique to demonstrate the wide range of capabilities this approach and hybridity can bring to soft robotics. has context menu

cs.RO

3D Printed Proprioceptive Soft Fluidic Actuators with Graded Porosity

Integration of both actuation and proprioception into the robot body would provide actuation and sensing in a single integrated system. Within this work, a manufacturing approach for such actuators is investigated that relies on 3D printing for fabricating soft-graded porous actuators with piezoresistive sensing and identified models for strain estimation. By 3D printing, a graded porous structure consisting of a conductive thermoplastic elastomer both mechanical programming for actuation and piezoresistive sensing were realized. Whereas identified Wiener-Hammerstein (WH) models estimate the strain by compensating the nonlinear hysteresis of the sensorized actuator. Three actuator types were investigated, namely: a bending actuator, a contractor, and a three DoF bending segment (3DoF). The porosity of the contractors was shown to enable the tailoring of both the stroke and resistance change. Furthermore, the WH models could provide strain estimation with on average high fits (83%) and low RMS errors (6%) for all three actuators, which outperformed linear models significantly (76.2/9.4% fit/RMS error). These results indicate that an integrated manufacturing approach with both 3D printed graded porous structures and system identification can realize sensorized actuators that can be tailored through porosity for both actuation and sensing behavior but also compensate for the nonlinear hysteresis.

cs.RO

Soft insoles for estimating 3D ground reaction forces using 3D printed foam-like sensors

Sensorized insoles provide a tool for gait studies and health monitoring during daily life. For users to accept such insoles they need to be comfortable and lightweight. Previous work has already demonstrated that estimation of ground reaction forces (GRFs) is possible with insoles. However, these are often assemblies of commercial components restricting design freedom and customization. Within this work, we investigate using four 3D-printed soft foam-like sensors to sensorize an insole. These sensors were combined with system identification of Hammerstein-Wiener models to estimate the 3D GRFs, which were compared to values from an instrumented treadmill as the golden standard. It was observed that the four sensors behaved in line with the expected change in pressure distribution during the gait cycle. In addition, the identified (personalized) Hammerstein-Wiener models showed the best estimation performance (on average RMS error 9.3%, R^2=0.85 and mean absolute error (MAE) 7%) of the vertical, mediolateral, and anteroposterior GRFs. Thereby showing that these sensors can estimate the resulting 3D force reasonably well. These results for nine participants were comparable to or outperformed other works that used commercial FSRs with machine learning. The identified models did decrease in estimation performance over time but stayed on average 11.35% RMS and 8.6% MAE after a week with the Hammerstein-Wiener model seeming consistent between days two and seven. These results show promise for using 3D-printed soft piezoresistive foam-like sensors with system identification to be a viable approach for applications that require softness, lightweight, and customization such as wearable (force) sensors.

cs.RO

A Bioinspired Stiffness Tunable Sucker for Passive Adaptation and Firm Attachment to Angular Substrates

The ability to adapt and conform to angular and uneven surfaces improves the suction cup's performance in grasping and manipulation. However, in most cases, the adaptation costs lack of required stiffness for manipulation after surface attachment; thus, the ideal scenario is to have compliance during adaptation and stiffness after attachment to the surface. Nevertheless, most stiffness modulation techniques in suction cups require additional actuation. This article presents a new stiffness tunable suction cup that adapts to steep angular surfaces. Using granular jamming as a vacuum driven stiffness modulation provides a sensorless for activating the mechanism. Thus, the design is composed of a conventional active suction pad connected to a granular stalk, emulating a hinge behavior that is compliant during adaptation and has high stiffness after attachment is ensured. During the experiment, the suction cup can adapt to angles up to 85 degrees with force lower than 0.5 N. We also investigated the effect of granular stalk's length on the adaptation and how this design performs compared to passive adaptation without stiffness modulation.

cs.RO

Theory of nonlinear optical response

We present a general formalism for investigating the second-order optical response of solids to an electric field in weakly disordered crystals with arbitrarily complicated band structures based on density-matrix equations of motion, on a Born approximation treatment of disorder, and on an expansion in scattering rate to leading non-trivial order. One of the principal aims of our work is to enable extensive transport theory applications that accounts fully for the interplay between electric-field-induced interband and intraband coherence, and Bloch-state scattering. The quasiparticle bands are treated in a completely general manner that allows for arbitrary forms of the intrinsic spin-orbit coupling (SOC) and could be extended to the extrinsic SOC. According to the previous results, in the presence of the disorder potential, the interband response in conductors in addition to an intrinsic contribution due to the entire Fermi sea that captures, among other effects, the Berry curvature contribution to wave-packet dynamics includes an anomalous contribution caused by scattering that is sensitive to the presence of the Fermi surface. To demonstrate the rich physics captured by our theory, the relaxation time matrix for different strength order is considered and at the same time we explicitly solve for some electric-field response properties of simple disordered Rashba model that are known to be dominated by interband coherence contributions. The expressions we present are amenable for numerical calculations, and we demonstrate this by performing a full band-structure calculation of the interband contribution, even in metals.

cond-mat.mes-hall

Direct 3D Printing of Soft Fluidic Actuators with Graded Porosity

New additive manufacturing methods are needed to realize more complex soft robots. One example is soft fluidic robotics, which exploits fluidic power and stiffness gradients. Porous structures are an interesting type for this approach, as they are flexible and allow for fluid transport. Within this work, the Infill-Foam (InFoam) is proposed to print structures with graded porosity by liquid rope coiling (LRC). By exploiting LRC, the InFoam method could exploit the repeatable coiling patterns to print structures. To this end, only the characterization of the relation between nozzle height and coil radius and the extruded length were necessary (at a fixed temperature). Then by adjusting the nozzle height and/or extrusion speed the porosity of the printed structure could be set. The InFoam method was demonstrated by printing porous structures using styrene-ethylene-butylene-styrene (SEBS) with porosities ranging from 46\% to 89\%. In compression tests, the cubes showed large changes in modulus (more than 200 times), density (-89\% compared to bulk), and energy dissipation. The InFoam method combined coiling and normal plotting to realize a large range of porosity gradients. This grading was exploited to realize rectangular structures with varying deformation patterns, which included twisting, contraction, and bending. Furthermore, the InFoam method was shown to be capable of programming the behavior of bending actuators by varying the porosity. Both the output force and stroke showed correlations similar to those of the cubes. Thus, the InFoam method can fabricate and program the mechanical behavior of a soft fluidic (porous) actuator by grading porosity.

cs.RO

Light-induced topological phases in thin films of magnetically doped topological insulators

We study the photon-dressed electronic band structure of topological insulator thin films which could be also doped doped by magnetic impurities in response to an off-resonance time-periodic electromagnetic field. The thin films irradiated by a circularly polarized light undergo phase transition, in a driven system made by and a fascinating feature of distinct phases emerges in the phase diagram depending on the parameters such as frequency, intensity and polarization of the light. As a particular case, quantum anomalous Hall insulator phase is induced purely by the light-induced mass term with no need to any external magnetic field or even magnetization arising from the doped-doping magnetic impurities. Moreover, a novel phase, quantum pseudo-spin Hall insulator, emerges in the phase diagram leading to anisotropic helical edge states with zero total Chern number. We verify these achievements in the phase diagrams are supported by numerical calculations for a nanoribbon of the thin film for which the edge mode behavior is observed at several points on the phase diagram. The emergence of the mentioned topological phases and the edge modes are further confirmed by both calculating the Hall conductivity by means of the Kubo formula and the Chern number of each band. The effect of light parameters on the Landau level fan diagram in the presence of a perpendicular magnetic field indicates various topological phases occurring at higher Chern numbers.

cond-mat.mes-hall

Magnetoelastic coupling enabled tunability of magnon spin current generation in 2D antiferromagnets

We theoretically investigate the magnetoelastic coupling (MEC) and its effect on magnon transport in two-dimensional antiferromagnets with a honeycomb lattice. MEC coeffcient along with magnetic exchange parameters and spring constants are computed for monolayers of transition metal trichalcogenides with Néel order ($\text{MnPS}_3$ and $\text{VPS}_3$) and zigzag order ($\text{CrSiTe}_3$, $\text{NiPS}_3$ and $\text{NiPSe}_3$) by $ab$ $initio$ calculations. Using these parameters, we predict that the spin-Nernst coefficient is significantly enhanced due to magnetoelastic coupling. Our study shows that although Dzyaloshinskii-Moriya interaction can produce spin Nernst effect in these materials, other mechanisms such as magnon-phonon coupling should be taken into account. We also demonstrate that the magnetic anisotropy is an important factor for control of magnon-phonon hybridization and enhancement of the Berry curvature and thus the spin-Nernst coefficient. Our results pave the way towards gate tunable spin current generation in 2D magnets by SNE via electric field modulation of MEC and anisotropy.

cond-mat.mtrl-sci

FPGA Implementation of a Novel Image Steganography for Hiding Images

As the complexity of current data flow systems and according infrastructure networks increases, the security of data transition through such platforms becomes more important. Thus, different areas of steganography turn to one of the most challengeable topics of current researches. In this paper a novel method is presented to hide an image into the host image and Hardware/Software design is proposed to implement our stagenography system on FPGA- DE2 70 Altera board. The size of the secret image is quadrant of the host image. Host image works as a cipher key to completely distort and encrypt the secret image using XOR operand. Each pixel of the secret image is composed of 8 bits (4 bit-pair) in which each bit-pair is distorted by XORing it with two LSB bits of the host image and putting the results in the location of two LSB bits of host image. The experimental results show the effectiveness of the proposed method compared to the most recently proposed algorithms by considering that the obtained information entropy for encrypt image is approximately equal to 8.

cs.AR

A fingerprint based metric for measuring similarities of crystalline structures

Measuring similarities/dissimilarities between atomic structures is important for the exploration of potential energy landscapes. However, the cell vectors together with the coordinates of the atoms, which are generally used to describe periodic systems, are quantities not suitable as fingerprints to distinguish structures. Based on a characterization of the local environment of all atoms in a cell we introduce crystal fingerprints that can be calculated easily and allow to define configurational distances between crystalline structures that satisfy the mathematical properties of a metric. This distance between two configurations is a measure of their similarity/dissimilarity and it allows in particular to distinguish structures. The new method is an useful tool within various energy landscape exploration schemes, such as minima hopping, random search, swarm intelligence algorithms and high-throughput screenings.

physics.comp-ph

Cauchy's Equations and Ulam's Problem

Our aim is to study the Ulam's problem for Cauchy's functional equations. First, we present some new results about the superstability and stability of Cauchy exponential functional equation and its Pexiderized for class functions on commutative semigroup to unitary complex Banach algebra. In connection with the problem of Th. M. Rassias and our results, we generalize the theorem of Baker and theorem of L. Sze'kelyhidi. Then the superstability of Cauchy additive functional equation can be prove for complex valued functions on commutative semigroup under some suitable conditions. This result is applied to the study of a superstability result for the logarithmic functional equation, and to give a partial affirmative answer to problem 18, in the thirty-first ISFE. The hyperstability and asymptotic behaviors of Cauchy additive functional equation and its Pexiderized can be study for functions on commutative semigroup to a complex normed linear space under some suitable conditions. As some consequences of our results, we give some generalizations of Skof's theorem, S.-M. Joung's theorem, and another affirmative answer to problem 18, in the thirty-first ISFE. Also we study the stability of Cauchy linear equation in general form and in connection with the problem of G. L. Forti, in the 13th ICFEI (2009), we consider some systems of homogeneous linear equations and our aim is to establish some common Hyers-Ulam-Rassias stability for these systems of functional equations and presenting some applications of these results.

math.CA

Glassy clusters: Relations between their dynamics and characteristic features of their energy landscape

Based on a recently introduced metric for measuring distances between configurations, we in- troduce distance-energy (DE) plots to characterize the potential energy surface (PES) of clusters. Producing such plots is computationally feasible on the density functional (DFT) level since it re- quires only a set of a few hundred stable low energy configurations including the global minimum. By comparison with standard criteria based on disconnectivity graphs and on the dynamics of Lennard- Jones clusters we show that the DE plots convey the necessary information about the character of the potential energy surface and allow to distinguish between glassy and non-glassy systems. We then apply this analysis to real systems on the DFT level and show that both glassy and non-glassy clusters can be found in simulations. It however turns out that among our investigated clusters only those can be synthesized experimentally which exhibit a non-glassy landscape.

physics.atm-clus

Metrics for measuring distances in configuration spaces

In order to characterize molecular structures we introduce configurational fingerprint vectors which are counterparts of quantities used experimentally to identify structures. The Euclidean distance between the configurational fingerprint vectors satisfies the properties of a metric and can therefore safely be used to measure dissimilarities between configurations in the high dimensional configuration space. We show that these metrics correlate well with the RMSD between two configurations if this RMSD is obtained from a global minimization over all translations, rotations and permutations of atomic indices. We introduce a Monte Carlo approach to obtain this global minimum of the RMSD between configurations.

cond-mat.mtrl-sci

Boron aggregation in the ground states of boron-carbon fullerenes

We present novel structural motifs for boron-carbon nano-cages of the stochiometries B12C48 and B12C50, based on first principle calculations. These configurations are distinct from those proposed so far by the fact that the boron atoms are not isolated and distributed over the entire surface of the cages, but rather aggregate at one location to form a patch. Our putative ground state of B12C48 is 1.8 eV lower in energy than the previously proposed ground state and violates all the suggested empirical rules for constructing low energy fullerenes. The B12C50 configuration is energetically even more favorable than B12C48, showing that structures derived from the C60 Buckminsterfullerene are not necessarily magic sizes for heterofullerenes.

cond-mat.mtrl-sci