Mackenzie Weygandt Mathis
· 3 previous affiliations
- École Polytechnique Fédérale de LausanneSince 2020
- Assistant Professor · Since 2020
- Harvard University2012–2020
- Assistant Professor · 2017–2020
- PhD student · 2012–2017
- Postdoc · 2017
Research Overview
Mackenzie Weygandt Mathis focuses on the intersection of artificial intelligence and neuroscience, specifically developing machine learning tools for automated behavioral quantification and modeling neural dynamics. Her trajectory spans the creation of foundational pose estimation frameworks to advanced multimodal alignment techniques that link behavior with neural activity. Currently, her work emphasizes adaptive intelligence, robust out-of-distribution detection, and natural language interfaces for complex behavioral analysis.
Research Trajectory
The early arc of Mathis’s research is defined by foundational contributions to the area of Markerless Kinematic Tracking with Deep Learning. In 2018, she introduced DeepLabCut: markerless pose estimation of user-defined body parts with deep learning, a highly influential framework that enabled researchers to track animal behavior without physical markers. She and her collaborators later expanded this system in the 2022 paper Multi-animal pose estimation, identification and tracking with DeepLabCut. This update transformed the tool into a comprehensive pipeline capable of identifying and tracking multiple interacting individuals across diverse environments by integrating a data-driven framework for keypoint assembly and transformer-based re-identification.
By 2023, her focus broadened to encompass the underlying neural dynamics of behavior and the robustness of internal models. Investigating reinforcement learning agents under morphological distribution shifts, she explored how algorithms handle perturbations to limb length and mass—a proxy for biological injury or growth—in Out-of-distribution generalization of internal models is correlated with reward. That same year, she advanced the research direction of Multimodal Alignment for Neural Signal Decoding by developing CEBRA, detailed in Learnable latent embeddings for joint behavioural and neural analysis. CEBRA provides a nonlinear encoding method that flexibly leverages joint behavioral and neural data to produce latent embeddings, contributing significantly to the broader area of Provable Recovery of Latent Causal Mechanisms. To make these complex behavioral analyses more accessible, her lab also introduced AmadeusGPT: a natural language interface for interactive animal behavioral analysis, which combines large language models (LLMs) with a novel dual-memory system to translate plain English descriptions into executable Python scripts.
In 2024, Mathis synthesized her dual expertise in biology and machine learning in a perspective piece, Adaptive Intelligence: leveraging insights from adaptive behavior in animals to build flexible AI systems. The paper proposes a modular architecture where specialized foundation models are coordinated by an LLM overseer using biologically-inspired prediction errors. This theoretical framework was paralleled by continued empirical advances in pose estimation with SuperAnimal pretrained pose estimation models for behavioral analysis. SuperAnimal introduced panoptic foundation models capable of zero-shot pose estimation across more than 45 species, vastly improving data efficiency over traditional transfer learning. Simultaneously, she addressed the domain of Adversarial Robustness via Latent Space Geometric Separation by developing AROS in Adversarially Robust Out-of-Distribution Detection Using Lyapunov-Stabilized Embeddings. This framework uses Neural Ordinary Differential Equations and Lyapunov stability theory to force malicious perturbations to decay back to stable equilibrium points, securing out-of-distribution detectors against adversarial attacks.
Moving into 2025, her work increasingly emphasized interpretability and security in deep learning. She expanded the CEBRA framework with Time-series attribution maps with regularized contrastive learning (xCEBRA), which provides identifiability guarantees for gradient-based attribution methods to better explain deep learning decisions. In parallel, she tackled neural backdoors with DISTIL: Data-Free Inversion of Suspicious Trojan Inputs via Latent Diffusion, a defense framework that reverse-engineers malicious triggers by searching a generative model's latent space rather than raw pixels.
The most recent papers in the evidence, published in 2026, demonstrate a continued expansion into complex sensorimotor control, ecological applications, and multimodal action understanding. In Closed-loop imitation learning reveals muscle-centric and latent-goal codes in primate sensorimotor cortex, she and her collaborators integrated biomechanics and neural recordings to model how cortical circuits combine afferent feedback with efference copies during dexterous grasping. Applying computer vision to conservation, she contributed to Individual identification of brown bears using pose-aware metric learning, curating a massive dataset to reliably distinguish unmarked individuals in the wild. Finally, she addressed the limitations of general video description models in LLaVAction: evaluating and training multi-modal large language models for action understanding, introducing a benchmark and architecture that utilizes a dedicated action token to achieve highly fine-grained action recognition.
Current Directions
Mathis’s most recent work investigates the convergence of biologically constrained sensorimotor control, robust machine learning, and fine-grained multimodal action understanding. A major current theme is bridging the gap between high-level video description and precise action recognition in Multimodal Large Language Models (MLLMs), utilizing specialized training paradigms to overcome linguistic priors and distractor susceptibility. Concurrently, she is advancing the modeling of primate sensorimotor systems by building closed-loop, muscle-level policies that quantitatively explain single-neuron activity in the motor and somatosensory cortices. Her ongoing methodological research also prioritizes the security and interpretability of AI systems, focusing on data-free inversion of neural backdoors and developing contrastive learning algorithms that yield identifiable attribution maps for time-series data.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake