1. A method for reinforcement learning, the method comprising: receiving at least one reinforcement signal from at least one spiking neuron of a neural network comprising multiple neurons interconnected by multiple synapse devices, wherein each reinforcement signal corresponds to a past event involving an action, and the reinforcement signal represents a reward indicating success of the action; and balancing spiking in the neural network based on the at least one reinforcement signal.