AutoResearchClaw strict SPHERE idea run

Stage 20 failed: 6.2/10 < 7.0No source-code edits

Summary

Strict resultFailed quality gate; no final PDF/LaTeX export.
Score6.2/10, threshold 7.0.
Style supportConference template + custom prompt; no first-class reference-paper upload found.
Main caveatForced PROCEED after max pivot attempts; not a scientific pass.

Quality gate verdict

Below threshold: revise before acceptance. The paper is substantially more careful and evidence-bounded than an overclaiming version, but it remains too empirically weak and has unresolved consistency/reproducibility problems.

Weaknesses

Required actions

Audit report

# AutoResearchClaw strict SPHERE-idea run audit (2026-05-04)

## 人话结论

这轮没有在严格配置下产出合格论文包。AutoResearchClaw 确实把 SPHERE 高层 idea 推进到了论文草稿和修订稿,但最后卡在 Stage 20 质量门:**6.2/10 < 7.0**。因为本轮关闭了 graceful degradation,且没有使用 `--skip-noncritical-stage`,所以 pipeline 按严格规则停止,没有导出最终 PDF/LaTeX 论文包。

最重要的是:它不是“没写出来”,而是“写出来了但没过自己的质量门”。这对评估框架反而有价值:严格配置能阻止它把一个证据不足的 pilot 包装成正式论文。

## 运行配置

- 运行目录:`/home/leadtek/Downloads/projects/autoresearch-runners/strict-sphere-idea-20260504`
- AutoResearchClaw repo:`/home/leadtek/Downloads/projects/autoresearch-runners/AutoResearchClaw`
- 源码改动:无。
- 主模型:`gpt-5.5`。
- 质量阈值:`research.quality_threshold = 7.0`。
- 退化策略:`research.graceful_degradation = false`,运行命令带 `--no-graceful-degradation`。
- 未使用:`--skip-noncritical-stage`。
- 模板/风格:`export.target_conference = icml_2026`,并通过 `prompts.custom_file` 注入写作风格提示。

## 是否有“参考论文风格”功能

本地代码检查结论:AutoResearchClaw 没有发现一键 `reference_paper: paper.pdf` 这类字段。它有三类相邻能力:

1. `export.target_conference`:选择会议模板,例如 `icml_2026`。
2. 内置 academic writing prompt blocks。
3. `prompts.custom_file`:加载自定义 prompt YAML,可无源码改动替换或补充写作风格提示。

本轮使用的是第 3 种:`prompts/sphere-icml-style-prompts.yaml`。这只能算“风格规则注入”,不是“自动读一篇参考论文并模仿”。

## 阶段结果

```text
stage-01: done, 52.46s
stage-02: done, 68.45s
stage-03: done, 98.09s
stage-04: done, 627.97s
stage-05: done, 18.1s
stage-06: done, 27.15s
stage-07: done, 70.98s
stage-08: done, 409.52s
stage-09: done, 498.06s
stage-10: done, 1483.11s
stage-11: done, 20.52s
stage-12: done, 808.0s
stage-13: done, 1482.22s
stage-13_v1: done, 1840.74s
stage-13_v2: done, 1982.12s
stage-14: done, 436.42s
stage-14_v1: done, 533.59s
stage-14_v2: done, 508.21s
stage-15: done, 23.38s
stage-15_v1: done, 22.01s
stage-15_v2: done, 22.02s
stage-16: done, 146.87s
stage-17: done, 552.08s
stage-18: done, 134.11s
stage-19: done, 285.6s
stage-20: failed, 34.56s, error=Quality score 6.2/10 below threshold 7.0. Paper needs revision before export.
```

Pipeline summary:

```json
{
  "run_id": "rc-20260504-053046-1bef7a",
  "stages_executed": 12,
  "stages_done": 11,
  "stages_paused": 0,
  "stages_blocked": 0,
  "stages_failed": 1,
  "degraded": false,
  "from_stage": 15,
  "final_stage": 20,
  "final_status": "failed",
  "generated": "2026-05-04T07:04:35+00:00",
  "content_metrics": {
    "template_ratio": 0.0,
    "citation_verify_score": null,
    "total_citations": null,
    "verified_citations": null,
    "degraded_sources": []
  }
}
```

## 关键审计发现

### 1. 文献检索降级

Stage 04 的外部检索失败,`search_meta.json` 显示 `real_search=false`,最后只落到 3 篇 seminal RL 参考:PPO、DQN、SAC。这个文献层太薄,不足以支撑 SPHERE/SPEX 这种 continual MoE-RL + spectral plasticity 选题。

### 2. 实验代码能跑,但多次暴露设计/实现问题

Stage 10 自己报告过 deep quality 问题:早期生成里有导入/实现不完整、`FloatingPointError()` 未定义、方法因素混杂等问题。后续 refine 能跑出实验,但这说明框架在修补,不说明最初设计可靠。

### 3. Stage 15 多次判 REFINE,最后是 forced PROCEED

Stage 15 决策记录:

```text
stage-15: refine — ## Decision  REFINE  ## Justification  The results are not sufficient to proceed to paper writing. The minimum quality criteria for **PROCEED** are not met, and the analysis itself
stage-15_v1: refine — ## Decision  REFINE  ## Justification  The evidence is not sufficient to proceed to paper writing. The hypotheses are not fundamentally disproven, but the current experiment is bes
stage-15_v2: refine — ## Decision  REFINE  ## Justification  The hypotheses are not yet fundamentally disproven, but the current experiments are not valid enough to support paper writing. Under the stat
```

最终进入写作不是因为自然满足 proceed 条件,而是日志中出现:`Max pivot attempts (2) reached — forcing PROCEED`。这必须视为框架强制推进,不等于科学通过。

### 4. Ablation integrity 仍有硬伤

最终 Stage 14 仍报告过 ablation failure:

- `load_balanced_moe_sac_without_spectral_update_preservation`
- `logged_actor_feature_rank_without_actor_spectral_regularization`

两者 16 个指标完全相同,说明某个区分条件很可能没有真正生效,或者输出复用/配置没有隔离。

### 5. 质量门明确拒绝

Stage 20 质量门报告:

- 分数:`6.2/10`
- 阈值:`7.0/10`
- verdict:Below threshold: revise before acceptance. The paper is substantially more careful and evidence-bounded than an overclaiming version, but it remains too empirically weak and has unresolved consistency/reproducibility problems.

主要 strengths:

- Clear and plausible problem framing: balanced MoE routing can coexist with redundant expert behavior and collapsed representation/update geometry.
- The revised paper appropriately narrows its claims, explicitly stating that the available evidence supports diagnostics but not adaptation gains from SPEX regularization.
- Method section is coherent: expert-feature matrices, centering, Frobenius normalization, singular-value entropy, effective rank, and inverse conditioning are defined clearly.
- The paper removes unsupported statistical claims and avoids p-values or multi-seed performance conclusions that the logs cannot justify.
- Limitations are unusually explicit and acknowledge missing environment details, missing matched ablations, incomplete hyperparameters, and non-finite adaptation-AUC issues.
- The diagnostic interpretation is scientifically reasonable: router entropy and load balance alone are insufficient evidence of functional expert diversity.

主要 weaknesses:

