RobustDefect-LLM: Explainable and Robustness-Aware Industrial Surface Defect Classification with Decision Support and AI-Assisted Reporting
This paper introduces RobustDefect-LLM, an integrated industrial surface defect inspection framework that combines high-accuracy MobileNetV3-Large classification with confidence-based human review routing and AI-assisted reporting to deliver a robust, explainable, and traceable quality-control workflow, while explicitly acknowledging its performance sensitivity to severe image degradation.
Original paper licensed under CC BY 4.0 (http://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 a world where factories are like giant, busy kitchens, and the chefs (robots) are trying to cook perfect meals. But sometimes, the food gets a little burnt, or a smudge appears on the plate. In the real world of manufacturing, these "smudges" are called surface defects, and they can ruin a product's reliability. For a long time, humans had to stare at every single item, squinting to find these tiny flaws. It was tiring, and humans get tired, which means mistakes happen. Enter Artificial Intelligence (AI), specifically a branch called "Deep Learning." Think of Deep Learning like a super-powered student who doesn't just memorize pictures of defects but actually learns what a scratch or a dent looks like by studying thousands of examples. However, there's a catch: these AI students are often "black boxes." They give you an answer ("This is a scratch!"), but they can't explain why they think that, or how sure they are. In a factory, you can't just trust a black box; you need to know if the AI is confident or if it's just guessing. That's where the new idea of "Explainable AI" comes in—it's like asking the student to point to exactly where they saw the scratch and say, "I'm 99% sure because I see this line here."
This paper introduces a new system called RobustDefect-LLM, which is like a complete, high-tech quality-control team for factories. Instead of just a single robot looking at a product, this system combines a sharp-eyed AI classifier, a "magnifying glass" that shows humans exactly where the AI is looking, a smart referee that decides when to trust the AI and when to call a human expert, and even a robot writer that drafts the final report. The researchers tested this system on a dataset of 1,799 images of steel surfaces with six different types of defects (like scratches, patches, and pits). They didn't just build one model; they tested four different types of AI "brains" (ResNet50, EfficientNet-B0, DenseNet121, and MobileNetV3-Large) to see which one was the best at spotting these flaws.
The results were quite impressive for the "best" candidate, a model called MobileNetV3-Large. On a clean, perfect set of test images, this model got it right 99.26% of the time. That's incredibly accurate! It was so good that it was statistically tied with another strong contender, DenseNet121, meaning there wasn't a huge difference between them, but MobileNetV3-Large was chosen because it was faster and lighter, making it easier to run on factory computers. The system also proved it could "see" what it was looking at. Using a technique called Grad-CAM, the system generated heatmaps (like a thermal camera view) that highlighted the exact spots on the steel where the defect was, giving human operators visual proof of the AI's decision.
But here is the most important part of the story: the system knows when it doesn't know. The researchers programmed a "smart referee" rule. If the AI isn't very confident (specifically, if its confidence score is below 0.90 or if it's confused between two similar defects), the system automatically stops and says, "HUMAN REVIEW." In their tests, this rule was very strict. It sent 87.78% of the images to a human to check, only letting 12.22% of the decisions happen automatically. Why so strict? Because the system is designed to be safe. When they looked at the two mistakes the AI made, both of them were caught by this "Human Review" rule! This means the system successfully prevented any wrong automatic decisions from happening in the test.
However, the paper is very honest about its limits. When the researchers simulated bad conditions—like making the images blurry, dark, or noisy—the AI's performance dropped significantly. At mild levels of "badness," accuracy fell to 87.78%, and at severe levels, it dropped below 40%. This tells us that while the system is great in a controlled lab, it's not yet ready to handle the messy, unpredictable reality of a real factory floor without more training. The system also doesn't know what a "perfect" piece of steel looks like; it only knows what the six specific defects look like, so it can't tell you if a piece is perfect, only if it has a specific flaw.
To tie it all together, the team built a full mobile app that lets factory workers take a picture of a steel sheet, see the AI's guess, look at the "heat map" to see where the AI is looking, and get a written report generated by a Large Language Model (LLM). This report is "controlled," meaning the AI can't just make things up; it has to stick to the facts the computer found. The whole process, from taking the picture to getting a report, is designed to be a partnership between the machine and the human, ensuring that the final decision is always safe, traceable, and explained. The authors suggest that while this is a huge step forward for making AI trustworthy in factories, it still needs more testing in real-world conditions before it can run a production line entirely on its own.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.