An Information-theoretic On-line Learning Principle for Specialization in Hierarchical Decision-Making Systems