Derver
Applied machine learning / AI reasoning

What can a mind
afford to forget?

Reasoning Under Compression

Saying less can require knowing more.
Could compression offer a clue to intelligence?

Explore the study

01 / Compression and intelligence

Say less.
Keep the meaning.

Recognise a pattern.
Leave some details unsaid.
Keep enough to think further.

An expert can explain an idea in a few words because shared knowledge fills the gaps. Recognising structure makes some details predictable, so they need not be repeated. This is one connection between compression and intelligence: a shorter message can draw on a richer model of the world.

Reasoning adds a harder choice. A long argument contains intermediate steps, checks and abandoned paths. Which can disappear while its conclusions remain usable? A compact memory must preserve what the next question may need.

From a history to memory for the next question The moving point connects a history, recognised patterns, compact memory and a future question. This is a conceptual illustration: the next question determines which distinctions the memory needs to preserve. h p m ? History Pattern Memory Next use
From what happened to what remains useful / A conceptual sketch

Our experiment begins with a measurable part of that question. OpenMementos pairs reasoning passages with shorter notes, called mementos. We ask whether the amount of shortening follows patterns that a model can learn, before testing the deeper question of what those notes preserve.

The data and prediction target

The selected OpenMementos build contains 228,557 traces and 2,013,510 block–summary pairs across math, code and science. The ratio is summary tokens divided by block tokens. “High compression” marks the lowest training quartile, at about 0.1089. A separate prompt task uses a trace-level label and its own threshold. These labels describe observed shortening, rather than independently verified information retention.

02 / Two ways to learn the pattern

Many small rules.
A broader view.

Learn from examples.
Combine different views.
Test the pattern on unseen traces.

A decision tree learns a sequence of questions. Is the passage long? Where does it sit in the argument? Have earlier passages compressed strongly? Each answer narrows the comparison to examples with similar characteristics.

Random forests / Compare many views

One tree can follow an accidental pattern. A forest learns many trees from varied samples, with different measurements available at each split. Combining their predictions makes the judgment less dependent on a single view of the data.

Boosting / Improve the estimate in stages

Boosting builds a team sequentially. Each new tree learns where the combined estimate still needs correction, then adds a small adjustment. Simple rules accumulate into a model that can capture more intricate relationships.

We gradually widen what the models can see: the problem, the current passage, then earlier history. Testing on traces kept aside asks whether the learned patterns travel beyond their examples. A simple comparison based on passage length helps us judge what the extra machinery adds.

Model specification and evaluation

We compare a dummy classifier, random forests and histogram-based gradient boosting. Numeric and binary measurements pass through unchanged; categorical metadata are one-hot encoded in a scikit-learn pipeline fitted on training data. Current-block inputs include size, position, prompt surface features and metadata; history adds past lengths and compression measurements, excluding the current summary outcome.

An outer split holds out 20% of traces, with seed 42, keeping each trace’s blocks together. Hyperparameter selection uses a separate grouped validation split inside training, with 20% validation and seed 43, capped at 30,000 training groups. Candidates are ranked by validation ROC AUC, then the selected models are refitted on the outer training set. Prompt and block tasks have different targets; their scores do not isolate the gain from observing a block.

The findings and their limits

On the same 402,343 held-out blocks, current-block boosting reaches 80.76% ROC AUC and history-aware boosting 81.30%. An exploratory ranking by block length alone reaches 78.81%; the dummy reference is 50.00%. AUC measures ranking, not accuracy or information retained. These fixed-split comparisons have no paired confidence intervals, and boosting configurations differ. Reference build: 20260612_222038.

Summary sizes grow less than proportionally with block size, making the ratio partly predictable through its denominator. OpenMementos summaries can use full-trace hindsight. The finding supports learnable summary-length behaviour; it does not yet demonstrate preserved reasoning or an online memory policy.

03 / What intelligent memory preserves

Keep the distinctions
that matter next.

A result has conditions.
A decision has alternatives.
Useful memory leaves room to revise.

The connection to intelligence becomes sharper here. Recognising a pattern can make a description shorter; choosing a useful abstraction also requires knowing which differences still matter. Our hypothesis is that intelligent compression preserves the distinctions future inference will need.

Two histories

A / A private check passes.
B / The same check fails.

One memento

Both retain only:
“The proposed answer is X.”