- Empirical evidence is far below the standard needed for a full paper: only two pilot runs, no matched seeds, no causal ablation, and no statistically meaningful performance comparison.
- Reported numerical values do not consistently align with the provided experiment summary. For example, the paper reports router entropy 1.2935783863067627 and spectral loss 0.0 in the diagnostic table, while the cross-check summary includes router_entropy 1.366287 and spectral_loss 0.61197 for non-PPO metrics. These discrepancies need explanation.
- The experiment summary indicates multiple conditions and metric keys, including PPO-prefixed metrics, but the paper describes only two executed continual-control pilot runs. The mapping between logs, conditions, and reported tables is unclear.
- The environment is not sufficiently specified: state/action spaces, rewards, horizon, task transition mechanism, task randomization, and evaluation protocol are missing.
- Core implementation details are absent or incomplete, including network architecture, batch size, replay configuration, learning rates, discount, target update, spectral coefficient values, SVD schedule, and router/load-balance details.
- The regularizer is proposed but not convincingly evaluated as a regularizer. The evidence mainly evaluates diagnostics, and the table even reports spectral loss as 0.0 in the diagnostic run, making the title and method contribution stronger than the empirical support.
- The literature grounding is thin and uses placeholder citation keys. Related work mostly references SAC/PPO/DQN rather than engaging deeply with continual RL, MoE routing, representation collapse, rank collapse, plasticity loss, or spectral/orthogonality regularization literature.
- Some metrics are underdefined or potentially misleading, such as actor-gradient covariance rank, expert load-balance score, dormant expert recruitment, replay coverage proxy, success-rate field, and wallclock completion-rate field.
- The figures are referenced as chart files but their provenance and exact plotted data are not specified; Figure 1 path name 'method_comparison.png' may imply a comparison the paper disclaims.
- The conclusion is appropriately cautious, but the paper still reads more like a promising diagnostic note or workshop submission than a mature empirical RL paper.

Required actions:

- Resolve all numerical inconsistencies between the paper tables and the provided experiment summary. Include a clear mapping from each reported number to run ID, seed, task, metric key, and checkpoint.
- Clarify the experiment inventory: explain why the summary says total_conditions = 10 while the paper discusses two executed pilot runs, and identify which conditions are included or excluded.
- Add a reproducibility table with environment details, task definitions, state/action dimensions, reward functions, episode horizon, task-switch schedule, evaluation frequency, and randomization procedure.
- Add full implementation details: architecture of experts/router/actor/critic, number of experts, hidden dimensions, optimizer, learning rates, batch size, replay buffer size, discount, target update, entropy temperature handling, load-balance coefficient, SPEX coefficients, epsilon, SVD frequency, and whether gradients pass through the SVD.
- Define every logged metric precisely, especially actor-gradient covariance rank, inverse condition scores, expert action disagreement, load-balance score, replay coverage proxy, success-rate field, and wallclock completion-rate field.
- If the paper is intended as a full method paper, run a matched multi-seed ablation across at least dense SAC, load-balanced MoE-SAC, actor SPEX, critic SPEX, and joint SPEX under identical task sequences.
- Report whether SPEX actually changes spectral metrics relative to controls before claiming it as a useful regularizer. At minimum, show pre/post or enabled/disabled spectral-loss effects.
- Predefine and repair adaptation metrics, especially later-task early adaptation AUC, and handle non-finite values transparently.
- Strengthen related work with relevant continual RL, modular RL/MoE, plasticity loss, representation collapse, effective-rank, orthogonality, and spectral regularization references.
- Retitle or reframe the paper if no causal regularization evidence is added; a title emphasizing 'diagnostic pilot study' would better match the current evidence.

## 生成的主要产物

- 草稿:`/home/leadtek/Downloads/projects/autoresearch-runners/strict-sphere-idea-20260504/strict-arc-run/stage-17/paper_draft.md`
- 修订稿:`/home/leadtek/Downloads/projects/autoresearch-runners/strict-sphere-idea-20260504/strict-arc-run/stage-19/paper_revised.md`
- 质量报告:`/home/leadtek/Downloads/projects/autoresearch-runners/strict-sphere-idea-20260504/strict-arc-run/stage-20/quality_report.json`
- 实验分析:`/home/leadtek/Downloads/projects/autoresearch-runners/strict-sphere-idea-20260504/strict-arc-run/stage-14/analysis.md`
- 实验代码最终目录:`/home/leadtek/Downloads/projects/autoresearch-runners/strict-sphere-idea-20260504/strict-arc-run/stage-13/experiment_final`
- 注意:`deliverables/` 只有 ICML 模板和 manifest,没有最终论文 PDF。

## 结论

这轮证明了三件事:

1. AutoResearchClaw 能把一个 SPHERE-like idea 自动推进到实验代码、结果分析、草稿、peer review 和 revision。
2. 严格配置下,它不会把未达标论文导出成最终 PDF;Stage 20 拦住了。
3. 当前不改源码直接用它,还不足以稳定产出 SPHERE 级别论文;主要短板在文献检索可用性、ablation 隔离、指标定义、实验可复现细节和质量门前的 forced-proceed 逻辑。

下一步若继续评估 AutoResearchClaw,最值得先改的不是 paper writing,而是运行前置:

- 修复 Python HTTPS 文献检索或预置真实文献包。
- 禁止 forced PROCEED 后直接进入写作,至少要在人类/外部 reviewer 明确确认后才写。
- 要求每个 condition 输出 resolved config、seed、run id、artifact path,并做 ablation-difference assertion。
- 把 custom reference-style 支持从“写作规则提示”升级成“参考论文解析/风格摘要/引用结构映射”。

Revised paper draft that failed Stage 20

# SPEX: Diagnosing Spectral Collapse in Continual MoE-RL

# Abstract

Continual deep reinforcement learning can lose plasticity after a task change when a policy keeps selecting its modules while the expert representations collapse into a narrow or ill-conditioned feature space. Existing stability mechanisms in SAC, PPO, and DQN regulate Bellman targets, policy steps, or value updates, but they do not directly test whether mixture-of-experts policies preserve representation directions that later gradients can use [haarnoja2018soft; schulman2017proximal; mnih2013playing]. We introduce SPEX, an activation-space diagnostic and regularizer that forms minibatch expert-feature matrices, computes normalized singular-value spectra, and penalizes spectral concentration and poor conditioning without Hessians, Fisher matrices, or task labels. In two executed continual-control pilot runs, routing remained balanced in the logged MoE policy, with router entropy reaching \(1.2935783863067627\) and load balance \(0.9868752360343933\), while expert action disagreement was \(0.005586131010204554\) and actor-gradient covariance rank was \(1.0\). These preliminary results support spectral diagnostics as a practical way to expose hidden MoE redundancy, while the run evidence does not establish an adaptation gain from SPEX regularization.

# Introduction

Continual reinforcement learning places a stronger demand on policy representations than single-task training because the same agent must update after rewards, dynamics, goals, or observation statistics change. In a standard deep RL pipeline, strong optimization on the current task can increase immediate return while reducing the number or quality of directions available for later updates. This failure mode is especially relevant for actor-critic methods such as Soft Actor-Critic, where the policy and value functions co-evolve under bootstrapped targets and off-policy replay [haarnoja2018soft]. Similar issues can arise under clipped policy-gradient updates in PPO, where conservative policy changes stabilize learning but do not directly protect representation geometry [schulman2017proximal], and in value-based methods such as DQN, where a learned feature bottleneck can constrain later value revision [mnih2013playing]. Building on this observation, the central question of this work is whether continual MoE-RL loses plasticity not because it lacks parameters, but because its experts stop spanning useful update directions.

