← Latest papers
⚡ electrical engineering

Interpretable hybrid XGBoost-MH models for predicting crack coalescence stress from direct shear testing of rock-like specimens containing non-persistent joints

This study develops an interpretable hybrid XGBoost-Butterfly Optimization model, validated on 450 direct shear tests and integrated into a user-friendly GUI, to accurately predict crack coalescence stress in jointed rock masses while identifying key mechanical drivers through SHAP analysis.

Original authors: Fariborz Matinpour, Shadman Mohammadi Bolbanabad, Vahab Sarfarazi, Mohammad Rezaei, Matin Eghdami, Mahdi Hasanipanah

Published 2026-07-10
📖 5 min read🧠 Deep dive

Original authors: Fariborz Matinpour, Shadman Mohammadi Bolbanabad, Vahab Sarfarazi, Mohammad Rezaei, Matin Eghdami, Mahdi Hasanipanah

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a giant block of rock, but it's not a solid, perfect cube. It's more like a puzzle made of broken pieces glued together, with cracks running through it that don't quite go all the way across. These are called "non-persistent joints." Now, imagine you try to slide the top half of this block sideways while pushing down on it. What happens? The rock doesn't just slide; the cracks start to grow, they meet up, and suddenly the whole thing snaps. The exact moment the cracks join forces to break the rock is called the Crack Coalescence Stress (CCS).

For a long time, figuring out exactly when this snap happens has been like trying to guess the ending of a mystery novel by reading only the first page. Scientists have done hundreds of experiments, but the math behind it is so twisty and complicated that it's hard to predict without doing the messy lab work every single time.

That's where this study comes in. The researchers decided to teach a super-smart computer brain to be the detective. They didn't just use one brain; they built a team of four different "metaheuristic" algorithms—think of them as four different types of treasure hunters, each with their own unique way of searching for the best answer. These hunters were:

  1. The Honey Badger (HBA): A tough, relentless digger.
  2. The Butterfly (BOA): A sensitive searcher that follows scent trails.
  3. The Crow (CSA): A clever bird that remembers where it hid food and watches others.
  4. The Grey Wolf (GWO): A pack leader that coordinates a hunt.

Their job was to tune a powerful machine learning tool called XGBoost. Think of XGBoost as a very fast, very accurate calculator that can learn from patterns. But like a video game character, it needs its settings tweaked perfectly to work its best. The four "hunters" (algorithms) raced to find the perfect settings for the calculator.

The Big Discovery
The team ran 450 direct shear tests on rock-like specimens made of gypsum and cement. They crunched all that data and let the four hunters do their thing. Here is the result: All four hunters were good, but the Butterfly (BOA) was the clear winner.

The XGBoost–BOA model didn't just guess; it nailed the prediction. When tested on new, unseen data, it got it right 99.62% of the time (a score called VAF). Its error was tiny, with a Root Mean Square Error (RMSE) of just 1.2680 and a Mean Absolute Error (MAE) of 0.8159. In the world of rock physics, that's like hitting a bullseye from across the room. The other hunters (GWO, CSA, and HBA) were close, but the Butterfly's predictions were the most stable and reliable, with the least amount of "wobble" or uncertainty.

What Actually Matters?
The researchers didn't just want a black box that gives a number; they wanted to know why the computer made its choice. Using a special "X-ray" tool called SHAP analysis, they looked inside the model's brain. They found that three things were the heavy hitters controlling when the rock breaks:

  1. Normal Stress (σₙ): How hard you are pushing down on the rock.
  2. Uniaxial Compressive Strength (σc): How strong the rock material itself is.
  3. Jointing Coefficient (JC): A number that describes how much of the rock's surface is actually a crack versus solid rock.

The model showed that if you push down harder (higher normal stress) or if the rock is stronger (higher compressive strength), the cracks need more force to join up. Interestingly, other factors like the rock's elasticity or Poisson's ratio played a much smaller role in this specific scenario. The model learned that the "big three" are the ones calling the shots.

What the Paper Rules Out
The study explicitly argues against the idea that you can easily predict this behavior by looking at just one factor in isolation, like just the joint length or just the angle. The paper suggests that the interaction between the normal stress, the material strength, and the jointing coefficient is too complex to untangle with simple experiments alone. The old way of trying to guess these relationships qualitatively (just by looking and guessing) isn't enough; you need this kind of data-driven, hybrid approach to see the full picture.

How Sure Are They?
The authors are very confident in their numbers, but they are careful not to claim they have solved the universe. They proved their model works incredibly well on the 450 specific tests they ran in the lab. They used a technique called 10-fold cross-validation, which is like testing a student on ten different practice exams to make sure they aren't just memorizing answers but actually learning the lesson. The results held up every time.

However, they are honest about the limits. This model was trained on rock-like specimens made of gypsum and cement mixtures in a lab setting. They don't claim this model works perfectly on every single type of rock in the real world (like a mountain made of granite or sandstone) without more testing. They suggest that while the tool is powerful, future work needs to test it on a wider variety of materials and stress conditions to be truly universal.

The Cool Bonus: A Video Game for Engineers
To make this useful for real people, the team didn't just leave the math in a notebook. They built a Graphical User Interface (GUI). Imagine a simple app where an engineer can type in the rock's strength, the pressure, and the crack details, click a "Predict" button, and instantly get the answer. It turns a complex, high-tech math problem into a simple tool anyone can use to design safer tunnels, dams, and slopes.

In short, the paper shows that by letting a "Butterfly" hunt for the best settings in a super-computer, we can predict exactly when a cracked rock will snap under pressure with amazing accuracy, giving us a clearer map of how the ground beneath our feet might behave.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →