Upgrade to Pro — share decks privately, control downloads, hide ads and more …

定規とコンパスと ChainerRL

定規とコンパスと ChainerRL

強化学習を使って作図問題を解く
Chainer Meetup #07, 9th Jun 2018

horiem

June 09, 2018
Tweet

More Decks by horiem

Other Decks in Technology

Transcript

  1. ఆنͱίϯύεͱ
    ChainerRL
    Chainer Meetup #07, 9th Jun 2018
    horiem@yellowshippo

    View full-size slide

  2. ChainerRL Ͱ

    View full-size slide

  3. ࡞ਤ໰୊Λղ͖͍ͨ

    View full-size slide

  4. ࡞ਤ໰୊
    • ఆنͱίϯύε͚ͩΛ࢖ͬͯ໨తͷਤܗΛඳ͘໰୊
    http://mathworld.wolfram.com/GeometricConstruction.html

    View full-size slide

  5. ਤͷݟํ
    ֶशϞσϧʹ౉͢৘ใ
    ʢObservationʣ
    ਓؒ༻
    ໨తͷਤܗ
    ར༻Մೳͳ

    View full-size slide

  6. શମ૾
    ؀ڥ
    ΤʔδΣϯτ
    ߦಈ
    ؍ଌ

    View full-size slide

  7. શମ૾
    ؀ڥ
    ΤʔδΣϯτ
    [p0_x, p0_y]
    [p1_x, p1_y]
    ……
    ը૾
    ఺ͷ৘ใ
    [shape_flag, pi, pj]
    ৽͍͠ਤܗ

    View full-size slide

  8. ωοτϫʔΫΞʔΩςΫνϟ
    Conv
    MLP
    MLP
    Conv
    MLP
    [p0_x, p0_y]
    [p1_x, p1_y]
    ……
    ը૾
    ఺ͷ৘ใ
    [shape_flag, pi, pj]
    ৽͍͠ਤܗ

    View full-size slide

  9. ωοτϫʔΫΞʔΩςΫνϟ
    (100, 100)
    (12, 3)
    Conv
    MLP
    MLP
    Conv
    MLP
    (2, 12, 12)
    [p0_x, p0_y]
    [p1_x, p1_y]
    ……
    ը૾
    ఺ͷ৘ใ
    [shape_flag, pi, pj]
    ৽͍͠ਤܗ

    View full-size slide

  10. ωοτϫʔΫΞʔΩςΫνϟ
    (100, 100)
    (12, 3)
    Conv
    MLP
    MLP
    Conv
    MLP
    (2, 12, 12)
    [p0_x, p0_y]
    [p1_x, p1_y]
    ……
    ը૾
    ఺ͷ৘ใ
    [shape_flag, pi, pj]
    ৽͍͠ਤܗ
    = 288

    View full-size slide

  11. ࢥͬͨ͜ͱͳͲ
    • ڧԽֶश΍ͬͨ͜ͱͳ͔͚ͬͨͲָ͍͠
    • ChainerRL ϥΫͰΑ͍
    • ߦಈۭ͕ؒେ͖͍ͷͰݮΒ͍ͨ͠
    • AlphaGO ͕ࢀߟʹͳΔ͔΋ʁ
    • ίʔυ͖Ε͍ʹͨ͠Βެ։ && ղઆ͠·͢
    • n ࣍ํఔࣜΛ ChainerRL Ͱղ͚Δ͔ʁ
    • ՝֎׆ಈ޷͖ͳਓɺҰॹʹ΍Γ·͠ΐ͏ʂ

    View full-size slide