Ask later whether the condition held. If the observation has disappeared from all available memory, the receiver cannot distinguish the histories. Illustrative example.

Finishing a task, justifying an answer and correcting an error place different demands on a summary. A rare qualification may matter more than pages of repeated text. Memory may need constraints, uncertainty and pointers to recoverable evidence.

A short message can borrow from a costly receiver

Model weights, the original prompt, retained contextual states and recomputation can all support a compact memento. A fair comparison accounts for those resources, as well as generation, retrieval and continuation. The shortest record of a successful computation need not be the cheapest way to discover or use its result.

04 / Applications to investigate

Better memory.
More useful systems.

Measure what forgetting changes.
Then learn when to retain,
compress or recover.

These ideas could help systems carry knowledge through longer work, keep evidence within reach and spend memory where it matters. The following applications are directions to test, building on the prediction study.

01 / Longer AI workflows

Help an agent carry assumptions and unfinished work from one step to the next. Useful memory should let it continue, explain its choices and correct course when circumstances change.

02 / Knowledge that keeps its evidence

Turn a growing collection of material into compact notes that retain qualifications and a way back to their sources. The opportunity is to make knowledge easier to use while keeping its basis available for review.

03 / Memory decisions under a budget

Learn when a brief note is enough, when more detail should remain and when the original evidence needs to be recovered. The aim is useful capability for the resources spent, with room to recognise what has been forgotten.

How we would test these applications

Compare prefix-only mementos with equal-budget truncation, extraction and full-history controls. Check continuation, justification and revision against independently verified outcomes. Change one decisive fact while holding length similar; separately test harmless wording changes. Only then learn a retain, compress or retrieve policy, comparing it with a simple length rule and accounting for generation, continuation, retrieval and recomputation. These experiments have not yet been performed in this repository.

What must your system
still be able to do?
Let’s frame the experiment.

Applied machine learning / AI reasoning

Reasoning
Under
Compression.

What can a mind afford to forget?

Saying less can require knowing more. Could compression offer a clue to intelligence?

01 / Compression and intelligence

Shared knowledge lets an expert leave some details unsaid. Recognising a pattern can make a message shorter. Reasoning adds a harder choice: what must remain for the next question?

OpenMementos pairs reasoning passages with compact notes. We investigate whether the amount of shortening follows patterns a model can learn, before testing what those notes preserve.

The data and prediction target

The selected build contains 228,557 traces and 2,013,510 block–summary pairs. High compression marks the lowest training quartile of summary-to-block token ratios, at about 0.1089. The separate prompt task uses a trace-level target. These labels measure shortening, rather than independently verified retention.

02 / Two ways to learn

A decision tree learns a sequence of questions about a passage. A random forest combines many trees trained from different views of the examples, reducing reliance on a single tree’s judgment.

Boosting adds trees in stages. Each learns where the combined estimate still needs correction. We compare what the models learn from the problem, the current passage and earlier history, then test on traces kept aside.

Evaluation and findings

A 20% trace-grouped holdout uses seed 42; selection uses a separate grouped validation split inside training, with seed 43. Preprocessing is fitted on training data. On 402,343 held-out blocks, current-block boosting reaches 80.76% AUC, history-aware boosting 81.30%, and exploratory block-length ranking 78.81%. AUC measures ranking, not retention. There are no paired confidence intervals; boosting settings differ, and summaries can use full-trace hindsight. Reference build: 20260612_222038.

03 / Keep what matters next

A useful abstraction keeps the distinctions that future inference will need. This is the connection to intelligence we want to test: finishing, justifying and revising an answer place different demands on memory.

If two histories differ in a decisive observation but retain the same answer-only note, that note cannot tell a later receiver which observation occurred. Useful memory may need conditions, uncertainty and evidence pointers.

04 / Applications to investigate

Help agents carry assumptions through longer work. Create compact knowledge records that keep qualifications and a way back to evidence. Learn when a brief note is enough and when more detail should remain.

These are application directions to test. Their value depends on what a system can still do after compression, alongside the resources it spends.

How we would test these applications

Compare prefix-only summaries with equal-budget truncation, extraction and full-history controls. Check continuation, justification and revision using independently verified outcomes. Then compare learned memory decisions with a simple length rule, accounting for generation, retrieval and recomputation. These experiments have not yet been performed.

Let’s frame the experiment.