Mixture-of-experts policies are a natural architectural response to nonstationarity because they provide conditional capacity. A router can assign states to experts, and load-balancing losses can prevent all traffic from collapsing onto one module. This architectural promise, however, does not imply functional diversity. A router can distribute probability mass across experts while the experts learn similar hidden states, similar actions, or similar gradients. In contrast to prior work that treats modularity as a capacity-allocation mechanism, this paper separates assignment diversity from representation diversity. That distinction matters in continual RL because later-task adaptation depends on the directions through which gradients can change behavior, not only on whether a routing statistic says that every expert was used.

Naive regularization does not directly solve this representation problem because most common constraints operate on policy outputs, parameter movement, or replayed losses. KL-style policy constraints, entropy bonuses, clipped objectives, and target networks support stable optimization, and they are central to modern RL algorithms [haarnoja2018soft; schulman2017proximal; mnih2013playing]. Stability is different from plasticity. A policy can move slowly because it is well regularized, or it can move slowly because its hidden representation has become narrow and poorly conditioned. Replay and modularization can reduce forgetting, but they do not guarantee that expert feature spaces preserve broad singular spectra for future tasks. To address this limitation, we study the spectra of accessible expert activations as a tractable proxy for plasticity-relevant update geometry.

SPEX builds on the insight that expert activations already computed during a forward pass contain a direct diagnostic of representation collapse. For a minibatch of states, each expert produces a hidden representation, and these representations define a feature matrix whose singular values describe rank, spectral concentration, and conditioning. If most singular-value mass concentrates in a few directions, downstream gradients have fewer effective routes for changing the policy or critic. If the trailing singular values vanish, updates through those features become ill-conditioned. SPEX therefore adds an auxiliary activation-space loss that penalizes collapsed singular-value distributions and poor conditioning. The method is compatible with SAC-style actor-critic learning and can be localized to actor experts, critic experts, or both, which makes it useful for testing whether the policy or value representation is the main bottleneck.

Our contributions are framed as checkable claims about mechanism, measurement, and pilot evidence:

- We formulate a continual MoE-RL plasticity failure mode in which balanced routing coexists with redundant expert features, redundant expert actions, and collapsed actor update geometry.
- We define accessible actor and critic expert-feature matrices, along with spectral diagnostics for effective rank, singular-value entropy, and inverse condition score.
- We introduce SPEX, a practical spectral-diversity regularizer that operates on minibatch expert activations and can be added to standard deep-RL objectives without second-order derivatives.
- We report two executed continual-control pilot runs showing balanced routing, low expert behavioral diversity, severe actor-feature ill-conditioning, and rank-one actor-gradient covariance in the logged diagnostic run.

The remainder of the paper develops this argument from mechanism to evaluation. The related work section positions SPEX relative to continual RL, modular policies, plasticity loss, and spectral regularization using the citation keys available in the draft. The method section formalizes the expert-feature matrix, the spectral objective, and the update procedure. The experiments and results then separate measured pilot evidence from unsupported causal comparisons, focusing on the recorded quantities that directly address the core research question.

# Related Work

## Continual Reinforcement Learning and Plasticity

Continual reinforcement learning studies agents trained across task sequences in which old-task retention and later-task adaptation both matter. Classical forgetting metrics measure whether earlier performance degrades, while plasticity-focused metrics ask whether the agent can still learn efficiently after a task switch. Modern deep RL algorithms provide strong single-task foundations, but their core objectives were not designed to preserve long-horizon representation geometry. SAC optimizes a maximum-entropy actor-critic objective that supports stable off-policy learning [haarnoja2018soft], PPO constrains policy-gradient updates through clipping [schulman2017proximal], and DQN shows that deep networks can learn value functions from high-dimensional inputs [mnih2013playing]. SPEX differs from these base algorithms because it does not replace their RL losses; it adds a representation-level diagnostic and regularizer aimed at the geometry that later updates must traverse.

A central distinction in continual RL is the difference between retention and adaptability. A policy can preserve old behavior through replay, slow parameter movement, or modular isolation, yet still adapt slowly because its hidden representation no longer supports diverse gradient directions. This distinction is especially important in actor-critic learning, where policy improvement depends on both the critic’s value landscape and the actor’s ability to change actions in response to that landscape [haarnoja2018soft]. In contrast to retention-only approaches, SPEX targets the feature spectra of expert modules during training. The goal is to measure whether those modules remain trainable after task changes, rather than merely recording whether the current task return is stable.

## Modular Policies and Mixture-of-Experts Routing

Mixture-of-experts architectures address nonstationarity by increasing conditional capacity. A router maps each input state or context to expert weights, and the policy combines expert outputs through soft aggregation or sparse selection. In continual RL, this modular structure is attractive because different experts can specialize to different task regimes, dynamics patterns, or behavioral modes. Load-balancing losses further encourage traffic to be distributed across modules, reducing assignment collapse. However, load balancing constrains how often experts are selected, not what features those experts represent. SPEX begins from this gap: expert usage is a routing statistic, while plasticity depends on representation and update geometry.

Balanced routing can therefore overstate the health of a modular policy. If experts produce similar hidden features or similar actions, the MoE policy may behave like a dense network with replicated branches. This problem is not solved by entropy alone because high router entropy can coexist with low expert disagreement. Building on this observation, SPEX measures expert activations directly and asks whether their singular spectra remain broad and well conditioned. The method differs from generic modularization because it gives reviewers and practitioners a concrete object to inspect: the minibatch expert-feature matrix.

## Representation Collapse, Rank, and Conditioning

Representation collapse occurs when neural features become redundant, inactive, saturated, or concentrated in a low-dimensional subspace. In reinforcement learning, this risk is amplified by bootstrapped targets, changing data distributions, and the coupling between exploration and representation learning. If actor features collapse, the policy may have few independent directions through which gradients can change behavior after a task switch. If critic features collapse, value estimates may become harder to revise when rewards or dynamics change. These mechanisms are distinct from immediate return because a policy can perform acceptably on one task while carrying a representation that is poorly prepared for the next task.

Feature rank and conditioning provide practical measurements of this failure mode. Effective rank summarizes how many singular directions carry activation energy, singular-value entropy measures spectral spread, and inverse condition score captures the size of the weakest direction relative to the strongest direction. Gradient covariance rank offers a complementary view of update diversity, because it measures whether gradient samples span multiple directions or collapse into a narrow subspace. SPEX connects these quantities by regularizing activation spectra during training. In contrast to policy-level constraints in SAC or PPO [haarnoja2018soft; schulman2017proximal], this intervention acts before the policy output by shaping the geometry of expert representations.

## Spectral Regularization and Accessible Diagnostics

Spectral regularization methods encourage neural weights or activations to avoid degeneracy by controlling rank, singular-value spread, orthogonality, or conditioning. Weight-space penalties can stabilize transformations, but activation-space penalties directly affect the representations consumed by downstream layers. For continual MoE-RL, activation-space regularization is especially practical because expert features are already produced during policy and critic forward passes. This avoids full Hessian, Fisher, or Jacobian computations while still targeting a quantity connected to trainability. SPEX belongs to this activation-space family, but it is specialized to expert policies trained under continual deep RL.

