A modern house with solar panels and a charging electric car at the edge of open fields, at golden hour
AI Policy Breakers #01

What do we mean by self-learning?

One sentence in an AI policy. Four reasonable readings. Four different implementations.

Fabian Langer · · 9 min read

Part 1

One sentence, two systems # link

“Self-learning AI is not allowed here.” I heard that sentence recently at a client, as a rule from their AI policy. My first reaction: makes sense.

The person who said it pictured an AI agent that keeps working on its own until it reaches its goal. That is no longer science fiction: in July, an OpenAI agent broke out of its test environment during an internal security evaluation and got into Hugging Face's systems. With some safeguards deliberately switched off, but still.1

Only, I was talking about something else. I was thinking of a perfectly normal machine learning process: a predictive model that gets retrained now and then. Same word, two completely different systems.

An agentthat keeps going on its ownA modelthat gets retrainedself-learning
Part 2

Retraining is not the same as online learning # link

Take the energy sector, where a forecasting model predicts how much electricity is needed tomorrow. Solar panels and electric cars create new behaviour. The world changes, so the model has to change with it.

Model A: new observations, retraining, validation, a new version, a controlled rollout. In MLOps this is called Continuous Training.2 The parameters change, but in a separate training cycle, not during a prediction.

Model B: every new measurement updates the model straight away. The next prediction already comes from a different model. That is online learning,3 and if I had to point at one technical example of ‘self-learning’, it would be this one.

A · MODEL RETRAININGmodel v1New dataRetrainValidateApprovalv2 liveThe production model itself does not change during a prediction.B · ONLINE LEARNINGPredictMeasureUpdateθ₁Every measurement updates the parameters: the next prediction comes from a different model.
Part 3

Not everything that adapts, learns # link

Retraining creates a new model version. In between there can be a tightly controlled process: data validation, model validation, versioning and deployment approval.

With online learning the model parameters change while in use. That raises its own questions: which observations may influence the model, and how do you monitor something that keeps changing itself?

An agent with memory remembers what worked, while the underlying model learns nothing. The weights stay the same; the system does change, and that memory can steer its future behaviour.4

And RAG reads your documents at the moment it needs them, and forgets them afterwards. Retrieving information is not the same as learning it.

Actions & toolswhat the system does itselfContextwhat it reads right nowMemorywhat it keepsModel versionwhich model runsModel parametersthe weights themselvesWHAT CHANGES?Model retraininga new version, with control in between
Part 4

Four colleagues read the same sentence # link

Imagine four colleagues reading that one sentence in the policy. The first thinks: we may not retrain a forecasting model automatically. The second: online learning is forbidden.

The third: an agent may not remember anything between sessions. The fourth: an agent may not take actions on its own.

Four reasonable readings, four different implementations. And only the fourth touches what went wrong at Hugging Face. No model retrained itself there; an agent had more access than intended.1

No retrainingcolleague 1No online learningcolleague 2No memorycolleague 3No autonomous actionscolleague 4 · Hugging Faceself-learning
Part 5

Three questions under every rule # link

What changes? The model parameters, the model version, the memory or the context?

Who starts that change? A data scientist, a pipeline, the model itself or an agent?

Which control sits in between? None, validation, monitoring or a human who approves? Then you can simply allow retraining in a controlled pipeline, and refuse an agent without an approval gate.

parametersmodel versionmemorycontextdata scientistpipelinethe modelan agentnonevalidationmonitoringhuman approvalOUTER · WHAT CHANGES?MIDDLE · WHO STARTS IT?INNER · WHICH CONTROL?Retraining in a controlled pipeline ✓Agent without an approval gate ✕Name the mechanism, not the buzzword.