sequence to action end to end semantic
play

Sequence-to-Action: End-to-End Semantic Graph Generation for - PowerPoint PPT Presentation

Sequence-to-Action: End-to-End Semantic Graph Generation for Semantic Parsing Bo Chen , Le Sun, Xianpei Han Institute of Software, Chinese Academy of Sciences Task: Semantic Parsing Translate natural language sentences to meaning


  1. Sequence-to-Action: End-to-End Semantic Graph Generation for Semantic Parsing Bo Chen , Le Sun, Xianpei Han Institute of Software, Chinese Academy of Sciences

  2. Task: Semantic Parsing  Translate natural language sentences to meaning representations, e.g., logical forms.

  3. Task: Semantic Parsing  Translate natural language sentences to meaning representations, e.g., logical forms. Sentence : Which city was Barack Obama born in ?

  4. Task: Semantic Parsing  Translate natural language sentences to meaning representations, e.g., logical forms. Sentence : Which city was Barack Obama born in ? Semantic Parsing

  5. Task: Semantic Parsing  Translate natural language sentences to meaning representations, e.g., logical forms. Sentence : Which city was Barack Obama born in ? Semantic Parsing Logical form : 𝜇𝑦. 𝐷𝑗𝑢𝑧(𝑦) ∧ 𝑄𝑚𝑏𝑑𝑓𝑃𝑔𝐶𝑗𝑠𝑢ℎ( Barack_Obama , 𝑦)

  6. Outline  Motivation  Sequence-to-Action  Experiments & Conclusion

  7. Two Lines of Work in Semantic Parsing

  8. Two Lines of Work in Semantic Parsing Semantic Graph Based

  9. Two Lines of Work in Semantic Parsing Semantic Graph Based  Use semantic graphs to represent sentence meanings

  10. Two Lines of Work in Semantic Parsing Semantic Graph Based  Use semantic graphs to represent sentence meanings  Semantic parsing as semantic graph matching or staged semantic query graph generation

  11. Two Lines of Work in Semantic Parsing Semantic Graph Based  Use semantic graphs to represent sentence meanings  Semantic parsing as semantic graph matching or staged semantic query graph generation [Reddy et al., 2014,2016,2017] [Yih et al., 2015] [Bast and Haussmann, 2015]

  12. Two Lines of Work in Semantic Parsing Sequence-to-Sequence Based Semantic Graph Based  Use semantic graphs to represent sentence meanings  Semantic parsing as semantic graph matching or staged semantic query graph generation [Reddy et al., 2014,2016,2017] [Yih et al., 2015] [Bast and Haussmann, 2015]

  13. Two Lines of Work in Semantic Parsing Sequence-to-Sequence Based Semantic Graph Based  Use semantic graphs to  Linearize logical forms represent sentence meanings  Semantic parsing as semantic graph matching or staged semantic query graph generation [Reddy et al., 2014,2016,2017] [Yih et al., 2015] [Bast and Haussmann, 2015]

  14. Two Lines of Work in Semantic Parsing Sequence-to-Sequence Based Semantic Graph Based  Use semantic graphs to  Linearize logical forms represent sentence meanings  Semantic parsing as a  Semantic parsing as semantic sequence-to-sequence graph matching or staged problem semantic query graph generation [Reddy et al., 2014,2016,2017] [Yih et al., 2015] [Bast and Haussmann, 2015]

  15. Two Lines of Work in Semantic Parsing Sequence-to-Sequence Based Semantic Graph Based  Use semantic graphs to  Linearize logical forms represent sentence meanings  Semantic parsing as a  Semantic parsing as semantic sequence-to-sequence graph matching or staged problem semantic query graph generation [Dong and Lapata, 2016] [Jia and Liang, 2016] [Reddy et al., 2014,2016,2017] [Yih et al., 2015] [Xiao et al., 2016] [Rabinovich et al., 2017] [Bast and Haussmann, 2015]

  16. Two Lines of Work in Semantic Parsing Sequence-to-Sequence Based Semantic Graph Based

  17. Two Lines of Work in Semantic Parsing Sequence-to-Sequence Based Semantic Graph Based  Strengths − use semantic graphs to represent sentence meanings, no need for lexicons and grammars

  18. Two Lines of Work in Semantic Parsing Sequence-to-Sequence Based Semantic Graph Based  Strengths − use semantic graphs to represent sentence meanings, no need for lexicons and grammars  Challenges − Hard to model semantic graph construction process

  19. Two Lines of Work in Semantic Parsing Sequence-to-Sequence Based Semantic Graph Based  Strengths  Strengths − use semantic graphs to − End-to-end represent sentence − Powerful prediction ability meanings, no need for lexicons and grammars  Challenges − Hard to model semantic graph construction process

  20. Two Lines of Work in Semantic Parsing Sequence-to-Sequence Based Semantic Graph Based  Strengths  Strengths − use semantic graphs to − End-to-end represent sentence − Powerful prediction ability meanings, no need for lexicons and grammars  Challenges  Challenges − Hard to capture structure information − Hard to model semantic graph construction − Ignore the relatedness to KB process

  21. Seq2Act: synthesizes their advantages

  22. Seq2Act: synthesizes their advantages  Use semantic graphs to represent sentence meanings − tight-coupling with knowledge bases

  23. Seq2Act: synthesizes their advantages  Use semantic graphs to represent sentence meanings − tight-coupling with knowledge bases  Leverage the powerful prediction ability of RNN models − End-to-End

  24. Seq2Act: end-to-end semantic graph generation

  25. Seq2Act: end-to-end semantic graph generation Which states border Texas? sentence

  26. Seq2Act: end-to-end semantic graph generation type return A state semantic graph next_to texas:st Which states border Texas? sentence

  27. Seq2Act: end-to-end semantic graph generation type return A state semantic graph next_to texas:st Which states border Texas? sentence

  28. Seq2Act: end-to-end semantic graph generation type return A state semantic graph next_to texas:st Action 1: add node A Which states border Texas? sentence

  29. Seq2Act: end-to-end semantic graph generation type return A state semantic graph next_to texas:st Action 1: add node A Action 2: add type state Which states border Texas? sentence

  30. Seq2Act: end-to-end semantic graph generation type return A state semantic graph next_to texas:st Action 1: add node A Action 2: add type state Action 3: add node texas:st Which states border Texas? sentence

  31. Seq2Act: end-to-end semantic graph generation type return A state semantic graph next_to texas:st Action 1: add node A Action 2: add type state Action 3: add node texas:st Which states border Texas? Action 4: add edge next_to sentence

  32. Seq2Act: end-to-end semantic graph generation type return A state semantic graph next_to texas:st Action 1: add node A Action 2: add type state Action 3: add node texas:st Which states border Texas? Action 4: add edge next_to Action 5: return sentence

  33. Seq2Act: end-to-end semantic graph generation type return A state semantic graph next_to texas:st Action 1: add node A Action 2: add type state Action 3: add node texas:st Which states border Texas? Action 4: add edge next_to Action 5: return sentence action sequence

  34. Seq2Act: end-to-end semantic graph generation type return A state semantic graph next_to texas:st Action 1: add node A translate Action 2: add type state Action 3: add node texas:st Which states border Texas? Action 4: add edge next_to Action 5: return sentence action sequence

  35. Seq2Act: end-to-end semantic graph generation type return A state semantic graph next_to texas:st Action 1: add node A translate Action 2: add type state Action 3: add node texas:st Sequence-to-Action Which states border Texas? Action 4: add edge next_to Action 5: return sentence action sequence

  36. Seq2Act: end-to-end semantic graph generation type return A state semantic graph next_to texas:st Action 1: add node A translate Action 2: add type state Action 3: add node texas:st Sequence-to-Action Which states border Texas? Action 4: add edge next_to Action 5: return our contribution sentence action sequence

  37. Outline  Motivation  Sequence-to-Action  Experiments & Conclusion

  38. Overview of Our Method Sentence Which states border Texas? add_variable: A Sequence-to-Action add_type: state RNN Model arg_node: A Constraints Generate add_entity: texas:st add_edge: next_to Action arg_node: A Sequence arg_node: texas:st return: A Construct type return A state next_to Semantic KB texas:st Graph

  39. Overview of Our Method Sentence Which states border Texas? add_variable: A Sequence-to-Action add_type: state RNN Model arg_node: A Constraints Generate add_entity: texas:st add_edge: next_to Action arg_node: A Sequence arg_node: texas:st return: A Construct type return A state next_to Semantic KB texas:st Graph

  40. Overview of Our Method Sentence Which states border Texas? add_variable: A Sequence-to-Action add_type: state RNN Model arg_node: A Constraints Generate add_entity: texas:st add_edge: next_to Action arg_node: A Sequence arg_node: texas:st return: A Construct type return A state next_to Semantic KB texas:st Graph

Recommend


More recommend