%0 Conference Proceedings %T Probing What Different NLP Tasks Teach Machines about Function Word Comprehension %A Kim, Najoung %A Patel, Roma %A Poliak, Adam %A Xia, Patrick %A Wang, Alex %A McCoy, Tom %A Tenney, Ian %A Ross, Alexis %A Linzen, Tal %A Van Durme, Benjamin %A Bowman, Samuel R. %A Pavlick, Ellie %Y Mihalcea, Rada %Y Shutova, Ekaterina %Y Ku, Lun-Wei %Y Evang, Kilian %Y Poria, Soujanya %S Proceedings of the Eighth Joint Conference on Lexical and Computational Semantics (*SEM 2019) %D 2019 %8 June %I Association for Computational Linguistics %C Minneapolis, Minnesota %F kim-etal-2019-probing %X We introduce a set of nine challenge tasks that test for the understanding of function words. These tasks are created by structurally mutating sentences from existing datasets to target the comprehension of specific types of function words (e.g., prepositions, wh-words). Using these probing tasks, we explore the effects of various pretraining objectives for sentence encoders (e.g., language modeling, CCG supertagging and natural language inference (NLI)) on the learned representations. Our results show that pretraining on CCG—our most syntactic objective—performs the best on average across our probing tasks, suggesting that syntactic knowledge helps function word comprehension. Language modeling also shows strong performance, supporting its widespread use for pretraining state-of-the-art NLP models. Overall, no pretraining objective dominates across the board, and our function word probing tasks highlight several intuitive differences between pretraining objectives, e.g., that NLI helps the comprehension of negation. %R 10.18653/v1/S19-1026 %U https://aclanthology.org/S19-1026 %U https://doi.org/10.18653/v1/S19-1026 %P 235-249