Sunny Duan

7 previous affiliations
6Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Sunny Duan focuses on representation learning for biological and artificial neural systems, as well as data privacy and memorization in large language models. His trajectory spans from decoding physiological markers in clinical data to modeling motor control and connectome dynamics. Recently, his work investigates the mechanisms of latent memory and data leakage in generative artificial intelligence.

Research Trajectory

Duan's early work explored the intersection of machine learning and clinical neuroscience, specifically addressing the challenges of extracting meaningful signals from noisy physiological data. In Representation learning for improved interpretability and classification accuracy of clinical factors from EEG (2020), he developed an unsupervised machine learning pipeline to decode clinical factors from electroencephalogram (EEG) recordings. By integrating $\beta$-Variational Autoencoders and Symbol-Concept Association Networks (SCAN), this approach outperformed traditional hand-engineered methods in classification accuracy. Crucially, it yielded disentangled latent factors that allow clinicians to visually interpret the data and discover new biomarkers for disorders such as depression. This research contributed to several broader areas, including the research direction of Autonomous Discovery of Physiological Markers from Raw Medical Data and the area of Learning from Limited Data in Specialized Medical Domains. Furthermore, the methodology advanced techniques in the area of Denoising through Projection onto the Data Manifold and the broader field of Decoding the Brain on a Single Trial.

Expanding his focus to biologically inspired motor control, Duan investigated how artificial systems can achieve combinatorial generalization—the ability to learn distinct components and recombine them for novel tasks. In See and Copy: Generation of complex compositional movements from modular and geometric RNN representations (2022), he and his collaborators introduced a modular control model that mimics primate imitation. Utilizing separate encoding and motor recurrent neural networks (RNNs) alongside a scheduler, the system successfully learned to imitate arbitrary two-segment drawings using realistic arm dynamics, demonstrating the utility of modular organization for flexible control.

In recent years, Duan's research has expanded into the security and privacy implications of generative artificial intelligence. He has extensively studied how large language models (LLMs) internalize their training corpora, contributing to the research direction of How Model Scale Alters Memorization and Privacy Risks. In Uncovering Latent Memories: Assessing Data Leakage and Memorization Patterns in Large Language Models (2024), he quantified the phenomenon of memorization over the course of model training, demonstrating that the probability of a sequence being memorized scales logarithmically. He deepened this analysis in Uncovering Latent Memories in Large Language Models (2025), revealing that LLMs can memorize complex information after a single exposure. Even when data appears to be forgotten, it persists as a "latent" memory within the network weights and can be recovered through targeted noise injection or cross-entropy loss testing. This work provides critical insights for the area of Semantic Privacy in Large Language Models.

Alongside his work on artificial neural networks, Duan has continued to model biological systems with high fidelity. In From Synapses to Dynamics: Obtaining Function from Structure in a Connectome Constrained Model of the Head Direction Circuit (2025), he demonstrated a method for recovering the dynamic function of a neural circuit directly from its static wiring diagram. By applying self-supervised learning to tune biologically grounded, cell-type-level parameters, the model successfully simulated the continuous ring attractor of the fruit fly's head direction compass without relying on empirical neural activity recordings.

Current Directions

The most recent papers in the evidence indicate a dual focus on the mechanistic properties of large-scale artificial models and the functional modeling of biological connectomes. In the domain of artificial intelligence, recent work investigates the persistence of latent memories in large language models, addressing open problems in data leakage, privacy risks, and the fundamental scaling laws of memorization. Concurrently, in computational neuroscience, ongoing research addresses the challenge of deriving dynamic neural function from static structural data, utilizing self-supervised learning to bridge the gap between connectomics and biologically realistic circuit dynamics.

Profile updated

See something wrong? Report a mistake