Repository navigation
Description
Thanks for releasing the code and checkpoints. I am building on RecursiveMAS and recursion depth had no effect on accuracy in my runs, so I went and looked at the released weights. Ten of the sixteen OuterLinks are still at their initialisation values.
What I checked
All 32 released checkpoints. The 16 InnerLink adapters are all trained. The 16 OuterLinks:
| System | File | Verdict |
|---|---|---|
| Distillation | Expert-Learner-Outerlink(math).pt |
trained |
| Distillation | Expert-Learner-Outerlink(code).pt |
trained |
| Distillation | Learner-Expert-Outerlink(math).pt |
at init |
| Distillation | Learner-Expert-Outerlink(code).pt |
at init |
| Sequential-Light | Critic-Solver-Outerlink(math).pt |
trained |
| Sequential-Light | Critic-Solver-Outerlink(code).pt |
trained |
| Sequential-Light | Planner-Critic-Outerlink(math).pt |
at init |
| Sequential-Light | Planner-Critic-Outerlink(code).pt |
at init |
| Sequential-Light | Solver-Planner-Outerlink(math).pt |
at init |
| Sequential-Light | Solver-Planner-Outerlink(code).pt |
at init |
| Sequential-Scaled | Critic-Solver-Outerlink(math).pt |
trained |
| Sequential-Scaled | Critic-Solver-Outerlink(code).pt |
trained |
| Sequential-Scaled | Planner-Critic-Outerlink(math).pt |
at init |
| Sequential-Scaled | Planner-Critic-Outerlink(code).pt |
at init |
| Sequential-Scaled | Solver-Planner-Outerlink(math).pt |
at init |
| Sequential-Scaled | Solver-Planner-Outerlink(code).pt |
at init |
In each system the trained outer link is the one feeding the agent that writes the final answer.
How I tested
nn.Linear initialises weights uniformly in [-b, +b] with b = 1/sqrt(fan_in). So before training nothing is past b and the std is b/sqrt(3). Both follow from the tensor shape.
I checked two ratios per tensor: std over b/sqrt(3), max over b, share past b.
Here is proj2.weight against a fresh layer and a trained link from the same repository:
proj2.weight, shape (2560, 5120), b = 0.01398 |
fresh nn.Linear(5120, 2560) |
Solver-Planner-Outerlink(math) |
Critic-Solver-Outerlink(math) |
|---|---|---|---|
| std / (b/sqrt 3) | 1.000 | 1.000 | 3.737 |
| share past b | 0.21% | 0.51 % | 68.54 % |
ln_source.bias |
0 | still 0 | max 0.125 |
ln_target.bias |
0 | still 0 | max 0.0728 |
Both files are from Sequential-Scaled. Across the ten files the std ratio is 1.000 for every weight matrix and between 0.97 and 1.01 for every bias.
import math, torch
sd = torch.load("path-to-cache/Solver-Planner-Outerlink(math).pt", map_location="cpu")
for k, v in sd.items():
if not torch.is_tensor(v) or not k.endswith("weight"): continue
if v.ndim == 1:
print(f"{k:24} all ones: {bool((v == 1).all())}"); continue
v = v.float(); b = 1.0 / math.sqrt(v.shape[1])
print(f"{k:24} max/b {v.abs().max()/b:6.3f}"
f" std/init_std {v.std()/(b/math.sqrt(3)):6.3f}"
f" past b {100*(v.abs() > b).float().mean():5.2f} %")
w = torch.nn.Linear(5120, 2560).weight.detach().to(torch.bfloat16).float()
b = 1.0 / math.sqrt(5120)
print(f"fresh init max/b {w.abs().max()/b:6.3f}"
f" std/init_std {w.std()/(b/math.sqrt(3)):6.3f}"
f" past b {100*(w.abs() > b).float().mean():5.2f} %")Re-downloaded against the Hub checksums, so not a local issue. Singular value spectrum sits where a random matrix does, which rescaling would not change.
Question
If all sixteen were at init I would assume they are meant as a starting point to train from. What I do not understand is that exactly one link per system is trained and the others are not. The outer loss runs through the whole cycle, so a gradient that reaches one outer link reaches the others as well, and when I trained with the repository's own script all three of mine came out trained. That pattern does not look like something the code produces, so I suspect something went wrong before or during the upload rather than this being intentional.
Is that right, or am I missing something about how the release was built?
Activity
jiaruzouu commentedon Oct 9, 2026
Hi,
Thanks for the questions; we'll update the HF shortly. Meanwhile, you can also follow the instructions here to train your own outer link :)