Verified speedups, without trusting the claimant
Declare a problem. Get a challenge anyone can verify.
Someone says their algorithm is faster, their model is better, their benchmark is real. How would you check? Describe the problem once. The compiler builds a fair test, runs it, and produces a certificate anyone can re-check.
How we count speed: 3 bits faster means 8 times faster, and 10 bits means about 1,000 times. Each extra bit doubles it.
An illustration, not a result
Two solvers, the same questions
Say two people each write a program that factors big numbers. Both are given the same 100 numbers, made from a secret number that nobody could see in advance. The first program takes 40 seconds on the hard ones. The second takes 5. That is 8 times faster, or 3 bits. This site is a way for a stranger to confirm a claim like that without taking anyone's word for it.
Show what the compiler really prints
Real compiler output, for the aidecode example
aidecode: READY
the challenge : sizes [544, 640, 704, 800, 864, 960], CPU cap 30 s, 12 instances per size; one submission costs about 1.2 CPU-hours (worst case 3.6)
it can certify: speedups from about 1.5 to about 4 bits over your reference
self-test : passA shortened version of what python3 compile_domain.py show aidecode prints. See the full card.
In that printout, the size ladder is the list of question sizes and the CPU cap is the time limit per question.
Start here
I have a problem
You can say exactly when an answer is right, and you have a plain solver to compare against. The compiler turns that into a fair test.
I want a verified measurement
Not entering a competition. You have a solver, an attack, or a benchmark and you want a certificate anyone can check independently.
I have a faster solver
Write one Python file with a function called solve, check it locally, and see how it would be measured.
I want to check a claim
You do not have to trust anyone. Recompute a result from its file, check a commitment yourself, or read what a result does not prove.
Every claim is filed under a kind of speedup
Related problems, kept together
Every problem, proposal and result on this site is filed under one kind of speedup, chosen from this fixed list, so related problems are easy to find. A speedup is always measured against that problem's own baseline, so a result is compared only with others on the same problem, under the same rules. The kind does not turn different problems into one ranking.
Lattice problems
Short vectors, learning with errors, NTRU and SIS: finding structure in a lattice. A faster lattice reduction or sieve is a real security result.
Factoring and discrete logarithms
Integer factoring, discrete logarithms, and partial-information attacks on them. A faster method here breaks deployed public-key systems.
Search and optimisation
Subset sum, graph cuts, satisfiability and similar: a better exact or heuristic search, judged on answers that can be checked or scored.
No problem filed here yet. Propose one.
AI inference and decoding
Running a fixed model faster at equivalent output: caching, batching, pruning, lower precision. Measured as time, operation counts or GPU time.
AI training
Training a model to a target accuracy with fewer operations: optimisers, momentum, feature scaling, learning-rate choices, early stopping. Judged on a hidden test set and measured as exact operation counts.
Tested on: aimlp (counted operations), aitrain (counted operations).
Quantum circuits
Circuit-level claims: fewer gates or lower depth for the same unitary or distribution.
No problem filed here yet. Propose one.
Other
Fits none of the above. Say in NOTES.md what is being sped up; if several proposals land here the operator adds a class.
No problem filed here yet. Propose one.
Proposing a problem? Name its kind with one line, SPEEDUP = "lattice", in your declaration; guldo intake classes lists them. The Domains page, the Results page and the Compete page are grouped the same way. The list is fixed by the operator so that labels do not drift apart.
Open to outside proposals
Propose a problem
If you can say exactly when an answer is right, and you have a plain solver to compare against, you can propose it as a public challenge. Write the pieces, send them as one file, and an operator reads and tests them before anything is run.
From a declaration to a certificate
Describe the problem
Write three small pieces: how to make a test question from a secret number (with the answer hidden inside), how to check an answer exactly, and a plain baseline solver to compare against.
python3 compile_domain.py init mythingCompile it into a test
The compiler checks that your problem can't be gamed, times your baseline, picks the test sizes and time limit, and works out what size of speedup it can actually prove. It ends with READY or NOT READY.
python3 compile_domain.py compile mythingGet a certificate
After a round, one file holds the claim, the rules, the secret numbers and every raw measurement. Anyone can recompute the result from it, and checking it never runs the file's code unless you ask. It cannot show the CPU costs were honestly measured: that needs the verified sandbox, or re-running instances yourself.
python3 certificate.py verify x.cert.jsonThe compiler and certificates are built and tested, but no round has run on a verified sandbox yet, so no certificate here is official. Domains shows what each test can and can't prove; the guide explains how to write a problem and check a certificate.
AI and benchmarks
Verifiable AI measurements
Someone says their model is faster, their kernel is better, their inference costs less. How would you check? The same protocol works here: committed instances, measured costs, certificates anyone can recompute.
Counted operations
Every tensor operation is charged a cost from its shapes. Anyone can re-run any record and must get exactly the same counts, on any machine. It proves a solver needs fewer operations (a cache, pruning, an early exit). It cannot show that a solver is faster at the same arithmetic.
Timed inference
The full protocol applied to model inference: classify a committed batch, seeds first, certificate after. The same protocol as the algorithmic problems; the locked box itself has not yet run an official round, so nothing here is certified.
GPU time
The operator's clock on one pinned device. Weakest evidence: it can be re-measured on the same hardware but never re-executed exactly. It says what happened on one machine, nothing about another.
What can be tested
An AI technique can be tested here when it can be written as a small program that answers committed questions, with a checker that can verify each answer exactly. Techniques already built and measured: a cache for text generation, lower precision, and training methods compared with each other (conjugate gradient against plain gradient descent, momentum against Adam).
How two techniques are compared
Both run on the same questions. The result is the gap in bits at every size, how many operations each one spent, and a significance test only where costs really vary between questions. Anyone can re-run the records and must get the same numbers.
What does not fit yet
This is not a test for any AI technique. The models here are small on purpose, so what carries over to large models is the method of comparison, not the numbers. A claim that lives in GPU kernel speed, memory traffic or training at scale rests on the operator's own clock, the weakest evidence above. A technique whose quality cannot be checked automatically cannot be scored at all.
Each gives different evidence and each says what it cannot show. Full details on the Domains page. AI measurements use the same certificates and attestations as everything else: certify a result without entering a competition, or compete in a round.
How a test stays fair, in four steps
Commit
Before anyone submits, the judge publishes a fingerprint (a hash) of a secret number. Every test question is generated from that number, so nobody can prepare answers in advance, and the judge can't swap the questions afterwards.
Solve
The submitted solver and the baseline get the same questions, one process each, with a time limit. Every question has a known answer hidden inside it, so every one can be solved.
Check
Every answer is checked exactly. A wrong or missing answer is charged the full time limit, so giving up on the hard questions can't look like being fast.
Score
Questions are grouped by how hard the baseline found them. The score is a cautious estimate of the speedup on the hardest groups: a number we are 95% sure the true speedup is at least as large as. A lucky run can't inflate it.
Words used on this site
- Bits
- How we count speed. Each bit doubles it: 3 bits is 8 times faster.
- Kind of speedup
- The fixed category a problem, proposal or result is filed under (lattice, number theory, search and optimisation, AI inference, quantum, other), so related problems sit together. A result is compared only with others on the same problem: bits on one problem are not bits on another.
- Baseline (reference solver)
- The plain, standard solver every other solver is compared against.
- Instance
- One test question. A solver gets it and must return an answer.
- Size ladder
- The list of question sizes used, from easier to harder.
- Time limit (CPU cap)
- The most CPU time one question may take. Failing or timing out is charged the full limit.
- Seed and commitment
- A secret number that every question is generated from, and its published fingerprint. The fingerprint proves the questions were fixed before anyone submitted.
- Certificate
- One file with the claim, the rules and every raw measurement, so anyone can recompute the result.
- Official (certified)
- A result measured inside the strict, locked-box test environment, on three independent secret numbers, at the problem's full question count and time limit. No result on this site is certified yet.
- Locked box (sandbox)
- A sealed environment that runs other people's programs so they cannot read the answers, hide work or tamper with the timer.
- Round
- One contest: the secret numbers are fingerprinted first, solvers are submitted until a deadline, then everything is run and the secrets are revealed.
- Lattice, factoring, dlog
- The puzzle types used so far: finding a short vector in a grid of points; splitting a big number into smaller ones; finding the exponent in a modular power (the discrete logarithm).
- Exact count (step counting)
- Counting the Python instructions a program runs instead of timing it. Anyone on the same Python version gets the same number, so nobody has to trust a clock or a computer.