# Training and experiment plan This design predates the real-video rotation experiments. The executed v5 run used eight real training windows and a flow-matching objective. The held-out measurements, inference settings and reproduction commands are in the [rotation validation report](rotation_validation.md). ## Goal Generate an underground-cave exploration video from an image, a text description, and a camera path. The output should preserve rock geometry, support structures, depth ordering, and temporal appearance across frames. ## Recommended system ```text image + text → HY-Pano-2-Qwen or a supplied initial panorama → WorldNav camera trajectory → Voyager LoRA/Adapter → RGB video + depth video → WorldMirror-2 / 3DGS scene cache ``` HY-World 2.0 is used as the scene and reconstruction framework. Voyager is the video diffusion model that directly learns camera-controlled RGB-D video generation. ## Training stages ### Stage 1: source-data normalization 1. Apply MP4 rotation metadata. 2. Preserve chronological order and source video IDs. 3. Extract 2 fps frames for reconstruction and annotation. 4. Keep rock and steel-support scenes in separate groups. 5. Split by source video, never by adjacent frames. ### Stage 2: geometry reconstruction Use WorldMirror-2, VGGT, or COLMAP plus 3DGS to estimate: - camera intrinsics and poses - metric or relative depth - surface normals - point clouds - 3DGS attributes The rotating fixed-point recordings provide multi-direction coverage. They do not provide a stitched equirectangular panorama. Multiple positions or additional forward-motion recordings are needed for strong translational parallax. ### Stage 3: RGB-D clip expansion Render clips from the reconstructed 3DGS scene with forward, backward, left-turn, right-turn, look-up, look-down, and stationary panorama trajectories. Each clip stores RGB, depth, normal, camera pose, intrinsics, scene ID, and a prompt. Use 70% synthetic RGB-D clips, 15% real rock clips, 10% real steel clips, and 5% photographs for the first adapter training run. Increase the real-video ratio after geometry is stable. ### Stage 4: parameter-efficient adaptation Freeze the VAE, text encoders, and Voyager transformer backbone. Add LoRA layers to the transformer attention and MLP projections. Train a separate depth-consistency adapter if the base model accepts an additional conditioning branch. Initial settings: ```yaml resolution: [512, 768] frames: 49 batch_size: 1 gradient_accumulation: 4 precision: bf16 lora_rank: 32 lora_alpha: 32 learning_rate: 1.0e-5 max_steps: 5000 gradient_checkpointing: true ``` Use rank 64, 81 frames, and 8,000–15,000 steps only after the first run is stable. ## Losses ```text L = L_video + 0.5 L_depth + 0.3 L_temporal + 0.2 L_reprojection ``` - `L_video` is the diffusion denoising objective. - `L_depth` aligns generated and reference depth. - `L_temporal` penalizes feature and optical-flow inconsistency. - `L_reprojection` aligns adjacent frames after depth-based warping. ## Evaluation Report FVD, CLIP similarity, LPIPS, SSIM, PSNR, optical-flow consistency, depth error, reprojection error, camera-path following error, and point-cloud Chamfer distance. Compare the frozen Voyager baseline with the cave LoRA and the full RGB-D/3DGS pipeline. ## Hardware The current server has two NVIDIA H20-3e GPUs with approximately 140 GB memory each. Voyager's official 540p inference requirement is at least 60 GB and the recommended configuration is 80 GB. The hardware is suitable for single-GPU inference and LoRA experiments, but the official repositories do not include a turnkey fine-tuning command.