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

The Flipped Classroom model for teaching Condit...

The Flipped Classroom model for teaching Conditional Random Fields in an NLP course

This is a presentation that I gave regarding my experience in using the Flipped Classroom method for teaching Conditional Random Fields in an NLP course. Please find an article about that experience and the teaching material in the following link: https://www.aclweb.org/anthology/2021.teachingnlp-1.13/

Manex Agirrezabal

May 27, 2021
Tweet

More Decks by Manex Agirrezabal

Other Decks in Education

Transcript

  1. Manex Agirrezabal Centre for Language Technology Department of Nordic Studies

    and Linguistics Supervisors: Lis Lak Risager Patrizia Paggio TLHE program project The Flipped Classroom model for teaching Conditional Random Fields in an NLP course
  2. Outline • Motivation • Context • Evaluation form • Activities

    • Results and discussion • Conclusion 27/05/2021 2
  3. Outline • Motivation • Context • Evaluation form • Activities

    • Results and discussion • Conclusion 27/05/2021 3
  4. Intro: What did I do? Why did I do it?

    • Flipped classroom method for teaching Conditional Random Fields in a Natural Language Processing course • Evaluate method • Spoiler! It works! And it is quite rewarding J. • Why? • I believe students reach a higher understanding of a topic 27/05/2021 4
  5. Outline • Motivation • Context • Evaluation form • Activities

    • Results and discussion • Conclusion 27/05/2021 6
  6. Context: Program • The IT & Cognition program at UCPH

    • International and interdisciplinary program • Small group of students • Two years -> four semesters • Three areas: • Natural Language Processing • Image Processing • Cognitive Science • Language Processing I and II • Semester 1 and 2 27/05/2021 7
  7. Context: Course and lecture • Intended Learning Outcomes (courses): •

    LP1: Basic knowledge about different tasks relevant to Natural Language Processing and their relationship to current society • LP2: Development of more advanced algorithms and their application in more specific tasks • Intended Learning Outcomes (lecture) • What are CRFs and why are they better than MEMMs? • Understand the Label Bias problem • Be able to apply CRFs for their own work 27/05/2021 8
  8. Outline • Motivation • Context • Evaluation form • Activities

    • Results and discussion • Conclusion 27/05/2021 9
  9. Pre classroom knowledge 1) Do you know what a MEMM

    is (Maximum Entropy Markov Model)? 2) Do you know what a CRF is (Conditional Random Field)? 3) Do you know what the Label Bias problem is? 4) Do you feel capable of using a CRF for your own problems, such as developing a Named Entity Recognition system? 27/05/2021 10
  10. Outline • Motivation • Context • Evaluation form • Activities

    • Results and discussion • Conclusion 27/05/2021 12
  11. Structure • Before class • Watch two video lectures that

    we made • MEMMs • CRFs • Read article about CRFs (Lafferty et al., 2001) 27/05/2021 13
  12. Activities • Four activities • Increasing complexity, based on Bloom’s

    taxonomy 27/05/2021 14 Activity 1 Activity 2 Activity 3 Activity 4
  13. Activities • In the next week, we worked on the

    practical aspect. How to use CRFs for training a Named Entity Recognizer, for example. 27/05/2021 15 Image from https://opendatascience.com/named-entity-recognition-milestone-models- papers-and-technologies/
  14. Outline • Motivation • Context • Evaluation form • Activities

    • Results and discussion • Conclusion 27/05/2021 16
  15. Evaluation (form) 27/05/2021 17 1) Do you know what a

    MEMM is (Maximum Entropy Markov Model)? 2) Do you know what a CRF is (Conditional Random Field)? 3) Do you know what the Label Bias problem is? 4) Do you feel capable of using a CRF for your own problems, such as developing a Named Entity Recognition system? 5) Do you feel that this structure (teaching style) is more rewarding? 6) Do you feel that this structure is more demanding (mentally)
  16. Discussion • Evaluation seems positive • Learning goals were satisfied

    • 7/15 students felt this method is rewarding • Teachers required time for preparation is higher. 27/05/2021 19 Further comments hard not to be able to ask questions when you watch the lecture homework distribution was far from being optimal group work worked better it was nice to have time to understand the code and exercises
  17. Outline • Motivation • Context • Evaluation form • Activities

    • Results and discussion • Conclusion 27/05/2021 20
  18. Conclusion • Flipped classroom: relevant method for complex topics •

    Homework as lecture: One step beyond in the understanding of CRFs • Paper online! https://arxiv.org/pdf/2105.07850.pdf 27/05/2021 21
  19. Manex Agirrezabal Centre for Language Technology Department of Nordic Studies

    and Linguistics Supervisors: Lis Lak Risager Patrizia Paggio TLHE program project The Flipped Classroom model for teaching Conditional Random Fields in an NLP course