A method for maintaining a state variable in a synapse of a neural network includes maintaining a state variable in an axon. The state variable in the axon may be updated based on an occurrence of a first predetermined event. The method also includes updating the state variable in the synapse based on the state variable in the axon and an occurrence of a second predetermined event.
Please help me write a proper abstract based on the patent claims. CLAIM: 1. A method for maintaining a state variable in a synapse of a neural network, comprising: maintaining at least one state variable in an axon, the at least one state variable in the axon being updated based at least in part on an occurrence of a first predetermined event; and updating the state variable in the synapse based at least in part on the at least one state variable in the axon and an occurrence of a second predetermined event. 2. The method of claim 1, in which the first predetermined event includes an axon state update. 3. The method of claim 2, in which the axon state update is performed on a per time step basis. 4. The method of claim 1, in which the first predetermined event includes a reward input event. 5. The method of claim 1, in which the second predetermined events comprises a spike event or a spike replay event. 6. The method of claim 1, in which the at least one state variable in the axon decays over time and is convolved over time to compensate for a time difference. 7. The method of claim 1, in which the state variable in the synapse comprises a weight. 8. The method of claim 1, in which the at least one state variable in the axon comprises an eligibility trace. 9. The method of claim 1, in which the at least one state variable in the axon comprises an accumulated weight. 10. The method of claim 1, in which the at least one state variable in the axon is a global value that affects a plurality of synapses. 11. The method of claim 1, in which the at least one state variable in the axon and the state variable of the synapse are stored in different memories. 12. The method of claim 11, in which the different memories are provided in different locations. 13. The method of claim 11, in which the different memories have different access speeds. 14. The method of claim 11, in which memories storing the state variable of the synapse substantially outnumber memories storing the at least one state variable in the axon. 15. The method of claim 1, in which the updating is gated based at least in part on a synapse eligibility. 16. The method of claim 15, in which the synapse eligibility is determined based at least in part on a temporal proximity of a presynaptic spike and a postsynaptic spike. 17. An apparatus for maintaining a state variable in a synapse of a neural network, comprising: a memory; at least one processor coupled to the memory, the at least one processor being configured: to maintain at least one state variable in an axon, the at least one state variable in the axon being updated based at least in part on an occurrence of a first predetermined event; and to update the state variable in the synapse based at least in part on the at least one state variable in the axon and an occurrence of a second predetermined event. 18. The apparatus of claim 17, in which the first predetermined event includes an axon state update. 19. The apparatus of claim 18, in which the at least one processor is further configured to perform the axon state update on a per time step basis. 20. The apparatus of claim 17, in which the first predetermined event includes a reward input event. 21. The apparatus of claim 17, in which the second predetermined events comprises a spike event or a spike replay event. 22. The apparatus of claim 17, in which the at least one processor is further configured to maintain the at least one state variable in the axon such that the at least one state variable in the axon decays over time and is convolved over time to compensate for a time difference. 23. The apparatus of claim 17, in which the state variable in the synapse comprises a weight and the at least one state variable in the axon comprises an accumulated weight. 24. The apparatus of claim 17, in which the at least one state variable in the axon is a global value that affects a plurality of synapses. 25. The apparatus of claim 17, in which the at least one state variable in the axon and the state variable of the synapse are stored in different memories. 26. The apparatus of claim 25, in which the different memories are provided in different locations or have different access speeds. 27. The apparatus of claim 25, in which memories storing the state variable of the synapse substantially outnumber memories storing the at least one state variable in the axon. 28. The apparatus of claim 17, in which the at least one processor is further configured to gate the updating of the state variable in the synapse based at least in part on a synapse eligibility, the synapse eligibility being determined based at least in part on a temporal proximity of a presynaptic spike and a postsynaptic spike. 29. An apparatus for maintaining a state variable in a synapse of a neural network, comprising: means for maintaining at least one state variable in an axon, the at least one state variable in the axon being updated based at least in part on an occurrence of a first predetermined event; and means for updating the state variable in the synapse based at least in part on the at least one state variable in the axon and an occurrence of a second predetermined event. 30. A computer program product for maintaining a state variable in a synapse of a neural network, comprising: a non-transitory computer readable medium having encoded thereon program code, the program code comprising: program code to maintain at least one state variable in an axon, the at least one state variable in the axon being updated based at least in part on an occurrence of a first predetermined event; and program code to update the state variable in the synapse based at least in part on the at least one state variable in the axon and an occurrence of a second predetermined event.