an inference rules based categorial grammar learner for
play

An Inference-rules based Categorial Grammar Learner for Simulating - PowerPoint PPT Presentation

Introduction Learning by Inference Rules Experiment Conclusion An Inference-rules based Categorial Grammar Learner for Simulating Language Acquisition Xuchen Yao, Jianqiang Ma, Sergio Duarte, ar ltekin University of Groningen 18


  1. Introduction Learning by Inference Rules Experiment Conclusion An Inference-rules based Categorial Grammar Learner for Simulating Language Acquisition Xuchen Yao, Jianqiang Ma, Sergio Duarte, Çağrı Çöltekin University of Groningen 18 May 2009

  2. Introduction Learning by Inference Rules Experiment Conclusion Outline Introduction Combinatory Categorial Grammar Language Acquisition Learning by Inference Rules Grammar Induction by Inference Rules The Learning Architecture Experiment Learning an Artificial Grammar Learning Auxiliary Verb Fronting Learning Correct Word Order Conclusion

  3. Introduction Learning by Inference Rules Experiment Conclusion Outline Introduction Combinatory Categorial Grammar Language Acquisition Learning by Inference Rules Grammar Induction by Inference Rules The Learning Architecture Experiment Learning an Artificial Grammar Learning Auxiliary Verb Fronting Learning Correct Word Order Conclusion

  4. Introduction Learning by Inference Rules Experiment Conclusion Categorial Grammar Peter saw a book NP VP DT N NP • basic categories: S VP (sentence), NP (noun S phrase), N (noun) Peter saw a book • Complex categories: NP (S \ NP)/NP NP/N N NP/N , S \ NP and > NP (S \ NP) \ (S \ NP) > S \ NP • Slash operators: / \ < S Figure: Example derivation for sentence Peter saw a book .

  5. Introduction Learning by Inference Rules Experiment Conclusion Categorial Grammar Peter saw a book NP VP DT N NP • basic categories: S VP (sentence), NP (noun S phrase), N (noun) Peter saw a book • Complex categories: NP (S \ NP)/NP NP/N N NP/N , S \ NP and > NP (S \ NP) \ (S \ NP) > S \ NP • Slash operators: / \ < S Figure: Example derivation for sentence Peter saw a book .

  6. Introduction Learning by Inference Rules Experiment Conclusion Different Operation Rules • Function application rules (CG) Forward A / B B → A ( > ) Backward B A \ B → A ( < ) • Function composition rules (CCG) Forward A / B B / C → A / C ( > B ) Backward ( < B ) B \ C A \ B → A \ C • Type raising rules (CCG) Forward A → T / ( T \ A ) ( > T ) Backward → T \ ( T / A ) ( < T ) A • Substitution rules (CCG) Forward ( A / B ) / C B / C → A / C ( > S ) Backward B \ C ( A \ B ) \ C → A \ C ( < S )

  7. Introduction Learning by Inference Rules Experiment Conclusion Outline Introduction Combinatory Categorial Grammar Language Acquisition Learning by Inference Rules Grammar Induction by Inference Rules The Learning Architecture Experiment Learning an Artificial Grammar Learning Auxiliary Verb Fronting Learning Correct Word Order Conclusion

  8. Introduction Learning by Inference Rules Experiment Conclusion Nativist vs. Empiricist • Auxiliary Verb Fronting • Peter is awake. • Is Peter awake? • Peter who is sleepy is awake. • Is Peter who is sleepy awake? • *Is Peter who sleepy is awake? • Word Order • I should go. • I have gone. • I am going. • I have been going. • I should have gone. • I should be going. • I should have been going. • *I have should been going.

  9. Introduction Learning by Inference Rules Experiment Conclusion Nativist vs. Empiricist • Auxiliary Verb Fronting • Peter is awake. • Is Peter awake? • Peter who is sleepy is awake. • Is Peter who is sleepy awake? • *Is Peter who sleepy is awake? • Word Order • I should go. • I have gone. • I am going. • I have been going. • I should have gone. • I should be going. • I should have been going. • *I have should been going.

  10. Introduction Learning by Inference Rules Experiment Conclusion Nativist vs. Empiricist • Auxiliary Verb Fronting • Peter is awake. • Is Peter awake? • Peter who is sleepy is awake. • Is Peter who is sleepy awake? • *Is Peter who sleepy is awake? • Word Order • I should go. • I have gone. • I am going. • I have been going. • I should have gone. • I should be going. • I should have been going. • *I have should been going.

  11. Introduction Learning by Inference Rules Experiment Conclusion Nativist vs. Empiricist • Auxiliary Verb Fronting • Peter is awake. • Is Peter awake? • Peter who is sleepy is awake. • Is Peter who is sleepy awake? • *Is Peter who sleepy is awake? • Word Order • I should go. • I have gone. • I am going. • I have been going. • I should have gone. • I should be going. • I should have been going. • *I have should been going.

  12. Introduction Learning by Inference Rules Experiment Conclusion Research Questions 1. Can we give a computational simulation of the acquisition of syntactic structures? • How do we derive the category of an unknown word in a sentence? 2. Can we give a judgement of the Nativist-Empiricist debate from the perspective of CCG? • How important is experience? Or the innate ability is more important?

  13. Introduction Learning by Inference Rules Experiment Conclusion Outline Introduction Combinatory Categorial Grammar Language Acquisition Learning by Inference Rules Grammar Induction by Inference Rules The Learning Architecture Experiment Learning an Artificial Grammar Learning Auxiliary Verb Fronting Learning Correct Word Order Conclusion

  14. Introduction Learning by Inference Rules Experiment Conclusion Level 0/1 Inference Rules • Level 0 inference rules B / A X → B ⇒ X = A ifA � = S X B \ A → B ⇒ X = A ifA � = S • Level 1 inference rules A X → B ⇒ X = B \ A ifA � = S X → ⇒ X = B / A ifA � = S A B Peter works NP X (S \ NP) < S Figure: Example of level 1 indefrence rules : Peter works .

  15. Introduction Learning by Inference Rules Experiment Conclusion Level 2 Inference Rules • Level 2 side inference rules X A B → C ⇒ X = ( C / B ) / A A B X → C ⇒ X = ( C \ A ) \ B • Level 2 middle inference rule A X B → C ⇒ X = ( C \ A ) / B Peter saw a book NP X NP/N N ((S \ NP)/NP) > NP > S \ NP < S Figure: Example of level 2 inference rules: Peter saw a book .

  16. Introduction Learning by Inference Rules Experiment Conclusion Level 3 Inference Rules • Level 3 side inference rules X A B C → D ⇒ X = (( D / C ) / B ) / A A B C X → D ⇒ X = (( D \ A ) \ B ) \ C • Level 3 middle inference rules A X B C → D ⇒ X = (( D \ A ) / C ) / B X → ⇒ X = (( D \ A ) \ B ) / C A B C D • Inference rules of up to level 3 can derive most categories of common English words.

  17. Introduction Learning by Inference Rules Experiment Conclusion Outline Introduction Combinatory Categorial Grammar Language Acquisition Learning by Inference Rules Grammar Induction by Inference Rules The Learning Architecture Experiment Learning an Artificial Grammar Learning Auxiliary Verb Fronting Learning Correct Word Order Conclusion

  18. Introduction Learning by Inference Rules Experiment Conclusion The Learning Architecture Edge Recursive Corpus Generator Learner Generation SCP Principle rule set Level 3 Level 2 Level 1 Level 0 N N N N IR can IR can IR can IR can parse? parse? parse? parse? Right combining Y Y Y Y Y Y Y Y rule Applying level Y 0 and 1 inference Output Selector rule recursively N N Test rule set Cannot learn Figure: Learning process using inference rules

  19. Introduction Learning by Inference Rules Experiment Conclusion Outline Introduction Combinatory Categorial Grammar Language Acquisition Learning by Inference Rules Grammar Induction by Inference Rules The Learning Architecture Experiment Learning an Artificial Grammar Learning Auxiliary Verb Fronting Learning Correct Word Order Conclusion

  20. Introduction Learning by Inference Rules Experiment Conclusion Target Grammar := NP := (N\N)/NP Peter with Mary := NP with := (NP\NP)/NP big := N/N with := ((S\NP)\(S\NP))/NP colorless := N/N sleep := S\NP book := N a := NP/N telescope := N give := ((S\NP)/NP)/NP the := NP/N saw := (S\NP)/NP run := S\NP read := (S\NP)/NP big := N/N furiously := (S\NP)\(S\NP) Table: Target Grammar Rules • Recursive & ambiguous • Assume only NP and N are known to the learner

  21. Introduction Learning by Inference Rules Experiment Conclusion Result Peter saw Mary with a big big telescope Peter saw Mary with a big big telescope NP (S \ NP)/NP NP ((S \ NP) \ (S \ NP))/NP NP/N N/N N/N N NP (S \ NP)/NP NP (NP \ NP)/NP NP/N N/N N/N N > > > S \ NP N N > > N N < NP < NP > (S \ NP) \ (S \ NP) > NP \ NP < S \ NP < NP < S > S \ NP (b) < S (a) Figure: Two ambiguous parses of the sentence

  22. Introduction Learning by Inference Rules Experiment Conclusion Result Peter saw Mary with a big big telescope NP (S \ NP)/NP NP (NP \ NP)/NP NP/N N/N N/N N > N > N < NP > NP \ NP < NP > S \ NP < S Figure: Ambiguous parse 1

  23. Introduction Learning by Inference Rules Experiment Conclusion Result Peter saw Mary with a big big telescope NP (S \ NP)/NP NP ((S \ NP) \ (S \ NP))/NP NP/N N/N N/N N > > S \ NP N > N < NP > (S \ NP) \ (S \ NP) < S \ NP < S Figure: Ambiguous parse 2

Recommend


More recommend