AI Shows Where It Could Be Wrong... KRISS Develops 'Uncertainty Map' [Reading Science]

3D Visualization of AI Analysis Results and Uncertainty in Electron Microscope Images... Identifies Areas at High Risk of Error
Distinguishes Image Quality Issues from Insufficient AI Training... Potential Applications in Life Sciences, Medical Researc

A technology has been developed that enables artificial intelligence (AI) to analyze cell images captured by electron microscopes and indicate how uncertain its own judgments are. It can show, in a 3D map, areas where AI is more likely to make an incorrect judgment and estimate whether the cause is a problem with the image itself or insufficient training. The technology is expected to help improve AI reliability in fields requiring precise analysis, such as life sciences and medical research and inspections for microdefects in semiconductors.

Three-dimensional structure of a rat cell analyzed by AI, with uncertainty maps. (a) Original electron microscopy image, (b) ground truth annotated by a human, and (c) AI analysis results. Blue indicates the nucleus, and green indicates lysosomes. (d)-(f) show total uncertainty, uncertainty arising from the image itself, and uncertainty due to insufficient AI training, respectively. Redder areas indicate greater uncertainty. Uncertainty was highest mainly along the boundaries of cell organelles, and overall, the image itself had a greater influence. The depth dimension is exaggerated threefold compared with the actual scale. Provided by the research team.

Three-dimensional structure of a rat cell analyzed by AI, with uncertainty maps. (a) Original electron microscopy image, (b) ground truth annotated by a human, and (c) AI analysis results. Blue indicates the nucleus, and green indicates lysosomes. (d)-(f) show total uncertainty, uncertainty arising from the image itself, and uncertainty due to insufficient AI training, respectively. Redder areas indicate greater uncertainty. Uncertainty was highest mainly along the boundaries of cell organelles, and overall, the image itself had a greater influence. The depth dimension is exaggerated threefold compared with the actual scale. Provided by the research team.

View original image

The Korea Research Institute of Standards and Science (KRISS) said a research team from its Future-Oriented Research Equipment Group had developed a technology that visualizes both AI analysis results for electron microscope images and the uncertainty of its judgments in 3D. The findings were published last September in the international journal Microscopy and Microanalysis.


Understanding cell functions and identifying the causes of disease require 3D analysis of the locations and shapes of cell organelles, such as the cell nucleus and lysosomes. One instrument used for this purpose is a serial block-face scanning electron microscope (SBF-SEM). It repeatedly images the surface of a sample and shaves off layers just tens of nanometers (nm; one-billionth of a meter) thick, producing hundreds to thousands of cross-sectional images.


The process of distinguishing cell organelles in these images is called segmentation. AI has recently been used to perform this task, but existing technologies have been limited in that they provide analysis results without indicating how reliable each individual judgment is.


The research team applied a technique called Deep Ensemble, which combines predictions from multiple AI models. At each point in an image, the team calculated the regions identified by AI and the uncertainty of its judgments, then reconstructed each as a 3D map. This makes it easier for researchers to find parts of the AI analysis that need to be checked again.


When applied to images of actual mouse cells, uncertainty was high in areas where AI incorrectly identified the background as lysosomes. Uncertainty was also high in places that were difficult to distinguish, such as areas resembling lysosomes and the boundaries of the cell nucleus, even when AI made the correct judgment.


The research team estimated two types of uncertainty: “data uncertainty,” arising from the image quality or structural ambiguity, and “model uncertainty,” resulting from insufficient AI training. This distinction can help determine whether image quality needs to be improved or the AI training data need to be supplemented.


Overall, uncertainty arising from the images themselves was greater. However, in small lysosome regions, uncertainty due to insufficient training was relatively higher than in the cell nucleus or background.

KRISS research team developing 3D analysis technology for AI uncertainty. From left: Park Inyong, head of the Future-Oriented Research Equipment Group; senior researcher Park Junhyeong; and student researcher Ham Yeonggwon. Photo provided by KRISS.

KRISS research team developing 3D analysis technology for AI uncertainty. From left: Park Inyong, head of the Future-Oriented Research Equipment Group; senior researcher Park Junhyeong; and student researcher Ham Yeonggwon. Photo provided by KRISS.

View original image

The team also tested how closely AI’s confidence in its judgments matched its actual accuracy. After comparing various training conditions over 50 repetitions, the team said that the “cross-entropy” method performed best in terms of accuracy and reliability.


Its accuracy was similar to that of the “Dice loss” method, which is widely used for segmentation, but the gap between AI’s confidence and its actual accuracy was reduced to about one-seventh. In other words, AI can now do more than simply produce correct answers: it can also indicate more accurately how trustworthy its judgments are.


The technology could be used not only in life sciences and medical research analyzing changes in cell organelles, but also to inspect the internal structures and microdefects of advanced semiconductor packaging. However, its practical application and performance in semiconductor inspection still require further validation.



“Even an AI with 99% accuracy could still be wrong in any given result,” said Park Junhyeong, a senior researcher at KRISS. “We will expand the scope of the technology’s application so that AI misjudgments can be minimized even in industrial settings where a single decision directly affects yield, such as semiconductor defect inspection.”