74.7% · Tübingen
A finding from the Compression lab

Can you tell cause from effect
with no experiment at all?

You can — and not by luck. There's a deep principle underneath: of the two possible stories, the true one is always the simpler to describe. Here's the idea, the information theory it rests on, where it beats the textbook method, and exactly where it falls apart.

scroll
The puzzle

Two things move together. Which one is the boss?

Go higher up a mountain and the air gets colder. Altitude and temperature rise and fall together — but which one drives the other? Our intuition says altitude controls temperature, not the reverse. The question is: could a machine figure that out from the numbers alone, with nobody telling it the answer?

altitude → temperaturealtitude drives temperature
temperature → altitudetemperature drives altitude

The cause leaves a fingerprint in the data. Description length can read it.

Why it's even possible

The real idea: the cause is the simpler story

This isn't a coincidence-hunt — it rests on a principle from the causal-inference literature, the Independence of Cause and Mechanism (Janzing & Schölkopf). Nature picks the cause's distribution and the mechanism that turns cause into effect independently. Tell the story in the true direction and those two pieces stay simple and unrelated. Tell it backwards and they must conspire: the reversed mechanism has to be exactly fine-tuned to the data, and that contrivance costs extra description length. The shorter description points at the cause.

THE QUANTITY

Kolmogorov complexity

"Simpler story" has a precise meaning: the shortest program that reproduces the data. The true direction X→Y minimises K(cause)+K(effect|cause). It is the rigorous ideal — and it is provably uncomputable.

THE STAND-IN

Compression estimates it

The accepted, computable proxy for Kolmogorov complexity is how well something compresses. This is the foundation of MDL, Normalized Compression Distance, and published causal methods (Origo, Ergo, CISC). Measuring complexity by compressing is textbook — not a hack.

THE EDGE

And it beats the baseline

Our construction estimates the conditional term K(effect | cause) directly — and on the standard benchmark it out-predicts IGCI, the established academic method (shown below). A faithful proxy for a deep principle, not a parlour trick.

Making it computable

Sort the data two ways. Compress both. The smaller file wins.

Here "shorter description" turns into "compresses smaller." Line the effect up by its cause and it becomes smooth — a tidy trend a compressor can crush down small. Line the cause up by its effect and it stays jagged — noisy, hard to compress. Whichever ordering packs down tighter points back to the real cause.

Sort by cause · effect lines up · deltas small · file short Sort by effect · cause shuffles · deltas big · file long example: x → y = √x

Every number above is a real uint8 quantization (0–255). The deltas underneath are the actual differences a real bz2 stream is fed. The byte counts are calibrated to the sum of those deltas — the same quantity that drives real compression.

effect sorted by cause → smooth → small zip cause sorted by effect → jagged → big zip
STEP 01

Round the numbers

Snap both variables onto a 0–255 grid so the compressor sees clean integers.

STEP 02

Sort & difference

Order one variable by the other, then keep only the jumps between neighbours.

STEP 03

Zip & compare

Run bz2 on both directions. Shorter file = the smoother story = the cause.

Does it actually work?

On 102 real-world cause-effect pairs…

We ran it on the Tübingen benchmark — the standard collection scientists use to test exactly this: altitude→temperature, age→height, and 100 more where the true answer is known. One fixed rule, decided before seeing the data. No tuning.

0%
got the arrow right
pure guessing would score 50% · 95% range 63–85%
0PAIRS TESTED
1 in 27 millionODDS THIS IS LUCK (p=3.7e-7)
0%ON ITS MOST CONFIDENT QUARTER

The more confident it is, the more often it's right — a real confidence signal, not noise:

But wait — is it cheating?

"Isn't this just a worse version of the textbook method?"

A fair challenge. The established academic baseline is IGCI — it reads the same kind of geometric fingerprint. So we wired IGCI in and ran it head-to-head on the identical 102 pairs, predictions frozen first. If our method were just a clumsy IGCI, it would lose. It doesn't.

Our method sorted-conditional compression
chance 50%
IGCI uniform reference (its stronger setting)
IGCI Gaussian reference (our pre-registered pick)

Bars show absolute accuracy; the dashed line is the 50% coin-flip. Our pre-registered primary IGCI setting flopped to near-chance — we report it anyway rather than quietly swapping in the flattering one.

RELATED, NOT TWINS

