Elamur Research

ECONET: Effective Continual Pretraining of Language Models for Event Temporal Reasoning

Paper · 2020 · Rujun Han, Xiang Ren and Nanyun Peng

Summary

Pre-trained language models such as BERT and RoBERTa often miss how events are ordered in time. The authors trace this to random masking during pretraining, which rarely targets event words or temporal cue words. ECONET addresses this with a continual pretraining stage. It masks only event triggers and temporal indicators in about 10 million short passages from New York Times articles. The model then learns two things together. Two generators with a shared encoder restore the masked tokens. An ELECTRA-style discriminator decides whether each restored token is original or corrupted. The approach starts from existing model weights rather than training from scratch, so it needs far less data than full pretraining. After fine-tuning, ECONET improves results on five event-relation extraction and temporal question answering benchmarks. On most of them it reaches or matches the best published scores, and the gains are largest when training data is scarce. This shows that a small, focused pretraining step can add temporal knowledge to existing models.

Key points

  • Temporal lexicon: 40 temporal indicators grouped into 7 categories: [before], [after], [during], [past], [future], [beginning], [ending].
  • Training data: passages taken from 20 years of NYT news (1987–2007). Event triggers were labeled automatically with event detection models.
  • Objective: the loss combines temporal mask prediction, event mask prediction and a contrastive discriminator loss, using weights α and β. Half of the generator outputs (r = 50%) are swapped for random tokens from the lexicon or event vocabulary, so the discriminator sees a balanced mix of original and corrupted tokens.
  • Evaluation: ECONET works with both BERT and RoBERTa. It is tested on event temporal datasets including TB-Dense, MATRES, RED, TORQUE and MCTACO. An analysis on TB-Dense shows it uses in-text temporal cues better than continual pretraining with random masks.
  • Why the discriminator helps: it rejects 82.2% of the temporal generator's "wrong" predictions. In a sample of 50 such cases, 20 were synonyms or closely related indicators. Code, data and models are available at github.com/PlusLabNLP/ECONET.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

 Institutions

 Fields, topics and concepts

Cite

Cite as Rujun Han, Xiang Ren and Nanyun Peng. 2020. ECONET: Effective Continual Pretraining of Language Models for Event Temporal Reasoning. arXiv:2012.15283.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.2012.15283 · arXiv 2012.15283

@misc{han2020econet,
  title = {{ECONET: Effective Continual Pretraining of Language Models for Event Temporal Reasoning}},
  author = {Rujun Han, Xiang Ren and Nanyun Peng},
  year = {2020},
  doi = {10.48550/arxiv.2012.15283},
  eprint = {2012.15283},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2012.15283}
}

References

