feat(ocl): add Synaptic Intelligence (SI) strategy - #403
Open
tachyonicClock wants to merge 1 commit into
Open
Conversation
tachyonicClock
marked this pull request as ready for review
August 24, 2026 00:47
Synaptic Intelligence (SI) is a regularisation-based continual learning strategy that accumulates per-parameter importance online from optimisation trajectories, then penalises changes to parameters that were important for previous tasks (Zenke et al., 2017). Ported from the `blurry-ocl` draft branch and adapted to the current `capymoa.ocl` module layout. Also fixes the `update_trajectory` parameter names, which had drifted from their actual pre/post-step meaning during earlier draft cleanup, and adds `reset_optimizer_state`, a small utility SI needs to clear optimiser momentum at task boundaries. Assisted-by: claude-code:claude-sonnet-5
tachyonicClock
force-pushed
the
feat/ocl-si
branch
from
August 24, 2026 00:49
3f6bd3a to
1afdf3f
Compare
This was referenced Aug 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
blurry-ocldraft branch, adapting it to the currentcapymoa.oclmodule layout (capymoa.ocl.events,capymoa.ocl.util._buffer_list).reset_optimizer_state, a small utility SI uses to clear optimiser momentum at task boundaries.SIincapymoa.ocl.strategy.__init__.SIcases totests/ocl/test_strategy.py, extendingnew_constructorwith an optionaloptimiser_type(defaults toSGD, backwards compatible) since SI's reference hyperparameters use Adam.Closes: Synaptic Intelligence