The practical contribution is not merely computing singular values. SPEX places spectra at the same level as routing entropy and expert load balance, making it possible to diagnose whether a modular policy is functionally diverse rather than only assignment-balanced. This differs from algorithm-family baselines such as SAC, PPO, and DQN, which define how returns, policy probabilities, or value estimates are optimized [haarnoja2018soft; schulman2017proximal; mnih2013playing]. SPEX instead asks whether the hidden feature spaces through which those objectives operate remain broad enough for future adaptation. That question is the core connection between spectral diversity and continual MoE-RL plasticity.

# Method

## Continual MoE-RL Setup

SPEX formalizes continual MoE-RL plasticity as a representation-geometry problem. We consider a sequence of tasks \(\mathcal{T}_{1:K}\), where each task \(k\) induces a Markov decision process \(\mathcal{M}_k=(\mathcal{S},\mathcal{A},P_k,r_k,\gamma)\). At time \(t\), the agent observes state \(s_t\in\mathcal{S}\), samples action \(a_t\in\mathcal{A}\) from a policy \(\pi_\theta(a_t\mid s_t)\), receives reward \(r_k(s_t,a_t)\), and transitions according to \(P_k(s_{t+1}\mid s_t,a_t)\). The learning objective is to train a single parameter vector sequentially over tasks so that the policy achieves high return while retaining the ability to adapt after task changes. In the pilot implementation, the base learner follows a SAC-style actor-critic template [haarnoja2018soft], while PPO and DQN remain relevant algorithm-family references for policy-gradient and value-based settings [schulman2017proximal; mnih2013playing].

A mixture-of-experts policy introduces expert modules and a router that maps states to expert weights. For a state \(s\), expert \(e\) produces a hidden representation
\[
h_e(s;\theta_e)\in\mathbb{R}^{d},
\]
and the router produces a soft assignment distribution
\[
q_\psi(e\mid s)=\operatorname{softmax}(g_\psi(s))_e.
\]
The policy head aggregates expert outputs using the router weights or a selected expert subset. A load-balancing loss can encourage the empirical average usage
\[
\bar q_e=\frac{1}{B}\sum_{i=1}^{B}q_\psi(e\mid s_i)
\]
to remain close to uniform. This loss is useful for detecting assignment collapse, but it does not constrain whether expert features remain distinct or well conditioned. SPEX addresses the complementary question: given that an expert is active, does its representation preserve directions that later actor or critic gradients can use?

## Expert-Feature Matrix and Spectral Diagnostics

The key object in SPEX is the minibatch expert-feature matrix. For a minibatch \(X=\{s_i\}_{i=1}^{B}\), each expert defines
\[
H_e(X)=
\begin{bmatrix}
h_e(s_1;\theta_e)^\top\\
h_e(s_2;\theta_e)^\top\\
\vdots\\
h_e(s_B;\theta_e)^\top
\end{bmatrix}
\in\mathbb{R}^{B\times d}.
\]
SPEX centers this matrix feature-wise and then applies Frobenius normalization:
\[
\tilde H_e =
\frac{H_e-\mathbf{1}\mu_e^\top}
{\left\|H_e-\mathbf{1}\mu_e^\top\right\|_F+\epsilon},
\qquad
\mu_e=\frac{1}{B}\sum_{i=1}^{B}h_e(s_i;\theta_e).
\]
This normalization fixes the main implementation degree of freedom in the draft. The regularizer acts on the relative singular-value distribution rather than rewarding large activation norms.

Let \(\sigma_{e,1}\geq\cdots\geq\sigma_{e,r}\) denote the singular values of \(\tilde H_e\), where \(r=\min(B,d)\). The same nonzero spectrum can be obtained from the Gram matrix
\[
G_e=\frac{1}{B}\tilde H_e^\top \tilde H_e
\]
when symmetric eigendecomposition is preferable. SPEX converts singular values into a probability distribution
\[
p_{e,i}=\frac{\sigma_{e,i}}{\sum_{j=1}^{r}\sigma_{e,j}+\epsilon}.
\]
The singular-value entropy is then
\[
\mathcal{H}_{\sigma}(H_e)=-\sum_{i=1}^{r}p_{e,i}\log(p_{e,i}+\epsilon),
\]
and the effective rank is \(\exp(\mathcal{H}_{\sigma}(H_e))\). Higher entropy indicates that feature energy is spread across more singular directions, while lower entropy indicates spectral concentration. The inverse condition score,
\[
\operatorname{icond}(H_e)=\frac{\sigma_{e,r}+\epsilon}{\sigma_{e,1}+\epsilon},
\]
captures whether the weakest retained direction is usable relative to the strongest direction.

## SPEX Objective

SPEX penalizes spectral concentration and poor conditioning with an activation-space auxiliary loss. For each expert, the regularizer is
\[
\mathcal{R}_{\mathrm{SPEX}}(H_e)
=
-\mathcal{H}_{\sigma}(H_e)
+
\alpha
\log\frac{\sigma_{e,1}+\epsilon}{\sigma_{e,r}+\epsilon}.
\]
The first term rewards broad spectral support by minimizing negative singular-value entropy. The second term penalizes large condition ratios by discouraging vanishing trailing singular values. Together, the terms encode the paper’s mechanism-level hypothesis: later-task plasticity depends on whether expert features preserve multiple well-conditioned directions for future gradients.

The regularizer can be applied to actor features, critic features, or both. For actor expert matrices \(H_e^\pi\) and critic expert matrices \(H_e^Q\), SPEX defines
\[
\mathcal{L}_{\mathrm{SPEX}}^{\pi}
=
\frac{1}{E}\sum_{e=1}^{E}\mathcal{R}_{\mathrm{SPEX}}(H_e^\pi),
\qquad
\mathcal{L}_{\mathrm{SPEX}}^{Q}
=
\frac{1}{E}\sum_{e=1}^{E}\mathcal{R}_{\mathrm{SPEX}}(H_e^Q).
\]
The total objective is
\[
\mathcal{L}_{\mathrm{total}}
=
\mathcal{L}_{\mathrm{RL}}
+
\lambda_a \mathcal{L}_{\mathrm{SPEX}}^\pi
+
\lambda_c \mathcal{L}_{\mathrm{SPEX}}^Q
+
\lambda_b \mathcal{L}_{\mathrm{LB}},
\]
where \(\mathcal{L}_{\mathrm{RL}}\) is the base RL objective, \(\mathcal{L}_{\mathrm{LB}}\) is the router load-balancing term, and the coefficients control actor spectral, critic spectral, and routing penalties. In a SAC-style learner, \(\mathcal{L}_{\mathrm{RL}}\) includes critic Bellman regression, entropy-regularized actor improvement, and the temperature-related terms of the base algorithm [haarnoja2018soft]. SPEX does not alter the Bellman target or policy-gradient estimator; it adds a feature-geometry constraint to the representations those updates use.

## Update Procedure and Cost

The SPEX update begins with an ordinary RL minibatch from replay or rollout data. The learner computes the base RL loss, records actor and critic expert activations, centers and normalizes each expert-feature matrix, computes singular values through SVD or Gram-matrix eigendecomposition, and adds the enabled actor or critic SPEX terms to the total objective. During the same update, the implementation logs router entropy, expert load balance, effective ranks, inverse condition scores, singular-value entropies, expert action disagreement, actor-gradient covariance rank, policy entropy, replay coverage, return, and numerical stability indicators. This logging path is central to the diagnostic contribution because it allows the paper to test whether routing health and representation health agree.

