Probing structural constraints of negation in Pretrained Language Models. Kletz, D., Candito, M., & Amsili, P. In Alumäe, T. & Fishel, M., editors, Proceedings of the 24th Nordic Conference on Computational Linguistics (NoDaLiDa), pages 541–554, Tórshavn, Faroe Islands, May, 2023. University of Tartu Library.
Pdf
Slides
Acl
Openreview abstract bibtex 8 downloads Contradictory results about the encoding of the semantic impact of negation in pretrained language models (PLMs) have been drawn recently (e.g. Kassner and Schütze (2020); Gubelmann and Handschuh (2022)). In this paper we focus rather on the way PLMs encode negation and its formal impact, through the phenomenon of the Negative Polarity Item (NPI) licensing in English.More precisely, we use probes to identify which contextual representations best encode 1) the presence of negation in a sentence, and 2) the polarity of a neighboring masked polarity item. We find that contextual representations of tokens inside the negation scope do allow for (i) a better prediction of the presence of ``not'' compared to those outside the scope and (ii) a better prediction of the right polarity of a masked polarity item licensed by ``not'', although the magnitude of the difference varies from PLM to PLM. Importantly, in both cases the trend holds even when controlling for distance to ``not''.This tends to indicate that the embeddings of these models do reflect the notion of negation scope, and do encode the impact of negation on NPI licensing. Yet, further control experiments reveal that the presence of other lexical items is also better captured when using the contextual representation of a token within the same syntactic clause than outside from it, suggesting that PLMs simply capture the more general notion of syntactic clause.
@InProceedings{ kletz23.nodalida,
title = "Probing structural constraints of negation in Pretrained
Language Models",
author = "Kletz, David and Candito, Marie and Amsili, Pascal",
editor = {Alum{\"a}e, Tanel and Fishel, Mark},
booktitle = "Proceedings of the 24th Nordic Conference on Computational
Linguistics (NoDaLiDa)",
month = may,
year = 2023,
address = "T{\'o}rshavn, Faroe Islands",
publisher = "University of Tartu Library",
pages = "541--554",
abstract = {Contradictory results about the encoding of the semantic
impact of negation in pretrained language models (PLMs)
have been drawn recently (e.g. Kassner and Sch{\"u}tze
(2020); Gubelmann and Handschuh (2022)). In this paper we
focus rather on the way PLMs encode negation and its formal
impact, through the phenomenon of the Negative Polarity
Item (NPI) licensing in English.More precisely, we use
probes to identify which contextual representations best
encode 1) the presence of negation in a sentence, and 2)
the polarity of a neighboring masked polarity item. We find
that contextual representations of tokens inside the
negation scope do allow for (i) a better prediction of the
presence of {``}not{''} compared to those outside the scope
and (ii) a better prediction of the right polarity of a
masked polarity item licensed by {``}not{''}, although the
magnitude of the difference varies from PLM to PLM.
Importantly, in both cases the trend holds even when
controlling for distance to {``}not{''}.This tends to
indicate that the embeddings of these models do reflect the
notion of negation scope, and do encode the impact of
negation on NPI licensing. Yet, further control experiments
reveal that the presence of other lexical items is also
better captured when using the contextual representation of
a token within the same syntactic clause than outside from
it, suggesting that PLMs simply capture the more general
notion of syntactic clause.},
url_pdf = {../Docs/papers/kletz23_nodalida.pdf},
url_slides = {../Docs/talks/slides_kletz23_nodalida_ho.pdf},
url_acl = "https://aclanthology.org/2023.nodalida-1.54",
url_openreview= {https://openreview.net/forum?id=_7VPETQwnPX}
}
Downloads: 8
{"_id":"scyR8BhEW3ukYuxv8","bibbaseid":"kletz-candito-amsili-probingstructuralconstraintsofnegationinpretrainedlanguagemodels-2023","author_short":["Kletz, D.","Candito, M.","Amsili, P."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","title":"Probing structural constraints of negation in Pretrained Language Models","author":[{"propositions":[],"lastnames":["Kletz"],"firstnames":["David"],"suffixes":[]},{"propositions":[],"lastnames":["Candito"],"firstnames":["Marie"],"suffixes":[]},{"propositions":[],"lastnames":["Amsili"],"firstnames":["Pascal"],"suffixes":[]}],"editor":[{"propositions":[],"lastnames":["Alumäe"],"firstnames":["Tanel"],"suffixes":[]},{"propositions":[],"lastnames":["Fishel"],"firstnames":["Mark"],"suffixes":[]}],"booktitle":"Proceedings of the 24th Nordic Conference on Computational Linguistics (NoDaLiDa)","month":"May","year":"2023","address":"Tórshavn, Faroe Islands","publisher":"University of Tartu Library","pages":"541–554","abstract":"Contradictory results about the encoding of the semantic impact of negation in pretrained language models (PLMs) have been drawn recently (e.g. Kassner and Schütze (2020); Gubelmann and Handschuh (2022)). In this paper we focus rather on the way PLMs encode negation and its formal impact, through the phenomenon of the Negative Polarity Item (NPI) licensing in English.More precisely, we use probes to identify which contextual representations best encode 1) the presence of negation in a sentence, and 2) the polarity of a neighboring masked polarity item. We find that contextual representations of tokens inside the negation scope do allow for (i) a better prediction of the presence of ``not'' compared to those outside the scope and (ii) a better prediction of the right polarity of a masked polarity item licensed by ``not'', although the magnitude of the difference varies from PLM to PLM. Importantly, in both cases the trend holds even when controlling for distance to ``not''.This tends to indicate that the embeddings of these models do reflect the notion of negation scope, and do encode the impact of negation on NPI licensing. Yet, further control experiments reveal that the presence of other lexical items is also better captured when using the contextual representation of a token within the same syntactic clause than outside from it, suggesting that PLMs simply capture the more general notion of syntactic clause.","url_pdf":"../Docs/papers/kletz23_nodalida.pdf","url_slides":"../Docs/talks/slides_kletz23_nodalida_ho.pdf","url_acl":"https://aclanthology.org/2023.nodalida-1.54","url_openreview":"https://openreview.net/forum?id=_7VPETQwnPX","bibtex":"@InProceedings{\t kletz23.nodalida,\n title\t\t= \"Probing structural constraints of negation in Pretrained\n\t\t Language Models\",\n author\t= \"Kletz, David and Candito, Marie and Amsili, Pascal\",\n editor\t= {Alum{\\\"a}e, Tanel and Fishel, Mark},\n booktitle\t= \"Proceedings of the 24th Nordic Conference on Computational\n\t\t Linguistics (NoDaLiDa)\",\n month\t\t= may,\n year\t\t= 2023,\n address\t= \"T{\\'o}rshavn, Faroe Islands\",\n publisher\t= \"University of Tartu Library\",\n pages\t\t= \"541--554\",\n abstract\t= {Contradictory results about the encoding of the semantic\n\t\t impact of negation in pretrained language models (PLMs)\n\t\t have been drawn recently (e.g. Kassner and Sch{\\\"u}tze\n\t\t (2020); Gubelmann and Handschuh (2022)). In this paper we\n\t\t focus rather on the way PLMs encode negation and its formal\n\t\t impact, through the phenomenon of the Negative Polarity\n\t\t Item (NPI) licensing in English.More precisely, we use\n\t\t probes to identify which contextual representations best\n\t\t encode 1) the presence of negation in a sentence, and 2)\n\t\t the polarity of a neighboring masked polarity item. We find\n\t\t that contextual representations of tokens inside the\n\t\t negation scope do allow for (i) a better prediction of the\n\t\t presence of {``}not{''} compared to those outside the scope\n\t\t and (ii) a better prediction of the right polarity of a\n\t\t masked polarity item licensed by {``}not{''}, although the\n\t\t magnitude of the difference varies from PLM to PLM.\n\t\t Importantly, in both cases the trend holds even when\n\t\t controlling for distance to {``}not{''}.This tends to\n\t\t indicate that the embeddings of these models do reflect the\n\t\t notion of negation scope, and do encode the impact of\n\t\t negation on NPI licensing. Yet, further control experiments\n\t\t reveal that the presence of other lexical items is also\n\t\t better captured when using the contextual representation of\n\t\t a token within the same syntactic clause than outside from\n\t\t it, suggesting that PLMs simply capture the more general\n\t\t notion of syntactic clause.},\n url_pdf\t= {../Docs/papers/kletz23_nodalida.pdf},\n url_slides\t= {../Docs/talks/slides_kletz23_nodalida_ho.pdf},\n url_acl\t= \"https://aclanthology.org/2023.nodalida-1.54\",\n url_openreview= {https://openreview.net/forum?id=_7VPETQwnPX}\n}\n\n","author_short":["Kletz, D.","Candito, M.","Amsili, P."],"editor_short":["Alumäe, T.","Fishel, M."],"key":"kletz23.nodalida","id":"kletz23.nodalida","bibbaseid":"kletz-candito-amsili-probingstructuralconstraintsofnegationinpretrainedlanguagemodels-2023","role":"author","urls":{" pdf":"http://www.linguist.univ-paris-diderot.fr/~amsili/Docs/papers/kletz23_nodalida.pdf"," slides":"http://www.linguist.univ-paris-diderot.fr/~amsili/Docs/talks/slides_kletz23_nodalida_ho.pdf"," acl":"https://aclanthology.org/2023.nodalida-1.54"," openreview":"https://openreview.net/forum?id=_7VPETQwnPX"},"metadata":{"authorlinks":{}},"downloads":8,"html":""},"bibtype":"inproceedings","biburl":"http://www.linguist.univ-paris-diderot.fr/~amsili/Rech/amsili.bib","dataSources":["iNFr6gDFmyXDAnd9E","G8v5dYGnBDTY4xtwo"],"keywords":[],"search_terms":["probing","structural","constraints","negation","pretrained","language","models","kletz","candito","amsili"],"title":"Probing structural constraints of negation in Pretrained Language Models","year":2023,"downloads":8}