35 references, from the paper's own bibliography.

  1. Steven Bethard, Leon Derczynski, Guergana Savova, James Pustejovsky, and Marc Verhagen. 2015. SemEval-2015 task 6: Clinical TempEval (https://doi.org/10.18653/v1/S15-2136). In Proceedings of the 9th International Workshop on Semantic Evaluation (SemEval 2015), pages 806–814, Denver, Colorado. Association for Computational Linguistics. our card
  2. Steven Bethard, Guergana Savova, Wei-Te Chen, Leon Derczynski, James Pustejovsky, and Marc Verhagen. 2016. SemEval-2016 task 12: Clinical TempEval (https://doi.org/10.18653/v1/S16-1165). In Proceedings of the 10th International Workshop on Semantic Evaluation (SemEval-2016), pages 1052–1062, San Diego, California. Association for Computational Linguistics. our card
  3. Steven Bethard, Guergana Savova, Martha Palmer, and James Pustejovsky. 2017. SemEval-2017 task 12: Clinical TempEval (https://doi.org/10.18653/v1/S17-2093). In Proceedings of the 11th International Workshop on Semantic Evaluation (SemEval-2017), pages 565–572, Vancouver, Canada. Association for Computational Linguistics. our card
  4. Nathanael Chambers, Taylor Cassidy, Bill McDowell, and Steven Bethard. 2014. Dense event ordering with a multi-pass architecture (http://www.aclweb.org/anthology/Q14-1022). In ACL. OpenAlex ↗ · Scholar ↗
  5. Kevin Clark, Minh-Thang Luong, Quoc V. Le, and Christopher D. Manning. 2020. Electra: Pre-training text encoders as discriminators rather than generators (https://openreview.net/forum?id=r1xMH1BtvB). In International Conference on Learning Representations. OpenAlex ↗ · Scholar ↗
  6. Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2018. Bert: Pre-training of deep bidirectional transformers for language understanding. In NAACL-HLT. our card
  7. Siddhant Garg, Thuy Vu, and Alessandro Moschitti. 2019. Tanda: Transfer and adapt pre-trained transformer models for answer sentence selection (http://arxiv.org/abs/1911.04118). OpenAlex ↗ · Scholar ↗
  8. Goran Glavaš, Jan Šnajder, Marie-Francine Moens, and Parisa Kordjamshidi. 2014. HiEve: A corpus for extracting event hierarchies from news stories (http://www.lrec-conf.org/proceedings/lrec2014/pdf/1023_Paper.pdf). In Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC'14), pages 3678–3683, Reykjavik, Iceland. European Language Resources Association (ELRA). OpenAlex ↗ · Scholar ↗
  9. Seraphina Goldfarb-Tarrant, Tuhin Chakrabarty, Ralph Weischedel, and Nanyun Peng. 2020. Content planning for neural story generation with aristotelian rescoring. In the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 4319–4338. OpenAlex ↗ · Scholar ↗
  10. Rujun Han, I-Hung Hsu, Mu Yang, Aram Galstyan, Ralph Weischedel, and Nanyun Peng. 2019a. Deep structured neural network for event temporal relation extraction (https://doi.org/10.18653/v1/K19-1062). In Proceedings of the 23rd Conference on Computational Natural Language Learning (CoNLL), pages 666–106, Hong Kong, China. Association for Computational Linguistics. our card
  11. Rujun Han, Mengyue Liang, Bashar Alhafni, and Nanyun Peng. 2019b. Contextualized word embeddings enhanced event temporal relation extraction for story understanding. In 2019 Annual Conference of the North American Chapter of the Association for Computational Linguistics (NAACL-HLT 2019), Workshop on Narrative Understanding. OpenAlex ↗ · Scholar ↗
  12. Rujun Han, Qiang Ning, and Nanyun Peng. 2019c. Joint event and temporal relation extraction with shared representations and structured prediction (https://doi.org/10.18653/v1/D19-1041). In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 434–444, Hong Kong, China. Association for Computational Linguistics. our card
  13. Rujun Han, Yichao Zhou, and Nanyun Peng. 2020. Domain knowledge empowered structured neural net for end-to-end event temporal relation extraction (https://doi.org/10.18653/v1/2020.emnlp-main.461). In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 5717–5729, Online. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  14. Ganesh Jawahar, Benoît Sagot, and Djamé Seddah. 2019. What does BERT learn about the structure of language? (https://doi.org/10.18653/v1/P19-1356) In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 3651–3657, Florence, Italy. Association for Computational Linguistics. our card
  15. Woojeong Jin, Suji Kim, and Xiang Ren. 2020. Forecastqa: A question answering challenge for event forecasting. arXiv preprint arXiv:2005.00792. OpenAlex ↗ · Scholar ↗
  16. Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti, Danielle Epstein, Illia Polosukhin, Matthew Kelcey, Jacob Devlin, Kenton Lee, Kristina N. Toutanova, Llion Jones, Ming-Wei Chang, Andrew Dai, Jakob Uszkoreit, Quoc Le, and Slav Petrov. 2019. Natural questions: a benchmark for question answering research. Transactions of the Association of Computational Linguistics. our card
  17. Manling Li, Qi Zeng, Ying Lin, Kyunghyun Cho, Heng Ji, Jonathan May, Nathanael Chambers, and Clare Voss. 2020. Connecting the dots: Event graph schema induction with path language modeling (https://doi.org/10.18653/v1/2020.emnlp-main.50). In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 684–695, Online. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  18. Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. 2019. Roberta: A robustly optimized bert pretraining approach. arXiv preprint, arXiv:1907.11692. our card
  19. Quinn McNemar. 1947. Note on the sampling error of the difference between correlated proportions or percentages. Psychometrika, 12(2):153–157. OpenAlex ↗ · Scholar ↗
  20. Nasrin Mostafazadeh, Alyson Grealish, Nathanael Chambers, James Allen, and Lucy Vanderwende. 2016. Caters: Causal and temporal relation scheme for semantic annotation of event structures (https://aclanthology.info/papers/W16-1007/w16-100). In NAACL, San Diego, USA. OpenAlex ↗ · Scholar ↗
  21. Qiang Ning, Hao Wu, Rujun Han, Nanyun Peng, Matt Gardner, and Dan Roth. 2020. TORQUE: A reading comprehension dataset of temporal ordering questions (https://doi.org/10.18653/v1/2020.emnlp-main.88). In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 1158–1172, Online. Association for Computational Linguistics. our card
  22. Qiang Ning, Hao Wu, and Dan Roth. 2018. A multi-axis annotation scheme for event temporal relations (http://cogcomp.org/papers/NingWuRo18.pdf). In ACL. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  23. Tim O'Gorman, Kristin Wright-Bettner, and Martha Palmer. 2016. Richer event description: Integrating event coreference with temporal, causal and bridging annotation (https://doi.org/10.18653/v1/W16-5706). In Proceedings of the 2nd Workshop on Computing News Storylines (CNS 2016), pages 47–56, Austin, Texas. Association for Computational Linguistics. our card
  24. Lis Pereira, Xiaodong Liu, Fei Cheng, Masayuki Asahara, and Ichiro Kobayashi. 2020. Adversarial training for commonsense inference (https://doi.org/10.18653/v1/2020.repl4nlp-1.8). In Proceedings of the 5th Workshop on Representation Learning for NLP, pages 55–60, Online. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  25. Weiyi Sun, Anna Rumshisky, and Ozlem Uzuner. 2013. Evaluating temporal relations in clinical text: 2012 i2b2 challenge (https://doi.org/10.1136/amiajnl-2013-001628). OpenAlex ↗ · Scholar ↗
  26. Ian Tenney, Dipanjan Das, and Ellie Pavlick. 2019. BERT rediscovers the classical NLP pipeline (https://doi.org/10.18653/v1/P19-1452). In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 4593–4601, Florence, Italy. Association for Computational Linguistics. our card
  27. Naushad UzZaman, Hector Llorens, Leon Derczynski, James Allen, Marc Verhagen, and James Pustejovsky. 2013. SemEval-2013 task 1: TempEval-3: Evaluating time expressions, events, and temporal relations (https://www.aclweb.org/anthology/S13-2001). In Second Joint Conference on Lexical and Computational Semantics (*SEM), Volume 2: Proceedings of the Seventh International Workshop on Semantic Evaluation (SemEval 2013), pages 1–9, Atlanta, Georgia, USA. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  28. Haoyu Wang, Muhao Chen, Hongming Zhang, and Dan Roth. 2020. Joint constrained learning for event-event relation extraction (https://doi.org/10.18653/v1/2020.emnlp-main.51). In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 696–706, Online. Association for Computational Linguistics. our card
  29. Lili Yao, Nanyun Peng, Weischedel Ralph, Kevin Knight, Dongyan Zhao, and Rui Yan. 2019. Plan-and-write: Towards better automatic storytelling. In The Thirty-Third AAAI Conference on Artificial Intelligence (AAAI-19). OpenAlex ↗ · Scholar ↗
  30. Shuaicheng Zhang, Lifu Huang, and Qiang Ning. 2021. Extracting temporal event relation with syntactic-guided temporal graph transformer. arXiv preprint arXiv:arXiv:2104.09570. OpenAlex ↗ · Scholar ↗
  31. Xinyu Zhao, Shih-ting Lin, and Greg Durrett. 2020. Effective distant supervision for temporal relation extraction. arXiv preprint arXiv:2010.12755. OpenAlex ↗ · Scholar ↗
  32. Ben Zhou, Daniel Khashabi, Qiang Ning, and Dan Roth. 2019. “going on a vacation” takes longer than “going for a walk”: A study of temporal commonsense understanding (https://doi.org/10.18653/v1/D19-1332). In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 3363–3369, Hong Kong, China. Association for Computational Linguistics. our card
  33. Ben Zhou, Qiang Ning, Daniel Khashabi, and Dan Roth. 2020a. Temporal Common Sense Acquisition with Minimal Supervision (https://cogcomp.seas.upenn.edu/papers/ZNKR20.pdf). In Proc. of the Annual Meeting of the Association for Computational Linguistics (ACL). our card
  34. Wangchunshu Zhou, Dong-Ho Lee, Ravi Kiran Selvam, Seyeon Lee, Bill Yuchen Lin, and Xiang Ren. 2020b. Pre-training text-to-text transformers for concept-centric common sense (http://arxiv.org/abs/2011.07956). OpenAlex ↗ · Scholar ↗
  35. Yichao Zhou, Yu Yan, Rujun Han, J. Harry Caufield, Kai-Wei Chang, Yizhou Sun, Peipei Ping, and Wei Wang. 2020c. Clinical temporal relation extraction with probabilistic soft logic regularization and global inference. arXiv preprint, arXiv:2012.08790. our card

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/han-2020-econet-effective-continual-pretraining-language/