- Model Highlights:
- Parameter Settings:
- GitHub Repository:
- Configuration:
- YOYO-Fusion: Robust Merging in Residual Subspace
- Input
- Step 1: Flatten and RMS-normalize each tensor
- Step 2: Determine Center Point
- Step 3: Compute residual matrix
- Step 4: Early exit if residuals are negligible
- Step 5: Perform SVD on residuals
- Step 6: Compute energy-based scaling factor
- Step 7: Robust weighted averaging in subspace
- Step 8: Restore average RMS scale
- Step 9: Final L2 norm alignment
- Input
The 5th-Generation Merged Model of YOYO-AI and the brand-new merging algorithm "yoyo_fusion" have been officially released!
Model Highlights:
merge method:
yoyo_fusionprecision:
dtype: bfloat16Context length:
262,144&1010000
Parameter Settings:
Temperature=0.7,TopP=0.8,TopK=20,MinP=0.
GitHub Repository:
Configuration:
The following configuration was used to produce this model:
from yoyo_fusion import run_merge
run_merge(
model_paths=[
"Qwen/Qwen3-30B-A3B-Instruct-2507",
"Qwen/Qwen3-30B-A3B-Thinking-2507",
"Qwen/Qwen3-Coder-30B-A3B-Instruct"
],
output_dir="YOYO-AI/Qwen3-30B-A3B-YOYO-V5",
anchor_index=0,
config_dir=1,
use_k_minus_one_truncation=True,
use_geometric_median=True,
)
YOYO-Fusion: Robust Merging in Residual Subspace
Input
Given K≥2 weight tensors from models with identical architecture:
Step 1: Flatten and RMS-normalize each tensor
Flatten each tensor into a vector and normalize by its RMS:
Step 2: Determine Center Point
Case A: Anchor Mode
Case B: No Anchor Mode
Subcase B1:
Compute the geometric median via the Weiszfeld algorithm:
Subcase B2:
Use coordinate-wise median:
Step 3: Compute residual matrix
Step 4: Early exit if residuals are negligible
If
then set
and skip to Step 8. Otherwise, proceed.
Step 5: Perform SVD on residuals
Compute the thin SVD of R^⊤∈R^D×K:
Let min(K−1,rank(R)), and take the first r' columns of U :
Step 6: Compute energy-based scaling factor
Total energy:
Retained energy:
Energy ratio:
Scaling factor (clamped for stability):
Step 7: Robust weighted averaging in subspace
Project residuals into subspace
Estimate robust scales
Per-coordinate MAD scale:
Per-model residual norm:
Global MAD scale:
Compute Tukey bisquare weights(c = 4.685)
Coordinate-wise weights:
Global (per-model) weights:
Combined weights:
Compute robust consensus in subspace
Reconstruct robust residual:
Final estimate in normalized space:
Step 8: Restore average RMS scale
Compute mean RMS across inputs:
Scale back:
Step 9: Final L2 norm alignment
Compute average L2 norm of original flattened tensors:
Compute current norm:
Final scaling factor:
Scaled output vector:
Reshape to original tensor shape:
- Downloads last month
- 117