Research

May 20, 2026Jikai LiProduct DevelopmentR&D

AI Explainability: History, Methods, and Implementation in Architectural Drawing Review

Product

Start free Enterprise inquiries

Career

We're actively hiring people to build specialized AI agent services together at mign

Automatically translated from the Japanese original.

Overview

AI explainability means making it possible for people to understand why an AI reached a given decision: what it looked at, what it overlooked, where its uncertainty lies, and how its reasoning can be traced when something goes wrong. It is an essential requirement for operating AI in high-stakes domains such as the review of architectural drawings. This article traces the history of the black-box problem that emerged alongside deep learning, maps the full landscape of methods — ante-hoc interpretability such as decision trees and EBMs, post-hoc explainability such as LIME, SHAP and counterfactual explanations, heatmaps for image models, and mechanistic interpretability for large language models — and proposes how these ideas can be implemented in AI for drawing review. Our conclusion: AI output should be designed as a layered evidence chain consisting of the conclusion, its location on the drawings, the governing codes and clauses, the associated uncertainty, and logs plus a path for human verification. Seen this way, explainability is not an added cost but a competitive moat for the product.

Introduction: Does AI Really "Understand"?

The explosive progress of deep learning in modern AI was not the product of any single breakthrough. The turning point came when several ingredients — models, data, and computing power — matured at the same time.

In the 1990s, the convolutional neural network proposed by Yann LeCun and colleagues, known as LeNet, demonstrated strong performance in handwritten digit and document recognition. Research into deep learning then advanced further through the work of Geoffrey Hinton and other researchers. Meanwhile, advances in GPU-based parallel computing made large-scale matrix operations practical to execute. On top of that, ImageNet, the large-scale image dataset championed by Fei-Fei Li's team, gave AI systems a vast body of real-world images to learn from and a common benchmark for comparing and competing on performance. Then, in 2012, AlexNet — developed by Alex Krizhevsky, Ilya Sutskever and Geoffrey Hinton — achieved a landmark result on the ImageNet image recognition task, and modern deep learning began to attract serious attention.

This, however, raises a fundamental question. Feed an image into the model and it returns a highly accurate recognition result. On the surface, the AI certainly appears to be "getting it right." But do we really understand why it produced that answer?

When an AI recognizes a cat, does it genuinely understand the cat's eyes, ears, outline and body structure? Or has it merely memorized statistical patterns in the training data? When it assesses risk in a medical image, is it actually looking at the lesion? Or might it be responding to information it should never rely on — a watermark, the quirks of a particular imaging device, a hospital's identifying marks? It is much like a person who has watched an apple fall from a tree ten thousand times and can now correctly predict that "apples fall downward" — and yet that person does not necessarily understand gravity.

In high-stakes domains such as autonomous driving, medical diagnosis, architectural drawing review, and financial risk management, this question matters enormously. In these fields, an AI error is not like getting one practice question wrong; it bears directly on safety, liability, cost and trust. Explainability, then, is not simply a "nice-to-have" technology. It is a crucial element in the evolution of AI from "something that produces results" into "something that humans can understand, verify, trust and govern."

Executive Summary

Put simply, AI explainability is not about getting the AI to "talk more persuasively." It is about enabling people to understand why the AI made a particular decision: what it looked at, what it missed, where its uncertainty lies, and how its reasoning can be traced when problems arise.

The reason this topic has become so important in recent years is not merely that "people dislike black boxes." Regulation, customer trust, quality audits, safety accountability and cross-functional collaboration are all pushing AI firmly from a stage of "just give the answer" to one of "give the answer together with the reasons." The EU AI Act requires technical documentation, automatic logging, transparency and human oversight for high-risk AI systems. China's regulations on algorithmic recommendation services and its interim measures on generative AI services likewise call for disclosure and explanation of the basic principles, purposes and main operating mechanisms of algorithms. NIST, too, identifies "opacity" — the difficulty of seeing into and grasping AI systems — as one of the key sources of AI risk.

Looking back at the research history, early AI was built around rules, decision trees and expert systems, and the models themselves were relatively easy to understand. The rise of deep learning brought a rapid leap in accuracy, but at the cost of a sharp drop in model readability. In response, the late 2010s saw the emergence of methods for "attaching an instruction manual to the black box": heatmaps, LIME, SHAP, Grad-CAM, counterfactual explanations and more. With the arrival of large language models, research then branched in two directions — explaining from the outside (presenting rationales, retrieved evidence, structured outputs) and explaining from the inside (neuron interpretation, sparse features, circuit tracing, mechanistic interpretability).

