Run and validate Tent-style entropy minimization updates on unlabeled target batches with trainable modulation parameters.
Scanned 9/9/2026
Install to Claude Code
npx -y skills add VectorSpaceLab/AREX-Skill --skill entropy_adaptation_step --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Entropy Adaptation Step?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/vectorspacelab-entropy-adaptation-step)More formats (shields.io, HTML) on the badges page.
---
name: entropy_adaptation_step
description: Run and validate Tent-style entropy minimization updates on unlabeled target batches with trainable modulation parameters.
---
# Entropy-Minimizing Adaptation Step
Use this skill to implement the core Tent update in a recovery harness or small experiment. It is appropriate when the adaptation loss is mean softmax entropy on unlabeled target logits and at least one trainable modulation parameter is updated. Do not use it as a pseudo-labeling method or as evidence if no optimizer state or parameter value changes.
## Inputs
- Target batch features or a model callable producing logits.
- Trainable adaptation parameters, usually normalization affine scale and shift.
- Learning rate and number of steps.
- Optional labels for post-adaptation evaluation only, never for loss computation.
## Outputs
- Entropy before and after adaptation.
- Parameter values before and after adaptation.
- Predictions before and after adaptation.
- Mechanism flags showing entropy loss and optimizer execution.
## Workflow
1. Compute logits and mean softmax entropy on the target batch.
2. Backpropagate or analytically compute the entropy gradient for the trainable parameters.
3. Apply the declared optimizer update.
4. Clear or record gradient state.
5. Recompute logits, entropy, and predictions after the update.
6. Save trace fields `params_before`, `params_after`, `loss_before`, and `loss_after`.
## Validation
Run `python scripts/tent_step.py --self-test`. The deterministic self-test uses a tiny two-class target batch and verifies entropy reduction plus changed scale/bias parameters.
## Limitations
The included script is a standard-library proxy for deterministic recovery when PyTorch or real datasets are unavailable. For full recovery, apply the same objective and trace contract to the actual model runtime.
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!