Inspectable mechanisms
Seeded numerical simulation, genetic programming, a provenance audit, a bounded concept library, matched measurements, independent-reference checks and scoped revision records.
RALF / Reality-Anchored Learning Framework
Experience can reinforce an inadequate explanation. Explore how a learner’s recorded history can guide clarification, new experiments, concept acquisition and a justified revision.
Problem 01 / Incomplete specification
The physical observations are available. The meaning of “safe” is not.
Additional observations of these cupboards cannot determine which objective the person intended.
Repeated observations: 0 · Clarifications: 0
A specification query can supply information that observations alone do not contain. This small rule-based example is separate from the GP measurement experiments below.
Problem 04 / Missing explanatory concept
The learner initially represents module and channel effects. Explore what changes when it admits a relationship with nearby equipment.
You choose the simulated world. The learner receives observations and permitted metadata; its policy is not given the scenario’s hidden cause.
Recorded experience
Evidence-qualified decision
The initial learned prediction has not been independently qualified.
No active, independently supported claim.
Inspectable learner
Initialising…The expression predicts instrument readings. Low training error alone does not establish the actual current or its cause.
Interrogate the evidence
These answers are assembled from the run’s records. This inspector and the curated concept source are not live LLMs.
The next experience matters
Add further biased experience, or introduce a changed operating context that requires the earlier claim to be checked again.
What this software demonstrates
Can the history and justification of learned beliefs improve the choice of inquiry and support a correction that remains useful under subsequent experience?
Seeded numerical simulation, genetic programming, a provenance audit, a bounded concept library, matched measurements, independent-reference checks and scoped revision records.
A new concept enables a question. Measurements then test its applicability. A model’s confidence, a low fitting error or agreement between explanations is not independent confirmation.
This demonstration does not establish general prevention of maladaptive learning, an advantage over equally equipped baselines, or physical robotic safety. It uses constructed worlds and a bounded set of concepts.
Local execution. The browser prototype sends no observations to an external model or server. Run data stays in memory until you export it. The seed, model history, observations and scoped claims are included in the JSON record.
Genetic programming. The learner searches arithmetic expression trees using selection, crossover and mutation. Its initial population includes fitted single-feature candidates, so simple cases may already have a good fit at generation zero. Each refit starts a fresh seeded search using all observations from the current context, including reference readings; it is not a warm-start online learner.
Concept acquisition. The demonstrator admits a previously unavailable equipment-state relationship into the learner’s representation from a curated source. This is bounded concept import. It is not unrestricted discovery or proof that a provenance audit can identify every missing concept.
Interrogation and abduction. The inspector exposes the evidence behind a decision. Its exported packet can ground a separate LLM consultation. A separate Python reference prototype includes an optional live-model adapter; this browser demonstration uses deterministic inspection and curated candidates.
Persistence. Further experience can change the raw GP model while an independently supported claim retains authority within its recorded scope. This does not prove that every downstream effect of an earlier interpretation has been removed.
Source of the research question. Howard (2025), The Irrational Machine. RALF investigates preventive mechanisms; their effectiveness remains a research hypothesis.