Ziwen Pan

Emory University · Emory Artificial Intelligence and Data Association · Yale University
5 previous affiliations
    • Department of Quantitative Theory & Methods Student Researcher · Since 2025
    • Collective Action & Research for Equity (CARE) Lab Research Assistant · Since 2024
    • Current
    • Undergrad student · 2023–2026
    • Data Research Analyst · 2025
    • President · Since 2024
  • Yale UniversitySince 2026
    • PhD student · Since 2026
  • Institute for Pure and Applied Mathematics2025
    • Intern · 2025
    • Research Assistant · 2024
5Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Ziwen Pan focuses on causal representation learning for multimodal clinical data and the mechanistic interpretability of reasoning processes in large language models. This research addresses the challenges of missing data in complex healthcare environments and the identification of discrete computational building blocks within neural network latent spaces. Current work emphasizes the development of robust models for Electronic Health Records (EHRs) and the extraction of algorithmic primitives to steer model behavior during multi-step inference.

Research Trajectory

The available research record for Pan indicates a trajectory that began with a focus on high-stakes applications in healthcare informatics, specifically addressing the structural irregularities of clinical datasets. In 2025, this work centered on the problem of non-random modality missingness in multimodal EHRs. Recognizing that clinical notes, radiology reports, and structured data are often missing due to specific clinical decisions rather than random chance, Pan contributed to the development of causal representation learning techniques designed to maintain model performance despite these gaps. This work utilized large-scale datasets such as MIMIC-IV to demonstrate how representations can be effectively learned from available modalities when primary sources, such as discharge summaries, are absent.

In 2026, Pan’s research expanded into the field of mechanistic interpretability and the geometry of reasoning in large language models (LLMs). This shift involved moving from the application of models in specific domains like healthcare to investigating the fundamental ways in which transformer-based architectures process complex, multi-step tasks. As part of a collaborative team, Pan participated in the development of frameworks for tracing and steering "algorithmic primitives"—discrete computational units that the model navigates during inference. This research explores how these primitives can be operationalized through the clustering of neural activations and manipulated using vector arithmetic to influence the model's reasoning trajectory across diverse benchmarks, including mathematical problem-solving and graph navigation.

The current evidence suggests an evolving interest in the intersection of causal modeling and the internal mechanics of deep learning, moving from the external problem of data missingness to the internal problem of how models structure and execute logical operations.

Representative Work

The following papers represent the core of Pan’s research contributions, focusing on multimodal healthcare data and the interpretability of language model reasoning. Given the current corpus, the research portfolio is in an early and emerging stage, with a focus on high-impact conference contributions.

In Causal Representation Learning from Multimodal EHRs under Non-Random Modality Missingness, Pan (as second author) addresses a fundamental limitation in clinical machine learning: the inconsistent availability of data modalities. Clinical notes are highly valuable for patient representation, yet the study notes that approximately 24.5% of patients in the MIMIC-IV dataset lack discharge summaries. Because the presence or absence of such data is often a result of clinical decision-making, standard imputation or missing-at-random assumptions are insufficient. The work proposes a causal framework to learn robust patient representations from the remaining modalities—such as structured data or chest X-rays—ensuring that the learned features remain informative even when key textual inputs are missing.

Pan participated as a middle author in the development of Algorithmic Primitives and Compositional Geometry of Reasoning in Language Models. This research introduces the "AlgoTrace" framework, which seeks to understand how LLMs solve multi-step reasoning problems like the Traveling Salesperson Problem (TSP), 3SAT, and AIME. The study identifies "algorithmic primitives" within the model's latent space—reusable computational blocks that correspond to specific reasoning steps. By linking these reasoning traces to internal activation patterns, the researchers demonstrate that it is possible to extract "function vectors" from the model. These vectors can then be injected into the model's residual streams to steer its reasoning process, effectively allowing for the transfer of computational primitives between different types of problems, such as applying mathematical reasoning blocks to spatial navigation tasks. This work contributes to the broader understanding of the compositional nature of neural reasoning and provides tools for more granular control over model outputs.

Profile updated

See something wrong? Report a mistake