An advanced neural network framework with interpretability, generalization, robustness, and fairness features