The Agentic Compressor
★ Giulio Ruffini, Francesca Castaldo,
★ guarantor: Giulio Ruffini · vouches for the paper per WP0084 §6
Within the Kolmogorov Theory (KT) framework, the Modeling Engine (ME) is the subsystem that builds, maintains, and deploys compressive world models. Previous work has formalized the ME's output---compressed representations satisfying mutual algorithmic information constraints---but has treated the process of model construction as a black box. We argue that this process is itself an action-selection problem: at each internal step, the agent must choose among internal operations (attend, simulate, reparameterize, revise a submodel, query memory, invoke symbolic reasoning) so as to maximize the compression gain of the resulting model. We call this the Agentic Compressor: a modeling engine equipped with an internal planning loop whose action space consists of model-building operations and whose objective is compression improvement. We formalize the internal action space and compression-gain objective, show that attention during Transformer training is already a primitive instance of agentic model construction, and situate the proposal relative to existing work on world models, active learning, adaptive computation, and AI-driven scientific discovery. We further observe that the Planning Engine's ability to act on the Modeling Engine creates a second, potentially dysfunctional mode: when no external action can improve valence, the agent may modify the world model not to improve compression but to improve how the world feels---sacrificing model accuracy for affective relief. We argue that phenomena such as religious belief, denial, and dissociation can be understood as instances of this valence-driven model revision, and discuss the conditions under which such ``compression--valence tradeoffs'' are adaptive versus pathological.
A modeling system should not just learn from data — it should plan how to learn, treating model-building itself as a space of strategic choices.
The core intuition is simple but underappreciated. When a physicist builds a model, she doesn't just absorb data and run gradient descent. She asks: which hypothesis is worth testing? Which part of my current model is probably wrong? Should I reparameterize, unify two subtheories, or focus attention on the anomalous data points? These are choices — and they're made strategically, guided by an implicit sense of which move will most improve the model's explanatory power. This paper argues that any serious agent architecture needs to formalize exactly this process.
Within BCOM's Kolmogorov Theory (KT) framework, an agent is decomposed into a Modeling Engine (ME, which builds compressed world models), an Objective Function (OF, which assigns a scalar "valence" to states), and a Planning Engine (PE, which selects actions). Previous work specified what the ME must produce — compressed representations satisfying mutual algorithmic information constraints — but left the process of model construction as a black box. This paper fills that gap by proposing the Agentic Compressor: a ME equipped with its own internal action space (attend, simulate, compare hypotheses, reparameterize, revise submodels, invoke symbolic reasoning, etc.) and an internal planning loop whose objective is compression gain — the reduction in description length achieved by a given model-building move. The agent now runs two coupled planning loops simultaneously: one acting on the world, one acting on its own model.
Transformer attention turns out to be an existence proof that this idea already works in practice. During training, attention dynamically routes gradient signal so that different parameters are updated differently depending on the current example — that's implicit, selective model revision. It's one internal action (attend + revise) implemented differentiably. The Agentic Compressor generalizes this to a full repertoire of model-building operations under an explicit planner, rather than a single implicit mechanism.
The paper's most striking section concerns what happens when this architecture goes wrong. The agent has one Objective Function: telehomeostasis — persist. Normally, compression gain serves this goal, because better models enable better planning. But when no external action can relieve persistent low valence, the same internal planning machinery can be redirected to modify the world model not for accuracy but for affective relief — making the world feel better rather than making the model truer. The paper argues this single mechanism accounts for religious belief, denial, dissociation, and delusion: all instances of the planning engine sacrificing compression quality to keep valence above a viability threshold. Whether this tradeoff is adaptive or pathological depends on whether the resulting model degradation creates a vicious cycle (worse model → worse planning → lower valence → more distortion) or a one-time rescue that restores function.
- Zenodo
- 10.5281/zenodo.21008608
- WP ID
- WP0068
- Lifecycle
- ongoing
- Visibility
- internal
- Access level
- open
- Embargo until
- —
- Priority
- —
- Collab
- closed
- Venue
- —
- DOI
- —
- Deadline
- —
- Owner
- —
- Source
- drive_legacy
- Repo path
- WP0068-The_Agentic_Compressor
- v0.1.0 (draft) · drive-legacy · zenodo:21008609Auto-created by Phase 1a bootstrap ingestion.
