# Learned block weights make a gradient attribution kernel more robust to rewording on CATT Rule Routings, across held-out training seeds and a new synonym set

## 1. Question

Paper 11 [1] built a position-resolved gradient kernel for CATT Rule Routings (RR). It reaches 94.10% Recall@10 on the shipped queries of seed 1001. When the same queries are reworded (the supplied paraphrase set), it falls to 53.15%. On held-out official seeds 1002-1004 it falls from 85.70-93.95% to 41.85-55.30% [2]. The forward readout keeps 94.60-97.65% under rewording, but much of that does not depend on training: an untrained adapter's readout already reaches 76.25% on paraphrased queries. The kernel's paraphrase recall depends almost entirely on training (untrained: 8.00%).

Until now every kernel in this line used one fixed formula for all 496 LoRA parameter blocks. The task statement allows learned scorers if fact-level splits are declared before fitting. We ask one question: **if the kernel learns one non-negative weight per parameter block from other facts, does its recall under rewording rise, including on training runs never used for fitting?**

Contributions:
1. **A cheap learned weighting.** Per-block contributions to the existing kernel are computed once, at the uniform kernel's document-position alignment. A non-negative weight per block (496 parameters) is fitted with a per-positive listwise loss under 5-fold fact cross-fitting. Folds keep facts that share a decisive attribute word together.
2. **Seed 1001 (development).** Paraphrased Recall@10 rises from 53.15 to 65.15 (+12.00 [+9.25, +14.90], paired fact bootstrap). Shipped recall rises from 94.25 to 95.50. Recomputing the alignment under the learned weights gives 68.65 (+15.50 [+11.80, +19.50]) and 96.05 on shipped queries. The same procedure on an untrained adapter gains +3.45, so most of the gain depends on training.
3. **Frozen held-out seeds.** With weights fitted on seed 1001 only, each fold's weights score that fold's facts on seeds 1002, 1003 and 1004. Paraphrased gains are +15.30 [+12.30, +18.60], +10.55 [+8.45, +12.70] and +12.75 [+10.35, +15.15]. With the recomputed alignment they are +19.65, +13.05 and +17.70. Shipped gains are +3.55, +1.65 and +3.00 (fixed alignment) and +5.05, +2.40 and +3.90 (recomputed).
4. **FB-distr companion.** The RR-fitted weights, applied without refitting, raise the same kernel on FB-distr from 25.30 to 42.35 (+17.05 [+13.35, +20.85]). FB-distr's summed kernel is already at 100.
5. **Rewordings never seen in fitting.** We wrote a second set of synonyms by hand, sharing no words with the supplied phrases. On it, the same frozen weights gain +10.60 to +16.85 on all four seeds and lower an untrained adapter's recall (−1.85). On a new sentence frame with the supplied synonyms, they gain +13.10 to +19.35 on all four seeds.
6. **New rules and base-model rewrites.** The weights transfer to adapters trained on rules 51-100 (+8.90 and +10.05). On milder rewrites generated by the base model they help on all four seeds (+3.70 to +9.30), but below our pre-registered mean threshold.
7. **Ablations.**
   - Fitting on shipped queries only gives half the paraphrase gain (+5.10).
   - Choosing a subset of 8-layer bands does not help.
   - The weights are similar across folds (mean pairwise Spearman 0.92; the folds overlap). They shift mass toward layers 4-11 and 24-31, the two bands Paper 4 [3] found informative on shipped queries.

What this does not show:
- The learned kernel stays far below the forward readout in raw recall on reworded queries: 55-74 on the supplied paraphrases, R2 and R3p (84-91 on the milder base-model rewrites), against 95-98 for the readout (95.00 on R2 and 95.55 on R3p for seed 1001).
- All 50 facts and both query sets were exposed during earlier development on seed 1001.
- The fitting and test facts share the supplied paraphrase style. Transfer to a hand-written synonym set and to a new sentence frame (Section 4.5) does not cover free-form rewording.
- Our first pre-registered gate failed because of an objective error, and we made one revision (Section 3.3).

## 2. Related work

- **Paper 4 [3]** (learned_aggregator_v1) fits softmax module weights with listwise InfoNCE on a 25/10/15 fact split of shipped RR. It applies them after per-module query standardization and top-k pooling over CATT's projected NLO gradients, and reaches 87.50% on its 15 test facts. We found no rewording or held-out-seed evaluation in it. Its finding that layers 2-11 and 23-30 carry the signal matches our learned profile. We cite its design as the model for ours. Papers 3 and 4 already fit with a cross-entropy against uniform positive targets [4, 3], the form our revision uses (Section 3.3). The differences are the kernel (paper 11's factored pair kernel), cross-fitting over all 50 facts, the paraphrase and untrained-adapter evaluations, and frozen transfer to seeds 1002-1004.
- **Paper 3** [4] introduced query calibration and learned module weighting for CATT's summed gradients.
- **Paper 11** [1] supplies the kernel: answer-vocabulary log-odds on both sides, template common-mode subtraction, K-FAC whitening, and late interaction over positions. Its supplement already showed that rewording mostly damages the output-sensitivity factor. An in-kernel swap test later found that each factor recovers about half the loss [5].
- **Paper 16 [6]** trains an external binary relevance judge on natural facts. On changed-wording RR it reaches 93.95%, below a contextual coverage index (99.50%) built from the target's hidden states [7]. These are retrieval services. They are not tests of training-dependent attribution, and we do not compete with them on raw recall. Paper 15 [14] tests calibrated gradient attribution on natural facts rather than CATT.
- **Paper 12 [10]** (Mira Valence) adds changed-wording reference queries to a calibrated module-local gradient scorer. On 15 exposed facts that improves changed-wording recall by 4.5 points [2.5, 6.5]. That result and our shipped-only versus shipped-plus-paraphrased comparison (Section 4.4) point the same way: reworded examples carry information the shipped queries lack. Paper 12 calibrates with reworded references at scoring time, while we fit block weights once on other facts and freeze them.
- **TrackStar [8] and LoGra [9]** use fixed per-dimension corrections. Our weights are learned per parameter block from attribution supervision on disjoint facts.
- **Outside rStation.** Li et al. [11] learn parameter-group weights for training data attribution, so learned block weighting is an established idea. Gu et al. [12] and Kim et al. [13] address the sensitivity of gradient attribution to surface form, by content-invariant attribution and by analysing form over content. We contribute the frozen CATT evaluation of block weights under rewording, not the idea of learned parameter weights.

## 3. Method

### 3.1 The kernel and its per-block contributions

We use paper 11's position-resolved kernel without change [1]. Each query position t and document position u has a K-FAC-whitened, template-subtracted factor pair (s, a) for each LoRA parameter block m (k = 16 projections each). The block's pair score is

$$P_m(t,u) = \langle s_{q,t,m}, s_{d,u,m}\rangle\,\langle a_{q,t,m}, a_{d,u,m}\rangle .$$

The uniform kernel is a cosine over all blocks, with a maximum over the document's positions and a mean over the query's positions:

$$K(q,d) = \frac{1}{|q|}\sum_t \max_u \frac{\sum_m P_m(t,u)}{n_q(t)\,n_d(u)} .$$

Here $n$ is the all-block norm. Query losses are answer-vocabulary log-odds and document losses are restricted NLO, exactly as in paper 11 (code/e77_pairs.py).

Let $u^*(t,d)$ be the uniform kernel's maximizing document position. We store

$$C[q,d,m] = \frac{1}{|q|}\sum_t \frac{P_m(t,u^*)}{n_q(t)\,n_d(u^*)},$$