For an AI agent that reviews architectural drawings, explainability is far more than an academic nicety; it is an eminently practical productivity tool. Building review is a domain dense with rules, with clearly defined responsibilities, and highly sensitive to both false positives and missed issues. Rather than reducing the AI's output to a bare risk score, it is far better suited to real-world operation to package it as a layered body of evidence: the conclusion, its location on the drawings, the governing clause, an audit log, and an entry point for human verification.

Why the Whole Company Needs to Understand AI Explainability

Let us start with the most practical point: explanation is not decoration, it is risk management. DARPA's XAI program set as its central goal "enabling humans to understand, appropriately trust, and effectively manage AI." The U.S. National Institute of Standards and Technology (NIST) likewise notes that the opacity of AI makes risk measurement and risk management harder. In other words, explanation is not about appearances; it is what allows an organization to fold AI into processes that are genuinely governable and accountable.

When it comes to trust, what really matters is not "getting people to believe the AI more" but "enabling people to trust the AI appropriately." Without explanation, people tend to drift toward one of two extremes: over-relying on the AI because it looks clever, or abandoning it altogether because they cannot see how it works. The XAI literature and research on human–AI collaboration frequently emphasize "appropriate reliance" — a state in which people trust the system when they should and question it when they should. Note, however, that adding explanations does not automatically lead to better decisions. That is precisely why companies must design explanation as a mechanism for calibrating trust, not as a rhetorical device for winning people over to the AI.

From a safety standpoint, explanation helps reveal which "strange shortcuts" a model has learned. During training, many models pick up signals that have nothing to do with the actual task but happen to be correlated with it — watermarks, title blocks, scanning noise, page borders and the like. This is especially important for architectural drawings, which are full of elements that can mislead a model: differences in layout, scan quality, stamps, revision clouds, scale annotations, and multi-page documents merged into one.

Explainability also tends to be underestimated as a productivity lever. Once an AI drawing review can present its findings together with a heatmap, the relevant clause, the dimensional evidence, and "why this was judged to fall under this rule," it ceases to be a mere verdict machine and becomes on-the-job training material for newcomers. For audits and cross-functional collaboration, if a single conclusion can be unpacked into the affected location, the extracted dimensions, the corresponding clause, similar past cases, the model version, and a recommendation for human verification, the discussion shifts from abstract unease to concrete evidence.

History and Evolution

The history of AI explainability is easiest to understand as a story in which, as models grew more powerful, the means of explaining them had to be bolted on afterward.

PeriodWhat happenedWhat it meant for explainability
The early era of rules and tree modelsExpert systems, rule-based systems and decision trees dominated. Built on if-then structures, the models themselves could be read directlyExplanation chiefly meant "reading the model itself"
The black-box turn of deep learningDeep networks made major strides on vision tasks, and researchers began trying to understand CNNs through gradient saliency maps, feature visualization and similar techniquesExplanation shifted from "reading the rules" to "giving the black box a visual health check"
The systematization of XAIDARPA XAI set out to build explainable models without sacrificing performance, and LIME, SHAP, Integrated Gradients, Grad-CAM and others entered the mainstreamExplainability became a research field in its own right
The era of faithfulness and evaluationThe community recognized that "looking like an explanation" and "actually explaining" are different things, and proposed evaluations such as sanity checks, infidelity and sensitivityExplanations themselves became something that had to be tested
The era of LLMs and mechanistic interpretabilityWith the rise of Transformers and LLMs, research advanced into tracing attention, neurons, sparse features and internal circuits (Anthropic, OpenAI)Explanation expanded to "what is happening inside the model"

In a nutshell: early AI was a transparent machine; deep learning was a high-performance black box; the next stage fitted that black box with a dashboard and a dashcam; and today's frontier is trying to open up the engine itself. Understanding this progression also points to the most realistic strategy for enterprise implementation. Rather than attempting to see all the way through a large model from the outset, it is far more likely to deliver business value to first put in place the dashboard, the evidence chain, and the interface for human verification.

The Landscape of Methods

Strictly speaking, interpretability refers to a model that is inherently easy to understand, whereas explainability refers to a model that may itself be complex but can be explained to humans through additional means. In practice, rather than agonizing over terminology, what matters is being clear about which you want: to make the model itself transparent, or to make its results verifiable.

