Daiki Miwa

Nagoya Institute of Technology
1 previous affiliation
8Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Daiki Miwa focuses on the development of rigorous statistical frameworks for deep learning models, with a primary emphasis on Valid Statistical Inference After Data Dependent Selection. His work addresses the "double-dipping" problem in modern machine learning, where the same dataset is used both to identify patterns—such as anomalies in medical images or salient regions in vision models—and to test their statistical significance. By applying Valid Statistical Inference After Data Driven Selection, Miwa develops methods that provide reliable p-values and error control for high-dimensional generative and discriminative architectures, including Vision Transformers (ViTs), Variational Autoencoders (VAEs), and diffusion models.

Research Trajectory

Miwa’s research trajectory is defined by the application of selective inference (SI) to increasingly complex deep learning architectures. The core of his work involves moving beyond the "black box" nature of neural networks to provide quantifiable reliability for their outputs, particularly in high-stakes domains like medical diagnostics and industrial inspection.

In the early stages of the observed period (2024), Miwa’s work focused on the interpretability of discriminative models. He contributed to the development of statistical tests for internal model components, specifically the attention mechanisms in Vision Transformers. This research sought to determine whether the "importance" assigned to specific image regions by a model was statistically significant or merely a result of random noise. This period established his focus on Valid Statistical Inference After Data Driven Model Selection, ensuring that post-hoc explanations of model behavior are grounded in frequentist reliability.

By 2025, Miwa transitioned toward generative modeling, specifically focusing on anomaly detection (AD). As a primary contributor in this area, he developed frameworks for Variational Autoencoders (VAEs) to quantify the reliability of detected anomalies. This shift represents a move from interpreting model decisions to validating model discoveries. In this context, the selection event is the identification of an anomaly by the VAE, and the inference is the subsequent test of whether that anomaly represents a true deviation from the learned distribution.

Most recently (2025–2026), Miwa has extended these SI frameworks to state-of-the-art diffusion models. This work addresses the inherent uncertainty and bias in generative counterparts used for anomaly localization. By conditioning statistical tests on the fact that an image was produced or reconstructed by a diffusion model, his collaborative work provides a mathematical basis for trusting AI-generated diagnostic tools. While his role in these later projects is as a contributing author, the continuity of the selective inference methodology suggests a sustained focus on the intersection of generative AI and statistical validity.

Current Directions

Miwa’s current research appears centered on the refinement of anomaly localization techniques. The primary challenge he addresses is the "winner’s curse" in automated detection: when an algorithm scans an image and flags the most unusual region, that region is statistically likely to appear anomalous even in normal data due to the sheer number of regions inspected. His work utilizes SI to adjust for this selection bias, providing a "corrected" significance level that maintains a pre-specified false positive rate.

A significant portion of his recent output is dedicated to the reliability of diffusion-based models. These models are increasingly used to generate "normal" versions of anomalous images to highlight differences; however, the generation process itself introduces stochasticity. Miwa’s work focuses on quantifying how this uncertainty propagates through the detection pipeline, ensuring that the final localization of a defect or lesion is statistically robust.

Representative Work

In Statistical Test for Attention Maps in Vision Transformers, Miwa (as second author) addressed the lack of theoretical grounding in ViT interpretability. The paper introduces a framework to calculate p-values for attention maps, allowing researchers to distinguish between meaningful feature focus and stochastic artifacts. This work is a direct application of selective inference to the internal weights of a transformer architecture, providing a method to control the false positive rate when identifying "important" image patches.

Miwa’s first-author work, Statistical Test for Anomaly Detections using Variational Auto-Encoders by Selective Inference, represents a major methodological contribution to the field of reliable AI. The paper introduces the "VAE-AD Test," which provides a rigorous statistical assessment of anomalies detected by VAEs. By accounting for the data-driven nature of the detection process, the test allows for controlled probability in misidentifying anomalies, a critical requirement for deploying VAEs in high-stakes environments such as medical imaging.

In the collaborative study Statistical Test on Diffusion Model-based Anomaly Detection by Selective Inference, Miwa participated in extending SI to the domain of diffusion-based image generation. The research addresses the task of detecting anomalous regions in medical images. The method conducts statistical tests conditioned on the generative process of the diffusion model, providing a framework to quantify the reliability of AI-generated diagnostic insights.

Furthering this line of inquiry, Quantifying Statistical Significance in Diffusion-Based Anomaly Localization via Selective Inference focuses on the localization aspect of anomaly detection. As a co-author, Miwa contributed to a framework that mitigates the biases implicitly embedded in generative models. The method provides a way to quantify the significance of detected regions, addressing concerns about the inherent uncertainty of adaptive anomaly localization in industrial and medical applications.

Profile updated

See something wrong? Report a mistake