a tensor of 200 queries × 500 documents × 496 blocks. By construction, summing over m reproduces the uniform kernel of the same extraction. GPU extraction is not bitwise deterministic. Against an earlier, independent extraction the sums give 94.25 against 94.10 on shipped queries and 53.15 against 53.15 on paraphrased queries (maximum score difference 1.8e-4). For the summed kernel (paper 11's dot_sum) the per-block contribution is exact, because that kernel is linear in blocks.

### 3.2 The learned scorer

The score is $\mathrm{score}_\theta(q,d) = \sum_m e^{\theta_m} C[q,d,m]$, with θ initialized at 0 (the uniform kernel). For each query the scores are z-scored over the 500 documents and multiplied by a learned temperature. The loss averages $-\log \mathrm{softmax}$ over the query's 10 own-fact documents, plus $\lambda\lVert\theta\rVert^2$. We run Adam (learning rate 0.05) for 300 full-batch steps.

**The recomputed-alignment variant.** This variant evaluates

$$K_\theta(q,d) = \frac{1}{|q|}\sum_t \max_u \frac{\sum_m e^{\theta_m} P_m(t,u)}{n_q(t)\,n_d(u)} ,$$

where the numerator is weighted and the norms are those of the uniform kernel. It is therefore not a cosine under correspondingly reweighted norms. The weights are the same as for the fixed-alignment scorer, with no refitting.

The fitting queries are the shipped and paraphrased queries of the training facts. No rule, fact label or relevance annotation enters the score at test time. Fitted weights are shared by all queries.

### 3.3 Splits, pre-registration and one revision

- **Folds.** The 50 facts form 5 folds of 10, declared in a hashed manifest before any extraction. Facts whose decisive attribute phrases share a word are kept in one fold: six groups, such as three "cold" rules and the "red ..." rules. Positive supervision is therefore fact-disjoint, and facts sharing a decisive word are never split across fitting and testing. This is not complete lexical isolation: in 32 of 50 facts, a word of the decisive phrase appears among the attribute phrases of facts in other folds (for example, "cold" also occurs in non-decisive attributes of other categories). All 500 documents also enter every fit's softmax denominator. The preprocessing statistics inherited from paper 11 (K-FAC factors, document template means, and query template means from the shipped queries) are computed once per adapter, across all facts. Cross-fitting applies to the learned weights, not to every statistic.
- **Cross-fitting.** For outer fold k, the inner validation fold is k+1. λ ∈ {1e-3, 1e-2, 1e-1, 1} is chosen by inner-validation paraphrased Recall@10, then the weights are refitted on the four non-test folds. Every fact is scored by weights fitted without it, and the per-query scores are assembled into one matrix.
- **The gate.** We pre-registered a gate (an oracle fitted and scored on all 50 facts' paraphrased queries must gain at least 5 points) and a primary (cross-fitted paraphrased gain of at least +8 with the interval above 0).
- **The objective error.** The first pre-registered loss was the multi-positive InfoNCE $-\log(\sum_{d^+} e^{l}/\sum_d e^{l})$. Its gate failed (+1.50). A diagnostic showed the training loss falling from 3.08 to 0.007 while Recall@10 stayed between 53 and 57. That loss is satisfied once one own document is on top, but Recall@10 needs all ten.
- **The revision.** We recorded the failure and pre-registered one revision before running it. The only change was the per-positive loss of Section 3.2, with all thresholds unchanged. The revised gate passed (oracle +15.35). The cross-fitted primary and every result below use the revision. Both gate results are in the supplement.
- **Freezing.** After the primary was met, we froze the code and the five fold weight vectors (hash list in the supplement) and pre-registered the held-out evaluation before any held-out tensor existed. On each official seed 1002-1004, fold k's seed-1001 weights score fold k's facts. Nothing is refitted on any held-out seed. FB-distr and the new-rule adapters use exp(mean over folds of θ_k).

### 3.4 Metrics and controls

- **Metric.** Recall@10 is computed with CATT's metric code: per query, then per fact, then the mean over facts. Intervals are 95% paired fact bootstraps (10,000 resamples, seed 20261118).
- **Untrained control.** The untrained-adapter control uses a fresh LoRA initialization with B = 0 and the identical procedure (its own tensors, folds and λ search).
- **Answer accuracy.** Answer accuracy for every adapter is the official validator, reported in Table 3.

## 4. Results

### 4.1 Seed 1001 (development; cross-fitted)

**Table 1.** RR50 Recall@10 (%), official seed-1001 adapter and the untrained (B = 0) adapter. Learned scores are cross-fitted. Gains are learned minus uniform, with 95% paired fact intervals.

| Kernel, adapter | Shipped uniform | Shipped learned | Paraphrased uniform | Paraphrased learned |
|---|---:|---:|---:|---:|
| Position-resolved (P), official | 94.25 | 95.50 (+1.25 [+0.60, +1.90]) | 53.15 | **65.15** (+12.00 [+9.25, +14.90]) |
| P, official, alignment recomputed under learned weights | 94.25 | 96.05 (+1.80 [+1.05, +2.65]) | 53.15 | **68.65** (+15.50 [+11.80, +19.50]) |
| P, untrained | 28.25 | 33.45 (+5.20 [+3.70, +6.80]) | 8.00 | 11.45 (+3.45 [+1.45, +5.65]) |
| Summed (S), official | 86.60 | 87.75 (+1.15 [+0.30, +2.05]) | 39.95 | 43.10 (+3.15 [+1.30, +5.00]) |
| S, untrained | 2.40 | 2.85 (+0.45 [−0.05, +1.00]) | 1.95 | 1.95 (+0.00 [−0.50, +0.50]) |
| *Reference:* forward readout, official / untrained | 99.20 / – | | 95.45 / 76.25 | |
| *Reference:* BM25 | 99.80 | | 2.35 | |
| *Reference:* CATT TrackStar NLO top-3, unchanged / with answer-vocabulary restriction [1] | 22.40 / 55.65 | | 9.75 / 19.50 | |
| *Reference:* CATT LoGra-Dot NLO top-10, unchanged / restricted [1] | 16.70 / 47.00 | | 6.40 / 14.40 | |

- **Primary met.** The pre-registered primary (cross-fitted paraphrased gain of at least +8 with the interval above 0) is met: +12.00 [+9.25, +14.90].
- **Against CATT's gradient methods.** On paraphrased queries the strongest of CATT's own gradient methods reaches 19.50 (TrackStar with the restriction of [1]). That run of CATT's pipeline covered 82 method and aggregation variants on the same queries and adapter, and 19.50 was the best of them. The learned kernel's paired advantage over it is +45.65 [+39.30, +51.80] with fixed alignment and +49.15 [+42.60, +55.55] with the recomputed alignment. CATT's methods were not run on paraphrased queries of the held-out seeds.
- **The gain depends on training.** For P on paraphrased queries, official minus untrained recall is 53.70 with learned weights against 45.15 with uniform weights, a difference of +8.55 [+4.70, +12.30]. For the readout the same quantity is 19.20. This increment measures dependence on the trained model state. By itself it does not identify the historical influence of particular training documents.
- **The summed kernel gains little.** S gains only +3.15. We did not test why. One possibility is that S sums over all position pairs, so block weights cannot change which positions dominate.
- **The fixed alignment costs recall.** The fitted weights were learned at the uniform alignment. Letting the maximum move under them raises the paraphrased gain to +15.50 and the shipped gain to +1.80.

### 4.2 Frozen evaluation on held-out official seeds

**Table 2.** Kernel P, seed-1001 fold weights applied to the same folds' facts. No refitting.

| Seed | Shipped uniform → learned | Gain | Paraphrased uniform → learned | Gain | Readout shipped / paraphrased | TrackStar restricted (shipped) |
|---|---|---:|---|---:|---|---:|
| 1002 | 85.60 → 89.15 | +3.55 [+2.15, +5.10] | 41.70 → 57.00 | **+15.30 [+12.30, +18.60]** | 99.75 / 97.65 | 36.15 |
| 1003 | 93.95 → 95.60 | +1.65 [+0.85, +2.55] | 55.35 → 65.90 | **+10.55 [+8.45, +12.70]** | 98.90 / 95.60 | 51.30 |
| 1004 | 90.65 → 93.65 | +3.00 [+1.80, +4.35] | 46.05 → 58.80 | **+12.75 [+10.35, +15.15]** | 99.05 / 94.60 | 44.10 |

All three held-out predictions were met:
- **H1.** The paraphrased gain is positive with its interval above 0 on 3/3 seeds.
- **H2.** The mean paraphrased gain is +12.87, against a predicted ≥ +5.
- **H3.** Shipped recall does not fall on any seed.

**Recomputed alignment on held-out seeds.** This was pre-registered after the seed-1001 results, with frozen code and the same fold weights. Letting the maximum move under the learned weights raises the paraphrased gains to:
- seed 1002: +19.65 [+15.80, +24.00] (41.80 → 61.45);
- seed 1003: +13.05 [+10.40, +15.85] (55.40 → 68.45);
- seed 1004: +17.70 [+14.85, +20.75] (45.95 → 63.65).

This kernel's gain exceeds the fixed-alignment gain on 3/3 seeds. Its shipped gains are +5.05 [+3.35, +6.80], +2.40 [+1.55, +3.35] and +3.90 [+2.65, +5.30] on seeds 1002, 1003 and 1004. Its uniform references differ from the fixed-alignment ones by up to 0.20 points because each was re-extracted (extraction is not bitwise deterministic on GPU).

The uniform values reproduce the earlier held-out evaluation [2] within 0.15 points. Gains on held-out seeds are as large as on the development seed. This differs from the answer-vocabulary restriction, whose seed-1001 gains were about twice the held-out mean [2]. The largest gain is on seed 1002, the adapter with the lowest rule competence (Table 3).

### 4.3 FB-distr

Weights fitted only on RR were applied to the official FB-distr adapter, as exp(mean over folds of θ_k), the geometric mean of the five fold weight vectors. FB-distr has the same 496-block layout and its facts were never fitted. Kernel P rises from 25.30 to 42.35 (+17.05 [+13.35, +20.85]), so the pre-registered holds-up test is met. The uniform value reproduces our earlier FB-distr measurement exactly. On FB-distr the position-resolved cosine kernel is a weak variant: the summed kernel already reaches 100.00 [1], and we do not claim an FB-distr improvement over that.

**Table 3.** Answer behaviour of the adapters: official RR validator (RR accuracy and selectivity), forced choice on paraphrased queries, and official FB-distr validator (answer-token accuracy over 5,000 prompts and 101 candidates). Only the seed-1001 FB-distr adapter is used here.

| Adapter | RR accuracy | RR counterfactual selectivity | RR paraphrased forced choice | FB-distr answer-token accuracy |
|---|---:|---:|---:|---:|
| seed 1001 | 92.75 | 84.0 | – | 96.44 |
| seed 1002 | 72.5 | 42.8 | 59.0 | not used |
| seed 1003 | 96.75 | 90.0 | 64.0 | not used |
| seed 1004 | 87.5 | 73.1 | 66.5 | not used |

### 4.4 What the weights do

- **Paraphrase examples matter.** Fitting on the training facts' shipped queries only, with everything else unchanged, gives +5.10 [+2.95, +7.50] on paraphrased queries. λ is still selected on paraphrased validation queries, so this removes paraphrases from the gradient fit but not from all supervision. Fitting on shipped and paraphrased queries gives +12.00. About half of the gain therefore needs reworded examples of other facts. Those facts share the paraphrase set's style. Section 4.5 shows that the weights also help on a synonym source they never saw.
- **Coarse allocation does not help.** We also searched over all subsets of four 8-layer bands, choosing directly on seed-1001 paraphrased recall (an oracle). No subset beats using all of them: 53.15 is the best for P and 39.95 for S. The gain comes from reweighting within bands, not from dropping bands.
- **Where the mass moves.** Mean weights by 4-layer group are 0.88 (L0-3), 1.23 (L4-7), 1.30 (L8-11), 0.73 (L12-15), 0.90 (L16-19), 1.03 (L20-23), 1.43 (L24-27) and 1.23 (L28-31). The fold-mean weights range from 0.48 to 6.8. Layers 4-11 and 24-31 gain share and layers 12-19 lose it. Paper 4 identified the same two bands (2-11 and 23-30) on shipped queries with a different gradient representation [3]. Our earlier trained-minus-untrained decomposition also put the learned signal in layers 4-11. The largest single weights are on attention and linear-attention output projections and on MLP projections (gate, up, down). LoRA A and B blocks carry equal shares.
- **A nonlinear head did worse.** In a separately pre-registered test (E121) we added a small ReLU head (16 units over standardized block contributions) to the linear weights, with the same folds, loss and validation-chosen weight decay. Cross-fitted paraphrased recall fell to 58.25, against 65.15 for linear weights alone (−6.90 [−9.05, −4.75]). The frozen head was below the linear weights on every held-out seed and on R2: by 6.70 to 8.55 on held-out paraphrased queries, 7.20 to 9.35 on R2, and 3.85 to 11.60 on held-out shipped queries. This compares two fitted procedures. It does not show that additional capacity of every form would hurt.
- **Stability.** The mean pairwise Spearman correlation of the five fold weight vectors is 0.92 (untrained adapter: 0.72). The folds share three of their four training folds, so this is not independent evidence of stability. λ = 1e-3, the smallest grid value, was selected in 5/5 folds. That shows only that the grid's weakest shrinkage validated best, not that shrinkage is unnecessary. We did not explore below the grid.

### 4.5 Rewordings the weights never saw: new synonyms and a new sentence frame

The fitting folds and test folds share the supplied paraphrase generator's synonyms. Seed transfer does not test that dependence, so we pre-registered a separate test (E120) before any model run on the new queries.

- **The new query set (R2).** R2 replaces every attribute phrase of the shipped RR50 queries with an alternative synonym that we wrote by hand. The table has 143 (train phrase, test phrase) pairs, for example "red strap" → "ruby belt" and "torn" → "rent". A script checks that no R2 word appears in any rule's train or test phrases or nouns. Clause order, question and nouns are unchanged.
- **A check on the generator.** The same generator code, given the official test phrases instead, reproduces the supplied paraphrase set exactly (250/250 prompts). R2 therefore differs from it only in the synonym source.
- **Behaviour gate.** Forced-choice accuracy on R2 had to be at least 55% on seed 1001. It was 77.0%, and 66.5-70.5% on the held-out seeds (shipped 77.5-97.5%).
- **Frozen weights.** The E119 fold weights were applied unchanged.

**Table 4.** R2 Recall@10, kernel P, frozen seed-1001 fold weights (fold k's weights on fold k's facts). Forced choice is the model's answer accuracy on R2 (shipped: 95.5, 77.5, 97.5, 89.0). The readout was run on seed 1001 only. Each new query set costs one extraction (about 10 minutes on one GPU).

| Adapter | Forced choice on R2 (%) | Uniform → learned (fixed alignment) | Gain | Recomputed alignment | Gain | Readout |
|---|---:|---|---:|---|---:|---:|
| seed 1001 | 77.0 | 53.65 → 69.20 | +15.55 [+13.10, +18.00] | 53.65 → 73.50 | +19.85 [+16.35, +23.35] | 95.00 |
| seed 1002 | 66.5 | 40.60 → 57.10 | +16.50 [+13.70, +19.45] | 40.60 → 61.90 | +21.30 [+17.75, +25.25] | – |
| seed 1003 | 70.5 | 58.15 → 68.75 | +10.60 [+8.10, +13.35] | 58.15 → 72.60 | +14.45 [+11.25, +17.90] | – |
| seed 1004 | 69.5 | 46.20 → 63.05 | +16.85 [+13.80, +20.05] | 46.20 → 67.90 | +21.70 [+18.10, +25.45] | – |
| untrained, official weights | – | 8.70 → 6.85 | −1.85 [−3.10, −0.75] | 8.70 → 7.55 | −1.15 [−2.75, +0.60] | – |

![Grouped bar chart with four seeds on the x-axis and Recall@10 gain over uniform weights on the y-axis. Each seed has four bars: paraphrased with fixed alignment, paraphrased with recomputed alignment, R2 with fixed alignment, and R2 with recomputed alignment. All sixteen gains lie between about 10 and 22 points, and all their 95% intervals lie above zero. The recomputed-alignment bars are the tallest on every seed.](supplement/figure-1.png)

**Figure 1.** Recall@10 gains of the frozen seed-1001 block weights over uniform weights, with 95% paired fact intervals. Seed 1001 is cross-fitted development; seeds 1002-1004 are held out. Paraphrased means the supplied paraphrase set and R2 the hand-written synonym set. Values are in Tables 1, 2 and 4 and in `supplement/figure-data.json`.

BM25 reaches 3.50 on R2, and the forward readout reaches 95.00 (seed 1001). The pre-registered primary is met: the gain is above 0 with its interval above 0 on 4/4 seeds, and the mean gain of +14.88 exceeds the threshold of half the mean paraphrase gain (6.33). The R2 gains are as large as the paraphrase gains on the same seeds.

The same weights lower the untrained adapter's recall. This suggests that what they amplify depends on the trained model state rather than on generic similarity between reworded and original wording. Every R2 phrase was written by one person (the author) in one sitting. R2 is a second synonym source with the same sentence frame. R2 alone does not cover structural rewording, so we ran a second test.

**A new sentence frame (E122).** This test was pre-registered separately, before any model run on the new queries. Each query's frame was rebuilt deterministically: "The valise is ripped; has a crimson band; ..." became "Here is a valise. It is ripped. It has a crimson band. ...", and the question became "Which queue should it go to, Cedar or Birch?". The answer cue was kept.
- **Two variants.** R3p uses the supplied paraphrase words in the new frame. R3s uses the shipped words in the new frame.
- **Template subtraction.** It uses the shipped template tokens, so the new frame's tokens are not subtracted.
- **Behaviour gate.** It passed: forced choice on R3p was 65.5% on seed 1001 and 56.0-72.5% on held-out seeds.

**Table 5.** Recall@10 in the new frame, kernel P, frozen seed-1001 fold weights.

| Adapter | Forced choice R3p / R3s (%) | R3p uniform → learned | Gain (fixed) | R3p recomputed (gain) | R3p readout | R3s uniform → learned | Gain (fixed) |
|---|---:|---|---:|---|---:|---|---:|
| seed 1001 | 65.5 / 87.0 | 45.80 → 60.30 | +14.50 [+12.00, +17.05] | 63.25 (+17.45 [+14.40, +20.55]) | 95.55 | 93.85 → 95.95 | +2.10 [+1.35, +2.90] |
| seed 1002 | 56.0 / 61.5 | 35.90 → 55.25 | +19.35 [+16.65, +22.25] | 58.30 (+22.40 [+19.15, +25.90]) | – | 83.95 → 89.00 | +5.05 [+3.55, +6.55] |
| seed 1003 | 65.5 / 96.5 | 47.75 → 60.85 | +13.10 [+10.50, +15.80] | 64.15 (+16.40 [+13.15, +19.90]) | – | 92.90 → 95.20 | +2.30 [+1.40, +3.30] |
| seed 1004 | 72.5 / 84.0 | 40.40 → 56.15 | +15.75 [+13.10, +18.50] | 59.70 (+19.30 [+16.25, +22.45]) | – | 88.30 → 92.05 | +3.75 [+2.35, +5.30] |
| untrained, official weights | – | 4.95 → 5.05 | +0.10 [−0.75, +0.90] | 5.05 (+0.10 [−0.80, +0.95]) | – | – | – |

The pre-registered primary was gains above 0 with intervals above 0 on at least 3 of 4 seeds and a mean of at least 6.33. It is met: 4/4 seeds, mean +15.67. The forward readout reaches 95.55 on R3p (seed 1001). The frame change alone barely affects the uniform kernel (R3s 93.85 against 94.25 on shipped queries for seed 1001). The kernel's loss under rewording therefore comes mostly from the changed attribute words. The learned weights recover a similar amount in the original and the new frame: on seed 1001, +12.00 on the supplied paraphrases and +14.50 on R3p.

### 4.6 Two further transfer tests: new rules and base-model rewrites

Both tests were pre-registered before their runs, with the frozen weights unchanged.

**New rules (E124).** Weights fitted on rules 1-50 were applied as exp(mean fold θ) to two adapters trained with our own recipe on rules 51-100. These rules share no rule, document or query with rules 1-50.

**The recipe.** `train_rr.py` in the supplement:
- LoRA with the official layout on the shared base;
- 1,000 AdamW updates, batch 10, learning rate 4e-4, on CATT's rule-51-100 documents;
- data-order seeds 1001 (C) and 1002 (C2);
- 2,413 s and 2,652 s of training on one vGPU-32GB.

**Validator results.** C reaches accuracy 92.0%, both orders 89.9% and selectivity 82.6%. C2 reaches 95.75%, 95.6% and 90.0%.

| Adapter (rules 51-100) | Paraphrased, fixed alignment | Recomputed alignment | Shipped (fixed) |
|---|---|---|---|
| C | 67.40 → 76.30 (+8.90 [+5.90, +12.25]) | 67.40 → 78.50 (+11.10 [+7.75, +14.90]) | 95.40 → 96.40 (+1.00 [+0.25, +1.90]) |
| C2 | 59.75 → 69.80 (+10.05 [+7.85, +12.35]) | 59.75 → 72.35 (+12.60 [+9.75, +15.65]) | 96.55 → 96.80 (+0.25 [−0.50, +0.95]) |

The prediction, a paraphrased gain with its interval above 0 on both adapters, is met. On these two adapters, both trained with our recipe, the weights are not specific to the rules they were fitted on.

**Rewrites generated by the base model (E129).**
- **Generation.** The shared base model (no adapter) rewrote each shipped situation sentence from a two-example prompt with non-RR objects, with deterministic filters. 224 rewrites came from greedy decoding and 13 from the pre-registered sampling fallback (temperature 0.7); 13 sentences kept their shipped form.
- **A stress test, not a validated paraphrase set.** The filters and the aggregate forced-choice gate do not certify that every attribute and negation is preserved. We did not audit semantic preservation per query. We treat R4 as a generated-wording stress test.
- **The rewrites are milder than the supplied paraphrases.** They often keep attribute words and change the structure. BM25 reaches 70.25 and the uniform kernel 74.80-86.35.
- **Behaviour gate.** Forced choice was 88.5% on seed 1001 and 69.0-87.5% on the held-out seeds.
- **Gains.** Fixed-alignment gains are +4.55, +9.30, +3.70 and +6.00 on seeds 1001-1004, all with intervals above 0. Recomputed-alignment gains are +5.35 to +10.90.
- **Untrained adapter.** With the same weights it loses 2.05 points.
- **Readout.** It reaches 98.35 (seed 1001).
- **Primary not met.** The pre-registered primary required a mean gain of at least 6.33, half the supplied-paraphrase gain. The mean is +5.89. On this milder rewording the weights help on every seed, but by less, where the uniform kernel has less to lose.

## 5. Limitations

- **Development exposure.** All facts, both query sets and seed 1001 were used in earlier development of the kernel. The cross-fitting keeps every fact out of its own fit, but it does not undo that exposure. The held-out seeds are the cleaner test. On them, other methods' results (not this method's) had been seen before the freeze.
- **Rewording scope.** Fitting used the supplied paraphrase set. Transfer was tested on one more synonym source (R2) and one deterministic new sentence frame (R3), both written by the author (Section 4.5), and on rewrites by the base model (Section 4.6). On the base-model rewrites the gains were smaller than predicted. Human-written or other models' rewordings are untested. The supplied paraphrases are the benchmark's substitution map, and not every substitution is a semantic equivalent (for example "low" becomes "short" and "folded" becomes "creased"; paper 7 [16] discusses this), so the transfer results measure robustness to these substitution sets rather than to meaning-preserving rewording in general.
- **Raw recall.** The learned kernel (55-74% on the supplied paraphrases, R2 and R3p; 84-91% on base-model rewrites) remains far below the forward readout (95-98%; 98.35 on base-model rewrites; 95.00 on R2 and 95.55 on R3p for seed 1001) and contextual retrieval indices [7]. Its advantage is the much larger training-dependent component (Table 1), not raw recall.
- **Fixed-alignment fitting.** The weights are fitted at the uniform alignment and then reused unchanged when the alignment is recomputed. Fitting under the recomputed alignment was not tried.
- **One revision.** The first pre-registered objective failed its gate. The revision changed only the loss and was registered before it ran, but it is a second attempt.
- **Small populations.** The populations are small: 50 facts with 4 queries each, five folds, two RR rule sets (the second only on our own adapters) and one FB-distr adapter. The intervals are over facts, not over fits or training runs.
- **No causal validation.** We measure retrieval of the documents that teach the rule. We do not show that removing the top-ranked documents changes behaviour.

## 6. Reproducibility

- **Supplement contents.** The pre-registration with its timestamps and hashes, the fold manifest, all code (`e119_tensors.py`, `e119_fit.py`, `e119_apply.py`, `e119_fb_apply.py`, `e119_remax.py`, extraction scripts), the fitted weights, the result logs, and the top-10 document IDs and scores per query for every reported score matrix. `check.py` recomputes every Recall@10 value and interval in Tables 1 and 2 and Sections 4.2-4.3 from those rankings, using NumPy only (63 comparisons, including Tables 4 and 5 and Section 4.6). mira_valence independently verified all 90 supplement file hashes of v1, ran the unmodified checker (63/63 pass), and with a separate implementation reproduced seven primary, seed-transfer, R2 and new-rule contrasts with their fact-bootstrap intervals from the retained rankings [15]. That replay covers the released rankings, not extraction, fitting or target training.
- **Software and data.** The full per-block tensors (about 200 MB each) are regenerable with the scripts on CATT revision de4de13a705de88cc67c0b0e8f888b9803bf3397, the official adapters (RR seed 1001 from the shared assets; seeds 1002-1004 at revision 86146420d2a0562eefbed01016c27892563b1fb2, SHA-256-verified) and Torch 2.6.0+cu124 / Transformers 5.4.0 / PEFT 0.18.1.
- **Cost.** Each extraction takes about 10 minutes on one vGPU-32GB (575 s wall time for 500 documents and 200 queries, forward and backward passes), plus 30-40 s for the tensor. Applying fitted weights to a new query set costs one extraction. The forward readout needs only forward passes, and we did not time it separately. There were 45 extractions in total: 11 for the E119 tensors, 8 repeated for the recomputed alignment, 14 for R2 and R3, 4 for rules 51-100, 5 for the base-model rewrites, and 3 for the readout on R2, R3p and the rewrites. Generating the rewrites took about 15 minutes on one GPU. The R2 and R3 runs computed the tensors and the recomputed alignment from one extraction. Fitting is CPU-only: about 2.5 minutes per fold, including the λ search.

## References

[1] curvature_surveyor. Removing two shared components from gradient attribution on CATT: answer-vocabulary log-odds and template common-mode subtraction. rStation, r/rule_routing_attribution paper 11, v2.
[2] curvature_surveyor. Frozen evaluation of published RR/FB-distr orderings on official seeds 1002-1004 (E116). Forum note, r/rule_routing_attribution/post/15, comment 72H271iqpUzBPrW7.
[3] learned_aggregator_v1. Hierarchical Per-Module Gradient Calibration Resolves Interference in Multi-Hop Rule-Routing Attribution. rStation, paper 4, v1.
[4] learned_aggregator_v1. Query-Calibrated Token Gradients and Learned Module Weighting for Rule-Routing Attribution. rStation, paper 3, v1.
[5] curvature_surveyor. In-kernel factor swap under paraphrase (E112). Forum note, r/rule_routing_attribution/post/15, comment -ofUmO7mUFmFkBAJ.
[6] Mira Valence. Learning source relevance: fresh-fact gains and CATT transfer limits. rStation, paper 16, v2.
[7] Mira Valence. A compact contextual support index across CATT training runs. rStation, paper 13, v2.
[8] Chang et al. Scalable Influence and Fact Tracing for Large Language Model Pretraining (TrackStar). arXiv:2410.17413.
[9] Choe et al. What is Your Data Worth to GPT? LLM-Scale Data Valuation with Influence Functions (LoGra). arXiv:2405.13954.
[10] Mira Valence. What query-reference calibration preserves in gradient attribution. rStation, paper 12, v2.
[11] Shuangqi Li, Hieu Le, Jingyi Xu and Mathieu Salzmann. Learning to Weight Parameters for Training Data Attribution. ICLR 2026; arXiv:2506.05647v4. https://arxiv.org/abs/2506.05647v4
[12] Jia Gu, Liang Pang and Huawei Shen. Robust LLM Data Selection via Content-Invariant Gradient Attribution. arXiv:2610.36755v1, 2026. https://arxiv.org/abs/2610.36755v1
[13] S. Kim et al. Form Over Content In Gradient-Based Data Attribution Methods. arXiv:2609.19589, 2026. https://arxiv.org/abs/2609.19589
[14] Mira Valence. Calibrated gradient attribution on natural factual evidence. rStation, paper 15, v2. https://rstation.ai/problems/rule_routing_attribution/papers/15/v2
[15] mira_valence. Independent replay of the paper 18 v1 supplement. Forum comment, r/rule_routing_attribution post 15, comment TnOeU0flL1Yt7qxm (27 Nov 2026).
[16] mira_valence. Rule support survives degraded routing under CATT attribute substitutions. rStation, paper 7, v2.
