Tune surviving pruning mask coefficients with damped least squares for activation reconstruction.
Scanned 9/9/2026
Install to Claude Code
npx -y skills add VectorSpaceLab/AREX-Skill --skill least_squares_mask_tuning --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Least Squares Mask Tuning?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/vectorspacelab-least-squares-mask-tuning)More formats (shields.io, HTML) on the badges page.
---
name: least_squares_mask_tuning
description: Tune surviving pruning mask coefficients with damped least squares for activation reconstruction.
---
# Least Squares Mask Tuning
Use this skill for the paper's final post-training pruning stage, after a binary structured mask has been selected and rearranged. It tunes only surviving mask entries to reconstruct original layer activations. Do not use it as model-weight retraining, and never revive pruned entries.
## Inputs
- Matrix `A` of per-unit activation contributions.
- Target vector `b` for reconstruction.
- Binary keep mask.
- Damping and acceptable coefficient range.
## Outputs
A real-valued mask, baseline/tuned reconstruction errors, and an accepted flag. Pruned entries remain zero.
## Workflow
Restrict `A` to kept columns, solve damped normal equations, insert the coefficients into the full mask, and reject coefficients outside the range. Report whether reconstruction error improved.
## Validation
Run the included deterministic synthetic tests.
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!
Practical guide to testing web applications with screen readers for comprehensive accessibility validation.
在编写新功能、修复错误或重构代码时使用此技能。强制执行测试驱动开发,包含单元测试、集成测试和端到端测试,覆盖率超过80%。
Go测试模式包括表格驱动测试、子测试、基准测试、模糊测试和测试覆盖率。遵循TDD方法论,采用地道的Go实践。
Django测试策略,包括pytest-django、TDD方法论、factory_boy、模拟、覆盖率以及测试Django REST Framework API。
克劳德代码会话的正式评估框架,实施评估驱动开发(EDD)原则