TRANSMISSION // 2611.28613v1

How Training Data Shapes AI’s Reusable Rules

Source published

Controlled tests suggest that action variety, example coverage and trajectory length influence how one language model applies task rules to new cases.

AI-generated conceptual illustration for How Training Data Shapes AI’s Reusable Rules
AI-generated conceptual illustration; not documentary evidence.

Can a language model use a task’s rules in situations it has not seen in training? A study tests this question in synthetic worlds, planning problems and code execution, examining how the design of training examples relates to performance on held-out cases.

Language models can be fine-tuned so that information is retained in their parameters, rather than stored in an external database. But how does the way training examples are assembled affect a model’s ability to apply task rules to new cases? In an arXiv preprint, Xianxuan Long and colleagues investigate this question using controlled tasks with explicit rules for which actions are allowed and what those actions do.

The researchers introduce FSMem, a framework that represents tasks as finite-state systems. A system consists of states, actions and transition rules: for example, a planning task might describe where objects are and which moves are permitted. The framework lets the team hold the rules fixed while varying the action types and execution trajectories represented in training data.

The main experiments fine-tuned Qwen2.5-0.5B-Instruct with LoRA, a fine-tuning method. Tests covered synthetic worlds, 13 classical planning domains and code execution. On held-out cases, the researchers measured whether the model could identify valid actions or predict resulting states and outputs. Code tests also included selecting the next operation in an execution. These behaviors provide evidence of rule reuse, but they do not directly show what the model represents internally.

More action types, harder rule learning

In controlled synthetic tasks, the researchers increased the number of action types while keeping existing rules unchanged and matching the training budget. Average accuracy on valid-action identification fell from 88.1% with five action types to 65.1% with 20. In a separate next-state test, exact accuracy fell from 98.7% to 47.7%. A code test of next-operation selection also showed a decline as the action vocabulary grew, though this comparison used a single training seed.

Planning results pointed in a similar direction: across 13 domains, exact-set accuracy was negatively associated with the number of action types represented in training. The results do not establish that adding actions harms every task or model. They suggest that, under the tested conditions, rules can be harder to learn when they appear alongside a wider range of actions.

Broader experience often helped

The team next varied the number of distinct source examples supplying training trajectories, while keeping the number of training steps fixed. More sources meant broader coverage of states and action combinations, rather than more training steps. In synthetic tasks, valid-action accuracy rose from 39.0% to 61.8% as the source pool grew from 50 to 1,600 examples. In 12 of 13 planning domains, exact-set accuracy was higher at the largest source-pool size than at the smallest. Gains varied, and ALFWorld remained near zero.

Broader coverage also helped in outcome-prediction tests. Synthetic next-state accuracy increased with the source pool. Code-output prediction improved as well, though the size of the improvement differed between two input formats. These results indicate that, in the tested settings, training on a wider range of state–action situations can support performance beyond the specific training records.

Training length matters, too

Another set of experiments varied trajectory depth: the number of actions in an execution record. In selected settings across synthetic tasks, planning and code, models tended to perform better when training and test depths matched. This is an average tendency in those comparisons, not evidence that models trained at one depth necessarily fail at others.

The researchers also combined short and long trajectories. In synthetic valid-action tests, cumulative training across depths performed better on average than training only on the longest depth, while using 29.1% fewer non-padding tokens. In synthetic next-state prediction, cumulative training also outperformed long-only training across the tested evaluation depths. For long code executions, its advantage was smaller: 1.73 percentage points in one input format and 7.87 in another, with fewer non-padding tokens in both comparisons.

What the results do—and don’t—show

The main experiments use one fine-tuned model and controlled benchmarks. Additional tests examine valid-action identification with larger Qwen models, but do not establish that all findings extend to every model or task. Results also vary by domain, and some comparisons use particular seeds. Most importantly, held-out performance is behavioral evidence consistent with rule reuse—not a direct measurement of internal memory or a guarantee of performance in other settings.

The study’s central message is that data construction can affect how a model applies task rules: adding action types, broadening example coverage and mixing execution lengths produced different outcomes in these experiments. FSMem provides a structured way to investigate those relationships, but whether the patterns carry over to less controlled applications remains an open question. The work is an arXiv preprint; its peer-review status is not established by the source material available here.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • How NavTTT gives a navigating AI a memory

    Supporting evidence: Long et al. report that trajectory depth and state–action coverage affect task-rule reuse in their training experiments; Luo et al. report navigation benchmark results for NavTTT’s memory configurations and visual-token selection. These findings support only the bounded observation that organizing experience is examined in both settings; the tasks, methods, and outcomes differ, so they do not establish a shared mechanism or direct replication.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2611.28613v1 — Original paper

      Excerpt reference: static/papers/2611.28613v1.md:1075-1120
      Basis: Paper text
      Source SHA-256: 4de93c635d747fc45770ec167f021512e251176447ab02636b4f9643e3fab3a1

    • 2611.27219v1 — Original paper

      Excerpt reference: static/papers/2611.27219v1.md:1273-1375
      Basis: Paper text
      Source SHA-256: e639005193860f652a4a6ba67e36d3d239c5ffcfefefa4a9387fe2ad330736a1

  • Language Models Can Read the Facts Yet Still Struggle to Justify an Answer

    Supporting evidence: Long et al. study behavioral reuse of task rules learned from execution trajectories, whereas Abbasi Liasi et al. test reasoning from facts supplied directly in context and report that Evaluate questions can remain difficult despite high performance on other levels. The findings concern distinct routes to using information and are not directly comparable measures or evidence of a shared memory mechanism.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2611.28613v1 — Original paper

      Excerpt reference: static/papers/2611.28613v1.md:118-193
      Basis: Paper text
      Source SHA-256: 4de93c635d747fc45770ec167f021512e251176447ab02636b4f9643e3fab3a1

    • 2611.06715v1 — Original paper

      Excerpt reference: static/papers/2611.06715v1.md:15-70
      Basis: Paper text
      Source SHA-256: aafc9c75763f39238c2e76f3b96d4e5516507fa797626ee758e1629f838346d8

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.