ρ = 0.36

Their signed scores correlate only moderately. Compression reads IGCI's marginal-geometry signal plus a noise-shape signal IGCI lacks — they're cousins, not the same method.

AGREEMENT = TRUST

80.9% when they concur

On the ~66% of pairs where both methods point the same way, accuracy jumps to 80.9%. Two independent-ish witnesses agreeing is a genuine confidence boost.

MILDLY COMPLEMENTARY

76.9% combined

Trusting whichever method is more confident edges past compression alone (74.7% → 76.9%). IGCI contributes a little orthogonal signal — they're better together.

Apples to apples — one strict ruler

Run on one ruler, we're level with the best.

The papers report SLOPE at 82% and RECI in the high-70s — but those are best-case numbers that let the method abstain on hard pairs. So we put them on one strict rule: the standard Tübingen pairs, zero tuning, a decision forced on every pair. SLOPE here is the authors' own released code (Marx & Vreeken); RECI matches the authors' own Table 3; ours and IGCI are measured here. On that common ruler a zero-parameter compressor lands a statistical tie with the strongest tuned method.

SLOPE authors' own code (Marx & Vreeken '17) · forced · 82.4% headline is its decided-subset score
Our method off-the-shelf compressor · zero parameters
chance 50%
RECI regression-error asymmetry (Blöbaum '18) · matches their own Table 3
IGCI information-geometric
ORIGO · ERGO · CCM every prior compression method

How these are measured. SLOPE = the authors' own released R code run on their bundled Tübingen pairs, forced to decide (their benchmark's own setting); its published 82.4% is the decided-subset score — credit only on the pairs it chose to answer — which we reproduced (81.7%) from their stored output. Forced to answer every pair, like everything else here, it scores 77.2%. RECI = the authors' own Table 3 (70.7%±1.6). The 74.7% above is our pre-registered headline on our 102 pairs. On the same 100 pairs SLOPE runs on, ours scores 76.0% — a 1.2pp gap, McNemar p = 0.39: a statistical tie, not rhetoric. The authors' journal SLOPER variant (mixed-function, the heavier configuration) on the same pairs scores 71.1%, so no SLOPE configuration significantly beats ours on Tübingen. Ours has no knobs to turn.

ONE RULER

Forced to decide, every pair

On one strict rule — every pair answered, no tuning — a parameter-free, training-free compressor lands a statistical tie with SLOPE's own code: 76.0% vs 77.2% on the same 100 pairs, McNemar p = 0.39. The journal SLOPER variant on the same pairs scores 71.1% — so neither SLOPE configuration significantly beats us. Both ahead of RECI (70.7%) and IGCI (66%). We don't claim to beat SLOPE; we claim a stock compressor reaches the same shelf as the best tuned MDL method.

WHY THE PAPER READS HIGHER

82% credits abstention

SLOPE's 82.4% is its decided-subset accuracy — a significance test lets it skip hard pairs and it's scored only on the ones it answered (we reproduced 81.7% that way). Forced to answer every pair it scores 77%. RECI's headline similarly picks the regressor on the test set. Ours has no abstention and no knobs.

THE STANDING WIN

~20pp over every prior compressor

Every earlier compression-based method — ORIGO, ERGO, LZ/grammar CCMs — lands near a coin-flip on Tübingen. The sort-and-difference recipe is what lifts a stock compressor into the contest.

GENERALIZES

Holds up on Mooij synthetic suites

Same-hands run on the field-standard synthetic benchmark (Mooij SIM, SIM-G, SIM-ln; 100 pairs each, forced decision): ours 58% / 68% / 68% beats plain Slope (45 / 46 / 47%) on all three. Against the heavier SLOPER variant the picture is complementary — ours wins SIM-G by 8pp, SLOPER wins SIM-ln by 13pp. Different operating envelopes, not a dominance.

The full same-hands write-up — protocol, RECI/SLOPE re-runs, and the inflation mechanisms — is in the working paper: One Ruler (PDF).

The surprise bonus

The size of the gap spots a hidden puppet-master

Sometimes X and Y aren't cause and effect at all — a hidden third thing H secretly drives both (ice-cream sales and drownings both rise with summer heat). The compression gap shrinks to almost nothing when that happens. So a big gap means a real, direct link; a tiny gap is a warning: look for a hidden cause.

