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 96D89200C8C for ; Tue, 23 May 2017 02:03:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9373A160BD5; Tue, 23 May 2017 00:03:07 +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 DA6C5160BBF for ; Tue, 23 May 2017 02:03:06 +0200 (CEST) Received: (qmail 78603 invoked by uid 500); 23 May 2017 00:03:06 -0000 Mailing-List: contact issues-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 issues@systemml.apache.org Received: (qmail 78594 invoked by uid 99); 23 May 2017 00:03:06 -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, 23 May 2017 00:03:06 +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 8CFBDCD2FE for ; Tue, 23 May 2017 00:03:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id x5EDbZqyx46f for ; Tue, 23 May 2017 00:03:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id B80645FC72 for ; Tue, 23 May 2017 00:03:04 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 5650BE005B for ; Tue, 23 May 2017 00:03:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 12B8721B55 for ; Tue, 23 May 2017 00:03:04 +0000 (UTC) Date: Tue, 23 May 2017 00:03:04 +0000 (UTC) From: "Mike Dusenberry (JIRA)" To: issues@systemml.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (SYSTEMML-1563) Add a distributed synchronous SGD MNIST LeNet example MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 23 May 2017 00:03:07 -0000 [ https://issues.apache.org/jira/browse/SYSTEMML-1563?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Dusenberry closed SYSTEMML-1563. ------------------------------------- > Add a distributed synchronous SGD MNIST LeNet example > ----------------------------------------------------- > > Key: SYSTEMML-1563 > URL: https://issues.apache.org/jira/browse/SYSTEMML-1563 > Project: SystemML > Issue Type: Sub-task > Reporter: Mike Dusenberry > Assignee: Mike Dusenberry > Fix For: SystemML 1.0 > > > This aims to add a *distributed synchronous SGD* MNIST LeNet example. In= distributed synchronous SGD, multiple mini-batches are run forward & backw= ard simultaneously, and the gradients are aggregated together by addition b= efore the model parameters are updated. This is mathematically equivalent = to simply using a large mini-batch size, i.e. {{new_mini_batch_size =3D min= i_batch_size * number_of_parallel_mini_batches}}. The benefit is that dist= ributed synchronous SGD can make use of multiple devices, i.e. multiple GPU= s or multiple CPU machines, and thus can speed up training time. More spec= ifically, using an effectively larger mini-batch size can yield a more stab= le gradient in expectation, and a larger number of epochs can be run in the= same amount of time, both of which lead to faster convergence. Alternativ= es include various forms of distributed _asynchronous_ SGD, such as Downpou= r, Hogwild, etc. However, a recent paper \[1] from Google Brain / Open AI = has found evidence supporting the claim that distributed synchronous SGD ca= n lead to faster convergence, particularly if it is extending with the noti= on of "backup workers" as described in the paper. > We will first aim for distributed synchronous SGD with no backup workers,= and then extend this to include backup workers. The MNIST LeNet model wil= l simply serve as an example, and this same approach can be extended to mor= e recent models, such as ResNets. > \[1]: https://arxiv.org/abs/1604.00981 -- This message was sent by Atlassian JIRA (v6.3.15#6346)