BEAST3D方法论:基于3D Gaussian splatting的自监督动物行为分析和神经编码框架。从多视角视频学习3D表征,支持新颖视角合成、姿态估计和神经编码。Activation: BEAST3D, 3D Gaussian splatting, animal behavior, neural encoding, multi-view video, 视觉神经科学.
Scanned 9/11/2026
Install to Claude Code
npx -y skills add hiyenwong/ai_collection --skill beast3d-animal-behavioral-neural-encoding --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Beast3d Animal Behavioral Neural Encoding?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/hiyenwong-beast3d-animal-behavioral-neural-encoding)More formats (shields.io, HTML) on the badges page.
---
name: beast3d-animal-behavioral-neural-encoding
description: "BEAST3D方法论:基于3D Gaussian splatting的自监督动物行为分析和神经编码框架。从多视角视频学习3D表征,支持新颖视角合成、姿态估计和神经编码。Activation: BEAST3D, 3D Gaussian splatting, animal behavior, neural encoding, multi-view video, 视觉神经科学."
---
# BEAST3D: Animal Behavioral Analysis and Neural Encoding
**Paper:** arXiv:2606.02937 (Submitted: 2026-06-01)
**Authors:** Yanchen Wang, Lenny Aharon, Wangshu Zhu, et al.
**Categories:** q-bio.NC, cs.CV
## Core Innovation
BEAST3D is a **self-supervised pretraining framework** that learns 3D visual representations from unlabeled, calibrated multi-view video for animal behavioral analysis and neural encoding.
### Key Features
1. **3D Gaussian Splatting + Vision Transformer**
- ViT predicts 3D Gaussian splats reconstructing held-out views via differentiable rendering
- Simultaneously segments animal from background
2. **Sparse View Reconstruction**
- Works with **as few as 4 views** by conditioning on known camera parameters
- Unlike general models requiring dense overlapping viewpoints
3. **Three Downstream Tasks**
- Novel view synthesis (validates 3D representation quality)
- Multi-view pose estimation (sparse keypoint trajectories)
- Neural encoding (relates 3D behavioral features to neural activity)
4. **Cross-Species Evaluation**
- Tested across **4 species** with viewpoint-invariant features
## Methodology Framework
### 1. Architecture Design
```python
class BEAST3D(nn.Module):
"""
Self-supervised 3D representation learning framework
Components:
- Vision Transformer (ViT) encoder
- 3D Gaussian splat predictor
- Differentiable rendering decoder
- Background segmentation module
"""
def forward(self, multi_view_frames, camera_params):
# ViT extracts features from each view
view_features = self.vit_encoder(multi_view_frames)
# Predict 3D Gaussian splats parameters
# Position, opacity, scale, rotation, color
splats = self.splat_predictor(view_features, camera_params)
# Render to held-out views
rendered_views = self.differentiable_render(splats, camera_params)
# Segment animal from background
segmentation = self.segmentation_head(view_features)
return rendered_views, segmentation, splats
```
### 2. Training Objective
```python
def loss_function(rendered, target_view, segmentation, gt_mask):
"""
Self-supervised learning objective
"""
# Reconstruction loss (held-out view)
recon_loss = F.mse_loss(rendered, target_view)
# Segmentation loss
seg_loss = F.binary_cross_entropy(segmentation, gt_mask)
# Total loss
total_loss = recon_loss + lambda_seg * seg_loss
return total_loss
```
### 3. Downstream Transfer
```python
# Novel view synthesis
novel_view = model.render(splats, novel_camera_pose)
# Pose estimation (keypoint detection)
keypoints = pose_estimator(splats.features)
# Neural encoding (3D features → neural activity)
neural_prediction = neural_decoder(splats.behavioral_features)
correlation = pearsonr(neural_prediction, recorded_activity)
```
## Implementation Guide
### Step 1: Data Preparation
```python
# Multi-view video calibration
calibration = {
'camera_params': {
'intrinsics': K_matrix, # 4x4
'extrinsics': [R_t for each camera] # rotation + translation
},
'num_views': 4, # minimum required
'frame_rate': fps,
'resolution': (H, W)
}
# Input format
multi_view_batch = {
'frames': [frame_cam1, frame_cam2, frame_cam3, frame_cam4],
'camera_indices': [0, 1, 2, 3],
'held_out_cam': 4 # for self-supervised reconstruction
}
```
### Step 2: Model Training
```python
# Initialize BEAST3D
model = BEAST3D(
vit_config='ViT-L/16',
splat_dim=64, # Gaussian parameters
num_species=4
)
# Self-supervised pretraining
for batch in unlabeled_multi_view_data:
rendered, seg, splats = model(batch.frames, batch.camera_params)
# Reconstruct held-out view
loss = loss_function(
rendered,
batch.held_out_frame,
seg,
batch.segmentation_gt
)
loss.backward()
optimizer.step()
```
### Step 3: Downstream Fine-tuning
```python
# Freeze pretrained encoder
model.vit_encoder.freeze()
# Task 1: Pose estimation
pose_head = PoseEstimator(splat_dim=64)
pose_head.train(keypoint_annotations)
# Task 2: Neural encoding
neural_decoder = NeuralDecoder(
input_dim=splat_dim,
output_dim=num_neurons
)
neural_decoder.train(behavioral_features, neural_activity)
# Evaluate encoding quality
encoding_score = evaluate_neural_encoding(
predicted, recorded, metric='r2_score'
)
```
## Experimental Results
### Novel View Synthesis
- **Metric:** PSNR, SSIM
- **Performance:** High-quality reconstruction from 4 views
### Pose Estimation
- **Output:** Sparse keypoint trajectories
- **Use:** Standard behavioral analysis input
### Neural Encoding
- **Task:** Relate 3D behavioral features to neural activity
- **Performance:** Significant correlation across 4 species
## Applications
### 1. Behavioral Neuroscience
```python
# Animal movement tracking
behavioral_features = beast3d.extract_features(multi_view_recording)
# Neural decoding
decoded_behavior = neural_decoder.inverse(activity_patterns)
```
### 2. Laboratory Automation
```python
# Automated pose annotation (self-supervised)
poses = beast3d.pose_estimator(unlabeled_video)
# No manual annotation required
```
### 3. Neural Encoding Studies
```python
# Feature-behavior correlation
encoding_model.fit(behavioral_features, neural_recordings)
# Predict neural response to novel behaviors
predicted_activity = encoding_model.predict(novel_behavior_3d)
```
## Key Advantages
1. **Self-Supervised:** No manual pose annotation
2. **Sparse View:** Works with 4 views (vs. dense general models)
3. **3D Structure:** Rich viewpoint-invariant features
4. **Multi-Task:** View synthesis + pose + neural encoding
5. **Cross-Species:** Generalizes across 4 animal species
## Limitations
- Requires calibrated camera parameters
- Minimum 4 views needed
- Segment...[truncated]Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!