The computational cost is dominated by the minibatch spectral decomposition. Direct SVD of a \(B\times d\) matrix costs \(O(Bd\min(B,d))\), while eigendecomposition of the \(d\times d\) Gram matrix costs \(O(Bd^2+d^3)\). In deep-RL settings where environment interaction and neural-network optimization dominate wallclock time, the spectral computation is practical as a periodic diagnostic or as an auxiliary loss. The stabilizer \(\epsilon\), centering, and Frobenius normalization are part of the method because small singular values make conditioning-sensitive objectives numerically delicate. This design keeps SPEX local to accessible activations and avoids Hessian, Fisher, and full-Jacobian computations.

# Experiments

## Pilot Protocol

The experiment artifact contains two executed continual-control pilot runs. The logs include one diagnostic run with seed \(4.0\) on task \(0.0\), and one step-resolved run with seed \(0.0\) that records task \(0.0\) before a later transition to task \(1.0\). The MoE policy uses four experts, which is reflected in the router-entropy interpretation against the four-expert uniform-routing maximum. The available records include evaluation return, training loss, router entropy, expert load-balance score, dormant expert recruitment, actor and critic spectral diagnostics, expert action disagreement, policy entropy, replay state-coverage proxy, actor-gradient covariance rank, adaptation-AUC logging, final-return logging, numerical update health, success-rate logging, and wallclock completion logging. These two runs are used only as descriptive evidence for the spectral-collapse diagnostic question.

The environment is a continual-control setting with task indices stored in the run logs. The verified artifact does not provide the full state definition, action bounds, reward equation, horizon, transition-noise model, or task-randomization procedure, so the experiment is reported as a pilot diagnostic rather than a benchmark-complete evaluation. The central measured question is whether routing statistics agree with functional and spectral expert diversity. Building on this setup, the analysis focuses on recorded quantities that directly test the failure mode: high router entropy and high load balance on one side, low expert action disagreement, poor actor conditioning, and collapsed actor-gradient covariance rank on the other.

The baseline comparison is intentionally not framed as a multi-method causal evaluation. Earlier draft tables contained generated condition summaries, seed means, and paired comparisons that were not supported by the verified execution evidence. Those tables are removed. The remaining evidence comes from the two executed logs listed above, and no p-values are reported because the verified data do not contain matched multi-seed method pairs. This makes the empirical claim narrower but more reliable: the pilot tests whether SPEX-style diagnostics reveal a hidden MoE plasticity failure mode, not whether SPEX improves return over load-balanced MoE-SAC or dense SAC.

## Metrics

Evaluation return is the recorded scalar return at evaluation checkpoints, with higher values corresponding to better control performance when returns are negative costs. Router entropy measures the entropy of the expert assignment distribution,
\[
\mathcal{H}_{\mathrm{route}}(s)=-\sum_{e=1}^{E}q_\psi(e\mid s)\log q_\psi(e\mid s),
\]
averaged over logged states. Expert load-balance score measures how close empirical expert usage is to balanced usage, with larger values indicating more even routing. Expert action disagreement measures dispersion among expert action outputs, so smaller values indicate more behaviorally similar experts. These quantities jointly test whether assignment diversity translates into functional diversity.

Spectral metrics quantify expert representation geometry. Effective rank is computed from the normalized singular-value distribution, singular-value entropy is the corresponding entropy, and inverse condition score compares the weakest and strongest singular directions. Actor-gradient covariance rank measures the rank of actor-gradient covariance samples under the diagnostic construction used in the run log. Policy entropy measures action stochasticity, and the replay state-coverage proxy records diversity in sampled replay states according to the experiment’s internal proxy. The logged later-task early adaptation AUC and final-return fields are included in the artifact, but the results section does not use them to claim adaptation improvement because the available evidence is not a matched causal comparison.

All runs were executed on a CUDA-enabled machine with an NVIDIA GeForce RTX 4090 GPU and 24564 MB of VRAM. The recorded numerical-update health field indicates that the spectral diagnostic path completed without NaNs in the logged pilot. This compute description is included for reproducibility of the diagnostic setting, while the scientific interpretation remains tied to representation collapse in continual MoE-RL.

# Results

## Single-Run Diagnostic Evidence

The pilot evidence shows a clear mismatch between router balance and expert functional diversity. In the seed-\(4.0\) diagnostic run, the router entropy was \(1.2935783863067627\), and the expert load-balance score was \(0.9868752360343933\). Those values indicate broad expert usage in the logged MoE policy. In contrast, expert action disagreement was \(0.005586131010204554\), showing that selected experts produced closely aligned actions in that measurement. Building on this observation, SPEX targets the representation level because assignment diversity alone did not certify behaviorally distinct experts.

The same run shows that actor-side representation geometry was more fragile than the routing statistics suggested. Actor effective rank was \(10.5450200125855\), but the actor inverse condition score was \(4.0581949732446545\mathrm{e}{-14}\), and actor-gradient covariance rank was \(1.0\). Critic effective rank was \(13.889060042719896\), with critic inverse condition score \(0.0002568957208485618\). This contrast indicates that effective rank alone is incomplete: the actor retained nontrivial spectral entropy, yet its weakest directions were effectively unusable under the recorded conditioning metric. The implication is that continual MoE-RL diagnostics should track both spectral spread and conditioning.

Table \ref{tab:pilot-diagnostic} summarizes the seed-\(4.0\) diagnostic run. The table reports measured values directly from the executed artifact and does not include generated seed averages or unsupported confidence intervals.

\[
\begin{array}{l r}
\hline
\text{Metric} & \text{Recorded value}\\
\hline
\text{Evaluation return} & -4.987549230636285\\
\text{Training loss} & 6.741713523864746\\
\text{Spectral loss} & 0.0\\
\text{Random-subset spectral loss} & 0.0\\
\text{Router entropy} & 1.2935783863067627\\
\text{Expert load-balance score} & 0.9868752360343933\\
\text{Dormant expert recruitment} & 0.0\\
\text{Critic effective rank} & 13.889060042719896\\
\text{Critic inverse condition score} & 0.0002568957208485618\\
\text{Critic singular-value entropy} & 2.6212039240737037\\
\text{Actor effective rank} & 10.5450200125855\\
\text{Actor inverse condition score} & 4.0581949732446545\mathrm{e}{-14}\\
\text{Actor singular-value entropy} & 2.354810068005841\\
\text{Actor-gradient covariance rank} & 1.0\\
\text{Actor-gradient inverse condition score} & 1.0\\
\text{Expert action disagreement} & 0.005586131010204554\\
\text{Policy entropy} & 1.1441175937652588\\
\text{Replay state-coverage proxy} & 2.527790069580078\\
\text{Final return over last checkpoints} & -21.107844429256396\\
\text{Nan-free update rate} & 1.0\\
\text{Success-rate field} & 1.0\\
\text{Wallclock completion-rate field} & 0.5\\
\hline
\end{array}
\]
Table \(\ref{tab:pilot-diagnostic}\): Diagnostic metrics from the executed seed-\(4.0\) pilot run.

## Task-Transition Trace

