- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 2
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.
-
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.
-
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.
-
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.
-
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.
-
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.
Paper formatting concerns
None. I did not notice any major formatting, anonymity, or submission guideline issues.
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.
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′), Q(s,a,t)=∑iϕi(s,a)ui(t),π(a∣s,t)∝exp(∑iϕi(s,a)ui(t)). A motif ϕi(s,a) is therefore a component of the state-action transition representation, while μi(s′) describes the corresponding next-state structure. The coefficient ui(t) determines the component’s contribution to the value function and the policy at time t.
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): 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:
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:
Conceptually, the two stages play complementary roles:
More specifically, in the continuous model, Eq. 8 learns ψ(s,a) and ν(s′) from transitions (s,a,s′). Equation 9 then learns f and u(t), with ϕ(s,a)=f(ψ(s,a)), to model the observed action policy. Their connection through
Q(s,a,t)=ϕ(s,a)⊤u(t)
makes the representation reusable and compositionally interpretable: ϕ provides shared transition-grounded features, while 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) 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.