Agentic Algorithm Engineering (AAE): optimize code with falsifiable hypotheses
- ID: 17cce572
- 原文链接: https://chszlab.github.io/AgenticAlgorithmEngineering
- 作者: David A. Bader, Adil Chhabra, Ernestine Großmann, Monika Henzinger, Alexander Noe, Christian Schulz (Heidelberg Algorithm Engineering Group)
- 日期: 2026-11-26 (page fetched; companion paper arXiv:2609.07204, DIMACS 2027)
- 更新: N/A
- 分类: agents
- 来源类型: article
- 标签: agent-skill, performance-engineering, claude-code, correctness
- 质量评分: 4/5
- 抓取时间: 2026-11-26T12:21:23Z
中文导读
海德堡大学算法工程组把设计-分析-实现-实验循环交给自主代理:AAE 是 Claude Code/Codex 技能,约定基准指标断言与预算后自动运行,每个实验先给可证伪假设与预测效应量,改动以最小提交落地,只在变快且仍正确时保留开源代码上的结果:VieCut 提速 8.9 倍且割不变,KaHIP kaffpa 3.9 倍且分割质量不降,伪流最大流 3.0 倍,FREIGHT 1.82 倍输出逐位一致,ParHIP 1.61 倍分区字节级一致;每个改动附编号补丁与逐假设 PDF 报告,配套论文 arXiv 2609.07204对智能体工程更有参考价值的是基准指标断言预算前置约定的可复用契约
为什么值得关注
Heidelberg's AAE skill makes Claude Code optimize C like an algorithm engineer: falsifiable hypothesis, one patch per win
Fetched from the project page: kept changes are verified against the original output - VieCut 8.9x with every cut unchanged, KaHIP kaffpa 3.9x with partition quality unchanged (122 experiments, 69 hypotheses, 41 patches in one session), pseudoflow 3.0x verified on 164 instances, FREIGHT 1.82x bit-identical, ParHIP 1.61x byte-identical. The workflow contract - falsifiable hypothesis with predicted effect size, agreed benchmark/metric/assertions/budget up front, one numbered patch per accepted change, per-hypothesis PDF report, shared knowledge base - is the reusable part for agent engineering.
关键信息
- 标题: Agentic Algorithm Engineering (AAE): optimize code with falsifiable hypotheses
- 作者: David A. Bader, Adil Chhabra, Ernestine Großmann, Monika Henzinger, Alexander Noe, Christian Schulz (Heidelberg Algorithm Engineering Group)
- 链接: https://chszlab.github.io/AgenticAlgorithmEngineering
- 发布时间: 2026-11-26 (page fetched; companion paper arXiv:2609.07204, DIMACS 2027)
- 分类: agents
- 关联标签: agent-skill, performance-engineering, claude-code, correctness
English Summary
Agentic Algorithm Engineering (AAE), a Claude Code and Codex skill from Heidelberg's Algorithm Engineering Group, hands the design-analyze-implement-experiment cycle to an autonomous agent: every experiment starts from a falsifiable hypothesis with predicted effect size, correctness assertions are agreed during setup, changes land as minimal commits, and only changes that get faster while staying correct are kept. On established open-source codes: VieCut 8.9x faster with cuts unchanged, KaHIP kaffpa 3.9x faster with partition quality preserved, pseudoflow max-flow 3.0x, FREIGHT 1.82x with bit-identical output, ParHIP 1.61x byte-identical. Each accepted change ships as a numbered patch plus a per-hypothesis PDF report (paper: arXiv 2609.07204). For agent builders the interesting part is the reusable contract: benchmark, metric, assertions, budget fixed upfront, then the agent runs alone.
Source Excerpts (opencli web read, 2026-11-26 (page fetched; companion paper arXiv:2609.07204, DIMACS 2027))
Agents that optimize your code like an algorithm engineer: a falsifiable hypothesis before every experiment, correctness checked after every change, one reviewable patch per accepted change, and a PDF report of the whole session.
A skill for Claude Code and Codex, from the Algorithm Engineering Group at Heidelberg University.
| VieCut | exact minimum cut | 8.9x faster | every cut unchanged | v2.0, paper |
| KaHIP kaffpa | graph partitioning | 3.9x faster | partition quality unchanged | v3.26, report |
| Hochbaum's pseudoflow | maximum flow | 3.0x faster | flow value verified on 164 instances | KB 039 |
| FREIGHT | streaming hypergraph partitioning | 1.82x faster | bit-identical output | KB 035 |
| ParHIP | distributed graph partitioning (MPI) | 1.61x faster | byte-identical partitions | KB 040 |
Algorithm Engineering is a cycle of design, analysis, implementation and experiment, driven by falsifiable hypotheses. AAE hands this cycle to an autonomous agent. During setup you agree with the agent on the benchmark, the metric, the correctness assertions and the budget; then it runs on its own.
A falsifiable hypothesis: "changing X will improve the metric by roughly Z, because ..."
A minimal change, committed to Git, with the correctness assertions checked.
Run the benchmark; keep the change only if it is better and still correct, otherwise revert.
One patch per accepted changeNumbered Git patches in patches/, each with its hypothesis, easy to review and apply.
A PDF reportThe trajectory of the metric and one page per tested hypothesis: intuition, prediction, measurements, verdict.
From the report of the KaHIP kaffpa session: 122 experiments, 69 hypotheses, 41 patches, 3.9x faster in total.
| Before each experiment | the agent's next idea | a proposed mutation | a falsifiable hypothesis with its predicted effect |
| Correctness | the metric | the evaluator score | assertions agreed with you, checked after every change |
| What you get | improved script and log | best program and population | one patch per change, a PDF report, lessons in a shared knowledge base |
Obsidian Notes
- 内容由
opencli web read抓取原文页面生成。 - 中文导读与价值判断锚定在条目已有摘要;Source Excerpts 直接摘自抓取的原文正文,未添加页面之外的事实。