Forward filtering learning