NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions
Daniel C. Castro

Daniel C. Castro

Microsoft (United States)
2 previous affiliations
53Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Daniel C. Castro focuses on the intersection of machine learning, causal inference, and medical imaging. His work emphasizes the development of robust representation learning techniques, the integration of causal reasoning into image analysis workflows, and the advancement of multimodal foundation models for clinical applications. Currently affiliated with the University of Illinois Urbana-Champaign, Castro’s research trajectory has evolved from fundamental investigations into latent space organization and benchmarking toward the creation of grounded, longitudinal AI systems for radiology.

Research Trajectory

The early phase of Castro’s research, beginning around 2018, was characterized by a focus on the interpretability and diagnostic rigor of representation learning. During this period, he addressed the limitations of subjective visual inspection in evaluating how neural networks encode information. This led to the development of frameworks designed to move beyond qualitative assessment by introducing controlled perturbations and geometric measurements into standard datasets. This methodological foundation was complemented by work in semi-supervised learning, where he explored cost functions that encourage compact clustering in latent spaces to improve class separation.

By 2019, Castro’s focus shifted toward the challenges of data heterogeneity in medical imaging, specifically the "scanner effect." His empirical studies demonstrated that even after standard preprocessing, machine learning models often learn to distinguish the origin of data (e.g., which hospital or scanner produced an MRI) rather than the underlying biological signals. This observation catalyzed a transition toward causal modeling. He began advocating for the integration of side-information and non-imaging covariates into probabilistic models to mitigate confounding factors. This period marked a significant pivot toward structural causal models (SCMs), which allow for the generation of counterfactuals—predicting how an anatomical phenotype might appear under different genetic or environmental conditions.

In the early 2020s, Castro expanded these causal frameworks to 3D geometric data, developing methods for generating counterfactual surface meshes of brain structures. This work addressed the theoretical and practical hurdles of counterfactual identifiability in high-dimensional image spaces. He contributed to the formalization of axiomatic constraints—such as composition, reversibility, and effectiveness—to evaluate the soundness of generative causal models. This rigorous approach to "what-if" reasoning provided a bridge between deep generative modeling and clinical hypothesis testing.

Since 2024, Castro’s work has increasingly centered on the development and evaluation of Large Multimodal Models (LMMs) within the clinical domain, particularly for radiology. This current phase involves the creation of specialized models that combine vision encoders with large language models to generate structured reports. A key theme in this recent work is "grounding"—ensuring that model-generated text is spatially and logically tied to specific regions in medical images. This evolution reflects a broader shift in the field toward Unified Generative and Contrastive Self-Supervised Learning, where models are trained to both understand global semantics and maintain dense spatial awareness.

Current Directions

Castro’s current research program addresses the "last mile" of AI integration in healthcare, focusing on reliability, spatial reasoning, and temporal consistency. A primary area of interest is Dense Spatial Awareness in Vision-Language Foundation Models. In the context of radiology, this involves moving beyond simple image-level classification to models that can provide bounding boxes and precise anatomical references for their findings. This direction is supported by investigations into The Textual Information Bottleneck in Multimodal Reasoning, which seeks to improve the logical consistency of multimodal outputs.

Another significant focus is the optimization of foundation models for specialized domains. This includes exploring Linear Probing for Evaluating Pretrained Representations to understand the internal maps these models build of clinical data. Castro also investigates strategies for Initializing Medical Neural Networks with Pretrained Weights, balancing the benefits of general-purpose pretraining with the specific requirements of medical tasks. Given the scarcity of expert-annotated clinical data, his work also touches upon Synthetic Data and Knowledge Injection for Clinical AI, seeking ways to incorporate domain expertise directly into the model training process.

Most recently, Castro has contributed to the development of benchmarks that account for the longitudinal nature of patient care. Recognizing that radiology is rarely a "one-off" task, he has participated in efforts to create datasets and metrics that evaluate how well AI systems capture disease progression and temporal dependencies across multiple studies. This involves moving toward structured, sequential interpretation that mirrors the diagnostic reasoning of human radiologists.

Representative Work

Morpho-MNIST: Quantitative Assessment and Diagnostics for Representation Learning (2018) In this first-author paper, Castro introduced a framework to transform the standard MNIST dataset into a tool for rigorous diagnostic evaluation. By augmenting digits with precise geometric measurements—such as stroke thickness, slant, and area—and introducing controlled perturbations, the work enabled researchers to quantitatively measure a model's ability to disentangle specific factors of variation. This contribution established a more objective methodology for evaluating representation learning beyond subjective visual quality.

Semi-Supervised Learning via Compact Latent Space Clustering (2018) As a second author, Castro contributed to the development of a novel cost function for semi-supervised learning. The methodology encourages the neural network to create compact clusters in the latent space, which facilitates the separation of classes even when labeled data is sparse. This work addressed the fundamental challenge of leveraging unlabeled data to improve the robustness and accuracy of deep learning classifiers.

Joint probabilistic modelling of images and non-imaging covariates: a causal perspective (2020) This comprehensive work argues for the necessity of causal reasoning in medical image analysis. Castro demonstrates that standard predictive models are often vulnerable to confounding factors, such as scanner-specific artifacts, which limit their generalizability. The research develops methodologies for the joint modeling of images and side-information, providing a theoretical and practical foundation for building models that are more resilient to the "domain shift" common in multi-site clinical datasets.

A Framework for Generating 3D Shape Counterfactuals (2022) In this second-author paper, Castro applied deep structural causal models to 3D surface meshes of subcortical brain structures. The framework enables subject-specific prognoses by generating counterfactual meshes, allowing researchers to visualize how an individual's anatomy might change under different conditions. This work combined geometric deep learning with causal inference to provide a tool for analyzing the effects of genetic and lifestyle factors on anatomical variation.

MAIRA-2: Grounded Radiology Report Generation (2024) As a second author, Castro contributed to the development of MAIRA-2, a large multimodal model designed for radiology. Unlike previous models that generated free-text reports in isolation, MAIRA-2 "grounds" its findings by providing bounding boxes on chest X-rays. The model incorporates clinical context, such as prior reports and lateral views, and utilizes a logic-based evaluation framework to ensure diagnostic accuracy. This work represents a significant step toward creating AI systems that are verifiable and integrated into the radiologist's workflow.

Lunguage: A Benchmark for Structured and Sequential Chest X-ray Interpretation (2025) In this collaborative effort, Castro participated in the creation of a benchmark designed to evaluate the longitudinal consistency of radiology AI. The project introduced a dataset of expert-annotated reports and a new metric, LUNGUAGESCORE, which captures fine-grained clinical semantics and disease progression over time. This work addresses the limitation of single-report evaluation methods and promotes the development of AI that can track a patient's clinical history across multiple encounters.

Profile updated

See something wrong? Report a mistake