The seed-\(0.0\) run records a trajectory through task \(0.0\) and then task \(1.0\). The task-\(0.0\) evaluation returns improved after the first logged checkpoint and then stabilized within a narrower negative-return band before the task transition. At the final logged task-\(1.0\) checkpoint, return dropped sharply, while router entropy and load balance remained high. This temporal pattern supports the diagnostic premise: the task transition exposed a performance challenge even though routing metrics continued to look healthy.

\[
\begin{array}{r r r r r r r}
\hline
\text{Step} & \text{Task} & \text{Return} & \text{Critic rank} & \text{Actor rank} & \text{Router entropy} & \text{Disagreement}\\
\hline
1333.0 & 0.0 & -12.361401122266843 & 16.76717334355394 & 12.84044592738778 & 1.2548692226409912 & 0.003749394789338112\\
2666.0 & 0.0 & -8.2095401367779 & 14.189446058540751 & 12.113155596287129 & 1.3447726964950562 & 0.007015525363385677\\
3999.0 & 0.0 & -7.235987947494715 & 12.39944510857913 & 11.002473972053933 & 1.3436079025268555 & 0.00704397214576602\\
5332.0 & 0.0 & -6.999899072016812 & 13.05236461697146 & 11.626024742264262 & 1.3298938274383545 & 0.007529214024543762\\
6665.0 & 1.0 & -52.94980537902728 & 12.339512112572567 & 12.839052809107198 & 1.3250694274902344 & 0.03482832759618759\\
\hline
\end{array}
\]
Table \(\ref{tab:transition-trace}\): Step-resolved continual-control diagnostics from the executed seed-\(0.0\) run.

![Return trace across the recorded task transition](charts/method_comparison.png)

Figure 1: Return trace and task-transition summary for the executed pilot logs. The plotted evidence should be read as descriptive single-run evidence rather than as a multi-method performance comparison.

![Spectral and routing diagnostics from the pilot logs](charts/metric_heatmap.png)

Figure 2: Spectral, routing, and functional-diversity diagnostics from the pilot logs. The relevant pattern is the coexistence of balanced routing with weak expert action separation and poor actor-side conditioning.

## Interpretation

The measured results support the diagnostic part of the SPEX argument. Balanced routing was present in the logged MoE policy, but expert action disagreement was low and actor-gradient covariance collapsed to rank one in the diagnostic run. The task-transition trace also shows that high router entropy persisted when return degraded after moving to the later task. These observations indicate that router entropy and load balance are incomplete measures of continual MoE-RL plasticity.

The measured results do not establish that SPEX regularization improves later-task adaptation. The verified artifact contains two executed pilot runs, not a matched multi-seed ablation of load-balanced MoE-SAC, actor SPEX, critic SPEX, joint SPEX, and dense SAC. Therefore, no p-values or paired confidence intervals are reported, and no return-improvement comparison is made. The main empirical takeaway is narrower and evidence-bound: spectral and functional diagnostics can expose a failure mode that routing metrics miss, making them appropriate targets for a corrected causal evaluation.

# Discussion

The main empirical insight is that MoE routing can look healthy while expert functionality remains redundant. The router entropy and load-balance diagnostics indicate broad expert usage, yet expert action disagreement remained low and actor-gradient covariance rank collapsed in the recorded diagnostic run. This is the failure mode SPEX was designed to expose: balanced assignment does not guarantee distinct behavioral or update directions. Building on this observation, spectral expert regularization is best understood here as a concrete mechanism for measuring and shaping plasticity, with adaptation effects left to a matched ablation.

The contrast between actor and critic geometry suggests that the actor representation deserves direct attention in continual MoE-RL. In the logged diagnostic run, the actor retained measurable singular-value entropy but had an inverse condition score near zero, whereas the critic had a larger inverse condition score under the same diagnostic family. In SAC, actor and critic updates are tightly coupled through entropy-regularized policy improvement and bootstrapped value learning [haarnoja2018soft]. A poorly conditioned actor representation can therefore restrict behavioral adaptation even if the critic retains broader features. In contrast to policy-level stabilization, SPEX measures the hidden feature geometry through which those updates must pass.

The negative evidential boundary is also informative. The available runs support a diagnostic mismatch between routing and representation, but they do not support a claim that SPEX improves return, post-switch adaptation, or dense-baseline competitiveness. This distinction narrows the paper’s contribution to a method proposal plus pilot diagnosis. It also clarifies the next experimental target: first verify that the regularizer changes actor or critic spectra, then verify that spectral changes increase gradient or policy-Jacobian diversity, and only then test whether normalized post-switch adaptation improves. That causal chain is more reviewable than treating a spectral penalty as a black-box performance enhancement.

For practitioners, the immediate recommendation is to log representation geometry in continual MoE-RL systems. Router entropy, expert load balance, and selected fraction are useful for detecting assignment collapse, but they miss behaviorally redundant experts and ill-conditioned actor features. Adding effective rank, singular-value entropy, inverse condition score, expert action disagreement, and gradient covariance rank gives a more direct view of whether expert capacity remains usable after a task change. SPEX makes these diagnostics operational because it uses activations already available in ordinary actor-critic training.

# Limitations

- The empirical evidence consists of two executed pilot runs, with seed \(4.0\) for the diagnostic run and seed \(0.0\) for the step-resolved task-transition run. This limits statistical inference: the paper reports descriptive diagnostics and does not report p-values, paired confidence intervals, or cross-seed means.

- The verified artifact does not fully specify the continual-control environment. State variables, action bounds, reward definition, episode horizon, task-switch schedule, transition noise, and task randomization are not available in the paper record, so the results are not benchmark-complete.

- The current logs do not contain a matched causal ablation across dense SAC, load-balanced MoE-SAC, actor SPEX, critic SPEX, and joint SPEX under identical seeds and task sequences. As a result, the paper does not claim that SPEX improves return or later-task adaptation.

- The logged adaptation-AUC field is not used as decisive evidence because the available record contains an inconsistent non-finite warning for that metric. A corrected evaluation should predefine normalized post-switch adaptation AUC, retention, final return, and spectral-change outcomes before analysis.

- Reproducibility details for the exact run remain incomplete. Learning rate, discount factor, target-update rate, batch size, replay-buffer configuration, network widths, router architecture, expert architecture, spectral coefficients, condition penalty, stabilizer, and SVD schedule are not fully recorded. The runs used an NVIDIA GeForce RTX 4090 GPU with 24564 MB of VRAM, and the diagnostic log recorded a nan-free update-rate field of \(1.0\).

# Conclusion

SPEX studies a specific plasticity failure mode in continual mixture-of-experts reinforcement learning: a policy can route states across experts in a balanced way while the experts remain behaviorally similar and the actor representation becomes poorly conditioned. The two executed pilot runs support this diagnostic concern. In the logged MoE policy, routing statistics indicated broad expert use, yet expert action disagreement remained low, actor inverse conditioning was severe, and actor-gradient covariance collapsed to a single measured rank direction. The task-transition trace further showed that routing health persisted even when return degraded after the later task appeared. These findings make spectral and functional diagnostics a useful addition to continual MoE-RL evaluation because they measure a failure mode that router entropy and load balance do not detect.

The results do not establish that SPEX improves adaptation. The verified evidence is a pilot diagnostic record rather than a matched multi-seed ablation, so the paper refrains from claiming return gains over load-balanced MoE-SAC, dense SAC, PPO, or DQN. The appropriate conclusion is narrower: accessible expert-feature spectra provide a concrete way to inspect whether modular policies preserve update-relevant directions.

