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

Making Neural QA as Simple as Possible but not ...

Making Neural QA as Simple as Possible but not Simpler

Yasufumi Taniguchi

August 23, 2018
Tweet

More Decks by Yasufumi Taniguchi

Other Decks in Research

Transcript

  1. طଘͷQAϞσϧͷ՝୊ ݱঢ় ࣭໰จͱจষͷ৘ใΛͲ͏ ѻ͏͔ Interaction Layer ʹ ஫ྗ ໰୊఺ ϕʔεϞσϧ͕ͳ͍ͨΊɺ

    Ϟδϡʔϧͷॏཁੑ͕ෆ໌ Interaction Layer ࣭໰จΛߟྀͨ͠୯จॻͷදݱ Λ֫ಘ͢Δ͜ͱ͕໨త !7
  2. ఏҊϞσϧͷ֓ཁ ࣭໰จͱ୯จॻΛೖྗ͠ɺղ౴ͷൣғΛग़ྗ ࣭໰จʛೖྗ Where do water droplets collide with ice

    crystals to form precipitation? ୯จॻʛೖྗ …Precipitation forms as smaller droplets coalesce via collision with other rain drops or ice crystals within20 a21 cloud22… ղ౴ͷൣғʛग़ྗ TUBSUʗ FOEʗ ղ౴ʛϞσϧͷग़ྗͰ͸ͳ͍ within20 a21 cloud22 !9
  3. ఏҊख๏ʛContext Matching ࣭໰จதͷ୯ޠͷ୯จॻதͰͷग़ݱΛߟྀ wiqb j = I(∃i : x j

    = q i ) sim i,j = v wiq (x j ⊙ q i ), v wiq ∈ ℝn wiqw j = ∑ i softmax(sim i,⋅ ) j binary weighted ୯ޠ෼ࢄදݱʹfeatureΛ concat͢Δ͚ͩ !15
  4. Context Matchingʛbinary wiqb j = I(∃i : x j =

    q i ) ࣭໰จதͷ୯ޠ ୯จॻதͷ୯ޠ ୯จॻ …Precipitation forms as smaller droplets coalesce via collision with other rain drops or ice crystals within a cloud… ࣭໰จ Where do water droplets collide with ice crystals to form precipitation? wiqb j = 0 1 smaller droplets coalesce 0 0 via 0 collision with 0 other rain 0 drops 0 0 1 or ice crystals 1 1 !16
  5. sim i,j = v wiq (x j ⊙ q i

    ), v wiq ∈ ℝn wiqw j = ∑ i softmax(sim i,⋅ ) j Context Matchingʛweighted ୯จॻதͷ ୯ޠ෼ࢄදݱ ࣭໰จதͷ ୯ޠ෼ࢄදݱ ྨࣅ౓ ୯จॻதͷ୯ޠͱ࣭໰จதͷ୯ޠͷ ྨࣅ౓Λ෼ࢄදݱʹج͍ͮͯܭࢉ softmax ࣭໰จதͷ͋Δ୯ޠqi ͔Β ୯จॻதͷ͋Δશ୯ޠxɾʹର͢Δ attentionείΞΛܭࢉ !17
  6. wiqw j = ∑ i softmax(sim i,⋅ ) j Context

    Matchingʛweighted water droplets collide with ice crystals sm aller droplets coalesce via collision w ith other rain drops or ice crystals ୯จॻ sim ߦํ޲Ͱ softmax ྻํ޲Ͱsum ࣭໰จ softmax ࣭໰จதͷ͋Δ୯ޠqi ͔Β ୯จॻதͷ͋Δશ୯ޠxɾʹର͢Δ attentionείΞΛܭࢉ !18
  7. wiqw j = ∑ i softmax(sim i,⋅ ) j Context

    Matchingʛweighted water droplets collide with ice crystals sm aller droplets coalesce via collision w ith other rain drops or ice crystals ୯จॻ sim ߦํ޲Ͱ softmax ྻํ޲Ͱsum ࣭໰จ softmax ࣭໰จதͷ͋Δ୯ޠqi ͔Β ୯จॻதͷ͋Δશ୯ޠxɾʹର͢Δ attentionείΞΛܭࢉ !19