Ante-hoc interpretability

Ante-hoc interpretability — also known as "intrinsic interpretability" or "white-box methods" — is the idea of choosing a structure that humans can readily understand from the very design stage of the model. Decision trees, rule lists and linear models are the classic examples. Later approaches that preserve readability while improving performance include generalized additive models, GA2M, and the Explainable Boosting Machine (EBM). Decision trees are particularly easy to explain: a rule such as "if the effective width of a stair is below a given value and that area is part of an egress route, flag a risk" is something a building practitioner can grasp intuitively.

Another important direction is constrained learning. This involves imposing constraints such as sparsity, monotonicity or stability during training, or — as in self-explaining neural networks — building the relationship between "concepts, contributions and conclusions" explicitly into the model's architecture. Here, explanation is not something appended after the fact; it becomes part of the learning process itself.

Post-hoc explainability

Post-hoc explainability takes an already-trained model as it is and builds a scaffold of explanation around its output. Local explanations answer the question "why did this particular drawing receive this result?", while global explanations answer "what cues does this model generally rely on across the board?"

MethodAnalogyStrengthsLimitationsDirect value in architectural drawing review
Decision trees / rule listsA transparent flowchartEasy to audit; well suited to training and compliance discussionsWeak at capturing complex patternsExplicit-rule review; high-frequency checks of simple code provisions
EBM/GA2MReadable, term-by-term scoringDelivers both performance and interpretability on some tasksNot suited to every complex taskTabular, structured review features
LIMEA small "neighborhood tutor"Model-agnostic; handy for explaining a single resultCan be unstable because of samplingExplaining a false positive on a specific drawing
SHAPFair allocation of contributionsSupports both local and global viewsComputing and interpreting it takes experienceFeature-contribution analysis, version comparison
CounterfactualsA written correction proposalEasy to turn into actionMust consider whether the change is actually feasibleSuggesting "what to fix to pass"
Deep UnrollingBreaking a craftsman's iterative routine into fixed stepsPowerful and fast; easier to explain than a pure black boxNot appropriate for every taskImage restoration, drawing vectorization, measurement submodules

LIME works by generating many samples close to a single instance and then training a small surrogate model that can explain only that local neighborhood—think of it as a small tutor who teaches you only about the area around that one sample. SHAP, by contrast, distributes credit for the result across the individual features using Shapley values, a concept borrowed from game theory. Keep in mind, though, that a contribution value is not the same thing as a causal relationship, so these results must be interpreted with care. Counterfactual explanations show "what would have happened if things had been slightly different." In drawing review, this takes a form close to an improvement suggestion: "If this door were 900 mm wide rather than 850 mm, and the evacuation-direction arrow were added, this item would most likely pass."

Explainability in image models

The heatmap is the easiest explainability concept to grasp. At its core it is a "map of influence": picture a translucent thermal film laid over the original image, showing where the model was looking. Saliency maps, Grad-CAM, Integrated Gradients, LRP and similar methods differ in how they are computed, but they are frequently visualized in this form.

Yet precisely because heatmaps are so easy to explain, they are also extremely easy to misread. A heatmap is not a legal basis, not a proof of causation, and not a recording of the model's reasoning process. It is merely a clue indicating which regions may have served as major cues for this particular decision. If the model claims "there is an evacuation-related problem here," the heatmap should be concentrated on the stairwell, the doors, the dimension annotations, the gridline relationships and so on. If instead the title block, the drawing border or a watermark lights up strongly, the model may have learned a shortcut it was never supposed to learn.

Adversarial examples offer a critically important perspective on image explanations. Adding a tiny perturbation to the input—one that is almost invisible to a human—can be enough to make a model misclassify with high confidence. This suggests the model may have learned "non-robust features" that are unnatural to humans yet useful for prediction. Scanning, scaling, compression, local occlusion, stamps and revision marks on drawings can all amount to input changes that are small to us but fatal to the model, which is why, for drawing AI, explainability and robustness need to be considered together.

Explainability in large language models (LLMs)

The attention mechanism at the heart of the Transformer is one of the most natural entry points for thinking about LLM explainability. Tools such as BertViz visualize the attention relationships across different layers, heads and tokens. But attention is not an explanation in itself. An attention distribution does not always faithfully reveal the evidence the model is actually relying on.

