Automatic feature discovery