PGPankaj Kumar Gupta

Pankaj Kumar Gupta

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

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Pankaj Kumar Gupta has a total of 208 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Real-time closed-loop feedback system for mouse mesoscale cortical signal and movement control

    by Pankaj Kumar Gupta, Timothy H Murphy

    Increasingly, experiments designed to provide practical perturbations to circuits or behavior are required for hypothesis testing in various disciplines ranging from motor learning to recovery after injury. We present the implementation and efficacy of an open-source closed-loop neurofeedback (CLNF) and closed-loop movement feedback (CLMF) system. In CLNF, we measure mm-scale cortical mesoscale activity with GCaMP6s and provide graded auditory feedback (within ~63 ms) based on changes in dorsal-cortical activation within regions of interest (ROIs) and with a specified rule. Single or dual ROIs (ROI1, ROI2) on the dorsal cortical map were selected as targets. Both motor and sensory regions supported closed-loop training in male and female mice. Mice modulated activity in rule-specific target cortical ROIs to get increasing rewards over days (repeated-measures ANOVA [RM-ANOVA], p=2.83e-5) and adapted to changes in ROI rules (RM-ANOVA, p=8.3e-10, Table 4 for different rule changes). In CLMF, feedback (within ~67 ms) was based on tracking a specified body movement, and rewards were generated when the behavior reached a threshold. For movement training, the group that received graded auditory feedback performed significantly better (RM-ANOVA, p=9.6e-7) than a control group (RM-ANOVA, p=0.49) within 4 training days. Additionally, mice can learn a change in task rule from left forelimb to right forelimb within a day, after a brief performance drop on day 5. Offline analysis of neural data and behavioral tracking revealed changes in the overall distribution of Ca 2+ fluorescence values in CLNF and body-part speed values in CLMF experiments. Increased CLMF performance was accompanied by a decrease in task latency and cortical Δ F / F 0 amplitude during the task, indicating lower cortical activation as the task gets more familiar.

  • Open Access

    Real-Time Closed-Loop Feedback System For Mouse Mesoscale Cortical Signal And Movement Control: CLoPy

    by Pankaj K Gupta, Timothy H Murphy

    Increasingly, experiments designed to provide practical perturbations to circuits or behavior are required for hypothesis testing in various disciplines ranging from motor learning to recovery after injury. We present the implementation and efficacy of an open-source closed-loop neurofeedback (CLNF) and closed-loop movement feedback (CLMF) system. In CLNF, we measure mm-scale cortical mesoscale activity with GCaMP6s and provide graded auditory feedback (within ∼63 ms) based on changes in dorsal-cortical activation within regions of interest (ROI) and with a specified rule. Single or dual ROIs (ROI1, ROI2) on the dorsal cortical map were selected as targets. Both motor and sensory regions supported closed-loop training in male and female mice. Mice modulated activity in rule-specific target cortical ROIs to get increasing rewards over days (RM ANOVA p=2.83e-5) and adapted to changes in ROI rules (RM ANOVA p=8.3e-10, Table 4 for different rule changes). In CLMF, feedback (within ∼67 ms) was based on tracking a specified body movement, and rewards were generated when the behavior reached a threshold. For movement training, the group that received graded auditory feedback performed significantly better (RM-ANOVA p=9.6e-7) than a control group (RM-ANOVA p=0.49) within four training days. Additionally, mice can learn a change in task rule from left forelimb to right forelimb within a day, after a brief performance drop on day 5. Offline analysis of neural data and behavioral tracking revealed changes in the overall distribution of Ca2+ fluorescence values in CLNF and body-part speed values in CLMF experiments. Increased CLMF performance was accompanied by a decrease in task latency and cortical ΔF/F0 amplitude during the task, indicating lower cortical activation as the task gets more familiar.

  • Open Access

    Widespread cortical representations of innate behaviors in the mouse

    by Nicholas J Michelson, Pankaj K Gupta, Timothy H Murphy

    Across cortex, a substantial component of observed neuronal activity can be explained by movement. Voluntary movements elicit cortical activity that contain elements related to both motor planning and sensory activity. However, automatic movements that do not require conscious processing, for example grooming or drinking, are to a large extent controlled by subcortical systems such as the brainstem. While the cortex may not be required to generate these automatic behaviors, it is unclear whether cortical activity represents the movements associated with them. In this work, we use a simple procedure to stimulate stereotyped grooming behaviors in the head-fixed mouse while measuring neuronal function across the dorsal cortex. We find specific cortical representations of grooming both at a mesoscale network-level and single-cell resolution. Mesoscale cortical activation was most prominent at the onset of grooming episodes, and declined to baseline levels despite continuous engagement in the behavior. Further stratification of grooming component movements revealed that more directed and unilateral grooming movements had greater cortical associated responses than more stereotyped bilateral movements. These findings help to frame the impact of forms of automatic movements on large scale cortical ensembles and suggest they engage specific and transient cellular and regional cortical ensembles.

  • Open Access

    Widespread cortical representations of innate behaviors in the mouse

    by Nicholas J. Michelson, Pankaj K. Gupta, Timothy H. Murphy

    Across cortex, a substantial component of observed neuronal activity can be explained by movement. Voluntary movements elicit cortical activity that contain elements related to both motor planning and sensory activity. However, automatic movements that do not require conscious processing, for example grooming or drinking, are to a large extent controlled by subcortical systems such as the brainstem. While the cortex may not be required to generate these automatic behaviors, it is unclear whether cortical activity represents the movements associated with them. In this work, we use a simple procedure to stimulate stereotyped grooming behaviors in the head-fixed mouse while measuring neuronal function across the dorsal cortex. We find specific cortical representations of grooming both at a mesoscale network-level and single-cell resolution. Mesoscale cortical activation was most prominent at the onset of grooming episodes, and declined to baseline levels despite continuous engagement in the behavior. Further stratification of grooming component movements revealed that more directed and unilateral grooming movements had greater cortical associated responses than more stereotyped bilateral movements. These findings help to frame the impact of forms of automatic movements on large scale cortical ensembles and suggest they engage specific and transient cellular and regional cortical ensembles.

  • Open Access

    Real-Time Closed-Loop Feedback System For Mouse Mesoscale Cortical Signal And Movement Control: CLoPy

    by Pankaj Kumar Gupta, Timothy H Murphy

    Increasingly, experiments designed to provide practical perturbations to circuits or behavior are required for hypothesis testing in various disciplines ranging from motor learning to recovery after injury. We present the implementation and efficacy of an open-source closed-loop neurofeedback (CLNF) and closed-loop movement feedback (CLMF) system. In CLNF, we measure mm-scale cortical mesoscale activity with GCaMP6s and provide graded auditory feedback (within ~63 ms) based on changes in dorsal-cortical activation within regions of interest (ROI) and with a specified rule. Single or dual ROIs (ROI1, ROI2) on the dorsal cortical map were selected as targets. Both motor and sensory regions supported closed-loop training in male and female mice. Mice modulated activity in rule-specific target cortical ROIs to get increasing rewards over days (RM ANOVA p=2.83e-5) and adapted to changes in ROI rules (RM ANOVA p=8.3e-10, Table 4 for different rule changes). In CLMF, feedback (within ~67 ms) was based on tracking a specified body movement, and rewards were generated when the behavior reached a threshold. For movement training, the group that received graded auditory feedback performed significantly better (RM-ANOVA p=9.6e-7) than a control group (RM-ANOVA p=0.49) within four training days. Additionally, mice can learn a change in task rule from left forelimb to right forelimb within a day, after a brief performance drop on day 5. Offline analysis of neural data and behavioral tracking revealed changes in the overall distribution of Ca2+ fluorescence values in CLNF and body-part speed values in CLMF experiments. Increased CLMF performance was accompanied by a decrease in task latency and cortical ΔF/F0 amplitude during the task, indicating lower cortical activation as the task gets more familiar.

  • Open Access

    Neuromatch Academy: a 3-week, online summer school in computational neuroscience

    by Bernard Marius 'T Hart, Titipat Achakulvisut, Ayoade Adeyemi, Athena Akrami, Bradly Alicea, Alicia Alonso-Andres, Diego Alzate-Correa, Arash Ash, Jesus J. Ballesteros, Aishwarya Balwani, et al.


  • A three-dimensional virtual mouse generates synthetic training data for behavioral analysis

    by Luis A. Bolaños, Dongsheng Xiao, Nancy L. Ford, Jeff M. LeDue, Pankaj K. Gupta, Carlos Doebeli, Hao Hu, Helge Rhodin, Timothy H. Murphy

    We developed a three-dimensional (3D) synthetic animated mouse based on computed tomography scans that is actuated using animation and semirandom, joint-constrained movements to generate synthetic behavioral data with ground-truth label locations. Image-domain translation produced realistic synthetic videos used to train two-dimensional (2D) and 3D pose estimation models with accuracy similar to typical manual training datasets. The outputs from the 3D model-based pose estimation yielded better definition of behavioral clusters than 2D videos and may facilitate automated ethological classification.


  • Open Access

    Neuromatch Academy: a 3-week, online summer school in computational neuroscience

    by Bernard Marius 'T Hart, Titipat Achakulvisut, Athena Akrami, Bradly Alicea, Ulrik Beierholm, Gunnar Blohm, Kathryn Bonnen, John S Butler, Brandon Caie, You Cheng, et al.

    Neuromatch Academy (https://neuromatch.io/academy) was designed as an online summer school to cover the basics of computational neuroscience in three weeks. The materials cover dominant and emerging computational neuroscience tools, how they complement one another, and specifically focus on how they can help us to better understand how the brain functions. An original component of the materials is its focus on modeling choices, i.e. how do we choose the right approach, how do we build models, and how can we evaluate models to determine if they provide real (meaningful) insight. This meta-modeling component of the instructional materials asks what questions can be answered by different techniques, and how to apply them meaningfully to get insight about brain function.


  • The value of proactive goal setting and choice in 3‐ to 7‐year‐olds' use of working memory gating strategies in a naturalistic task

    by Livia Freier, Pankaj Gupta, David Badre, Dima Amso

    Rule‐guided behavior depends on the ability to strategically update and act on content held in working memory. Proactive and reactive control strategies were contrasted across two experiments using an adapted input/output gating paradigm (Neuron, 81, 2014 and 930). Behavioral accuracies of 3‐, 5‐, and 7‐year‐olds were higher when a contextual cue appeared at the beginning of the task (input gating) rather than at the end (output gating). This finding supports prior work in older children, suggesting that children are better when input gating but rely on the more effortful output gating strategy for goal‐oriented action selection (Cognition, 155, 2016 and 8). A manipulation was added to investigate whether children's use of working memory strategies becomes more flexible when task goals are specified internally rather than externally provided by the experimenter. A shift toward more proactive control was observed when children chose the task goal among two alternatives. Scan path analyses of saccadic eye movement indicated that giving children agency and choice over the task goal resulted in less use of a reactive strategy than when the goal was determined by the experimenter.


  • Open Access

    Real-Time Selective Markerless Tracking of Forepaws of Head Fixed Mice Using Deep Neural Networks

    by Brandon J. Forys, Dongsheng Xiao, Pankaj Gupta, Timothy H. Murphy

    Here, we describe a system capable of tracking specific mouse paw movements at high frame rates (70.17 Hz) with a high level of accuracy (mean = 0.95, SD < 0.01). Short-latency markerless tracking of specific body parts opens up the possibility of manipulating motor feedback. We present a software and hardware scheme built on DeepLabCut—a robust movement-tracking deep neural network framework—which enables real-time estimation of paw and digit movements of mice. Using this approach, we demonstrate movement-generated feedback by triggering a USB-GPIO (general-purpose input/output)-controlled LED when the movement of one paw, but not the other, selectively exceeds a preset threshold. The mean time delay between paw movement initiation and LED flash was 44.41 ms (SD = 36.39 ms), a latency sufficient for applying behaviorally triggered feedback. We adapt DeepLabCut for real-time tracking as an open-source package we term DeepCut2RealTime. The ability of the package to rapidly assess animal behavior was demonstrated by reinforcing specific movements within water-restricted, head-fixed mice. This system could inform future work on a behaviorally triggered “closed loop” brain–machine interface that could reinforce behaviors or deliver feedback to brain regions based on prespecified body movements.