Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AE129200CD0 for ; Tue, 25 Jul 2017 19:33:45 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id AC6B31672CD; Tue, 25 Jul 2017 17:33:45 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EC4A41672CA for ; Tue, 25 Jul 2017 19:33:44 +0200 (CEST) Received: (qmail 61093 invoked by uid 500); 25 Jul 2017 17:33:44 -0000 Mailing-List: contact dev-help@systemml.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@systemml.apache.org Delivered-To: mailing list dev@systemml.apache.org Received: (qmail 61072 invoked by uid 99); 25 Jul 2017 17:33:43 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jul 2017 17:33:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 8FFFFC188F for ; Tue, 25 Jul 2017 17:33:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.521 X-Spam-Level: ** X-Spam-Status: No, score=2.521 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_IMAGE_RATIO_04=0.61, HTML_MESSAGE=2, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id E3n8KReG3qrA for ; Tue, 25 Jul 2017 17:33:28 +0000 (UTC) Received: from mail-vk0-f66.google.com (mail-vk0-f66.google.com [209.85.213.66]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id CAEA05FBEA for ; Tue, 25 Jul 2017 17:33:27 +0000 (UTC) Received: by mail-vk0-f66.google.com with SMTP id i133so1574818vka.5 for ; Tue, 25 Jul 2017 10:33:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=i8rDZYKtV2jQpjohRarreNf9bU/y6Dnu7y5f7IhHCLA=; b=WkdzYI3FHrip0vZ4noX0fXNSkQVutAWZGjDx71QlobcLVMLFMHxXvTBHh7oOnEi1ZT e5jeXhP2qYwVRtACQa5myq8CPAqIggg4RIvFsrtt8qtELFpa076DXJIiuHyjsr9I31BD soWbp2gsxQ24OSqgovG0jbGv8/TJ+6gsimhdW9KsQU2B3eq1yOqKUi6qIPet2BH6SJfA CWtY5yLcTRTSRXME9LbGnWMGFyxTtf/honbc+d7c1Z/VJmq7hzol9pe4wAV1HUE5IUqm aHlzARuNbkqZ/FvB0DogmAFr5JdqF4cBXsOrLHKFmTKvBuMfWQEFmGeHCvsTdKCiSvVb UZQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=i8rDZYKtV2jQpjohRarreNf9bU/y6Dnu7y5f7IhHCLA=; b=LTyoYFF3wgrdY9o4xBROr/6tFwxR86roxdvYb0XPAiFH55E08dTAj1Q8sj5BDkRQYr BZM0hSpTudsZE3AoRUCl5Kv5mVlwayrHJR1Zo71rHeH74/KIRRNTSgas7UbWNT9JDcwI 9CHTeh7kyryzsVId5nf+YCETVIOJNLZpqVP5DBOqAIKpLY01KvLgOMPBNttwbglsFpuj 3CzRaiaat7FJiPBD4b2RCyC7Q3q+tYJ6TytdvEyjQzO2ziIG9UtQRB/ovq1RqNw0DpCH gYJY6awCpIf1oJSxiMbX6yoma5W/KLGzSC1J/URKIx7Tz0Dxv/19cCK4YcvPTKMk9bH5 74JA== X-Gm-Message-State: AIVw112jm86FGudaBqy53UszkGzk1vCjwqZOq5gJ07xhNr2W2SWidcv6 UNJVnCdz37+JonqpgNKUTjDGlIt2JQ== X-Received: by 10.31.146.146 with SMTP id u140mr8562479vkd.166.1501004006547; Tue, 25 Jul 2017 10:33:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.77.238 with HTTP; Tue, 25 Jul 2017 10:32:46 -0700 (PDT) In-Reply-To: References: From: Janardhan Pulivarthi Date: Tue, 25 Jul 2017 23:02:46 +0530 Message-ID: Subject: Re: Bayesian optimizer support for SystemML. To: dev@systemml.apache.org Content-Type: multipart/alternative; boundary="001a11449fba9de532055527ba3b" archived-at: Tue, 25 Jul 2017 17:33:45 -0000 --001a11449fba9de532055527ba3b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Niketan and Mike, As we are trying to implement this Bayesian Optimization, should we take input from more committers as well as this optimizer approach seems to have a couple of ways to implement. We may need to find out which suits us the best. Thanks, Janardhan On Sat, Jul 22, 2017 at 3:41 PM, Janardhan Pulivarthi < janardhan.pulivarthi@gmail.com> wrote: > Dear committers, > > We will be planning to add bayesian optimizer support for both the ML and > Deep learning tasks for the SystemML. Relevant jira link: > https://issues.apache.org/jira/browse/SYSTEMML-979 > > The following is a simple outline of how we are going implement it. Pleas= e > feel free to make any kind of changes. In this google docs link: > http://bit.do/systemml-bayesian > > Description: > > Bayesian optimization is a sequential design strategy for global > optimization of black-box functions that doesn=E2=80=99t require derivati= ves. > > Process: > > 1. > > First we select a point that will be the best as far as the no. of > iterations that has happened. > 2. > > Candidate point selection with sampling from Sobol quasirandom > sequence generator the space. > 3. > > Gaussian process hyperparameter sampling with surrogate slice sampling > method. > > > Components: > > 1. > > Selecting the next point to Evaluate. > > [image: nextpoint.PNG] > > We specify a uniform prior for the mean, m, and width 2 top-hat priors fo= r > each of the D length scale parameters. As we expect the observation noise > generally to be close to or exactly zero, v(nu) is given a horseshoe > prior. The covariance amplitude theta0 is given a zero mean, unit varianc= e > lognormal prior, theta0 ~ ln N (0, 1). > > > > 1. > > Generation of QuasiRandom Sobol Sequence. > > Which kind of sobol patterns are needed? > > [image: sobol patterns.PNG] > > How many dimensions do we need? > > This paper argues that its generation target dimension is 21201. [pdf lin= k > > ] > > > > 1. > > Surrogate Slice Sampling. > > [image: surrogate data sampling.PNG] > > > References: > > 1. For the next point to evaluate: > > https://papers.nips.cc/paper/4522-practical-bayesian- > optimization-of-machine-learning-algorithms.pdf > > http://www.dmi.usherb.ca/~larocheh/publications/gpopt_nips_appendix.pdf > > > 2. QuasiRandom Sobol Sequence Generator: > > https://researchcommons.waikato.ac.nz/bitstream/handle/10289/967/Joe% > 20constructing.pdf > > > 3. Surrogate Slice Sampling: > > http://homepages.inf.ed.ac.uk/imurray2/pub/10hypers/hypers.pdf > > > > Thank you so much, > > Janardhan > > > > --001a11449fba9de532055527ba3b--