Abstract
The intricate geometrical configuration of an auxetic structure enables high energy dissipation capacity at the expense of a highly nonlinear mechanical response. Under external stimuli, complicated deformation mechanisms emerge which dictate the extent of energy dissipation. Recently, the new ‘plastic hinge tracing’ method (Dhari et al., 2021) was introduced to detect such deformation mechanisms for elastoplastic porous materials. This approach is however subjective and cumbersome since it requires monitoring several plastic regions in consecutive deformed configurations. The present study innovatively extends this method by implementing machine learning (ML) techniques for objective detection of deformation modes in auxetics. To this end, a logistic regression ML model was developed to classify the deformation modes of a re-entrant honeycomb structure. The proposed procedure could successfully detect four out of the six deformation modes (‘X’, distorted ‘X’, ‘V’, and ‘V + Z + V’) using the training datasets generated by the finite element analysis and image labels created by K-means clustering algorithm. The success of the proposed automated approach lays the foundation for identifying the deformation mechanisms of other auxetics and porous materials with plastic deformations.
Introduction
Auxetics
The peculiar mechanical behaviour of auxetics is attributed to their negative Poisson’s ratio (Karimi et al., 2023), which is often induced by internal geometrical instabilities and sometimes material contrast, for example, in composites (Asthana et al., 2024; Hall and Javanbakht, 2021; Javanbakht et al., 2018, 2020b) and layered structures (Javanbakht et al., 2019). One consequence of this behaviour in auxetics is their high energy absorption (Hassani et al., 2024) which has found interesting applications in biomedical implants (Ebrahimzadeh Dehaghani et al., 2024) and aerospace components (Alderson and Alderson, 2007; Evans and Alderson, 2000) among others. Based on the internal movement of auxetics, three basic groups are recognised: re-entrant, chiral, and rotating rigid structures (Kolken and Zadpoor, 2017); among the first category is the re-entrant honeycomb (RH) structure which is created by inverting the side walls of an ordinary honeycomb geometry, see Figure 1. Various geometrical patterns for auxetics: (a) four main cell types: arrowhead, re-entrant, chiral and rotational; and (b) geometry of a symmetrical RH cell is characterised by cell width (r), arm length (l) wall thickness (t), and wall angle (θ). By adjusting these paremeters, the deformation mechanisms and consequential energy absorption characteristics of the RH structure are controlled.
Deformation mechanisms
The deformation mechanism of RHs, like many other structures, depends on geometrical variation (Hassani and Javanbakht, 2020, 2021; Hu et al., 2018; Qi et al., 2020), material variation (Javanbakht et al., 2020a), nature of the load (Wan et al., 2004), boundary conditions (Javanbakht et al., 2017), and the loading direction (Dhari et al., 2020) among others. In the literature, the deformation mechanisms are categorised based on their resemblance to the letters of the English alphabet (e.g., ‘X’, ‘y’, ‘Z’, ‘V’, Bi-‘v’ shapes) or simple geometries (e.g., diamond ⋄) (Dong et al., 2019; Zhang et al., 2015). The approach is rather equivocal and subjective to interpretation; for instance, the ‘X’ and Bi-‘v’ modes are nearly identical except for the middle separating space in the latter, see Figure 2. In addition, there exist deformation modes that do not necessarily feature a certain letter or shape, rendering their systematic detection cumbersome. Examples of different deformation modes observed in a RH structure under compressive loading. The deformation modes depend on the loading angle. The V, V + Z + V and X modes are observed during perpendicular loading whereas y, distorted X (X′), and horizontal V 
Plastic hinge tracing method
Recently, new deformation modes were reported for RHs under inclined loads (Dhari et al., 2020), which further complicates the visual detection of deformation mechanisms. Towards a systematic approach, the plastic hinge tracing (PHT) method (Dhari et al., 2021) proposes to monitor the evolution of plastic hinges for detecting any emerging deformation patterns—especially in structured materials. In this approach, high-strain regions of the structure are marked as plastic hinges while ignoring the elastic parts. In the subsequent loading steps, the evolution of these points form plastic paths, which distinguish the highly deformed regions from others. For instance in Figure 2, red points mark regions with an equivalent plastic strain greater than 10% and dashed lines show the plastic paths, see (Dhari et al., 2021) for more details. Although successful in identifying new modes, this method lacks objectivity and requires several iterations in reviewing the movement of plastic regions. Thus, automating the detection procedure seems to be an attractive extension of the method.
Machine learning for structures
ML offers a collection of techniques for classifying data and making predictions by modelling their relations in a variety of fields including computer vision, speech recognition, and natural language processing among others (Hall et al., 2023; LeCun et al., 2015). ML algorithms rely on data instead of explicit relations, and thus they become instrumental where conventional algorithms are challenging to develop. They are categorised into two main groups: supervised learning employs the ground truth knowledge as labels whereas unsupervised learning relies on clustering algorithms to identify patterns in data (Russell et al., 2010). In terms of application, ML has also proven its versatile role in structural analysis in predicting deformations (Wang et al., 2021), peak loads (Dennis and Rigby, 2023; Zahedi and Golchin, 2022), damage and failure (Ibrahim et al., 2011; Ngo et al., 2018), optimisation (Chang et al., 2022), risk mitigation (Pannell et al., 2022), and material characterisation (Liu and Aldrich, 2022). More specifically in the context of texture analysis, image processing has been used to classify fracture modes (Endo et al., 2022) and to distinguish between ductile and brittle fractures in fractography (Naik and Kiran, 2019). The present work uses image processing and ML to identify the deformation modes of auxetic materials.
Aim
As a novel application, it would be interesting to challenge ML in detecting the deformation mechanisms of structures at the mesoscopic level. This study aims to enhance the objectivity of the PHT method by introducing a novel ML-based methodology which can objectively analyse the deformation modes of RHs under various loadcases. The study is organised as follows: first, a detailed methodology is provided which combines the finite element (FE) method (Javanbakht and Öchsner, 2017, 2018), PHT, image processing techniques, and k-means clustering to train a the model. Secondly, the performance of the enhanced method is discussed in detecting the complex deformation modes of RHs under various loading angles. Finally, the study concludes the findings and provide some directions for future studies. In addition, a summary of the notation and algorithms are provided in the appendix.
Methodology
An unsupervised learning model was developed using Python to categorise the deformation mechanisms of the RH structure. To this end, nine steps should be taken, under three main stages: I. finite element analysis and image pre-processing; II. clustering; and III. training and evaluation, see Figure 3. Main steps of the proposed methodology and their sub-steps used in the study. Initially, FE analysis is performed and images at every 0.15% strain intervals are extracted and enhanced. The images are then clustered and used in the model for training and identification of deformation modes.
FE analyses
FE prototype
A RH structure (an array of 7 × 8 unit cells) was chosen as the prototype to perform quasi-static FE analyses, see Figure 4(a). The geometry of the structure was discretised into quadrilateral plane stress elements (CPS4) with an out-of-plane thickness of 50 mm. The elastoplastic behaviour was modelled as a rate-independent material with isotropic hardening (stainless steel: Young’s modulus of E = 187.5 GPa, Poisson’s ratio of ν = 0.3, yield strength of σy = 1085.5 MPa, and ultimate strength of σu = 1593 MPa), see (Dhari et al., 2021) for further details. FE model details and validation: (a) FE mesh and cell geometry of the RH structure (all dimensions are in millimetres) and (b) force-displacement validation graph. The RH structure is a 7 × 8 array of the unit cell which was discretised into four-node plane stress (CPS4) elements. The resulting FE mesh is loaded from the top and fixed at the bottom. Adapted from (Dhari et al., 2021).
FE simulations
A pushover static analysis was conducted on the structure to capture the mechanical response under a range of loading angles, θ ∈ {0°, 5°, …, 20°}. A rigid plate was used to apply displacement-controlled loading (1 × 10−3 mm vertically) to the top edge of the structure with a fixed boundary condition at the bottom edge. The deformed configurations of the RHs were exported in 0.15% strain intervals as a series of images, each corresponding to a load increment. In total, 293, 366, 347, 386 and 455 frames were obtained for 0°, 5°, 10°, 15° and 20°, respectively. The extracted images were pre-processed, augmented, and enhanced to create the datasets for the ML algorithm.
FE validation
FE prototype was validated against the experimental results provided in the literature (Remennikov et al., 2019), see Figure 4(b). Relative percentage errors below 4% were obtained for various quantities: • simulated peak force of 1.35 kN versus the 1.3 kN experimental value (3.9% relative error), • simulated energy absorption of 0.064 mJ versus 0.065 mJ (relative error of 3.17%), and • densification strain of 45.9% was obtained in the simulations versus 47.4% in experiments (relative error 3.27%).
Overall, simulated values were in good agreement with the benchmarks and the force-deformation graph agreed reasonably with the experimental one.
Preparing the region of interest
Greyscaling and thresholding the frames
The goal of image pre-processing is to extract the region of interest (RoI) from a sequence of images
RoI detection
The RoI was the centred and scaled bounding box of plastic hinges (i.e., the smallest rectangle containing all the plastic hinges), see Figure 5. By summing up the intensities of the rows (U) and columns (V), the bounding box was detected: Illustration of the detection process for the RoI (enclosed in the blue box). The RoI refers to the smallest rectangle that contains all the plastic hinges present in the image. The deformed configuration is scanned for RoI, centred, and scaled.
Where □T is the transpose operator. The bounding box (R) was represented by a set of ordered pairs containing the top-left (x1, y1) and bottom-right (x2, y2) coordinates:
When no plastic hinges were detected (i.e., a blank image), the RoI was set to be the whole image without any cropping.
RoI scaling and centring
To ensure that our deformation detection algorithm remains invariant to the size of plastic hinges, the RoI was scaled to a fixed size (128 × 128 pixels) and centred. The scaling matrix As is defined as
Augmentation
Image transformation
To improve the clustering efficiency, the dataset was augmented using a series of random transformations (e.g., rotation, scaling, and mirroring) which were applied to randomly-selected images, see Algorithm 2. The following linear transformations were used: 1. A random rotation was applied using the rotation matrix (Ar): 2. A random scaling was achieved by two operations: firstly, scaling was applied using the scaling matrix (As) with a random scaling factor (s ∈ [0.85, 1.15]); then, translation was applied using the translation matrix (At) to recentre. The first operation scales the image from the top-left corner, and the second operation re-centres the RoI to the image centre: 3. Horizontal (A⇄) or vertical (A
↑↓
) mirroring was applied using their respective transformation matrices:
Enhancement
Several morphological operations may be applied at this stage to obtain clear images and reduce noise. The choice of enhancement operations depends on the geometry of the structure, density of its cells, and the density of plastic hinges to be detected. Herein, sufficiently clear images were obtained by applying image dilation and blurring, see Algorithm 3.
Image dilation
Morphological dilation was applied to increase the fullness of plastic hinge regions for better detection during clustering. A square (5 × 5 pixels) structuring element (set dilation, Kd) was applied to each frame (I) using the Minkowski addition:
Gaussian blurring
Image blurring was achieved by convolving the image with the Gaussian function:
Clustering and balanced augmentation
Since the detection of deformation mechanism is a subjective process, obtaining ground truth labels is limited; thus, before employing a detection algorithm, clustering should be carried out. To this end, each 64 × 64 image (I) from the set of images
Optimum number of clusters
The Calinski-Harabasz (Caliński and Harabasz, 1974) and elbow (Satopaa et al., 2011) methods were selected to calculate the optimum number of clusters among the set (k ∈ {2, …, 20}), see Figure 6(a). The Calinski-Harabasz score is the ratio of the inter- to intra-cluster variance; since the variance of the dataset is limited, the score decreases only by increasing the number of clusters. Thus, it failed in identifying the optimal number of clusters. Alternatively, distortion score was plotted versus the number of clusters to determine the optimal number of clusters using the elbow method. In this method, an ‘elbow’ or a ‘cut-off point’ on the curve is determined where increasing number of clusters are no longer worth the additional cost of analysis, that is, the change in the gradient of distortion becomes insignificant to the increase of the number of clusters. Using the elbow method, k = 8 was selected as the optimal number of clusters, see Figure 6(b). Estimating the optimal number of clusters: (a) Calinski-Harabasz metric, and (b) distortion metric (the elbow method). The Calinski-Harabasz method failed to identify the optimal number of clusters due to limited variance of the dataset. However, the elbow method returned 8 as the optimal number of clusters to perform cluster analysis.
k-means clustering
Using the optimum number of clusters, the k-means algorithm is initialised at the first iteration (t = 1) with an equal number of random mean values
Data visualisation using PCA
PCA is used to transform high-dimensional data into lower dimensions such that the variance of the data is maximised (Tipping and Bishop, 1999). The output of PCA is a set of principal components: the first principal component has the largest possible variance whereas the second principal component is orthogonal to the first principal component and has the second largest variance. In addition, the dimensionality reduction was used to illustrate the detected clusters of deformation modes in a 2D plot, see Figure 7. Results of the PCA and k-means clustering for the given set of images from FE simulations. The PCA step reduced the dimensionality of the data from 4096 to 2, which allowed us to visualise the data in a 2D scatter plot. In the main figure, data points are clustered into eight groups using the k-means method where colour codes denote deformations modes C0 to C7. In the subfigure, the projected data points onto a 2D space by the PCA model and colour-coded according to the loading angle in the simulations (E0° to E20°).
Balanced augmentation
Each cluster was balanced to increase efficiency, see Algorithm 5. Augmentation of the datasets was carried out by adding minor variations, that is, some transformations (rotation, scaling, and translation) along with adding noise (step 6). Consequently, each cluster was expanded to 3, 000 images, that is,.
Pre-training, training, and testing
At the final stage of the methodology, the ML-based model was trained, validated, and tested, see Algorithm 6.
Pre-training and training
In pre-training, the dataset 1. Given is a set of observations X, each with N = 4096 features, and a set of labels Y as assigned by k-means clustering: Architecture of the logistic regression model, showing the flow of data from input to output through various stages. The logistic regression model was trained using the training and validation datasets.

