Competitive plasticity to reduce the energetic costs of learning