Future work should run a corrected causal evaluation with matched task sequences and paired statistical tests across load-balanced MoE, actor SPEX, critic SPEX, and joint SPEX. It should also validate normalized post-switch adaptation AUC, retention, and gradient-diversity metrics so that spectral change, update-direction diversity, and later-task performance can be linked in one evidence chain.

Stage 14 analysis

## Metrics Summary

| Area | Reported signals | Unified interpretation |
|---|---:|---|
| Run stability | `nan_free_update_rate = 1.0`; many `success_rate = 1.0`; no timeout; aggregate `wallclock_completion_rate = 1.0` but structured `0.5` | Numerically stable enough for a pilot, but completion/logging inconsistency must be resolved. |
| Training budget | Intended `48k` steps reduced to `16k` due to budget adjustment | Major validity limitation; later-task adaptation and deferred/boundary effects may be under-sampled. |
| Main performance | SAC `primary_metric_mean ≈ -7.99`; PPO `≈ -8.33`; DQN `≈ -8.77`; MoE variants `≈ -8.50` | No credible performance advantage for spectral MoE. SAC appears numerically best in this single run, but comparisons are not statistically meaningful. |
| Key ablation | `load_balanced_moe_sac_without_spectral_update_preservation` and `logged_actor_feature_rank_without_actor_spectral_regularization` identical across 16 metrics | Fatal ablation failure. Central causal comparison is invalid. |
| Spectral condition delta | `boundary_pulsed... - load_balanced... primary_metric_mean_diff = 0.0` | Either no effect, inactive regularizer, shared/cached run, or broken config. Cannot interpret as evidence for or against the hypothesis. |
| MoE routing | Router entropy `≈ 1.29–1.38`; max for 4 experts is `log(4) ≈ 1.386`; load-balance `≈ 0.92–0.99` | Router/load balancing appears functional; no obvious routing collapse in MoE variants. |
| Expert behavior | `expert_action_disagreement = 0.005586` | Experts are likely behaviorally redundant despite balanced routing. This supports the concern that router balance does not imply functional diversity. |
| Actor/critic spectra | Critic rank `≈ 13.89`; actor rank `≈ 10.55`; critic inverse condition `≈ 2.57e-4`; actor inverse condition `≈ 4.06e-14` | Actor features appear severely ill-conditioned; potentially important, but metric validity needs checking. |
| Functional plasticity | `actor_gradient_covariance_rank = 1.0` | Strong warning sign of collapsed functional update diversity or a measurement artifact. |
| Adaptation metric | `later_task_early_adaptation_auc = -205064.31`; warnings about NaN/non-finite values | Current AUC scale/implementation is suspicious and not interpretable without normalization/validation. |
| Correlations | Actor rank vs later AUC Spearman `0.3901`; critic rank vs later AUC `-0.1143`; warnings about constant inputs/NaNs | Directionally interesting at best, but statistically unsupported and possibly invalid. |

---

## Consensus Findings

There is strong agreement across the three perspectives on the following high-confidence conclusions:

1. **This was a pilot/debugging run, not a valid hypothesis test.**  
   The experiment successfully exercised parts of the pipeline and produced useful diagnostics, but it does not establish that spectral-diversity regularization improves continual MoE-RL adaptation.

2. **The central ablation is broken.**  
   Identical outputs across supposedly distinct conditions are a major implementation/configuration failure. Any comparison involving those conditions is invalid until the config, loss wiring, gradient flow, and logging paths are verified.

3. **Single-seed results are not scientifically reliable.**  
   With `n=1` for nearly all metrics, there is no seed-level variance estimate, no confidence interval, and no basis for statistical inference.

4. **MoE routing/load balancing appears numerically healthy.**  
   Router entropy near the 4-expert maximum and high expert load-balance scores suggest the router is not trivially collapsed.

5. **Balanced routing does not imply useful expert specialization.**  
   Very low expert action disagreement indicates that experts may be functionally redundant even when evenly used.

6. **Actor-side plasticity/conditioning is a plausible bottleneck.**  
   Actor inverse condition score is extremely poor, actor-gradient covariance rank is collapsed, and actor feature rank has a weak preliminary positive association with adaptation. This is not proof, but it is a useful direction for the next experiment.

---

## Contested Points

### 1. Is the run encouraging or mostly negative?

**Optimist view:** The run is encouraging because it shows stable training, rich logging, balanced MoE routing, and plausible actor-side collapse signals.

**Skeptic/methodologist view:** The run is not credible evidence because the main ablation is invalid, `n=1`, metrics are inconsistent, and the adaptation outcome is suspicious.

**Judgment:**  
Both are correct at different levels. As an **engineering feasibility/instrumentation pass**, the run is moderately successful. As a **scientific result**, it is inconclusive. The right interpretation is:

> The pipeline is promising enough to continue, but the current results should not be used to claim method effectiveness.

---

### 2. Does the actor-rank correlation support the hypothesis?

Reported:

```text
spearman_actor_rank_vs_later_auc = 0.3901
spearman_critic_rank_vs_later_auc = -0.1143
```

**Optimist view:** Actor rank may matter more than critic rank for later adaptation.

**Skeptic view:** Correlations are underpowered/invalid due to tiny or degenerate samples, NaNs, and constant-input warnings.

**Judgment:**  
The actor-rank signal is only a **hypothesis-generating clue**, not evidence. It may justify prioritizing actor-side regularization, but it cannot support a claim.

---

### 3. Is low expert action disagreement good or bad?

Reported:

```text
expert_action_disagreement = 0.005586
```

**Optimist view:** This reveals the target failure mode: active experts that are behaviorally redundant.

**Skeptic view:** It undermines the claim that MoE experts preserve useful diversity.

**Judgment:**  
Both are valid. It is bad for current method effectiveness but useful diagnostically. It suggests the system is in exactly the regime where a better diversity/plasticity intervention might help:

```text
high router balance + low behavioral diversity = nominal MoE capacity without meaningful specialization
```

---

### 4. Does no return improvement mean spectral regularization failed?

Reported:

```text
primary_metric_mean_diff = 0.0
```

**Judgment:**  
No. Given the broken ablation, identical outputs, possible inactive regularizer, and shortened training budget, this result cannot be interpreted as evidence of failure. The correct conclusion is:

> The current experiment cannot test whether spectral regularization helps.

---

## Statistical Checks

Current statistical validity is weak.

### Major issues

1. **`n=1` for most metrics**
   - No seed-level uncertainty.
   - No confidence intervals.
   - No valid significance testing.
   - No ability to distinguish method effects from RL seed noise.

2. **Reported standard deviations are not independent-run uncertainty**
   - Some `std` values likely reflect task/checkpoint variation within one run.
   - These are descriptive but cannot be used as inferential uncertainty.

3. **Multiple comparisons are uncontrolled**
   - Many metrics, tasks, variants, and correlations are reported.
   - No pre-registered primary endpoint is evident.
   - Apparent favorable findings are vulnerable to cherry-picking.

4. **Correlation analyses are not reliable**
   - Spearman correlations are reported despite warnings about constant inputs and NaNs.
   - The adaptation AUC metric appears unstable or poorly scaled.
   - Correlation claims should be discarded for now.

5. **Adaptation AUC is suspicious**
   - `later_task_early_adaptation_auc = -205064.31` is much larger in magnitude than return metrics around `-5` to `-21`.
   - It may be an unnormalized cumulative quantity, a sign/scale issue, or a logging bug.

### Minimum statistical requirements for next run

- Use at least **5 seeds** for debugging trends.
- Use **10+ seeds** for claims.
- Use paired seeds/task orders across conditions.
- Define one primary endpoint before running, ideally normalized later-task early adaptation AUC.
- Report mean ± 95% CI over seeds.
- Show learning/adaptation curves, not only scalar summaries.
- Avoid correlations when inputs are constant or non-finite.
- Use partial/covariate analyses controlling for router entropy, policy entropy, replay coverage, TD error, and task ID.

---

## Methodology Audit

### What worked

1. **Pipeline stability**
   - No NaN collapse.
   - Runs completed enough to produce rich diagnostics.

2. **MoE instrumentation**
   - Router entropy, load balance, selected fraction, expert disagreement, and spectral metrics are being logged.

3. **Diagnostic richness**
   - The system logs feature rank, singular-value entropy, inverse condition scores, gradient covariance rank, replay coverage proxy, policy entropy, and adaptation metrics.

4. **Ablation failure was detected**
   - The logging caught identical outputs across supposedly different variants. This is an important quality-control success.

---

### Critical gaps

1. **Ablation wiring is invalid**
   - Conditions that should differ produce identical outputs.
   - Must verify that spectral coefficients, loss terms, and config flags affect computation.

2. **Spectral loss activity is inconsistent**
   - Many conditions report `spectral_loss = 0.0` and `actor_spectral_loss = 0.0`.
   - Some spectral variants log nonzero losses but show no behavioral difference.
   - Need to confirm whether losses are included in total optimization and whether gradients reach intended parameters.

3. **Continual-learning protocol is underspecified**
   Missing or unclear:
   - Number and identities of tasks.
   - Task order.
   - Task duration.
   - Whether task boundaries are known.
   - Whether task IDs are provided.
   - Replay handling across tasks.
   - Evaluation on current vs previous tasks.
   - Forgetting and transfer metrics.

4. **Budget truncation compromises the test**
   - Intended `48k` steps reduced to `16k`.
   - Deferred or boundary-pulsed interventions may not activate meaningfully.
   - Later-task adaptation may be under-sampled.

5. **Baselines are not sufficiently matched**
   - PPO/DQN/SAC comparisons confound algorithm family.
   - Main comparisons should be within matched SAC/MoE-SAC variants.
   - Need capacity-, compute-, replay-, and seed-matched baselines.

6. **Functional mechanism is not validated**
   The proposed causal chain is:

   ```text
   spectral diversity
   → functional update diversity
   → better later-task adaptation
   ```

   Current data do not establish any link in this chain. In particular, actor-gradient covariance rank is collapsed, and correlations with adaptation are unreliable.

---

## Limitations

1. **No valid causal inference**
   The key manipulation is likely not applied correctly, so causal claims about spectral regularization are impossible.

2. **No statistical inference**
   Single-seed results cannot establish reproducibility or effect size.

3. **Metric reliability concerns**
   - Adaptation AUC scale is suspicious.
   - Success rate may conflate behavioral success with run completion.
   - Wall-clock completion is inconsistently reported.
   - Spearman correlations were computed despite NaNs/constant inputs.

4. **Possible implementation artifacts**
   Identical outputs may indicate ignored flags, shared configs, reused checkpoints/logs, inactive losses, or deterministic identical code paths.

5. **Confounding by routing/exploration/replay**
   Router entropy, load balancing, policy entropy, replay coverage, and TD error can all affect adaptation independently of spectral diversity.

6. **Expert diversity is not demonstrated**
   High router entropy and load balance do not prove specialization. Very low expert action disagreement suggests functional redundancy.

7. **Undertraining**
   The shortened run may reflect transients rather than stable representation collapse or adaptation behavior.

---

## Key Findings

1. **The experiment is inconclusive as a test of spectral-diversity regularization.**  
   Broken ablations and `n=1` prevent scientific claims.

2. **The implementation/pipeline is viable enough for further debugging.**  
   Runs are numerically stable and produce a broad set of useful diagnostics.

3. **MoE routing is balanced, but experts appear behaviorally redundant.**  
   Router entropy and load balance are high, while expert action disagreement is extremely low.

4. **Actor-side representation/plasticity is the most promising diagnostic target.**  
   Actor conditioning is extremely poor, actor-gradient covariance rank is collapsed, and actor rank shows a weak preliminary association with later adaptation.

5. **The main adaptation metric needs validation.**  
   The reported later-task AUC magnitude and NaN warnings make it unsuitable as currently computed.

---

## Result Quality: 3/10

**Justification:**

- **Positive factors:**
  - Pipeline runs without numerical collapse.
  - MoE routing diagnostics are meaningful.
  - Rich logging exists.
  - The system detected a serious ablation failure early.

- **Negative factors:**
  - Central ablation is invalid.
  - Single seed per condition.
  - No valid uncertainty estimates.
  - Training budget was reduced from `48k` to `16k`.
  - Adaptation AUC and correlation metrics are questionable.
  - Spectral losses appear inactive or inconsistently applied.
  - No demonstrated performance improvement.
  - No validated causal mechanism.

A score of **3/10** reflects a useful pilot/debugging outcome but poor evidentiary quality for the research claim.

---

## Conclusion

### Recommendation: **REFINE**

Do **not** proceed to large-scale claims or paper-style conclusions. Do **not** pivot away from the idea yet, because the pilot revealed a plausible and interesting failure mode:

```text
balanced MoE routing
+ active experts
+ very low expert action disagreement
+ ill-conditioned actor features
+ collapsed actor-gradient covariance rank
```

That is scientifically useful. However, the implementation and evaluation protocol must be refined before further interpretation.

### Immediate next steps

1. **Fix ablation wiring**
   - Print full resolved config per condition.
   - Assert regularizer flags and weights.
   - Log active actor/critic spectral losses.
   - Verify one-step loss, gradient, and parameter-update differences with regularizer on/off.
   - Ensure logs/checkpoints are not reused across conditions.

2. **Validate spectral-loss gradient flow**
   - Confirm nonzero spectral loss when expected.
   - Confirm gradients reach actor/critic/expert parameters.
   - Confirm actor-only and critic-only variants affect distinct modules.

3. **Repair adaptation metric**
   - Normalize later-task early adaptation AUC.
   - Define fixed post-switch evaluation window.
   - Report curves and per-task values.
   - Remove or flag NaN/constant-input correlations.

4. **Run a clean matched SAC/MoE-SAC pilot**
   Suggested conditions:
   - Dense SAC, parameter-matched.
   - MoE-SAC without load balancing.
   - MoE-SAC + load balancing.
   - MoE-SAC + load balancing + actor spectral.
   - MoE-SAC + load balancing + critic spectral.
   - MoE-SAC + load balancing + actor+critic spectral.
   - Random/irrelevant diversity regularization control.

5. **Use multiple seeds**
   - 5 seeds for debug-scale trend validation.
   - 10+ seeds before making claims.

### Final unified judgment

This run should be written up as:

> “A non-conclusive pilot that validated parts of the logging and MoE training infrastructure, exposed a critical ablation/configuration defect, and identified actor-side functional collapse and expert behavioral redundancy as promising targets for the next controlled experiment.”

The correct path is **REFINE**, not proceed to claims and not pivot away from the research direction.