| { | |
| "id": "admm_pruner", | |
| "name": "ADMM Pruner: Alternating Direction Method of Multipliers for Structured & S", | |
| "file": "Codes/framework/compression_engine/admm_pruner.py", | |
| "type": "Compression Engine", | |
| "category": "Structured Pruning & Channel Slicing", | |
| "paradigm": "pruning", | |
| "icon": "\u2702\ufe0f", | |
| "description": "ADMM Pruner: Alternating Direction Method of Multipliers for Structured & Semi-Structured Pruning with Layer-Wise Reconstruction Distillation, STE, and Dynamic Rho. Registered in COMPRESSOR_REGISTRY as 'admm_pruner' and 'admm_pruner_distill'. Mathematical Formulation: $$\\min_W \\frac{1}{2} \\|W - W_0\\|_F^2 + \\lambda \\cdot \\mathbb{E}_{x \\sim \\mathcal{D}} \\left[ \\| \\text{layer}(x; W, \\text{mask}) - \\", | |
| "classes": [ | |
| "ADMMSTEPrune", | |
| "ADMMMaskedLinear", | |
| "ADMMPruner" | |
| ], | |
| "methods_count": 14, | |
| "math_latex": "\\min_{W, Z} \\frac{1}{2} \\|W - W_0\\|_F^2 + g(Z) \\quad \\text{subject to} \\quad W - Z = 0", | |
| "components": [ | |
| { | |
| "id": "orthogonal_rot", | |
| "name": "Orthogonal Transformation Matrix (Q)", | |
| "role": "Energy Concentration", | |
| "shape_transform": "[d_{in} \u00d7 d_{in}] Orthogonal", | |
| "color": "#38bdf8", | |
| "math_latex": "X' = X Q, \\quad Q^\\top Q = I" | |
| }, | |
| { | |
| "id": "sliced_linear", | |
| "name": "Channel-Sliced Dense Linear Operator", | |
| "role": "45% Channel Elimination", | |
| "shape_transform": "[0.55 \\cdot d_{out} \u00d7 0.55 \\cdot d_{in}]", | |
| "color": "#0ea5e9", | |
| "math_latex": "W_{sliced} = (Q_2^\\top W Q_1)_{[:d'_1, :d'_2]}" | |
| }, | |
| { | |
| "id": "bias_correct", | |
| "name": "Mean Bias Correction Vector", | |
| "role": "Representation Recalibration", | |
| "shape_transform": "[0.55 \\cdot d_{out}]", | |
| "color": "#0284c7", | |
| "math_latex": "\\mu_{err} = \\mathbb{E}[W X] - \\mathbb{E}[W_{sliced} X']" | |
| } | |
| ], | |
| "model_projections": { | |
| "distilbert": { | |
| "hidden_size": 768, | |
| "intermediate_size": 3072, | |
| "baseline_layer_params": 6488064, | |
| "compressed_layer_params": 1946419, | |
| "savings_ratio": 3.33 | |
| }, | |
| "roberta": { | |
| "hidden_size": 768, | |
| "intermediate_size": 3072, | |
| "baseline_layer_params": 6488064, | |
| "compressed_layer_params": 1946419, | |
| "savings_ratio": 3.33 | |
| }, | |
| "gpt2": { | |
| "hidden_size": 768, | |
| "intermediate_size": 3072, | |
| "baseline_layer_params": 6488064, | |
| "compressed_layer_params": 1946419, | |
| "savings_ratio": 3.33 | |
| }, | |
| "qwen": { | |
| "hidden_size": 896, | |
| "intermediate_size": 4864, | |
| "baseline_layer_params": 11124736, | |
| "compressed_layer_params": 3337420, | |
| "savings_ratio": 3.33 | |
| } | |
| } | |
| } |
Xet Storage Details
- Size:
- 2.66 kB
- Xet hash:
- 59789bd7239f35462e0371bf2144c909ad629807c54ce00e3abfc59b5c10cf51
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.