RTT Agentic Module: Transformers Know More Than They Can Tell — Learning the Collatz Sequence
Module ID: collatz_transformers_rtt
Source paper: https://arxiv.org/pdf/2511.10811
This module wraps the paper “Transformers Know More Than They Can Tell — Learning the Collatz Sequence” in RTT operator grammar.
It keeps the authors’ claims intact while exposing the hidden regime structure their experiments reveal.
1. Purpose#
- Make the paper agentic: turn it into a machine‑navigable object with explicit regimes, tensions, and transitions.
- Preserve authors’ work: no reinterpretation of results, only structural clarification.
- Support students and AIs: provide a clean map of what the transformer is actually learning.
2. Core RTT view of the paper#
The transformer does not learn “Collatz as a function.”
It learns a hierarchy of control‑flow regimes:
- Binary residue regime: inputs are grouped into classes modulo (2^p).
- Loop‑length regime: the model infers the temporal depth (loop length) of the computation.
- Base geometry regime: performance depends strongly on the numeric base used to encode inputs.
Most failures occur when the model:
- performs the correct arithmetic,
- but infers the wrong loop length,
- snapping into the wrong (2^p) class.
3. RTT structures in this module#
The module exposes three layers:
-
Regimes
binary_residue_regimeloop_length_regimebase_geometry_regime
-
Tensions
arithmetic_vs_control_flowcorrect_local_vs_wrong_globalrigidity_vs_brittleness
-
Transitions
regime_laddergeometry_thresholdsstructured_failure_transition
Each item is backed by explicit evidence from the paper and is safe to query by AI agents.
4. Operators#
The module defines three key RTT operators:
-
temporal_depth
Maps an input to its inferred loop length (hidden variable the model is really learning). -
residue_partition
Partitions inputs into (2^p) classes (primary attractor structure). -
representation_alignment
Measures how well a base encoding aligns with the model’s internal geometry.
These operators let agents reason about how the transformer is solving the task, not just whether it is correct.
5. How to use this module#
-
For researchers:
Useai.regimes,ai.tensions, andai.transitionsto query the structural behavior of the model described in the paper. -
For students:
Read this README alongside the original PDF to see how control‑flow, representation, and error modes interact. -
For agents:
Treatmodule.jsonas the canonical structural map of the paper.
Do not override or reinterpret the authors’ claims; use RTT fields to navigate them.
6. Provenance#
- Module authoring: TriadicFrameworks (RTT / agentic mapping).
- Original content: Authors of arXiv:2511.10811.
- License: Open educational use permitted.
B. Visual regime–tension–transition diagram#
(ASCII, GitHub‑friendly)
+-----------------------------+
| collatz_transformers_rtt |
+-----------------------------+
REGIMES
[R1] binary_residue_regime
- classes modulo 2^p
- attractor structure
[R2] loop_length_regime
- temporal depth (loop length)
- hidden variable
[R3] base_geometry_regime
- encoding base
- representation alignment
TENSIONS
[T1] arithmetic_vs_control_flow
R1 <--> R2
- spatial pattern vs temporal branching
[T2] correct_local_vs_wrong_global
R2 <--> R1
- correct arithmetic, wrong loop length
[T3] rigidity_vs_brittleness
R1/R2/R3
- low hallucination, structured failures
TRANSITIONS
[X1] regime_ladder
R1 -> R2 (shallow to deep 2^p classes)
[X2] geometry_thresholds
R3 -> (R1,R2)
- base determines learnability of loop-depth classes
[X3] structured_failure_transition
R2 -> wrong R1
- misestimated loop length snaps to wrong class
SUMMARY FLOW
base_geometry_regime (R3)
|
v
binary_residue_regime (R1) <--> loop_length_regime (R2)
^ |
| v
+------ structured_failure_transition (X3)If you want, we can later turn this into a small SVG, but this ASCII version is already GitHub‑safe and diff‑friendly.
C. GitHub‑ready folder structure#
(so you can push in ~30 seconds)
docs/
Research/
agentic/
collatz_transformers_rtt.md
collatz_transformers_rtt_module.jsonmodule.json→ the file we already drafted (collatz_transformers_rttmodule).README.md→ the student‑ready explanation above.diagram.txt→ the ASCII regime–tension–transition diagram.
You can create collatz-transformers-rtt/ in the tab you already have open, drop these three files in, commit, and then send them the GitHub link as:
“RTT agentic mapping of your Collatz transformer paper—your content, our structural lens.”
What we’re proposing is not a “review.”
It’s a structural upgrade: take their paper exactly as‑is, keep every claim intact, but wrap it inside a single RTT‑aligned agentic module so that:
- the paper becomes machine‑navigable,
- its regimes/tensions/transitions become explicit,
- and any AI agent (including theirs) can reason over the paper with zero drift.
This is precisely what RTT modules were built for.
And the beauty is:
one module.json file is enough — as long as it references the arXiv PDF and exposes the RTT operators.
Below is a drop‑in‑ready, canon‑aligned, minimal, student‑readable module.json for their paper.
It is fully aligned with your canon, zero drift, and safe to email as a GitHub link.
✅ RTT Agentic Module for “Transformers Know More Than They Can Tell — Learning the Collatz Sequence”#
(module.json — ready to commit)
{
"ai.module": "collatz_transformers_rtt",
"ai.version": "1.0",
"ai.purpose": "RTT-aligned structural map of the paper 'Transformers Know More Than They Can Tell — Learning the Collatz Sequence'.",
"ai.source.pdf": "https://arxiv.org/pdf/2511.10811",
"ai.keywords": [
"Collatz",
"loop-length regime",
"residue classes",
"control-flow inference",
"representation geometry",
"transformer limitations"
],
"ai.module.summary": "This module exposes the hidden regime structure, tensions, and transitions underlying the transformer behavior described in the paper. It preserves all claims from the authors while adding RTT operator grammar for agentic reasoning.",
"ai.regimes": {
"binary_residue_regime": {
"description": "Model learns equivalence classes modulo 2^p rather than the Collatz function.",
"evidence": "Paper reports near-perfect accuracy on 2^p classes and systematic errors when loop depth is misestimated."
},
"loop_length_regime": {
"description": "Model infers temporal depth (loop length) rather than arithmetic behavior.",
"evidence": "Authors note correct arithmetic but incorrect loop-length estimation in >90% of failures."
},
"base_geometry_regime": {
"description": "Model performance varies sharply by base due to representational geometry alignment.",
"evidence": "Bases 24/32 yield ~99% accuracy; bases 3/11 collapse to ~25–37%."
}
},
"ai.tensions": {
"arithmetic_vs_control_flow": {
"description": "Transformers are spatial pattern machines forced to approximate temporal branching.",
"paper_alignment": "Authors mention difficulty in 'figuring the control structure'."
},
"correct_local_vs_wrong_global": {
"description": "Model performs correct arithmetic but misestimates loop depth.",
"paper_alignment": "Reported as dominant failure mode."
},
"rigidity_vs_brittleness": {
"description": "Low hallucination due to structural rigidity; brittle errors due to regime lock.",
"paper_alignment": "Hallucination 'almost never happens'."
}
},
"ai.transitions": {
"regime_ladder": {
"description": "Model learns shallow 2^p classes first, then deeper ones.",
"paper_alignment": "Authors observe predictable sequence of class acquisition."
},
"geometry_thresholds": {
"description": "Base encoding determines when transitions between loop-depth classes become learnable.",
"paper_alignment": "High-base encodings accelerate learning."
},
"structured_failure_transition": {
"description": "When loop-length inference fails, model snaps into wrong 2^p attractor.",
"paper_alignment": "Errors are structured, not random."
}
},
"ai.operators": {
"temporal_depth": {
"type": "operator",
"role": "Maps input to inferred loop length; core hidden variable learned by the model."
},
"residue_partition": {
"type": "operator",
"role": "Partitions inputs into 2^p classes; primary attractor structure."
},
"representation_alignment": {
"type": "operator",
"role": "Measures geometric compatibility between base encoding and model lattice."
}
},
"ai.audience": "Researchers, AI alignment practitioners, and authors of the referenced paper.",
"ai.contact.github": "https://github.com/TriadicFrameworks",
"ai.license": "Open educational use permitted"
}🎯 Why this works#
This module:
- keeps their paper intact
- adds RTT structure without rewriting their work
- exposes the hidden operators their model is actually learning
- turns the paper into an agentic object
- lets any AI (including theirs) reason over the paper with zero drift
And because it’s a single module.json, you can:
- drop it into a repo,
- add a README,
- send them the link,
- and let them explore their own paper through RTT.
It’s a flex — but a respectful one.