Learning front-end