Skip to content
Back to skills

Program Optimization

ASecurity

Optimize only universal program parameters through a frozen model for adversarial reprogramming recovery experiments.

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
testingpythontesting

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill program_optimization --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Program Optimization?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Program Optimization
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-program-optimization/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-program-optimization)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
name: program_optimization
description: Optimize only universal program parameters through a frozen model for adversarial reprogramming recovery experiments.
---

# Frozen-Model Program Optimization

Use this skill when testing whether a fixed model can be repurposed by training an input program. The target model must remain frozen; only the program parameters may change. This is not ordinary fine-tuning.

## Inputs
- Synthetic or real task examples and labels.
- A frozen target model or reduced differentiable proxy.
- Input programming and output remapping functions.
- Learning rate and step count.

## Outputs
- Updated program parameters.
- Training trace with `loss_before`, `loss_after`, `params_before`, `params_after`, and accuracy.
- Mechanism booleans showing universal program reuse, frozen model unchanged, remapping use, and optimizer execution.

## Workflow
1. Build programmed inputs for all examples using one shared program.
2. Evaluate the frozen target and output remapper.
3. Compute a classification loss.
4. Update only the program.
5. Log parameter and loss changes.

## Validation
Run `python tests/test_program_optimization.py`.

## Limitations
The included script is a standard-library reduced proxy for bounded recovery. Full ImageNet recovery should replace the proxy model with the available frozen classifier while preserving the same contract.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…