learning distribu ons over logical forms for referring
play

Learning Distribu.ons over Logical Forms for Referring - PowerPoint PPT Presentation

Learning Distribu.ons over Logical Forms for Referring Expression Genera.on Nicholas FitzGerald Yoav Artzi Luke ZeClemoyer Referring


  1. Learning ¡Distribu.ons ¡over ¡Logical ¡Forms ¡for ¡ Referring ¡Expression ¡Genera.on ¡ Nicholas ¡FitzGerald ¡ ¡ ¡ ¡ ¡Yoav ¡Artzi ¡ ¡ ¡ ¡ ¡Luke ¡ZeClemoyer ¡

  2. Referring ¡Expressions ¡ Photo: ¡pwenzel ¡on ¡Flikr ¡

  3. Referring ¡Expressions ¡ Photo: ¡pwenzel ¡on ¡Flikr ¡

  4. Referring ¡Expressions ¡ “the ¡red ¡beans” ¡ Photo: ¡pwenzel ¡on ¡Flikr ¡

  5. Referring ¡Expressions ¡ “the ¡red ¡beans” ¡ “the ¡second ¡jar ¡from ¡the ¡ leK ¡on ¡the ¡middle ¡shelf” ¡ Photo: ¡pwenzel ¡on ¡Flikr ¡

  6. Referring ¡Expressions ¡ “the ¡red ¡beans” ¡ “the ¡second ¡jar ¡from ¡the ¡ leK ¡on ¡the ¡middle ¡shelf” ¡ “the ¡jar ¡underneath ¡the ¡ space ¡between ¡the ¡two ¡ biggest ¡white ¡jars” ¡ Photo: ¡pwenzel ¡on ¡Flikr ¡

  7. Grounded ¡Language ¡Problems ¡ Physical ¡Scene ¡ Language ¡ ``The ¡green ¡ and ¡red ¡ balls.’’ ¡

  8. Grounded ¡Language ¡Problems ¡ Physical ¡Scene ¡ Language ¡ Logical ¡Form ¡(LF) ¡ ``The ¡green ¡ ι x. ( green ( x ) ∨ red ( x )) and ¡red ¡ ∧ sphere ( x ) balls.’’ ¡

  9. Grounded ¡Language ¡Problems ¡ Physical ¡Scene ¡ Language ¡ Logical ¡Form ¡(LF) ¡ ``The ¡green ¡ ι x. ( green ( x ) ∨ red ( x )) and ¡red ¡ ∧ sphere ( x ) balls.’’ ¡

  10. Grounded ¡Language ¡Problems ¡ Physical ¡Scene ¡ Language ¡ Logical ¡Form ¡(LF) ¡ ``The ¡green ¡ ι x. ( green ( x ) ∨ red ( x )) and ¡red ¡ ∧ sphere ( x ) spheres.’’ ¡

  11. Grounded ¡Language ¡Problems ¡ Grounded ¡Language ¡Understanding ¡ ¡ [Matuszek ¡et. ¡al ¡2012], ¡[Krishnamurthy ¡et. ¡al ¡2013] ¡ ¡ Physical ¡Scene ¡ Language ¡ Logical ¡Form ¡(LF) ¡ ``The ¡green ¡ ι x. ( green ( x ) ∨ red ( x )) and ¡red ¡ ∧ sphere ( x ) spheres.’’ ¡

  12. Grounded ¡Language ¡Problems ¡ Grounded ¡Language ¡Understanding ¡ ¡ [Matuszek ¡et. ¡al ¡2012], ¡[Krishnamurthy ¡et. ¡al ¡2013] ¡ ¡ Physical ¡Scene ¡ Language ¡ Logical ¡Form ¡(LF) ¡ ``The ¡green ¡ ι x. ( green ( x ) ∨ red ( x )) and ¡red ¡ ∧ sphere ( x ) spheres.’’ ¡ Realiza.on ¡from ¡LF ¡ [White ¡and ¡Rajkumar ¡2009], ¡[Lu ¡and ¡Ng ¡2011] ¡

  13. Grounded ¡Language ¡Problems ¡ Grounded ¡Language ¡Understanding ¡ ¡ [Matuszek ¡et. ¡al ¡2012], ¡[Krishnamurthy ¡et. ¡al ¡2013] ¡ ¡ Physical ¡Scene ¡ Language ¡ Logical ¡Form ¡(LF) ¡ ``The ¡green ¡ ι x. ( green ( x ) ∨ red ( x )) and ¡red ¡ ∧ sphere ( x ) spheres.’’ ¡ Realiza.on ¡from ¡LF ¡ LF ¡Genera.on ¡ [White ¡and ¡Rajkumar ¡2009], ¡[Lu ¡and ¡Ng ¡2011] ¡ Focus ¡of ¡this ¡talk: ¡ Generate ¡Distribu.on ¡

  14. Goal: ¡Generate ¡Distribu.ons ¡over ¡LFs ¡ “The ¡green ¡ball ¡ ι x.green ( x ) ∧ sphere ( x ) and ¡the ¡red ¡ball.” ¡ ∪ ι x.red ( x ) ∧ sphere ( x ) “The ¡green ¡and ¡red ¡spheres.” ¡ ι x. ( green ( x ) ∨ red ( x )) ¡ ∧ sphere ( x ) “The ¡green ¡and ¡red ¡balls.” ¡ “The ¡apple ¡and ¡the ¡pear.” ¡ ι x.apple ( x ) ∪ ι x.pear ( x ) . .. Model ¡how ¡people ¡refer ¡to ¡objects ¡ • Many ¡different ¡expressions ¡for ¡each ¡referent ¡ • Some ¡are ¡more ¡likely ¡to ¡be ¡used ¡in ¡prac.ce ¡ • We ¡need ¡to ¡learn ¡a ¡probability ¡distribu.on ¡

  15. Goal: ¡Generate ¡Distribu.ons ¡over ¡LFs ¡ P(exp) ¡ “The ¡green ¡ball ¡ ι x.green ( x ) ∧ sphere ( x ) and ¡the ¡red ¡ball.” ¡ ∪ ι x.red ( x ) ∧ sphere ( x ) 0.1 ¡ “The ¡green ¡and ¡red ¡spheres.” ¡ ι x. ( green ( x ) ∨ red ( x )) 0.3 ¡ ¡ ∧ sphere ( x ) “The ¡green ¡and ¡red ¡balls.” ¡ 0.2 ¡ “The ¡apple ¡and ¡the ¡pear.” ¡ ι x.apple ( x ) ∪ ι x.pear ( x ) 0.4 ¡ . .. Model ¡how ¡people ¡refer ¡to ¡objects ¡ • Many ¡different ¡expressions ¡for ¡each ¡referent ¡ • Some ¡are ¡more ¡likely ¡to ¡be ¡used ¡in ¡prac.ce ¡ • We ¡need ¡to ¡learn ¡a ¡probability ¡distribu.on ¡

  16. Goal: ¡Generate ¡Distribu.ons ¡over ¡LFs ¡ Output: ¡ Input: ¡ ι x.green ( x ) ∧ sphere ( x ) 0.3 ¡ ∪ ι x.red ( x ) ∧ sphere ( x ) ι x. ( green ( x ) ∨ red ( x )) 0.2 ¡ ∧ sphere ( x ) 0.1 ¡ ι x.apple ( x ) ∪ ι x.pear ( x ) . . . . . . Several ¡advantages ¡ • Natural ¡varia.on ¡for ¡genera.on ¡ • Useful ¡prior ¡for ¡understanding ¡systems ¡

  17. Learn ¡from ¡Labeled ¡Examples ¡ { ¡ } ¡ , ¡ “The ¡green, ¡red, ¡orange ¡and ¡yellow ¡toys” ¡ “The ¡green, ¡red, ¡yellow, ¡and ¡orange ¡objects” ¡ “All ¡the ¡pieces ¡that ¡are ¡not ¡blue ¡or ¡brown” ¡ “All ¡items ¡that ¡are ¡not ¡brown ¡or ¡blue” ¡ “Everything ¡that ¡is ¡not ¡brown ¡or ¡blue” ¡ ….. ¡ { ¡ } ¡ , ¡ “The ¡red ¡and ¡green ¡balls.” ¡ “The ¡red ¡and ¡greed ¡spheres.” ¡ “The ¡pear ¡and ¡the ¡apple” ¡ “The ¡red ¡ball ¡and ¡the ¡green ¡pear” ¡ “All ¡the ¡balls ¡except ¡the ¡yellow ¡one” ¡ …… ¡ ¡ Lots ¡of ¡varia.on ¡in ¡prac.ce ¡ • Collected ¡20 ¡sentences ¡per ¡scene ¡ • Mean ¡of ¡6 ¡unique ¡logical ¡forms ¡per ¡scene ¡ • Max ¡of ¡13 ¡ ¡

  18. Learn ¡from ¡Labeled ¡Examples ¡ { ¡ } ¡ , ¡ 0.4 ¡ ι x. ( red ( x ) ∨ green ( x ) ∨ orange ( x ) ∨ yellow ( x )) ∧ obj ( x ) 0.3 ¡ E x.obj ( x ) \ ( ι x.brown ( x ) ∧ triangle ( x ) ∪ ( ι x.blue ( x ) ∧ lego ( x ) . . . { ¡ } ¡ , ¡ 0.1 ¡ ι x.green ( x ) ∧ sphere ( x ) ∪ ι x.red ( x ) ∧ sphere ( x ) 0.3 ¡ ι x. ( green ( x ) ∨ red ( x )) ∧ sphere ( x ) 0.2 ¡ ι x.apple ( x ) ∪ ι x.pear ( x ) . . . Lots ¡of ¡varia.on ¡in ¡prac.ce ¡ • Collected ¡20 ¡sentences ¡per ¡scene ¡ • Mean ¡of ¡6 ¡unique ¡logical ¡forms ¡per ¡scene ¡ • Max ¡of ¡13 ¡ ¡

  19. Overview ¡ Space ¡of ¡Referring ¡Expressions ¡ Probabilis.c ¡Model ¡ Learning ¡ Experiments ¡ Results ¡ Conclusion ¡ ¡ ¡

  20. Overview ¡ Space ¡of ¡Referring ¡Expressions ¡ ¡Seman.c ¡Modeling ¡ ¡Enumera.ng ¡Referring ¡Expressions ¡ Probabilis.c ¡Model ¡ Learning ¡ Experiments ¡ Results ¡ Conclusion ¡ ¡ ¡

  21. Seman.c ¡Modeling ¡ • Simply-­‑typed ¡lambda ¡calculus ¡ – [Steedman ¡1996], ¡[Carpenter ¡1997], ¡[Steedman ¡2011] ¡ • Extended ¡to ¡model ¡set ¡reference ¡ – Capture ¡dis.nc.ons ¡present ¡in ¡data ¡ – As ¡simple ¡as ¡possible ¡

  22. Seman.c ¡Modeling ¡ Two ¡Simple ¡Types: ¡ : ¡ ¡ ¡Sets ¡of ¡Objects ¡ e : ¡ ¡ ¡[True, ¡False] ¡ t

  23. Seman.c ¡Modeling ¡ ACributes ¡ < e, t > λ x.blue ( x )

  24. Seman.c ¡Modeling ¡ ACributes ¡ < e, t > λ x.triangle ( x )

  25. Seman.c ¡Modeling ¡ ACributes ¡ Logical ¡Operators ¡ < e, t > λ x. ¬ blue ( x )

  26. Seman.c ¡Modeling ¡ ACributes ¡ Logical ¡Operators ¡ < e, t > λ x.blue ( x ) ∧ triangle ( x )

  27. Seman.c ¡Modeling ¡ ACributes ¡ Logical ¡Operators ¡ < e, t > λ x.blue ( x ) ∨ triangle ( x )

  28. Seman.c ¡Modeling ¡ ACribute ¡Coordina.on ¡ Logical ¡Operators ¡ Determiners ¡ << e, t >, e > ι x.triangle ( x )

  29. Seman.c ¡Modeling ¡ ACribute ¡Coordina.on ¡ Logical ¡Operators ¡ Determiners ¡ << e, t >, e > [ ι , E , A ] E ≈ ∀ A ≈ ∃

  30. Seman.c ¡Modeling ¡ ACribute ¡Coordina.on ¡ Logical ¡Operators ¡ Determiners ¡ Set ¡Coordina.on ¡ << e, e >, e > ι x.triangle ( x ) ∪ ι x.apple ( x )

  31. Seman.c ¡Modeling ¡ ACribute ¡Coordina.on ¡ Logical ¡Operators ¡ Determiners ¡ Set ¡Coordina.on ¡ << e, e >, e > ι x.triangle ( x ) \ ι x.blue ( x ) ∧ triangle ( x )

  32. Seman.c ¡Modeling ¡ ACribute ¡Coordina.on ¡ Logical ¡Operators ¡ Determiners ¡ Set ¡Coordina.on ¡ Plurality ¡ Cardinality ¡

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend