potentialpaper

Learning Reusable Behavioral Motifs for Continuous Animal Behavior Modeling

Jiyi Wang, Jingyang Ke, Bo Dai, Anqi Wu

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We introduce motif-based continuous dynamics discovery (MCD), which models behavior through dynamically composition of interpretable and reusable motor motifs.

Abstract. Natural behavior evolves continuously and often reuses movement structure across contexts, but existing behavioral segmentation methods typically assign a single discrete syllable at each time point or impose restrictive generative assumptions. We introduce Motif-based Continuous Dynamics (MCD), a computational framework that models behavior as time-varying combinations of reusable behavioral motifs. MCD learns motifs as latent behavior-level features from transition dynamics, through spectral representation learning within a reinforcement learning framework. MCD then infers policies that combine these motifs across time or context, through offline imitation learning. This formulation avoids hard behavioral boundaries while capturing continuity and compositionality. Across simulated gridworld and continuous-control tasks, mouse maze navigation and pose data, MCD identifies reusable motifs that explain task and temporal variation. MCD therefore provides a flexible and interpretable framework for computational behavior analysis. Code is available in \url{https://github.com/G1NO3/MCD}.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
3 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:46 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

MCD models animal behavior as continuously evolving combinations of reusable motifs rather than discrete syllables. Motifs are learned as latent state–action features from transition dynamics via spectral representation learning, then combined across time or task through offline imitation learning. Evaluation covers gridworld, Lunar Lander, mouse maze navigation, freely moving pose data, and a macaque drawing dataset added during discussion.

Reviewers found the direction novel and the method sound. Most concerns raised in my original assessment were resolved during the rebuttal: robustness to temporal resolution is now quantified, an entropy analysis distinguishes graded composition from smoothed discrete switching, VAME and NMF baselines were added. All three reviewers raised their scores.

One limitation remains: disentanglement of individual motifs is not quantitatively validated against known primitives. The authors argue that ground-truth primitives are not available for the real-animal datasets. As Reviewer GMkx noted, however, this does not explain the absence of a controlled synthetic validation as the paper's own simulated environments allow known primitives to be defined, and in the gridworld the transition kernel is known in closed form. The revised positioning claims reusable latent behavioral representations rather than disentangled biological primitives, and that narrower claim is supported by the evidence above — in particular the macaque cross-context result, which shows the representation transfers to compositions absent from training. This limitation should nonetheless be stated explicitly in the paper's limitations.

All the new results, including the above limitation, should be included in the camera-ready version. Overall an interesting contribution. Moving from discrete syllables to continuous compositional representations addresses a real limitation of existing methods, and the RL framing connects motifs, policies and rewards in a principled way.

Final justification

MCD models animal behavior as continuously evolving combinations of reusable motifs rather than discrete syllables. Motifs are learned as latent state–action features from transition dynamics via spectral representation learning, then combined across time or task through offline imitation learning. Evaluation covers gridworld, Lunar Lander, mouse maze navigation, freely moving pose data, and a macaque drawing dataset added during discussion.

Reviewers found the direction novel and the method sound. Most concerns raised in my original assessment were resolved during the rebuttal: robustness to temporal resolution is now quantified, an entropy analysis distinguishes graded composition from smoothed discrete switching, VAME and NMF baselines were added. All three reviewers raised their scores.

One limitation remains: disentanglement of individual motifs is not quantitatively validated against known primitives. The authors argue that ground-truth primitives are not available for the real-animal datasets. As Reviewer GMkx noted, however, this does not explain the absence of a controlled synthetic validation as the paper's own simulated environments allow known primitives to be defined, and in the gridworld the transition kernel is known in closed form. The revised positioning claims reusable latent behavioral representations rather than disentangled biological primitives, and that narrower claim is supported by the evidence above — in particular the macaque cross-context result, which shows the representation transfers to compositions absent from training. This limitation should nonetheless be stated explicitly in the paper's limitations.

All the new results, including the above limitation, should be included in the camera-ready version. Overall an interesting contribution. Moving from discrete syllables to continuous compositional representations addresses a real limitation of existing methods, and the RL framing connects motifs, policies and rewards in a principled way.

Area Chair umy3 · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

MCD models animal behavior as continuously evolving combinations of reusable motifs rather than discrete syllables. Motifs are learned as latent state–action features from transition dynamics via spectral representation learning, then combined across time or task through offline imitation learning. Evaluation covers gridworld, Lunar Lander, mouse maze navigation, freely moving pose data, and a macaque drawing dataset added during discussion.

Reviewers found the direction novel and the method sound. Most concerns raised in my original assessment were resolved during the rebuttal: robustness to temporal resolution is now quantified, an entropy analysis distinguishes graded composition from smoothed discrete switching, VAME and NMF baselines were added. All three reviewers raised their scores.

One limitation remains: disentanglement of individual motifs is not quantitatively validated against known primitives. The authors argue that ground-truth primitives are not available for the real-animal datasets. As Reviewer GMkx noted, however, this does not explain the absence of a controlled synthetic validation as the paper's own simulated environments allow known primitives to be defined, and in the gridworld the transition kernel is known in closed form. The revised positioning claims reusable latent behavioral representations rather than disentangled biological primitives, and that narrower claim is supported by the evidence above — in particular the macaque cross-context result, which shows the representation transfers to compositions absent from training. This limitation should nonetheless be stated explicitly in the paper's limitations.

All the new results, including the above limitation, should be included in the camera-ready version. Overall an interesting contribution. Moving from discrete syllables to continuous compositional representations addresses a real limitation of existing methods, and the RL framing connects motifs, policies and rewards in a principled way.

Final justification

MCD models animal behavior as continuously evolving combinations of reusable motifs rather than discrete syllables. Motifs are learned as latent state–action features from transition dynamics via spectral representation learning, then combined across time or task through offline imitation learning. Evaluation covers gridworld, Lunar Lander, mouse maze navigation, freely moving pose data, and a macaque drawing dataset added during discussion.

Reviewers found the direction novel and the method sound. Most concerns raised in my original assessment were resolved during the rebuttal: robustness to temporal resolution is now quantified, an entropy analysis distinguishes graded composition from smoothed discrete switching, VAME and NMF baselines were added. All three reviewers raised their scores.

One limitation remains: disentanglement of individual motifs is not quantitatively validated against known primitives. The authors argue that ground-truth primitives are not available for the real-animal datasets. As Reviewer GMkx noted, however, this does not explain the absence of a controlled synthetic validation as the paper's own simulated environments allow known primitives to be defined, and in the gridworld the transition kernel is known in closed form. The revised positioning claims reusable latent behavioral representations rather than disentangled biological primitives, and that narrower claim is supported by the evidence above — in particular the macaque cross-context result, which shows the representation transfers to compositions absent from training. This limitation should nonetheless be stated explicitly in the paper's limitations.

All the new results, including the above limitation, should be included in the camera-ready version. Overall an interesting contribution. Moving from discrete syllables to continuous compositional representations addresses a real limitation of existing methods, and the RL framing connects motifs, policies and rewards in a principled way.

1 comment
Authors · CommentOpenReview ↗

We thank the Area Chair for accurately summarizing the central concerns. During the rebuttal, we added new experiments and revised the positioning of the paper. We address the three groups of concerns below.

1. Definition, interpretation, and quantitative evidence for reusable motifs

We agree that the initial manuscript did not distinguish the mathematical and biological meanings of “motif.” Therefore, we add details and revise the title, abstract and introduction (see reply to gyUx), including:

  • Operationally, the motif is learned through spectral representation learning within a reinforcement learning framework.

  • Biologically, the motif could be interpreted as low-level movement kinematics or high-level navigation strategies, depending on the state and action representations selected for the scientific question. We do not claim that individual motif dimensions directly correspond to muscle synergies or neural populations. Such correspondence would require further neural recordings.

To provide a quantitative evaluation against known behavioral primitives, we added the macaque drawing task suggested during review (see reply to GMkx). We trained MCD on the drawing strokes and performed a cross-context evaluation: fit a decoder only on isolated single-shape strokes and evaluate it on 2,040 strokes from novel characters. MCD reaches coverage performance close to template baseline and far beyond random baseline, showing that MCD can preserve primitive information and generalize it to previously unseen compositions. We interpret this experiment as quantitative evidence for reusable representation-level structure.

2. Robustness to temporal resolution and evidence for continuity

We agree that state and action definitions affect the motifs. However, these different definitions essentially describe different scientific questions. Representations like node transitions vs. continuous body velocities describe different level of behavior, so they should not be expected to produce identical motifs. These representations must be selected according to the scientific question and that invariance to arbitrary state/action redefinitions is not a claim of MCD.

However, MCD should be invariant to changes that do not affect interpretation, like mild temporal resolution changes. Therefore, we supplement the argument with a "Robustness to temporal resolution" experiment in the official comment.

Regarding whether MCD captures genuine composition or primarily smooths discrete boundaries, Fig. 4B contain evidence for both phenomena. It shows smooth changes in motif dominance and simultaneous activation within ongoing behaviors (see reply to Vp6t). We also quantify the entropy of u(t)u(t) (see reply to Vp6t) and discover that MCD captures informative behavior variation both within stable bouts and at behavior boundaries.

3. Baselines and presentation

The current baselines include SemiSeg and OPAL, which are already continuous. To strengthen our claim, we add two baselines: VAME and NMF on the animal free-moving behavior dataset.

VAME is a recurrent variational autoencoder that encodes a temporal window of pose coordinates into a compact latent representation to reconstruct the observed window and predict future poses. It a natural continuous-dynamics baseline. Here, we use a 64-dimensional VAME (same as MCD) with 30 frames of pose history and a 15-frame future-prediction decoder. NMF is a simpler, non-temporal baseline that factorizes the preprocessed state-action matrix into nonnegative components and their activation coefficients. It tests whether the results can already be explained by static low-rank structure.

Model Human decoding accuracy Trajectory/action discrimination AUC
MCD 0.9610 ± 0.0014 0.7609 ± 0.0736
VAME (64D) 0.8413 ± 0.0041 0.6877
NMF (64D) 0.6866 ± 0.0084 0.5012 ± 0.0036
Keypoint-MoSeq / linear dynamics 0.5624 ± 0.0077 0.6921 ± 0.0472
Chance / trivial baseline 0.5566 (majority class) 0.5000

NMF achieved higher human-label decoding accuracy than Keypoint-Moseq, but has a trajectory discrimination AUC at chance level. Thus, static nonnegative low-rank structure captures some behavior information but does not recover the state-action dynamics. VAME is substantially stronger than the static NMF baseline for human behavior decoding and learns some useful continuous dynamics. MCD nevertheless retains the highest human-label decoding accuracy and the highest score on the trajectory discrimination.

The new macaque experiment complements the existing benchmark by testing whether MCD can preserve isolated primitive information and generalize to unseen compositions.

Finally, we have revised Fig. 3 and its caption to define every panel explicitly.

Reviewer gyUXOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes Motif-based Continuous Dynamics (MCD), a reinforcement learning framework for modeling animal behavior using continuous combinations of reusable motor motifs. The method combines spectral representation learning with offline imitation learning to learn latent behavioral representations from observed trajectories. The proposed framework is evaluated on simulated environments, maze navigation, and freely moving animal behavior datasets, and is compared with existing behavioral segmentation methods through quantitative evaluation and ablation studies.

Strengths and weaknesses

Strengths

The paper presents an interesting reinforcement learning framework for representing animal behavior using continuous combinations of reusable motor motifs. The proposed framework combines spectral representation learning with offline imitation learning and evaluates the learned representations on simulated environments, navigation tasks, and freely moving animal behavior datasets. From a technical perspective, the proposed framework is well organized, and the methodology is generally easy to follow. The experimental evaluation includes multiple datasets, comparisons with existing behavioral analysis methods, and ablation studies that provide useful insights into the proposed framework. Overall, the implementation appears technically sound, and the paper explores an interesting direction at the intersection of reinforcement learning and computational behavior analysis.

Weaknesses

My primary concerns relate to the conceptual interpretation of the learned representations rather than the technical implementation itself. The notion of a reusable "motor motif" is central to the paper, yet its definition remains somewhat ambiguous. It is not entirely clear whether the learned motifs are intended to represent movement primitives, muscle synergies, behavioral patterns, or latent representations learned from behavioral trajectories. A clearer definition of the elementary unit represented by a motif would substantially improve the interpretability of the proposed framework. Related to this point, the paper is motivated by biological motor control and motor primitive theories, whereas the proposed framework operates on observed behavioral trajectories using representation learning. A more explicit discussion of how the learned latent representations relate to biological motor primitives would help clarify the intended biological interpretation and the scope of the proposed framework. The paper also argues that behavior can be represented as continuous combinations of motor motifs. While this is an interesting hypothesis, the current experiments mainly demonstrate combinations of relatively similar movement patterns. Additional discussion—or, if feasible, further experimental evidence—regarding transitions between biologically distinct behaviors (e.g., walking, running, stopping, grooming, or feeding) would help clarify the scope of this hypothesis and strengthen the central biological motivation of the work. Finally, the proposed framework combines several components, including spectral representation learning, offline imitation learning, and motif-based representations. Additional analyses clarifying the contribution of each component would further strengthen the experimental evidence and help readers better understand the primary source of the reported improvements.

Questions

Most of my questions concern the conceptual interpretation of the proposed motor motifs rather than the technical implementation itself. Clarifying these points would help me better understand the biological positioning of the framework and could strengthen my overall assessment of the paper.

  1. Definition of motor motifs The notion of a "motor motif" is central to the paper. Could the authors clarify what constitutes one motif in the proposed framework? In particular, it would be helpful to discuss whether a motif represents a movement primitive, a muscle synergy, a behavioral pattern, or a latent representation learned from state-action trajectories. A clearer definition would substantially improve the interpretability of the proposed framework.

  2. Relationship to biological motor control The paper is motivated by biological motor primitive theories, whereas the proposed framework learns latent representations from observed behavioral trajectories. Could the authors discuss more explicitly how these learned representations relate to biological motor primitives and what level of biological interpretation is intended? Clarifying this relationship would strengthen the positioning of the work.

  3. Evidence for continuous behavioral composition One of the central hypotheses is that behavior can be represented as continuous combinations of reusable motor motifs. Could the authors discuss whether this hypothesis also applies to transitions between biologically distinct behaviors (e.g., walking, running, stopping, grooming, or feeding)? Even a discussion of this point—or additional experiments if readily available—would help clarify the scope of the proposed framework. Such clarification would strengthen my assessment of the central biological motivation.

  4. Intended application and scientific objective The manuscript motivates the work from several perspectives, including reinforcement learning, motor primitive discovery, and computational neuroscience. Could the authors clarify which of these they consider the primary scientific objective of the work? A more explicit discussion of the intended application domain would make the significance of the contribution easier to appreciate.

  5. Contribution of the individual components The framework combines spectral representation learning with offline imitation learning. Additional analyses clarifying the contribution of each component would help readers better understand which parts of the framework are primarily responsible for the reported improvements.

Limitations

Limitations discussed in the paper

The manuscript discusses several limitations of the current study, including the evaluation on a limited set of environments and behavioral tasks, as well as the extension of the proposed framework to more complex behaviors as future work. These discussions help clarify the current scope of the proposed framework, and I appreciate that the authors explicitly acknowledge these limitations.

Additional points that could be discussed

I believe the discussion could be further strengthened by clarifying a few conceptual limitations of the current framework.

Scope of the biological interpretation. The current framework learns latent behavioral representations from observed trajectories, and it remains somewhat unclear to what extent the proposed formulation is intended to model biological motor control. Clarifying which aspects of biological motor control are captured by the current implementation and which remain beyond its scope would help readers better understand the intended interpretation of the framework. Definition of motor motifs. The manuscript does not explicitly define the elementary unit of a motor motif. As a result, it remains difficult to determine what level of behavioral organization the learned representations correspond to. Discussing how this limitation affects the interpretation and generalization of the proposed framework would further clarify the scope of the work. Scope of continuous behavioral composition. The proposed framework demonstrates continuous composition on several representative behaviors, but it remains unclear how broadly this formulation extends to transitions between biologically distinct behaviors. Clarifying the intended scope of this hypothesis would help readers better understand the applicability of the proposed framework.

Overall, I believe these points could be addressed through a brief discussion, either in the Limitations or the general Discussion section. Such clarification would further strengthen the biological interpretation and better define the scope of the proposed framework, without requiring substantial changes to the methodology.

Final justification

After considering the rebuttal, additional experiments, and discussions, I have updated my recommendation from Borderline Reject to Weak Accept.

The authors addressed my primary conceptual concerns by clarifying that the proposed motifs are reusable behavioral latent representations rather than direct biological motor primitives. I also appreciate the proposed revisions to the title, abstract, introduction, and discussion, which substantially improve the consistency between the paper's terminology and its intended scientific scope.

The additional experiments on temporal robustness and the macaque drawing dataset provide meaningful empirical support for the proposed framework and strengthen the overall evaluation.

While questions regarding the broader biological interpretation and continuous compositionality remain, I now view these as interesting directions for future work rather than fundamental weaknesses. Overall, I believe the authors have responded thoughtfully to the reviewers' comments and have significantly strengthened the paper.

Formatting concerns

None. I did not notice any major formatting, anonymity, or submission guideline issues.

6 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Definition of a motor motif

Our mathematical definition is precise, but we agree that the manuscript does not explicitly distinguish the mathematical, behavioral, and biological meanings of “motif.” Mathematically, MCD defines a motif representation through the factorization

P(s′∣s,a)=∑i=1dϕi(s,a)μi(s′)q(s′),P(s'|s,a) = \sum_{i=1}^{d}\phi_i(s,a)\mu_i(s')q(s'),
Q(s,a,t)=∑iϕi(s,a)ui(t),π(a∣s,t)∝exp⁡(∑iϕi(s,a)ui(t)).Q(s,a,t)=\sum_i\phi_i(s,a)u_i(t), \quad \pi(a|s,t)\propto\exp\left(\sum_i\phi_i(s,a)u_i(t)\right).

A motif ϕi(s,a)\phi_i(s,a) is therefore a component of the state-action transition representation, while μi(s′)\mu_i(s') describes the corresponding next-state structure. The coefficient ui(t)u_i(t) determines the component’s contribution to the value function and the policy at time tt.

Operationally, we use “motif” to refer to a reusable latent representation learned from observed state–action dynamics. Such a representation may resemble a small movement or broader behavioral tendency, but we do not expect the motif to be interpreted directly as a muscle synergy, which needs the support of muscle activation data. Instead, we expect to establish such a connection in future work with simultaneous behavior and neural recordings.

Relationship to biological motor primitives

Biological motor-control theories hypothesize that complex movements can be generated by combinations of a finite set of reusable motor primitives. Following this hypothesis, MCD learns candidate motor primitives from state–action transitions and connects them with the policy by (exponential) linear transformation, with their linear coefficients varying across time. Our intended biological interpretation is currently at the behavioral level. We do not claim that they directly correspond to muscle synergies or specific neural activities. Establishing such correspondence would require simultaneous neural and behavioral recordings. At present, the learned motifs should therefore be viewed as candidate behavioral primitives that can provide regressors and testable hypotheses for future physiological studies.

Transitions across biologically distinct behaviors

MCD does not introduce a separate variable representing a behavioral boundary. Instead, a transition is represented as a trajectory through the motif-weight space u(t)u(t): coefficients associated with one behavioral pattern may decrease while those associated with another increase or temporarily overlap.

The current experiments already contain several biologically distinct behavioral categories. Fig. 4B includes alternating turning and grooming dynamics in Clips 2–4, which involves transitions between distinct behaviors. Clip 1 shows a rightward initiation with only head movement. At the end of clip 1 and beginning of clip 2, the turning motif (motif 3) arises, and motif 1 diminishes. Moreover, clip 5 combines forward locomotion with sniffing, which combines two distinct behaviors. These results provide initial evidence that MCD is not restricted to combining only highly similar movement patterns. We will clarify the above interpretation and the existing transition examples in the Discussion.

Primary scientific objective and intended application

The primary objective of MCD is computational behavior analysis: transforming long, offline, and unlabeled animal trajectories into interpretable units of behavior dynamics and their temporal organization. Existing segmentation approaches provide useful behavioral syllables and their start and end points, but a single discrete label may obscure shared motion components, concurrent movements across body parts, and gradual changes between behaviors. MCD instead aims to represent behavior as continuously evolving combinations of reusable motifs learned from state–action dynamics.

The primary objective is computational behavior analysis. Previously, the discrete segmentation approach could only identify the animal behavior as separate syllables with abrupt switches that struggle to capture the real behavior dynamics. Therefore, the primary objective is to represent the behavior as continuously evolving combinations of interpretable and reusable components, and to discover these components from long, offline, and unlabeled animal-behavior trajectories.

Reinforcement learning is the mathematical framework that connects observed state–action dynamics to policies and motivations. It is not the primary application domain.

The intended scientific workflow is:

  • learn a shared dynamical motif representation from behavioral transitions;

  • characterize how these motifs are combined across time or contexts;

  • use the motifs and their time-varying coefficients as interpretable behavioral variables and testable regressors for future physiological and neural studies.

The present paper primarily addresses the first two stages. Establishing correspondence with neural implementation requires simultaneous neural recordings and causal perturbations and remains a downstream scientific application for computational neuroscience. We will state this positioning explicitly in the Introduction and Discussion.

Contribution of the individual components

Thank you for this question. We agree that the roles of the two learning stages should be distinguished more clearly. Offline imitation learning primarily defines the learning setting and answers the question:

We observe only a fixed dataset of animal trajectories. How can we infer the policy without interacting with the environment?

It provides the training objective used to infer the policy.

Spectral representation learning operates within the offline setting, and provides more interpretable representation that could be used to construct the policy. It answers the question:

How can we decompose the policy as the linear combination of reusable components based on environment observations?

Conceptually, the two stages play complementary roles:

  • Spectral representation learning discovers the vocabulary: reusable state–action features grounded in transition dynamics.
  • Offline imitation learning infers the syntax: how those features are weighted and combined across time to reproduce the observed policy.

More specifically, in the continuous model, Eq. 8 learns ψ(s,a)\psi(s,a) and ν(s′)\nu(s') from transitions (s,a,s′)(s,a,s'). Equation 9 then learns ff and u(t)u(t), with ϕ(s,a)=f(ψ(s,a))\phi(s,a)=f(\psi(s,a)), to model the observed action policy. Their connection through

Q(s,a,t)=ϕ(s,a)⊤u(t)Q(s,a,t)=\phi(s,a)^\top u(t)

makes the representation reusable and compositionally interpretable: ϕ\phi provides shared transition-grounded features, while u(t)u(t) describes their time- and context-dependent deployment.

As for their contributions, Figure 4A provides framework-level evidence. Keypoint-MoSeq represents an AR-HMM-based discrete segmentation approach, SemiSeg represents a clustering/autoencoder-based continuous representation, and OPAL represents offline imitation learning without spectral methods. OPAL performs comparably to Keypoint-MoSeq and SemiSeg on trajectory-discrimination AUC and improves human-label decoding over them. This result suggests that an offline imitation learning algorithm can produce behaviorally meaningful latent representations, but the ability to distinguish mismatched (s,a)(s,a) pairs is not better, indicating the log-likelihood score is not captured more accurately. MCD further improves both human-label decoding accuracy and discrimination AUC, suggesting that adding spectral representation learning to imitation learning can both improve log-likelihood discrimination modeling and capture more behaviorally meaningful information.

Reviewer gyUX · CommentOpenReview ↗

Before commenting on the rebuttal, I would like to sincerely apologize for the delay in my response. Unfortunately, I was unwell during the rebuttal period and was therefore unable to complete my review within the original timeline. I greatly appreciate your patience and understanding.

First of all, I would like to thank the authors for the detailed, thoughtful, and constructive rebuttal, as well as for the considerable effort devoted to conducting additional experiments. I appreciate that the authors carefully addressed the reviewers' comments and provided much clearer explanations of the motivation, interpretation, and intended scope of the proposed framework.

The rebuttal significantly improved my understanding of the proposed "motor motifs." In particular, I now better understand that the learned motifs are intended to represent reusable latent behavioral representations learned from state-action dynamics, rather than direct biological motor primitives or muscle synergies. This clarification addresses much of my original concern regarding the conceptual interpretation of the learned representations. I also appreciate the authors' explicit clarification that the current biological interpretation is intended at the behavioral level, while direct correspondence to neural or muscular mechanisms remains an important direction for future work.

The additional experiments further strengthen the paper. The temporal robustness analysis provides convincing evidence that the learned motif representations remain stable across different temporal resolutions, which helps address concerns regarding sensitivity to sampling rate. In addition, I found the newly included evaluation on the macaque drawing dataset particularly valuable. Demonstrating that the learned representations generalize to unseen compositions while preserving reusable behavioral structure provides meaningful additional empirical support for the proposed framework and strengthens the overall experimental evaluation.

At the same time, the rebuttal also helped clarify the intended scientific positioning of the work. Based on the authors' explanations, my understanding is that the primary contribution of this paper is a computational framework for discovering reusable latent behavioral representations from observed state-action dynamics, with reinforcement learning serving as the underlying mathematical framework. The connection to biological motor primitives is therefore best understood as a longer-term scientific motivation and future research direction, rather than as a claim directly established by the current experiments.

With this clearer understanding, I found myself wondering whether the terminology used in the title may convey a somewhat stronger biological interpretation than what is ultimately demonstrated in the present work. This is not intended as a criticism of the methodology itself, which I believe is technically sound and well executed. Rather, it is a suggestion regarding the positioning of the contribution. Since the rebuttal clearly distinguishes between reusable latent behavioral representations and biological motor primitives, I believe the manuscript would benefit from ensuring that the terminology used in the title, abstract, and introduction consistently reflects this intended scope. Such clarification would help align readers' expectations with the actual contribution of the paper and further strengthen its overall presentation.

Overall, I appreciate the authors' thoughtful responses and the substantial effort invested in improving the manuscript. The rebuttal has successfully clarified many of my original concerns and has strengthened the experimental evidence through additional analyses. My remaining reservation is primarily related to the conceptual positioning and interpretation of the proposed "motor motifs," rather than to the technical quality or implementation of the proposed method. I believe that further clarifying the intended scope of the work would make the paper even stronger and help readers more accurately appreciate its contributions.

Authors · CommentOpenReview ↗

Thank you very much for the thoughtful follow-up. We are glad that the rebuttal helped clarify what we intended by the learned motifs and that the additional experiments were useful.

We agree that the terminology and positioning can be improved. In the revision, we will make it clear in the title, abstract, and introduction that MCD learns reusable latent behavioral representations from state-action dynamics. We will first define motifs as learned latent components of state-action dynamics, and then discuss how they can be interpreted as reusable behavioral representations.

We also agree that the current experiments do not support claims about biological motor primitives or muscle synergies, and that was not our intention neither. Establishing such biological relevance would require linking the learned representations to neural or muscular recordings, which is beyond the scope of this work. Our goal is to provide an expressive representation learning framework that can serve as a basis for future studies of biological relevance.

Since this issue can be addressed by clarifying the presentation rather than changing the method or results, we hope these revisions, together with the additional experiments, will help address the remaining concern and may support a more positive assessment of the paper.

Reviewer Vp6tOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
2/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

MCD extracts reusable compositional motifs from animal behavior by treating observed behavior as generated by an underlying policy. Instead of segmenting trajectories into one discrete label per time point, it learns motif features ϕ(s,a)\phi(s,a), derived from transition dynamics, along with motif weights u(t)u(t), which are task- or time-dependent coefficients that combine motifs to explain behavior. This lets multiple motifs be active at once, allowing behaviors such as grooming plus turning or locomotion plus sniffing to be represented continuously and compositionally. The paper evaluates MCD on several settings where it recovers interpretable motifs: a simulated 3×3 gridworld, real mouse navigation in a binary-tree maze, and pose data from freely moving mice.

Strengths and weaknesses

Strengths:

The central idea is interesting and potentially useful: moving from discrete behavioral syllables to continuous combinations of reusable motifs is well motivated for animal behavior. The RL framing is also novel in this context and provides a principled way to connect motifs, policies, and rewards. The derivation is reasonably rigorous, and the contrastive / energy-based formulation appears to make the continuous version more scalable. Empirically, the paper tests the method across domains of increasing complexity, from a controlled gridworld to real navigation behavior and continuous pose data from freely moving animals, with an additional continuous-control example in Lunar Lander. This progression helps illustrate both the interpretability and flexibility of the framework.

Weaknesses

One presentation issue is that some of the key visualizations are difficult to interpret. In particular, Figure 3 is not very readable: the axes and action/state meanings are not clearly labeled, and the layout makes it hard to understand exactly what is being compared. Since interpretability is a major claim of the paper, clearer figures and more explicit labeling would substantially improve the presentation.

A more substantive concern is that the learned motifs may be highly sensitive to how the state and action spaces are defined by the experimenter. In the navigation experiments, actions are discrete transitions between maze nodes, whereas in the pose dataset actions are frame-to-frame keypoint velocities. These choices seem crucial: using continuous pose data in the maze instead of node transitions, changing the temporal resolution, subsampling velocities, or using accelerations instead of velocities could plausibly lead to different motifs. The paper does not fully explore how robust MCD is to these design choices, even though they may strongly affect the downstream interpretation

The interpretation of the learned motifs is also somewhat thin. The paper visualizes representative motifs and gives qualitative descriptions such as grooming, turning, or locomotion, but it is not always clear how stable or semantically consistent these motifs are across animals nor how these connect to the original findings of the experiment.

Questions

Prior work suggests that some behavioral motifs or action primitives may be well described as discrete units. MCD argues for a continuous compositional representation, which is especially appealing for modeling smooth transitions and mixed behaviors. Could the authors clarify whether the learned motif weights show genuine continuous variation throughout behavioral bouts, or whether most of the benefit comes from modeling transitions between otherwise fairly discrete motifs? For example, are motif activations broadly graded within stable behaviors, or do they mostly become mixed near boundaries between dominant motifs? Quantifying the sparsity/entropy of u(t)u(t) over time, or comparing against a piecewise-constant/discrete motif model with continuous transition smoothing, could help distinguish these possibilities. This distinction would be informative even if MCD’s main advantage is primarily in modeling transitions, since that would still be a useful contribution over hard segmentation methods.

Limitations

limitations discussed in last paragraph

Final justification

My main critique was on sensitivity to particular state representations, but the authors did an experiment that showed some reasonable robustness to this.

Why not higher: I still think the authors did not do enough interpretability work on the learned motifs.

Formatting concerns

no formatting concerns

6 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Introduction of environment in Fig 3

We thank the reviewer for identifying this presentation issue. The experiment uses the binary-tree labyrinth of Rosenberg et al. [paper ref. 34]. The maze contains 63 T-junctions and 64 terminal nodes, producing 127 discrete states. The central root is connected to the home cage, while one terminal node contains the water port. At each T-junction, an action denotes a transition to one of the adjacent nodes: toward the parent/root, the left child, or the right child. At a terminal node, the only possible actions are to stay or to reverse toward the parent. The house and droplet icons in Fig. 3 indicate the maze exit leading to the home cage and the water port, respectively.

The same maze and transition dynamics are used for all three columns in Fig. 3A. “Water seeking,” “home seeking,” and “exploration” are three behavioral modes inferred from the mouse trajectories. Water seeking denotes directed movement toward the water port, home seeking denotes directed movement toward the maze exit, and exploration contains the remaining non-directed trajectories.

Panel A compares the ground truth and MCD-recovered reward maps for each behavioral mode. The upper row contains reward maps inferred by the previous switching-reward model [paper ref. 31], which are used as ground truth, while the lower row contains the corresponding rewards recovered by MCD. The colors encode the reward assigned to state–action transitions, with darker colors denoting higher reward. The water-seeking reward is concentrated near the water port and along transitions leading toward it; the home-seeking reward is concentrated near the central home cage; and the exploration reward is more broadly distributed across the maze.

Panel B visualizes selected principal-component motifs from the shared motif basis. A motif is a function ϕ~i(s,a)\widetilde{\phi}_i(s,a) over state–action pairs, so we could scan the whole state-action space and assign a value to each (s,a)(s,a) pair. Purple shading indicates the motif value, and the orange arrows highlight representative actions with high positive values. The displayed motifs are selected because they receive large coefficients in either the water-seeking (top row) or home-seeking (bottom row) reward maps.

Panel C shows how all PC motifs are combined for each behavioral mode. The x-axis indexes the shared PC motifs, while the y-axis gives the corresponding motif reward coefficient. The blue, orange, and green curves are the coefficient vectors for water seeking, home seeking, and exploration, respectively. Positive coefficients indicate a motif contributes highly to the recovered reward. The stars identify the motif components visualized in Panel B. For example, the first blue star shows that the 65th PC motif (which corresponds to water motif 1) contributes highly to the water-seeking reward function. From Panel B, we can see this is compatible with its own meaning: this motif actually concentrates on the transition to where the water port should be.

The relationship among the panels can be summarized as

rm(s,a)=∑iϕi(s,a)wim,m∈water,home,exploration.r^m(s,a)=\sum_i {\phi}_i(s,a){w}^{m}_i, \qquad m\in {\text{water},\text{home},\text{exploration}}.

Panel B shows selected shared basis functions ϕi{\phi}_i, Panel C shows the mode-specific coefficients wim{w}^{m}_i, and the lower row of Panel A shows the reward maps reconstructed from their weighted combinations. We will revise the descriptions to stress the relationship among the three panels.

Sensitivity to state and action definitions

We agree that the state–action representation is an important modeling choice. We therefore test whether the motif space is sensitive to temporal resolution. The submitted version uses a fixed rate of 30 Hz. We downsampled the same recordings to [15, 10, 7.5] Hz while expressing velocity in physical units. We compare the linear CKA (as noted above) between downsampled motif space and the original one (30 Hz). The CKAs are [0.90, 0.88, 0.90] and are close to 1, showing that the motif space is primarily stable across different downsample rate. We will also include AUC and label-decoding accuracy in the results.

Cross-animal stability and semantic interpretation

We appreciate this suggestion. Appendix P.3 evaluates a split in which one mouse is completely excluded from training; the held-out-animal performance remains comparable to the random split, showing that the learned representation is consistent across animals and transfers across subjects. Including another animal dataset would be a good direction for the future work.

Continuous versus transition-localized motif composition

First, the learned motif weights show genuine continuous variation throughout behaviors, and we are not just a simple continuous extension to the discrete method: our assumption and learning results are fundamentally different. From Fig 4B Clips 2- 4, we can see that different motifs dominate the behavior dynamics in turn, showing a continuously evolving mixture. But other discrete models are not able to capture this tendency. SemiSeg assigns irrelevant labels to each of these three periods, and Keypoint-MoSeq assigns the same label for the first two clips. Clip 5 also shows a mixture of behavior at a timepoint other than the behavior boundary. Therefore, MCD provides a fundamental, genuine description of these behaviors. We agree that quantifying the entropy would be a doable experiment in future work.

Authors · CommentOpenReview ↗

Robustness to temporal resolution

We evaluate the sensitivity of MCD to temporal resolution by downsampling the original 30 fps videos to 15, 10, and 7.5 fps, with actions recomputed between new frames. We then use the same MCD checkpoint trained at 30 fps to test their performance. As in Fig 4A, we report two metrics. Human-label decoding accuracy tests whether the fitted MCD representation preserves behaviorally meaningful information. Test action-likelihood AUC measures whether MCD assigns higher likelihood to the observed action than to mismatched actions. Chance AUC is 0.5. We also use Motif space CKA to measure how different the motif spaces are across downsampling rates.

Framerate Frame stride Human-label decoding accuracy Test action-likelihood AUC Motif space CKA
30 fps 1 0.9615 ± 0.0018 0.7843 ± 0.0643 1.00
15 fps 2 0.9327 ± 0.0034 0.7644 ± 0.0424 0.90
10 fps 3 0.9026 ± 0.0036 0.7885 ± 0.0676 0.88
7.5 fps 4 0.8689 ± 0.0065 0.8243 ± 0.0352 0.90

Human-label decoding accuracy decreases gradually as temporal resolution is reduced, while remaining competitive with other baselines (Fig 4A). In contrast, test action-likelihood AUC remains well above chance and shows no degradation. MCD is robust to temporal resolution and shows generalization across sampling rates, suggesting that the motif space remains stable and captures action-relevant information.

Authors · CommentOpenReview ↗

Sensitivity to state and action definitions

We want to add some arguments with respect to the question "sensitivity to state and action definitions". What you said is true: using continuous pose data in the maze instead of node transitions will lead to different motifs. But we want to use continuous pose data when we want to focus on how the animal composes its different motor motifs across time. Similarly, we want to use discrete node transition data when we want to focus on how the animal composes different navigation strategies over time. These representations describe different scientific objects, so they should not be expected to produce identical motifs. MCD itself does not claim invariance to representations that describe different levels of behavioral organization. Likewise, replacing velocity with acceleration would shift the interpretation from movement to changes in movement. The motif interpretation should always be conditioned on the state-action definition, which, in essence, depends on the aspect of interpretation of interest. Finally, if the aspect of interpretation of interest includes both granular movement tendency and global strategy, it is also acceptable to concatenate the pose data and the node transition data. The motif may produce a combination of different granular movement tendencies and global strategies. You have to make a choice based on your target.

However, MCD should be invariant to changes that do not affect interpretation, like mild temporal resolution changes. Therefore, we supplement the argument with a "Robustness to temporal resolution" experiment in the official comment. We will clarify this scope and hope this will help the reviewer better capture the core idea.

Reviewer GMkxOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
2/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper introduces MCD, a framework for modelling continuous behavior by discovering and composing reusable motor motifs. Unlike previous methods that model behavior as discrete switches by introducing artificial boundaries, ignore long term temporal dependencies, and rely on restrictive assumptions, MCD models behavior as a fluid, continuous mixture of fundamental motor building blocks called motifs via spectral representation learning in RL. MCD provides a unified framework for modeling animal behavior as continuously evolving compositions of reusable motor motifs.

Strengths and weaknesses

Strengths :\textbf{Strengths :}

  1. Parameterization of the transition kernel as an Energy-Based Model (EBM) produces the unimodal probability distributions necessary to accurately reflect the additive Gaussian motor noise inherent in real-world biological movement.
  2. MCD can capture multiple motifs evolving simultaneously.
  3. Recovery of hidden reward is possible in discrete settings.

Weaknesses : \textbf{Weaknesses : }

  1. Can the authors provide empirical evidence or theoretical bounds demonstrating how the Noise-Contrastive Estimation (NCE) objective scales in environments with significantly higher degrees of freedom (e.g., highly articulated 3D skeletons)? Specifically, how does the framework prevent representation collapse when negative sampling becomes increasingly sparse in high-dimensional continuous spaces?
  2. The method assumes that the animal’s reward and policy are linear combination of the underlying motifs. Given that biological reward mechanisms are often non-linear and hierarchical, how sensitive is the proposed reward recovery to environments where the ground-truth reward is explicitly non-linear?
  3. In Fig 3, the true and recovered rewards don’t match. Can the authors introduce a quantitative metric to systematically evaluate the disentanglement of the extracted motifs against known ground-truth behavioral primitives?
  4. How sensitive are the discovered motifs to changes in the temporal discretization parameter? I recommend the authors include an experiment testing the framework across multiple down-sampled framerates of the same video dataset to demonstrate whether the learned physical primitives remain stable or if they warp depending on the camera's fixed temporal resolution.
  5. Content in the Lines 149-153 is same as Content in the Lines 154-158.

Recommendation :

  1. To strongly reinforce the paper's claims about compositionality and out-of-distribution (OOD) generalization, I highly recommend evaluating the framework on a more complex behavioral dataset, such as the macaque drawing task from [1]Tian et al. (2026). Since this task involves animals combining basic strokes to draw various shapes, analyzing this tracking data would provide an excellent test for the model. Specifically, I recommend using this data to demonstrate whether the framework can accurately isolate these foundational strokes as motifs and predict the continuous movement trajectory when the animal is tasked with drawing a completely novel, unseen shape.

References : [1]Tian, L.Y., Garzón Gupta, K., Hanuska, D.J. et al. Neural representation of action symbols in primate frontal cortex. Nature 654, 152–162 (2026). https://doi.org/10.1038/s41586-026-10297-x

Questions

Please check the Weaknesses section.

Limitations

Yes

Final justification

The rebuttal addressed robustness to temporal discretization and, through the Tian et al. experiment, gave evidence for compositional generalization, both meaningful improvements over the original submission. I will raise the my scores to Borderline Accept.

But the paper's central claim, that MCD discovers interpretable and disentangled motifs, remains unvalidated by any quantitative metric. Since this is the property that differentiates MCD from prior clustering and HMM based methods, I don't think the strength of these secondary results, on their own, is enough to substitute for that missing piece. I'll leave my score at Borderline Accept to reflect this open gap.

Formatting concerns

NA

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Scalability of NCE and representation collapse

We thank the reviewer for raising this important question. Highly articulated 3D skeletons are beyond the empirical scope of the current study. The scalability benefit of NCE in our formulation is computational: it replaces normalization or integration over a continuous next-state space with a classification objective evaluated using sampled negatives. Its computational cost is therefore linear in the number of negatives and does not require discretizing or densely covering the ambient state space. For a fixed encoder, the contrastive objective requires O(K)O(K) score evaluations for KK negatives. Therefore, NCE provides a feasible way to scale up to high-dimensional space. However, this scalability is not related to the representation collapse.

Assume an NCE multiclassifier has the loss function:

ℓNCE(θ)=−log⁡G+G++∑k=1KG−\ell_{\mathrm{NCE}}(\theta)=-\log\frac{G_+}{G_++\sum_{k=1}^{K}G_-}

where

G+=exp⁡(fθ(s,a,s+′))G_+=\exp(f_{\theta}(s,a,s'_+))
G−=exp⁡(fθ(s,a,s−,k′))G_-=\exp(f_{\theta}(s,a,s'_{-,k}))

If NCE has a collapsed representation, it would achieve a higher loss than an optimal NCE. Therefore, collapse is not a global optimum of the loss function. To show this, let's consider a completely collapsed representation where JJ is a random variable indicating the position of the positive sample. It assigns probability 1/(K+1)1/(K+1) to every candidate and the NCE loss is log⁡(K+1)\log(K+1). The Bayes-optimal classifier, instead, achieves a loss that is the conditional entropy H(J∣s,a,s0:K′)<log⁡(K+1)H(J\mid s,a,s'_{0:K})<\log(K+1). Their loss gap is ℓcollapse−ℓoptimal=I(J;s0:K′∣s,a)>0\ell_{\text{collapse}}-\ell_{\text{optimal}}=I(J;s'_{0:K}\mid s,a)>0 whenever P(s′∣s,a)≠q(s′)P(s'|s,a)\neq q(s'). Thus, complete collapse is strictly suboptimal at the population level.

In our implementation, negative successor states are sampled from q(s′)q(s'), the empirical marginal distribution of observed successor states, independently of the current (s,a)(s,a). Thus, negatives are behaviorally plausible states but are generally not valid successors for the current state-action pair. As the transition dynamics depend on (s,a)(s,a), P(s′∣s,a)≠q(s′)P(s'|s,a)\neq q(s'), the complete collapse case is suboptimal.

Moreover, in a classical NCE research[1], NCE is used to estimate the ICA parameters. When the hidden dimension is increased from 10 to 80, NCE could still maintain a reasonable and bounded error. More recent work on NCE-based spectral RL has also demonstrated feasibility on articulated continuous-control systems, including 223-dimensional dog observations and humanoid tasks[2].

Nonlinear and hierarchical rewards

We apologize that the text made the assumption appear stronger than intended. The reward is linear in learned motif features, r(s,a)=ϕ(s,a)⊤wr(s,a)=\phi(s,a)^\top w, not necessarily linear in the raw state and action. Nonlinearity and hierarchy can be represented in ϕ\phi and ww. In reinforcement learning literature, spectral RL is also deployed to deal with explicitly non-linear rewards, and has some success [2].

Quantifying Fig. 3 and disentanglement of motifs

We agree that in Fig 3, the true and recovered rewards are not identical for every state and action. However, they still capture the three most prominent parts of the reward function: (1) For the water-seeking behavior, the reward function has peaks around the water port, just as the ground truth. (2) For the home return behavior, the reward function has peaks around the home cage. (3) For the exploration behavior, the reward function spreads across the whole map. As stated in Line 277-281, the recovered reward function aligns with ground truth in these aspects. We invite the reviewer to see our reply to reviewer Vp6t.

We also create a “perfect” reward map where (1) the water seeking reward function has 1 at the water port and 0 elsewhere, (2) home-seeking reward function has 1 at the home cage and 0 elsewhere, and (3) exploration reward function has uniform small reward everywhere. The correlation between ground truth and perfect map is close to that between recovered reward function and perfect map (both are 0.4). We will change the statement to “the recovered task-specific rewards capture the most prominent part of inferred ground truth”.

As for the disentanglement of the extracted motifs against ground truth, the comparison is currently impossible, since ground-truth behavioral primitives are unavailable in the real-animal datasets. If we have such a ground truth, as MCD’s spectral factorization is identifiable only up to an invertible linear transformation (Appendix N), one-to-one motif matching is not feasible. A good quantitative metric could use linear-CKA similarity between the learned and ground-truth motif subspaces. We view such a controlled benchmark as an important direction for future work.

Temporal discretization

The submitted version uses a fixed rate of 30 Hz. We therefore downsampled the same recordings to [15, 10, 7.5] Hz while expressing velocity in physical units. We compare the linear CKA (as noted above) between downsampled motif space and the original one (30 Hz). The CKAs are [0.90, 0.88, 0.90] and are close to 1, showing that the motif space is primarily stable across different downsample rate. We will also include AUC and label-decoding accuracy in the results.

Duplicate text

Thank you for catching this. We have removed the duplicate.

OOD compositionality and Tian et al.

We appreciate this excellent suggestion. The Tian et al. dataset is particularly suitable because it contains known stroke primitives and genuinely novel shapes. We will consider adding it into future work.

[1] Gutmann, M. U., & Hyvärinen, A. (2012). Noise-contrastive estimation of unnormalized statistical models, with applications to natural image statistics. Journal of machine learning research, 13(2).

[2] Gao, C., Sun, H., Li, N., Schuurmans, D., & Dai, B. (2025). Spectral Representation-based Reinforcement Learning. arXiv preprint arXiv:2512.15036.

Authors · CommentOpenReview ↗

Temporal discretization result

We evaluate the sensitivity of MCD to temporal discretization by downsampling the original 30 fps videos to 15, 10, and 7.5 fps, with actions recomputed between new frames. We then use the same MCD checkpoint trained at 30 fps to test their performance. As in Fig 4A, we report two metrics. Human-label decoding accuracy tests whether the fitted MCD representation preserves behaviorally meaningful information. Test action-likelihood AUC measures whether MCD assigns higher likelihood to the observed action than to mismatched actions. Chance AUC is 0.5. We also use Motif space CKA to measure how different the motif spaces are across downsampling rates.

Framerate Frame stride Human-label decoding accuracy Test action-likelihood AUC Motif space CKA
30 fps 1 0.9615 ± 0.0018 0.7843 ± 0.0643 1.00
15 fps 2 0.9327 ± 0.0034 0.7644 ± 0.0424 0.90
10 fps 3 0.9026 ± 0.0036 0.7885 ± 0.0676 0.88
7.5 fps 4 0.8689 ± 0.0065 0.8243 ± 0.0352 0.90

Human-label decoding accuracy decreases gradually as temporal resolution is reduced, while remaining competitive with other baselines (Fig 4A). In contrast, test action-likelihood AUC remains well above chance and shows no degradation. MCD is robust to temporal resolution and shows generalization across sampling rates, suggesting that the motif space remains stable and captures action-relevant information.

Authors · CommentOpenReview ↗

New dataset validation result

To address the reviewer’s question, we evaluate MCD on the macaque drawing dataset from Tian et al. (2026). We downsample the dataset to 25 Hz and train MCD with similar parameters as in our third dataset (animal free-moving).

We divide the whole dataset into four non-overlapping subsets. The MCD model was trained on the first two subsets: isolated primitives plus practised characters.

Dataset Contents Role in our analysis
Isolated primitive dataset 413 single-stroke trials with 19 predefined stroke types Included in MCD training and used to construct the 19 MCD templates (types)
Practised character training dataset 9,981 strokes from 1,071 practised characters Included in MCD training
Novel character test dataset 2,040 strokes from 665 novel characters Used only for OOD evaluation
Calibration dataset 3,577 strokes from other trials Used only to calculate classification threshold

P.S. We deliberately kept the calibration dataset of 3,577 strokes out of MCD training, so that the learned representation and the threshold calculation were estimated from different trajectories. This avoids calculating thresholds on examples whose representation has already been optimized.

Each stroke rr has TrT_r transitions on the whole trajectory. Therefore, we average its motif representations ϕ\phi on the trajectory to obtain a stroke embedding,

zr=1Tr∑t=1Trϕ(st,at).z_r=\frac{1}{T_r}\sum_{t=1}^{T_r}\phi(s_t,a_t).

For template construction, we average stroke representations zrz_r within each type cc to obtain its own type centroid

μc=1Rc∑r=1Rczr.\mu_c=\frac{1}{R_c}\sum_{r=1}^{R_c}z_r.

For each test stroke kk, we calculate the similarity between zkz_k and μc\mu_c:

similarity⁡(zk,μc)=11+dcos⁡(zk,μc),wheredcos⁡(zk,μc)=1−zk⋅μc∥zk∥∥μc∥\operatorname{similarity}(z_k, \mu_c)=\frac{1}{1+d_{\cos}(z_k, \mu_c)},\quad\text{where}\quad d_{\cos}(z_k,\mu_c)=1-\frac{z_k\cdot\mu_c}{\lVert z_k\rVert\lVert\mu_c\rVert}

Each test stroke is assigned to its nearest template

c^k=arg⁡max⁡c[similarity⁡(zk,μc)]=arg⁡min⁡c[dcos⁡(zk,μc)]\hat c_k=\arg\max_c [\operatorname{similarity}(z_k, \mu_c)] = \arg\min_c [d_{\cos}(z_k,\mu_c)]

Following the matching logic of Tian et al., we calculate the lower cutoff of similarity for each template. After removing extremely low-similarity outliers, the cutoff is determined as the 2.5th percentile of the similarity of the calibration strokes assigned to this type. This lower similarity cutoff is equivalent in direction to the original paper’s upper 97.5th-percentile distance cutoff. In the test dataset, each stroke is assigned to its nearest template and considered high quality if it exceeded that template's cutoff. We report the proportion of high-quality strokes (HQ) to measure how many strokes are close enough to at least one isolated primitive.

The results are below (95% bootstrap intervals in the parentheses). We also follow the paper's stricter definition to create a smaller aggregated Diego/Pancho shared character subset. The results show that MCD approaches the performance of the original DTW method and substantially exceeds the random baseline. Therefore, MCD preserves reusable motifs and transfers them to unseen compositions.

Method Whole test set HQ Shared character subset HQ
Original DTW 85.0% (83.5%–86.6%) 90.3% (87.0%–93.2%)
MCD 80.1% (78.3%–81.8%) 88.3% (84.9%–91.5%)
Untrained MCD 64.4% (62.5%–66.4%) 70.8% (65.9%–75.6%)
Reviewer GMkx · CommentOpenReview ↗

rebuttal acknowledgement and evaluation

I thank the authors for their detailed response.

The temporal-discretization analysis addresses my robustness concern with clear, quantitative evidence, and the additional experiment on the Tian et al. dataset goes well beyond what was requested, offering a genuinely useful test of out-of-distribution compositional generalization. I'm inclined to revise my score modestly upward in light of this effort.

That said, the paper's central claim, that the discovered motifs constitute interpretable, reusable, and disentangled units of behavior, still lacks quantitative validation against known primitives. The authors reasonably point out that ground-truth primitives are unavailable in the real-animal datasets. I'd gently push back that this may not fully explain the absence of a controlled synthetic validation, which seems within reach given the tools already developed in the paper. The paper already includes two fully synthetic environments (the gridworld and Lunar Lander) where the authors control the generative process and could define known ground-truth primitives, then test whether MCD's learned motif subspace recovers them using the linear-CKA metric they themselves propose. Currently, I view the compositional and robustness properties of the method as reasonably well supported, while the disentanglement claim remains more qualitative than demonstrated.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…