betaFeedback

WorksComputer Science

MICE: Multi-animal Interaction Context Encoder - A Hierarchical Foundation Model for Mouse Behavior

Abstract

Quantifying mouse behavior from pose is a foundational tool in neuroscience, ethology, drug discovery, and animal welfare. Self-supervised foundation models are a natural fit, but a foundation model for mouse behavior must handle social behavior - many behaviors that matter (aggression, courtship, mounting, allogrooming) are inherently multi-animal. Existing self-supervised pose models fall short: they encode each animal independently and discard interaction signal, hard-code the animal count, and pretrain one dataset at a time. We introduce MICE (Multi-animal Interaction Context Encoder), a hierarchical foundation model for mouse behavior that pretrains jointly on six mouse-pose corpora spanning one to four mice and 7 to 27 keypoints. MICE combines a hierarchical individual encoder capturing per-mouse kinematics at multiple temporal scales with a Perceiver-style social encoder whose learned latent codebook decouples parameter count from animal count, so a single checkpoint serves any group size without retraining. Across four evaluation protocols spanning six datasets, MICE matches or exceeds prior keypoint-based baselines, and layer-wise probing shows the social stage incrementally improves discriminability beyond the individual encoder. Code, weights, and data are available at https://github.com/eric0708/MICE.

Introduction

Automated quantification of mouse behavior from video is increasingly central to neuroscience, ethology, drug discovery, and animal welfare [1, 5, 17], with pose-estimation toolkits [14, 18, 21] now producing keypoint trajectories at scale. The bottleneck has shifted from tracking to interpretation: turning (x,y)(x, y) keypoint sequences into ethologically meaningful annotations. Self-supervised foundation models are a natural way to bridge this gap, but a foundation model for mouse behavior must handle more than per-animal kinematics — many of the most important behaviors (aggression, courtship, mounting, allogrooming) are intrinsically social. Existing self-supervised pose models [24, 3, 22] were not designed to scale into a foundation-model regime, for three reasons. (1) Pooling destroys interaction structure [3, 19]: per-animal representations collapsed via mean- or max-pooling lose the relational signal defining dyadic behaviors. (2) Fixed-ordering or fixed-NN inputs [24, 22]: concatenating multi-animal keypoints hard-codes both the animal count NN and the ordering at training time. (3) Skeletal heterogeneity: different labs annotate different keypoint sets, so a model trained on one skeleton cannot accept input from another without explicit alignment.

We introduce MICE (Multi-animal Interaction Context Encoder), a hierarchical self-supervised foundation model for mouse behavior that pretrains jointly across heterogeneous mouse-pose datasets with variable animal counts. The architecture makes no mouse-specific assumptions and extends to other tracked species; we focus on mice because they are the dominant model organism in neuroscience and the only species with the public keypoint datasets and ethologically-validated labels needed for rigorous evaluation. Our contributions are: (i) a mouse-behavior foundation model pretrained jointly across six corpora — four published datasets [25, 23, 4, 20] and two codenamed mouse tracks from the MABe 2025 challenge [27] (AdaptableSnail, NiftyGoldfinch) — aligned through a universal 12-keypoint vocabulary, a regime no prior keypoint-based behavior model has demonstrated; (ii) a hierarchical individual encoder with widening attention windows, capturing per-mouse kinematics at multiple temporal scales; (iii) a Perceiver-style social encoder that processes an arbitrary number of mice through a learned latent codebook, letting a single checkpoint serve any group size without retraining; and (iv) a comprehensive evaluation across all six datasets and four evaluation protocols, where MICE matches or exceeds prior keypoint-based baselines, with layer-wise probing showing that the social stage incrementally improves discriminability beyond the individual encoder, plus controlled tests of what the social stage contributes (§4.6).

Related Work

Pose-based behavior analysis. Classical pipelines hand-engineer features (velocity, distance, angles) for Random Forests or HMMs [9, 7]. Deep approaches [16, 21] learn from keypoints with supervised CNNs/RNNs but require large labeled corpora.

Self-supervised pose representation. BAMS [3] predicts a histogram of binned action features (HoA) from a dual-branch dilated TCN, the closest precursor to our individual-stage objective. TBERT [25] applies BERT-style masked modeling to keypoints; hBehave-MAE [22] introduces a hierarchical masked autoencoder over (time×mice×feature) tensors but fixes both the skeleton and the animal count; PointNet [19] treats keypoints as an unordered point cloud. Unlike these, MICE’s two-stage approach explicitly separates intra-animal kinematics from inter-animal interaction.

