Learning node modularization