AXONVERTEX-AI-RESEARCH's picture
Add audit README for CryptanalysisBench Table 2 verification
0e77a6f verified
|
Raw History Blame Contribute Delete
5.7 kB
<div style="display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 2em"><a href="https://hf.co/chat?mode=ml-intern"><img src="https://hf.co/datasets/huggingface/badges/resolve/main/built-with-ml-intern.svg" alt="Built with ML Intern" style="margin:0"></a><a href="https://hf.co/chat?mode=ml-intern&prompt=Recompute%20the%2049-task%20union-of-two-runs%20metric%20from%20the%20authors%27%20harbor%20logs" style="display:inline-flex;align-items:center;gap:5px;padding:4px 12px;border:1.5px solid #eee;border-radius:16px;background:#f9fbfc;color:#c2410c;font-weight:600;font-size:14px;text-decoration:none">Recompute from logs ›</a><a href="https://hf.co/chat?mode=ml-intern&prompt=Plan%20a%20reduced%20GLM-5.2%20rerun%20of%20CryptanalysisBench%20Tier%201" style="display:inline-flex;align-items:center;gap:5px;padding:4px 12px;border:1.5px solid #eee;border-radius:16px;background:#f9fbfc;color:#c2410c;font-weight:600;font-size:14px;text-decoration:none">Plan a rerun ›</a></div>
# Verification audit: CryptanalysisBench Table 2 (arXiv 2607.18538v2)
**Claim under test** (Table 2, p.8): with a 2-hour agent budget plus 2 hours for the attack script, frontier LLM agents break 65–86% of the 49 Tier 1 schemes, counting a scheme as broken if either of two independent runs wins its security game — GLM-5.2 32/49 (65.3%), Opus 4.8 36/49 (73.5%), Sonnet 5 and GPT-5.5 37/49 (75.5%), Mythos 5 42/49 (85.7%).
**Audit verdict: INCONCLUSIVE — no rerun was executed.** The session compute budget was $0.00, so no jobs were submitted and no API calls were made. Everything below is what was verified for free, and what is ready to run the moment budget or logs exist.
## What was verified (free, no compute)
| Check | Result |
|---|---|
| Paper numbers | Table 2 confirmed on p.8 of [arXiv 2607.18538v2](https://arxiv.org/abs/2607.18538v2): 65.3% / 73.5% / 75.5% / 75.5% / 85.7% |
| Metric definition | p.7: "A task is counted as broken if the agent produces a working attack in at least one of two independent runs"; statistical games need ≥17 wins in 20 fresh instances |
| 17/20 rule in released code | Verified in [`security_game_framework/tests/test_attack.py`](https://github.com/ethz-spylab/cryptanalysis-benchmark/blob/d243a0a03d7aa367472411114f140d0aace583cd/security_game_framework/tests/test_attack.py) at the pinned commit `d243a0a`: `SECURITY_GAME_INFO_MAP` sets `num_attack_rounds: 20, required_successes: 17` for all indistinguishability/CCA games, 1/1 for deterministic games, with early-stop and per-round-failure-tolerance logic |
| Timeout overrides | Verified in [`generate_harbor_tasks.sh`](https://github.com/ethz-spylab/cryptanalysis-benchmark/blob/d243a0a03d7aa367472411114f140d0aace583cd/generate_harbor_tasks.sh) at the pinned commit: `--agent-timeout-sec=7200 --verifier-timeout-sec=7200 --subset=benchmark` are accepted and written into every `task.toml` |
| Task count | `tasks_manifest.csv` lists exactly 49 `T1_*` tasks, all `has_solution=True` |
| Retained logs | **Not published.** Repo at `d243a0a` contains benchmark code only — no `results/` directory, no run logs. The paper website shows hand-picked traces only. The union-of-two arithmetic is therefore currently trust-the-authors |
| Rerunnable models | GLM-5.2 is the only evaluated model with open weights ([zai-org/GLM-5.2](https://huggingface.co/zai-org/GLM-5.2), MIT, 753B MoE, served by live HF inference providers). Opus 4.8, Sonnet 5, GPT-5.5 and Mythos 5 need separately approved API access; Mythos 5 has no public API |
## The recomputation script
[`recompute_union.py`](https://huggingface.co/datasets/AXONVERTEX-AI-RESEARCH/cryptanalysis-bench-claim-audit/blob/main/recompute_union.py) recomputes the union-of-two-runs rate from retained harbor logs (read-only, no rerun):
```bash
python recompute_union.py jobs/<run-id-A>/ jobs/<run-id-B>/
```
It parses each trial's `result.json` (harbor `TrialResult` schema: `task_name`, `verifier_result.rewards.reward` with the first-value fallback, `exception_info`), applies harbor's own pass rule (reward ≥ 1.0 **and** no exception), unions across the two runs per task, and prints the per-task table plus the headline rate. It warns if the task count is not 49 or if a task has more than one trial per run, and exits non-zero in that case so the number cannot be quoted accidentally.
## What would settle the claim
1. **Free and exact:** the authors' harbor job directories (`result.json` per trial) — then `recompute_union.py` yields the exact 49-task union with no rerun. A [request to ethz-spylab](https://github.com/ethz-spylab/cryptanalysis-benchmark) is the cheapest path.
2. **Paid rerun:** GLM-5.2, Tier 1, 2 runs, paper-exact budgets (`--agent-timeout-sec=7200 --verifier-timeout-sec=7200 --subset=benchmark`), harbor 0.13.1 with `terminus-2`, CPU task containers matching the paper's 8-core/20 GB spec. Roughly 98 task-runs × 4 h worst case; GLM-5.2 token spend is the dominant cost. A rerun would falsify the GLM-5.2 row (65.3%) if it lands clearly below, or support the claim if it lands near it.
3. **Not reproducible without special arrangements:** the Opus 4.8, Sonnet 5, GPT-5.5 and Mythos 5 rows.
## Deviations / caveats of any rerun
- Served model endpoint differs from the authors' (HF inference providers vs. their API) — token spend bills separately and is not estimated here.
- The paper's own AIMer control shows some successes are memorized known attacks; a rerun verifies harness numbers, not independent rediscovery.
- Internet-enabled agent runs would need the paper's post-hoc audit (using the recorded `verification_game_ids.txt` to split oracle logs) to rule out lookup of known attacks.