Where n is the number of observations and k is the number of classes in the labelled dataset. 2. The model was initialised for training with a set of weights (w) and biases (b): 3. The input vector is transformed into log odds (Z) using the following affine map: 4. The logistic function was used to compute the probabilities of the cluster labels: 5. The loss (L) was calculated as the cross-entropy function between the predicted and actual labels using the sum of the product of the actual label to the log of its predicted label, that is, 6. To build a single integrated model, the predicted probabilities were passed through the softmax function, ensuring that the sum of the outputs across all deformation classes was one. The softmax function extends the concept of logistic regression to handle multiple classes:
Results and discussion
Detected deformation mechanisms
Six deformation modes were reported for inclined loading of RH structures in the literature for loading angles of 0°, 5°, 10°, 15° and 20°. Apart from the four previously-detected modes during uniform compression, that is, horizontal ‘V’
Clustering quality
Observed deformation types and respective detected clusters.
Addressing the unbalanced dataset
The clusters comprised of 3.31%, 3.88%, 5.51%, 10.23%, 14.74%, 19.71%, 20.52%, and 22.1% of the 10,000 samples from the first augmentation and thus, the dataset was unbalanced. This links back to the induced deformations modes under various loads as there was no intention to create the same number of images for each deformation mechanism. Training data using unbalanced data disadvantages the performance of the model; therefore, a second dataset of images was created using balanced augmentation to train the model.
Training and testing
Learning rates and accuracy of predictions using the validation and test datasets; the highlighted model was selected for label prediction.
Label prediction
Sample predictions of the semi-trained model for ten cases; highest probabilities are highlighted in grey, correct detections in green, and incorrect matches in red. The model with the learning rate of 0.001 was found to be the most accurate one.
Confusion matrix
Confusion matrix at the end of training. The algorithm can predict most of the labels with high accuracy
Concluding remarks
Significance and contribution
The present study develops a novel methodology to address an important deficiency of the PHT method, that is, the lack of objectivity in detecting deformation modes. The k-means clustering and logistic regression ML algorithms were used to classify the deformation mechanisms and develop the KNet1 model in Python. This algorithm extends the application of PHT method towards autonomous deformation detection in structured materials; characterising deformation modes has important applications in structural health monitoring (e.g., real-time monitoring (Miller et al., 2023)) and inverse design methods (e.g., customising failure mode or tailoring energy absorption).
Conclusion
Using the developed algorithm, the deformation images were classified into eight clusters with an accuracy of 88.08% on the test set. The imbalance in cluster populations can be observed due to the dominance of the recurring deformation modes during inclined compressive tests. The algorithm successfully identified four out of six deformation mechanisms (‘X’, distorted ‘X’, ‘V’, and ‘V + Z + V’ modes). The two remaining modes ‘y’ and ‘
Future work
The limitations from k-means can be overcome by refining image processing techniques, optimising k-means parameters, and exploring alternative clustering methods such as DBSCAN or hierarchical clustering. In addition, the sizing and density of clusters can be improved by a more robust algorithm. More importantly, the introduced methodology can be used to detect the deformation modes of any elastoplastic structured material without any size restrictions. A challenge for this algorithm (and likewise the PHT method) would be detecting the deformation modes of non-porous complicated geometries like scutoids (Dhari and Patel, 2022).
Footnotes
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) received no financial support for the research, authorship, and/or publication of this article.
