poisoning-inference-extraction
Plan ART poisoning, privacy inference, model inversion/reconstruction, extraction, and detector/mitigation workflows.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- poisoning-inference-extraction
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Plan ART poisoning, privacy inference, model inversion/reconstruction, extraction, and detector/mitigation workflows.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/attack-families.md8.8 KB
- 参考文档references/defences-and-mitigations.md5.4 KB
- 参考文档references/troubleshooting.md6.0 KB
- 脚本scripts/inspect_privacy_poisoning_apis.py7.3 KB
03 SKILL.md 正文
Poisoning, inference, and extraction
Use this sub-skill when the task is to plan or reason about poisoning/backdoor attacks, privacy inference attacks, model inversion/reconstruction, model extraction/stealing, or poison/backdoor detectors and mitigations.
Route here
- Poisoning and backdoor attack planning for SVMs, feature collision, backdoors, clean-label backdoors, hidden triggers, adversarial embedding, gradient matching, and sleeper-agent-style workflows.
- Privacy inference workflows for membership inference, attribute inference, model inversion, and reconstruction.
- Model extraction / stealing workflows such as Copycat CNN, Knockoff Nets, and Functionally Equivalent Extraction.
- Poisoning detectors and mitigations such as Activation Defence, Spectral Signature Defense, Provenance Defense, RONI Defense, Neural Cleanse, and STRIP.
- Questions about train/validation splits, label format, trigger construction, classifier capabilities, or query budgets for these attack families.
Route elsewhere
- Ordinary evasion attacks, preprocessing defences, and adversarial training belong to
../evasion-and-preprocessing/SKILL.md. - Robustness metrics, certification, tree verification, security curves, and gradient checks belong to
../evaluation-and-certification/SKILL.md. - Estimator wrapping,
clip_values,input_shape, label encoding, and gradient availability belong to../estimators-and-models/SKILL.md. - Installation, import readiness, and backend selection belong to
../setup-and-backends/SKILL.md. - Object detection, audio, malware, and other special-purpose attack families are outside this bundled runtime scope unless a reference note explicitly says otherwise.
Operating sequence
- Identify the attack family and the minimum estimator/data capability from references/attack-families.md.
- Check detector and mitigation routing, plus backend constraints, in references/defences-and-mitigations.md.
- Use references/troubleshooting.md for split, label, trigger, query-budget, and import issues.
- Run scripts/inspect_privacy_poisoning_apis.py to confirm available imports and signatures before drafting a recipe.
Bundled checks
python scripts/inspect_privacy_poisoning_apis.py --helppython scripts/inspect_privacy_poisoning_apis.py --json
The helper only imports and inspects signatures; it does not train models or download data.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).