XWXue-Xin Wei

Xue-Xin Wei

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Xue-Xin Wei has a total of 50 co-authors. Here are the top co-authors by number of shared publications:

  • Zhongxuan Wu

    Affiliations Department of Neuroscience, The University of Texas at Austin, Austin, Texas, United States of America, Center for Perceptual Systems, The University of Texas at Austin, Austin, Texas, United States of America, Center for Learning and Memory, The University of Texas at Austin, Austin, Texas, United States of America, Center for Theoretical and Computational Neuroscience, The University of Texas at Austin, Austin, Texas, United States of America

    6 shared publications
  • Michael Hahn

    Saarland University

    3 shared publications
  • Alexandra T. Keinath

    University of Illinois at Chicago

    2 shared publications
  • Dylan Le

    Department of Neuroscience, The University of Texas at Austin

    2 shared publications
  • Entang Wang

    Department of Language Science and Technology, Saarland Informatics Campus, Saarland University

    2 shared publications
  • Mark P. Brandon

    Department of Psychiatry, Douglas Hospital Research Centre, McGill University, Montreal, Canada

    2 shared publications

Latest Publications

  • Open Access

    Drift-diffusion dynamics of hippocampal replay

    by Zhongxuan Wu, Xue-Xin Wei

    Replay in the hippocampus during sharp-wave ripples is thought to play major roles in learning and memory. However, existing analysis methods often lead to inconsistent and inaccurate metrics for characterizing replay dynamics. We develop a novel computational framework that models the replay dynamics using a drift-diffusion process. Further, to capture the potentially rich population-level dynamics during sharp-wave ripples, our model allows switching between multiple well-motivated types of dynamics. Applications of our method to rat hippocampal recordings lead to a number of insights. First, our results reveal that a small fraction of SWRs are stationary, and those with drift-diffusion dynamics generally have a much higher speed than the animal’s movement. Second, we find that replay dynamics are heterogeneous and inconsistent with a random walk model proposed previously. The mean-squared displacement of replay trajectories scales quadratically with time, supporting the presence of substantial drifts. Third, we find that only a tiny fraction of SWR events (less than 1%) exhibit sequential structure at the timescale of 100 ms before the animal had spatial experience in an environment. This suggests that, while neural activity in the hippocampus may be coordinated before the animal’s spatial experience (i.e., preplay), the level of coordination is much weaker than that after spatial experience. Overall, our approach enables precise characterizations and unambiguous interpretations of population dynamics during sharp-wave ripples, which more broadly can provide a better understanding of the functions and underlying mechanisms of replay.

  • Open Access

    Identifiability of Bayesian models of perception

    by Michael Hahn, Entang Wang, Xue-Xin Wei

    Inferring the underlying computational processes from behavioral measurements is a fundamental approach in cognitive science and neuroscience. Although Bayesian decision theory has become a major normative framework for modeling perception and cognition, it is unclear to what extent its modeling components (i.e., prior belief, likelihood function, and loss function) can be recovered from behavioral data. Here, we systematically investigated the problem of inferring such Bayesian models from behavioral tasks. We determined the situations under which some components of Bayesian models are systematically confounded, as well as the practical choices in experimental design that can resolve such ambiguity. Overall, our analytical results guarantee in-principle identifiability under broadly applicable conditions, without any a priori knowledge of prior or encoding. Simulations and applications on the basis of behavioral datasets validate that the predictions of this theory apply in realistic settings. Importantly, our results demonstrate that reliable recovery of the model often requires having data from multiple noise levels. This is a crucial insight that will guide future experimental design.


  • Open Access

    Split-trial analysis reveals the information capacity of neural population codes

    by Dylan Le, Xue-Xin Wei

    Understanding how correlated neural noise affects neural population coding is a basic question in computational and systems neuroscience [1, 2, 3, 4]. Recent theoretical work suggests that shared noise along the stimulus encoding direction is the primary factor that limits information encoding (i.e., information-limiting noise) [5, 6]. Despite this theoretical insight, it has been difficult to test it experimentally due to the challenges in inferring information-limiting noise from neural data. To overcome this challenge, we have developed a method (i.e., split-trial analysis) to partition the noise in a neural population into information-limiting noise vs. non-information-limiting components. Our method is simple to implement, yet it is highly effective given a limited amount of data. Results from extensive numerical simulations show that split-trial analysis substantially outperforms existing methods in accuracy, efficiency, and robustness. Applications of split-trial analysis to a number of neurophysiological datasets reveals insights into the precision of the neural codes for several systems. First, it reveals a substantial amount of information-limiting noise in the mouse head direction system. Second, it uncovers a small yet positive information-limiting noise in the orientation code in mouse V1. Third, we discover that the information-limiting noise in the macaque pre-frontal cortex is highly consistent over time during a simple saccade task. Split-trial analysis is a general technique that should be widely applicable in analyzing the properties of neural population codes.

  • Open Access

    Split-trial analysis reveals the information capacity of neural population codes

    by Dylan Le, Xue-Xin Wei

    Understanding how correlated neural noise affects neural population coding is a basic question in computational and systems neuroscience [1, 2, 3, 4]. Recent theoretical work suggests that shared noise along the stimulus encoding direction is the primary factor that limits information encoding (i.e., information-limiting noise) [5, 6]. Despite this theoretical insight, it has been difficult to test it experimentally due to the challenges in inferring information-limiting noise from neural data. To overcome this challenge, we have developed a method ( i.e ., split-trial analysis) to partition the noise in a neural population into information-limiting noise vs. non-information-limiting components. Our method is simple to implement, yet it is highly effective given a limited amount of data. Results from extensive numerical simulations show that split-trial analysis substantially outperforms existing methods in accuracy, efficiency, and robustness. Applications of split-trial analysis to a number of neurophysiological datasets reveals insights into the precision of the neural codes for several systems. First, it reveals a substantial amount of information-limiting noise in the mouse head direction system. Second, it uncovers a small yet positive information-limiting noise in the orientation code in mouse V1. Third, we discover that the information-limiting noise in the macaque pre-frontal cortex is highly consistent over time during a simple saccade task. Split-trial analysis is a general technique that should be widely applicable in analyzing the properties of neural population codes.

  • Open Access

    Drift-diffusion dynamics of hippocampal replay

    by Zhongxuan Wu, Xue-Xin Wei

    Replay in the hippocampus during sharp-wave ripples is thought to play major roles in learning and memory. However, existing analysis methods often lead to inconsistent and inaccurate metrics for characterizing replay dynamics. We develop a novel computational framework that model the replay dynamics using drift-diffusion process. Further, to capture the potentially rich population-level dynamics during sharp-wave ripples, our model allows switching between multiple well-motivated types of dynamics. Applications of our method to rat hippocampal recordings lead to insights into a number of important open questions, including: (i) whether the speed of most replay events is comparable to real-world running; (ii) whether replays follow a random walk; (iii) whether "preplay" events exist. Overall, our approach enables precise characterizations and unambiguous interpretations of population dynamics during sharp-wave ripples, which more broadly can provide a better understanding of the functions and underlying mechanisms of replay.

  • Open Access

    Identifiability of Bayesian Models of Cognition

    by Michael Hahn, Entang Wang, Xue-Xin Wei

    Inferring the underlying computational processes from behavioral measurements is a fundamental approach in cognitive science and neuroscience. Although Bayesian decision theory has become a major normative framework for modeling cognition, it is unclear to what extent its modeling components (i.e., prior belief, likelihood function, and the loss function) can be recovered from behavioral data. Here, we systematically investigated the problem of inferring such Bayesian models from behavioral tasks. In contrast to a pessimistic picture often painted in previous research, our analytical results guarantee in-principle identifiability under broadly applicable conditions, without any a priori knowledge of prior or encoding. Simulations and applications on the basis of behavioral datasets validate that the predictions of this theory apply in realistic settings. Importantly, our results demonstrate that reliable recovery of the model often requires having data from multiple noise levels. This is a crucial insight that will guide future experimental design.

  • Open Access

    Diffusion models under low-noise regime

    by Elizabeth Pavlova, Xue-Xin Wei

    Recent work on diffusion models proposed that they operate in two regimes: memorization, in which models reproduce their training data, and generalization, in which they generate novel samples. While this has been tested in high-noise settings, the behavior of diffusion models as effective denoisers when the corruption level is small remains unclear. To address this gap, we systematically investigated the behavior of diffusion models under low-noise diffusion dynamics, with implications for model robustness and interpretability. Using (i) CelebA subsets of varying sample sizes and (ii) analytic Gaussian mixture benchmarks, we reveal that models trained on disjoint data diverge near the data manifold even when their high-noise outputs converge. We quantify how training set size, data geometry, and model objective choice shape denoising trajectories and affect score accuracy, providing insights into how these models actually learn representations of data distributions. This work starts to address gaps in our understanding of generative model reliability in practical applications where small perturbations are common.

  • Open Access

    How Do Diffusion Models Improve Adversarial Robustness?

    by Liu Yuezhang, Xue-Xin Wei

    Recent findings suggest that diffusion models significantly enhance empirical adversarial robustness. While some intuitive explanations have been proposed, the precise mechanisms underlying these improvements remain unclear. In this work, we systematically investigate how and how well diffusion models improve adversarial robustness. First, we observe that diffusion models intriguingly increase, rather than decrease, the $\ell_p$ distance to clean samples--challenging the intuition that purification denoises inputs closer to the original data. Second, we find that the purified images are heavily influenced by the internal randomness of diffusion models, where a compression effect arises within each randomness configuration. Motivated by this observation, we evaluate robustness under fixed randomness and find that the improvement drops to approximately 24% on CIFAR-10--substantially lower than prior reports approaching 70%. Importantly, we show that this remaining robustness gain strongly correlates with the model's ability to compress the input space, revealing the compression rate as a reliable robustness indicator without requiring gradient-based analysis. Our findings provide novel insights into the mechanisms underlying diffusion-based purification, and offer guidance for developing more effective and principled adversarial purification systems.

  • Open Access

    Robust variability of grid cell properties within individual grid modules enhances encoding of local space

    by William T Redman, Santiago Acosta-Mendoza, Xue-Xin Wei, Michael J Goard

    Although grid cells are one of the most well studied functional classes of neurons in the mammalian brain, whether there is a single orientation and spacing value per grid module has not been carefully tested. We analyze a recent large-scale recording of medial entorhinal cortex to characterize the presence and degree of heterogeneity of grid properties within individual modules. We find evidence for small, but robust, variability and hypothesize that this property of the grid code could enhance the encoding of local spatial information. Performing analysis on synthetic populations of grid cells, where we have complete control over the amount heterogeneity in grid properties, we demonstrate that grid property variability of a similar magnitude to the analyzed data leads to significantly decreased decoding error. This holds even when restricted to activity from a single module. Our results highlight how the heterogeneity of the neural response properties may benefit coding and opens new directions for theoretical and experimental analysis of grid cells.

  • Open Access

    Representational geometry explains puzzling error distributions in behavioral tasks

    by Xue-Xin Wei, Michael Woodford

    Measuring and interpreting errors in behavioral tasks is critical for understanding cognition. Conventional wisdom assumes that encoding/decoding errors for continuous variables in behavioral tasks should naturally have Gaussian distributions, so that deviations from normality in the empirical data indicate the presence of more complex sources of noise. This line of reasoning has been central for prior research on working memory. Here, we reassess this assumption and find that even in ideal observer models with Gaussian encoding noise, the error distribution is generally non-Gaussian, contrary to the commonly held belief. Critically, we find that the shape of the error distribution is determined by the geometrical structure of the encoding manifold via a simple rule. In the case of a high-dimensional geometry, the error distributions naturally exhibit flat tails. Using this insight, we apply our theory to visual short-term memory tasks, and find that it can account for a large array of experimental data with only two free parameters. Our results challenge the dominant view in the mechanisms and capacity constraints of working memory systems. They instead suggest that the Bayesian framework, which explains various aspects of perceptual behavior, also provides an excellent account of working memory. Overall, our results establish a direct connection between neural manifold geometry and behavior, and call attention to the geometry of the representation as a critically important, yet underappreciated factor in determining the character of errors in human behavior.