Arm interview question

How does regularization work during AI model training?