emer / axon

Axon is a spiking, biologically-based neural model driven by predictive error-driven learning, for systems-level models of the brain
BSD 3-Clause "New" or "Revised" License
19 stars 7 forks source link

vspatch learning still not good #308

Closed rcoreilly closed 1 year ago

rcoreilly commented 1 year ago

https://github.com/emer/axon/discussions/306#discussioncomment-6918314

rcoreilly commented 1 year ago

Finally , vspatch seems to be doing well, using key ideas from #306:

In boa:

{Sel: ".VSPatchLayer", Desc: "",
    Params: params.Params{
        "Layer.Learn.NeuroMod.DipGain":     "1",    // if < 1, overshoots, more -DA; but quick extinct in pvlv
        "Layer.Learn.RLRate.SigmoidMin":    "0.01", // 0.05 def
        "Layer.VSPatch.Gain":               "3", // 3 smoother than higher
        "Layer.VSPatch.ThrInit":            "0.2", // could be a bit lower
        "Layer.VSPatch.ThrLRate":           "0.002",
        "Layer.VSPatch.ThrNonRew":          "10", // 10 works to prevent RewPred_NR
        "Layer.Learn.TrgAvgAct.GiBaseInit": "0.5", // 0.5 gives reasonably sparse pattern -- seems good
    }},
rcoreilly commented 1 year ago

This is all working much better now: see https://github.com/emer/axon/pull/302 for updates.