A novel neuroplasticity rule has been proposed for implementing backpropagation (BP) in the brain.The rule is based on maintaining the balance of excitatory and inhibitory inputs, as well as on retrograde signaling.It operates over three progressively slower timescales: neural firing, retrograde signaling, and neural plasticity.Simulations on artificial neural networks show that this rule induces varying community structures in networks.