Video foundation models for mouse behavior. A parallel line of work pursues behavioral foundation models from raw video. BEAST [28] uses masked autoencoding plus temporal contrastive learning; Sun et al. [ [26] apply VideoPrism [31] to mouse behavior datasets; generative video models have also been used to relate neural dynamics to behavior [29]. Video preserves appearance but is lab-specific (lighting, camera, arena), while keypoints abstract these confounds and are far cheaper at training and inference. MICE focuses on the keypoint regime, where this abstraction enables transfer across labs with different recording conditions.

Social interaction modeling and foundation models for behavior. Existing social models hard-code animal count NN [6, 25] or rely on O(N2)O(N^2) GNN attention [10]. The Perceiver [8] and Set Transformer [12] use learned latent queries to handle variable-length input; MICE is, to our knowledge, the first application of Perceiver-style bottlenecks to multi-animal social behavior. Foundation models exist for DNA [15], proteins [13], and brain activity [2]. MABe22 [25] and MABe 2025 [27] introduced benchmarks with baselines evaluated on their own datasets but not across labs. MICE is the first behavior foundation model to pretrain jointly across multiple mouse-pose datasets with variable group sizes.

Method

MICE has two stages (Figure 1): an individual encoder processes each mouse independently for per-animal kinematic representations at multiple temporal scales, and a social encoder operates on these to model inter-animal interactions. Each stage is pretrained with self-supervision matched to its structure — kinematics and dyadic relations respectively. We describe the universal keypoint vocabulary (§3.1), then each stage (§3.2, §3.3).

Figure 1. The MICE architecture. Stage 1 (left, individual encoder): a per-animal pose sequence is tokenized by a patching layer, then processed through three ALBERT-style transformer stages of increasing attention scope (local, medium, global) with weights shared within each stage. Per-stage outputs are concatenated and supervised by three losses: a long-scale Histogram-of-Activities (HoA) loss on Stage 3’s output, a short/mid-scale HoA loss on the concatenated output, and a span-masked keypoint reconstruction loss. Stage 2 (right, social encoder): the frozen individual encoder is applied per mouse; per-animal embeddings are fused with raw keypoints and passed to a Perceiver with a learned latent codebook. The latents cross-attend over animals (encode), refine across time (process), and are read back to each animal (decode), producing per-animal social embeddings. Animal pairs are formed by an order-invariant projection and supervised by pairwise HoA and pairwise distance losses.

Universal Mouse-Keypoint Space

Joint pretraining across multiple datasets requires a shared input vocabulary, but different labs annotate different keypoint sets. We define a universal mouse-pose vocabulary of Kmax⁡=12K_{\max}=12 keypoints following the MABe22 layout (nose, left/right ear, neck, left/right forepaw, center back, left/right hindpaw, tail base, tail middle, tail tip). Each dataset’s native skeleton is mapped to this space by named-synonym matching, with missing keypoints zero-padded and masked from any feature that depends on them. Zero-padding is benign: keypoints have anatomical correspondence across labs, and the per-animal flat dimension Kmax⁡⋅2=24K_{\max}\cdot2=24 is small enough that even CalMS21’s 7-keypoint skeleton loses no more than half its slots to padding. This mapping is used only for combined pretraining; single-dataset models use each dataset’s native keypoints.

Variable-NN handling. The animal count is qualitatively different from keypoint count. Mouse anatomy bounds Kmax⁡=12K_{\max}=12, but Nmax⁡N_{\max} has no such ceiling: group living, colony recordings, or cross-species extensions can push it beyond the dyadic regime, and a model trained at Nmax⁡=4N_{\max}=4 cannot run on N=6N=6 without retraining. MICE’s Perceiver social encoder (§3.3) cross-attends over whichever animals are present, so a single checkpoint runs on any NN. Fixed-input baselines (TBERT [25], BehaveMAE [22]) commit to Nmax⁡N_{\max} at training time; pooling-based baselines (BAMS [3], PointNet [19]) handle variable NN but lose interaction signal.

Individual Encoder: Hierarchical Transformer

The individual encoder produces per-mouse kinematic representations (Figure 1, left). It takes a per-animal pose sequence (TT frames of K=12K=12 keypoints in 2D) and returns a per-token feature vector at multiple temporal scales. Self-attention is bidirectional throughout (adapted from ALBERT [11]); behavior analysis is post-hoc, so each token attends to past and future frames within its window.

Hierarchical design with continuous window schedule. Mouse behavior unfolds at very different temporal scales: a paw step lasts tens of milliseconds, a sniff bout about a second, an attack episode several seconds. Prior designs commit to a small set of scales (hBehaveMAE [22] uses discrete pooling levels; BAMS [3] uses a short- and long-term branch). Our design instead lets the attention scope grow continuously with depth (readout and supervision still use a few scales, Eqs. (2)–(3)): across the 12 transformer layers (i∈{0,…,11}i \in\{0,\ldots,11\}), the attention window ω(i)\omega(i) grows linearly,

ω(i)=⌊ωshort+i11(ωlong−ωshort)⌉,(1)\omega(i) = \left\lfloor\omega_{\mathrm{short}} + \frac{i}{11}\left(\omega_{\mathrm{long}}-\omega_{\mathrm{short}}\right) \right\rceil, \tag*{(1)}

with ωshort=3\omega_{\mathrm{short}}=3 and ωlong=T\omega_{\mathrm{long}}=T tokens, then rounded to the nearest odd integer so windows are symmetric around each query token. The full set of layers covers a continuum from short to long-range.

Stage organization. The 12 layers are grouped into three stages of 4, indexed g∈{1,2,3}g \in\{1,2,3\}, for two reasons. First, it enables ALBERT-style weight sharing [11]: layers within a stage share parameters, striking a middle ground between full sharing (one block handling every scale) and 12 independent layers (quadrupling the parameter count). Second, the stages define readout points from which we extract one feature map per stage and concatenate them (Figure 1, “concat”):

Hind=concat⁡[h(1),h(2),h(3)]∈RT×96,Dind=3D=96,(2)\mathbf{H}_{\mathrm{ind}} = \operatorname{concat}\left[\mathbf{h}^{(1)},\mathbf{h}^{(2)},\mathbf{h}^{(3)}\right] \in\mathbb{R}^{T \times96}, \qquad D_{\mathrm{ind}} = 3D = 96, \tag*{(2)}

where h(g)∈RT×D\mathbf{h}^{(g)} \in\mathbb{R}^{T \times D} is stage gg’s last-layer output and D=32D=32. Three readouts are the minimum that gives a short/mid/long-range summary — a single readout would force one representation to capture every scale, while per-layer probing would inflate the downstream parameter cost.

Self-supervised objectives. The encoder is pretrained with three losses. Two are Histogram-of-Activities (HoA) prediction losses, inspired by BAMS [3]: per-token histograms of a kinematic feature vector are predicted at two readout heads, yielding a short/mid-scale loss LHoAshort/mid\mathcal{L}_{\mathrm{HoA}}^{\mathrm{short/mid}} on Hind\mathbf{H}_{\mathrm{ind}} and a long-scale loss LHoAlong\mathcal{L}_{\mathrm{HoA}}^{\mathrm{long}} on h(3)\mathbf{h}^{(3)} alone. The third is span-masked keypoint reconstruction Lrecon\mathcal{L}_{\mathrm{recon}} on Hind\mathbf{H}_{\mathrm{ind}}, anchoring the encoder to raw (x,y)(x,y) positions that HoA alone could leave unconstrained. The total objective combines all three:

Lind=LHoAshort/mid+LHoAlong+Lrecon,(3)\mathcal{L}_{\mathrm{ind}} = \mathcal{L}_{\mathrm{HoA}}^{\mathrm{short/mid}} + \mathcal{L}_{\mathrm{HoA}}^{\mathrm{long}} + \mathcal{L}_{\mathrm{recon}}, \tag*{(3)}

where each LHoA\mathcal{L}_{\mathrm{HoA}} is a per-token KL divergence between predicted and target histograms and Lrecon\mathcal{L}_{\mathrm{recon}} is the per-token MSE. Loss equations and target-window sizes are in Appendix § 8, and feature definitions in Appendix § 10.

Social Encoder: Perceiver-based Model

The social encoder operates on top of the per-animal representations from §3.2 and produces an interaction-aware embedding for each mouse (Figure 1, right). It runs on multi-animal pose with NN animals across TT frames.

Why a Perceiver. Two requirements shape the design: handle a variable number of mice NN so a single trained model serves datasets with different group sizes, and preserve per-animal identity (pooling all animals into one vector would lose relational structure). A natural design satisfying both is direct NN-to-NN cross-attention between animals, but its outputs are still built on animal representations — the architecture cannot learn codes that specialize to relationships between animals (chasing, face-to-face confrontation, parallel locomotion). We instead use a Perceiver Jaegle et al. [ [8]: a small set of learned latent codes (M=16M=16 slots, the orange row in Figure 1) reads from the NN animals, gets refined over time, and is passed back to each animal. Each latent is free to specialize to a behavioral motif, and at decode time each animal looks up which motifs it participates in.

Inputs. The frozen individual encoder is applied per mouse, yielding hidden representations Hind(n)∈RT×96\mathbf{H}_{\mathrm{ind}}^{(n)} \in\mathbb{R}^{T \times96}. A linear projection (Figure 1, “Linear projection”) fuses each per-animal representation with raw keypoints into a per-token embedding Zn,t∈R96\mathbf{Z}_{n,t} \in\mathbb{R}^{96}. During pretraining, contiguous temporal spans of Z\mathbf{Z} are replaced with a mask token. Details in Appendix § 9.

Encode–process–decode. The Perceiver applies three operations per timestep (Figure 1, green block). The learned latent codebook L0∈RM×96L_0 \in\mathbb{R}^{M \times96} has M=16M=16 slots; Z:,tZ_{:,t} stacks the NN animal embeddings at timestep tt. Using multi-head cross-attention CrossAttn(Q, K, V), latent self-attention SelfAttn (within a timestep), temporal self-attention TempAttn (across TT time tokens, per latent slot), and layer normalization LayerNorm:

Encode:Lt′=LayerNorm⁡(L0+CrossAttn⁡(Q=L0,K=V=Z:,t)),(4)\textbf{Encode:}\quad L'_t = \operatorname{LayerNorm}\left(L_0 + \operatorname{CrossAttn}(\mathbf{Q}=L_0,\mathbf{K}=\mathbf{V}=Z_{:,t})\right), \tag*{(4)}
Process:Lt′′=TempAttn⁡(SelfAttn⁡(Lt′)),(5)\textbf{Process:}\quad L''_t = \operatorname{TempAttn}\left(\operatorname{SelfAttn}(L'_t)\right), \tag*{(5)}
Decode:On,t=LayerNorm⁡(Zn,t+CrossAttn⁡(Q=Zn,t,K=V=Lt′′)).(6)\textbf{Decode:}\quad O_{n,t} = \operatorname{LayerNorm}\left(Z_{n,t} + \operatorname{CrossAttn}(\mathbf{Q}=Z_{n,t},\mathbf{K}=\mathbf{V}=L''_t)\right). \tag*{(6)}

Encode reads animal information into the latents; Process refines them within timestep then across time; Decode reads the refined latents back to each animal. On,t∈R96O_{n,t} \in\mathbb{R}^{96} is the per-animal, per-timestep social embedding.

Pairwise projection. Since social self-supervision is defined over pairs, we project each animal pair’s social embeddings into a single representation. For each unordered pair (i,j)(i,j) with both animals valid at timestep tt (Figure 1, dashed pink box):

pij,t=Linear⁡([Oi,t+Oj,t; Oi,t⊙Oj,t])∈R96,(7)p_{ij,t} = \operatorname{Linear}\left([O_{i,t}+O_{j,t};\ O_{i,t}\odot O_{j,t}]\right) \in\mathbb{R}^{96}, \tag*{(7)}

where Linear⁡:R192→R96\operatorname{Linear}:\mathbb{R}^{192}\to\mathbb{R}^{96} applies to the concatenation of the elementwise sum and Hadamard product. Both operations are swap-invariant, so pij,t=pji,tp_{ij,t}=p_{ji,t} by construction; we choose order-invariance because directionality (“ii chases jj” vs. “jj chases ii”) is recoverable from OiO_i and OjO_j, while our pretraining targets are largely symmetric in (i,j)(i,j).

Self-supervised objectives. The social encoder is pretrained with two pairwise losses. The primary loss is pairwise HoA prediction — the dyadic analog of the individual HoA loss — predicting histograms of a pairwise feature vector capturing velocity differences, heading geometry, and other dyadic kinematics (Appendix § 10). The auxiliary loss is pairwise distance regression on the 13 per-keypoint and centroid distances, anchoring the pair representation to physical proximity. Because input spans are masked during pretraining, it also acts as a masked reconstruction of inter-animal distances; it targets relative positions because the frozen individual encoder already captures absolute ones. The objective is

Lsoc=LHoA-pair+Ldist,(8)\mathcal{L}_{\mathrm{soc}} = \mathcal{L}_{\mathrm{HoA\text{-}pair}} + \mathcal{L}_{\mathrm{dist}}, \tag*{(8)}

where LHoA-pair\mathcal{L}_{\mathrm{HoA\text{-}pair}} is a per-pair-timestep KL between predicted and target histograms and Ldist\mathcal{L}_{\mathrm{dist}} is per-pair-timestep MSE. Loss equations and validity-mask definition are in Appendix § 9.

Experiments

We evaluate MICE under four protocols on six mouse-pose datasets: linear probing (§4.1), unsupervised behavioral segmentation (§4.2), cross-dataset transfer (§4.3), and few-shot label efficiency (§4.4), supplemented by layer-wise probing (§4.5), a social-stage ablation (§4.6), and leave-one-dataset-out transfer (§4.7). Variable-NN and embedding-variant ablations appear in Appendix § 16.

Datasets. The six datasets span N∈{1,2,3,4}N\in\{1,2,3,4\} mice and 7–27 native keypoints, all mapped to the universal 12-keypoint vocabulary (§3.1): MABe22 [25], CalMS21 [23], CRIM13 [4], MouseLockbox [20], AdaptableSnail, and NiftyGoldfinch (the last two are codenamed mouse tracks from MABe 2025 [27]). Per-dataset details are in Appendix § 11.

Protocol. We pretrain MICE on all six datasets jointly, then evaluate frozen embeddings via linear probing per-dataset (an MLP on frozen features); for comparison we also report single-dataset pretraining. The headline MICE configuration is ind+soc_cat; other pooling combinations appear as ablations in Table 1 and Table 12. Probe details are in Appendix § 12.

Table 1: Linear-probing macro-F1 (%) across the six datasets under two pretraining regimes: single (pretrain and probe on the same dataset) and combined (joint pretrain on all six, probe per dataset). Mean ±\pm standard deviation over 5 random seeds. Within each regime, bold = best method and <u>underline</u> = best baseline; ⋆ and † additionally mark these under the single regime. “—”: social variants do not apply to single-animal MouseLockbox. AdaptSnail = AdaptableSnail; Goldfinch = NiftyGoldfinch; Lockbox = MouseLockbox.

ModelRegimeMABe22CalMS21CRIM13AdaptSnailGoldfinchLockbox
PointNet [19]single36.54±\pm0.762.24±\pm0.521.48±\pm0.77.91±\pm0.521.73±\pm0.613.73±\pm0.4
combined40.75±\pm0.665.93±\pm0.426.49±\pm0.619.59±\pm0.619.61±\pm0.513.42±\pm0.4
TBERT [25]single20.18±\pm0.842.23±\pm0.719.01±\pm0.711.12†±\pm0.613.69±\pm0.614.20±\pm0.4
combined25.45±\pm0.756.40±\pm0.523.35±\pm0.613.72±\pm0.512.59±\pm0.513.55±\pm0.4
BAMS [3]single43.90†±\pm0.674.98±\pm0.441.41†±\pm0.78.95±\pm0.514.86±\pm0.613.30±\pm0.4
combined46.17±\pm0.559.08±\pm0.529.65±\pm0.618.67±\pm0.617.39±\pm0.512.92±\pm0.4
hBehaveMAE [22]single42.72±\pm0.676.05†±\pm0.438.30±\pm0.79.03±\pm0.526.02†±\pm0.614.58†±\pm0.4
combined47.82±\pm0.577.68±\pm0.340.35±\pm0.612.13±\pm0.529.21±\pm0.513.21±\pm0.3
Progressive (ours, ablation)single53.93±\pm0.654.93±\pm0.618.71±\pm0.814.17±\pm0.69.50±\pm0.515.78±\pm0.4
combined61.87±\pm0.466.97±\pm0.427.98±\pm0.623.63±\pm0.613.54±\pm0.513.54±\pm0.4
Multiscale (ours, ablation)single52.28±\pm0.664.03±\pm0.524.54±\pm0.714.61±\pm0.617.43±\pm0.515.72±\pm0.4
combined63.68±\pm0.474.24±\pm0.431.40±\pm0.620.92±\pm0.615.39±\pm0.513.04±\pm0.4
MICE (ind_cat)single65.58±\pm0.579.76±\pm0.339.12±\pm0.620.91±\pm0.628.55±\pm0.515.93⋆±\pm0.4
combined67.85±\pm0.481.22±\pm0.344.71±\pm0.522.66±\pm0.529.12±\pm0.513.68±\pm0.4
MICE (soc_cat)single67.13±\pm0.579.34±\pm0.340.92±\pm0.521.34±\pm0.529.42±\pm0.5—
combined68.88±\pm0.481.86±\pm0.344.09±\pm0.525.15±\pm0.430.35±\pm0.6—
MICE (ind+soc_cat)single67.60⋆±\pm0.583.28⋆±\pm0.444.61⋆±\pm0.721.93⋆±\pm1.031.08⋆±\pm0.7—
combined69.26±\pm0.384.56±\pm0.346.38±\pm0.626.76±\pm0.831.90±\pm0.7—

Table 1.

Variantind_meanind_catsoc_meansoc_catind+soc_meanind+soc_cat
F1 (%)57.79±0.4281.22±0.2870.08±0.3681.86±0.2873.38±0.3484.56±0.31

Table 12. Embedding-variant comparison on CalMS21 (combined-regime macro-F1, %). Mean ± standard deviation over 5 random seeds. Channel: ind / soc / ind+soc = individual / social / both concatenated. Pooling: mean / cat = average / concatenation over TT. Bold = best.

Baselines. We compare to four methods (BAMS [3], PointNet [19], TBERT [25], hBehaveMAE [22]) and two MICE ablations: Progressive (individual encoder with fixed-Nmax⁡N_{\max} padding) isolates the variable-NN contribution; Multiscale (multi-resolution supervision without widening attention windows) isolates the widening-window design. All methods share the universal keypoint mapping and identical downstream probes. MICE is the smallest competitive model (583K encoder parameters, about 7×7\times fewer than hBehaveMAE; Table 21). Implementation details in Appendix § 14.

ModelParametersvs. MICE
PointNet28K0.05×
MICE583K1×
Multiscale (ours, ablation)620K1.06×
Progressive (ours, ablation)687K1.18×
TBERT2.132M3.66×
BAMS2.240M3.84×
hBehaveMAE4.061M6.96×

Table 21. Encoder parameters used at inference (training-only heads excluded). MICE: 159,712 individual + 423,552 social = 583,264; with training-only heads, 772,053.

Linear-Probe Behavior Classification

Table 1 reports macro-F1 under two pretraining regimes: single (pretrain and probe on the same dataset) and combined (joint pretrain on all six). Three findings stand out.

MICE matches or exceeds the strongest baseline on every dataset under both regimes. The largest gaps appear on the datasets with the most mice per recording — MABe22 (N=3N=3) and AdaptableSnail (N∈{3,4}N \in\{3,4\}) — where variable-NN handling and joint social/individual modeling matter most. Fixed-ordering baselines such as hBehaveMAE trail MICE by a wider margin on these multi-animal datasets than on dyadic ones, supporting the variable-NN argument in §3.1. Appendices J.6 and J.7 compare MICE with a vanilla transformer and with a supervised reference.

The social stage adds consistent value on multi-animal datasets. MICE (ind_cat) vs. MICE (ind+soc_cat) isolates the social encoder’s contribution, positive on every multi-animal dataset under combined pretraining. The Progressive ablation, which stacks all NN animals into a single fixed-size input, lags MICE (ind_cat) on most multi-animal datasets, showing that handling each mouse separately matters.

Combined pretraining helps on most datasets. On the five datasets with shared multi-animal structure (MABe22, CalMS21, CRIM13, AdaptableSnail, NiftyGoldfinch), combined pretraining matches or exceeds single-dataset pretraining for all MICE variants — direct evidence for the foundation-model framing. On MouseLockbox it slightly hurts (single-animal-only structure limits transfer). Combined-regime MICE remains the best method under combined pretraining.

Unsupervised Behavioral Segmentation

We test whether frozen embeddings recover behavior without labels by clustering them with KK-means and scoring the segmentation against frame-level annotations. Per-window embeddings are partitioned into K=50K=50 clusters; consecutive frames sharing a cluster are grouped into segments and mapped to ground-truth classes by majority vote. Table 2 reports ARI, NMI, and Boundary-F1 across the four datasets with frame-level labels. MICE leads ARI and NMI by sizable margins (∼10\sim10 and ∼8\sim8 points over the strongest baseline) and matches hBehaveMAE on Boundary-F1; the three clustering metrics confirm MICE’s embeddings align with behavior categories best among all methods. Protocol details, per-dataset results, and a comparison with Keypoint-MoSeq [30] are in Appendix § 13.

Cross-Dataset Transfer

Using the six single-dataset MICE checkpoints from § 4.1, we linear-probe each on every dataset. As expected, the diagonal is best within each column among single-dataset checkpoints. Table 3 reports the transfer matrix; the bottom row reproduces the combined-pretraining result. Two patterns emerge.

Combined pretraining matches or exceeds single-dataset pretraining on five of six targets — direct evidence that joint pretraining transfers positive information across datasets. The exception is MouseLockbox, where combined pretraining trails by 2.3 points; we attribute this to label heterogeneity, since MouseLockbox’s fine-grained puzzle-box behaviors differ from the social and locomotor labels dominating the other five datasets.

Single-animal pretraining transfers poorly to multi-animal targets. The MouseLockbox row produces the lowest off-diagonal scores on MABe22 and NiftyGoldfinch, matching the variable-NN argument from § 3.1: a model never exposed to multi-animal interaction during pretraining cannot encode the social context downstream probes need. Appendix § 17.§ 5 gives the same matrices for hBehaveMAE and PointNet.

Few-Shot Label Efficiency

We evaluate label efficiency on CalMS21 and CRIM13, two established mouse social-behavior benchmarks covering complementary difficulty regimes (CalMS21 moderately balanced; CRIM13 heavily imbalanced). We sweep the labeled training fraction across {1, 5, 10, 25, 50, 100}% and retrain only the MLP probe with the encoder frozen.

MICE leads on both datasets at every label fraction (Figure 3), and its margin over hBehaveMAE is largest at low fractions. With only 1% of CalMS21 labels, MICE already matches BAMS’s and exceeds TBERT’s full-label performance, and substantially outperforms hBehaveMAE, whose representations degrade sharply when labels are scarce. With 5% labels, MICE on CalMS21 nearly matches PointNet’s full-label performance. A similar pattern holds on the harder CRIM13.

Figure 3. Label efficiency on CalMS21 (left) and CRIM13 (right). Each method’s frozen encoder feeds the same downstream MLP probe, retrained at six labeled-data fractions (log xx-axis). Each curve is the mean macro-F1 over 5 random seeds on the official test split; standard deviations are within ±1.5% at every fraction (largest at the 1% point, where training-set variance dominates) and are omitted from the plot for visual clarity. MICE leads at every label fraction; the gap over hBehaveMAE is largest at the lowest fractions.

Layer-wise Probing Analysis

To localize where discriminative information emerges, we extract embeddings at every intermediate layer with forward hooks and train an MLP probe per layer (encoder frozen). For MICE, this gives

16 probe points: 12 in the individual encoder and 4 in the social encoder. Probe-point details in Appendix § 15. Figure 4 shows three patterns.

Figure 4. Layer-wise linear-probe F1 on CalMS21 for three social behavior classes. xx-axis: probe depth as percentage of total encoder depth. Each curve is the mean over 5 random seeds; per-layer standard deviations are within ±1.0%\pm1.0\% across all methods and are omitted from the plot for visual clarity. For MICE, 0–75% is the individual encoder and 75–100% is the social encoder. BAMS (short)/(long) = BAMS’s two parallel branches; the long branch targets longer clips (Appendix § 14).

Baselines show no depth-wise organization of behavior. For TBERT, PointNet, and each of BAMS’s branches, early and late layers decode behavior about equally well, and no behavior shows up at a particular depth.

MICE’s individual encoder dips through Stage 3 on investigation and mount. F1 dips from Stage 1 to 3 before recovering; Progressive shows the same pattern. The likely cause is what each stage represents: early layers (short attention windows) emphasize positional information, while later layers (long attention windows) emphasize velocity and motion integrated over time. Investigation and mount are pose-configurational (nose-to-flank, vertical posture), aligning with early-layer positional features; attack is motion-defined (lunging, fast directional change), aligning with later-layer velocity features and climbing gradually with depth.

The social stage recovers MICE’s F1 sharply; Progressive, lacking it, does not. Starting at 75% depth, MICE’s F1 climbs steeply on investigation and mount, peaking near the final layer. Progressive dips at the same point but only partially recovers, ending well below MICE. This gap at 100% is the empirical contribution of the Perceiver social encoder, enabled by combining each mouse’s kinematic embedding (kept via a residual connection) with context about nearby animals.

Social-Stage Ablation and Analysis

To test whether the social stage’s gain comes from modeling the other animals rather than from capacity, keypoint fusion, the residual path, or the pairwise objective, we retrain it with partners removed or mis-paired (real mice from other clips), keeping every parameter and loss, and probe each model under its training condition (Table 4). Two findings stand out.

Partners (train and probe)MABe22CalMS21CRIM13AdaptSnailGoldfinch
correct (default)69.26±0.34\mathbf{69.26\pm0.34}84.56±0.31\mathbf{84.56\pm0.31}46.38±0.55\mathbf{46.38\pm0.55}26.76±0.78\mathbf{26.76\pm0.78}31.90±0.72\mathbf{31.90\pm0.72}
mis-paired (shuffled)67.31±0.5467.31\pm0.5481.19±0.4881.19\pm0.4844.17±0.7144.17\pm0.7122.79±0.8622.79\pm0.8629.33±0.9129.33\pm0.91
removed66.92±0.5066.92\pm0.5081.00±0.5481.00\pm0.5444.08±0.6644.08\pm0.6621.83±0.9221.83\pm0.9229.02±0.8329.02\pm0.83
ind_cat only67.85±0.4267.85\pm0.4281.22±0.2881.22\pm0.2844.71±0.4744.71\pm0.4722.66±0.5322.66\pm0.5329.12±0.4829.12\pm0.48

Table 4. Train-time social ablation: macro-F1 (%) with the social stage retrained once per condition from one frozen individual encoder with correct, mis-paired, or removed partners, and probed likewise; mean ±\pm standard deviation over 5 random probe seeds. First and last rows: combined-regime MICE (ind+soc_cat, ind_cat) from Table 1. MouseLockbox (one mouse, no social stage) is omitted. Bold = best per column.

Without correct partner information, the social stage’s gain disappears. Both altered models fall back to about the level of the individual readout despite keeping the same capacity, keypoint fusion, and residual path; since mis-pairing keeps the pairwise objective non-trivial, extra supervision does not explain the gain either.

The social embedding encodes how the animals are arranged relative to each other. Linear probes show that it captures inter-animal distance and relative body orientation far better than the individual embedding, while adding nothing about the focal mouse’s own movement (Appendix § 17.§ 3): the social stage contributes relational information that per-animal kinematics cannot express. Direct animal-to-animal attention scores slightly lower on every dataset (Appendix § 17.§ 1) and, unlike the latents, scales with NN.

Leave-One-Dataset-Out Transfer

We pretrain MICE on five datasets and probe it on the unseen sixth (Table 5). Two patterns emerge.

PretrainingMABe22CalMS21CRIM13AdaptSnailGoldfinchLockbox
all six datasets69.26±0.3469.26 \pm0.3484.56±0.3184.56 \pm0.3146.38±0.5546.38 \pm0.5526.76±0.7826.76 \pm0.7831.90±0.7231.90 \pm0.7213.68±0.3713.68 \pm0.37
target left out (unseen)64.28±0.5264.28 \pm0.5284.05±0.3884.05 \pm0.3843.97±0.7243.97 \pm0.7220.45±0.6920.45 \pm0.6928.33±0.8228.33 \pm0.8212.92±0.5312.92 \pm0.53
target dataset only67.60±0.4567.60 \pm0.4583.28±0.3983.28 \pm0.3944.61±0.7244.61 \pm0.7221.93±1.0421.93 \pm1.0431.08±0.7431.08 \pm0.7415.93±0.4315.93 \pm0.43

Table 5. Leave-one-dataset-out transfer: macro-F1 (%) when pretraining on all six datasets, the other five, or the target alone; mean ± standard deviation over 5 random probe seeds. Rows 1 and 3: combined and single-dataset MICE (Table 3); MouseLockbox uses ind_cat. Bold = best per column.

Pretrain datasetMABe22CalMS21CRIM13AdaptSnailGoldfinchLockbox
MABe2267.60±0.4567.60 \pm0.4572.65±0.5172.65 \pm0.5138.45±0.7838.45 \pm0.7820.85±0.9420.85 \pm0.9419.34±0.7119.34 \pm0.7113.41±0.3613.41 \pm0.36
CalMS2158.74±0.6258.74 \pm0.6283.28±0.3983.28 \pm0.3938.34±0.8538.34 \pm0.8520.74±0.9720.74 \pm0.9726.59±0.8326.59 \pm0.8313.13±0.4113.13 \pm0.41
CRIM1353.18±0.7153.18 \pm0.7172.05±0.4872.05 \pm0.4844.61±0.7244.61 \pm0.7220.82±0.9620.82 \pm0.9624.90±0.8124.90 \pm0.8115.55±0.4215.55 \pm0.42
AdaptSnail62.45±0.6662.45 \pm0.6675.59±0.5275.59 \pm0.5227.64±0.8527.64 \pm0.8521.93±1.0421.93 \pm1.0422.17±0.7922.17 \pm0.7913.64±0.3913.64 \pm0.39
Goldfinch47.93±0.9447.93 \pm0.9473.98±0.5573.98 \pm0.5532.91±0.8732.91 \pm0.8719.77±0.9119.77 \pm0.9131.08±0.7431.08 \pm0.7415.39±0.4515.39 \pm0.45
Lockbox43.27±1.0843.27 \pm1.0874.25±0.5974.25 \pm0.5930.14±0.9230.14 \pm0.9220.75±0.8720.75 \pm0.8714.11±0.6214.11 \pm0.6215.93±0.4315.93 \pm0.43
Combined69.26±0.3469.26 \pm0.3484.56±0.3184.56 \pm0.3146.38±0.5546.38 \pm0.5526.76±0.7826.76 \pm0.7831.90±0.7231.90 \pm0.7213.68±0.3713.68 \pm0.37

Table 3. Cross-dataset transfer: macro-F1 (%) when MICE is pretrained on the row dataset and linear-probed on the column. Mean ± standard deviation over 5 random seeds. Diagonal cells correspond to single-regime MICE results in Table 1 and the bottom row to the combined-regime results; MouseLockbox uses ind_cat. Bold = best per column. AdaptSnail = AdaptableSnail; Goldfinch = NiftyGoldfinch; Lockbox = MouseLockbox.

MICE transfers to unseen datasets at a modest, dataset-dependent cost. Leaving out CalMS21 or MouseLockbox barely matters, whereas leaving out AdaptableSnail or MABe22 costs more: transfer works best when other datasets cover the target’s behaviors.

A model that never saw the target nearly matches one pretrained on it. Pretrained only on the other five datasets, MICE scores within 3.3 points of a model pretrained on the target alone, making a checkpoint pretrained on other datasets a reasonable starting point for a new dataset.

Discussion and Conclusion

Why does the social channel complement the individual channel? The individual and social pretraining objectives are non-overlapping (intra-animal kinematics vs. inter-animal pairwise quantities), so the two signals are not redundant: a fast-moving mouse next to another fast-moving mouse can be a chase or two parallel exploring mice, and only relative-heading disambiguates.

Limitations. (i) Synonym alignment is manually curated and must be extended by hand for new skeletons, though it needs no training data from a new lab. (ii) Datasets are mouse-only and filmed from above; extending to other species would require re-curating the universal vocabulary. Bottom-up and 3D data remain untested. (iii) The pretraining corpus, while spanning six datasets and N∈{1,2,3,4}N \in\{1, 2, 3, 4\}, remains small relative to vision/language foundation models; scaling-law studies are left for future work. The range N≤4N \le4 is limited by available labeled datasets. Hyperparameters were not tuned beyond one loss-weight sweep (Appendix § 17.§ 2). (iv) Behavior label sets are coarse; ethological subtleties below current annotation resolution will require new benchmarks.

Broader impact. MICE could reduce annotation cost in behavioral neuroscience, accelerating drug discovery and welfare assessment. Adaptation for industrial-livestock surveillance carries dual-use risk; we recommend practitioners assess use-case ethics before deployment.

Conclusion. MICE is a self-supervised foundation model for mouse social behavior combining a universal 12-keypoint vocabulary that aligns six heterogeneous datasets, a hierarchical individual encoder with linearly-widening attention windows, a Perceiver-based social encoder that natively handles variable animal counts, and pairwise pretraining objectives grounded in ethological features. Across the six datasets and four protocols, MICE achieves state-of-the-art results and combined multi-dataset pretraining matches or exceeds dataset-specific pretraining on most datasets — evidence that a single checkpoint can serve diverse mouse-behavior tasks without architectural change.

Acknowledgments and Disclosure of Funding

This material is based upon work supported by the National Science Foundation under Award No. IIS-2336055. Research reported in this publication was supported by the National Institute of Mental Health of the National Institutes of Health under award number RF1MH140429. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation. The content is solely the responsibility of the authors and does not necessarily represent the official views of the National Institutes of Health.

References

Individual Encoder: Implementation Details

This section provides reproduction-level details for the individual encoder described in §3.2.

Tokenization. The patching layer groups every w=3w=3 consecutive frames at stride s=1s=1 and projects each group via a single linear layer to a hidden state of dimension D=32D=32, producing TT tokens per input pose sequence.

Within-stage layer iteration. Denoting a single ALBERT block of stage gg as fgf_g and the input to layer ℓ\ell within stage gg as hℓ(g)\mathbf{h}^{(g)}_\ell, the layer iteration is

hℓ+1(g)=fg(hℓ(g);ω(i)),ℓ=0,1,…,Lg−1,\mathbf{h}^{(g)}_{\ell+1}=f_g\left(\mathbf{h}^{(g)}_\ell;\omega(i)\right),\qquad\ell=0,1,\ldots,L_g-1,

where ω(i)\omega(i) is the attention window size at the global layer index i=(g−1)⋅Lg+ℓi=(g-1)\cdot L_g+\ell. The input to stage g=1g=1 is the patched token sequence; the input to stage g>1g>1 is the output of the previous stage’s last layer. Within-stage weight sharing means fgf_g is the same block applied LgL_g times.

HoA losses. The encoder predicts a soft histogram of the 55-dim kinematic feature vector ϕt\phi_t (Appendix C) over BHoA=32B_{\mathrm{HoA}}=32 bins per feature. Predicting a soft histogram — rather than the features themselves — pushes the encoder toward short-window behavioral statistics rather than instantaneous values, closer to how ethologists characterize behavior. We apply HoA at two readout heads. The short/mid-scale head reads off the concatenated output Hind∈RT×96\mathbf{H}_{\mathrm{ind}}\in\mathbb{R}^{T\times96} with histogram targets computed over a 7-frame window centered on each token; this supervises representations from earlier-stage layers (small attention windows). The long-scale head reads off stage 3’s output h(3)∈RT×32\mathbf{h}^{(3)}\in\mathbb{R}^{T\times32} with histogram targets computed over the full sequence of TT frames; this supervises the long-range representation alone. With T={1,…,T}\mathcal{T}=\{1,\ldots,T\} indexing tokens, ppreds,ppredlp^s_{\mathrm{pred}},p^l_{\mathrm{pred}} the predicted histograms at the two readouts, and ptargets,ptargetlp^s_{\mathrm{target}},p^l_{\mathrm{target}} the corresponding 7-frame and TT-frame target histograms,

LHoAshort/mid=1∣T∣∑t∈T∑c=155KL⁡(ptargets(c,t) ∥ ppreds(c,t)).(9)\mathcal{L}^{\mathrm{short/mid}}_{\mathrm{HoA}}=\frac{1}{|\mathcal{T}|}\sum_{t\in\mathcal{T}}\sum_{c=1}^{55}\operatorname{KL}\left(p^s_{\mathrm{target}}(c,t)\,\|\,p^s_{\mathrm{pred}}(c,t)\right). \tag*{(9)}
LHoAlong=1∣T∣∑t∈T∑c=155KL⁡(ptargetl(c,t) ∥ ppredl(c,t)).(10)\mathcal{L}^{\mathrm{long}}_{\mathrm{HoA}}=\frac{1}{|\mathcal{T}|}\sum_{t\in\mathcal{T}}\sum_{c=1}^{55}\operatorname{KL}\left(p^l_{\mathrm{target}}(c,t)\,\|\,p^l_{\mathrm{pred}}(c,t)\right). \tag*{(10)}

Span-masked reconstruction loss. Contiguous frame spans of length sampled uniformly from [4,12][4,12] frames are masked in the input by zero-filling them in input keypoint space before patching. A linear layer then reads the predicted keypoint configuration x^t∈RK×2\hat{\mathbf{x}}_t\in\mathbb{R}^{K\times2} off Hind\mathbf{H}_{\mathrm{ind}} at each token’s center frame:

Lrecon=1∣T∣∑t∈T∥x^t−xt∥22,(11)\mathcal{L}_{\mathrm{recon}}=\frac{1}{|\mathcal{T}|}\sum_{t\in\mathcal{T}}\left\|\hat{\mathbf{x}}_t-\mathbf{x}_t\right\|_2^2, \tag*{(11)}

where xt\mathbf{x}_t is the ground-truth keypoint configuration. Span-masking (rather than per-frame masking) prevents the model from solving the task by linearly interpolating between adjacent unmasked frames: mouse motion is locally smooth at single-frame scales, but multi-frame spans cover direction changes that linear interpolation cannot recover.

Total objective. Lind=LHoAshort/mid+LHoAlong+Lrecon\mathcal{L}_{\mathrm{ind}}=\mathcal{L}^{\mathrm{short/mid}}_{\mathrm{HoA}}+\mathcal{L}^{\mathrm{long}}_{\mathrm{HoA}}+\mathcal{L}_{\mathrm{recon}}, computed at all token positions for denser supervision than masked-only objectives.

Social Encoder: Implementation Details

This section provides reproduction-level details for the social encoder described in §3.3.

Input projection. The frozen individual encoder produces per-animal hidden representations Hind(n)∈RT×Dind\mathbf{H}_{\mathrm{ind}}^{(n)} \in\mathbb{R}^{T \times D_{\mathrm{ind}}} for n=1,…,Nn = 1,\ldots,N. A linear projection fuses each per-animal embedding with the raw keypoints at the corresponding token-center frame:

Zn,t=Linear⁡([Hind(n)[t];xn,tc])∈Rdmodel,dmodel=Dind=96,\mathbf{Z}_{n,t} = \operatorname{Linear}\left(\left[\mathbf{H}_{\mathrm{ind}}^{(n)}[t];\mathbf{x}_{n,t_c}\right]\right) \in\mathbb{R}^{d_{\mathrm{model}}}, \qquad d_{\mathrm{model}} = D_{\mathrm{ind}} = 96,

where tct_c is the center frame of token tt (the middle of the w=3w=3-frame patching window) and [ ⋅ ; ⋅ ][\,\cdot\,;\,\cdot\,] denotes concatenation. The projection is a single linear layer RDind+2K→Rdmodel\mathbb{R}^{D_{\mathrm{ind}}+2K} \to\mathbb{R}^{d_{\mathrm{model}}} with no nonlinearity.

Process operation details. SelfAttn in (5) denotes Lsoc=2L_{\mathrm{soc}}=2 stacked self-attention layers applied to the latent codebook within each timestep; TempAttn applies temporal attention across the TT time tokens independently for each of the M=16M=16 latent slots.

Pairwise HoA loss. For each unordered pair (i,j)(i,j) at each timestep tt, the pairwise HoA head predicts a soft histogram of the 44-dim pairwise feature vector ψij(t)\boldsymbol{\psi}_{ij}(t) (defined in Appendix § 10; 44=3K+844=3K+8 for K=12K=12, comprising per-keypoint distance and velocity-difference components plus eight relational features) over BHoA=32B_{\mathrm{HoA}}=32 bins per feature. Let P\mathcal{P} denote the set of valid (pair, timestep) tuples, where validity requires both animals to have observed keypoints at tt:

LHoA-pair=1∣P∣∑(i,j,t)∈P∑c=144KL⁡(ptarget(c,i,j,t) ∥ ppred(c,i,j,t)),(12)\mathcal{L}_{\mathrm{HoA\text{-}pair}} = \frac{1}{|\mathcal{P}|} \sum_{(i,j,t)\in\mathcal{P}} \sum_{c=1}^{44} \operatorname{KL}\left(p_{\mathrm{target}}(c,i,j,t)\,\|\,p_{\mathrm{pred}}(c,i,j,t)\right), \tag*{(12)}

where ppred(c,i,j,t)p_{\mathrm{pred}}(c,i,j,t) is the predicted histogram for pair (i,j)(i,j) at timestep tt and feature channel cc, and ptarget(c,i,j,t)p_{\mathrm{target}}(c,i,j,t) is the target histogram computed from ψij\boldsymbol{\psi}_{ij} over a 7-frame window centered on tt.

Pairwise distance loss. The pairwise distance head reads off each pair representation pij,t\mathbf{p}_{ij,t} to predict the 13-dim distance vector d^ij(t)∈R13\hat{\mathbf{d}}_{ij}(t) \in\mathbb{R}^{13} comprising the 12 per-keypoint Euclidean distances between animal ii’s and animal jj’s corresponding keypoints, plus the centroid-to-centroid distance:

Ldist=1∣P∣∑(i,j,t)∈P∥d^ij(t)−dij(t)∥22,(13)\mathcal{L}_{\mathrm{dist}} = \frac{1}{|\mathcal{P}|} \sum_{(i,j,t)\in\mathcal{P}} \left\lVert\hat{\mathbf{d}}_{ij}(t)-\mathbf{d}_{ij}(t)\right\rVert_{2}^{2}, \tag*{(13)}

where dij(t)∈R13\mathbf{d}_{ij}(t) \in\mathbb{R}^{13} is the corresponding ground-truth distance vector computed directly from the keypoint coordinates.

Validity mask. The set P\mathcal{P} excludes (pair, timestep) tuples where either animal has no valid keypoints at timestep tt (e.g., out-of-frame or tracking failure). For datasets where validity is not annotated per-frame, all (pair, timestep) tuples are treated as valid. Sequences with no valid pair at any timestep are removed, so every pretraining batch contains valid pairs.

Total objective. Lsoc=LHoA-pair+Ldist\mathcal{L}_{\mathrm{soc}} = \mathcal{L}_{\mathrm{HoA\text{-}pair}} + \mathcal{L}_{\mathrm{dist}}, computed at all valid (pair, timestep) tuples. The two terms are weighted equally; we did not tune this weighting, and unit weighting keeps the objective interpretable.

Self-Supervision Feature Definitions

Individual-stage feature vector ϕt\boldsymbol{\phi}_t (55-dim). For each token tt, the kinematic feature vector consumed by the HoA loss comprises:

  • Per-keypoint velocity (2KK = 24 dims): xx- and yy-velocity for each of the K=12K=12 keypoints.

  • Per-keypoint centroid-relative position (2KK = 24 dims): the offset (xk−xctr,yk−yctr)(x_k-x_{\mathrm{ctr}}, y_k-y_{\mathrm{ctr}}) of each keypoint from the body centroid.

  • Body-length deviation (1 dim): current body length minus the sequence-mean body length.

  • Forepaw–ear distance (1 dim): a proxy for grooming, which involves the forepaws being brought near the head.

  • Heading direction (2 dims): (cos⁡ht,sin⁡ht)(\cos h_t,\sin h_t) where hth_t is the angle of the tail-base–to–nose vector.

  • Turn direction (2 dims): (cos⁡h˙t,sin⁡h˙t)(\cos\dot{h}_t,\sin\dot{h}_t) where h˙t\dot{h}_t is the angular velocity of the heading.

  • Tail extension (1 dim): a proxy for arousal, computed as the tail-base–to–tail-tip distance.

Total: 24+24+1+1+2+2+1=5524+24+1+1+2+2+1=55 dimensions. All features are normalized by sequence-mean body length for scale invariance. Histogram targets use BHoA=32B_{\mathrm{HoA}}=32 bins per feature, computed over a 7-frame sliding window for the short/mid-scale head and over the full sequence for the long-scale head (Appendix § 8).

Pairwise feature vector ψij(t)\psi_{ij}(t) (44-dim). For each unordered pair of valid animals (i,j)(i,j) at token tt:

  • Per-keypoint inter-animal distance (K=12K=12 dims): ∥xi(k)−xj(k)∥2/ℓˉ\lVert\mathbf{x}_i^{(k)}-\mathbf{x}_j^{(k)}\rVert_2/\bar{\ell} for each keypoint kk, normalized by the mean body length ℓˉ\bar{\ell}.

  • Per-keypoint velocity difference (2K=242K=24 dims): per-axis absolute velocity difference ∣vi,a(k)−vj,a(k)∣\lvert v_{i,a}^{(k)}-v_{j,a}^{(k)}\rvert for each keypoint kk and axis a∈{x,y}a\in\{x,y\}, body-length normalized.

  • Centroid-centroid distance (1 dim): ∥ci−cj∥2/ℓˉ\lVert c_i-c_j\rVert_2/\bar{\ell}.

  • Heading similarity (1 dim): (1+cos⁡(hj−hi))/2(1+\cos(h_j-h_i))/2, close to 1 when both animals face the same direction (parallel motion) and close to 0 when anti-parallel.

  • Heading orthogonality (1 dim): ∣sin⁡(hj−hi)∣\lvert\sin(h_j-h_i)\rvert, close to 1 when headings are perpendicular and close to 0 when collinear.

  • Face-to-face geometry score (1 dim): 0 when one animal’s nose points at the other’s tail (chasing); 1 when noses point at each other (face-to-face confrontation).

  • Body-size asymmetry (1 dim): ∣ℓi−ℓj∣/max⁡(ℓi,ℓj)\lvert\ell_i-\ell_j\rvert/\max(\ell_i,\ell_j), indicating size differences relevant to dominance.

  • Forepaw–ear (grooming) asymmetry (1 dim): the difference in forepaw–ear distance between the two animals.

  • Tail-extension (arousal) asymmetry (1 dim): the difference in tail extension between the two animals.

  • Turn-rate similarity (1 dim): angular distance between the two animals’ instantaneous turning rates.

Total: 12+24+8=4412+24+8=44 dimensions, where the 12+24=3612+24=36 per-keypoint dimensions plus 8 global-pair scalars give the 3K+83K+8 form referenced in Appendix § 9.

Dataset Details

This section provides per-dataset specifics referenced from § 4. All datasets are top-down mouse-pose video keypoints; each native skeleton is mapped to the universal 12-keypoint vocabulary by named-synonym matching (§ 3.1), with missing slots zero-padded and masked from any feature that depends on them.

MABe22 [25]. N=3N=3 animals per sequence, 12 keypoints per mouse; its skeleton defines the universal vocabulary used by all other datasets. Behavior annotations are multi-label per window and cover a broad set of social behaviors.

CalMS21 [23]. N=2N=2 animals per sequence, 7 keypoints per mouse mapped to 7 of the 12 universal slots. Four mutually exclusive class labels: attack, investigation, mount, other. 70 training / 19 test sequences. Primary benchmark for dyadic social-interaction classification.

CRIM13 [4]. N=2N=2 animals per sequence, 7 keypoints per mouse mapped to 7 of the 12 universal slots. Eight mutually exclusive class labels: other, approach, attack, disengage, mount, rear, selfgroom, sniff, with the other class dominating (∼\sim80% of frames). Also used for the few-shot evaluation in § 4.4.

AdaptableSnail (MABe 2025 challenge). Variable group size, N∈{3,4}N \in\{3, 4\} mice per sequence, 10 keypoints per mouse mapped to 10 of the 12 universal slots. Used to evaluate the social encoder under within-dataset NN variation and to stress-test the universal mapping under a non-standard skeleton.

NiftyGoldfinch (MABe 2025 challenge). N=2N=2 mice per sequence. The set of keypoints differs between sequences (each file lists its own body-part names), so the mapping to the universal vocabulary is applied per sequence rather than once per dataset. This makes it the most stringent test of the universal mapping.

MouseLockbox [20]. N=1N=1, 27 native DLC SuperAnimal keypoints mapped onto the 12 universal slots; the remaining 15 native keypoints are dropped. It covers fine-grained puzzle-box behaviors and is the only single-animal dataset in our evaluation.

Dataset sizes and sampling. Table 6 lists training-split sizes. Batches are drawn from the concatenated corpus (proportional sampling, no reweighting). The corpus is imbalanced by 5.4×5.4\times (largest to smallest), not by orders of magnitude; for substantially more heterogeneous corpora we expect temperature-based sampling to become necessary.

DatasetTraining framesNN
AdaptableSnail641,8423–4
CalMS21507,7382
MouseLockbox427,3801
NiftyGoldfinch284,5902
CRIM13223,3622
MABe22118,5603

Table 6. Training-split sizes (frames) and group sizes.

Linear Probe Details

For all probing experiments (“linear probing” in the main text, following common usage for frozen-encoder evaluation), frozen embeddings are passed to a single-hidden-layer MLP with 256 ReLU units. Training uses Adam with weighted cross-entropy (inverse-frequency class weights), batch size 256, learning rate 1×10−31\times10^{-3}, and 200 epochs with early stopping on macro-F1 over a held-out validation split. We report macro-F1 on the official test splits where available, otherwise on a 70/15/15 train/val/test split sampled at the recording level. Each result is the mean over 5 random seeds.

Embedding variants. We evaluate six embedding variants of MICE: ind_mean, ind_cat, soc_mean, soc_cat, ind+soc_mean, ind+soc_cat. The prefix (ind, soc, or ind+soc) says which output is used: the individual encoder’s, the social encoder’s, or both concatenated. The suffix says how the T=64T=64 tokens are combined: mean averages them into one 96- or 192-dim vector, and cat flattens them into a T⋅96T\cdot96- or T⋅192T\cdot192-dim vector. This is done per animal, and the vectors of all animals in the clip are then concatenated. The headline MICE result in Table 1 uses ind+soc_cat, and ind_cat and soc_cat appear in the same table as ablations; all six variants, including the mean-pooled ones, are compared on CalMS21 in Appendix I.2. Table 7 summarizes them.

ReadoutSourcePooling over TT tokensDim. per animal
ind_mean / ind_catHind∈RT×96\mathbf{H}_{\mathrm{ind}} \in\mathbb{R}^{T\times96}mean-pool / flatten96 / T⋅96T\cdot96
soc_mean / soc_catO∈RT×96\mathbf{O} \in\mathbb{R}^{T\times96}mean-pool / flatten96 / T⋅96T\cdot96
ind+soc_mean / ind+soc_cat[Hind;O]∈RT×192[\mathbf{H}_{\mathrm{ind}};\mathbf{O}] \in\mathbb{R}^{T\times192}mean-pool / flatten192 / T⋅192T\cdot192

Table 7. MICE embedding readouts. Hind\mathbf{H}_{\mathrm{ind}}: concatenated individual-encoder output (Eq. (2)); O\mathbf{O}: per-animal social output (Eq. (6)); T=64T=64 tokens. Each readout concatenates the embeddings of all animals in the clip, so ind_cat already contains the partners’ individual embeddings.

The social readout also contains individual information. The Decode step (Eq. (6)) adds the focal mouse’s own projected embedding back in, so soc is not purely social. This is why soc_cat alone is usually only modestly better than ind_cat, and why ind+soc_cat, which also keeps an unmixed copy of the individual embedding, does best.

Unsupervised Segmentation: Protocol and Qualitative Details

Protocol. For each method, we extract per-window embeddings on the test sequences with the most balanced mix of behavior labels. We run KK-means with K=50K=50 on the embeddings to produce hard cluster assignments. Consecutive frames with the same cluster assignment form a segment; each segment is mapped to the ground-truth class that appears most often in its frames (majority vote). ARI and NMI are computed at the frame level between predicted and ground-truth class labels. Boundary-F1 treats a predicted boundary as correct if it lies within 2 windows of any ground-truth boundary. All results are averaged over 5 seeds varying KK-means initialization and the train/val/test split.

Qualitative observations from Figure 2. The figure shows two test sequences from CalMS21. In the left panel (investigation-rich), ground truth contains a long sustained investigation block at windows ∼240\sim240–360360. MICE recovers most of it as two long segments separated by a short gap, with outer boundaries close to ground truth, while Progressive fragments the same block into several shorter segments. In the right panel (attack-rich), ground truth contains several attack clusters near the start (windows ∼10\sim10–9595), one near window 190, and one near the end. MICE marks attack in both regions, whereas BAMS and hBehaveMAE miss most of the early clusters. Progressive and Multiscale also predict attack in windows where ground truth has none (e.g., ∼120\sim120–180180 for Progressive), consistent with their tendency toward false positives.

Figure 2. Qualitative segmentation timelines from CalMS21, investigation episodes (left) and attack episodes (right). Each row shows one method’s hard cluster assignments mapped to ground-truth classes. MICE matches ground-truth boundaries most closely; baselines either fragment episodes and produce false positives (e.g., Progressive and Multiscale) or miss real episodes (e.g., BAMS and hBehaveMAE on the early attack clusters).

Per-dataset results. Table 8 breaks the averages of Table 2 down by dataset. MICE has the highest ARI and NMI on every dataset; on Boundary-F1 it leads on CalMS21, while hBehaveMAE leads on CRIM13 and NiftyGoldfinch and Progressive on AdaptableSnail.

ModelARI (%) ↑\uparrowNMI (%) ↑\uparrowBoundary-F1 (%) ↑\uparrow
PointNet [19]33.73‾±0.24\underline{33.73}\mathbin{\pm}0.2427.50‾±0.18\underline{27.50}\mathbin{\pm}0.1826.19±0.3126.19\mathbin{\pm}0.31
TBERT [25]24.59±0.2724.59\mathbin{\pm}0.2718.64±0.2118.64\mathbin{\pm}0.2129.06±0.2829.06\mathbin{\pm}0.28
BAMS [3]9.28±0.349.28\mathbin{\pm}0.348.03±0.288.03\mathbin{\pm}0.2816.45±0.3616.45\mathbin{\pm}0.36
hBehaveMAE [22]31.32±0.2131.32\mathbin{\pm}0.2125.44±0.1625.44\mathbin{\pm}0.1631.37‾±0.24\underline{31.37}\mathbin{\pm}0.24
Progressive (ours, ablation)9.33±0.329.33\mathbin{\pm}0.328.13±0.268.13\mathbin{\pm}0.2623.93±0.2923.93\mathbin{\pm}0.29
Multiscale (ours, ablation)26.13±0.2326.13\mathbin{\pm}0.2321.41±0.1921.41\mathbin{\pm}0.1930.33±0.2530.33\mathbin{\pm}0.25
MICE (ind+soc_cat)43.33±0.1743.33\mathbin{\pm}0.1735.63±0.1335.63\mathbin{\pm}0.1331.57±0.2131.57\mathbin{\pm}0.21

Table 2. Unsupervised behavioral segmentation via KK-means clustering (K=50K=50) on frozen embeddings, mean ±\pm standard deviation across the four datasets with frame-level labels (CalMS21, CRIM13, AdaptableSnail, NiftyGoldfinch) over 5 random seeds. All metrics reported as %. Bold = best, underline = best baseline. MICE leads ARI and NMI by sizable margins and matches hBehaveMAE on Boundary-F1 (within seed variation).

ModelCalMS21CRIM13AdaptSnailGoldfinchAvg.
ARI
PointNet57.9051.4910.7414.7733.73
TBERT42.1839.199.517.4824.59
BAMS16.5413.815.041.719.28
hBehaveMAE51.1950.1512.2111.7231.32
Progressive (ours, ablation)11.7813.768.852.929.33
Multiscale (ours, ablation)40.3943.3211.329.4826.13
MICE (ind+soc_cat)72.3158.5919.8222.6043.33
NMI
PointNet44.2440.0210.6815.0727.50
TBERT29.6027.619.447.9218.64
BAMS11.7810.836.223.278.03
hBehaveMAE38.4338.5212.8112.0025.44
Progressive (ours, ablation)9.1410.5910.032.768.13
Multiscale (ours, ablation)32.6131.3512.549.1221.41
MICE (ind+soc_cat)58.6449.4514.9219.5135.63
Boundary-F1
PointNet31.9827.839.2635.7026.19
TBERT27.4832.3716.3540.0429.06
BAMS15.9616.7716.1116.9516.45
hBehaveMAE33.8237.088.2946.3031.37
Progressive (ours, ablation)17.4319.6916.6741.9423.93
Multiscale (ours, ablation)28.7234.2313.9344.4330.33
MICE (ind+soc_cat)40.6934.9714.2036.4231.57

Table 8. Per-dataset unsupervised segmentation results (%, mean over 5 random seeds). The Avg. column is the average reported in Table 2.

Comparison with Keypoint-MoSeq. Keypoint-MoSeq (KPMS) [30] is a widely used unsupervised method that segments pose into behavioral “syllables”. We run it as the package intends for multi-animal data: each mouse is passed in as its own pose sequence with the same skeleton, and one model is fit over all of them, so KPMS learns a single syllable vocabulary and returns one syllable sequence per mouse. (Stacking the mice into one pose would place the body center between them, so the syllables would describe the pair’s configuration rather than either animal.) We use two protocols. In train-fit, one model is fit on all training recordings of a dataset and applied to each test recording, giving KPMS the same train/test separation as MICE. In per test recording, a separate model is fit on each test recording; this is the easier setting for KPMS, since nothing has to transfer. Scoring follows our segmentation protocol: syllables are pooled into the same windows by majority vote, each syllable is mapped to the label it most often coincides with, and we report ARI, NMI and Boundary-F1 on CalMS21, CRIM13 and AdaptableSnail. Because KPMS returns one sequence per animal while the labels describe the whole scene, we score every animal and report the best one per recording, the most generous reading for KPMS (Table 9). KPMS has no term that couples animals: it assigns syllables from one egocentrically aligned pose at a time, whereas most labels in these datasets (e.g., attack, mount, sniff, approach) involve two animals. MICE leads in all nine cells. Fitting KPMS on each test recording barely changes its ARI and NMI, so the gap is not due to transfer from training to test data; it is widest on CRIM13, the dataset with the most interaction-defined labels, where KPMS’s ARI and NMI are close to zero.

DatasetKPMS (train-fit)KPMS (per test recording)MICE
CalMS2116.50 / 16.34 / 32.8217.14 / 17.11 / 28.1672.31 / 58.64 / 40.69
CRIM130.75 / 0.91 / 0.270.74 / 1.45 / 1.9558.59 / 49.45 / 34.97
AdaptableSnail3.21 / 3.17 / 11.583.25 / 3.23 / 13.1519.82 / 14.92 / 14.20

Table 9. Unsupervised segmentation: Keypoint-MoSeq (KPMS) vs. MICE (ind+soc_cat). Each cell gives ARI / NMI / Boundary-F1 (%).

Baseline Implementation Details

All baselines share the universal keypoint mapping (§ 3.1) and raw-keypoint inputs, and feed their frozen embeddings to the same probe described in Appendix § 12.

BAMS [3]. Dual-branch dilated Conv1d (short-term + long-term) trained per-mouse with HoA prediction over a K×4K \times4 velocity/shape feature target; mean-pooled across animals at inference. As in MICE’s individual encoder, BAMS receives only raw keypoints as input, and the engineered features are used only as HoA prediction targets. This matches MICE’s input and prevents the model from simply copying its targets from the input. Note that BAMS’s long-term branch looks back about 1,365 frames, far longer than our 64-frame clips, so most of its input here is padding; its results should not be taken as representative of that branch.

PointNet [19]. Shared per-animal MLP with global max-pooling across the animal dimension yielding a permutation-invariant frame embedding; pretrained with temporal contrastive learning (positives = adjacent frames, negatives = different sequences).

TBERT [25]. BERT-style transformer over flattened multi-animal keypoints (fixed animal ordering), pretrained with masked-frame modeling (∼\sim40% frame masking, MSE reconstruction).

hBehaveMAE [22]. Hierarchical masked autoencoder built on Hiera with (2,1,nkp×2)(2,1,n_{\mathrm{kp}}\times2) patching, two pooling stages (4×4\times temporal then animal-dimension pooling), three transformer stages (9 blocks total, embed dims 64/128/256), and multi-scale Conv3d fusion.

Progressive (ours, ablation). The same architecture as MICE’s individual encoder, but applied to all animals stacked into one multi-animal input with fixed Nmax⁡=4N_{\max}=4 padding, and with no social stage; the multi-animal input makes it larger than MICE’s per-animal individual encoder (Table 21). It isolates the contribution of per-animal encoding with a variable-NN social stage.

Multiscale (ours, ablation). A single-transformer variant with simultaneous multi-resolution HoA heads at intermediate layers and no widening attention windows, in contrast to Progressive’s staged hierarchy. It isolates MICE’s staged, widening-window design from a flat multi-resolution alternative.

Layer-wise Probing: Probe Locations

For the layer-wise probing analysis (§ 4.5), we probe MICE at 16 sequential depth points: 12 within the individual encoder and 4 within the social encoder. The mapping from probe index to architectural stage is:

IdxComponentOperation
1–4Individual: Stage 1ALBERT layer iterations 1–4 (shared weights)
5–8Individual: Stage 2ALBERT layer iterations 1–4 (shared weights)
9–12Individual: Stage 3ALBERT layer iterations 1–4 (shared weights)
13Social: EncodeAfter cross-attention with NN animals + LayerNorm
14Social: Process 1After first latent self-attention layer
15Social: Process 2After second latent self-attention layer
16Social: TemporalAfter temporal attention across time tokens

Table 23.

To read out probe points 13–16, we pass the current latent state through the social encoder’s Decode cross-attention, including its residual connection (§ 3.3). Each social probe therefore gives the per-animal output the encoder would produce if it stopped at that point. The input projection Zn,tZ_{n,t} is not probed separately.

Baselines are probed at architecturally analogous points: BAMS’s short and long branches are each probed at their successive layers and plotted as two separate curves; hBehaveMAE is probed at each of its hierarchical stage outputs (9 blocks across 3 stages); TBERT and PointNet are probed at all transformer/MLP layers respectively. To plot all methods on a common xx-axis, each method’s depth points are normalized to {0%,…,100%}\{0\%, \ldots, 100\%\} by total architectural depth.

Ablations: Tables and Per-Ablation Interpretation

This section contains two ablation studies: a variable-NN reorganization of the combined-regime linear-probe results, and an embedding-variant comparison on CalMS21.

Variable-NN Analysis

Table 10 reorganizes Table 1’s combined-regime results by per-dataset NN, with AdaptableSnail stratified by group size so each NN column reflects only recordings at that size. MICE wins every column; its lead over the baselines is negligible at N=1N=1, modest at N=2N=2, and substantial at N=3N=3 and N=4N=4. The most informative comparison is hBehaveMAE’s reasonable N=3N=3 performance on MABe22 versus its collapse on AdaptableSnail’s N=4N=4 recordings: the same architecture that handles fixed N=3N=3 fails when NN varies within recordings. The MICE-family ablations sharpen the picture: the Progressive-vs-MICE gap is largest at N=2N=2, where Progressive’s fixed Nmax⁡=4N_{\max}=4 padding leaves half the slots empty, and Multiscale performs comparably to Progressive overall. Because MICE’s individual readout alone (ind_cat) already outperforms both ablations in almost every column of Table 1, most of MICE’s advantage comes from encoding each animal separately, with the social stage adding a further gain.

ModelN=1N=1N=2N=2N=3N=3N=4N=4Overall avg
TBERT [25]13.55±0.4113.55 \pm0.4130.78±0.5830.78 \pm0.5823.62±0.6223.62 \pm0.6212.90±0.6912.90 \pm0.6920.21±0.4520.21 \pm0.45
PointNet [19]13.42±0.3913.42 \pm0.3937.34±0.5137.34 \pm0.5137.40±0.5537.40 \pm0.5518.50±0.6218.50 \pm0.6226.67±0.4126.67 \pm0.41
BAMS [3]12.92±0.4012.92 \pm0.4035.37±0.5435.37 \pm0.5441.70±0.5241.70 \pm0.5217.90±0.6517.90 \pm0.6526.97±0.4326.97 \pm0.43
hBehaveMAE [22]13.21±0.3313.21 \pm0.3349.08±0.4549.08 \pm0.4541.98±0.4941.98 \pm0.4911.40±0.5811.40 \pm0.5828.92±0.3828.92 \pm0.38
Progressive (ours, ablation)13.54±0.3913.54 \pm0.3936.16±0.4936.16 \pm0.4955.72±0.4555.72 \pm0.4522.30±0.6122.30 \pm0.6131.93±0.4031.93 \pm0.40
Multiscale (ours, ablation)13.04±0.3813.04 \pm0.3840.34±0.4640.34 \pm0.4656.72±0.4356.72 \pm0.4319.85±0.5919.85 \pm0.5932.49±0.3932.49 \pm0.39
MICE13.68±0.3713.68 \pm0.3754.28±0.3954.28 \pm0.3961.87±0.3761.87 \pm0.3728.50±0.5128.50 \pm0.5139.58±0.3239.58 \pm0.32

Table 10. Macro-F1 (%) under combined pretraining, organized by per-dataset animal count.

Progressive details. Progressive has the same architecture as MICE’s individual encoder but takes all animals stacked into one input tensor with Nmax⁡=4N_{\max}=4 padding, and has no social stage. The Progressive-vs-MICE gap is largest at N=2N=2 (18.1 points), where Progressive’s fixed padding wastes capacity on padded slots (N=2N=2 on a Nmax⁡=4N_{\max}=4 tensor), and about 6 points at N=3N=3 and N=4N=4.

Multiscale details. Multiscale is a variant of the individual encoder that supervises several temporal resolutions at once, without a staged hierarchy. It performs comparably to Progressive on most NN columns. Since both ablations trail MICE’s individual readout alone in almost every column, the Table 10: Macro-F1 (%) under combined pretraining, organized by per-dataset animal count. Mean ±\pm standard deviation over 5 random seeds. Datasets per column: N=1N=1: MouseLockbox; N=2N=2: CalMS21, CRIM13, NiftyGoldfinch; N=3N=3: MABe22 + AdaptableSnail-N=3N=3; N=4N=4: AdaptableSnail-N=4N=4. For MICE, N=1N=1 uses ind_cat (social variants not applicable). Bold = best per column.

bulk of MICE’s advantage comes from encoding each animal separately rather than from the staged hierarchy, with the social stage adding a further gain.

Per-animal pooling baselines. BAMS and PointNet handle variable NN trivially via per-animal pooling but discard interaction structure entirely, reflected in scores that lag MICE by 10–25 points across N≥2N \ge2.

Single-dataset pretraining by group size. Table 11 repeats this analysis with single-dataset pretraining, using the same grouping by NN. The benefit of combined pretraining grows with the number of animals and is negative only at N=1N=1, i.e., on MouseLockbox, where there is no social behavior for the other datasets to inform. Combined pretraining therefore helps most when the target involves the most social behavior.

NNSingle-datasetCombinedΔ\Delta
115.9313.68−2.25-2.25
252.9954.28+1.29+1.29
356.7761.87+5.10+5.10
420.3828.50+8.12+8.12

Table 11. MICE macro-F1 (%) by animal count under single-dataset vs. combined pretraining, grouped as in Table 10.

Table 11: MICE macro-F1 (%) by animal count under single-dataset vs. combined pretraining, grouped as in Table 10. Δ\Delta = combined −- single.

Foundation-model framing. The 10.7-point gap on the overall average between MICE (39.58) and the strongest baseline (hBehaveMAE, 28.92) suggests that the benefits of handling variable NN and of jointly modeling individual and social behavior add up across diverse datasets. This is exactly the setting a foundation model is meant for: serving multi-animal datasets with different group sizes from a single checkpoint without retraining.

Embedding Variant Analysis

Table 12 compares six embedding variants on CalMS21. Two patterns emerge. First, concatenation consistently beats mean-pooling, most of all for the individual channel, where averaging discards the temporal structure the hierarchical encoder is designed to capture. Second, combining the individual and social channels gives a small but consistent gain over either alone, indicating that they carry complementary information.

Embedding-variant details. The largest mean-vs-cat gap is on the individual channel (ind_mean: 57.79 vs. ind_cate: 81.22, a 23-point difference), where mean-pooling collapses the temporal structure most severely. The smaller gaps for the social and combined channels (12 and 11 points respectively) suggest that the social-stage representations are somewhat more robust to mean-pooling than the individual-stage representations, possibly because the social stage’s temporal attention already aggregates information over time before pooling. The lift from soc_cat (81.86) to ind+soc_cat (84.56) is 2.7 points; ind_cat alone is 81.22, so the ind+soc combination beats either channel alone but not by much. When embedding size is a constraint, soc_cat alone is a reasonable choice at a cost of 2.7 points.

Additional Analyses

These analyses complement § 4.6–§ 4.7.

Retraining the social stage with different partner information

Design. All runs start from the same frozen individual encoder. Because this encoder sees one animal at a time, it carries no partner information, and the individual readout (ind_cat) is the same in every run. The social stage is then retrained from scratch for 500 epochs under one of three conditions:

  • Correct partners: the default setting.

  • Mis-paired partners: each partner is replaced by the mouse in the same slot of another clip in the batch. Batches are grouped by animal count, so partners are real mice and only the pairing is wrong.

  • No partners: partner slots are set to zero.

Only the social encoder’s input is changed. All runs are compared at epoch 500. For each run, we train a fresh probe and test it under the same partner condition used in training, so no model sees unfamiliar input. With mis-paired partners, the pairwise loss remains meaningful, because its targets are computed from a real (if wrong) mouse. With no partners, these targets become trivial, so that run shows what happens without any partner information.

Direct animal-to-animal attention. To test what the latent codebook adds over the simplest alternative, we replace the Perceiver latents with direct attention between animals, keeping correct partners and everything else fixed (Table 13). Direct attention scores slightly lower than the Perceiver on all five datasets, by 0.7 to 1.8 points, so at these group sizes the latent codebook is at least as effective as the simplest alternative while also keeping cost independent of NN.

Social stageMABe22CalMS21CRIM13AdaptSnailGoldfinch
Perceiver latents (MICE)69.26±0.3484.56±0.3146.38±0.5526.76±0.7831.90±0.72
direct animal-to-animal attention68.13±0.4283.85±0.4045.11±0.5724.98±0.8530.92±0.81

Table 13. Perceiver latents vs. direct animal-to-animal attention in the social stage: macro-F1 (%, ind+soc_cat). Mean ± standard deviation over 5 random probe seeds. The Perceiver row is the combined-regime MICE result of Table 1. Bold = best per column.

Weighting the two individual-stage losses

Raising the reconstruction weight from 0.1 to 1 improves both datasets (CalMS21 76.46 to 81.22; CRIM13 36.01 to 44.71; Table 14), so we use equal weights. Removing the HoA loss (wHoA=0w_{\mathrm{HoA}}=0) costs 10.7 F1 on CRIM13 and 2.4 on CalMS21.

Table 14: Individual-stage loss weights (macro-F1, %, individual-only readout). wHoAw_{\mathrm{HoA}} and wrecw_{\mathrm{rec}} weight the HoA and reconstruction losses; all models are pretrained on all six datasets, and the first row is the combined-regime ind_cat result of Table 1. Bold = best per column.

wHoAw_{\mathrm{HoA}}wrecw_{\mathrm{rec}}CalMS21CRIM13
11.0081.2244.71
10.3078.4937.97
10.1076.4636.01
10.0373.7833.29
10.0074.1033.92
01.0078.8434.02

Table 14.

What the social stage encodes

These analyses use the model pretrained on all six datasets, evaluated on the CalMS21 test set.

Relative position. We fit linear models that predict simple measurements of the two mice from each frozen embedding (Table 15). The social embedding predicts how the mice are positioned relative to each other far better than the individual embedding, and is no better at describing the focal mouse alone.

Table 15: How well a linear model predicts each measurement from the individual vs. social embedding (R2R^2; higher is better).

Measurementindividualsocialdifference
Distance between the mice0.3580.975+0.617
Relative body orientation0.1450.644+0.499
Approach speed−0.2210.018+0.239
Partner speed−0.059−0.032+0.027
Focal mouse speed0.7020.638−0.064
Focal mouse body spread0.9750.953−0.022

Table 15.

Per-latent lift analysis

We also examined whether individual latents respond selectively to particular behaviors.

Method. For every token in the test set, we record the M=16M=16 latents produced by the social encoder’s Encode step, that is, after the latents have attended to the animals. For each latent, we rank all tokens by how strongly the latent is activated, take the top 100, and compute the class distribution among them. Dividing by the class prior gives a lift score, P(c∣top 100 of latent m)/P(c)P(c \mid\text{top 100 of latent }m)/P(c). A lift of 1 means the latent is active on that class no more often than chance; a lift of 10 means tokens where the latent is most active are ten times more likely to carry that label than a random token. No labels are used during pretraining; they are used only to read the latents afterwards.

Table 16: Most-enriched class per selected latent. Left: CalMS21 (priors: attack 4.97%, investigation 23.4%, mount 12.1%, other 59.5%). Right: CRIM13 (other prior 70.7% among the analyzed tokens).

CalMS21CRIM13
LatentClassLiftP(c∣top)P(c \mid\text{top})P(other∣top)P(\text{other} \mid\text{top})LatentClassLiftP(c∣top)P(c \mid\text{top})P(other∣top)P(\text{other} \mid\text{top})
3attack10.8654%34%15disengage13.1453%36%
12attack7.0435%49%12rear9.8518%70%
14mount3.0537%24%9attack9.6725%51%
4investigation1.7541%59%1attack7.3519%50%
7disengage6.6927%56%
0approach5.2919%76%

Table 16.

Results. On CalMS21, four of the sixteen latents are most enriched for attack, two of them strongly. Latent 3 is the clearest case: attack makes up 4.97% of tokens overall but 54% of the hundred tokens where latent 3 is most active. Eight latents are most enriched for other, at low lift (1.26–1.68). CRIM13 shows the same structure more sharply, with higher lift because its social classes are rarer: five latents are most enriched for attack and five for disengage, both interaction-defined classes. For CalMS21 latent 3 (attack, 54% vs. 34% other) and CRIM13 latent 15 (disengage, 53% vs. 36%), the named class is the outright majority of the top 100, and for CalMS21 latent 14 (mount, 37% vs. 24% other) it exceeds the background class.

Caveats. Lift cannot exceed 1/P(c)1/P(c), so a common class can never reach a high lift: on CRIM13, the maximum lift is 1.41 for other (prior 70.7%) but 38.5 for attack (prior 2.6%). A high lift also does not mean the class dominates: other is still the largest class in the top 100 for twelve of sixteen CRIM13 latents. These latents therefore respond selectively to their class relative to how common it is, rather than responding only to it.

Cross-dataset transfer for baselines

Table 3 shows how MICE transfers across datasets but gives no reference for whether that behavior is specific to MICE. Tables 17 and 18 repeat the same protocol for hBehaveMAE, the strongest baseline, and PointNet: each model is pretrained on one dataset (rows) and probed on every dataset (columns). Both baselines show the patterns we report for MICE. Within each column, pretraining on the target itself is the best single-dataset choice in 5 of 6 columns for hBehaveMAE and in all 6 for PointNet. Combined pretraining beats every single-dataset checkpoint on 5 of 6 targets for hBehaveMAE and 4 of 6 for PointNet, with MouseLockbox an exception for both. Pretraining on MouseLockbox gives the lowest off-diagonal score in 4 of the 5 multi-animal columns for hBehaveMAE and 2 of 5 for PointNet. Since these patterns appear across architectures that share only the data, they reflect the datasets rather than MICE.

Table 17: Cross-dataset transfer for hBehaveMAE: macro-F1 (%) when pretrained on the row dataset and probed on the column dataset. Mean ± standard deviation over 5 random seeds. Diagonal cells and the bottom row are hBehaveMAE’s single- and combined-regime results in Table 1.

ProbeMABe22CalMS21CRIM13AdaptSnailGoldfinchLockbox
Pretrain
MABe2242.72±0.6269.03±0.4935.22±0.728.53±0.6420.36±0.7712.48±0.56
CalMS2135.57±0.7476.05±0.4236.75±0.788.11±0.6518.80±0.7513.67±0.50
CRIM1332.93±0.6872.30±0.4438.30±0.689.49±0.7019.20±0.6812.91±0.51
AdaptSnail34.26±0.8171.81±0.5826.91±0.839.03±0.5318.05±0.7112.63±0.63
Goldfinch30.49±0.6672.54±0.4935.86±0.768.86±0.6526.02±0.5914.35±0.54
Lockbox27.04±0.7364.33±0.5127.85±0.807.73±0.7212.07±0.6914.58±0.44
Combined47.82±0.5277.68±0.3440.35±0.5812.13±0.5329.21±0.5013.21±0.33

Table 17.

Table 18: Cross-dataset transfer for PointNet, in the same format as Table 17. Diagonal cells and the bottom row are PointNet’s single- and combined-regime results in Table 1.

ProbeMABe22CalMS21CRIM13AdaptSnailGoldfinchLockbox
Pretrain
MABe2236.54±0.7158.36±0.6318.51±0.767.59±0.5520.74±0.6312.90±0.52
CalMS2130.25±0.7562.24±0.5417.93±0.647.20±0.4619.10±0.6812.70±0.49
CRIM1332.83±0.6856.13±0.6721.48±0.656.72±0.5719.52±0.5513.64±0.50
AdaptSnail32.76±0.7261.50±0.5919.94±0.697.91±0.4820.09±0.6213.00±0.42
Goldfinch28.38±0.7161.24±0.5920.48±0.706.03±0.6121.73±0.6012.20±0.56
Lockbox26.59±0.8061.18±0.6518.93±0.727.37±0.5317.06±0.6213.73±0.42
Combined40.75±0.6465.93±0.4226.49±0.5719.59±0.5819.61±0.5213.42±0.41

Table 18.

Comparison with a vanilla transformer

To test the individual encoder’s design as a whole, we replace it with a vanilla variant: a single stage of 12 layers with full attention in every layer and a single readout at matched width, trained with the same setup as MICE. This removes both the widening attention windows and the staged readout. Because only the individual encoder differs, we compare the individual readout (ind_cat), with MouseLockbox included (Table 19). MICE’s individual encoder outperforms the vanilla transformer on all six datasets, by 0.6 to 5.4 points, with the largest gaps on CRIM13 and NiftyGoldfinch, while also using fewer attention operations than full attention.

DatasetVanilla transformerMICEGap
MABe2265.32±0.3465.32 \pm0.3467.85±0.4267.85 \pm0.42+2.53
CalMS2180.16±0.4280.16 \pm0.4281.22±0.2881.22 \pm0.28+1.06
CRIM1339.33±0.6739.33 \pm0.6744.71±0.4744.71 \pm0.47+5.38
AdaptableSnail21.30±0.8821.30 \pm0.8822.66±0.5322.66 \pm0.53+1.36
NiftyGoldfinch23.23±0.8223.23 \pm0.8229.12±0.4829.12 \pm0.48+5.89
MouseLockbox13.10±0.5213.10 \pm0.5213.68±0.3713.68 \pm0.37+0.58

Table 19. MICE’s individual encoder vs. a vanilla transformer (single stage, full attention): macro-F1 (%, ind_cat) under combined pretraining. Mean ± standard deviation over 5 random seeds. MICE values are from Table 1. Gap = MICE − vanilla. Bold = best per row.

Supervised reference

As a reference point rather than a competitor, we take MICE’s individual encoder with an identical configuration, initialize it randomly without self-supervised pretraining, attach a classification head, and train both end-to-end with cross-entropy on each dataset’s behavior labels (Table 20). Unlike every method in Table 1, this model uses labels to train the encoder itself. Supervised training is ahead on every dataset, as expected for a model that sees labels during training. The gap is widest on AdaptableSnail, where MICE’s scores are weakest among the multi-animal datasets, and narrowest on CalMS21, where they are strongest.

DatasetSupervised (end-to-end)MICEGap
MABe2271.86±0.6271.86 \pm0.6267.60±0.4567.60 \pm0.45+4.26
CalMS2185.86±0.7885.86 \pm0.7883.28±0.3983.28 \pm0.39+2.58
CRIM1348.22±0.7448.22 \pm0.7444.61±0.7244.61 \pm0.72+3.61
AdaptableSnail29.87±0.7529.87 \pm0.7521.93±1.0421.93 \pm1.04+7.94
NiftyGoldfinch35.71±0.6635.71 \pm0.6631.08±0.7431.08 \pm0.74+4.63
MouseLockbox18.59±0.6318.59 \pm0.6315.93±0.4315.93 \pm0.43+2.66

Table 20. Supervised end-to-end training of MICE’s individual encoder vs. self-supervised MICE (single-dataset regime, ind+soc_cat; ind_cat for MouseLockbox; Table 3 diagonal): macro-F1 (%). Mean ± standard deviation over 5 random seeds. Gap = supervised − MICE.

Model sizes

MICE is small mainly because layers within each stage share weights (ALBERT-style).

Training Hyperparameters

Architecture. Individual encoder: patch size w=3w=3, stride s=1s=1; per-stage hidden dim D=32D=32; three stages each with Lg=4L_g=4 ALBERT-style layers and h=8h=8 attention heads; concatenated output dim Dind=96D_{\mathrm{ind}}=96; attention windows follow the linear schedule of § 3.2 from ωshort=3\omega_{\mathrm{short}}=3 to ωlong=T\omega_{\mathrm{long}}=T. Social encoder: dmodel=96d_{\mathrm{model}}=96, learned latent codebook size M=16M=16, social transformer layers Lsoc=2L_{\mathrm{soc}}=2, attention heads h=8h=8. Pretraining heads: HoA bins BHoA=32B_{\mathrm{HoA}}=32 for both individual and pairwise heads. Sequence length T=64T=64.

Span masking. Individual encoder: 25% of frames per sequence are masked in contiguous spans of length sampled uniformly from [4, 12] frames (zero-fill in input keypoint space). Social encoder (Masked Animal Modeling): 25% of TT temporal tokens per animal are masked in contiguous spans of length sampled uniformly from [2, 6] tokens, replaced by a learned mask token m∈Rdmodel\mathbf{m} \in\mathbb{R}^{d_{\mathrm{model}}}. Masking is applied only during training.

Loss weights. The individual objective (Eq. (3)) uses unit weights; equal weights worked best among those we tried (Appendix § 17.§ 2). The social objective also uses unit weights.

Optimization. Adam optimizer with learning rate 1×10−41 \times10^{-4}, weight decay 1×10−41 \times10^{-4}, batch size 256. Mixed-precision (fp16) training with gradient scaling. Pretraining: 500 individual-stage epochs followed by 500 social-stage epochs with the individual encoder frozen. Each individual-stage epoch uses a random 5% subsample of the pretraining corpus. Hardware: a single NVIDIA A40 GPU (48GB VRAM) per run; we ran many experiments in parallel rather than using multiple GPUs per run. The released code also includes a multi-GPU (DistributedDataParallel) training path.

Training and inference time. On one NVIDIA A40, an individual-stage epoch takes about 149 s and a social-stage epoch at most about 3.5 min, so the 500 + 500-epoch schedule takes about 21 h + 29 h. Table 22 reports inference time for a batch of 32 clips of 64 frames, averaged over 200 timed iterations after 20 warm-up iterations. The individual encoder’s cost does not depend on the number of animals, while the social stage adds about 1.6 ms per additional animal.

Animals NNIndividual encoder (ms/batch)Full model (ms/batch)Social stage (ms/batch)Full-model throughput (animal-sequences/s)
17.0712.495.432,562
27.1314.126.984,534
37.1215.728.606,109
47.1917.3910.207,360

Table 22. Inference time on one NVIDIA A40 (batch of 32 clips, 64 frames each).

Tuning. We did not tune architectural or training hyperparameters: the first configuration we tried was competitive, and we spent our compute on the method itself. Further tuning may improve results. How model size should grow with the amount of pretraining data is, in our view, the most important open question.

References

  1. [1]David J Anderson and Pietro Perona. Toward a science of computational ethology. Neuron, 84(1):18–31, 2014.DOI
  2. [2]Mehdi Azabou, Vinam Arora, Venkataramana Ganesh, Ximeng Mao, Santosh Nachimuthu, Michael Mendelson, Blake Richards, Matthew Perich, Guillaume Lajoie, and Eva Dyer. A unified, scalable framework for neural population decoding. Advances in Neural Information Processing Systems, 36:44937–44956, 2023a.
  3. [3]Mehdi Azabou, Michael Mendelson, Nauman Ahad, Maks Sorokin, Shantanu Thakoor, Carolina Urzay, and Eva Dyer. Relax, it doesn’t matter how you get there: A new self-supervised approach for multi-timescale behavior analysis. Advances in Neural Information Processing Systems, 36:28491–28509, 2023b.arxiv.org/abs/2303.08811
  4. [4]Xavier P Burgos-Artizzu, Piotr Dollár, Dayu Lin, David J Anderson, and Pietro Perona. Social behavior recognition in continuous video. In 2012 IEEE Conference on Computer Vision and Pattern Recognition, pages 1322–1329. IEEE, 2012.
  5. [5]Sandeep Robert Datta, David J Anderson, Kristin Branson, Pietro Perona, and Andrew Leifer. Computational neuroethology: a call to action. Neuron, 104(1):11–24, 2019.DOI
  6. [6]Eyrun Eyjolfsdottir, Kristin Branson, Yisong Yue, and Pietro Perona. Learning recurrent representations for hierarchical behavior modeling. arXiv preprint arXiv:1611.00094, 2016.
  7. [7]Weizhe Hong, Ann Kennedy, Xavier P Burgos-Artizzu, Moriel Zelikowsky, Santiago G Navonne, Pietro Perona, and David J Anderson. Automated measurement of mouse social behaviors using depth sensing, video tracking, and machine learning. Proceedings of the National Academy of Sciences, 112(38):E5351–E5360, 2015.DOI
  8. [8]Andrew Jaegle, Felix Gimeno, Andy Brock, Oriol Vinyals, Andrew Zisserman, and João Carreira. Perceiver: General perception with iterative attention. In International Conference on Machine Learning, pages 4651–4664. PMLR, 2021.arxiv.org/abs/2103.03206
  9. [9]Mayank Kabra, Alice A Robie, Marta Rivera-Alba, Steven Branson, and Kristin Branson. JAABA: interactive machine learning for automatic annotation of animal behavior. Nature Methods, 10(1):64–67, 2013.DOI
  10. [10]Thomas Kipf, Ethan Fetaya, Kuan-Chieh Wang, Max Welling, and Richard Zemel. Neural relational inference for interacting systems. In International Conference on Machine Learning, pages 2688–2697. PMLR, 2018.
  11. [11]Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, and Radu Soricut. ALBERT: A lite BERT for self-supervised learning of language representations. In International Conference on Learning Representations, 2020.arxiv.org/abs/1909.11942
  12. [12]Juho Lee, Yoonho Lee, Jungtaek Kim, Adam Kosiorek, Seungjin Choi, and Yee Whye Teh. Set Transformer: A framework for attention-based permutation-invariant neural networks. In International Conference on Machine Learning, pages 3744–3753. PMLR, 2019.arxiv.org/abs/1810.00825
  13. [13]Zeming Lin, Halil Akin, Roshan Rao, Brian Hie, Zhongkai Zhu, Wenting Lu, Nikita Smetanin, Robert Verkuijl, Ori Kabeli, Yaniv Shmueli, et al. Evolutionary-scale prediction of atomic-level protein structure with a language model. Science, 379(6637):1123–1130, 2023.DOI
  14. [14]Alexander Mathis, Pranav Mamidanna, Kevin M Cury, Taiga Abe, Venkatesh N Murthy, Mackenzie Weygandt Mathis, and Matthias Bethge. DeepLabCut: markerless pose estimation of user-defined body parts with deep learning. Nature Neuroscience, 21(9):1281–1289, 2018.DOI
  15. [15]Eric Nguyen, Michael Poli, Marjan Faizi, Armin Thomas, Michael Wornow, Callum Birch-Sykes, Stefano Massaroli, Aman Patel, Clayton Rabideau, Yoshua Bengio, et al. HyenaDNA: Long-range genomic sequence modeling at single nucleotide resolution. Advances in Neural Information Processing Systems, 36:43177–43201, 2023.
  16. [16]Simon RO Nilsson, Nastacia L Goodwin, Jia Jie Choong, Sophia Hwang, Hayden R Wright, Zane C Norville, Xiaoyu Tong, Davu Lin, Brandon B Bentzley, Neir Eshel, et al. Simple Behavioral Analysis (SimBA)—an open source toolkit for computer classification of complex social behaviors in experimental animals. bioRxiv, 2020.
  17. [17]Talmo D Pereira, Joshua W Shaewitz, and Mala Murthy. Quantifying behavior to understand the brain. Nature Neuroscience, 23(12):1537–1549, 2020.DOI
  18. [18]Talmo D Pereira, Nathaniel Tabris, Arie Matsliah, David M Turner, Junyu Li, Shruthi Ravindranath, Eleni S Papadopoulos, Edna Normand, David S Deutsch, Z Yan Wang, et al. SLEAP: A deep learning system for multi-animal pose tracking. Nature Methods, 19(4):486–495, 2022.DOI
  19. [19]Charles R Qi, Hao Su, Kaichun Mo, and Leonidas J Guibas. PointNet: Deep learning on point sets for 3D classification and segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 652–660, 2017.arxiv.org/abs/1612.00593
  20. [20]Patrik Reiske, Marcus N. Boon, Niek Andresen, Sole Traverso, Katharina Hohlbaum, Lars Lewejohann, Christa Thöne-Reineke, Olaf Hellwich, and Henning Sprekeler. Mouse Lockbox Dataset: Behavior recognition for mice solving lockboxes. In CVPR Workshop on Computer Vision for Animal Behavior Tracking and Modeling (CV4Animals), 2025. arXiv:2505.15408.DOI
  21. [21]Cristina Segalin, Jalani Williams, Tomomi Karigo, May Hui, Moriel Zelikowsky, Jennifer J Sun, Pietro Perona, David J Anderson, and Ann Kennedy. The Mouse Action Recognition System (MARS) software pipeline for automated analysis of social behaviors in mice. eLife, 10:e63720, 2021.
  22. [22]Lucas Stoffl, Andy Bonnetto, Stéphane d’Ascoli, and Alexander Mathis. Elucidating the hierarchical nature of behavior with masked autoencoders. In European Conference on Computer Vision, pages 106–125. Springer, 2024.
  23. [23]Jennifer J Sun, Tomomi Karigo, Dipam Chakraborty, Sharada P Mohanty, Benjamin Wild, Quan Sun, Chen Chen, David J Anderson, Pietro Perona, Yisong Yue, et al. The multi-agent behavior dataset: Mouse dyadic social interactions. In Proceedings of the Neural Information Processing Systems Track on Datasets and Benchmarks, volume 1, 2021a.arxiv.org/abs/2104.02710
  24. [24]Jennifer J Sun, Ann Kennedy, Eric Zhan, David J Anderson, Yisong Yue, and Pietro Perona. Task programming: Learning data efficient behavior representations. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 2876–2885, 2021b.DOI
  25. [25]Jennifer J Sun, Markus Marks, Andrew Wesley Ulmer, Dipam Chakraborty, Brian Geuther, Edward Hayes, Heng Jia, Vivek Kumar, Sebastian Oleszko, Zachary Partridge, et al. MABe22: A multi-species multi-task benchmark for learned representations of behavior. In International Conference on Machine Learning, pages 32936–32990. PMLR, 2023.
  26. [26]Jennifer J Sun, Hao Zhou, Long Zhao, Liangzhe Yuan, Bryan Seybold, David Hendon, Florian Schroff, David A Ross, Hartwig Adam, Bo Hu, et al. Video foundation models for animal behavior analysis. bioRxiv, 2024.DOI
  27. [27]Jennifer J Sun, Markus Marks, Sam Golden, Talmo Pereira, Ann Kennedy, Sohier Dane, Addison Howard, and Ashley Chow. MABe challenge – social action recognition in mice. https://kaggle.com/competitions/MABe-mouse-behavior-detection, 2025. Kaggle.
  28. [28]Yanchen Wang, Han Yu, Ari Blau, Yizi Zhang, Liam Paninski, Cole Lincoln Hurwitz, Matthew R Whiteway, et al. Animal behavioral analysis and neural encoding with transformer-based self-supervised pretraining. In The Fourteenth International Conference on Learning Representations, 2026.
  29. [29]Yule Wang, Chengrui Li, Weihan Li, and Anqi Wu. Exploring behavior-relevant and disentangled neural dynamics with generative diffusion models. In Advances in Neural Information Processing Systems, volume 37, 2024.
  30. [30]Caleb Weinreb, Jonah E Pearl, Sherry Lin, Mohammed Abdal Monium Osman, Libby Zhang, Sidharta Annapragada, Eli Conlin, Red Hoffmann, Sofia Makowska, Winthrop F Gillis, et al. Keypoint-MoSeq: parsing behavior by linking point tracking to pose dynamics. Nature Methods, 21(7):1329–1339, 2024.
  31. [31]Long Zhao, Nitesh B Gundavarapu, Liangzhe Yuan, Hao Zhou, Shen Yan, Jennifer J Sun, Luke Friedman, Rui Qian, Tobias Weyand, Yue Zhao, et al. VideoPrism: A foundational visual encoder for video understanding. arXiv preprint arXiv:2402.13217, 2024.

Paper details

vlnc:W_y9udeqwa
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 23

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents