CONTINUAL LEARNING · MODULAR NETWORKS · EMPIRICAL RESEARCH

Learning Allocation

From sparse activation to useful learning
and retained capability.

Yuhao Li

Technical report · Editorial revision 2 · December 2026

A completed mechanism study with positive findings, negative results and reproducible evidence.

THE ARCHITECTURES

What changes when a network becomes modular?

Compare a dense model, independent experts, composed smaller modules and a shared contribution. The stored budget can match while the active computation differs.

Four synthetic architectures: monolith A, independent whole experts F, fine-grained composition C, and shared plus routed modules D. Each stores 448 expert parameters.
Conceptual synthetic-study diagram; one example path is highlighted. F and C share an EMA path selector. B/E have F’s widths with different matching rules. D/C changes sharing and route count. CLEAR uses larger classification heads. Open full-size diagram.

THE CENTRAL OBSERVATIONS

An architecture diagram cannot tell us what learns.

A modular network can store many possible computations. Whether training uses them to acquire useful, reusable knowledge is a separate question.

SYNTHETIC · LEARNED TOP-2 ROUTING

96.1%

Sparse predictions, broad learning exposure

Mean expert eligibility per minibatch under A-GEM, although only two of four experts participate in each prediction. Different examples can expose different pairs to the same update.

Eligibility is permission to update. It does not measure damage.

Learned-routing evidence

CLEAR · FINE-GRAINED COMPOSITION

48 / 48

Available capacity, unused training paths

Every fine-grained C trajectory trained only modules 0 and 1; modules 2 and 3 never changed. Six possible pairs existed, but adaptive training across multiple paths was not demonstrated.

12 orders × 2 initializations × 2 update rules on one fixed dataset.

Actual-update evidence

Two settings, two observations. These findings involve different architectures, inputs and feedback contracts. They are not a matched causal comparison, and the cause of CLEAR’s single-path training has not been isolated.

THE CENTRAL IDEA IN 58 SECONDS

What actually learns?

Download captioned MP4

Research by Yuhao Li. Animated diagrams with synthetic narration; this is not a recording of the author’s voice. English captions are on by default and can be switched off in the player. The downloadable captioned version includes captions in the picture.

Read the complete transcript

When do experts actually learn?

Learning Allocation asks: when do experts actually learn?

Predict first. Then learn.

A router selects two of four experts and combines their predictions. Feedback arrives before the learning update.

A batch can reach every expert.

Across a batch, different examples can select different pairs, making all four experts eligible.

Sparse inputs. Broad eligibility.

In our synthetic learned-router study, average batch eligibility reached ninety-six point one percent with A-GEM. Eligibility does not prove forgetting.

Only one pair changed.

In a separate CLEAR image study, all forty-eight fine-grained runs changed only the same two modules. These settings are not a matched causal comparison.

Measure what actually learns.

Some contributions were useful, but our overall benefit criteria were not met. Measure what predicts, what changes, and what survives when old tasks return.

The two-example batch is an illustration. Synthetic G + A-GEM measures update eligibility; CLEAR C measures actual parameter changes. The settings differ, and no causal explanation of CLEAR’s single-path training is established. Animation sources and evidence.

Earlier narrated presentation and slides

The original 2:42 presentation is preserved, with its broader discussion of results and limitations: original video · captions · transcript · slides.

INDEPENDENT REAL-IMAGE VALIDATION

Strong baselines changed the conclusion.

The CLEAR study compared 17 configurations across 408 reporting trajectories, with 16 primary statistical tests and 3,840 retention guards.

Selected CLEAR error rates: Linear ER 10.907%, DER++ 10.965%, monolith with A-GEM 11.319%, fine-grained C 12.494%, whole-expert F 12.550%, nonempty E 13.131%.
Selected descriptive error levels; lower is better. Architecture arms A/C/E/F shown use A-GEM; DER++ uses its own update rule. The complete table below includes all 17 configurations. External-baseline rankings are descriptive. Open figure at full size.

Small gains over internal controls

C improved over selector-matched whole-expert F by 0.043 percentage points with SGD and 0.056 with A-GEM. Both fell below the prospective two-point benefit threshold and failed retention guards.

No qualified overall advantage

C predicted worse than the monolith and all five external replay baselines in every reporting order under both update rules. All 16 joint success criteria failed; this is more specific than “nothing was significant.”

All 17 configurations and their reported errors
Primary class-balanced online error and descriptive mean of 20 retention endpoints, in percent. The endpoint mean does not replace individual retention guards.
ConfigurationPrediction error (%)Mean retention error (%)
A + SGD11.39814.332
A + A-GEM11.31914.358
B + SGD14.10117.613
B + A-GEM13.99417.394
C + SGD12.60516.212
C + A-GEM12.49415.860
E + SGD13.27016.730
E + A-GEM13.13116.514
F + SGD12.64816.194
F + A-GEM12.55015.846
H + SGD13.05416.233
H + A-GEM12.91016.150
ER11.61915.456
DER++10.96513.806
ER-ACE11.25313.997
PVBF-D11.20413.719
linear-ER10.90714.839
All 16 contrasts, confidence intervals and retention failures
All 16 C versus reference prediction differences with ordinary 95% paired confidence intervals. None reaches the minus-two-percentage-point practical threshold.
Negative values favor C. Intervals are ordinary 95% paired intervals, not simultaneous intervals; Holm adjustment applies to the full 16-test family. Four effects favor C and twelve favor its references; all are Holm-detectable, while all joint decisions fail.

Download all contrasts, Holm p-values and guard counts

Which modules actually changed during training?

CLEAR C actual-update heatmap: modules 0/1 change on every update in all twenty episodes; modules 2/3 never change, under both SGD and A-GEM.
Reconstructed from 95,664 saved update records across 48 C trajectories, including the training prefix. Each cell is the fraction of updates with a nonzero change, not a competence score. All trajectories agree; the cause of this allocation pattern remains unresolved. Open full-size diagram.

CLEAR uses frozen pretrained features and a minimally deduplicated recurrence adaptation, not the official leaderboard protocol. Twelve order randomizations quantify uncertainty conditional on one dataset and two initialization draws. Test features were generated locally using the released frozen encoder.

THE ANALYTICAL FRAMEWORK

Seven things worth measuring separately.

Prediction is fixed before current feedback; eligible learning blocks and optional replay protection determine the subsequent update. Independent retention evaluation does not train the learner.
A conceptual learning cycle. C/F may select a different learning path after permitted feedback; G preserves its pre-feedback top-2 memberships. The exact information and replay contracts remain study-specific. Open full-size diagram.
01

Stored capacity

What parameters and persistent state exist?

02

Prediction activation

Which modules serve this input?

03

Update eligibility

Which blocks are permitted to learn?

04

Actual change

Which parameters really change?

05

Acquired competence

Which complete functions work?

06

Functional reuse

Which modules contribute across capabilities?

07

Retained capability

What remains useful when old tasks return?

Toy batch: input A uses experts 0/1, input B uses 2/3, so all four experts are eligible across the batch.
An illustrative two-example batch, not observed data or a fit to the 96.1% measurement. Eligibility alone does not establish an actual change or damage. Open full-size diagram.

Why a sparse prediction can produce a broad update

If an expert is selected with probability p for each of n conditionally independent inputs, its probability of appearing at least once is:

Pr(eligible) = 1 − (1 − p)n

93.75% probability of eligibility when p = ½

An idealized conditional-iid example, not a fit to the observed 96.1%. Selection across experts need not be independent. Without conditional input independence, this formula need not apply.

INTERPRETATION

What the completed study does—and does not—establish

Positive evidence remains

Fine-grained composition produced modest synthetic gains. Shared modules made useful contributions. Within the learned model, input-dependent routing could beat its own best fixed pair. Those observations remain useful even though the complete benefit criteria failed.

The limits remain visible

One synthetic calibration family and one frozen-feature image benchmark. Adaptive research progression across stages. No direct SEED, LMC or modern continual-learning MoE reproduction. No causal isolation of allocation collapse, universal method ranking or new retention theorem.

The architectural study adapts fine expert segmentation and dedicated sharing from DeepSeekMoE, sparse conditional computation from Sparsely-Gated MoE, multiple-expert composition from Mixtral, and utilization considerations from Switch Transformer. It does not reproduce their LLM systems or claim to invent these mechanisms.

Research status. The experimental program is complete. Learning Allocation is the current identity; GAUSE names the preserved historical method. The original M1–M6 program ended before every proposed mechanism was comprehensively investigated. This report is an empirical research artifact, not a validated superior algorithm or an accepted conference paper. Its connection to world models and control is motivational, not an established control result.

READ, INSPECT, REPRODUCE

Start small. Follow every claim to its evidence.

Inspect the paper and key saved summaries without downloading the full multi-gigabyte archive.

After unzipping, run inside the package directory:

python3 verify.py

Python 3.11+; standard library only. Checks saved-summary integrity and arithmetic, not an independent rerun of the experiments. Download checksums.

AUTHOR & CITATION

Yuhao Li

GitHub profile

Technical report / author-review draft. No venue acceptance, DOI or unestablished novelty is claimed. Cite the report version and the exact evidence snapshot used.

@techreport{li2026learningallocation,
  author = {Yuhao Li},
  title = {From Sparse Activation to Learning Allocation:
           An Empirical Study of Resource-Constrained
           Modular Continual Learning},
  year = {2026},
  note = {Technical report, editorial revision 2; author-review draft},
  url = {https://HowardLiYH.github.io/learning-allocation/}
}