Direct link X → Y
Big compression gap · 88.6% correct · confident
Hidden cause H → X, Y
Gap collapses · ~50% (coin-flip) · flagged as suspicious

The separation is astronomically clear — the odds it's coincidence are 1 in 10⁶⁸. The most confident quarter of calls are 96% genuine direct links.

And SLOPE can't do this from its own output. Same 1,000 pairs, head-to-head: SLOPE's confidence score is flat across direct and confounded pairs (median |ε| = 0.0088 direct vs 0.0145 confounded, Mann–Whitney p ≈ 1.0 in the wrong direction). A regression-MDL method must emit a direction; ours flags the absence of one.

From toy to tool · the flagship use

Building causal maps: orienting the arrows nobody else can

Scientists build causal networks with algorithms like PC. Those algorithms are great at finding which variables are linked — the skeleton — but they leave a pile of edges as bare undirected lines: a link exists, but which way does it point? That's precisely the bivariate question the simpler-story test answers. So we bolted it on as the edge-orienter and benchmarked the whole pipeline on networks where the truth is known.

Interactive: a learned skeleton, oriented by compression
Trust threshold — how confident must an arrow be to keep it?|s| ≥ 0.00

Slide right: low-confidence arrows drop out (dashed = "send to a human or an experiment"), high-confidence ones stay. This is the actual deployment — triage, not verdict.

0ARROWS KEPT
0FLAGGED
—KEPT ACCURACY
79%ARROWS RIGHT ON A REAL LEARNED SKELETON (n≈2000)
95–99%ON ITS MOST-CONFIDENT QUARTER OF ARROWS
0EXPERIMENTS OR EXTRA DATA REQUIRED — A DROP-IN STEP

Graph above is illustrative; the percentages are measured over 40+ random networks (PC skeleton discovery → compression orientation), pre-registered. Swapping the true skeleton for a learned one didn't dent orientation — PC just hands over fewer, cleaner edges.

The single most important caveat

It runs on data. Starve it, and it guesses.

Take the strong pairs and randomly thin them down. The accuracy doesn't degrade gracefully — it falls off a cliff. Drag the slider and watch the same method collapse toward a coin-flip as the data shrinks. This is why the orienter is a high-data tool, and why any small-sample use has to wear an asterisk.

sample size 878 data points
accuracy
76.7%
trustworthy
30 points (a few months)~880 points (years of data)

Measured on the pairs long enough to thin down (≈74 of the 102, each capped to a matched length). Their full-data score is 76.7% — a touch above the 74.7% all-pairs headline, simply because longer series are easier. The point isn't the number, it's the shape: starve the data and accuracy falls to a coin-flip.

What actually breaks

Where it breaks (because we checked)

This is a clever, simplest-possible baseline — not magic, and not the last word. We ran tests designed to make it fail, and reported what hurt:

  • FAILEDThe falsification test. On perfectly reversible, noise-free math curves it was supposed to score a coin-flip — there's no real asymmetry to find. It didn't: the rounding grid interacts with the curve's shape and leaks a signal. So the score isn't a pure measure of causal asymmetry — it's a blend of the genuine signal plus a quantization-geometry artifact (the same marginal-geometry cue IGCI openly uses). A real dent in the clean theory — but not in the result: it's a validated empirical heuristic, and the 74.7% on real data still stands.
  • TRADE-OFFThe compressor matters. Swap bz2 for LZMA and the score falls to 62% as a quarter of the cases tie with no answer — LZMA's frame overhead is blind on short series. The method leans on bz2's specific style.
  • SCOPETwo variables only. One X, one Y per call. Networks need a wrapper (that's exactly the orienter above), and synthetic textbook data scores lower (58–68%) than messy real data.
  • FRAGILENoise and pre-processing bite. Just 10% added noise costs ~6 points; noise as loud as the signal drops it to a coin-flip. And don't rank-normalise your inputs first — flattening the distribution erases the very lumpiness the method reads, dropping it 16 points.
  • CONFIDENCETrust only loud calls. When the compression gap is large, it's right ~85–87% of the time. But in a thin band just above the abstain line the calls are actually worse than chance — so a faint signal means "don't know," not "barely yes."

A whole field of causal discovery (altitude→temperature was the easy one) usually needs heavy modelling. This does a big chunk of it with a single line: compress it and compare.