One of the most familiar forms of "explanation" in the LLM era is Chain-of-Thought—having the model write out its steps. The steps a model writes down, however, are not necessarily the chain of reasons that actually operated inside it. For that reason, enterprise deployments should not rely solely on asking the LLM to "write out its reasoning in more detail." A sounder approach is to tie explainability to external evidence: RAG, structured outputs, tool calls, source citations, page numbers, code section numbers and the like. In drawing review, the best explanation an LLM can give is not a monologue about "why I thought so," but a statement of which standard it cited, where on the drawing it looked, which values it extracted and how the finding should be verified.

In recent years, the frontier of LLM explainability has moved toward mechanistic interpretability. Anthropic published research that uses sparse autoencoders to extract more monosemantic features from the activations of Claude 3 Sonnet. OpenAI, for its part, used GPT-4 to automatically generate explanations for the neurons of GPT-2. LLM explainability is progressing from the stage of "making the output readable" to one of "investigating the mechanism, controlling behavior and pinpointing problems."

Evaluation, trade-offs and limitations

The genuinely hard question in explainability is what counts as a good explanation. In practice, it helps to break the evaluation of explanations down into the following dimensions.

Evaluation axisTypical questionRepresentative methods
FaithfulnessDoes the explanation reflect the evidence the model actually relied on?Infidelity、Sensitivity、Deletion/Insertion、Sanity Checks
UsefulnessWhen a person looks at it, do understanding, verification and correction become faster and more accurate?User studies, decision accuracy, verification time
RobustnessDoes the explanation stay stable when the input changes slightly?Perturbation tests, randomization tests, version comparison
ActionabilityCan the explanation be converted into a concrete correction proposal?Counterfactual explanations, rule alignment, evidence cards
ComplianceCan the explanation be used for record-keeping, post-hoc review and accountability?Log completeness, source tracing, human verification workflows

It is often said that "accuracy and explainability are always a trade-off," but strictly speaking that is not necessarily true. Research on EBMs and GA2Ms shows that interpretable models can achieve very high performance on some tasks. What matters in practice is which explanation helps which user on which task. A mature explainability system for business use must uphold at least three principles: it must be faithful (not misleading), useful (helpful for deciding, verifying and improving), and traceable (allowing responsibility and evidence to be followed back).

Implementation proposals for architectural drawing review AI, and the road ahead

My strongest recommendation is not to start by building "flashy explanations," but to build an evidence chain for drawing review—that is, to ensure that every AI output carries at least the following five layers.

  1. Conclusion

  2. Location on the drawing

  3. Basis in standards and code provisions

  4. Uncertainty

  5. Logs and a human verification path

Suppose, for example, that the AI flags on a floor plan that "the effective width of the evacuation door may be insufficient." A useful explanation cannot stop at displaying that one sentence. It should simultaneously show the door's location, the dimension annotations the model attended to, the effective width extracted via OCR or geometric analysis, the applicable code provision, the version and page of that provision, and a counterfactual correction suggestion such as "adjusting this width to at least a certain value would likely allow it to pass." Output of this kind serves as a verification card for the reviewer, an explanation card for the client, and training data for the product and algorithm teams.

Conversely, when the model mistakes a past revision note in the title block for a normative statement on the current page, or misreads a stamp, a watermark or a revision cloud as a structural member, the system should not silently issue a conclusion—it should detect an "explanation anomaly." Monitoring for mismatches between explanation and conclusion—a heatmap concentrated on non-design areas rather than design areas, visual evidence that contradicts the code evidence, or confidence that is too high despite a missing critical dimension—can surface problems earlier than simple accuracy monitoring would.

Over the next few years, AI explainability will likely advance along four fronts at once: first, verifiable AI (formal guarantees for critical properties); second, the standardization of explainability (model cards, explanation cards, logging specifications); third, the automation of explainability (automatic generation of code-provision evidence cards, automatic detection of unnaturally high confidence); and fourth, the interplay between explainability and privacy and safety (layered explanations).

The clearest recommendation is to define explainability as a product capability, not as an add-on to the algorithm. In architectural drawing review, the ultimate winner will not be the model that is best at posting scores, but the system that best organizes conclusions, evidence, standards and human verification. In this sense, explainability is not an added cost; it is the product's barrier to entry.

The end

Read next ↓

Share this research