AchiralAchiral

Concepts · Humans and machines

How ACT-R’s distinction between declarative knowledge and action rules can guide dataset distillation for content and decision models.

Published2026-07-280 reads

Review pending. Report issues to editor@achiral.ai.

Watercolor diagram of a conceptual Memoized-Attention Microtransformer, with memory connections to input, attention, and Jacobian control, and a separate deep-sleep weight-update loop.
A conceptual design, not a product or a measured system. Read it from the bottom: tokens and position feed a stack of N transformer blocks. Solid green arrows show the memory state feeding the input, the memory-attention layer and a Jacobian-control step, and the outcome of each output writing back to the memory state. The dashed brown loop is a separate deep-sleep step that distills context into weight updates. This chapter covers only the memory state and the decision examples a system could learn from.

ACT-R and AI Memory

ACT-R separates remembered knowledge from the rules that guide action. For AI builders, that distinction suggests a way to distill working datasets into two kinds of training material: evidence about what happened, and examples of what to do in a particular state.

The previous chapter followed Susan's failed password reset through an action rule. The agent retrieved the failure, asked for the missing code only when no request was pending, and changed the case state to waiting. We can now use that same case to examine what a model should learn from the record and from the decision.

Here, distilling a dataset means selecting, checking, and structuring examples for a learning task. This is a proposed use of ACT-R's representations and task models, not a built-in ACT-R pipeline for training language models.

Give content and decision examples different jobs

A content model needs to represent or explain information from evidence. A decision model needs to choose an action given a goal and current state. These are roles in the design; one model could be trained for both, or separate models could perform them.

Training materialWhat it teachesExample from Susan's case
Content examplesWhat the evidence supports, including its scope and uncertainty.The previous reset remains unresolved; its failure code is unknown.
Decision examplesWhich action fits the current state and what state should follow.Ask for the code when none is pending, then mark the request as pending.

ACT-R supplies a useful basis for this separation. Chunks represent declarative information; productions test state and specify actions. The reference manual describes those mechanisms. Preparing training datasets from them requires additional choices about evidence, labels, and evaluation.

Distill evidence into content examples

Start with the record from Chunks and Declarative Memory:

text
user: Susan
task: password-reset
status: failed-unresolved
failure-code: unknown

A content example could pair a question about the case with the supported answer that the reset is unresolved and the code is unknown. The source record should remain linked to that example so a reviewer can check the answer. An unknown field must remain unknown; producing a fluent answer is not a reason to supply a missing code.

The representation should also preserve what the record cannot establish. An earlier failure does not prove that Susan is still locked out after a later successful reset. If the dataset includes both events, the examples need enough ordering and status information to distinguish a historical question from a question about the present.

The forgetting chapter separated retaining a record from giving it influence. That distinction matters here too. Reducing duplicate examples or excluding an outdated answer from a current-state task need not erase the underlying history.

Distill decisions into state–action examples

A decision example needs more than the retrieved fact. It must include the conditions that made the action appropriate. The pending-request flag from the previous chapter is essential:

text
Input state
  goal: resolve-password-reset
  user: Susan
  status: failed-unresolved
  failure-code: unknown
  code-request-pending: false

Target action
  ask Susan for the failure code

Expected state change
  stage: waiting-for-code
  code-request-pending: true

The expected state change is a training target, not an observed outcome. A trace of a real execution would need to record whether the request was actually sent and what happened afterward. Keeping those fields distinct prevents an intended action from becoming a false record of success.

A contrasting example should change the pending flag to true. The rule for asking no longer applies while the agent is waiting. Including both states teaches a distinction that repeated examples of “failed reset, ask for code” would miss.

This is where executable task models can help. A model's rules make their conditions explicit, and its execution traces can expose the states and selected actions. A builder could use those traces to construct candidate training examples, then check them against the intended workflow. A trace only shows the behavior encoded by that model; it does not independently prove that the behavior is correct.

Use learning mechanisms to inform the dataset

ACT-R's learning mechanisms suggest further distinctions. Base-level learning changes the availability of chunks through their use history. Utility learning adjusts preferences among productions using rewards. Production compilation can combine eligible successive productions into a new rule. Anderson and colleagues show utility learning and compilation in Discovering skill.

For dataset preparation, a compiled rule could help identify a recurring decision pattern worth representing. Its conditions still need to be retained. Compressing Susan's workflow into “always ask for the failure code” would discard the waiting condition that made the original rule useful.

Likewise, a high retrieval frequency does not establish that a content example is accurate, and a high rule utility does not establish that an action follows policy. Selection criteria need evidence beyond those scores. Keep uncommon but important cases, including missing information and already-pending requests, rather than selecting only the most frequent successful-looking traces.

Evaluate what each model learned

At Achiral, the design opportunity is to use the same working history to prepare evidence for content learning and conditional behavior for decision learning. Keeping those examples distinct lets us inspect which knowledge and which action patterns we are trying to transfer.

For content evaluation, check whether the model answers from the supplied evidence, preserves unknowns, and distinguishes older events from current status. For decision evaluation, check whether it selects the right next step, waits when a request is pending, and updates state without claiming an outcome it has not observed. Use held-out cases to test these behaviors; repeated versions of the same case should not appear on both sides of the evaluation.

The microtransformer illustration is an exploratory design for a system that might consume such learning material. The dataset proposal here stands on the content and action distinctions developed in this cluster; it does not depend on the illustration's additional mechanisms. We would still need to test whether the distilled examples improve either model on its intended task.

To examine how these decisions unfold across a longer workflow, continue with ACT-R Memory for Agents.


Sources

Go back to Production Rules and Procedural Memory, continue with ACT-R Memory for Agents, or return to the Concepts hub.